We can redefine \citetitle
to add all entries cited via \citetitle
to a bibliography category oeuvres
.
\DeclareBibliographyCategory{oeuvres}
\DeclareCiteCommand{\citetitle}
{\boolfalse{citetracker}%
\boolfalse{pagetracker}%
\usebibmacro{prenote}}
{\addtocategory{oeuvres}{\thefield{entrykey}}%
\ifciteindex
{\indexfield{indextitle}}%
{}%
\printfield[citetitle]{labeltitle}}
{\multicitedelim}
{\usebibmacro{postnote}}
The first bibliography can then ignore oeuvres
, while the second only includes oeuvres
.
\printbibliography[heading=subbibliography,title={Bibliographie},notcategory=oeuvres]
\printbibliography[heading=subbibliography,title={Œuvres \& monuments},category=oeuvres]
To get rid of the page references in the first bibliography, we use
\AtNextBibliography{\renewbibmacro*{pageref}{}}
right before the first \printbibliography
.
Globally, backref
is enabled, but the macro printing the backreferences is temporarily disabled in the first bibliography.
I'm not sure about your sorting requests, but is no problem to specify the sorting in the \printbibliography
command:
\printbibliography[sorting=nyt, heading=subbibliography, title={Bibliographie}, notcategory=oeuvres]
\printbibliography[sorting=ynt, heading=subbibliography, title={Œuvres \& monuments}, category=oeuvres]
MWE
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english,frenchb]{babel}
\usepackage{csquotes}
\usepackage[style=authortitle-ticomp,isbn=false,doi=false,backref=true,backend=biber]{biblatex}
\addbibresource{biblatex-examples.bib}
\DeclareBibliographyCategory{oeuvres}
\DeclareCiteCommand{\citetitle}
{\boolfalse{citetracker}%
\boolfalse{pagetracker}%
\usebibmacro{prenote}}
{\addtocategory{oeuvres}{\thefield{entrykey}}%
\ifciteindex
{\indexfield{indextitle}}%
{}%
\printfield[citetitle]{labeltitle}}
{\multicitedelim}
{\usebibmacro{postnote}}
\begin{document}
some \footcite{cicero,gillies}, some \citetitle{wilde,coleridge} \& some words indexed.
\printbibheading
\AtNextBibliography{\renewbibmacro*{pageref}{}}
\printbibliography[heading=subbibliography,title={Bibliographie},notcategory=oeuvres,sorting=nyt]
\printbibliography[heading=subbibliography,title={Œuvres \& monuments},category=oeuvres,sorting=ynt]
\end{document}
To sort the bibliography by type we need to define a new sorting scheme: tnyvt
.
Unfortunately,
\sort{
\field{entrytype}
}
did not work for me, so we use a workaround: The entrytype is parked in the temporary field usera
which is used for sorting.
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map{
\step[fieldset=usera, origentrytype]
}
}
}
\DeclareSortingScheme{tnyvt}{
\sort{
\field{presort}
}
\sort[final]{
\field{sortkey}
}
\sort{
\field{usera}
}
\sort{
\field{sortname}
\field{author}
\field{editor}
\field{translator}
\field{sorttitle}
\field{title}
}
\sort{
\field{sortyear}
\field{year}
}
\sort{
\field[padside=left,padwidth=4,padchar=0]{volume}
\literal{0000}
}
\sort{
\field{sorttitle}
\field{title}
}
}
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}
Best Answer
Yes, if you just want to get rid of the headings, just use
\printbibliography[heading=none]
. You have other options to customize the headings through\defbibheading
(see section 3.6.7 of thebiblatex
manual). There are several predefined headings which you can choose by specifying the option[heading=]
to\printbibliography
,none
is one of these.Note that if you want to add some text between the heading and the list of references, you also have the option
prenote
which you can supply to\printbibliography
.Here is an example using
prenote
andtitle
to change the title of the second reference list.And the output: