特定章节“Bibliographie”中的参考书目子部分

特定章节“Bibliographie”中的参考书目子部分

当我想在参考书目章节中整合子章节时,这些子章节会添加到现有的参考书目部分下,从而产生重复(参见下面的示例)。如果我在下面的 MWE 中删除行“\printbibliography[title={Bibliography}]”,子章节会正常显示,但章节“参考书目”的标题会消失,这些子章节会添加到上一章中,从而修改参考书目章节的标题。如何解决这个问题?

\documentclass[a4paper,nobib,twoside,symmetric,justified,marginals=raggedouter]{tufte-book}
\PrintTufteSettings % Ajout de la ligne
\usepackage[most]{tcolorbox}
\usepackage{afterpage}
\usepackage[french]{babel}
\geometry{% normal pages % Bloc ajouté jusqu'à ligne 93 (14 lignes)
paperheight  =297mm, paperwidth  = 210mm,  %layout=a4paper
layoutheight =240mm,layoutwidth  =170mm,
textheight=38\baselineskip,
headheight=\baselineskip,
left=15mm, % right will be the same because of symmetric
bindingoffset= 5mm, % add space for binding
textwidth=90mm,
top=14mm,
marginparsep=6mm,   marginparwidth=40mm,
includehead,
layoutvoffset= 28.5mm,layouthoffset= 20mm,  % 297-240 = 57mm   210-170 = 40mm ->> to center smaller layout in a4
showframe=false,
showcrop=true }

\renewenvironment{fullwidth} % Bloc ajouté jusqu'à ligne 114 (20 lignes)
{\newgeometry{% full width pages
    layoutheight =240mm,layoutwidth  =170mm,
    textheight=38\baselineskip,
    headheight=\baselineskip,
    left=15mm, % right will be the same because of symmetric
    bindingoffset= 5mm, % add space for binding 
    textwidth=136mm, % 90+ 6+ 40
    top=14mm,
    marginparsep=0mm,   marginparwidth=0mm, 
    includehead,
    layoutvoffset= 28.5mm,layouthoffset= 20mm,  % 297-240 = 57mm   210-170 = 40mm ->> to center smaller layout in a4
    showframe=false,
    showcrop=false }

% \TufteRecalculate
\fancyhfoffset[LE]{0pt}
\fancyhfoffset[RO]{0pt}
}   
{\restoregeometry}%
\usepackage{multirow}
\usepackage{microtype}
\usepackage{fancyvrb}
\usepackage{csquotes}
\tcbuselibrary{skins,breakable}
\usepackage[backend=biber,style=authoryear-icomp]{biblatex}
\makeatletter
\newbibmacro*{adtcite}{%
  \iffieldundef{shorthand}
    {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
       {\usebibmacro{cite:ibid}}
       {\iffieldequals{namehash}{\cbx@lasthash}
          {\setunit{\compcitedelim}}
          {\printnames{labelname}%
           \setunit*{\printdelim{nameyeardelim}}%
           \printlabeldateextra
           \setunit*{\printdelim{nametitledelim}}%
           \savefield{namehash}{\cbx@lasthash}}%
        \usebibmacro{cite:title}}}%
    {\usebibmacro{cite:shorthand}%
     \usebibmacro{cite:reinit}}%
  \setunit{\multicitedelim}}
\makeatother

\newbibmacro*{cite:title}{%
  \printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}

\DeclareCiteCommand{\fadtcite}[\mkbibfootnote]
  {\usebibmacro{cite:init}%
   \usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \usebibmacro{adtcite}}
  {}
  {\usebibmacro{cite:postnote}}

\DeclareMultiCiteCommand{\fadtcites}[\mkbibfootnote]{\fadtcite}{\setunit{\multicitedelim}}

\DeclareAutoCiteCommand{fadt}{\fadtcite}{\fadtcites}

\ExecuteBibliographyOptions{autocite=fadt}


\usepackage[most]{tcolorbox}


\defbibenvironment{bibliography}
  {\list{}{\parsep\bibparsep}}
  {\endlist}
  {\item}


\AtEveryBibitem{\hskip-\bibhang}

\addbibresource{sample-handout.bib}



