summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bibleref
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-09-27 21:09:17 +0000
committerKarl Berry <karl@freefriends.org>2016-09-27 21:09:17 +0000
commit3286700d65613e81b020ed472a0ee4d995166fd2 (patch)
treebb71f4936e56f9d0aa71cfceed7f256dde57dff0 /Master/texmf-dist/tex/latex/bibleref
parentcc030901f2a91dccbd6953f51c43943afd2f025b (diff)
bibleref (27sep16)
git-svn-id: svn://tug.org/texlive/trunk@42162 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bibleref')
-rw-r--r--Master/texmf-dist/tex/latex/bibleref/bibleref.sty12
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/bibleref/bibleref.sty b/Master/texmf-dist/tex/latex/bibleref/bibleref.sty
index d0650b859ca..29e41bd6167 100644
--- a/Master/texmf-dist/tex/latex/bibleref/bibleref.sty
+++ b/Master/texmf-dist/tex/latex/bibleref/bibleref.sty
@@ -39,7 +39,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bibleref}[2016/09/10 1.15 (NLCT and MR)]
+\ProvidesPackage{bibleref}[2016/09/27 1.16 (NLCT and MR)]
\RequirePackage{ifthen}
\RequirePackage{fmtcount}
\RequirePackage{amsgen}
@@ -890,8 +890,14 @@ defined}{}}}
\else
\def\@bv@tmp{\@bv@mainidxentry!\@bv@chidxsort @\@bv@idxentry}%
\fi
- \@do@biblerefindex
- {\@@bv@idxsort\relax @\@bv@tmp|\@bv@idxpgformat}%
+ \edef\@bv@tmpc{\@bv@idxpgformat}%\@bv@tmpa and \@bv@tmpb are tokens
+ \ifx\@empty\@bv@tmpc%
+ \@do@biblerefindex%
+ {\@@bv@idxsort\relax @\@bv@tmp}%
+ \else%
+ \@do@biblerefindex%
+ {\@@bv@idxsort\relax @\@bv@tmp|\@bv@idxpgformat}%
+ \fi%
\@bv@idxfalse
\fi
\@bv@restore