On Monday 14 August 2006 15:30, Georg Baum wrote:
> >
> > Some arguments:
> >
> > - for utf-8 you need a fairly recent LaTeX distribution

 How recent?

> > - you don't rely on the fact that your coworkers and publishers actually
> > accept unicode-encoded LaTeX files
> > - not all packages work with unicode
> >
> >> What I do not know is whether this encoding should be in the file
> >> itself, in the user's prefs.

 I agree with Jürgen that there should be both system and document encodings.

> > I think there should be a general pref and a document-specific setting.
>
> I think we should change as little as possible. I propose the following
> (slightly different than the existing lyx2lyx conversion):
>
> Old: \inputenc (in the LyX file) determines the encoding of the LyX file
> and the TeX file

  You know that we had bugs. latin-9 is useless for 1.4.x and 1.3.x

> New: \inputenc determines only the encoding of the TeX file, the LyX file
> is always in utf-8. That would mean that we don't change the value of
> \inputenc in the lyx2lyx conversion.

  What is the value of any encoding different from auto (that is dependent on 
the language)? Is it worth to consider?

> We could also have a general pref as default for new documents, but instead
> I would prefer a global template that is used for new documents.
>
> Problems: We might not be able to output a document to the desired LaTeX
> encoding. We should give an error message then.

  We could always use, as Jean-Marc noted, an external tool like recode that 
gives us that for free. Or something along the same lines.

> Did I miss anything?
>
>
> Georg

-- 
José Abílio

Reply via email to