texlive[41338] Master/texmf-dist: biblatex-opcit-booktitle (10jun16)
commits+karl at tug.org
commits+karl at tug.org
Fri Jun 10 23:44:31 CEST 2016
Revision: 41338
http://tug.org/svn/texlive?view=revision&revision=41338
Author: karl
Date: 2016-06-10 23:44:30 +0200 (Fri, 10 Jun 2016)
Log Message:
-----------
biblatex-opcit-booktitle (10jun16)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex
trunk/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex 2016-06-10 21:44:18 UTC (rev 41337)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex 2016-06-10 21:44:30 UTC (rev 41338)
@@ -22,8 +22,8 @@
subtitle={Abbreviated references},
email={maieul <at> maieul <dot> net},
author={Maïeul Rouquette},
- revision={1.3.0},
- date={2016/03/27},
+ revision={1.5.0},
+ date={2016/06/09},
url={https://git.framasoft.org/maieul/biblatex-opcit-booktitle}}
% biblatex
@@ -83,7 +83,7 @@
\section{Use}
-The \verb+biblatex-opcit-booktitle+ package must be loaded after the \verb+biblatex+ package. You must use a \verb+verbose-trad+ citation style. For example:
+The \verb+biblatex-opcit-booktitle+ package must be loaded after the \verb+biblatex+ package, which must be at version 3.4 or greater. You must use a \verb+verbose-trad+ citation style. For example:
\begin{minted}{latex}
\usepackage[bibstyle=verbose,citestyle=verbose-trad1,citepages=omit]{biblatex}
@@ -175,6 +175,14 @@
\begin{changelog}
+\begin{release}{1.5.0}{2016-06-09}
+ \item Add error message to know more quickly break compatibility with new releases of biblatex.
+\end{release}
+
+\begin{release}{1.4.0}{2016-06-07}
+ \item Use new tool of biblatex 3.4.
+ \item Require biblatex 3.4.
+\end{release}
\begin{release}{1.3.0}{2016-03-27}
\item Add \emph{op. cit.} also for verbose-trad1.
\item Set the entry type for the \emph{op. cit.} as the entry type of the main entry.
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty 2016-06-10 21:44:18 UTC (rev 41337)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty 2016-06-10 21:44:30 UTC (rev 41338)
@@ -15,7 +15,7 @@
%
% The Current Maintainer of this work is Maïeul Rouquette
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biblatex-opcit-booktitle}[2016/03/27 v1.3.0 Manage op. cit. when using subentry]
+\ProvidesPackage{biblatex-opcit-booktitle}[2016/06/09 v1.5.0 Manage op. cit. when using subentry]
\RequirePackage{xpatch}
\DeclareFieldFormat{bibhypertarget:crossref}{%
@@ -35,20 +35,35 @@
{#2}%
{#1}}
+
+\RequirePackage{ltxcmds}
+\newcommand{\opcit at booktitle@failpatch}[2]{%
+ \PackageError{opcit-booktitle}{Fail to patch `#1` bibmacro (#2)}{}%
+}
+
% verbose-trad-1 and verbose-trad2
-\xpatchbibmacro{cite}%
- {\usebibmacro{cite:full}%
- \usebibmacro{cite:save}}%
- {\usebibmacro{cite:test:ifrelated}}%
- {}%
- {}%
+\ifboolexpr{%
+ test{\ltx at iffileloaded{verbose-trad2.cbx}}%
+ or test{\ltx at iffileloaded{verbose-trad1.cbx}}%
+ }{%
+ \xpatchbibmacro{cite}%
+ {\usebibmacro{cite:full}%
+ \usebibmacro{cite:save}}%
+ {\usebibmacro{cite:test:ifrelated}}%
+ {}%
+ {\opcit at booktitle@failpatch{cite}{verbose-trad1.cbx or verbose-trad2.cbx}}%
+}%
+{}
% verbose-trad3. Not that lines must be applied AFTER the previous one
-\xpatchbibmacro{cite}%
- {\usebibmacro{cite:full}}%
- {\usebibmacro{cite:test:ifrelated:verbose-trad3}}%
- {}%
- {}%
+\ltx at iffileloaded{verbose-trad3.cbx}{%
+ \xpatchbibmacro{cite}%
+ {\usebibmacro{cite:full}}%
+ {\usebibmacro{cite:test:ifrelated:verbose-trad3}}%
+ {}%
+ {\opcit at booktitle@failpatch{cite}{verbose-trad3.cbx}}%
+}{}
+
\newbibmacro*{cite:test:ifrelated}%
{\ifboolexpr {%
test {\iffieldundef{crossref}}%
@@ -185,7 +200,7 @@
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\printnames{labelname}%
- \setunit*{\nametitledelim}%
+ \setunit*{\printdelim{nametitledelim}}%
\usebibmacro{title}%
\newunit
\printlist{language}%
More information about the tex-live-commits
mailing list