Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| >>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| 
| Lars> 3. means to extract the needed informatin from the babel
| Lars> .ldf files. This not be too hard and using the substring and the
| Lars> regex class form the old 1.1.x series should help a lot.
| 
| It would not be too difficult to write a LaTeX script which inputs
| .ldf files and spits out datafiles for LyX. We could either do it just
| once and distribute the datafiles or do it at configure time (is that
| useful?). 

We have three options on when to extract language strings from the
.ldf files:
1. static (we extract and distribute with lyx)
2. at configure time.
3. live from a running LyX.

These are no listed in my reverse prefered order.
If we could have a nice automatic-interface to 3. that would imho be
nicest, 2. is also almost equally nice and 1. should not be considered
at all.

| The real problem I see is accents: in portugues.ldf, we have
|  \def\refname{Refer\^encias}

Does \^ have special meaning in portugues? Or is it the regular accent
that insetlatexaccent is able to handle?

| What shall we do about that? The first idea is to translate to latin1
| (with recode, for example). However, for some languages, latin2 (or
| another one) would be a better choice.

I think we can solve this. AFAIK 8bit chars are not used in .ldf files
only (La)TeX accent commands, and we can handle those. 

| So maybe creating the data files once in a semi automatic way will be
| the best choice...

Fully automatic please...

        Lgb

Reply via email to