On 9/3/13 4:57 PM, Hugo Hinterberger wrote: > On Tue, 03 Sep 2013 15:25:57 +0200, Michael Bach <pha...@gmail.com> wrote: > >> On 9/2/13 9:59 PM, Richard Heck wrote: >>> On 09/02/2013 01:19 PM, Michael Bach wrote: >>>> Dear LyX Users and Developers, >>>> >>>> I am using LyX 2.0.5.1 on OSX 10.8. >>>> >>>> I am working on a document that has Document > Settings > Language set >>>> to `German' and the custom class option `german' as well. >>>> >>>> The LyX GUI is English as is the OS language setting. >>>> >>>> As indicated in the subject, formatted cross-references are set in >>>> English instead of German. I read up on the web regarding i18n issues >>>> and made sure that LyX uses the refstyle package for cross-referencing >>>> (Document > Settings > Document Class). >>>> >>>> FWIW, nomenclatures commands, e.g. \nomrefeq, are set in German. >>>> >>>> Could you give me a hint on where to look next for a solution? >>> >>> I guess I'd start by looking at the generated LaTeX, and see if >>> something is wrong there. >>> >> >> The generated LaTeX shows a \subref{} command. I read up on the >> `subref' package, and am confused as this should be used to reference >> labels in nested reference hierarchies (?). But then I did not find the >> \subref command in there... >> >> This command did not cross my way until now and I can only find it in >> context with figure captions when searching for it. >> >> Michael > > Hi, > > As far as I can remember there are multiple issues with refstyle: > 1) Command name clash/override with the subfig package when using "sub:" > as label prefix for subsections. > 2) References to headings below sections are not configured in the > refstyle.cfg file (TeX Live). > > I attached my refstyle.cfg which handles German references to > subsections with the "ssec:" prefix. > The file should be located at "texmf/tex/latex/refstyle/". > > Maybe this helps. >
Indeed, this helps. Thanks very much for sharing! Michael