Comments (6)
+++ Lastdates [May 06 15 12:33 ]:
hey, can you post binary distribution as installing all the
dependencies is too much
Sorry, it's a fair amount of work to generate binary
packages for the various platforms. I do it for pandoc,
but I don't have time to do it for texmath.
from texmath.
@lastdates can you let me know why you want the binary of texmath?
I think that if you install Pandoc you will get what you want.
from texmath.
@r-gaia-cs I need to convert OMML to Tex, but I don't have experience with Haskell, does Pandoc support conversion of OMML to Tex?
from texmath.
I need to convert OMML to Tex
OK.
does Pandoc support conversion of OMML to Tex?
I don't have Microsoft Office installed in my machine. Pandoc doesn't convert equations created using LibreOffice and stored as *.docx
. I got
$ pandoc -f docx -t latex test.docx
Inline equation:
instead of
$ pandoc -f docx -t latex test.docx
Inline equation: $\sqrt{2}$
I believe that LibreOffice is saving the OMML correct:
$ unzip -c test.docx word/document.xml
Archive: test.docx
inflating: word/document.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:document xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" mc:Ignorable="w14 wp14"><w:body><w:p><w:pPr><w:pStyle w:val="Normal"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr><w:t>Inline equation:</w:t></w:r><w:r><w:rPr></w:rPr></w:r><m:oMath xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"><m:rad><m:radPr><m:degHide m:val="1"/></m:radPr><m:deg/><m:e><m:r><w:rPr><w:rFonts w:ascii="Cambria Math" w:hAnsi="Cambria Math"/></w:rPr><m:t xml:space="preserve">2</m:t></m:r></m:e></m:rad></m:oMath></w:p><w:sectPr><w:type w:val="nextPage"/><w:pgSz w:w="12240" w:h="15840"/><w:pgMar w:left="1134" w:right="1134" w:header="0" w:top="1134" w:footer="0" w:bottom="1134" w:gutter="0"/><w:pgNumType w:fmt="decimal"/><w:formProt w:val="false"/><w:textDirection w:val="lrTb"/></w:sectPr></w:body></w:document>
but I have no experience with OMML.
@lastdates maybe you want to open a bug in Pandoc?
from texmath.
+++ Lastdates [May 07 15 01:04 ]:
[1]@r-gaia-cs I need to convert OMML to Tex, but I don't have
experience with Haskell, does Pandoc support conversion of OMML to Tex?
Pandoc will convert OMML inside docx files, yes.
If you want to convert OMML directly, you should
cabal install texmath -fexecutable
from texmath.
Note: it should be easier now to install from source, using the stack tool.
Install stack: https://github.com/commercialhaskell/stack
Then in the texmath repository,
stack setup
stack install --flag texmath:executable
from texmath.
Related Issues (20)
- $\underbrace{x}_{y}$ from LaTeX to typst
- mathml vector - typeset error HOT 1
- texmath converts $s_n$ to $space_n$ from LaTeX to Typst HOT 1
- MathML <mo> created for each adjacent Rel symbol HOT 5
- texmath-0.12.8 testsuite failure in Nightly HOT 3
- Feature request: color
- Installing `texmath` binary as dependency in Nix project HOT 2
- how to run server HOT 2
- Wrong equation conversion from docx HOT 4
- pandoc cannot convert latex formula containing "*{20}{l}" HOT 1
- Recognise `\allowbreak` in TeX input
- texmath converts $\ddot{q}$ to $q^(̈)$ from LaTeX to Typst HOT 3
- Use Unicode in Typst HOT 5
- Do not use extra lr in typst writer HOT 2
- Minus for subtraction and minus for negative numbers not differentiated in default HTML math output HOT 5
- Pandoc cannot recognize some uppercase Greek letters and lowercase omicron HOT 8
- Math not correctly converted to typst: `\mathbf` should be bold and upright but is only bold
- Regarding issues with converting Markdown using Pandoc.
- Converting left/right math functions to Typst and docx HOT 7
- Writing primes ′ in Typst HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from texmath.