And a little bit more biblatex stuff: I've noticed that, when using hyperref, there is an issue in form of an ugly space between the citation and the punctuation (be it comma or period). Please, take a look at the following example code:
\begin{filecontents}{mybib.bib}
@book{JSmith,
author = {Smith, John},
title = {A book of}
}
\end{filecontents}
\documentclass{article}
\usepackage[style=authortitle]{biblatex}
\bibliography{mybib.bib}
\usepackage[colorlinks]{hyperref}
\begin{document}
Test~\cite*{JSmith}. Test~\footcite{JSmith}
Test~\emph{A book of}. Test\footnote{Smith, \emph{A book of}.}
\end{document}
Any ideas?
EDIT: Just to let you know, I posted the question here too: http://groups.google.com/group/comp.text.tex/browse_thread/thread/908bd4ff3f8633b2#
I'll keep them both in sync.
EDIT 2: Heiko Oberdiek kindly provided the answer "why" this happens (on comp.text.tex):
\cite*
uses\emph
and\emph
suppresses the italic correction at the right end if a comma or period follows (\nocorrlist
). However adding a link implies that whatits are added in between (in case of hpdftex.def there are two whatits, the end of the link and restoring the color. Therefore the period is hidden from\emph
.Example without biblatex:
\documentclass[12pt]{article} \showboxdepth=\maxdimen \showboxbreadth=\maxdimen \usepackage[colorlinks]{hyperref} \begin{document} \section{Foo}\label{sec:foo} \huge \noindent Test~\emph{Smith of}.\\ Test~\hyperref[sec:foo]{\emph{Smith of}}. \tracingonline=1 \showlists \end{document}
EDIT 3: Ulrike Fischer proposed a local fix:
You can locally reset the definition of
\citetitle
(if you do it globally it will perhaps remove the italic correction also in places where you want it):
{\DeclareFieldFormat{citetitle}{\mkbibemph{#1\nocorr}}\cite*{JSmith}.}