![第二个足迹显示不正确](https://linux22.com/image/302848/%E7%AC%AC%E4%BA%8C%E4%B8%AA%E8%B6%B3%E8%BF%B9%E6%98%BE%E7%A4%BA%E4%B8%8D%E6%AD%A3%E7%A1%AE.png)
如果我两次使用相同的脚注,它不会以正确的形式显示。除此之外,我想计算脚注/注释,而不是按页计算,而是按整个文档计算。因此,第二章的引用必须是第 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}
输出: