From e283bedf2d8ede94bd11f584ac25064c393fd9d4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 19 Jun 2015 22:33:17 +0000 Subject: biblatex-opcit-booktitle (19jun15) git-svn-id: svn://tug.org/texlive/trunk@37618 c570f23f-e606-0410-a88d-b1316a301751 --- .../biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty') 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 -- cgit v1.2.3