bibtex2html icon indicating copy to clipboard operation
bibtex2html copied to clipboard

\@ eats a space

Open Jellby opened this issue 9 years ago • 1 comments

I write journal abbreviations in the bib file as "Chem.\@ Phys.\@ Lett." to avoid extra stretching when processing with LaTeX. It seems bibtex2html eats the space after the \@ macro, since I get in the html: Chem.Phys.Lett.. A workaround is using \@\ (with space after the last slash).

Jellby avatar Jan 27 '17 19:01 Jellby

I write journal abbreviations in the bib file as "|Chem.@ Phys.@ Lett.|" to avoid extra stretching when processing with LaTeX. It seems bibtex2html eats the space after the |@| macro, since I get in the html: |Chem.Phys.Lett.|.

You're right, bibtex2html is incorrectly translating @ to nothing.

I fixed this in the development version (commit 53f98281). The patch is not perfect, as @ immediately followed by a character should not be translated to a space (but bibtex2html will do so). This should be a smaller annoyance, though.

A workaround is using |@| (with space after the last slash).

Indeed. I hope you can live with it until I make a new release of bibtex2html.

thanks for reporting the issue.

Jean-Christophe

backtracking avatar Jan 28 '17 10:01 backtracking