summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-historian/historian.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-historian/historian.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-historian/historian.cbx431
1 files changed, 331 insertions, 100 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-historian/historian.cbx b/Master/texmf-dist/tex/latex/biblatex-historian/historian.cbx
index 26c66639b3d..f181801d76f 100644
--- a/Master/texmf-dist/tex/latex/biblatex-historian/historian.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-historian/historian.cbx
@@ -1,28 +1,30 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% historian.cbx, v0.3a, 2010/05/20
-% A citation style for use with biblatex v 0.9a
+% historian.cbx, v0.4, 2010/08/22
+% A citation style for use with biblatex
% Developed and maintained by Sander Gliboff,
% based on guidelines from the Turabian Manual for Writers, 7th ed.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesFile{historian.cbx}[2010/05/20 v0.3a historian citation style]
+\ProvidesFile{historian.cbx}[2010/08/22 v0.4 historian citation style]
- \@ifpackagelater{biblatex}{2010/03/19}
+ \@ifpackagelater{biblatex}{2010/08/04}
{}
{\PackageError{biblatex}
{Outdated 'biblatex' package
- The 'historian' style requires biblatex v0.9 or later.\MessageBreak
+ The 'historian' style requires biblatex v0.9b or later.\MessageBreak
You are using: '\csuse{ver@biblatex.sty}'.\MessageBreak
This is a fatal error.}%
\endinput}
-\ExecuteBibliographyOptions{citetracker=context,ibidtracker=constrict, singletitle,pagetracker,autocite=footnote}
-\ExecuteBibliographyOptions{abbreviate=true}
-
%Redefine \blockcquote command of the csquotes package to generate a footnote
\SetCiteCommand{\footcite}
+
+\ExecuteBibliographyOptions{citetracker=context,ibidtracker=constrict,singletitle,pagetracker,autocite=footnote}%
+\DeclareLanguageMapping{american}{historian}%Added
+\ExecuteBibliographyOptions{abbreviate=false,dateabbrev=false}%Added
+
%Option to suppress the crossreferences to first citation of a source (new in v. 0.2)
\newtoggle{noterefsflag}
\toggletrue{noterefsflag}
@@ -34,34 +36,112 @@
{\ifstrequal{#1}{true}
{\toggletrue{noterefsflag}}%
{\togglefalse{noterefsflag}}}%
-
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%This style builds on Lehman's original verbose-inote style,
%from which the following macros are copied:
+
+\DeclareFieldFormat{bibhyperlink}{%
+ \bibhyperlink{\thefield{entrykey}:\csuse{cbx@\iffootnote{f}{t}@\thefield{entrykey}}}{#1}}
+
+\DeclareFieldFormat{bibhypertarget}{%
+ \bibhypertarget{\thefield{entrykey}:\the\value{instcount}}{#1}}
+
\providecommand*{\mkibid}[1]{#1}
-\newbool{cbx:loccit}
-\newbool{cbx:pageref}
+
+\newtoggle{cbx:loccit}
+\newtoggle{cbx:pageref}
+
+%The following are changed from verbose-inote to initialize the citepages option as `omit'
+\newcommand\citepagesseparator{\bibpagespunct}
+\newbibmacro*{cite:citepages}{}
+\newbibmacro*{cite:full:citepages}{\ifboolexpr{
+ test {\ifnumequal{\value{citecount}}{\value{citetotal}}}
+ and
+ test {\iffieldpages{postnote}}
+ }
+ {\togglefalse{printpagerange}}
+ {}}
+\newbibmacro*{cite:postnote}{\usebibmacro{cite:postnote:ibidpage}}
\DeclareBibliographyOption{ibidpage}[true]{%
\ifstrequal{#1}{true}
{\ExecuteBibliographyOptions{loccittracker=constrict}}
{\ExecuteBibliographyOptions{loccittracker=false}}}
\DeclareBibliographyOption{pageref}[true]{%
- \setbool{cbx:pageref}{#1}}
-
+ \settoggle{cbx:pageref}{#1}}
+
+\DeclareBibliographyOption{citepages}[permit]{%
+ \ifcsdef{cbx@opt@citepages@#1}
+ {\csuse{cbx@opt@citepages@#1}}
+ {\PackageError{biblatex}
+ {Invalid option 'citepages=#1'}
+ {Valid values are 'permit', 'suppress', 'omit', 'separate'.}}}
+
+\def\cbx@opt@citepages@permit{%
+ \renewcommand\citepagesseparator{\addcomma\addspace}%Changed: no colon in this case
+ \renewbibmacro*{cite:citepages}{}%
+ \renewbibmacro*{cite:full:citepages}{}%
+ \renewbibmacro*{cite:postnote}{%
+ \usebibmacro{cite:postnote:ibidpage}}}
+
+\def\cbx@opt@citepages@suppress{%
+ \renewbibmacro*{cite:citepages}{}%
+ \renewbibmacro*{cite:full:citepages}{%
+ \togglefalse{printpagerange}}%
+ \renewbibmacro*{cite:postnote}{%
+ \usebibmacro{cite:postnote:ibidpage}}}
+
+\def\cbx@opt@citepages@omit{%
+\relax}%Changed--macros initialized for the omit option
+
+\def\cbx@opt@citepages@separate{%
+ \renewcommand\citepagesseparator{\addcomma\addspace}%Changed: no colon in this case
+ \providetoggle{cbx:fullcite}%
+ \renewbibmacro*{cite:citepages}{%
+ \global\togglefalse{cbx:fullcite}}%
+ \renewbibmacro*{cite:full:citepages}{%
+ \global\toggletrue{cbx:fullcite}}%
+ \renewbibmacro*{cite:postnote}{%
+ \ifboolexpr{
+ togl {cbx:fullcite}
+ and
+ test {\iffieldpages{postnote}}
+ and
+ test {\ifnumequal{\value{citecount}}{\value{citetotal}}}
+ and
+ (
+ not test {\iffieldundef{pages}}
+ or
+ not test {\iffieldundef{pagetotal}}
+ )
+ }
+ {\usebibmacro{cite:postnote:pages}}
+ {\usebibmacro{cite:postnote:ibidpage}}}
+ \providebibmacro*{cite:postnote:pages}{%
+ \setunit{\postnotedelim}%
+ \bibstring{thiscite}%
+ \setunit{\addspace}%
+ \printfield{postnote}}}
\newbibmacro*{cite}{%
- \global\boolfalse{cbx:loccit}%
+ \usebibmacro{cite:citepages}%
+ \global\togglefalse{cbx:loccit}%
\ifciteseen
{\iffieldundef{shorthand}
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
{\usebibmacro{cite:ibid}}
{\usebibmacro{cite:short}}}
{\usebibmacro{cite:shorthand}}}
- {\usebibmacro{cite:full}}}
+ {\usebibmacro{cite:full}%
+ \usebibmacro{cite:save}}}
+
+\newbibmacro*{cite:save}{%
+ \csxdef{cbx@t@\thefield{entrykey}}{\the\value{instcount}}}
\newbibmacro*{cite:full}{%
+ \usebibmacro{cite:full:citepages}%
\printtext[bibhypertarget]{%
\usedriver
{\DeclareNameAlias{sortname}{default}}
@@ -70,70 +150,186 @@
\newbibmacro*{cite:short}{%
\printnames{labelname}%
- \setunit*{\addcomma\space}%
+ \setunit*{\nametitledelim}%
\printtext[bibhyperlink]{%
\printfield[citetitle]{labeltitle}}}
\newbibmacro*{cite:shorthand}{%
- \printtext[bibhyperlink]{%
- \printfield{shorthand}}}
+ \printtext[bibhyperlink]{\printfield{shorthand}}}
\newbibmacro*{cite:ibid}{%
- \printtext[bibhyperref]{\bibstring[\mkibid]{ibidem}}%
+ \printtext[bibhyperlink]{\bibstring[\mkibid]{ibidem}}%
\ifloccit
- {\global\booltrue{cbx:loccit}}
+ {\global\toggletrue{cbx:loccit}}
{}}
+\newbibmacro*{cite:postnote:ibidpage}{%
+ \iftoggle{cbx:loccit}
+ {}
+ {\usebibmacro{postnote}}}
+
+%\newbibmacro*{footcite}{%
+% \usebibmacro{cite:citepages}%
+% \global\togglefalse{cbx:loccit}%
+% \ifciteseen
+% {\iffieldundef{shorthand}
+% {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
+% {\usebibmacro{footcite:ibid}}
+% {\usebibmacro{footcite:note}}}
+% {\usebibmacro{footcite:shorthand}}}
+% {\usebibmacro{footcite:full}%
+% \usebibmacro{footcite:save}}}
+
\newbibmacro*{footcite:save}{%
- \csxdef{cbx@first@\thefield{entrykey}}{\the\value{instcount}}%
+ \csxdef{cbx@f@\thefield{entrykey}}{\the\value{instcount}}%
\label{cbx@\the\value{instcount}}}
-
-\newbibmacro*{cite:postnote}{%
- \ifbool{cbx:loccit}
- {}
- {\usebibmacro{postnote}}}
+%\newbibmacro*{footcite:full}{%
+% \usebibmacro{cite:full:citepages}%
+% \printtext[bibhypertarget]{%
+% \usedriver
+% {\DeclareNameAlias{sortname}{default}}
+% {\thefield{entrytype}}}%
+% \usebibmacro{shorthandintro}}
+
+%\newbibmacro*{footcite:note}{%
+% \ifnameundef{labelname}
+% {\printfield{label}}
+% {\printnames{labelname}}%
+% \ifsingletitle
+% {}
+% {\setunit*{\nametitledelim}%
+% \printfield[title]{labeltitle}}%
+% \setunit*{\addcomma\space}%
+% \printtext{%
+% \bibstring{seenote}\addnbspace
+% \ref{cbx@\csuse{cbx@f@\thefield{entrykey}}}%
+% \iftoggle{cbx:pageref}
+% {\ifsamepage{\the\value{instcount}}
+% {\csuse{cbx@f@\thefield{entrykey}}}
+% {}
+% {\addcomma\space\bibstring{page}\addnbspace
+% \pageref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}}
+% {}}}
\newbibmacro*{footcite:shorthand}{%
- \printtext{%
- \bibhyperlink{\thefield{entrykey}:%
- \csuse{cbx@first@\thefield{entrykey}}}{%
- \printfield{shorthand}}}}
+ \printtext[bibhyperlink]{\printfield{shorthand}}}
\newbibmacro*{footcite:ibid}{%
- \printtext{%
- \bibhyperlink{\thefield{entrykey}:%
- \csuse{cbx@first@\thefield{entrykey}}}{%
- \bibstring[\mkibid]{ibidem}}}%
+ \printtext[bibhyperlink]{\bibstring[\mkibid]{ibidem}}%
\ifloccit
- {\global\booltrue{cbx:loccit}}
+ {\global\toggletrue{cbx:loccit}}
{}}
-\DeclareCiteCommand{\cite}
+%\DeclareCiteCommand{\cite}
+% {\usebibmacro{prenote}}
+% {\usebibmacro{citeindex}%
+% \iffootnote
+% {\usebibmacro{footcite}}
+% {\usebibmacro{cite}}}
+% {\multicitedelim}
+% {\usebibmacro{cite:postnote}}
+
+%\DeclareCiteCommand{\parencite}[\mkbibparens]
+% {\usebibmacro{prenote}}
+% {\usebibmacro{citeindex}%
+% \iffootnote
+% {\usebibmacro{footcite}}
+% {\usebibmacro{cite}}}
+% {\multicitedelim}
+% {\usebibmacro{cite:postnote}}
+
+%\DeclareCiteCommand{\footcite}[\mkbibfootnote]
+% {\usebibmacro{prenote}}
+% {\usebibmacro{citeindex}%
+% \usebibmacro{footcite}}
+% {\multicitedelim}
+% {\usebibmacro{cite:postnote}}
+
+\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
- \iffootnote
- {\usebibmacro{footcite}}
- {\usebibmacro{cite}}}
+ \usebibmacro{footcite}}
{\multicitedelim}
{\usebibmacro{cite:postnote}}
+
+%End of inherited routines from verbose-inote
+%%%%%%%%%% MODIFIED CITE AND FOOTCITE CITECOMMANDS %%%%%%%%%%%%%%%%%%%%%%%%%%
-\DeclareCiteCommand{\footcite}[\mkbibfootnote]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{footcite}}
- {\multicitedelim}
- {\usebibmacro{cite:postnote}}
+\newtoggle{repeatedcitationflag}%Needed for punctuating postnote
-%End of inherited routines from verbose-inote
+\DeclareCiteCommand{\cite}
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+%Test for repeated citation before the new key gets saved
+ \ifciteseen
+ {\toggletrue{repeatedcitationflag}}%
+ {\togglefalse{repeatedcitationflag}}%
+ \iffootnote
+ {%then call footcite macro
+ \usebibmacro{footcite}}%
+ {%else cite macro instead of footcite
+ \usebibmacro{cite}}}%
+ {\multicitedelim}
+ {\ifthenelse{\equal{\thefield{entrytype}}{\entrytypearticle}}
+ {%Then special case for articles with page ranges in postnote
+ \ifboolexpr{test {\ifnumequal{\value{citecount}}{\value{citetotal}}}
+ and test {\iffieldpages{postnote}}}
+ {%Page range was suppressed; need colon instead of comma before postnote
+ \iftoggle{repeatedcitationflag}
+ {%then exception after short forms in repeated citations
+ \relax}%
+ {%else insert the colon
+ \citepagesseparator}%
+ }%
+ {%else no page range recognized in postnote
+ \relax}%
+ }%
+ {%Else not an article
+ \relax
+ }%
+ \usebibmacro{cite:postnote}
+ }%End postcode
-%%%%%%%%%% MODIFIED FOOTCITE COMMAND %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\DeclareCiteCommand{\footcite}[\mkbibfootnote]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+%Test for repeated citation before the new key gets saved
+ \ifciteseen
+ {\toggletrue{repeatedcitationflag}}%
+ {\togglefalse{repeatedcitationflag}}%
+ \usebibmacro{footcite}}
+ {\multicitedelim}
+{\ifthenelse{\equal{\thefield{entrytype}}{\entrytypearticle}}
+ {%Then special case for articles with page ranges in postnote
+ \ifboolexpr{test {\ifnumequal{\value{citecount}}{\value{citetotal}}}
+ and test {\iffieldpages{postnote}}}
+ {%Pages field was suppressed; need colon instead of comma before postnote
+ \iftoggle{repeatedcitationflag}
+ {%then exception after short forms in repeated citations
+ \relax}%
+ {%else insert the colon
+ \citepagesseparator}%
+ }%
+ {%else no page range recognized in postnote
+ \relax}%
+ }%
+ {%Else not an article
+ \relax
+ }%
+ \usebibmacro{cite:postnote}
+ }%End postcode
+
+
+%%%%%%%%%% MODIFIED FOOTCITE MACRO %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Loopcode of footcite command modified from verbose-inote to include special short forms
\newbibmacro*{footcite}{%
-\global\boolfalse{cbx:loccit}%
+\usebibmacro{cite:citepages}%
+\global\togglefalse{cbx:loccit}%
\ifciteseen
{%then1 repeated citation
\iffieldundef{shorthand}%
@@ -161,24 +357,42 @@
}%Endif, end else2
}%End then1
{%Else1 not a repeated citation: cite in full
- \usebibmacro{footcite:full}%
+ \usebibmacro{footcite:full}%
\usebibmacro{footcite:save}%
}%Endif, end else1
-}%End macro
-
+}%End footcite macro
+
-% Like the Verbose styles, historian.cbx uses the drivers from the bbx file
+%Like the Verbose styles, historian.cbx uses the drivers from the bbx file
\newbibmacro*{footcite:full}{%
-% Switch to commas as unit punctuation
+%Bbx file defines periods as unit punctuation; here we change to commas
\renewcommand\newunitpunct{\addcomma\addspace}%
-\printtext{%
- \bibhypertarget{\thefield{entrykey}:\the\value{instcount}}{%
- \usedriver{\DeclareNameAlias{sortname}{default}}{\thefield{entrytype}}}}%
-\usebibmacro{shorthandintro}%
-}%
+\usebibmacro{cite:full:citepages}%
+\printtext[bibhypertarget]{%
+ \usedriver
+ {\DeclareNameAlias{sortname}{default}}
+ {\thefield{entrytype}}}%
+ \usebibmacro{shorthandintro}}%
+
+
+\newbibmacro*{footcite:shorthand}{%
+ \printtext[bibhyperlink]{\printfield{shorthand}}}
+
+\newbibmacro*{footcite:ibid}{%
+ \printtext[bibhyperlink]{\bibstring[\mkibid]{ibidem}}%
+ \ifloccit
+ {\global\toggletrue{cbx:loccit}}
+ {}}
-%Modified from verbose-inote.cbx to include special short forms for letters, archives, documents, and some non-print sources
+\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{footcite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+%Modified from verbose-inote.cbx to include special short forms for letters, archives, documents, and some non-print sources
\newbibmacro*{footcite:note}{%
\ifnameundef{labelname}
{\printfield{label}}%
@@ -201,7 +415,7 @@
{\ifthenelse{\equal{\thefield{entrytype}}{performance}}
{%Title label already printed
\relax}%
- {\setunit*{\addcomma\space}%
+ {\setunit*{\nametitledelim}%
\printfield[title]{labeltitle}%
\ifthenelse{\equal{\thefield{entrytype}}{customd}}%
{\setunit*{\addcomma\addspace}%
@@ -211,31 +425,28 @@
{\relax}%
}%
}%
-\iftoggle{noterefsflag}%New option and test in v. 0.2a
+\iftoggle{noterefsflag}%
{%Then option set for note references
\iftoggle{xrefflag}
{%Then suppress note function in crossreferences in any case
\relax}%
{%Else print note number
\setunit{\addcomma\space}%
- \printtext
- {\bibstring{seenote}\addnbspace
- \ref{cbx@\csuse{cbx@first@\thefield{entrykey}}}%
- \ifbool{cbx:pageref}
- {\ifsamepage{\the\value{instcount}}
- {\csuse{cbx@first@\thefield{entrykey}}}%
- {}%
- {\addcomma\space\bibstring{page}\addnbspace
- \pageref{cbx@\csuse{cbx@first@\thefield{entrykey}}}}}%
- {}%
- }%end printtext
- }%endelse, endiftoggle
+ \printtext {%
+ \bibstring{seenote}\addnbspace
+ \ref{cbx@\csuse{cbx@f@\thefield{entrykey}}}%
+ \iftoggle{cbx:pageref}
+ {\ifsamepage{\the\value{instcount}}
+ {\csuse{cbx@f@\thefield{entrykey}}}
+ {}
+ {\addcomma\space\bibstring{page}\addnbspace
+ \pageref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}}
+ {}}%end printtext
+ }%endelse, endiftoggle
}%Endthen
{%Else option set to suppress note references
\relax}%Endiftoggle
-}%end macro
-
-
+}
\newbibmacro{footcite:shortclassic}{%
\iffieldundef{label}%
@@ -278,8 +489,7 @@
{\printfield{label}}%
}%
-
-%%%%%%%%%% CITE-COMMAND VARIATIONS WITH DIFFERENT PUNCTUATION %%%%%%%%
+%%%%%%%%%% CITE-COMMAND VARIATIONS WITH ALTERNATE PUNCTUATION %%%%%%%%
%Special foocite command with a period before the postnote
\DeclareCiteCommand{\footcitedot}[\mkbibfootnote]
@@ -288,25 +498,25 @@
{\usebibmacro{citeindex}%
\usebibmacro{footcite}}%
{\multicitedelim}%
- {\ifbool{cbx:loccit}
+ {\iftoggle{cbx:loccit}
{}
{\iffieldundef{postnote}
{}
{\addperiod\addspace
\printfield{postnote}}}}%
-%Special footcite command without punctuation before the postnote
+%Special footcite command without punctuation or spacing before the postnote
\DeclareCiteCommand{\footcitenodot}[\mkbibfootnote]
{\bibsentence
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{footcite}}%
{\multicitedelim}%
- {\ifbool{cbx:loccit}%
+ {\iftoggle{cbx:loccit}%
{}%
{\iffieldundef{postnote}%
{}%
- {%\addspace
+ {\setunit{\unspace}%
\printfield{postnote}}}}%
@@ -315,13 +525,13 @@
{\bibsentence
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
-%Set flag for article routine to print pages only when there's no postnote
+%Set flag to have article driver print pages field only when there's no postnote
\iffieldundef{postnote}
{\toggletrue{printpagerange}}%
{\togglefalse{printpagerange}}%
\usebibmacro{footcite}}%
{\multicitedelim}%
-{\ifbool{cbx:loccit}%
+{\iftoggle{cbx:loccit}%
{}
{\iffieldundef{postnote}%
{\relax}%
@@ -336,7 +546,7 @@
{\usebibmacro{citeindex}%
\usebibmacro{footcite}}% [Sic. The \cite macro doesn't have all the short forms]
{\multicitedelim}%
- {\ifbool{cbx:loccit}
+ {\iftoggle{cbx:loccit}
{}
{\iffieldundef{postnote}
{}
@@ -350,7 +560,7 @@
{\usebibmacro{citeindex}%
\usebibmacro{footcite}}% [Sic. The \cite macro doesn't have all the short forms]
{\multicitedelim}%
- {\ifbool{cbx:loccit}%
+ {\iftoggle{cbx:loccit}%
{}%
{\iffieldundef{postnote}%
{}%
@@ -362,13 +572,13 @@
{\bibsentence
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
-%Set flag for article routine to print pages only when there's no postnote
+%Set flag to have article driver print pages only when there's no postnote
\iffieldundef{postnote}
{\toggletrue{printpagerange}}%
{\togglefalse{printpagerange}}%
\usebibmacro{footcite}}% [Sic. The \cite macro doesn't have all the short forms]
{\multicitedelim}%
-{\ifbool{cbx:loccit}%
+{\iftoggle{cbx:loccit}%
{}
{\iffieldundef{postnote}%
{\relax}%
@@ -378,7 +588,7 @@
%Multicite versions with modified punctuation between citations
\DeclareMultiCiteCommand{\footcitedots}[\mkbibfootnote]{\footcite}{\addperiod\addspace}%
-\DeclareMultiCiteCommand{\footcitenodots}[\mkbibfootnote]{\footcite}{\unspace}
+\DeclareMultiCiteCommand{\footcitenodots}[\mkbibfootnote]{\footcite}{\space}
%%%%%%%%% MODIFIED PARENCITE %%%%%%%%%%%%%%%%%%%%%%%%%
@@ -395,7 +605,6 @@
{\printfield{shorthand}}}%
{\multicitedelim}%
{\usebibmacro{cite:postnote}}%
-
\newbibmacro{parenauthor}{%
\ifnameundef{author}
{%Then Author not in use; try editor, translator
@@ -445,9 +654,7 @@
}%end of macro
%%%%%%%%% CITE COMMAND FOR ANNOTATIONS---new in v. 0.2 %%%%%%%%%%%%%
-
%For printing both abstract and annotation after main citation (new in v. 0.2)
-
\DeclareCiteCommand{\citeannote}[]
{%
\bibsentence%
@@ -463,7 +670,7 @@
\end{indentannote}
}%
{}%
-{\ifbool{cbx:loccit}
+{\iftoggle{cbx:loccit}
{}
{\iffieldundef{postnote}
{}%
@@ -472,13 +679,33 @@
}%
}%
-%%%%%%%%% CITE COMMANDS FOR CROSSREFERENCING %%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%% MODIFIED CITE AND FOOTCITE WITH URL AFTER POSTNOTE %%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\DeclareCiteCommand{\citeurllast}
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \toggletrue{urllastflag}%
+ \iffootnote
+ {\usebibmacro{footcite}}%
+ {\usebibmacro{cite}}}%
+ {\multicitedelim}
+ {\relax}% Postnote already printed by onlinelocation macro in bbx
+
+
+\DeclareCiteCommand{\footciteurllast}[\mkbibfootnote]
+ {\usebibmacro{prenote}}%
+ {\usebibmacro{citeindex}%
+ \toggletrue{urllastflag}%
+ \usebibmacro{footcite}}%
+ {\multicitedelim}%
+ {\relax}% Postnote already printed by onlinelocation macro in bbx
+%%%%%%%%%% CITE COMMANDS FOR CROSSREFERENCING %%%%%%%%%%%%%%%%%%%%%%
% Cross-referencing to collection in footnotes
%(The corresponding routine for bibliography cross-referencing is in the bbx file)
\DeclareCiteCommand{\cbx@crosstocoll}[]{}{%
\toggletrue{xrefflag}%
-\global\boolfalse{cbx:loccit}%
+\global\togglefalse{cbx:loccit}%
\ifciteseen
{\iffieldundef{shorthand}%
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}%
@@ -500,7 +727,7 @@
%(The corresponding routine for bibliography cross-referencing is in the bbx file)
\DeclareCiteCommand{\cbx@crosstoper}[]{}{%
\toggletrue{xrefflag}%
-\global\boolfalse{cbx:loccit}%
+\global\togglefalse{cbx:loccit}%
\ifciteseen
{\iffieldundef{shorthand}%
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}%
@@ -521,7 +748,7 @@
%(The corresponding routine for bibliography cross-referencing is in the bbx file)
\DeclareCiteCommand{\cbx@crosstoarch}[]{}{%
\toggletrue{xrefflag}%
-\global\boolfalse{cbx:loccit}%
+\global\togglefalse{cbx:loccit}%
\usebibmacro{in:}%
\ifciteseen%
{\iffieldundef{shorthand}%
@@ -544,7 +771,7 @@
%(The corresponding routine for bibliography cross-referencing is in the bbx file)
\DeclareCiteCommand{\cbx@crosstoref}[]{}{%
\toggletrue{xrefflag}%
-\global\boolfalse{cbx:loccit}%
+\global\togglefalse{cbx:loccit}%
\ifciteseen
{\iffieldundef{shorthand}%
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}%
@@ -555,12 +782,16 @@
}%
}%
{\printtext{\bibhypertarget{\thefield{entrykey}:\the\value{instcount}}{%
- \usebibmacro{getreferenceinfo}}%
+ \usebibmacro{getbooktitle}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit\newblock
+ \printfield{note}%
+ }%
\usebibmacro{shorthandintro}}%
\usebibmacro{footcite:save}%
}%
}{}{}%
-
\endinput