Le 08/10/2017 à 23:42, Jean-Pierre Chrétien a écrit :
Le 08/10/2017 à 23:26, Scott Kostyshak a écrit :


I don't know. From what I remember lettre started failing for me after a
TeX Live update. If it were a LyX bug, I wonder why it worked before. My
memory often fails me though (or perhaps I fail it?). I think I have a
VM with an older TeX Live installation. Would it helped if I tested
whether the lettre template, as of current 2.3.x, compiles fine with
the older TeX Live installation?

I don't know, a new version of the class has been introduced in August with a lot of changes.

I think I will go on what I began to do here before contacting the author of the class: downsize to a minimal example using the examples indicated in the class manual to check if polyglossia simply works with lettre.cls

Done, after introducing the same changes as in the LyX template after checking "Use non-TeX fonts" in Document>Settings>Fonts:

-\usepackage[T1]{fontenc}
-\usepackage[latin9]{inputenc}
+\usepackage{fontspec}
+\setmainfont[Mapping=tex-text]{FreeSans}

-\usepackage{babel}
+\usepackage{polyglossia}
+\setdefaultlanguage{french}
 \begin{document}

in a MWE latex file using the lettre class, xelatex compilation outputs the pdf output all right.

(the LyX template includes a lot of preamble code to make the order of the elements in the LyX window irrelevant, and the error happens inside an added custom command).

I will review now the extra preamble code.

--
Jean-Pierre


Reply via email to