For some reason, LuaLaTeX is outputting an en-dash for both -- and --- for me.







lualatex test produces:

LuaLaTeX output

pdflatex test produces:

PDFLaTeX output

  • 2
    Have a look at tex.stackexchange.com/q/477094/35864
    – moewe
    Commented Mar 22, 2019 at 18:46
  • @moewe: That's exactly it, thank you. I was having a hard time figuring out search terms for this.
    – AVB
    Commented Mar 22, 2019 at 18:51
  • I can imagine that typing --- into Google would not be helpful here ;-) (It is bad enough if you search for more recognisable code with a few more letters.) I only found the duplicate so quickly because I knew I had seen it before and could search in my browsing history for "em" and "Lua". Would you be OK with closing this as a duplicate?
    – moewe
    Commented Mar 22, 2019 at 18:54
  • The problem was a bug in the upstream fontloader involving ligatures and will be resolved with the next luaotfload update. Commented Mar 22, 2019 at 19:08


Browse other questions tagged .