BibTeX, biblatex and biber ⇒ Citation of short titles
Citation of short titles
I am using biblatex for my citations and bibliography, with citations placed in end notes and am using the authortitle style. I am required to cite a single work in the notes with just a reference to the author, but if that author has multiple works in the bibliography, I need to use the the combination of author and short title in the citation.
For example:
12. Smith, p.10.
13. Jones, "Gone with the Wind", p.11.
14. Smith, p.23.
15. Jones, "No longer windy", p.2.
etc
I have successfully implemented the Jones, "Gone with the Wind", p.11 type of entry, but I get this format for all my entries, including those for Smith. How do I drop the short title from the Smith-type entries, that is, those authors with only single titles in the bibliography?
Thank you for any suggestions.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Citation of short titles
you said you managed to achieve something already. Why not sharing tha with us, so we have something to work with? Better than starting from scratch providing a solution that might be incompatible with your current bib-setup.
Citation of short titles
Here are some brief excerpts from my current document (with a great deal of the preamble removed for simplicity). The key bits related to biblatex are shown.
Code: Select all
\documentclass[11pt, article, oneside]{memoir}
\usepackage{endnotes}
\let\footnote=\endnote
\renewcommand{\notesname}{}
\usepackage[citestyle=authortitle-ibid, bibstyle=authortitle, sorting=nyt,
block=space, terseinits=true, backend=biber]{biblatex}
\defbibheading{memoir}{}
\bibliography{/Volumes/Current/work/core/biblio14}
\DefineBibliographyStrings{australian}{%
bibliography = {References},
shorthands = {Abbreviations},
editor = {editor},
editors = {editors},
techreport = {},
in = {~},
}
\newbibmacro*{shorttitle}{%
\setunit*{\addcomma\space}%
\printlist{shorttitle}%
\setunit*{\addcomma\space}
\newunit}
\begin{document}
blah blah blah \footnote{\cite[247]{Kaufmann2014b}}
blah blah blah
\newpage
\addcontentsline{toc}{chapter}{Notes}
\chapter*{Notes}
%
\begingroup
\renewcommand{\makeenmark}{\hbox{\theenmark}.\quad}
\parindent 0pt
\parskip 2ex
\def\enotesize{\normalsize}
\theendnotes
\endgroup
\chapter*{References}
\raggedright
\printbibliography[heading=memoir]
\end{document}
Thank you.
Citation of short titles
Code: Select all
\documentclass[11pt, article, oneside]{memoir}
\usepackage[australian]{babel}
\usepackage{csquotes}
\usepackage{endnotes}
\let\footnote=\endnote
\renewcommand{\notesname}{}
\usepackage[style=authortitle-ibid, terseinits=true, block=space, backend=biber, singletitle]{biblatex}
\defbibheading{memoir}{}
\addbibresource{biblatex-examples.bib}
\DefineBibliographyStrings{australian}{%
bibliography = {References},
shorthands = {Abbreviations},
editor = {editor},
editors = {editors},
techreport = {},
}
\renewbibmacro{in:}{}
\renewbibmacro*{cite}{%
\global\boolfalse{cbx:loccit}%
\iffieldundef{shorthand}
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
{\usebibmacro{cite:ibid}}
{\ifnameundef{labelname}
{}
{\printnames{labelname}%
\ifsingletitle{}{\setunit{\nametitledelim}}}%
\usebibmacro{cite:title}}}%
{\usebibmacro{cite:shorthand}}}
\renewbibmacro*{cite:title}{%
\ifsingletitle
{}
{\printtext[bibhyperref]{%
\printfield[citetitle]{labeltitle}}}}
\begin{document}
blah\footcite[12]{sigfridsson} blah\footcite{worman,pines} blah\footcite[34]{knuth:ct:b}
blah\footcite[56]{geer} blah\footcite[78]{knuth:ct:c} blah.
\newpage
\addcontentsline{toc}{chapter}{Notes}
\chapter*{Notes}
%
\begingroup
\renewcommand{\makeenmark}{\hbox{\theenmark}.\quad}
\parindent 0pt
\parskip 2ex
\def\enotesize{\normalsize}
\theendnotes
\endgroup
\chapter*{References}
\raggedright
\printbibliography[heading=memoir]
\end{document}
example output: cut of the note section