You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to define some latex commands to complement the description power of markdown. Given their natures, these commands usually take more than one parameter. Under the current pandoc implementation, only the first parameter is passed to the command, and the rest parameters are treated as markdown instead. For instance,
The curly braces are escaped in the generated tex file.
Is it possible that pandoc adds support to the construction of consecutive parameters, and simply pass them to latex? It is uncommon to have constructions in the normal markdown text.
The text was updated successfully, but these errors were encountered:
Is it possible that pandoc adds support to the construction of
consecutive parameters, and simply pass them to latex? It is uncommon
to have constructions in the normal markdown text
Wait! What version of pandoc are you using?
Recent versions allow indefinitely many parameters:
% pandoc -t latex
\mylatexcmd{a}{b}{c}
^D
\mylatexcmd{a}{b}{c}
So you probably just need to upgrade.
I would like to define some latex commands to complement the description power of markdown. Given their natures, these commands usually take more than one parameter. Under the current pandoc implementation, only the first parameter is passed to the command, and the rest parameters are treated as markdown instead. For instance,
The curly braces are escaped in the generated tex file.
Is it possible that pandoc adds support to the construction of consecutive parameters, and simply pass them to latex? It is uncommon to have constructions in the normal markdown text.
The text was updated successfully, but these errors were encountered: