[texhax] luaLaTeX + bibLaTeX + fontspec = problem?

Ulrike Fischer news3 at nililand.de
Fri Feb 11 10:33:40 CET 2011


Am Fri, 11 Feb 2011 09:12:34 +0100 schrieb Arno Trautmann:

> Hi all,
> 
> this seems like a ridiculous problem, but I just cannot fix it … Using a
> combination of luaLaTeX, bibLaTeX and fontspec, I want to typeset my
> document with the Linux Libertine font. That works fine until the
> References come: The quotation marks are not the correct unicode
> characters “mytitle” but only ``mytitle''. See minimal example below.
> This does not happen if I don't use \setmainfont, but does also happen
> with other fonts. So I am not sure what part of the packages is the
> problem – but anything seems to be incompatible … Loading babel does not
> change the quotation marks, even if I use ngerman – I'd expect lower
> marks in the front then.
> 
> So can anybody give me a hint what I am doing wrong?

The best to solve the problem is - as Joseph suggested - to load
csquotes. 

The reason of your problem is that - without csquotes - biblatex
falls back to the ``-notation for quotes. And this only works if the
standard TeX-ligatures (-- to endash, --- to emdash etc) are enabled
for the font. So you should use 

\setmainfont[Ligatures=TeX]{...}

-- 
Ulrike Fischer 



More information about the texhax mailing list