我正在写一篇论文(法语),并使用 biblatex 来管理我的引文历史作为定义引用的样式。在我的论文中,我使用\printbibliography
在参考书目章节中显示所有引用。
我的大学特别要求添加“引用为(法语 cité)“(参考以下示例):
阿西莫夫·艾萨克,赤裸的太阳,伦敦 2018 年。(引用:阿西莫夫。)
阿尔甘·扬 / 卡泽纳夫·托马斯,初创状态,第一版,巴黎 2016 年。(引用:Algann / Cazenave。)
我搜索了很多,明白了这是一种反向引用,我想要的“引用为”是简短引用格式使用斜线 (/) 分隔姓氏(小型大写字母)。
但是,我不知道如何实现它。任何帮助都将不胜感激。提前致谢。
以下是 MWE:
\documentclass[
french,
10 pt,
openright
]{article}
\usepackage[utf8]{inputenc}
\usepackage[style=geschichtsfrkl,
backend=biber,
sorting=nyt]{biblatex}
\addbibresource{\thesis.bib}
\usepackage{filecontents}
\begin{filecontents}{\thesis.bib}
@article{deroudille2019extraterritorialite,
title={L’extraterritorialit{\'e} du RGPD dans le contexte du “Cloud Act”},
author={Deroudille, Alexis and Fatah, Farid},
journal={Revue du marche commun et de l'Union Europ{\'e}enne},
number={630},
pages={442--452},
year={2019},
publisher={{\'E}ditions Techniques et Economiques}
}
@article{decaux1987application,
title={L'application extraterritoriale du droit {\'e}conomique},
journal = {Cahiers du Centre de Droit International de Nanterre},
number = {3},
author={Decaux, Emmanuel},
year={1987},
publisher={JSTOR}
}
@article{lehmann_m_legal_2017,
title = {Legal fragmentation, extraterritoriality and uncertainty in global financial regulation},
volume = {37},
issn = {0143-6503},
%language = {English},
number = {2},
journal = {Oxford Journal of Legal Studies},
author = {{Lehmann}, Matthias},
pages = {406-434},
year = {2017},
note = {OCLC: 7086651768},
pages = {406--434}
}
\end{filecontents}
\begin{document}
\chapter{Bibliographie}
\nocite{*}
\printbibliography
\end{document}
答案1
下面将依赖 的参考书目添加“引用为”/“cité”信息cite:short
。因此,如果您多次引用该条目,则那里的输出应该与您在引文中获得的输出相同。
citedas
我从我的回答中获取了宏的代码基于我的自定义 Biblatex 样式的 DeclareBibliographyDriver 的格式问题。
\documentclass[french]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber,
style=geschichtsfrkl,
sorting=nyt,
citecounter,
]{biblatex}
\DefineBibliographyStrings{french}{
citedas = {cit\'e},
}
\renewbibmacro*{finentry}{%
\ifbibliography
{\setunit{\finentrypunct\space}%
\ifnumgreater{\value{citecounter}}{0}
{\usebibmacro{citedas}%
\renewcommand*{\finentrypunct}{}}
{}}
{}%
\finentry}
\newbibmacro{citedas}{%
\printtext[parens]{%
\bibstring{citedas}%
\addcolon\space
\usebibmacro{citedas:cite}}}
\makeatletter
\newbibmacro{citedas:cite}{%
\begingroup
\delimcontext{cite}%
\DeclareFieldFormat{bibhyperref}{##1}%
\csuse{blx@hook@cite}%
\csuse{blx@hook@citekey}%
\undef\cbx@lasthash
\undef\cbx@lastyear
\citetrackerfalse\pagetrackerfalse\backtrackerfalse
\defcounter{maxnames}{\blx@maxcitenames}%
\usebibmacro{cite:short}%
\endgroup
}
\makeatother
\begin{filecontents}{\jobname.bib}
@article{deroudille,
title = {L'extraterritorialité du RGPD dans le contexte du “Cloud Act”},
author = {Deroudille, Alexis and Fatah, Farid},
journal = {Revue du marche commun et de l'Union Européenne},
number = {630},
pages = {442--452},
year = {2019},
}
@article{decaux,
title = {L'application extraterritoriale du droit économique},
journal = {Cahiers du Centre de Droit International de Nanterre},
number = {3},
author = {Decaux, Emmanuel},
year = {1987},
}
@article{lehmann,
title = {Legal fragmentation, extraterritoriality and uncertainty
in global financial regulation},
volume = {37},
issn = {0143-6503},
number = {2},
journal = {Oxford Journal of Legal Studies},
author = {Lehmann, Matthias},
pages = {406-434},
year = {2017},
note = {OCLC: 7086651768},
pages = {406--434},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\nocite{*}
\begin{document}
Lorem\footcite{lehmann} ipsum\footcite{decaux}
Lorem\footcite{lehmann} ipsum
\printbibliography
\end{document}