diff options
author | Karl Berry <karl@freefriends.org> | 2016-09-12 22:05:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-09-12 22:05:59 +0000 |
commit | bf0276244b309394ef514101adfee31ba31d09b1 (patch) | |
tree | 9d3aedf29f434d01742abf0cd50b6c34b0a663f5 /Master/texmf-dist/tex/latex/bibleref/bibleref.sty | |
parent | d3e311a66f04c196f3d327b98ffbd6de7fd251ca (diff) |
bibleref (11sep16)
git-svn-id: svn://tug.org/texlive/trunk@42049 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bibleref/bibleref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/bibleref/bibleref.sty | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/bibleref/bibleref.sty b/Master/texmf-dist/tex/latex/bibleref/bibleref.sty index 9a60b44749a..d0650b859ca 100644 --- a/Master/texmf-dist/tex/latex/bibleref/bibleref.sty +++ b/Master/texmf-dist/tex/latex/bibleref/bibleref.sty @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-multind.tex, sample-xidx.tex, sample.tex, sample.ist, bibleref.perl. +%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-indextools.tex, sample-xidx.tex, sample.tex, sample.ist. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -39,7 +39,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{bibleref}[2011/01/19 1.14 (NLCT)] +\ProvidesPackage{bibleref}[2016/09/10 1.15 (NLCT and MR)] \RequirePackage{ifthen} \RequirePackage{fmtcount} \RequirePackage{amsgen} @@ -830,8 +830,14 @@ defined}{}}} {\@end@@bibleverse}% } \def\@bibleverse(#1:{% - \@br@chsty{#1}% - \@@bibleverse + \def\@bv@tmp{#1}% + \ifx\@bv@tmp\@empty + \def\@bv@bvmacro{\@@bibleversenosep}% + \else + \@br@chsty{#1}% + \def\@bv@bvmacro{\@@bibleverse}% + \fi + \@bv@bvmacro } \def\@bibleverser-(#1:{% \def\@bv@tmp{#1}% @@ -863,6 +869,19 @@ defined}{}}} {\@end@@bibleverse}% }% } +\def\@@bibleversenosep#1){% + \def\@bv@tmp{#1}% + \ifx\@bv@tmp\@empty + \else + \@br@vrsty{#1}% + \fi + \new@ifnextchar(% + {\@bv@do{\protect\BRchsep}\@bibleverse}% + {\new@ifnextchar-% + {\@bv@do{\protect\BRvrsep}\@bibleverser}% + {\@end@@bibleverse}% + }% +} \newcommand*{\@end@@bibleverse}{% \if@bv@idx \expandafter\@do@bibleref@map\@@bv@idxsort\relax |