Just did. Thank you! On Monday, August 5, 2019 at 7:12:03 AM UTC+3, John MacFarlane wrote: > > > This looks like a bug to me. Pandoc should be able to > handle this sort of \newcommand. Can you submit a bug > report on our GitHub tracker, with a simple test case > and the expected output? > > Umut Acar > writes: > > > I am translating LaTeX to html and would like to be able to define a new > > command with an optional argument and use it. For example > > ``` > > \newcommand{\ittakestwo}[2][defaultone]{#2} > > > > ... > > > > \ittakestwo[to]{tango} will eval to "tango" > > ``` > > Is this possible? I wasn't able to make it work... > > > > -- Umut > > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/03b34772-cdf3-4131-a67b-9c045447e0cc%40googlegroups.com.