summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.pdfbin0 -> 11629 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.tex (renamed from Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.pdfbin56931 -> 57823 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.tex8
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.pdfbin11635 -> 0 bytes
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.sty19
6 files changed, 22 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.pdf b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.pdf
new file mode 100644
index 00000000000..6818b8c9618
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.tex b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.tex
index 4f1cf48184a..4f1cf48184a 100644
--- a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.tex
+++ b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit-example.tex
diff --git a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.pdf b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.pdf
index 0ed6dac8096..fec244ae0c0 100644
--- a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.pdf
+++ b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.tex b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.tex
index 882861fc4e4..3dc040a1b7f 100644
--- a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.tex
+++ b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.tex
@@ -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 @@ All issues can be submitted, in French or English, in the GitHub issues page\foo
\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.
diff --git a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.pdf b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.pdf
deleted file mode 100644
index babe3dac866..00000000000
--- a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.sty b/Master/texmf-dist/tex/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.sty
index 3e152b0a3ef..7f61e75d1a0 100644
--- a/Master/texmf-dist/tex/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.sty
+++ b/Master/texmf-dist/tex/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.sty
@@ -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}{}}