Skip to content

Latex package siunitx not identified by pandoc, even though it is installed #9642

Answered by jgm
lamyergeier asked this question in Q&A
Discussion options

You must be logged in to vote

Q1: yes
Q2: the issue you cite has to do with parsing siunitx and converting it to other formats. The siunitx package is not included in the default pandoc template, so math that contains macros defined by this package won't compile. The solution is to add \usepackage{siunitx} either in a default template or via header-includes.
Q4: note that raw_tex only matters for tex outside of a math context. Stuff in math mode just gets put in a Math element and will go through to latex verbatim.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lamyergeier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants