backtracking / bibtex2html

Other
97 stars 27 forks source link

Unknown macro: \binom and macros with two arguments not working #38

Open MLopez-Ibanez opened 3 months ago

MLopez-Ibanez commented 3 months ago

This is the amsmath.sty command for the binomial coefficient (combinations). I am not sure how to render it in HTML without MathJax. See https://iridia-ulb.github.io/references/index.html#BriCabEmm2018maximum

I tried using the macro:

\newcommand{\binom}[2]{C_{#1,#2}}

but it seems bibtex2html cannot handle macros with 2 arguments? Only the first one is handled.

MLopez-Ibanez commented 3 months ago

Ah, I see that this is documented:

Note: bibtex2html does not handle macros arguments; arguments are simply discarded.

It would be nice to fix this as it makes impossible to handle macros that bibtex2html cannot handle itself.