public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* LaTeX siunitx macros not working
@ 2017-05-20  3:15 Kurt Blarrel
       [not found] ` <0de9dc67-40f0-4938-90ee-51ca2f7e2818-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Kurt Blarrel @ 2017-05-20  3:15 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1584 bytes --]

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}


Command:

> pandoc test.tex -f latex -t markdown -o test.md


Returns:

> [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 
reads as follows:

> 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.

[-- Attachment #1.2: Type: text/html, Size: 4910 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* LaTeX siunitx macros not working
       [not found] ` <0de9dc67-40f0-4938-90ee-51ca2f7e2818-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-05-20  7:25   ` Andrew Dunning
  2017-05-22  6:50   ` Kolen Cheung
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Dunning @ 2017-05-20  7:25 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 80 bytes --]

The support is new, and still limited:

https://github.com/jgm/pandoc/pull/3588

^ permalink raw reply	[flat|nested] 3+ messages in thread

* LaTeX siunitx macros not working
       [not found] ` <0de9dc67-40f0-4938-90ee-51ca2f7e2818-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2017-05-20  7:25   ` Andrew Dunning
@ 2017-05-22  6:50   ` Kolen Cheung
  1 sibling, 0 replies; 3+ messages in thread
From: Kolen Cheung @ 2017-05-22  6:50 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-22  6:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-20  3:15 LaTeX siunitx macros not working Kurt Blarrel
     [not found] ` <0de9dc67-40f0-4938-90ee-51ca2f7e2818-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-05-20  7:25   ` Andrew Dunning
2017-05-22  6:50   ` Kolen Cheung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).