I'm tring to use Biber and Glossaries also with different languages in a document. Actually, everything is working well, but it outputs some errors which are more warnings because the correct PDF is also produced. Nevertheless, the errors are irritating me in my development environment Eclipse with Texlipse Plugin.
Here is my MWE:
\documentclass[12pt]{article}
\usepackage{filecontents}
\begin{filecontents*}{superBib.bib}
@book{bohm_sys,
title = {System-Entwicklung in der Wirtschaftsinformatik},
isbn = {978-3-7281-2762-4},
pagetotal = {702},
publisher = {vdf Hochschulverlag {AG}},
author = {Böhm, Rolf},
date = {2002},
langid = {german},
keywords = {Systemdenken}
}
@online{james_scrum_2012,
title = {Scrum Reference Card},
url = {http://scrumreferencecard.com/ScrumReferenceCard.pdf},
titleaddon = {Scrum Reference Card},
type = {Knowledge},
author = {James, Michael},
date = {2012},
keywords = {{SCRUM}}
}
\end{filecontents*}
%% BIBER BibLatex
\usepackage[backend=biber,style=numeric,sorting=ynt, natbib=true]{biblatex}%
\addbibresource{superBib.bib}
\usepackage[ngerman,polish,english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[babel,german=quotes]{csquotes}
\usepackage[T1]{fontenc} %
\usepackage[colorlinks]{hyperref}
\usepackage[acronym,toc,nonumberlist,section]{glossaries}
\makeglossaries
\begin{document}
\selectlanguage{english}
%% Set some Acronyms and Glossary Entries
\newacronym{acr:ram}{RAM}{Random-access memory}
\newacronym{acr:csv}{CSV}{Comma-separated values}
\newglossaryentry{glo:btrat}{name={bitrate},description={It effects the file-size and quality of a video}}
\newglossaryentry{glo:dynamicweb}{name={dynamic website},description={server generated code}}
\newglossaryentry{glo:staticweb}{name={static website},description={hard coded content, server just delivers the document}}
%% Print Acronym and Glossary
\printglossary[type=\acronymtype,style=list, title=List of Abbreviations, toctitle=List of Abbreviations]
\glsaddall[types=main] %added all defined Glossentries
\printglossary[type=main,style=altlist, title=Glossary, toctitle=Glossary]
\printbibliography[heading=bibintoc,title={Bibliography}]
\section{Cites}
Hello \citet{james_scrum_2012} and another \parencite{bohm_sys}
\section{Acr and Glo}
% Here we use \gls{acr:ram} and followed by a GlossaryEntry: \gls{glo:btrat}
\selectlanguage{ngerman}
Hallo Welt
\end{document}
Some Error Message:
! Missing \endcsname inserted.
<to be read again>
\bbl@loaded
l.47 \begin{document}
! Extra \endcsname.
\cslet ...>\expandafter \let \csname #1\endcsname
#2
l.47 \begin{document}
! Extra \endcsname.
\blx@maplang ...d \csname abx@extras@#2\endcsname
\expandafter \noexpand \cs...
l.47 \begin{document}
! Extra \endcsname.
\blx@maplang ... \csname abx@strings@#2\endcsname
}\csxappto {noextras#1}{\n...
l.47 \begin{document}
("C:\Program Files\MiKTeX 2.9\tex\latex\tools\.tex" File ignored)
! Missing \endcsname inserted.
<to be read again>
\bbl@loaded
l.47 \begin{document}
If you uncomment everything that belongs to glossaries one warning remain
! Undefined control sequence.
<argument> ...docsvlist \expandafter {\bbl@loaded
}\ifboolexpr { not test {\...
l.47 \begin{document}
Is it possible that the Babel package is the culprit?
I'm using a small batch file to produce the output - the general steps are:
pdflatex
makeindex -q -s *.ist -t *.alg -o *.acr *.acn
makeindex -q -s *.ist -t *.glg -o *.gls *.glo
biber
pdflatex
pdflatex
Edit: Solution is to update
The babel version was to old - after using the MikTeX Update Manager and not the Package Manager everything is fine now!
biblatexandbiberversions match? See Table 1 in the Biber manual for the compatibility matrix if you are unsure. – jon Feb 11 '16 at 02:30biblatex v3.2andbiber v2.3so that matches from the compatibility matrix.glossaries.sty 2015/03/16 v4.15 (NLCT)andbabel.sty 2008/07/08 v3.8m The Babel packagebblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configurationand to complete this comment:MiKTeX-pdfTeX 2.9.4902 (1.40.14) (MiKTeX 2.9 64-bit)– tomcatkonsti Feb 11 '16 at 07:56babelversion is too old for your modern version ofbiblatexand Biber. The command\bbl@loadedis quite recent and tellsbiblatexwhich languages were used. Update MikTeX in both User and Admin mode, see How should one maintain and update a MiKTeX installation?. – moewe Feb 11 '16 at 08:44{\"u}{\"o}and{\"a}. This led to a few errors in my case earlier. A nice combination btw isbiblatexwithbiberfor your literature andacrofor your acronyms. – Eric Feb 11 '16 at 08:48