You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to convert some .tex to .docx with a lot of complex math and pandoc-2.11.3.1 can't convert \set{..} and similar cases.
Usual error looks like:
[WARNING] Could not convert TeX math '\set{1, \dots, n}', rendering as TeX:
\set{1, \dots, n}
^
unexpected "{"
expecting "%", "\\label", "\\nonumber" or whitespace
Is \set part of core tex? If not, where is it defined?
(You minimal test case doesn't compile with latex, so I gather it's defined in some external package.)
I see. Well, this package can't have the ambition of supporting everything in CTAN. We try to support the most commonly used packages. I'd suggest simply adding a macro definition of \set to your document -- if you're using pandoc, you can do something like pandoc mymacros.md myfile.md where mymacros.md contains the macro definitions you need. Pandoc will process these.
I'm trying to convert some
.tex
to.docx
with a lot of complex math andpandoc-2.11.3.1
can't convert\set{..}
and similar cases.Usual error looks like:
Test case:
The text was updated successfully, but these errors were encountered: