plk / biblatex

biblatex is a sophisticated bibliography system for LaTeX users. It has considerably more features than traditional bibtex and supports UTF-8
520 stars 118 forks source link

\printbibliography option to avoid creation of anchors #1321

Open nmeum opened 1 year ago

nmeum commented 1 year ago

Hi,

For my PhD thesis I have the following use case: I want to list all publication of a specific Biblatex category in the introduction (those publications to which I have contributed myself). However, I still want to list all publication (including those to which I have contributed) at the every end of the thesis. As such, I have multiple \printbibliography commands in my document. I want \cite{…} commands for contribution that I have contributed to, to link to the bibliography at the end (the last \printbibliography) and not the one in the introduction. As such, I want to suppress anchors for the first \printbibliography but this does not seem to be possible presently in a clean way.

I don't seem to be the only one with this use case and the solution suggested there is to overwrite the \blx@anchor macro, e.g.:

\begingroup
  \makeatletter\def\blx@anchor{}
  \printbibliography[category=own,heading=none]
\endgroup

However, the Biblatex manual states the following:

All macros with names like \blx@name are strictly reserved for internal use. also applies to counter names, length registers, boolean switches, and so on. […] In short: never use any macros with the string blx in their name in any styles.

As such, this is not really a good solution. Would it be possible to add a \printbibliography option to suppress the creation of anchors? I envision something along the lines of \printbibliography[category=own,heading=none,anchors=false].