On Mon, Sep 19, 2016 at 08:20:35PM +0000, Guenter Milde wrote: > On 2016-09-19, Scott Kostyshak wrote: > > > [-- Type: text/plain, Encoding: quoted-printable --] > > > If I try to compile fr/beamer.lyx to PDF (XeTeX) (using the default TeX > > fonts) I get the following LyX error: > > > Could not find LaTeX command for character 'é'. It is suggested to > > change the document encoding to utf8. > > This is a very outdated suggestion (and should either be removed or updated). > > In most cases, it only helps to change the encoding to utf8, if you also > define new Unicode character bindings in the user-preamble. > > Furthermore, with XeTeX and 8-bit TeX fonts, the encoding is ascii - no > other encoding works with this combination! > > Normally, the é is converted by lib/unicodesymbols to \'{e} and all is fine. > > > This error is from a 'é' in a comment (in ERT): > > %Pour illustrer le différence entre decouvert et visible: > > ERT is a special case - it is up to the user to ensure proper working. > > > Should the encoding be change? > > No.
OK thanks for the explanation. > Alternatives: > > * change the comment from ERT to comment I did not think of this possibility. I like it. > * invert the test (we already have several cases of inverted:ERT) Indeed but this one seems easily avoidable (I have not checked the others). Scott
signature.asc
Description: PGP signature