backtracking/bibtex2html

Long title

Closed this issue · 1 comments

It seems that too long titles (more than 64 characters, say) break accent translation.

For instance
title="Du Th{'e}or{`e}me de {R}amsey {`a} la Conjecture d'{E}rd{\H o}s--{H}ajnal"
-> Du théorème de Ramsey à la conjecture d'Erd
os–Hajnal

but title="Du Th{'e}or{`e}me de {R}amsey {`a} la d'{E}rd{\H o}s--{H}ajnal"
-> Du théorème de Ramsey à la d'Erdős–Hajnal

Thanks for reporting this bug. It is fixed in commit c2a4493.
(This was indeed related to long BibTeX fields: when translated to pure LaTeX, newlines were inserted and not correctly ignored when parsing LaTeX macros in the HTML translation.)