summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bibleref
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-10 00:00:31 +0000
committerKarl Berry <karl@freefriends.org>2010-07-10 00:00:31 +0000
commitcdb7652d653cc1c8c06315f735d1a70728d2f9b1 (patch)
tree200bce243e84e7f22abec18304a2fcf41c79288e /Master/texmf-dist/tex/latex/bibleref
parenta3553d2be74615ac58c2d0301d63971ca67b2d1c (diff)
bibleref 1.13 (8jul10)
git-svn-id: svn://tug.org/texlive/trunk@19317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bibleref')
-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}%
}%