diff options
author | Karl Berry <karl@freefriends.org> | 2015-06-19 22:33:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-06-19 22:33:17 +0000 |
commit | e283bedf2d8ede94bd11f584ac25064c393fd9d4 (patch) | |
tree | f9addbbcbd320f60d025a1ec4630a507e156977a /Master | |
parent | 9dec223637263b13d8974d9ff43084813c16ed4d (diff) |
biblatex-opcit-booktitle (19jun15)
git-svn-id: svn://tug.org/texlive/trunk@37618 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
5 files changed, 19 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.bib b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.bib index ba9bd9ffd5c..d5f97dd8ecb 100644 --- a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.bib +++ b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.bib @@ -18,6 +18,7 @@ Publisher = {Medieval \& Renaissance Texts \& Studies}, Subtitle = {Texts, Intertexts, and Contexts in Western Europe}, Title = {The Medieval \emph{Gospel of Nicodemus}}, + Shorttitle = {The Medieval \emph{Gospel of Nicodemus}}, Year = {1997}} @book{Pleiade2, diff --git a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.pdf b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.pdf Binary files differindex e8bfc692e73..5432d4b7b7f 100644 --- a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle-example.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.pdf b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.pdf Binary files differindex aa248ae4b32..25c4b6b25cf 100644 --- a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex index 16b24823565..63825df934c 100644 --- a/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex +++ b/Master/texmf-dist/doc/latex/biblatex-opcit-booktitle/documentation/biblatex-opcit-booktitle.tex @@ -22,8 +22,8 @@ subtitle={Abbreviated references}, email={maieul <at> maieul <dot> net}, author={Maïeul Rouquette}, - revision={1.0.2}, - date={2015/06/05}, + revision={1.1.0}, + date={2015/06/18}, url={https://git.framasoft.org/maieul/biblatex-opcit-booktitle}} % biblatex @@ -141,6 +141,7 @@ There is not other thing to do! The feature works with these entrytypes: \bibtype{inbook}, \bibtype{incollection}, \bibtype{inproceedings}, \bibtype{bookinbook}. +If you define a \bibfield{shorttitle} in the main entry, it will be used instead of the full title when we need an abbreviated form. \subsection{Limits} We have not implemented options to use abbreviation like \verb+ibid+, because we want to have not ambiguous abbreviated forms. @@ -174,6 +175,10 @@ All issues can be submitted, in French or English, in the Framasoft issues page\ \begin{changelog} +\begin{release}{1.1.0}{2015-18-05} +\item If defined, use the \bibfield{shortitle} field of the main entry. +\end{release} + \begin{release}{1.0.2}{2015-06-05} \item Wrap \enquote{op. cit} in \cmd{mkibid}. \end{release} diff --git a/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty b/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty index 90cb51fa48c..6e4e60fdec9 100644 --- a/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty +++ b/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty @@ -15,7 +15,7 @@ % % The Current Maintainer of this work is Maïeul Rouquette \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biblatex-opcit-booktitle}[2015/06/05 v1.0.2 Manage op. cit. when using subentry] +\ProvidesPackage{biblatex-opcit-booktitle}[2015/06/18 v1.1.0 Manage op. cit. when using subentry] \RequirePackage{xpatch} \newbibmacro*{cite:seen:related}{% @@ -52,6 +52,15 @@ {\usebibmacro{related:info}}}} \newbibmacro*{related:info}{% + % Here an hack to use the short form of the booktitle without recurring to a .dbx file in order to define new fields (because recurring to a .dbx file for such feature is complex for a little feature) + \entrydata{\thefield{crossref}}{\savefield{shorttitle}{\shortbooktitle}} + \ifdef{\shortbooktitle}% + {% + \restorefield{booktitle}{\shortbooktitle}% + \clearfield{booksubtitle}% + }% + {}% + % And of the hack \usebibmacro{cite:full:citepages}% \usedriver% {\DeclareNameAlias{sortname}{default}}% @@ -91,4 +100,5 @@ \usebibmacro{related}} {}% \usebibmacro{finentry}} + \endinput |