[lltx] luacode, %

Patrick Gundlach patrick at gundla.ch
Tue Oct 18 14:24:02 CEST 2011


Hi,

the documentation of luacode tells me (table on page two) that percent signs are not easy to put in the code. I don't understand that. Look at this example:

\documentclass{article}
\usepackage{luacode}
\begin{document}
\luadirect{
tex.print(string.format("\%3f",43.2))
}
\end{document}

This looks fine to me. What am I missing here?

Patrick




More information about the lualatex-dev mailing list