On Sat, 17 Dec 2011, Riccardo (Jack) Lucchetti wrote:
On Fri, 16 Dec 2011, Allin Cottrell wrote:
> On Fri, 16 Dec 2011, Allin Cottrell wrote:
>
>> My proposed fix is that we always output TeX in UTF-8, regardless of the
>> platform and the system text encoding. This means that when we output
>> "complete" TeX files (with a header) they will include:
>>
>> \usepackage{ucs}
>> \usepackage[utf8x]{inputenc}
>>
>> Does anyone see a problem with this? Or have an alternative solution?
>
> Sorry, that's not quite accurate. The above-mentioned \usepackage
> instructions to LaTeX would NOT be included if
>
> (a) gretl was compiled with the --disable-nls switch or
> (b) gretl is running in English.
>
> But they would be included (and output would be UTF-8 encoded)
> in all other cases, under my proposal.
Two things:
1) I don't see any harm in providing utf8 support even when the language is
English. Doesn't do any harm, does it?
2) Is it really necessary to use the extended utf8x set? This may cause
problems because, IIRC, the package that TeXlive calls ucs is "unicode" in
MikTeX. Can't we just get away with
\uespackage[utf8]{inputenc}
Ah, maybe so. Does that require the ucs package, or is inputenc
self-contained with the plain "utf8" option?
Allin