I am writing a PhD and my mentor wants me to use a specific short form of citation in the footnotes and long one in the bibliography at the end of the work. So basically I need to have three short fields instead of classical two (shorttitle
and shortauthor
).
I need to find a way to add shortseries
which I would use in footnotes.
This is what I use so far for the two fields:
\DeclareBibliographyDriver{myshort}{%
\usebibmacro{begentry}%
\ifboolexpr{ test{\ifnameundef{shortauthor}}
or test {\iffieldundef{shorttitle}}}
{\usedriver{}{\thefield{entrytype}}}
{\printnames{shortauthor}%
\setunit{\addcomma\space}%
\printfield{shorttitle}\isdot}%
\usebibmacro{finentry}%
}
\DeclareCiteCommand{\mycite}[\mkbibfootnote]
{\usebibmacro{prenote}}
{\usedriver{}{myshort}}
{\multicitedelim}
{\usebibmacro{postnote}}
This is what this produces:
See Iust., De Triph. S. 11.
I need to either find a way to introduce another bibliography field which would be called shortseries
or I need to find a way to use some of the optional fields in the incollection like note
which I never use to take over this function.
Here is my MWE:
\documentclass[a4paper,11pt]{scrartcl}
\usepackage[latin1]{inputenc}
\usepackage{csquotes}
\usepackage{blindtext}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@incollection{iustinus1997,
Address = {Berlin/New York},
Author = {{Iustinus Martyr}},
Title = {Iustini Martyris dialogus cum Tryphone},
Editor = {Miroslav Marcovich},
Publisher = {Walter de Gruyter},
Series = {Patrologiae cursus completus: Series Graeca},
Shortauthor = {Iust.},
Shorttitle = {De Tryph.},
Shortseries = {PG},
Volume = {47},
Year = {1997}}
\end{filecontents}
\usepackage[ngerman]{babel}
\usepackage[style=historische-zeitschrift, maxnames=2, hyperref=true, backref=true, backrefstyle=none, backend=bibtex,idemtracker=true]{biblatex}
\bibliography{\jobname}
\DeclareBibliographyDriver{myshort}{%
\usebibmacro{begentry}%
\ifboolexpr{ test{\ifnameundef{shortauthor}}
or test {\iffieldundef{shorttitle}}}
{\usedriver{}{\thefield{entrytype}}}
{\printnames{shortauthor}%
\setunit{\addcomma\space}%
\printfield{shorttitle}\isdot}%
\usebibmacro{finentry}%
}
\DeclareCiteCommand{\mycite}[\mkbibfootnote]
{\usebibmacro{prenote}}
{\usedriver{}{myshort}}
{\multicitedelim}
{\usebibmacro{postnote}}
\begin{document}
\blindtext \mycite[See][S. 11]{iustinus1997}
\blindtext
\printbibliography
\end{document}
and when i use: \mycite[See][11]{iustinus1997}
this is what I need to get as an end-result:
See Iust., De Tryph., in: PG 47, S. 11.
Anyone got the idea how I can achieve this? Thanks in advance for your answers!