Le 10 déc. 09 à 03:46, Uwe Stöhr a écrit :
LyX doesn't know "ascii" as encoding; we therefore need to translate it to an encoding that LyX understands. LyX understands latin5.

Hmmm...

2007-02-16  Georg Baum  <georg.b...@post.rwth-aachen.de>

        * format incremented to 262: Allow ascii \inputencoding

What else do we need to make it work?

When having only one encoding, this encoding can be set as h_inputencoding, otherwise h_inputencoding must be set to auto (the one of the document language). This is done in the routine for babel, but there are TeX files where the input encoding is specified before document or babel languages. Therefore do nothing when there is more than one encoding in the routine for inputenc.
I now updated the comments a bit to make this more clear.

OK. But if there is one encoding and two languages, why do we need to set encoding to auto instead of using this fixed encoding? Why not just use "auto" when there are several encodings?

In other words, why does the language matter?

Well you wrote: "I'll just remove the code I do not understand and look at what happens"
I could therefore not resist to drop a funny statement.

My original sentence started with "otherwise". And yes, it was designed as a way to get
a quick reaction :)

JMarc

Reply via email to