summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-27 22:18:02 +0000
committerKarl Berry <karl@freefriends.org>2016-03-27 22:18:02 +0000
commit52bba5c3de1a242eaf6e5b6fe3e7344b55b81f07 (patch)
tree25dbede37c0f985d33c612767c2f119f8bdc9909 /Master/texmf-dist/tex/latex/biblatex-opcit-booktitle
parent513cfe82c1eaea7d0951e08cbcd92248367567c8 (diff)
biblatex-opcit-booktitle (27mar16)
git-svn-id: svn://tug.org/texlive/trunk@40157 c570f23f-e606-0410-a88d-b1316a301751
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.sty11
1 files changed, 9 insertions, 2 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 a373b4927c1..23c65dba8f0 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/08/30 v1.2.0 Manage op. cit. when using subentry]
+\ProvidesPackage{biblatex-opcit-booktitle}[2016/03/27 v1.3.0 Manage op. cit. when using subentry]
\RequirePackage{xpatch}
\DeclareFieldFormat{bibhypertarget:crossref}{%
@@ -83,7 +83,10 @@
\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}}%
+ \entrydata{\thefield{crossref}}{%
+ \savefield{shorttitle}{\shortbooktitle}%
+ \savefield{entrytype}{\bookentrytype}%
+ }%
\ifdef{\shortbooktitle}%
{%
\restorefield{booktitle}{\shortbooktitle}%
@@ -122,6 +125,9 @@
{\printfield{volume}%
\printfield{part}}
{}%
+ \newunit%
+ \restorefield{entrytype}{\bookentrytype}%
+ \bibstring[\mkibid]{opcit}%
}%
\newunit\newblock
\usebibmacro{chapter+pages}%
@@ -160,6 +166,7 @@
\printfield{part}}
{}%
\newunit%
+ \restorefield{entrytype}{\bookentrytype}%
\bibstring[\mkibid]{opcit}%
}%
\newunit\newblock