summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-03-17 07:35:07 +0900
committerNorbert Preining <norbert@preining.info>2021-03-17 07:35:07 +0900
commit471ceede8874332f594eb9cc818d6d283804b11a (patch)
treeb39140a8592f22b5ce9ca610b8efd43d30d4041c /texmf-dist/tex/latex
parent081e851e8ea1abc1876cc02351ebdefaab2b6a0f (diff)
fetchbibpipes update
Diffstat (limited to 'texmf-dist/tex/latex')
-rw-r--r--texmf-dist/tex/latex/fetchbibpes/fetchbibpes.sty24
1 files changed, 18 insertions, 6 deletions
diff --git a/texmf-dist/tex/latex/fetchbibpes/fetchbibpes.sty b/texmf-dist/tex/latex/fetchbibpes/fetchbibpes.sty
index 684bbab2..1680aa66 100644
--- a/texmf-dist/tex/latex/fetchbibpes/fetchbibpes.sty
+++ b/texmf-dist/tex/latex/fetchbibpes/fetchbibpes.sty
@@ -19,7 +19,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1997/12/01]
\ProvidesPackage{fetchbibpes}
- [2018/07/30 v2.4.9 fetchbibpes: Fetch Bible passages from DEF files (dps)]
+ [2021/03/08 v2.4.10 fetchbibpes: Fetch Bible passages from DEF files (dps)]
\RequirePackage{xkeyval}
\def\csarg#1#2{\expandafter#1\csname#2\endcsname}
\let\fb@Zero=0 \let\fb@One=1 \let\fb@Two=2
@@ -291,9 +291,9 @@
\let\fbp@pformat\@empty
\define@boolkey{fbpes}{caps}[true]{\ifKV@fbpes@caps
\def\fbpes@case{\uppercase}\else
- \let\fbpes@case\relax\fi
+ \let\fbpes@case\@empty\fi
}
-\let\fbpes@case\relax
+\let\fbpes@case\@empty
\define@boolkey{fbpes}{showfirst}[true]{}
\KV@fbpes@showfirstfalse
\define@key{fbpes}{shownone}[]{\let\verseFmt\@gobble}
@@ -463,9 +463,10 @@
\fp@looptoreplace\fi
\r@fbp@enclose
\egroup}%
+ \if@versetxt\else
\ifKV@fbpes@citeatend
\fbp@priorRefSpc{\ifKV@fbpes@nocite\else
- \book@passage\fi}\fi
+ \book@passage\fi}\fi\fi
\egroup
}
\newif\if@versetxt\@versetxtfalse
@@ -610,7 +611,17 @@
\@tempcnta\fb@verseEnd
\else
\ifKV@fbpes@typeset
- \fb@insrtvn\fb@qq(\bib@ver)\fb@qq
+ \if@versetxt
+ \PackageInfo{fetchbibpes}{For \string\fetchversestxt\space
+ with the typeset option:\MessageBreak
+ \bib@ver\space is not defined.
+ Expand \string\passagetxt\MessageBreak
+ to see the error message}%
+ \edef\x{\noexpand\g@addto@macro\noexpand
+ \passagetxt{\fb@insrtvn ??(\bib@ver)??}}\x
+ \else
+ \fb@insrtvn\fb@qq(\bib@ver)\fb@qq
+ \fi
\else
\edef\x{\noexpand\g@addto@macro\noexpand
\passagetxt{\fb@insrtvn ??(\bib@ver)??}}\x
@@ -640,8 +651,9 @@
\iffound@ltstarstop\let\fbpes@alt\@empty\fi
}\ifKV@fbpes@typeset\r@fbp@enclose\fi % dps
\egroup
+ \if@versetxt\else
\ifKV@fbpes@citeatend
- \fbp@priorRefSpc{\book@passage}\fi
+ \fbp@priorRefSpc{\book@passage}\fi\fi
\egroup
}
\newif\iffound@ltstarstop \found@ltstarstopfalse