Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I know that biblatex doesn't currently support polyglossia. I am the one trying to add support for this to biblatex ...

I am looking for an opinion on this following strangeness which I am trying to understand as part of this endeavour. Take this MWE:

\begin{filecontents}{\jobname.bib}
@Article{test,
  hyphenation = {german},
  author = {Zakery Zokon},
  title = {In Honore Salvatoris~"=Vom Sinn und Unsinn der Patrozinienkunde},
  journaltitle = {Revue d'Histoire Eccl{\'e}siastique},
  volume = {97},
  year = {2002},
  pages = {431--456, 791--823},
}
\end{filecontents}
\documentclass{article} 
\usepackage{csquotes} 
\usepackage{fontspec} 
\usepackage[babelshorthands]{polyglossia} 
\setdefaultlanguage{english} 
\setotherlanguages{german} 
\usepackage[language=auto,babel=other,style=authoryear]{biblatex}
\addbibresource{\jobname.bib} 
\begin{document} 
\noindent 
\cite{test} 
\printbibliography 
\end{document}

In the log, I see:

(\end occurred when \ifx on line 31 was incomplete)

This is suspicious but I can't see what line 31 it's referring to and would appreciate any pointers. I am trying to find out if there is some bug in polyglossia which is causing problems.

share|improve this question

closed as off-topic by egreg, Audrey, Heiko Oberdiek, mafp, Werner Jun 28 '13 at 22:11

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

    
I doubt this has anything to do with biblatex; the error occurs when you just load polyglossia with babel shorthands and German. –  Audrey Jun 28 '13 at 20:38
1  
The line number refers imho to gloss-german.ldf and to a bug in polyglossia which has been already reported. –  Ulrike Fischer Jun 28 '13 at 20:48
    
@UlrikeFischer Can you point to this bug report. I can't see any problems around line 31 of gloss-german.ldf. The \ifx starting on line 31 of babelsh.def has a missing \fi. When I add that the error resolves. –  Audrey Jun 28 '13 at 20:57
    
It's a missing \fi in the babelsh.def file. Line 31 starts with \ifx\PackageError\@undefined and this \ifx has no matching \fi; just add it after line 65. See github.com/reutenauer/polyglossia/issues/50 –  egreg Jun 28 '13 at 20:58
5  
This question appears to be off-topic because it is about a bug that's already fixed in the main repository. –  egreg Jun 28 '13 at 21:23

Browse other questions tagged or ask your own question.