On 01/07/2016 10:39 PM, Georg Baum wrote:
Guenter Milde wrote:

It is "Tools>Preferences>Language Settings>Language>Set languages
globally" which controls whether the language options are passed as
global options to the document or directly to babel.
Sorry, I was too tired yesterday, and did not recognize the text in my
german UI.

Generally, it is good to have the options globally, so that other packages
can pick this up.

In this document, however, the indexing is confused somehow to use one of
the secondary languages (given before "english").
Yes. It is a bug in nomencl.sty: It does not process global language options
in the same (unintuitive) order as babel. The first language wins for
nomencl.sty. I fear there is not much LyX can do, except looking for a
better alternative for nomencl (it seems to be unmaintained).

Maybe we need a document specific setting for this.
(But see also my other post exploring the issue.)
I think so. In general, any lyxrc setting that changes how documents are
exported to .tex is bad IMHO, since this makes documents depend on the
installation. The lyxrc setting should be replacved by a document specific
setting, and the default for this setting would then be determined by the
template for new documents.


Georg
Good morning,
I follow this with great interest but as a simple user can only report what I observed.
And there is more, may be or may not be related to this very issue:
With 'Mark foreign languages' _*always ON*_ in Tools > Preferences > Language settings, the foreign (secondary languages) sometimes do and sometimes do not show blue underlines apparently depending on the citation style (and/or biblatex?).

For instance I have no blue underlinings with
apa, natbib author-year, jurabib

And I do have blue underlinings with
chicago, oscola

So, 'Mark foreign languages' seems to be overruled by some other more dominant setting. Again all my many documents correctly print 'page' (and NOT 'Seite') with "Set languages globally" deactivated. Furthermore, it does so regardless whether the secondary language(s) is given before the primary language or not.

Cheers,
Michael Berger



Reply via email to