[tex-live] Babel: You can't use `spacefactor' in vertical mode. (Maybe related to glossaries package.)

Denis Bitouzé dbitouze at wanadoo.fr
Tue May 21 20:17:07 CEST 2013


Le mardi 21/05/13 à 15h35,
Dr Nicola L C Talbot <n.talbot at uea.ac.uk> a écrit :

> The \findrootlanguage code was designed to parse babel.sty to detect
> the root language (rather than the dialect) that is currently in use.
> This is so that makeglossaries can pass the correct language setting
> to xindy, as xindy doesn't recognise dialects. The babel.sty code
> used to be easy to parse, but the recent babel update means the 
> \findrootlanguage code no longer works.

OK.

> To remove the error message, you can just do:
> 
> \def\findrootlanguage{%
>    \def\rootlanguagename{\languagename}%
> }

That works like a charm...
 
> or, if you're using a dialect and want to use makeglossaries, you can 
> explicitly set the root language name:
> 
> \def\findrootlanguage{%
>    \def\rootlanguagename{english}%
> }

OK.

> I'll fix glossaries so that it just uses \languagename, and I'll add
> a dialect mapping to makeglossaries.

Thanks!

Regards.
-- 
Denis



More information about the tex-live mailing list