
Estoy usando biblatex
Biber y style=verbose-trad1
para mi documento LaTeX. Sin embargo, me gustaría no imprimir el título completo la primera vez, cuando utilice taquigrafías, sino que la abreviatura taquigráfica aparezca también la primera vez en la nota a pie de página.
Esto ha sido solucionado porverbose
aquíya, pero no funciona cuando se cambia el estilo a verbose-trad1
.
Entonces me gustaría que dijera sólo
KpV
en lugar de
Kant 1968 (en adelante citado como KpV)
la primera vez que aparece.
Alguna idea de como resolver esto?
\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}
Respuesta1
Puedes probar esta redefinición.
\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}}}}
Donde siempre le damos la primera oportunidad a la taquigrafía (y no a la cita completa). Efectivamente intercambiamos el orden del cheque por shorthand
y \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}