Showing posts with label lualatex. Show all posts
Showing posts with label lualatex. Show all posts

Wednesday, October 23, 2013

Oh happy day - Biblatex with Polyglossia is nigh

A couple of days ago the fine folks over at biblatex finally fixed bug #69, which is about the usage of biblatex with polyglossia instead of bable. This means I have lost the last excuse to use babel with lualatex and can finally start into the bright future ahead without that crappy package. I was reminded of how bad it is when I put together a list of common errors we see in #latex on freenode related to babel. Well at least now I personally won't have to touch it again. Burn Babel Burn. Good Riddance!

Installation is easy and risk free if you do it in texmf-local. Worked great for me.

Latex is actually getting cleaner code wise with all these modern packages like fontspec, biblatex+biber, polyglossia, glossaries+xindy,

Tuesday, August 28, 2012

(Xe-|Lua-)LaTeX, Fontspec and endash, emdash

Historically we have used xelatex to typeset a larger publication. When we tried to convert to lualatex we hit a problem with emdashes and endashes showing in the document as --- and -- respectively.
The problem is not entirely clear to me. It appears to be caused by two different chars representing -  and is apparently related to the fontspecmode node, the renderer full and the fact that the loader is implemented differently in luatex and xetex. Contex had the same problem but has been fixed, luatex not apparently

If you care about the details read this discussion on stackexchange and this thread on comp.text.tex.

The problem as well as the solution unfortunately depends on the font. Try
the option  Ligatures=TeX for the font and if that doesn't work also try Renderer=basic, like
\setmainfont[Ligatures=TeX,Renderer=Basic,SmallCapsFont={* SC}]{LMU CompatilText}
or in
\defaultfontfeatures{Ligatures=TeX,Renderer=Basic}

Hopefully this works for you. It did for us.