Package: dblatex Version: 0.3-2 As mentioned earlier, I try to use dblatex to format a Norwegian version of the book Free Culture. This document should end up in Norwegian Bokmål, with language code nb. Earlier it used the language code no, but it is shared with Norwegian Nynorsk (language code nn), and thus the nb code is prefered.
I am unable to get dblatex to give me a Norwegian Bokmål version of the chapter and index titles. I've tried these variations so far: <book lang="nb"> <book lang="no"> <book lang="nb_NO"> None of these work when building the book using the xetex backend. Using this kind of work for a simple example, but fail with lots of error messages when I process the complete docbook source: <book lang="nn"> Besides, the nn words are not really usable for a nb translation of the book. What is the correct language code to use with dblatex to get Norwegian Bokmål docbook localization? See <URL: https://github.com/petterreinholdtsen/free-culture-lessig > for the complete book project. The errors I see when using lang="nn" start with these, in case you are interested. :) freeculture.nb.tex:833: Use of \HyPsd@RemoveMask doesn't match its definition. freeculture.nb.tex:833: leading text: \chapter{"Piratvirksomhet"} freeculture.nb.tex:833: Undefined control sequence \HyPsd@End. freeculture.nb.tex:833: leading text: \chapter{"Piratvirksomhet"} freeculture.nb.tex:833: Paragraph ended before \HyPsd@RemoveBraces was complete. freeculture.nb.tex:833: leading text: \chapter{"Piratvirksomhet"} freeculture.nb.tex:833: Extra }, or forgotten \endgroup. freeculture.nb.tex:833: leading text: \chapter{"Piratvirksomhet"} freeculture.nb.tex:833: Argument of \HyPsd@CheckCatcodes has an extra }. freeculture.nb.tex:833: leading text: \chapter{"Piratvirksomhet"} freeculture.nb.tex:833: Paragraph ended before \HyPsd@CheckCatcodes was complete. freeculture.nb.tex:833: leading text: \chapter{"Piratvirksomhet"} freeculture.nb.tex:836: Paragraph ended before \HyPsd@RemoveMask was complete. freeculture.nb.tex:853: Something's wrong--perhaps a missing \item. freeculture.nb.tex:853: leading text: \end{quote} freeculture.nb.tex:896: Something's wrong--perhaps a missing \item. freeculture.nb.tex:896: leading text: \end{quote} freeculture.nb.tex:896: Missing { inserted. freeculture.nb.tex:896: leading text: \end{quote} -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

