summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bibleref/bibleref.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bibleref/bibleref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/bibleref/bibleref.sty19
1 files changed, 12 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/bibleref/bibleref.sty b/Master/texmf-dist/tex/latex/bibleref/bibleref.sty
index c09911c7c6e..725444ad9ea 100644
--- a/Master/texmf-dist/tex/latex/bibleref/bibleref.sty
+++ b/Master/texmf-dist/tex/latex/bibleref/bibleref.sty
@@ -39,9 +39,10 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bibleref}[2010/05/11 1.12 (NLCT)]
+\ProvidesPackage{bibleref}[2010/07/07 1.13 (NLCT)]
\RequirePackage{ifthen}
\RequirePackage{fmtcount}
+\RequirePackage{amsgen}
\newcommand*{\BRbooknumberstyle}[1]{#1 }
\newcommand*{\BRepistlenumberstyle}[1]{#1 }
\newcommand*{\BRbookof}{}
@@ -418,7 +419,7 @@
\renewcommand*{\BRepistletothe}{}%
\renewcommand*{\BRepistleto}{}%
\renewcommand*{\BRepistleof}{}%
-\renewcommand*{\BRbkchsep}{ }
+\renewcommand*{\BRbkchsep}{ }%
\renewcommand*{\BRchvsep}{:}%
\renewcommand*{\BRchsep}{;}%
\renewcommand*{\BRvrsep}{--}%
@@ -628,8 +629,12 @@ defined}{}}}
}%
}
\newcommand*{\biblerefstyle}[1]{%
-\@ifundefined{brs@#1}{\PackageError{bibleref}{%
-Unknown biblerefstyle '#1'}{}}{\csname brs@#1\endcsname}}
+ \@ifundefined{brs@#1}%
+ {%
+ \PackageError{bibleref}{Unknown biblerefstyle '#1'}{}%
+ }%
+ {\csname brs@#1\endcsname}%
+}
\newcommand*{\@br@vrsty}[1]{\@@br@vrsty#1-\@nil\end}
\def\@@br@vrsty#1-#2\end{%
\@do@verses#1,\relax\end
@@ -741,7 +746,7 @@ Unknown biblerefstyle '#1'}{}}{\csname brs@#1\endcsname}}
\def\@bv@mainidxentry{\BRbooktitlestyle{\csname bri@#1\endcsname}}%
}%
}%
- \@ifnextchar(%
+ \new@ifnextchar(%
{\BRbkchsep\@bibleverse}%
{\@end@@bibleverse}%
}
@@ -785,9 +790,9 @@ Unknown biblerefstyle '#1'}{}}{\csname brs@#1\endcsname}}
\else
\@bv@do{\BRchvsep}\@br@vrsty{#1}%
\fi
- \@ifnextchar(%
+ \new@ifnextchar(%
{\@bv@do{\BRchsep}\@bibleverse}%
- {\@ifnextchar-%
+ {\new@ifnextchar-%
{\@bv@do{\BRvrsep}\@bibleverser}%
{\@end@@bibleverse}%
}%