+++ Jonas Smedegaard [Mar 11 12 14:13 ]: > On 12-03-10 at 06:30pm, John MacFarlane wrote: > > +++ Jonas Smedegaard [Feb 29 12 10:58 ]: > > > On 12-02-29 at 01:41pm, Kiwamu Okabe wrote: > > > > Lualatex has error. > > > > > > > > $ cat hoge.md > > > > # Title > > > > Hi! > > > > > > > > * Item1 > > > > * Item2 > > > > $ /usr/bin/pandoc hoge.md --latex-engine=pdflatex -f markdown -o > > > > hoge.pdf > > > > $ /usr/bin/pandoc hoge.md --latex-engine=xelatex -f markdown -o hoge.pdf > > > > $ /usr/bin/pandoc hoge.md --latex-engine=lualatex -f markdown -o > > > > hoge.pdf > > > > pandoc: Error producing PDF from TeX source. > > > > ! > > > > ******************************************** > > > > * XeTeX is required to compile this document. > > > > * Sorry! > > > > ********************************************. > > > > \RequireXeTeX ...********************************} > > > > \endgroup \fi > > > > l.18 \RequireXeTeX > > > > > > > > But I can't the reason of the TeX error.... > > > > > > Hmm, yes - looks odd (and contrary to upstream documentation!) that > > > LuaTeX should require XeTeX (and even parts of XeTeX that XeLaTeX > > > does not need itself). > > > > > > @John: Could you help here, how to proceed debugging? > > > > I don't get the error on my system, but I do have xetex installed. > > First step in debugging would be > > > > /usr/bin/pandoc hoge.md -s -t latex -o hoge.tex > > > > then run lualatex directly > > > > lualatex hoge.tex > > > > and inspect the log for further messages. > > > > The error message seems to be coming from the ifxetex.sty package, > > which defines \RequireXeTeX. I ran lualatex on hoge.tex and inspected > > the list of packages it opened, then grepped through all of them for > > \RequireXeTeX. The only hit was in ifxetex.sty. So that is no help. > > > > It is possible that the issue you're seeing is cleared up in TeXLive > > 2011, or maybe in the transition from pandoc 1.9.1.1 to 1.9.1.2. > > Sorry I can't be more help at the moment. > > Seems you are right, John - apparently fontspec supports LuaTeX only > since TeXLive 2010: > latex-alive.tumblr.com/post/643148677/fontspec-for-luatex > > Anyone have a suggestion how to improve the TeX template to require > fontspec 2.0 when used with LuaTex, and else do some sort of fallback?
Why is debian so far behind on TeXLive? That seems the obvious place to improve matters. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]
