[luatex] Sample documentation won't compile.
Philipp.Gesang at alumni.uni-heidelberg.de
Fri May 31 17:07:09 CEST 2013
···<date: 2013-05-31, Friday>···<from: Paul Isambert>···
> Herbert Schulz <herbs at wideopenwest.com> a écrit:
> > Howdy,
> > MacTeX has installed some sample documentation for Context/LuaTeX/XeTeX at least since 2010. One document used to compile fine but doesn't do so with the TeX Live 2013 pretest. Mojca Miklavec was able to fix the document by
> > - context("%#2i",r)
> > + context("%2i",r)
> > i.e., removing the `#' from the format string.
> > I'm wondering if this is because of a change in the Lua interpreter or something else. The corrected file is enclosed.
> The Lua 5.1 documentation* states that “format.string()” (on which, I
> suppose, the “context()” function is based)
The cld printers are based on formatters, not string.format()
(see cldf-ini.lua), which may account for the difference.
> “follows the same rules as
> the printf family of standard C functions”, whereas according to the
> Lua 5.2 documentation,** it “follows the same rules as the ANSI C
> function sprintf”. Perhaps that’s the source of the difference?
> > PS: Please copy any answers to me since I'm not a member of this list.
> > Good Luck,
> We’ll need it, what with the depressing rainy spring and all :)
> * http://www.lua.org/manual/5.1/manual.html#pdf-string.format
> ** http://www.lua.org/manual/5.2/manual.html#pdf-string.format
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the luatex