I'm setting up a number of document with dynamic texts. Basically LaTeX is view mechanism to dynamically present the results of ongoing statistical analysis on a database. So I have numerous \ifnum
s and \newif
s that are fed by Sweave with the values calculated in the R chunks of and Rnw file.
And although the LaTeX if else constructs work, the LuaTex examples posted here on tex.se look so much more elegant and easier to debug that I would much prefer to go that route. Especially when I have multiple nesting I sometimes struggle to pinpoint why errors occur.
I certainly do ask about advantages and disadvantages of LuaTeX and LuaLaTex itself. There are some excellent posts here discussing that already. What I do need is some arguments to propose the switch to LuaTex for some or all reports to my team. The immediate response is "LuaTex is still in beta, and will be for a while". However the authors suggest that it is stable enough:
major releases (x.x0 versions) are stable enough to be used for production work
Can you validate this with experience? Are there risks other than the possibility of having to refactor when a new version of LuaTex/LuaLaTex comes out? The documents I'm working on are relatively simple from a type setting perspective, and I'm only using standard document classes. Also, once prepared the templates are not likely to change much.
I realize that there are some things I take entirely for granted with pdflatex, and my question could narrow down to whether this already applies (in your experience) to lualatex:
- Starting many pdflatex processes concurrently has never lead to any trouble.
- Once an a (Rnw --> Sweave --> tex) template works (has been tested, debugged and brought into production) I have never had too look at it again (except for some updates in R packages but that is definitely off topic here).
topskip already gives me one pointer: learn the limitations of the current beta, work around it if necessary and be careful when updating. I interpret this as follows: looking at cost vs benefits it will be easier to program now and possibly (but most likely not) more costly to maintain later.
Do you have more experiences you could share along that train of thought?
UPDATE - moved my notes on making the switch from pdflatex to lualatex to an answer below. It was getting too long to remain in the question