Latex package siunitx
not identified by pandoc, even though it is installed
#9642
Answered
by
jgm
lamyergeier
asked this question in
Q&A
-
InfoOS: Fedora 39
siunitx package v3 is installed$ kpsepath tex | tr ':' '\n' \
| perl -ne 'm-^(!!)?(/.*?)(//)?$- && print "$2\n"' \
| while read path; do locate $path ; done | sort -u \
Unable to produce pdfI did the following:
Questions
|
Beta Was this translation helpful? Give feedback.
Answered by
jgm
Apr 8, 2024
Replies: 1 comment
-
Q1: yes |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lamyergeier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.