Biblatex:哲学-详细

Biblatex:哲学-详细

我想同时使用 philosophy-verbose 和 bibcitefn 选项作为 smallcaps-author。我证明只有使用 philosophy-classic 风格才有可能实现这种匹配,但是导游(第 15 页)告诉我们,哲学冗长的风格也是可能的。

这是我的号码牌代码。

\usepackage[style=italian]{csquotes}
\usepackage[style=philosophy-verbose,scauthors=bibcitefn,backend=biber]{biblatex}

然后,这是一个例子,我提醒你,这个例子中下面的大写字母应该是小写字母。

因此,记录:

这是我页面的正文。下面是我想引用的一位作者的名字:他是前总统特朗普,他说如果他今天还是总统,俄罗斯就不会入侵乌克兰 (1)。


1. 特朗普我的话,牛津大学出版社,牛津 2022,第 5 页。

而这个文件的代码应该是:

This is the body of my page. Follows the name of one author I want to cite: he is \citeauthor{trump2022}, the former potus and he said that if he were still the potus today, Russia wouldn't invade Ukraine \footcite[5]{trump2022}.

参考书目:

条目

另一条目

D.特朗普,我的话,牛津大学出版社,牛津 2022。

另一条目

有人能帮助我吗?

遵循一个工作示例。

\documentclass[11pt]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage[italian]{babel}
\usepackage[style=italian]{csquotes}
\usepackage[style=philosophy-verbose,autocite=footnote,scauthors=bibcitefn,classical=true,giveninits=true,uniquename=init,editionformat=romansc,volnumformat=strings,volumeformat=romansc,sorting=nyvt,loccittracker=context,idemtracker=constrict,latinemph=true,indexing=cite,uniquework=true,minnames=2,uniquetitle=true,backend=biber]{biblatex}
\AtBeginBibliography{\DeclareNameFormat{sortname}{\iftoggle{bbx:scauthorsbib}{\usebibmacro{bbx:scswitch}}{}\nameparts{#1}\ifgiveninits{\usebibmacro{name:given-family}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}}{\usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}}\usebibmacro{name:andothers}}}
\renewbibmacro*{publisher+location+date}{\printlist{publisher}\iflistundef{location}{\setunit*{\addcomma\space}}{\setunit*{\addcomma\space}}\printlist{location}\setunit*{~}\usebibmacro{date}\newunit}
\addbibresource{quoted.bib}
\usepackage{hyperref}
\title{layout}\author{Francesco Contini}\date{May 2022}
\begin{document}
\maketitle
\tableofcontents
\chapter{My title}
This is the body of my page. Follows the name of one author I want to cite: he is \citeauthor{trump2022}, the former potus and he said that if he were still the potus today, Russia wouldn't invade Ukraine \footcite[5]{trump2022}.
\printbibliography
\end{document}

答案1

在某种程度上,biblatex完整引文的实施通常会混合引文和参考书目设置。这意味着,当提供区分引文和参考书目输出的选项时,它们有时会被忽略。

以下重新定义尝试使脚注中的引用也响应,但即使这在所有边缘情况下都按您希望的方式工作,如果文档表明应该按照您的预期执行bibcitefn,您可能仍希望联系开发人员biblatex-philosophybibcitefn

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}

\usepackage[style=italian]{csquotes}
\usepackage[backend=biber, style=philosophy-verbose, scauthors=bibcitefn]{biblatex}

\makeatletter
\newcommand*{\ifwantsc}{%
  \iftoggle{cbx:scauthorscite}
    {\@firstoftwo}
    {\iftoggle{cbx:scauthorscitefn}
       {\iffootnote}
       {\@secondoftwo}}
}
\makeatother

\renewbibmacro{cite:full:noshorthand}{%
  \usebibmacro{cite:full:citepages}%
  \global\toggletrue{cbx:fullcite}%
  \printtext[bibhypertarget]{%
    \usedriver
      {\ifwantsc
         {\DeclareNameAlias{sortname}{scdefault}}%
         {\DeclareNameAlias{sortname}{default}}}%
      {\thefield{entrytype}}}}

\addbibresource{biblatex-examples.bib}

\begin{document}
Lorem \citeauthor{sigfridsson}
ipsum \footcite[380]{sigfridsson}.
dolor \footcite{worman}
ipsum \footcite[381]{sigfridsson}.

\printbibliography
\end{document}

1 Emma Sigfridsson 和 Ulf Ryde,“从电势和电势矩推导原子电荷的方法比较”,计算化学杂志,19,4(1998 年),第 377-395 页,doi:10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P,第 380 页。

相关内容