reutenauer / polyglossia

An alternative to Babel for XeLaTeX and LuaLaTeX
http://www.ctan.org/pkg/polyglossia
MIT License
187 stars 52 forks source link

serbian bug with lualatex #553

Closed bastien-roucaries closed 1 year ago

bastien-roucaries commented 1 year ago

Using

\documentclass{article}

\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguages{serbian}

\usepackage{filecontents}

\begin{filecontents*}{min.bib}
@InProceedings{paper,
  author =   {F},
  title =    {W},
  volume =   1,
  number =   {I.14},
  language =     {langenglish},
  langid =   {english},
  crossref =     {conf},
}

@MVProceedings{conf,
  title =    {A},
  publisher =    "{The \mbox{U.S.}}",
  location =     "D",
  organization = "{The \mbox{U.S.}}",
  eventtitle =   {S},
  eventdate =    {1993-02-08/1993-02-12},
  venue =    {X},
  date =     "1993",
}
\end{filecontents*}

\usepackage{csquotes}
\usepackage[backend=biber,
            autolang=hyphen,
            language=autobib,
            sorting=none,
            sortcites=true,
            backref=true,
            citestyle=ext-numeric-comp,
            dateuncertain=true,
            datecirca=true,
            %minxrefs=2,
            mincrossrefs=2,
            dateusetime=true,
            %style=ext-verbose,
            subentry,
            sortcites=true,
            sortsets=true,
            citetracker,
            labelnumber=true]{biblatex}

\addbibresource{min.bib}

\begin{document}

HI \cite{paper}
\printbibliography
\end{document}

I get the following bug:

arning  (node filter): error: .../share/texlive/texmf-dist/tex/luatex/luavlna/
luavlna.lua:312: attempt to index a nil value (local 'nextn')

.
<argument> ...ype:D \tex_hskip:D \c_zero_dim \fi: \tex_par:D 
                                                  \hook_use:n {para/after}\@...
jspitz commented 1 year ago

Please report this bug at https://github.com/michal-h21/luavlna/issues/

This is also reproducible without polyglossia:

% !TeX TS-program = lualatex
\documentclass{article}

\usepackage{luavlna}

\begin{filecontents*}{min.bib}
    @InProceedings{paper,
        author =     {F},
        title =  {W},
        volume =     1,
        number =     {I.14},
        language =   {langenglish},
        langid =     {english},
        crossref =   {conf},
    }

    @MVProceedings{conf,
        title =  {A},
        publisher =  "{The \mbox{U.S.}}",
        location =     "D",
        organization = "{The \mbox{U.S.}}",
        eventtitle =     {S},
        eventdate =  {1993-02-08/1993-02-12},
        venue =  {X},
        date =   "1993",
    }
\end{filecontents*}

\usepackage{csquotes}
\usepackage[backend=biber,
autolang=hyphen,
language=autobib,
sorting=none,
sortcites=true,
backref=true,
citestyle=ext-numeric-comp,
dateuncertain=true,
datecirca=true,
%minxrefs=2,
mincrossrefs=2,
dateusetime=true,
%style=ext-verbose,
subentry,
sortcites=true,
sortsets=true,
citetracker,
labelnumber=true]{biblatex}

\addbibresource{min.bib}

\begin{document}

    HI \cite{paper}
    \printbibliography
\end{document}