![仅在脚注中激活“ibidtracker”和“idemtracker”(authortitle-dw 样式)](https://linux22.com/image/447601/%E4%BB%85%E5%9C%A8%E8%84%9A%E6%B3%A8%E4%B8%AD%E6%BF%80%E6%B4%BB%E2%80%9Cibidtracker%E2%80%9D%E5%92%8C%E2%80%9Cidemtracker%E2%80%9D%EF%BC%88authortitle-dw%20%E6%A0%B7%E5%BC%8F%EF%BC%89.png)
我正在使用书目样式authortitle-dw
,并试图弄清楚是否可以仅在脚注中激活“ibidtracker”和“idemtracker”。我在正文中使用速记来引用一些来源(使用 \parencite 命令括起来),并且我不希望“ibid”/“ebd.”应用于正文中括号中引用的速记。
我想要得到的是:
文本文本文本(速记 1,第 X 页)文本文本文本(1)文本文本文本(速记 1,第 X 页)文本文本文本(2)。
––––––––––––
(1)来源1。
(2)Ebd。
有人能帮助我实现这个吗?任何帮助都将不胜感激!
以下是 MWE:
\documentclass[12pt, a4paper, openany]{report}
\usepackage[left=5cm, top=2cm, right=3.5cm, bottom=3.5cm]{geometry}
\raggedbottom
\usepackage{mystyle}
\usepackage{endnotes}
\begin{document}
Text Text Text \parencite[1]{WRP} Text Text Text\footnote{\cite[1]{Wellmer}} Text Text Text \parencite[1]{WRP} Text Text Text\footnote{\cite[1]{Wellmer}}.
\end{document}
以下是我的文件中的内容mystyle.sty
:
\ProvidesPackage{mystyle}[2020/05/21 FUX's custom LaTeX style]
%Custom preamble
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{betababel}
\usepackage{csquotes}
%Das Nachfolgende ist der Zitationsstil mit allen seinen Optionen:
\usepackage[
backend=biber,
style=authortitle-dw,
useprefix=true,
sortlocale=de_DE,
natbib=true,
url=false,
doi=false,
eprint=false,
nopublisher=true,
nolocation=false,
citedas=true,
citeauthorname=firstfull,
firstfull=true,
acronyms=true,
idembib=true,
idembibformat=dash,
edbyidem=true,
editorstring=parens,
ibidtracker=context,
editionstring=true,
series=beforeedition,
seriesformat=standard,
shorthandinbib=false,
terselos=true,
pageref=false,
loccittracker=true,
idemtracker=true,
shorthandwidth=108pt,
citepages=separate,
]{biblatex}
\renewbibmacro*{cite}{%
\usebibmacro{cite:citepages}%
\global\boolfalse{cbx:loccit}%
\ifbool{cbx:inreffull}
{\usebibmacro{cite:inreffull}}
{\ifbool{cbx:firstfull}
{\ifciteseen
{\usebibmacro{cite:normal}}
{\iffieldundef{shorthand}
{\usebibmacro{cite:firstfull}}
{\usebibmacro{cite:normal}}}}
{\usebibmacro{cite:normal}}}}
\addbibresource{literatur.bib}
以下是我的literatur.bib
文件内容:
@book{Wellmer,
author = {Wellmer, Albrecht},
title = {Sprachphilosophie. Eine Vorlesung},
shorttitle = {Sprachphilosophie},
editor = {Hoffmann, Thomas and Rebentisch, Juliane and Sonderegger, Ruth},
publisher = {Suhrkamp},
year = 2004,
address = {Frankfurt/M.},
}
@book{WRP,
author = {Kripke, Saul A.},
title = {Wittgenstein über Regeln und Privatsprache. Eine elementare Darstellung},
options = {acronym=true},
shorthand = {WRP},
publisher = {Suhrkamp},
year = 1987,
address = {Frankfurt/M.},
}