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/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty | |
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/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty | 12 |
1 files changed, 11 insertions, 1 deletions
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 |