Re: language and master and child documents

2009-04-21 Thread Giovanni Bacci

  martedì 21 aprile 2009, 22:17, Jean-Marc Lasgouttes:

> Giovanni Bacci  writes:
> > 
> > - the master document setting should't be applied to the whole
> > document? I mean, master language=it, sot all the doc is IT,
> > ignoring the child docs settings
> 
> The language is a property of the text, not tthe document, so this is
> normal.

  Well, if the language setting is in the document setting, i think
letting the master setting prevale will be a more reasonable meaning.

> > -  if the latter it's wrong, then when a third doc, whit lang=IT
> > it's loaded, the resulting doc should be IT-EN-IT again.
> 
> This seems wrong indeed. Could you provide an example file?

  Attached it's a simple example. It should be "Figura 1" "Figure 2"
and "Figura 3" again.

Thanks,
  Giovanni


LyX_test.tar.gz
Description: GNU Zip compressed data


Re: language and master and child documents

2009-04-21 Thread Jean-Marc Lasgouttes
Giovanni Bacci  writes:
>   Hi all. I've discovered a (maybe) strange behaviour:
> - master document, language=italian
> - child document, language=english
>
>   When i pdflatex the master document, the resulting document follow
> the italian setting til the point where the child document it's
> inserted, then starting with english. And it looks like that, if a
> third child document (with lang=italian) it's included after the
> second one, it still follow the english setting. All this whit lyx
> 1.6.2.
>   So i'm just wondering:
> - the master document setting should't be applied to the whole
> document? I mean, master language=it, sot all the doc is IT, ignoring
> the child docs settings

The language is a property of the text, not tthe document, so this is normal.

> -  if the latter it's wrong, then when a third doc, whit lang=IT it's
> loaded, the resulting doc should be IT-EN-IT again.

This seems wrong indeed. Could you provide an example file?

JMarc


language and master and child documents

2009-04-21 Thread Giovanni Bacci

  Hi all. I've discovered a (maybe) strange behaviour:
- master document, language=italian
- child document, language=english

  When i pdflatex the master document, the resulting document follow
the italian setting til the point where the child document it's
inserted, then starting with english. And it looks like that, if a
third child document (with lang=italian) it's included after the
second one, it still follow the english setting. All this whit lyx
1.6.2.
  So i'm just wondering:
- the master document setting should't be applied to the whole
document? I mean, master language=it, sot all the doc is IT, ignoring
the child docs settings
-  if the latter it's wrong, then when a third doc, whit lang=IT it's
loaded, the resulting doc should be IT-EN-IT again.

Thanks,
  Giovanni

-- 
"By the time they had diminished from 50 to 8, the other dwarves began
to suspect "Hungry."
-- a Larson cartoon