git.iko.soy/typeable/pandoc
on master help sign in
Manual: clarify when macro definitions are passed as raw latex.

In Markdown input, they are always passed through. In LaTeX, only if `latex_macros` is disabled.

commit15e1ca6441e3f2e8fd6f3c39cde409e014bcd46e authorJohn MacFarlane <jgm@berkeley.edu> dateSat 2 Nov 2019, 11:03 (7 years ago) parentdb972b8
1 file changed+5−2
MANUAL.txt+5−2
MANUAL.txt+5−2
@@ -4337,8 +4337,11 @@ When `latex_macros` is disabled, the raw LaTeX and math will
43374337not have macros applied. This is usually a better approach when
43384338you are targeting LaTeX or PDF.
43394339
4340−The macro definitions will be passed through as raw LaTeX
4341−only if `latex_macros` is not enabled.
4340+Macro definitions in LaTeX will be passed through as raw LaTeX
4341+only if `latex_macros` is not enabled. Macro definitions in
4342+Markdown source (or other formats allowing `raw_tex`) will
4343+be passed through regardless of whether `latex_macros` is
4344+enabled.
43424345
43434346## Links
43444347