diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-opcit-booktitle')
-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 |