<div dir="ltr"><div>Here are my notes for an early, with some trivial patches to lua scripts (due to the use of a more recent lua version) in case they will help others start testing more complex documents.<br></div><div>
<div><br>TeX Live 2013 pretest notes <br>===========================<br><br>Test platform: Fedora 18 (x86_64)<br><br>Install: nearly complete, but omitting non-english language docs<br>(assuming lots of churn as translations are updated).<br>
<br>## 2013-04-12<br><br>Simple documents (`story.tex`, `sample2e.tex`) can be formatted using<br>all 3 engines (pdftex, xetex, luatex).<br><br>### Versions<br><br> $ for e in pdftex xetex luatex ; do echo ; $e --version ; done<br>
<br> pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)<br> kpathsea version 6.1.1<br> Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).<br> There is NO warranty. Redistribution of this software is<br>
covered by the terms of both the pdfTeX copyright and<br> the Lesser GNU General Public License.<br> For more information about these matters, see the file<br> named COPYING and the pdfTeX source.<br> Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).<br>
Compiled with libpng 1.6.1; using libpng 1.6.1<br> Compiled with zlib 1.2.7; using zlib 1.2.7<br> Compiled with xpdf version 3.03<br> <br> XeTeX 3.1415926-2.5-0.9999.2-2013041011 (TeX Live 2013)<br> kpathsea version 6.1.1<br>
Copyright 2013 SIL International and Jonathan Kew.<br> There is NO warranty. Redistribution of this software is<br> covered by the terms of both the XeTeX copyright and<br> the Lesser GNU General Public License.<br>
For more information about these matters, see the file<br> named COPYING and the XeTeX source.<br> Primary author of XeTeX: Jonathan Kew.<br> Compiled with ICU version 51.1; using 51.1<br> Compiled with zlib version 1.2.7; using 1.2.7<br>
Compiled with FreeType2 version 2.4.11; using 2.4.11<br> Compiled with Graphite2 version 1.2.1; using 1.2.1<br> Compiled with HarfBuzz version 0.9.15; using 0.9.15<br> Compiled with fontconfig version 2.10.92; using 2.10.2<br>
Compiled with libpng version 1.6.1; using 1.6.1<br> Compiled with poppler version 0.22.2<br> <br> This is LuaTeX, Version beta-0.76.0-2013041011 (TeX Live 2013)(rev 4627)<br><br> Execute 'luatex --credits' for credits and version details.<br>
<br> There is NO warranty. Redistribution of this software is covered by<br> the terms of the GNU General Public License, version 2. For more<br> information about these matters, see the file named COPYING and<br>
the LuaTeX source.<br><br> Copyright 2011 Taco Hoekwater, the LuaTeX Team.<br><br>I suppose the copyright notice should say 2013.<br><br>### fontspec issues with luatex<br><br>LaTeX documents using fontspac fail when formatted with lualatex due<br>
minor glitches in the lua code. <br><br>The minimal example:<br><br> \documentclass{article}<br> \usepackage{fontspec}<br> \begin{document}<br> Some text.<br> \end{document}<br><br>The details:<br><br> 1. "package.loaders" is now "package.searchers"<br>
<br> ! LuaTeX error ...ive/2013/texmf-dist/scripts/oberdiek/\<br> oberdiek.luatex.lua:55: bad argument #1 to 'insert' \<br> (table expected, got nil)<br><br>Workaround: added a small block to define package.loaders if<br>
needed:<br><br> $ d=/usr/local/texlive<br> $ diff -C 3 $(find $d -name oberdiek.luatex.lua -type f)<br> *** /usr/local/texlive/2013/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua 2011-04-19 20:07:27.000000000 -0300<br>
--- /usr/local/texlive/texmf-local/scripts/oberdiek/oberdiek.luatex.lua 2013-04-12 16:34:56.295818341 -0300<br> ***************<br> *** 2,7 ****<br> --- 2,8 ----<br> -- This is file `oberdiek.luatex.lua',<br>
-- generated with the docstrip utility.<br> -- <br> + -- Define package.loaders for lua version <br> -- The original source files were:<br> -- <br> -- luatex.dtx (with options: `lua')<br>
***************<br> *** 52,57 ****<br> --- 53,61 ----<br> end<br> return "\n\t[oberdiek.luatex.kpse_module_loader] Search failed"<br> end<br> + if not package.loaders then <br> + package.loaders=package.searchers<br>
+ end<br> table.insert(package.loaders, kpse_module_loader)<br> -- <br> -- End of File `oberdiek.luatex.lua'.<br><br> 1. invalid escape sequence<br> <br> ! LuaTeX error .../2013/texmf-dist/tex/luatex/luaotfload/\<br>
otfl-luat-dum.lua:65: invalid escape sequence near '\/'<br><br>The offending backslash was removed:<br><br> $ diff -C 3 $(find $d -name otfl-luat-dum.lua -type f)<br> *** /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/otfl-luat-dum.lua 2011-04-22 21:58:21.000000000 -0300<br>
--- /usr/local/texlive/texmf-local/tex/luatex/luaotfload/otfl-luat-dum.lua 2013-04-12 20:50:25.815579617 -0300<br> ***************<br> *** 62,68 ****<br> }<br><br> function resolvers.find_file(name,kind)<br>
! name = string.gsub(name,"\\","\/")<br> kind = string.lower(kind)<br> return kpse.find_file(name,(kind and kind ~= "" and (remapper[kind] or kind)) or file.extname(name,"tex"))<br>
end<br> --- 62,68 ----<br> }<br><br> function resolvers.find_file(name,kind)<br> ! name = string.gsub(name,"\\","/")<br> kind = string.lower(kind)<br> return kpse.find_file(name,(kind and kind ~= "" and (remapper[kind] or kind)) or file.extname(name,"tex"))<br>
end<br><br> 1. another invalid scape sequence<br> <br> ! LuaTeX error .../2013/texmf-dist/tex/luatex/luaotfload/\<br> otfl-font-nms.lua:496: invalid escape sequence near '\.'<br><br>The fix:<br><br>
$ diff -C 3 $(find $d -name otfl-font-nms.lua -type f)<br> *** /usr/local/texlive/2013/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua 2012-03-27 19:02:29.000000000 -0300<br> --- /usr/local/texlive/texmf-local/tex/luatex/luaotfload/otfl-font-nms.lua 2013-04-12 20:55:01.122538033 -0300<br>
***************<br> *** 493,500 ****<br> else<br> <a href="http://logs.info">logs.info</a>("Scanning TEXMF and OS fonts...")<br> end<br> ! local fontdirs = expandpath("$OPENTYPEFONTS"):gsub("^\.", "")<br>
! fontdirs = fontdirs .. expandpath("$TTFONTS"):gsub("^\.", "")<br> if not fontdirs:is_empty() then<br> for _,d in next, splitpath(fontdirs) do<br> scan_dir(d, fontnames, newfontnames, true)<br>
--- 493,500 ----<br> else<br> <a href="http://logs.info">logs.info</a>("Scanning TEXMF and OS fonts...")<br> end<br> ! local fontdirs = expandpath("$OPENTYPEFONTS"):gsub("^%.", "")<br>
! fontdirs = fontdirs .. expandpath("$TTFONTS"):gsub("^%.", "")<br> if not fontdirs:is_empty() then<br> for _,d in next, splitpath(fontdirs) do<br> scan_dir(d, fontnames, newfontnames, true)<br>
<br clear="all"><br>-- <br>George N. White III <<a href="mailto:aa056@chebucto.ns.ca">aa056@chebucto.ns.ca</a>><br>
</div></div></div>