-
TL;DRWant to stop this: $ echo >temp.md '$x$'
$ echo >test.md '---
x: a{b}c
---'
$ pandoc --template temp.md test.md -t markdown
a{b}c
$ pandoc --template temp.md test.md -t latex
a\{b\}c How can I do that? DetailsI need LaTeX preamble like this: \setmainjfont[
CharacterWidth=Proportional,
YokoFeatures={JFM=prop},
UprightFont={*-Regular},
BoldFont={*-Bold}]{__font__} So, I wrote this: ---
CJKfontoptions:
- CharacterWidth=Proportional
- YokoFeatures={JFM=prop}
- UprightFont={*-Regular}
- BoldFont={*-Bold}
... But, I got this: \setmainjfont[
CharacterWidth=Proportional,
YokoFeatures=\{JFM=prop\},
UprightFont=\{*-Regular\},
BoldFont=\{*-Bold\}]{__font__} This causes an error. |
Beta Was this translation helpful? Give feedback.
Answered by
tarleb
Apr 26, 2024
Replies: 1 comment 3 replies
-
Pandoc won't escape strings if
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
sh9temp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pandoc won't escape strings if
it knows that it's raw LaTeX, e.g.
the strings are variable values, defined, for example, in a defaults file