BibTeX, biblatex and biberShorttitle field not showing in footnote

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Yeats
Posts: 62
Joined: Fri Nov 07, 2008 12:29 pm

Shorttitle field not showing in footnote

Post by Yeats »

Hi everyone,

I have a problem with getting a shorttitle field in my footnote. I am using Biblatex and here is my MWE:

Code: Select all

\documentclass[a4paper,11pt]{scrartcl}
\usepackage[latin1]{inputenc}
\usepackage{csquotes}
\usepackage{blindtext}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib} 
@book{iustinus1997,
	Address = {Berlin/New York},
	Author = {{Iustinus Martyr}},
	Call-Number = {EgI180},
	Date-Added = {2010-10-13 09:19:34 +0200},
	Date-Modified = {2010-10-13 09:21:42 +0200},
	Editor = {Miroslav Marcovich},
	Publisher = {Walter de Gruyter},
	Series = {Patristischen Texte und Studien},
	Shortauthor = {Iust.},
	Shorttitle = {De Tryph.},
	Title = {Iustini Martyris dialogus cum Tryphone},
	Volume = {47},
	Year = {1997}}
\end{filecontents} 

\usepackage[ngerman]{babel}
\usepackage[style=authoryear, hyperref=true]{biblatex} 
\bibliography{\jobname} 

\begin{document}
\blindtext\footnote{\citename{iustinus1997}{shortauthor}}
\blindtext\footnote{\citename{iustinus1997}{shorttitle}}
\printbibliography

\end{document}


This is what I am getting as an result:
Screen Shot 2014-03-27 at 08.59.56.png
Screen Shot 2014-03-27 at 08.59.56.png (6.04 KiB) Viewed 6591 times
Anyone knows why?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
hugovdberg
Posts: 133
Joined: Sat Feb 25, 2012 6:12 pm

Shorttitle field not showing in footnote

Post by hugovdberg »

You'll want to use the \citefield command to insert fields other than the author name (page 87 of the biblatex manual).

Code: Select all

\documentclass[a4paper,11pt]{scrartcl}
\usepackage[latin1]{inputenc}
\usepackage{csquotes}
\usepackage{blindtext}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib} 
@book{iustinus1997,
        Address = {Berlin/New York},
        Author = {{Iustinus Martyr}},
        Call-Number = {EgI180},
        Date-Added = {2010-10-13 09:19:34 +0200},
        Date-Modified = {2010-10-13 09:21:42 +0200},
        Editor = {Miroslav Marcovich},
        Publisher = {Walter de Gruyter},
        Series = {Patristischen Texte und Studien},
        Shortauthor = {Iust.},
        Shorttitle = {De Tryph.},
        Title = {Iustini Martyris dialogus cum Tryphone},
        Volume = {47},
        Year = {1997}}
\end{filecontents} 

\usepackage[ngerman]{babel}
\usepackage[style=authoryear, hyperref=true]{biblatex} 
\bibliography{\jobname} 

\begin{document}
\blindtext\footnote{\citename{iustinus1997}{shortauthor}}
\blindtext\footnote{\citefield{iustinus1997}{shorttitle}}
\printbibliography

\end{document}
Ubuntu 13.10 + Tex Live 2013 + Texmaker / Windows 7 Pro + MikTex 2.9 + TexnicCenter / Android 4.3 + TexPortal + DroidEdit
Yeats
Posts: 62
Joined: Fri Nov 07, 2008 12:29 pm

Re: Shorttitle field not showing in footnote

Post by Yeats »

That worked thank you!
Post Reply