diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-archaeology/verbose-trad2note-archaeology.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-archaeology/verbose-trad2note-archaeology.cbx | 54 |
1 files changed, 45 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-archaeology/verbose-trad2note-archaeology.cbx b/Master/texmf-dist/tex/latex/biblatex-archaeology/verbose-trad2note-archaeology.cbx index f7575e25cbe..b6131434506 100644 --- a/Master/texmf-dist/tex/latex/biblatex-archaeology/verbose-trad2note-archaeology.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-archaeology/verbose-trad2note-archaeology.cbx @@ -4,17 +4,12 @@ %% %% The original source files were: %% -%% biblatex-archaeology.dtx (with options: `verbosetrad2noteCBX') +%% biblatex-archaeology.dtx (with options: `verbosetrad2noteCBX,verbosesharedCBX') %% \ProvidesFile{verbose-trad2note-archaeology.cbx} -[2017/11/16 v1.3 biblatex-archaeology citation style (IB)] +[2018/06/10 v2.0 biblatex-archaeology citation style (IB)] \def\archaeocitestyletitle{\blxarch@style@vttwo} \RequireCitationStyle{verbose-trad2} -\newbibmacro*{cite:short}{% - \printnames{labelname}% - \setunit*{\printdelim{labelnamepunct}}% - \printtext[bibhyperlink]{% - \printfield[citetitle]{labeltitle}}} \newbibmacro*{footcite}{% \usebibmacro{cite:citepages}% @@ -51,8 +46,8 @@ {\ifsamepage{\the\value{instcount}} {\csuse{cbx@f@\thefield{entrykey}}} {} - {\addcomma\space\bibstring{page}\addnbspace - \pageref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}} + {\addcomma\space\bibstring{page}\addnbspace + \pageref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}} {}}} \newbibmacro*{footcite:shorthand}{% @@ -127,6 +122,47 @@ } {#2}% } +\DeclareDataInheritance +{mvbook,book,collection,mvcollection,proceedings,mvproceedings,reference,mvreference} +{inbook,bookinbook,suppbook,incollection,suppcollection,inproceedings,inreference}{% + \noinherit{options} +} +\providebibmacro*{cite:short}{} +\renewbibmacro*{cite:short}{% + \printnames{labelname}% + \setunit*{\printdelim{nametitledelim}}% + \printtext[bibhyperlink]{% + \iftoggle{archbool:citeshortin} + {\ifboolexpr{ + not test {\iffieldundef{journaltitle}} +or +( not test {\ifshortform{false}} + and + not test {\iffieldundef{shortform}} +) + } + {\usebibmacro{cite:short:in}} + {\printfield[citetitle]{labeltitle}}% + } + {\printfield[citetitle]{labeltitle}}}% +} +\newbibmacro*{cite:short:in}{% +\savebibmacro{extendeddate}% +\renewbibmacro*{extendeddate}[2]{}% +\iffieldundef{journaltitle} +{\iffieldundef{shortform} +{\printfield[citetitle]{labeltitle}} +{\usebibmacro{in:}% + \printfield{shortform}% + \setunit{\addspace}% + \printfield[shortformvolume]{volume}% + \setunit{\addspace}% + \usebibmacro{bibliographydate}% +} +} +{\usebibmacro{journal+issuetitle}}% +\restorebibmacro{extendeddate}% +} \endinput %% %% End of file `verbose-trad2note-archaeology.cbx'. |