Closed jimlaloi closed 4 years ago
@jimlaloi: The problem isn't specific to \textcite
. The unified citation style uses hyperlinking between citations and bibliography and thus requires the hyperref package. If you add \usepackage{hyperref}
to the preamble of your MWE, it compiles ok. We will either add this requirement to the documentation and/or make it so that unified.cbx
enforces the loading of hyperref. Thanks for the report!
That makes sense, thanks!
This problem is still open. The style errors without hyperref, but this is neither documented nor enforced somehow.
Both the readme and the pdf documentation state explicitly:
The unified citation style relies on hyperlinking between in-text citations and the bibliography. So, the
hyperref
package is required. It is automatically loaded bysp.cls
but if you use a different document class andhyperref
is not loaded by that class, you need to add\usepackage{hyperref}
to your preamble as well.
@u-fischer: A pull request that improves on that in some way would be welcome.
This isn't in the documentation I got in a current texlive, and I also don't see that on ctan http://mirrors.ctan.org/macros/latex/contrib/biblatex-contrib/biblatex-unified/README.md
Did you actually upload the changes?
I thought we did but can't find a record of it. I guess we need to do it again.
I have now uploaded the new version v1.10, which includes the documentation updates and some other minor improvements.
When using
biblatex-unified
with S&P'ssp.cls
, I'm able to use\textcite
no problem. However, when usingbiblatex-unified
withoutsp.cls
, I get an undefined control sequence error.Minimum working example:
If I change
\documentclass{article}
to\documentclass[biblatex]{sp}
, then it compiles correctly.I assume there's something in the
sp.cls
code thatbiblatex-unified
requires in order to use\textcite
but I'm not enough of a wiz to figure out what that might be.