Am Sonntag, 18. August 2013 um 11:53:15, schrieb Jürgen Spitzmüller <sp...@lyx.org> > Kornel Benko wrote: > > The problem arises with the file templates/ectart.lyx using lualatex. > > > > What should we do here? > > > > (I tried to omit the output "\usepackage[utf8]{luainputenc}", but > > then all of our */Math*.lyx files were not compilable with lualatex) > > > > a.) We could add some info in the ectaart.layout (and honour the value in > > src/BufferParams.cpp) b.) Change the UI for document settings->class to > > allow 'not to use luainputenc' c.) contact someone responsible for > > ectaart.cls > > d.) use the sed-command (from Philipp in the attached mail) (This works > > without problems) > > > > Kornel > > What I don't understand from the quoted responses is why luainputenc should > not be necessary here. According to the luainputenc docs, luainputenc is > needed in the following two cases: > > "1. Your source is not encoded in UTF-8 and you don’t want to reencode it for > some reason. > 2. Your document is using legacy 8-bit fonts (with fontenc), as opposed to > modern Unicode fonts (most probably with fontspec or luaotfload and fontenc > with option EU2). > > Surprisingly enough, in the second case luainputenc is needed, due to the way > L A TEX implements font encodings." > > The second case is what we have here, and LyX only loads luainputenc in these > cases. > > Is this requirement no more true?
I think, it may not be so anymore. The reason, why the Math.lyx is not compilable without luainputenc looks like missing definition of \textdegree. > As to the solutions, I would rather add > Provides luainputenc 1 > to the layout and then suppress the line in this case. But first we need to > find out if this is really correct. OK. > Jürgen Kornel
signature.asc
Description: This is a digitally signed message part.