From e03c7baf16a4a5d8dadcf762acbfca05fa82649d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 18 Sep 2014 22:57:34 +0000 Subject: biblatex-true-citepages-omit (16sep14) git-svn-id: svn://tug.org/texlive/trunk@35197 c570f23f-e606-0410-a88d-b1316a301751 --- .../biblatex-true-citepages-omit.pdf | Bin 58549 -> 56468 bytes .../biblatex-true-citepages-omit.tex | 13 ++++++------ .../latex/biblatex-true-citepages-omit/example.bib | 23 +++++++++++++++++++++ .../latex/biblatex-true-citepages-omit/example.pdf | Bin 0 -> 11633 bytes .../latex/biblatex-true-citepages-omit/example.tex | 16 ++++++++++++++ .../latex/biblatex-true-citepages-omit/exemple.bib | 23 --------------------- .../latex/biblatex-true-citepages-omit/exemple.pdf | Bin 11630 -> 0 bytes .../latex/biblatex-true-citepages-omit/exemple.tex | 16 -------------- .../biblatex-true-citepages-omit.sty | 12 +++++------ 9 files changed, 51 insertions(+), 52 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.bib create mode 100644 Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.pdf create mode 100644 Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.tex delete mode 100644 Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.bib delete mode 100644 Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.pdf delete mode 100644 Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.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 a5a505d0b3c..88c039292b7 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.pdf and b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/biblatex-true-citepages-omit.pdf 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 57a447aab0e..bf80cd8a1be 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 @@ -96,13 +96,6 @@ So, if you simply load the \emph{biblatex-true-citepages-omit} footcite package \begin{quotation} \cite[\pno~112, on this point etc.]{Kaestli1993} \end{quotation} -\subsection{Declare commands to be used in \prm{postnote} argument} - -If you use some commands in the \prm{postnote} arguments, it could kill \LaTeX. To prevent that, use the \cmd{realcitepagesomit}, which the name of the command as argument. For example, the \emph{polyglossia} switching commands are problematic. So you can do: -\begin{minted}{tex} -\realcitepagesomitcmd{textlatin} -\realcitepagesomitcmd{textgreek} -\end{minted} \subsection{Limitations} \begin{itemize} @@ -121,6 +114,12 @@ All issues can be submitted, in French or English, in the GitHub issues page\foo \section{Revision History} \begin{changelog} + +\begin{release}{1.2.0}{2014-08-16} +\item No more \cs{realcitepagesomitcmd} command. +\item Internal macros with more consistent name. +\end{release} + \begin{release}{1.1.1}{2014-06-17} \item Compatibility with the \cs{xspace} of xspace package. \end{release} diff --git a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.bib b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.bib new file mode 100644 index 00000000000..8e0db00395d --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.bib @@ -0,0 +1,23 @@ +@book{Pleiade2, + Address = {Paris}, + Publisher = {Gallimard}, + Series = {Bibliothèque de la Pléiade}, + Title = {Écrits apocryphes chrétiens}, + Volume = {2}, + Year = {2005}} + +@bookinbook{Pleiade_Bar, + Annotator = {Dominique Alibert and Gisèle Besson and Michèle Brossard-Dandré and Simon Mimouni}, + Crossref = {Pleiade2}, + Pages = {795-808}, + Title = {Passion de Barthélémy}, + Translator = {Dominique Alibert and Gisèle Besson and Michèle Brossard-Dandré and Simon Mimouni}} + +@article{Kaestli1993, + Author = {Jean-Daniel Kaestli}, + Journal = {Apocrypha}, + Number = {3}, + Pages = {111-123}, + Subtitle = {à propos d'un récent article de K. Schäferdiek}, + Title = {Le rapport entre les deux vies latines de l'apôtre Jean}, + Year = {1993}} 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 new file mode 100644 index 00000000000..0d1a46ef0fe Binary files /dev/null and b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.pdf 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/example.tex new file mode 100644 index 00000000000..4f1cf48184a --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/example.tex @@ -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} diff --git a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.bib b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.bib deleted file mode 100644 index 8e0db00395d..00000000000 --- a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.bib +++ /dev/null @@ -1,23 +0,0 @@ -@book{Pleiade2, - Address = {Paris}, - Publisher = {Gallimard}, - Series = {Bibliothèque de la Pléiade}, - Title = {Écrits apocryphes chrétiens}, - Volume = {2}, - Year = {2005}} - -@bookinbook{Pleiade_Bar, - Annotator = {Dominique Alibert and Gisèle Besson and Michèle Brossard-Dandré and Simon Mimouni}, - Crossref = {Pleiade2}, - Pages = {795-808}, - Title = {Passion de Barthélémy}, - Translator = {Dominique Alibert and Gisèle Besson and Michèle Brossard-Dandré and Simon Mimouni}} - -@article{Kaestli1993, - Author = {Jean-Daniel Kaestli}, - Journal = {Apocrypha}, - Number = {3}, - Pages = {111-123}, - Subtitle = {à propos d'un récent article de K. Schäferdiek}, - Title = {Le rapport entre les deux vies latines de l'apôtre Jean}, - Year = {1993}} diff --git a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.pdf b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.pdf deleted file mode 100644 index c45a39308f8..00000000000 Binary files a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.tex b/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.tex deleted file mode 100644 index adb0ab1151f..00000000000 --- a/Master/texmf-dist/doc/latex/biblatex-true-citepages-omit/exemple.tex +++ /dev/null @@ -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{exemple.bib} -\begin{document} - - - -\cite[\pno~25, sur ce point...]{Kaestli1993} - - -\cite[(1)\pno~795, sur ce point...]{Pleiade_Bar} - -\end{document} 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 f71b436ad31..6b5b96e52b4 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,22 +15,22 @@ % This work consists of the file biblatex-real-citepages-omit.sty \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biblatex-true-citepages-omit}[2014/07/14 v1.1.1 real run of citepages=omit for biblatex] +\ProvidesPackage{biblatex-true-citepages-omit}[2014/09/16 v1.2.0 real run of citepages=omit for biblatex] \RequirePackage{xstring} \AtEveryCitekey{% - \usebibmacro{real-citepages-omit}% + \usebibmacro{true-citepages-omit}% }{}{} -\newbibmacro{real-citepages-omit}{% +\newbibmacro{true-citepages-omit}{% \iffieldundef{postnote}{}{% - \IfBeginWith{\csfield{postnote}}{\pno}{\clearfield{pages}}{% - \IfBeginWith{\csfield{postnote}}{\ppno}{\clearfield{pages}}{}}% + \IfBeginWith{\noexpand\csfield{postnote}}{\pno}{\clearfield{pages}}{% + \IfBeginWith{\noexpand\csfield{postnote}}{\ppno}{\clearfield{pages}}{}}% }% }% - +%%% Kept for backward compatibility. No more needed. \newcommand{\realcitepagesomitcmd}[1]{\ifcsdef{#1}{\expandafter\robustify\csname#1\endcsname}{}} \realcitepagesomitcmd{bibleverse} -- cgit v1.2.3