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 usingfontenc
with lualatex. Apart from that, the error ypu have shown are not related to lualatex, and pdflatex would probably crash the same way.fontenc
withlualatex
this 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.tex
file....lgrenc.def
with LuaLaTeX in any case... But, again, without code it is hard to say. That said, the error you are getting is odd.lgrenc.def
should 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?which lualatex
from the terminal?