Discussion:
LaTeX siunitx macros not working
Kurt Blarrel
2017-05-20 03:15:55 UTC
Permalink
Hi pandoc-discuss,

Today I tried compiling the dev version of pandoc to access the LaTeX
package siunitx support, but I'm a bit disappointed to find it only works
partially.

Test input: test.tex
\documentclass{article}
\usepackage{siunitx}
\begin{document}
The cow jumped \SI{20}{\metre} for \SI{20}[\$]{}.
\end{document}
pandoc test.tex -f latex -t markdown -o test.md
[warning] Could not load include file 'siunitx.sty' at line 3 column 21
Output: test.md
The cow jumped 20 for \$ 20.
I compiled pandoc on Windows 7 x64 by cloning the repository and running
"stack setup" then "stack install --test" as per the instructions. Both
steps seemed to work without issue; all tests were passed. pandoc --version
pandoc 2.0
Compiled with pandoc-types 1.17.0.5, texmath 0.9.4, skylighting 0.3.3



Could anyone confirm if this is unexpected behaviour? Does it have
something to do with the warning message?

Thanks a lot,

K
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+***@googlegroups.com.
To post to this group, send email to pandoc-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0de9dc67-40f0-4938-90ee-51ca2f7e2818%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Andrew Dunning
2017-05-20 07:25:30 UTC
Permalink
The support is new, and still limited:

https://github.com/jgm/pandoc/pull/3588
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+***@googlegroups.com.
To post to this group, send email to pandoc-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1893f2d2-595c-49ae-bd09-fab7f5349801%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Kolen Cheung
2017-05-22 06:50:48 UTC
Permalink
If you are compiling from dev (master branch) and expect it to work, you should be disappointed.

They are for developers, do so only if you want to help developing.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+***@googlegroups.com.
To post to this group, send email to pandoc-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a4a4e3f0-c549-4a1f-90a5-d21d7143d9cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...