[luatex] lualatex / includegraphics / open files

Ulrike Fischer luatex at nililand.de
Sun Dec 3 15:01:08 CET 2017


Am Sun, 3 Dec 2017 10:19:08 +0100 schrieb Knut Petersen:

> I could use pdflatex ... if I would know how to temporarily disable and reenable inputenc.
> Lilypond is a music engraving program, it expects utf8 input.

I don't know which problem you have here. Both variants in the
following document writes utf8:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{filecontents}
\newwrite\testb

\begin{document}
\begin{filecontents}{test-outputa.tex}
Grüße
\end{filecontents}

\immediate\openout\testb=test-outputb.tex
\immediate\write\testb{\unexpanded{Grüße}}
\immediate\closeout\testb
\end{document}


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the luatex mailing list