Elie,
Many thanks for sending me these two files. The new versions are definitely
working (much!!) better.
Unfortunately, not all is well yet in LuaLaTeX land. The following, slightly
augmented form of the previous MWE
% !TEX TS-program = lualatex
\documentclass{article}
\usepackage{fontspec}
\usepackage[ngerman]{babel}
\begin{document}
Hallo Welt!
\end{document}
now pauses after the following "output":
...
(/usr/local/texlive/2013/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/babel/ngermanb.ldf
(/usr/local/texlive/2013/texmf-dist/tex/generic/babel/babel.def)
! LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\l'.
\adddialect ...alect("\string #1", "\string #2") }
\fi \fi \wlog {\string #1
...
l.61 \adddialect\l@naustrian\l@ngerman
?
If I hit "r" at this point to enter nonstop mode, LuaLaTeX will actually finish
the compilation without further error messages. However, it would be better not
to encounter this error in the first place, right?
Incidentally, the error reported above doesn't seem to be specific to the
"ngerman" language option; it also occurs if the "english", "canadian", etc.
language options are provided.
Many thanks to everyone who wants to look into and solve this additional issue.
Hopefully, not many more such issues will crop up. (Famous last words!)
Sincerely, Mico
On 20 Apr, 2013, at 11:01 AM, Élie Roux wrote:
> <pdftexcmds.lua>