backtracking / bibtex2html

Other
97 stars 27 forks source link

Unknown macro: \rangle #33

Closed k4rtik closed 3 years ago

k4rtik commented 3 years ago

For bibtex fields containing $\rangle$ such as

title         = {t$|$ket$\rangle$: a retargetable compiler for {NISQ} devices},
[...]
title         = {{{LIQ}}$Ui|\rangle$: {{A Software Design Architecture}} and {{Domain}}-{{Specific Language}} for {{Quantum Computing}}},

I am getting this error: Unknown macro: \rangle while this macro seems defined in two places in latexmacros.ml: https://github.com/backtracking/bibtex2html/search?q=rangle&type=code

backtracking commented 3 years ago

For such a macro to be translated, you must use either -unicode or -html-entities on the command line. Both should work fine with macro \rangle (I just checked). My apologies if this is not/badly documented.

k4rtik commented 3 years ago

Ah, thanks, I was not aware of that.