Hi everybody,
I have the following (simplified) LaTeX input (in a file test.tex):
\newcommand{\definition}[1]{\textsf{\textbf{#1}}}
On nomme \definition{champ de force} une fonction qui...
When I try the conversion LaTeX to markdown on "Try Pandoc!", I get the right result:
On nomme {\textsf{\textbf{champ de force}}} une fonction qui...
If I try to do the same from the Windows command line:
pandoc.exe --from latex --to markdown -o test.md test.tex
I get a wrong result (the macro isn't converted):
On nomme une fonction qui...
I've tried to add +latex_macros, but the result is the same.
How should I do? (This is my first test with Pandoc).
Thanks for any help,
Hervé.