Skip to content

Commit

Permalink
Merge pull request #610 from moewew/issue568
Browse files Browse the repository at this point in the history
Guard against undefined localnumber (#568)
  • Loading branch information
plk committed Aug 8, 2017
2 parents 368cec0 + dec212e commit 4bbc78c
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions tex/latex/biblatex/biblatex.sty
Original file line number Diff line number Diff line change
Expand Up @@ -7126,16 +7126,18 @@
% regenerates localnumber requiring another run but then
% the pagebreaks change back again ... etc.
\ifcsundef{blx@defer@\the\c@refsection @\blx@refcontext@context @\abx@field@entrykey}
{\listxadd\blx@localnumaux{%
\string\abx@aux@number%
{\the\c@instcount}%
{\abx@field@entrykey}%
{\the\c@refsection}%
{\blx@refcontext@context}%
{\abx@field@localnumber}}%
% record that we have already generated and output localnum
% for this key in this refsection/refcontext
\csgdef{blx@defer@\the\c@refsection @\blx@refcontext@context @\abx@field@entrykey}{}}
{\ifundef\abx@field@localnumber
{}
{\listxadd\blx@localnumaux{%
\string\abx@aux@number%
{\the\c@instcount}%
{\abx@field@entrykey}%
{\the\c@refsection}%
{\blx@refcontext@context}%
{\abx@field@localnumber}}%
% record that we have already generated and output localnum
% for this key in this refsection/refcontext
\csgdef{blx@defer@\the\c@refsection @\blx@refcontext@context @\abx@field@entrykey}{}}}
{}}
{}}%
{}}
Expand Down

0 comments on commit 4bbc78c

Please sign in to comment.