summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-27 21:42:07 +0000
committerKarl Berry <karl@freefriends.org>2017-03-27 21:42:07 +0000
commitd5ed5159ad88fd8409397a5467835268039b8a6a (patch)
tree925e1dd281860fd6a133b77d60bec1c1bfa83208
parent6f45b2761a22e0c67c2fa2872c37e01c5ed3a011 (diff)
biblatex-opcit-booktitle (27mar17)
git-svn-id: svn://tug.org/texlive/trunk@43621 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.pdfbin27720 -> 27720 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.pdfbin76299 -> 76860 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex16
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty27
4 files changed, 33 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.pdf b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.pdf
index 451fd327d80..f2ef312f7c2 100644
--- a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.pdf
+++ b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.pdf b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.pdf
index 75aef2c75f4..d0668943a2d 100644
--- a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.pdf
+++ b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex
index ea0b887546c..52310e91e7b 100644
--- a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex
+++ b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex
@@ -22,8 +22,8 @@
subtitle={Abbreviated references},
email={maieul <at> maieul <dot> net},
author={Maïeul Rouquette},
- revision={1.7.0},
- date={2017/02/08},
+ revision={1.8.0},
+ date={2017/03/27},
url={https://git.framasoft.org/maieul/biblatex-opcit-booktitle}}
% biblatex
@@ -181,12 +181,18 @@ To do it, just add in your \verb+.bbx+ or \verb+.dbx+ file:
\listadd\opcit@booktitle@entrytypes{<newentrytype>}
\end{minted}
-\verb+<newentrytype>+ must be the new sub-entrytype concerned. For example, the \emph{biblatex-bookintother} package contains:
+\verb+<newentrytype>+ must be the new sub-entrytype concerned. For example, the \emph{biblatex-bookinother} package contains:
\begin{minted}{latex}
\listadd\opcit@booktitle@entrytypes{inarticle}
\end{minted}
+In general, you want to have the volume number after the title of the volume. However, for some case, it could be useful to not have it. In this case, add you subtype entry to the \verb+\opcit@booktitle@entrytypes@novolume+ list. For example, the \emph{biblatex-bookinother} package contains:
+
+\begin{minted}{latex}
+\listadd\opcit@booktitle@entrytypes@novolume{inarticle}
+\end{minted}
+
Depending of the fields of the new entry, you could have to modify the \verb+inbook:rel:verbose-trad-xxx+. But in this case, please contact us, in order to know if we could provide a generic mechanism directly in this package.
\section{Credits}
@@ -203,6 +209,10 @@ All issues can be submitted, in French or English, in the Framasoft issues page\
\begin{changelog}
+\begin{release}{1.8.0}{2016-03-27}
+ \item Add support entrytype where you don't need to print volume number.
+\end{release}
+
\begin{release}{1.7.0}{2016-09-08}
\item Add support for the \option{citetracker=context} option of \biblatex.
\end{release}
diff --git a/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty b/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty
index dbf1b6d17ef..04f3b58428a 100644
--- a/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty
+++ b/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty
@@ -15,9 +15,10 @@
%
% The Current Maintainer of this work is Maïeul Rouquette
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biblatex-opcit-booktitle}[2017/02/08 v1.7.0 Manage op. cit. when using subentry]
+\ProvidesPackage{biblatex-opcit-booktitle}[2017/03/27 v1.8.0 Manage op. cit. when using subentry]
\RequirePackage{xpatch}
+\def\opcit@booktitle@entrytypes@novolume{}
% Declaration of the entry concerned. Some package could have already add their own entry
\listadd\opcit@booktitle@entrytypes{inbook}
\listadd\opcit@booktitle@entrytypes{incollection}
@@ -159,8 +160,12 @@
\usebibmacro{byeditor+others}%
\newunit%
\iffieldundef{maintitle}%
- {\printfield{volume}%
- \printfield{part}}
+ {\xifinlist{\thefield{entrytype}}{\opcit@booktitle@entrytypes@novolume}%
+ {}%
+ {%
+ \printfield{volume}%
+ \printfield{part}}%
+ }%
{}%
\newunit%
\restorefield{entrytype}{\bookentrytype}%
@@ -200,8 +205,12 @@
\usebibmacro{byeditor+others}%
\newunit%
\iffieldundef{maintitle}%
- {\printfield{volume}%
- \printfield{part}}
+ {\xifinlist{\thefield{entrytype}}{\opcit@booktitle@entrytypes@novolume}%
+ {}%
+ {%
+ \printfield{volume}%
+ \printfield{part}}%
+ }%
{}%
\newunit%
\restorefield{entrytype}{\bookentrytype}%
@@ -238,8 +247,12 @@
\usebibmacro{byeditor+others}%
\newunit%
\iffieldundef{maintitle}%
- {\printfield{volume}%
- \printfield{part}}
+ {\xifinlist{\thefield{entrytype}}{\opcit@booktitle@entrytypes@novolume}%
+ {}%
+ {%
+ \printfield{volume}%
+ \printfield{part}}%
+ }%
{}%
}%
\newunit\newblock