\defbibheading{bibintoc}[\bibname]{%
  \chapter*{#1}\markboth{#1}{}%
}


\PassOptionsToPackage{hyphens}{url}

\begin{document}

\nocite{*}

\begin{fullwidth}
    \cleardoublepage        
    \addcontentsline{toc}{chapter}{Bibliographie} 
    \printbibliography[title={Bibliographie}]
    \printbibliography[nottype=misc,heading=subbibintoc,title=Sources bibliographiques]
    \printbibliography[type=misc,heading=subbibintoc,title=Sources internet]
\end{fullwidth}

\end{document}

奇数书目页示例

这是我的sample-handout.bib:

@BOOK{Buchet,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}

@BOOK{Example1,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}

@BOOK{Example2,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}

@BOOK{Example3,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}

@BOOK{Example4,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}
@BOOK{Example5,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}

@BOOK{Example6,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}

@BOOK{Example7,
    author = {Sueur, Agathe and Dubreuil, Pascal},
    title = {Joachim Burmeister - Poétique musicale, suivi de David Chytraeus - De la Musique},
    publisher = {\'{E}ditions Rhuthmos},
    year = {2017},
    isbn = {979-10-95155-17-1},
    place = {Paris},
    pagetotal = {288},
    type = {book},
}

@BOOK{Example8,
    author = {Cantagrel, Gilles},
    title = {Bach en son temps},
    publisher = {\'{E}ditions Fayard},
    year = {1997},
    isbn = {978-2-213-600007-9},
    place = {Paris},
    pagetotal = {658},
    type = {book},
}

@BOOK{Example9,
    author = {Cantagrel, Gilles},
    title = {J.S. Bach. L'\oe uvre instrumentale},
    publisher = {\'{{E}}ditions Buchet-Chatel},
    year = {2018},
    isbn = {978-2-283-03113-1},
    place = {Paris},
    pagetotal = {475}
}

@INCOLLECTION{Example10,
    author = {Cantagrel, Gilles},
    title = {{{J}}ean-{{S}}\'{e}bastien {{B}}ach},
    booktitle = {Guide de la musique d'orgue},
    edition = {Premi\`{e}re édition},
    pages = {47-143},
    pagetotal = {840},
    bookauthor = {Cantagrel Gilles},
    isbn = {2-213-02772-2},
    year = {1991},
    publisher = {\'{E}ditions Fayard},
    place = {Paris}
}

@BOOK{Example11,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}

@BOOK{Example12,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}

@BOOK{Example13,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}

@BOOK{Example14,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}
@BOOK{Example15,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}

@BOOK{Example16,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}

@BOOK{Example17,
    author = {Sueur, Agathe and Dubreuil, Pascal},
    title = {Joachim Burmeister - Poétique musicale, suivi de David Chytraeus - De la Musique},
    publisher = {\'{E}ditions Rhuthmos},
    year = {2017},
    isbn = {979-10-95155-17-1},
    place = {Paris},
    pagetotal = {288},
    type = {book},
}

@BOOK{Example18,
    author = {Cantagrel, Gilles},
    title = {Bach en son temps},
    publisher = {\'{E}ditions Fayard},
    year = {1997},
    isbn = {978-2-213-600007-9},
    place = {Paris},
    pagetotal = {658},
    type = {book},
}

@BOOK{Example19,
    author = {Cantagrel, Gilles},
    title = {J.S. Bach. L'\oe uvre instrumentale},
    publisher = {\'{{E}}ditions Buchet-Chatel},
    year = {2018},
    isbn = {978-2-283-03113-1},
    place = {Paris},
    pagetotal = {475}
}

@INCOLLECTION{Example20,
    author = {Cantagrel, Gilles},
    title = {{{J}}ean-{{S}}\'{e}bastien {{B}}ach},
    booktitle = {Guide de la musique d'orgue},
    edition = {Premi\`{e}re édition},
    pages = {47-143},
    pagetotal = {840},
    bookauthor = {Cantagrel Gilles},
    isbn = {2-213-02772-2},
    year = {1991},
    publisher = {\'{E}ditions Fayard},
    place = {Paris}
}

@BOOK{Burmeister2017,
    author = {Sueur, Agathe and Dubreuil, Pascal},
    title = {Joachim Burmeister - Poétique musicale, suivi de David Chytraeus - De la Musique},
    publisher = {\'{E}ditions Rhuthmos},
    year = {2017},
    isbn = {979-10-95155-17-1},
    place = {Paris},
    pagetotal = {288},
    type = {book},
}

@BOOK{Canta1997,
    author = {Cantagrel, Gilles},
    title = {Bach en son temps},
    publisher = {\'{E}ditions Fayard},
    year = {1997},
    isbn = {978-2-213-600007-9},
    place = {Paris},
    pagetotal = {658},
    type = {book},
}

@BOOK{Canta2018,
    author = {Cantagrel, Gilles},
    title = {J.S. Bach. L'\oe uvre instrumentale},
    publisher = {\'{{E}}ditions Buchet-Chatel},
    year = {2018},
    isbn = {978-2-283-03113-1},
    place = {Paris},
    pagetotal = {475}
}

@INCOLLECTION{Canta1991,
    author = {Cantagrel, Gilles},
    title = {{{J}}ean-{{S}}\'{e}bastien {{B}}ach},
    booktitle = {Guide de la musique d'orgue},
    edition = {Premi\`{e}re édition},
    pages = {47-143},
    pagetotal = {840},
    bookauthor = {Cantagrel Gilles},
    isbn = {2-213-02772-2},
    year = {1991},
    publisher = {\'{E}ditions Fayard},
    place = {Paris}
}

@BOOK{Dufourq1948,
    author = {Dufourq, Norbert},
    title = {Jean-Sébastien Bach - Le maître de l'orgue},
    publisher = {\'{E}ditions Picard},
    edition = {Troisi\`{e}me édition},
    year = {1984},
    isbn = {2-7084-0099-1},
    place = {Paris},
    pagetotal = {400},
    type = {book},
}

@MISC{Bachdigital,
    author = {Bach~Digital},
    title = {Portail {{B}}ach pour la recherche et la pratique musicale},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/content/index.xed}}
}

@MISC{Bachdigital2,
    author = {Bach~Digital},
    title = {Leonhard {{S}}cholz (1720 - 1798). Organiste, papetier et marchand sp\'{e}cialis\'{e} \`{a} {{N}}uremberg},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/staticpages/bio/scholz_l.html}}
}

@MISC{Bachdigital3,
    author = {Bach~Digital},
    title = {Mempell {{J.N.}}, {{P}}artition, compilation manuscrite en 1730-1740 au sein d'une liasse},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/receive/BachDigitalSource_source_00003352}}
}

@MISC{Bachdigital4,
    author = {Bach~Digital},
    title = {Mempell {{J.N.}}, {{P}}artition, compilation manuscrite en 1730-1740 au sein d'une liasse},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/receive/BachDigitalSource_source_00003352}}
    }

@MISC{Bachdigital5,
    author = {Bach~Digital},
    title = {Leonhard {{S}}cholz (1720 - 1798). Organiste, papetier et marchand sp\'{e}cialis\'{e} \`{a} {{N}}uremberg},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/staticpages/bio/scholz_l.html}}
}

@MISC{Bachdigital6,
    author = {Bach~Digital},
    title = {Mempell {{J.N.}}, {{P}}artition, compilation manuscrite en 1730-1740 au sein d'une liasse},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/receive/BachDigitalSource_source_00003352}}
}

@MISC{Bachdigital7,
    author = {Bach~Digital},
    title = {Mempell {{J.N.}}, {{P}}artition, compilation manuscrite en 1730-1740 au sein d'une liasse},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/receive/BachDigitalSource_source_00003352}}
    }

@MISC{Bachdigital8,
    author = {Bach~Digital},
    title = {Portail {{B}}ach pour la recherche et la pratique musicale},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/content/index.xed}}
}

@MISC{Bachdigital9,
    author = {Bach~Digital},
    title = {Leonhard {{S}}cholz (1720 - 1798). Organiste, papetier et marchand sp\'{e}cialis\'{e} \`{a} {{N}}uremberg},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/staticpages/bio/scholz_l.html}}
}

@MISC{Bachdigital10,
    author = {Bach~Digital},
    title = {Mempell {{J.N.}}, {{P}}artition, compilation manuscrite en 1730-1740 au sein d'une liasse},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/receive/BachDigitalSource_source_00003352}}
}

@MISC{Bachdigital11,
    author = {Bach~Digital},
    title = {Mempell {{J.N.}}, {{P}}artition, compilation manuscrite en 1730-1740 au sein d'une liasse},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/receive/BachDigitalSource_source_00003352}}
    }

@MISC{Bachdigital12,
    author = {Bach~Digital},
    title = {Leonhard {{S}}cholz (1720 - 1798). Organiste, papetier et marchand sp\'{e}cialis\'{e} \`{a} {{N}}uremberg},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/staticpages/bio/scholz_l.html}}
}

@MISC{Bachdigital13,
    author = {Bach~Digital},
    title = {Mempell {{J.N.}}, {{P}}artition, compilation manuscrite en 1730-1740 au sein d'une liasse},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/receive/BachDigitalSource_source_00003352}}
}

@MISC{Bachdigital14,
    author = {Bach~Digital},
    title = {Mempell {{J.N.}}, {{P}}artition, compilation manuscrite en 1730-1740 au sein d'une liasse},
    year = {2008-2020},
    howpublished = {\url{https://www.bach-digital.de/receive/BachDigitalSource_source_00003352}}
    }

答案1

您可以\printbibheading仅打印(整体)书目标题,然后可以用于\printbibliography子书目。

您想要的布局将由

\begin{fullwidth}
  \printbibheading[heading=bibintoc,title={Bibliographie}]
  \printbibliography[nottype=misc,heading=subbibintoc,title=Sources bibliographiques]
  \printbibliography[type=misc,heading=subbibintoc,title=Sources internet]
\end{fullwidth}

但如果你把它添加到你的代码中,事情就不会正常工作,因为

\defbibheading{bibintoc}[\bibname]{%
  \chapter*{#1}\markboth{#1}{}%
}

重新定义bibintoc使其不再像广告中说的那样发挥作用。

移除方块

\defbibheading{bibintoc}[\bibname]{%
  \chapter*{#1}\markboth{#1}{}%
}

从您的代码中。

在你这样做的同时,还要删除

\defbibenvironment{bibliography}
  {\list{}{\parsep\bibparsep}}
  {\endlist}
  {\item}


\AtEveryBibitem{\hskip-\bibhang}

使用以下代码

\documentclass[a4paper,nobib,twoside,symmetric,justified,marginals=raggedouter]{tufte-book}
\PrintTufteSettings

\usepackage[french]{babel}
\geometry{%
paperheight  =297mm, paperwidth  = 210mm,  %layout=a4paper
layoutheight =240mm,layoutwidth  =170mm,
textheight=38\baselineskip,
headheight=\baselineskip,
left=15mm,
bindingoffset= 5mm, % add space for binding
textwidth=90mm,
top=14mm,
marginparsep=6mm,   marginparwidth=40mm,
includehead,
layoutvoffset= 28.5mm,layouthoffset= 20mm,
showframe=false,
showcrop=true }

\renewenvironment{fullwidth}
{\newgeometry{% full width pages
    layoutheight =240mm,layoutwidth  =170mm,
    textheight=38\baselineskip,
    headheight=\baselineskip,
    left=15mm,
    bindingoffset= 5mm,
    textwidth=136mm, 
    top=14mm,
    marginparsep=0mm,   marginparwidth=0mm,
    includehead,
    layoutvoffset= 28.5mm,layouthoffset= 20mm,
    showframe=false,
    showcrop=false }


\fancyhfoffset[LE]{0pt}
\fancyhfoffset[RO]{0pt}
}
{\restoregeometry}%

\usepackage{microtype}

\usepackage{csquotes}

\usepackage[backend=biber,style=authoryear-icomp]{biblatex}

\begin{filecontents}{\jobname.bib}
@MISC{Bachdigital,
  author = {{Bach Digital}},
  title  = {Portail {Bach} pour la recherche et la pratique musicale},
  date   = {2008/2020},
  url    = {https://www.bach-digital.de/content/index.xed},
}
@MISC{Bachdigital2,
  author = {{Bach Digital}},
  title  = {Leonhard {Scholz} (1720 - 1798).
            Organiste, papetier et marchand sp\'{e}cialis\'{e} \`{a} {Nuremberg}},
  date   = {2008/2020},
  url    = {https://www.bach-digital.de/staticpages/bio/scholz_l.html},
}
@MISC{Bachdigital3,
  author = {{Bach Digital}},
  title  = {Mempell {J.N.},
            Partition, compilation manuscrite en 1730-1740 au sein d'une liasse},
  date   = {2008/2020},
  url    = {https://www.bach-digital.de/receive/BachDigitalSource_source_00003352},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\usepackage{lipsum}% just for the example

\begin{document}
\frontmatter
\tableofcontents

\mainmatter
\chapter{Lorem}
\lipsum[1-25]

\nocite{*}

\begin{fullwidth}
  \printbibheading[heading=bibintoc,title={Bibliographie}]
  \printbibliography[nottype=misc,heading=subbibintoc,title=Sources bibliographiques]
  \printbibliography[type=misc,heading=subbibintoc,title=Sources internet]
\end{fullwidth}
\end{document}

我明白了

“Bibliographie”作为总标题,然后“Sources bibliographiques”作为副标题,后面跟着书目条目

页眉:左页有“书目”。

“互联网来源”子书目

如果你不想让标题全部大写,请添加

\providecommand*{\MakeMarkcase}[1]{#1}

加载后biblatex

相关内容