texlive[45379] Master/texmf-dist: biblatex-source-division (22sep17)
commits+karl at tug.org
commits+karl at tug.org
Sat Sep 23 00:53:47 CEST 2017
Revision: 45379
http://tug.org/svn/texlive?view=revision&revision=45379
Author: karl
Date: 2017-09-23 00:53:46 +0200 (Sat, 23 Sep 2017)
Log Message:
-----------
biblatex-source-division (22sep17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.tex
trunk/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.tex 2017-09-22 22:53:33 UTC (rev 45378)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.tex 2017-09-22 22:53:46 UTC (rev 45379)
@@ -24,8 +24,8 @@
email={maieul <at> maieul <dot> net},
author={Maïeul Rouquette},
subtitle={},
- revision={2.4.1},
- date={09/07/2016},
+ revision={2.4.2},
+ date={21/09/2017},
url={https://github.com/maieul/biblatex-source-division}}
% Hyphen
\hyphenation{Ma-de-lei-ne}
@@ -98,7 +98,7 @@
The division of source is put on the \bibfield{titleaddon} field.
However, if a \bibfield{maintitle} field is used and if the \verb+after+ option is not set to \verb+title+, the division source is put on the \bibfield{maintitleaddon} field.
-So you can stylize it with all the tools of biblatex.
+So you can stylise it with all the tools of biblatex.
@@ -105,6 +105,10 @@
\section{Revision History}
\begin{changelog}
+\begin{release}{2.4.2}{2017-09-21}
+ \item Fix bug with \biblatex option \option{ibidpage} when there is not any source division.
+ \item Fix potential conflicts with other package.
+\end{release}
\begin{release}{2.4.1}{2016-06-07}
\item Fix bug when using \cs{volcite} command and related.
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty 2017-09-22 22:53:33 UTC (rev 45378)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty 2017-09-22 22:53:46 UTC (rev 45379)
@@ -15,7 +15,7 @@
% This work consists of the file biblatex-source-division.sty
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biblatex-source-division}[2016/07/09 v2.4.1 source division for biblatex]
+\ProvidesPackage{biblatex-source-division}[2017/09/21 v2.4.2 source division for biblatex]
\RequirePackage{xpatch}
% The options
@@ -41,14 +41,18 @@
% Get source division, put in in titladdon field, and delete source division from the postnote field
\newbibmacro{getsourcedivision}{%
\iffieldundef{postnote}{}{%
- \global\undef\volpostnote%
+ \global\undef\blxsd at volpostnote%
\usefield{\getsourcedivision@}{postnote}%
- \ifboolexpr{test {\iffieldundef{maintitle}} or test{\ifdefstring{\biblatexsourcedivision at after}{title}}}%
- {\restorefield{titleaddon}{\titleaddon}}
- {\restorefield{maintitleaddon}{\titleaddon}}%
- \ifdefempty{\postnote}%
+ \ifdefempty{\blxsd at titleaddon}%
+ {}%
+ {%
+ \ifboolexpr{test {\iffieldundef{maintitle}} or test{\ifdefstring{\biblatexsourcedivision at after}{title}}}%
+ {\restorefield{titleaddon}{\blxsd at titleaddon}}
+ {\restorefield{maintitleaddon}{\blxsd at titleaddon}}%
+ }%
+ \ifdefempty{\blxsd at postnote}%
{\clearfield{postnote}}%
- {\restorefield{postnote}{\postnote}}%
+ {\restorefield{postnote}{\blxsd at postnote}}%
}%
}
@@ -65,25 +69,25 @@
%% Put the source division and "true" postnote in macro
\def\getsourcedivision at ii(#1)#2++{%
- \ifdefmacro{\volpostnote}{%
- \gdef\titleaddon{#1}%
- \gdef\postnote{{\volvol}{#2}}%
+ \ifdefmacro{\blxsd at volpostnote}{%
+ \gdef\blxsd at titleaddon{#1}%
+ \gdef\blxsd at postnote{{\volvol}{#2}}%
}{%
\iftoggle{volcite}{%
\volgetsourcedivision@#2%
}%
{%
- \gdef\titleaddon{#1}%
- \gdef\postnote{#2}%
+ \gdef\blxsd at titleaddon{#1}%
+ \gdef\blxsd at postnote{#2}%
}%
}%
}
\newrobustcmd*{\volgetsourcedivision@}[2]{%
- \gdef\volpostnote{#2}%
+ \gdef\blxsd at volpostnote{#2}%
\gdef\volvol{#1}%
- \ifdefempty{\volpostnote}%
+ \ifdefempty{\blxsd at volpostnote}%
{\clearfield{volpostnote}}%
- {\restorefield{volpostnote}{\volpostnote}}%
+ {\restorefield{volpostnote}{\blxsd at volpostnote}}%
\usefield{\getsourcedivision@}{volpostnote}%
}
More information about the tex-live-commits
mailing list