第二个足迹显示不正确

第二个足迹显示不正确

如果我两次使用相同的脚注,它不会以正确的形式显示。除此之外,我想计算脚注/注释,而不是按页计算,而是按整个文档计算。因此,第二章的引用必须是第 3 和第 4 个。下面是我的 MWE,显示了问题。

\documentclass[a4paper,dutch]{report}
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=bibtex,citestyle=verbose-ibid,bibstyle=numeric,sorting=nyt]{biblatex}
\renewcommand{\newunitpunct}{\addcomma\addspace}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{guardian1,
  author = {The Guardian},
  title = {Cyprus banks remain closed to prevent run on deposits},
  url = "http://www.theguardian.com/world/2013/mar/26/cyprus-banks-closed-prevent-run-deposits",
  urldate = "2014-11-15"
}
@misc{shrem3,
  author = "Shrem, Charlie",
  title = "",
  month = jan,
  year = "2014",
  howpublished = "Webwinkel Vakdagen"
  }
\end{filecontents}

\addbibresource{\jobname.bib}

\usepackage{xpatch}
\xpatchbibmacro{url+urldate}
  {\usebibmacro{urldate}}
  {\ifcitation{}{\usebibmacro{urldate}}}
  {}
  {}
\begin{document}


\chapter{Title}
Text and footcite\footcite[][]{guardian1} \footcite[][]{shrem3}

\chapter{Title2}
Text and footcite\footcite[][]{guardian1} \footcite[][]{shrem3}

\end{document}

答案1

该命令\footcite生成的脚注将被视为其他脚注。

report班级中,全部当新的章节开始时,脚注会被重置。

因此,如果您确实想要在请求中描述的行为,您可以在序言中添加以下几行:

\usepackage{chngcntr}
\counterwithout{footnote}{chapter}

这样footnote计数器就不会在每一章都重置,但请注意全部脚注也遵循此规则。

关于标题中的问题,我假设你想显示总是脚注中的完整引用。这可以通过使用\footfullcite而不是 来实现\footcite,或者添加行

\let\footcite\footfullcite

因此,每次使用时\footcite都在使用\footfullcite

完成 MWE:

\documentclass[a4paper,dutch]{report}
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=bibtex,citestyle=verbose,bibstyle=numeric,sorting=nyt,citereset=none]{biblatex}
\renewcommand{\newunitpunct}{\addcomma\addspace}
\let\footcite\footfullcite

\usepackage{chngcntr}
\counterwithout{footnote}{chapter}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{guardian1,
  author = {The Guardian},
  title = {Cyprus banks remain closed to prevent run on deposits},
  url = "http://www.theguardian.com/world/2013/mar/26/cyprus-banks-closed-prevent-run-deposits",
  urldate = "2014-11-15"
}
@misc{shrem3,
  author = "Shrem, Charlie",
  title = "",
  month = jan,
  year = "2014",
  howpublished = "Webwinkel Vakdagen"
  }
\end{filecontents}

\addbibresource{\jobname.bib}

\usepackage{xpatch}
\xpatchbibmacro{url+urldate}
  {\usebibmacro{urldate}}
  {\ifcitation{}{\usebibmacro{urldate}}}
  {}
  {}

\begin{document}


\chapter{Title}
Text and footcite\footcite[][]{guardian1} \footcite[][]{shrem3}

\chapter{Title2}
Text and footcite\footcite[][]{guardian1} \footcite[][]{shrem3}

\end{document} 

输出:

在此处输入图片描述

相关内容