backtracking / bibtex2html

Other
95 stars 27 forks source link

Long title #12

Closed taxipomme closed 6 years ago

taxipomme commented 6 years ago

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

backtracking commented 6 years ago

Thanks for reporting this bug. It is fixed in commit c2a44934e. (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.)