backtracking / bibtex2html

Other
97 stars 27 forks source link

Unknown macro: \setminus #29

Closed MLopez-Ibanez closed 4 years ago

MLopez-Ibanez commented 4 years ago

$A \setminus B$ is translated to <em>A</em> <em>B</em>. The workaround:

\newcommand{\setminus}{&setminus;}

doesn't work because it becomes <em>A</em> &<em>setminus</em>;<em>B</em>. But

\newcommand{\setminus}{ &#8726; }

does work.

backtracking commented 4 years ago

The master version of bibtex2html already has a translation for \setminus (commit b582381c from last October). It is translated to ⧵ (a backslash).

If you cannot use the master version, here is another workaround: \newcommand{\setminus}{\backslash} (put that in some macros.tex file and run bibtex2html -m macros.tex file.bib)

MLopez-Ibanez commented 4 years ago

Great! thanks!