[texhax] quotation marks with babel in LuaLaTeX

Arno Trautmann Arno.Trautmann at gmx.de
Tue Sep 20 09:42:37 CEST 2011

Ulrike Fischer wrote:
> Am Mon, 19 Sep 2011 14:37:44 +0200 schrieb Arno Trautmann:
>> \DeclareTextSymbol{\quotedblbase}{T1}{18}
>> I'm not sure why, but I have the feeling that this is awkward. Wouldn't
>> it make much more sense if "` was mapped directly to the unicode point
>> of „? If so, should this be in some package?
> This is the definition for T1 encoding. With xetex/luatex you will
> probably use fontspec and so EU1/EU2 encoding. In this case the
> definition of xunicode (loaded by fontspec) will be used. In this
> case:
> \DeclareUTFcharacter[\UTFencname]{x201E}{\quotedblbase}

Yes, I did not have a closer look, just was happy to find the command in 
the source at all, sorry.

> (For some reason xunicode doesn't provide a sensible definitions for
> \glqq/\grqq and some other quoting commands)

So that's the point where such an addition could be done?

> I personally haven't used \glqq/ "` etc for years.

Me neither, thanks to Neo.

> I'm always using csquotes:

Ah, thanks, I totally forgot about that package as I never use it …

> \documentclass[ngerman]{scrartcl}
> \usepackage{babel,fontspec}
> \setmainfont{Linux Libertine O}
> \usepackage[autostyle]{csquotes}
> \MakeAutoQuote «»
> \begin{document}
> «abc»
> \end{document}

But … if I have « » on my keyboard, I don't need csquotes? …
Anyway, that will help me very much, thank you!


More information about the texhax mailing list