texlive[43621] Master/texmf-dist: biblatex-opcit-booktitle (27mar17)

commits+karl at tug.org commits+karl at tug.org
Mon Mar 27 23:42:07 CEST 2017


Revision: 43621
          http://tug.org/svn/texlive?view=revision&revision=43621
Author:   karl
Date:     2017-03-27 23:42:07 +0200 (Mon, 27 Mar 2017)
Log Message:
-----------
biblatex-opcit-booktitle (27mar17)

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	2017-03-27 21:41:54 UTC (rev 43620)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex	2017-03-27 21:42:07 UTC (rev 43621)
@@ -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 @@
 \listadd\opcit at 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 at 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 at booktitle@entrytypes at novolume+ list. For example, the \emph{biblatex-bookinother} package contains:
+
+\begin{minted}{latex}
+\listadd\opcit at booktitle@entrytypes at 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 @@
 
 \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}

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	2017-03-27 21:41:54 UTC (rev 43620)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty	2017-03-27 21:42:07 UTC (rev 43621)
@@ -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 at booktitle@entrytypes at novolume{}
 % Declaration of the entry concerned. Some package could have already add their own entry
 \listadd\opcit at booktitle@entrytypes{inbook}
 \listadd\opcit at booktitle@entrytypes{incollection}
@@ -159,8 +160,12 @@
     \usebibmacro{byeditor+others}%
     \newunit%
     \iffieldundef{maintitle}%
-      {\printfield{volume}%
-       \printfield{part}}
+      {\xifinlist{\thefield{entrytype}}{\opcit at booktitle@entrytypes at 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 at booktitle@entrytypes at 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 at booktitle@entrytypes at novolume}%
+       {}%
+       {%
+         \printfield{volume}%
+         \printfield{part}}%
+       }%
       {}%
   }%
   \newunit\newblock



More information about the tex-live-commits mailing list