warning "different LaTeX input encodings" in a single LyX file

Jean-Marc Lasgouttes lasgouttes at lyx.org
Tue Jul 2 10:48:06 UTC 2024


Le 02/07/2024 à 12:00, Jürgen Spitzmüller a écrit :
> Am Montag, dem 01.07.2024 um 22:22 +0300 schrieb matan guedj:
>> I get this warning with a macros file I'm using on all my lyx
>> documents only one document and I have no idea why,  when I checked
>> with Notepad++ it looked like it was encoded with utf-8, I'm not sure
>> who the parent is referring to here as well.
>> I'm using the "insert->file->child document" on input option for the
>> macro file.
>> i don't know what other info I can add except that it's really odd
>> that it happens only on a single file, even though I use this
>> everywhere in the exact same way.
> 
> * Open the file MacrosStandard.lyx
> * Open the Document Settings dialog
> * Go to the "Language" section of the dialog
> * In Encoding > Type, select "Unicode (utf8)" rather than "Traditional
> (auto-selected)"

A word of explanation: all .lyx files are encoded in utf8. The encoding 
you can chose is the one of the generated LaTeX file. When using a child 
document, the master and the child should use the same encoding.

JMarc



More information about the lyx-users mailing list