summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty
diff options
context:
space:
mode:
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.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