On 09/10/2015 09:03 AM, Jürgen Spitzmüller wrote:
2015-09-09 21:10 GMT+02:00 Michael Berger:

    Dear Friends of LyX,
    I have a well compiling LyX document using biblatex.
    In the preamble I have the following entry:
    *\usepackage**[**st**y**le**=**alphabetic,natbib
    =true,backref=true,backend**=**biber,babel=hyphen]**{**biblatex}*
    and in the LyX document see screen shot.
    Because I want to switch to the apa style I studied the biblatex
    reference manual, the wikilyx and other references I got hold of
    and then changed style=alphabetic to style=apawhile everything
    else seemingly was correct.
    Errors:
    Undefined control sequence (5 times)
    Description:
    \printbibliography[heading=bibintoc]
    After removing the option[bibintoc] I got again 'Undefined control
    sequence' 5 times, but without above description.

    What could be wrong here?


Insert

\DeclareLanguageMapping{english}{english-apa}
\DeclareLanguageMapping{german}{german-apa}

etc. for any involved language after loading biblatex.

See the biblatex-apa manual for an exlantion why language mapping is needed here.

HTH
Jürgen
Hallo Jürgen,
it did not work with \DeclareLanguageMapping{english}{english-apa} (same error as before!)
Would be nice to know why!?
However, it did eventually work with \DeclareLanguageMapping{american}{american-apa} and after I changed 'English' to 'English (USA)' in Documents > Settings > Language.

Jürgen,
once more I have to thank you very much for your precise and prompt help!
Cheers!
Michael

Reply via email to