Wie verwende ich die Kurzschrift zum ersten Mal mit verbose-trad1

Wie verwende ich die Kurzschrift zum ersten Mal mit verbose-trad1

Ich verwende für mein LaTeX-Dokument biblatex, Biber und style=verbose-trad1. Allerdings möchte ich, dass bei der Verwendung von Abkürzungen nicht beim ersten Mal der vollständige Titel gedruckt wird, sondern dass die Abkürzung auch beim ersten Mal in der Fußnote erscheint.

Dies wurde gelöst fürverbose Hierbereits, funktioniert aber nicht, wenn der Stil in geändert wird verbose-trad1.

Ich möchte also nur sagen

KpV

anstatt

Kant 1968 (im Folgenden zitiert als KpV)

beim ersten Erscheinen.

Irgendeine Idee, wie man das lösen kann?

\documentclass{article}

\usepackage[style=verbose-trad1]{biblatex}

% Original definition
% \newbibmacro*{cite}{%
%   \usebibmacro{cite:citepages}%
%   \ifciteseen
%     {\iffieldundef{shorthand}
%        {\usebibmacro{cite:short}}
%        {\usebibmacro{cite:shorthand}}}
%     {\usebibmacro{cite:full}}}

\renewbibmacro*{cite}{%
  \usebibmacro{cite:citepages}%
  \iffieldundef{shorthand}
    {\ifciteseen
       {\usebibmacro{cite:short}}
       {\usebibmacro{cite:full}}}
    {\usebibmacro{cite:shorthand}}}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@misc{Kan68,
  shorthand = {KpV},
  author = {Kant, Immanuel},
  year = {1968},
  title = {Kritik der praktischen Vernunft},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

\null\vfill% just for the example

Some text.\autocite{Kan68}

Some text.\autocite{Kan68}

Some text.\autocite{A01}

Some text.\autocite{A01}

\printshorthands

\printbibliography

\end{document}

Antwort1

Sie können diese Neudefinition versuchen

\renewbibmacro*{cite}{%
  \usebibmacro{cite:citepages}%
  \global\togglefalse{cbx:loccit}%
  \bibhypertarget{cite\the\value{instcount}}{%
    \iffieldundef{shorthand}
      {\ifciteseen
         {\ifciteibid
            {\usebibmacro{cite:ibid}}
            {\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}}
               {\usebibmacro{cite:idem}%
                \usebibmacro{cite:title}}
               {\ifnameundef{labelname}
                  {\usebibmacro{cite:title}}
                  {\usebibmacro{cite:name}%
                   \ifopcit
                     {\ifloccit
                {\usebibmacro{cite:loccit}}
                {\usebibmacro{cite:opcit}}}
                     {\usebibmacro{cite:title}}}}}%
          \usebibmacro{cite:save}}
         {\usebibmacro{cite:full}%
       \usebibmacro{cite:save}}}
      {\usebibmacro{cite:shorthand}}}}

Wobei wir immer zuerst die Kurzform verwenden (und nicht das vollständige Zitat). Effektiv tauschen wir die Reihenfolge der Prüfung für shorthandund aus \ifciteseen.

MWE

\documentclass{article}
\usepackage[style=verbose-trad1]{biblatex}

\renewbibmacro*{cite}{%
  \usebibmacro{cite:citepages}%
  \global\togglefalse{cbx:loccit}%
  \bibhypertarget{cite\the\value{instcount}}{%
    \iffieldundef{shorthand}
      {\ifciteseen
         {\ifciteibid
            {\usebibmacro{cite:ibid}}
            {\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}}
               {\usebibmacro{cite:idem}%
                \usebibmacro{cite:title}}
               {\ifnameundef{labelname}
                  {\usebibmacro{cite:title}}
                  {\usebibmacro{cite:name}%
                   \ifopcit
                     {\ifloccit
                {\usebibmacro{cite:loccit}}
                {\usebibmacro{cite:opcit}}}
                     {\usebibmacro{cite:title}}}}}%
          \usebibmacro{cite:save}}
         {\usebibmacro{cite:full}%
       \usebibmacro{cite:save}}}
      {\usebibmacro{cite:shorthand}}}}

\addbibresource{biblatex-examples.bib}

\begin{document}
Some text.\autocite{kant:kpv}

Some text.\autocite{kant:kpv}

Some text.\autocite{worman}

Some text.\autocite{worman}

\printshorthands
\printbibliography
\end{document}

Bildbeschreibung hier eingeben

verwandte Informationen