I am completely baffled by the following Lyx-->Latex export behavior:

1. Lyx file (v. 2.0.6) is set to UTF-8(XeteX)
2. file -i myfile.lyx confirm the file is encoded as UTF8
3. Export to Latex(LuaTeX) produces myfile.tex
4. file -i myfile.tex tells me it is now encoded as iso-8859-1
5. lualatex (from command line) seems to agree, since it chokes on the
first accented character of the file.

HOWEVER---

if I try to make a minimal working example by cutting most of the file's
text, the behavior disappears and the latex export reverts to normal UTF8.

Is it possible that a character somewhere in the text (which is long---it
is a book) makes lyx switch from UTF8 to ISO-8859-1?
Is there a way to force LyX to export to UTF-8?

Thx,

Stefano

-- 
__________________________________________________
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

[email protected]
http://stefano.cleinias.org

Reply via email to