[luatex] package csquotes

Ulrike Fischer luatex at nililand.de
Thu Jul 14 10:15:37 CEST 2016


Am Wed, 13 Jul 2016 23:06:50 +0200 schrieb Herbert Voss:

> With xelatex everything is fine, but with lualatex
> the second ! is wrong.
> 
> up-to-date TL 2016
> 
> \documentclass{article}
> \usepackage[ngerman]{babel}
> \usepackage[autostyle]{csquotes}
> \begin{document}
> \enquote{foo \enquote{!bar!} baz}
> 
> !bar!{}`
> \end{document}

{} was never a completly reliable method to suppress a ligature (see
exercise 5.1 in the texbook), and obviously it now fails completly
in luatex due to the changes in the ligature/hyphenation handling
(it doesn't work in context either). 

csquotes should better insert either \/ or \kern0pt before the
ending quote.

\documentclass{article}


\begin{document}
f\/i f\kern0pt i fi f{}i

bla!\/` bla!\kern0pt` bla!`
\end{document}

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the luatex mailing list