[Tex/LaTex] Using \footcite and \cite with \printbibliography

biberbiblatexcitingfootnotes

I collected a lot of references in an external bib-file, where I keep both references and resources, along side with cite-sources and bibliography items. Resources and Links shall go to the footnote area of each page, while references should appear at the References-pages of the whole document.

There is no problem to create normal footnotes and citation in general works well. But I am unable to get \footcite{...} working as I want. It either shows just a sign with a hyperref to the last page, where the reference is mentioned. When I set style=verbose in the usepackage section, the footnote shows the whole reference-info but all the other \cite notes in the text too, what clearly isn't what I intend.
Because of special formatting and other advantages I use the biber backend.

\documentclass[12pt,hyperref]{article}
\usepackage{setspace}
\usepackage{url}
\usepackage[backend=biber, style=verbose]{biblatex}
\usepackage{graphicx}
\author{Max Maximus}
\title{}
\bibliography{somebibfile}
\pdfoutput=1

\begin{document}
Duis autem vel eum iriure dolor\cite{colomb_ontology_2007}
Ut wisi enim ad minim veniam, quis\footcite{handa_nepomuk_2013} 
dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.   

\printbibliography
\end{document}

Bib file:

@book{colomb_ontology_2007,
    title = {Ontology and the semantic web},
    isbn = {9781586037291},
    pagetotal = {258},
    publisher = {{IOS} Press},
    author = {Colomb, Robert M.},
    date = {2007}
}
@letter{handa_nepomuk_2013,
    title = {Nepomuk in 4.13 and beyond},
    url = {https://mail.kde.org/pipermail/nepomuk/2013-December/004858.html},
    type = {E-mail},
    author = {Handa, Vishesh},
    urldate = {2014-12-01},
    date = {2013-12-12},
}

To summarize:

  • I want a footcite to conatin the full cite string as it would appear in the bibliography section
  • Sources cited with footcite shouldn't appear in the printbibliograhy section
  • \cites should use the normal style with a number to the item in the printbibliography section (of course with the later option to change the abbreviation appearance)

Footnote appearance I wish

Footnote appearance I wish

Footnote appearance without style=verbose (I don't want this)

Footnote appearance without style=verbose (I don't want this)

Normal cite, how it should be without style=verbose

Normal cite, how it should be without style=verbose

Best Answer

If you just want to have a full citation in footnotes, you can go with \footfullcite, but if you also want to exclude entries cited in footnotes from the bibliography, it is probably more convenient to define a new command that does both of these things at the same time.

We first set up a category called skipbibliography.

\DeclareBibliographyCategory{skipbibliography}

Then we define \myfootcite to add the cited entry to the skipbibliography category and cite it in the \footfullcite manner (this command is just \footfullcite from biblatex.def, ll. 2115-2121, with the \addtocategory{skipbibliography}{\thefield{entrykey}}% line added)

\DeclareCiteCommand{\myfootcite}[\mkbibfootnote]
  {\usebibmacro{prenote}}
  {\addtocategory{skipbibliography}{\thefield{entrykey}}%
   \usedriver
     {\DeclareNameAlias{sortname}{default}}
     {\thefield{entrytype}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

If you now want to print the bibliography, use

\printbibliography[notcategory=skipbibliography]

to exclude entries of the skipbibliography category.

If you want to use a numeric citation style, you will want to use the defernumbers option to make sure that the entries appearing in the bibliography are numbered consecutively (without the option, the skipped entries would also be "counted", which would lead to jumps in the numbering since they are excluded from the bibliography).

MWE

\documentclass{article}
\usepackage[backend=biber, style=numeric, defernumbers]{biblatex}
\addbibresource{biblatex-examples.bib}

\DeclareBibliographyCategory{skipbibliography}
\DeclareCiteCommand{\myfootcite}[\mkbibfootnote]
  {\usebibmacro{prenote}}
  {\addtocategory{skipbibliography}{\thefield{entrykey}}%
   \usedriver
     {\DeclareNameAlias{sortname}{default}}
     {\thefield{entrytype}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\begin{document}
Lorem ipsum \cite{cicero} dolor\myfootcite{wilde} sit amet. 

\printbibliography[notcategory=skipbibliography]
\end{document}

enter image description here

Related Question