texlive[42120] Master/texmf-dist: biblatex-true-citepages-omit

commits+karl at tug.org commits+karl at tug.org
Wed Sep 21 22:54:56 CEST 2016


Revision: 42120
          http://tug.org/svn/texlive?view=revision&revision=42120
Author:   karl
Date:     2016-09-21 22:54:56 +0200 (Wed, 21 Sep 2016)
Log Message:
-----------
biblatex-true-citepages-omit (21sep16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.tex
    trunk/Master/texmf-dist/tex/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.tex

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.tex

Added: trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.pdf	2016-09-21 20:54:40 UTC (rev 42119)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.pdf	2016-09-21 20:54:56 UTC (rev 42120)

Property changes on: trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.tex	2016-09-21 20:54:56 UTC (rev 42120)
@@ -0,0 +1,16 @@
+\documentclass{article}
+\usepackage{fontspec}
+\usepackage[citestyle=verbose-trad2,citepages=omit]{biblatex}
+\usepackage{biblatex-source-division}
+\usepackage{biblatex-true-citepages-omit}
+\bibliography{example.bib}
+\begin{document}
+
+
+
+\cite[\pno~125, sur ce point...]{Kaestli1993}
+
+
+\cite[(1)\pno~795, sur ce point...]{Pleiade_Bar}
+
+\end{document}


Property changes on: trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.tex	2016-09-21 20:54:40 UTC (rev 42119)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.tex	2016-09-21 20:54:56 UTC (rev 42120)
@@ -26,8 +26,8 @@
 	email={maieul <at> maieul <dot> net},
 	author={Maïeul Rouquette},
 	title={The biblatex-true-citepages-omit package},
-	revision={1.0.2a},
-	date={12/01/2015},
+	revision={1.3.0},
+	date={21/09/2016},
 	url={https://github.com/maieul/biblatex-true-citepages-omit}}
 % Hyphen
 \hyphenation{Ma-de-lei-ne}
@@ -115,6 +115,10 @@
 \begin{changelog}
 
 
+\begin{release}{1.3.0}{2015-09-21}
+ \item As in the standard citepages=omit, also clear the \bibfield{pagetotal} field.
+\end{release}
+
 \begin{release}{1.2.0}{2014-08-16}
 \item No more \cs{realcitepagesomitcmd} command.
 \item Internal macros with more consistent name.

Deleted: trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.pdf
===================================================================
(Binary files differ)

Deleted: trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.tex	2016-09-21 20:54:40 UTC (rev 42119)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.tex	2016-09-21 20:54:56 UTC (rev 42120)
@@ -1,16 +0,0 @@
-\documentclass{article}
-\usepackage{fontspec}
-\usepackage[citestyle=verbose-trad2,citepages=omit]{biblatex}
-\usepackage{biblatex-source-division}
-\usepackage{biblatex-true-citepages-omit}
-\bibliography{example.bib}
-\begin{document}
-
-
-
-\cite[\pno~125, sur ce point...]{Kaestli1993}
-
-
-\cite[(1)\pno~795, sur ce point...]{Pleiade_Bar}
-
-\end{document}

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.sty	2016-09-21 20:54:40 UTC (rev 42119)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.sty	2016-09-21 20:54:56 UTC (rev 42120)
@@ -15,7 +15,7 @@
 % This work consists of the file biblatex-real-citepages-omit.sty
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biblatex-true-citepages-omit}[2015/12/01 v1.2.0a real run of citepages=omit for biblatex]
+\ProvidesPackage{biblatex-true-citepages-omit}[2016/09/21 v1.3.0 real run of citepages=omit for biblatex]%
 \RequirePackage{xstring}
 
 \AtEveryCitekey{%
@@ -24,11 +24,24 @@
 
 \newbibmacro{true-citepages-omit}{%
 	\iffieldundef{postnote}{}{%
-		\IfBeginWith{\noexpand\csfield{postnote}}{\pno}{\clearfield{pages}}{%
-		\IfBeginWith{\noexpand\csfield{postnote}}{\ppno}{\clearfield{pages}}{}}%
+		\IfBeginWith{\noexpand\csfield{postnote}}{\pno}%
+		  {%
+		  \usebibmacro{true-citepages-omit:clear}%
+		  }{%
+		  \IfBeginWith{\noexpand\csfield{postnote}}{\ppno}%
+		    {%
+		    \usebibmacro{true-citepages-omit:clear}%
+		    }%
+		    {%
+		    }%
+		  }%
 	}%
 }%
 
+\newbibmacro{true-citepages-omit:clear}{%
+ \clearfield{pages}%
+ \clearfield{pagetotal}%
+}%
 
 %%% Kept for backward compatibility. No more needed.
 \newcommand{\realcitepagesomitcmd}[1]{\ifcsdef{#1}{\expandafter\robustify\csname#1\endcsname}{}}



More information about the tex-live-commits mailing list