I am writing my phd thesis now, and all these while I have used texshop in mac os X (mavericks). I have compiled in Lualatex through texshop (or even texworks) and the file compiles fine, but I have a problem compiling it from the command line and get many errors like this :
lualatex --shall-escape Report.tex
.
.
.
! Package fontenc Error: Encoding file `lgrenc.def' not found.
(fontenc) You might have misspelt the name of the encoding.
See the fontenc package documentation for explanation.
Type H <return> for immediate help.
Very typical latex compilation errors. My simple question is how to compile using lualatex from the command line?
--shell-escape, and you should not be usingfontencwith lualatex. Apart from that, the error ypu have shown are not related to lualatex, and pdflatex would probably crash the same way. – ArTourter Nov 05 '15 at 01:10fontencwithlualatexthis whole time? This is not (usually) recommended! Or is some package loading it "behind the scenes"? It is hard to tell without an actual, but minimal.texfile.... – jon Nov 05 '15 at 01:12lgrenc.defwith LuaLaTeX in any case... But, again, without code it is hard to say. That said, the error you are getting is odd.lgrenc.defshould be found. Loading it may well cause problems. But there should not be a problem loading it. Hard to say more without some more details, though. How did you install TeX exactly? – cfr Nov 05 '15 at 02:50which lualatexfrom the terminal? – egreg Nov 05 '15 at 07:36