From 798a00f49ea498ec77e2bc560317007b0315dea8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 12 May 2015 22:36:53 +0000 Subject: biblatex-source-division (12may15) git-svn-id: svn://tug.org/texlive/trunk@37358 c570f23f-e606-0410-a88d-b1316a301751 --- .../biblatex-source-division.pdf | Bin 61088 -> 60911 bytes .../biblatex-source-division.tex | 11 ++++++++--- .../biblatex-source-division.sty | 12 ++++++++---- 3 files changed, 16 insertions(+), 7 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.pdf b/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.pdf index 7b7cf097187..d3e86155cea 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.pdf and b/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.pdf differ diff --git a/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.tex b/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.tex index f79530a53f8..26bea3197f5 100644 --- a/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.tex +++ b/Master/texmf-dist/doc/latex/biblatex-source-division/biblatex-source-division.tex @@ -24,8 +24,8 @@ email={maieul maieul net}, author={Maïeul Rouquette}, subtitle={}, - revision={2.2.1}, - date={28/06/2014}, + revision={2.2.2}, + date={12/05/2015}, url={https://github.com/maieul/biblatex-source-division}} % Hyphen \hyphenation{Ma-de-lei-ne} @@ -77,7 +77,7 @@ It must be loaded after the \biblatex package. When citing a reference (with \cmd{cite}, \cmd{footcite} or other citation command), the division of source is added in parenthesis in the \opt{postnote} arg. The syntax of the rest of the \opt{postnote} arg is the normal syntax of \biblatex. -For example, our \file{.bib} for us texts in this documentation introduction is: +For example, our \file{.bib} used for texts in this documentation introduction is: \inputminted{tex}{biblatex-source-division.bib} @@ -96,6 +96,11 @@ The division of source is put on the \bibfield{titleaddon} field. So you can sty \section{Revision History} \begin{changelog} + +\begin{release}{2.2.2}{2015-05-12} +\item Fix spurious field separator when source division is used without page number. +\end{release} + \begin{release}{2.2.1}{2014-06-28} \item Add the source division after the short form of a work, when entry has \bibfield{maintitle} field. \end{release} diff --git a/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty b/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty index 178daee67cb..ad8b728c4c1 100644 --- a/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty +++ b/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty @@ -15,7 +15,7 @@ % This work consists of the file biblatex-source-division.sty \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biblatex-source-division}[2014/06/28 v2.2.1 source division for biblatex] +\ProvidesPackage{biblatex-source-division}[2015/05/12 v2.2.2 source division for biblatex] \RequirePackage{xpatch} % Test if the package biblatex-true-citepages-omit is loaded @@ -36,7 +36,9 @@ \global\undef\volpostnote% \usefield{\getsourcedivision@}{postnote}% \iffieldundef{maintitle}{\restorefield{titleaddon}{\titleaddon}}{\restorefield{maintitleaddon}{\titleaddon}}% - \restorefield{postnote}{\postnote}% + \ifdefempty{\postnote}% + {\clearfield{postnote}}% + {\restorefield{postnote}{\postnote}}% }% } @@ -58,7 +60,7 @@ \gdef\postnote{{\volvol}{#2}}% }{% \iftoggle{volcite}{% - \volgetsourcedivision@#2% + \volgetsourcedivision@#2% }% {% \gdef\titleaddon{#1}% @@ -69,7 +71,9 @@ \newrobustcmd*{\volgetsourcedivision@}[2]{% \gdef\volpostnote{#2}% \gdef\volvol{#1}% - \restorefield{volpostnote}{\volpostnote}% + \ifdefempty{volpostnote}% + {\clearfield{volpostnote}}% + {\restorefield{volpostnote}{\volpostnote}}% \usefield{\getsourcedivision@}{volpostnote}% } -- cgit v1.2.3