自定义 Incollection 作者和编辑者字段

自定义 Incollection 作者和编辑者字段

我的出版商希望我将所有编辑和作者字段都以纯文本显示,但实际上我在 Incollections 中将它们以小写字母显示。我该如何解决这个问题?

梅威瑟:

% !BIB TS-program = biber
% !BIB program = biber
% !TEX encoding = UTF-8 Unicode
% !TeX TS-program = xelatexmk

\begin{filecontents}{archivio.bib}


@incollection{Sch:Pho,
    Address = {Paris},
    Author = {Jacques Schamp},
    Booktitle = {Dictionnaire des Philosophes Antiques},
    Editor = {Richard Goulet},
    Langid = {french},
    Publisher = {\textsc{cnrs}},
    Title = {Photios},
    Year = {2012}}

\end{filecontents}

\documentclass[11pt, openany]{book}
\usepackage{polyglossia}
\setmainlanguage[babelshorthands=true]{italian}
\setotherlanguages{latin, english, french}

\usepackage[]{csquotes}
\usepackage{xpatch}
\usepackage[style=verbose-trad2,
            language=auto,
            ibidpage=true,
            autolang=other,% use new option name
            useprefix=true,
            giveninits=true,
            indexing=true,% or cite?
            citepages=separate,%
            dateabbrev=false,
            backend=biber,
        ]{biblatex}
\addbibresource{Archivio.bib}   

\DeclareFieldFormat[article, inbook, incollection, inproceedings]{title}{\mkbibemph{#1}}
\DeclareFieldFormat[book, inbook, incollection, inproceedings]{volume}{#1}
\DeclareFieldFormat[article, inbook, incollection, inproceedings]{citetitle}{\mkbibemph{#1}}

\begin{document}

\textit{Incollection:}\\
\cite[]{Sch:Pho}\\

\printbibliography
\end{document}

答案1

您的示例中的小写字母不会出现,因为这是一个incollection条目,而是因为该特定条目具有langid={french}并且您将其用作autolang=otherbiblatex 设置。并且french.lbx设置为以小写字母排版姓氏。由于您想保留语言规范,您应该使用以下内容重新定义它french

\DefineBibliographyExtras{french}{%
  \renewcommand*{\mkbibnamefamily}[1]{\textnohyphenation{#1}}%
}

在全:

% !BIB TS-program = biber
% !BIB program = biber
% !TEX encoding = UTF-8 Unicode
% !TeX TS-program = xelatexmk

\begin{filecontents}{archivio.bib}


@incollection{Sch:Pho,
    Address = {Paris},
    Author = {Jacques Schamp},
    Booktitle = {Dictionnaire des Philosophes Antiques},
    Editor = {Richard Goulet},
    Langid = {french},
    Publisher = {\textsc{cnrs}},
    Title = {Photios},
    Year = {2012}}

\end{filecontents}

\documentclass[11pt, openany]{book}
\usepackage{polyglossia}
\setmainlanguage[babelshorthands=true]{italian}
\setotherlanguages{latin, english, french}


\usepackage[]{csquotes}
\usepackage{xpatch}
\usepackage[style=verbose-trad2,
            language=auto,
            ibidpage=true,
            autolang=other,% use new option name
            useprefix=true,
            giveninits=true,
            indexing=true,% or cite?
            citepages=separate,%
            dateabbrev=false,
            backend=biber,
            ]{biblatex}

\DefineBibliographyExtras{french}{%
  \renewcommand*{\mkbibnamefamily}[1]{\textnohyphenation{#1}}%
}

\addbibresource{Archivio.bib}   

\DeclareFieldFormat[article, inbook, incollection, inproceedings]{title}{\mkbibemph{#1}}
\DeclareFieldFormat[book, inbook, incollection, inproceedings]{volume}{#1}
\DeclareFieldFormat[article, inbook, incollection, inproceedings]{citetitle}{\mkbibemph{#1}}

\begin{document}

\textit{langid={french}:}\\
\cite[]{Sch:Pho}\\

\printbibliography
\end{document}

在此处输入图片描述

相关内容