自定义引用中的分隔符

自定义引用中的分隔符

我正在使用\parentcites它来生成二次引用。

%!TEX program = lualatex
\documentclass{article}
\usepackage[backend=biber,style=apa]{biblatex}

%\renewcommand{\compcitedelim}{\multicitedelim}

%\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
  @book{Pia75,
    author = {Piaget, Jean},
    title = {L'équilibration des strustures cognitives},
    publisher = {Presses Universitaires de France},
    year = {1975}
  }

  @incollection{Pia1975,
    author         = {Piaget, Jean},
    booktitle      = {The Process of Child Development},
    publisher      = {{Jason Aronson}},
    editor         = {Neubauer, P. B.},
    title          = {Piaget's theory},
    year           = {1975}
  }

  @incollection{Du91,
    author = {Dubinsky, Ed},
    title = {Reflective Abstraction in Advanced Mathematical Thinking},
    booktitle = {Advanced Mathematical Thinking},
    editor = {Tall, David},
    publisher = {Dordrecht: Kluwer},
    year = {1991},
    options = {skipbib=true}
  }
\end{filecontents*}

\addbibresource{\jobname.bib}

\begin{document}

\parencites{Pia75}[as cited in][]{Du91}

\parencites{Pia1975}[as cited in][]{Du91}

\printbibliography
\end{document}

这没有问题。具体来说,西班牙语的新 APA 标准要求箭头指示的分隔符是逗号而不是分号。我该如何修改它?

在此处输入图片描述

答案1

您可以\multicitedelim按如下方式修改

\renewcommand*{\multicitedelim}{\addcomma\space}}

但如果您仅希望将其用于二次引用,则可能需要将其打包在新命令中。

\documentclass{article}
\usepackage[backend=biber,style=apa]{biblatex}

\newcommand*{\secondaryparencites}{%
  \AtNextMultiCite{%
    \renewcommand*{\multicitedelim}{\addcomma\space}}%
  \parencites}

\begin{filecontents*}{\jobname.bib}
@book{Pia75,
  author = {Piaget, Jean},
  title = {L'équilibration des strustures cognitives},
  publisher = {Presses Universitaires de France},
  year = {1975}
}
@incollection{Pia1975,
  author         = {Piaget, Jean},
  booktitle      = {The Process of Child Development},
  publisher      = {{Jason Aronson}},
  editor         = {Neubauer, P. B.},
  title          = {Piaget's theory},
  year           = {1975},
}
@incollection{Du91,
  author = {Dubinsky, Ed},
  title = {Reflective Abstraction in Advanced Mathematical Thinking},
  booktitle = {Advanced Mathematical Thinking},
  editor = {Tall, David},
  publisher = {Dordrecht: Kluwer},
  year = {1991},
  options = {skipbib=true}
}
\end{filecontents*}
\addbibresource{\jobname.bib}

\begin{document}
\secondaryparencites{Pia75}[as cited in][]{Du91}

\secondaryparencites{Pia1975}[as cited in][]{Du91}

\printbibliography
\end{document}

(Piaget,1975a,引自 Dubinsky,1991) (Piaget,1975b,引自 Dubinsky,1991)

相关内容