![自定义引用中的分隔符](https://linux22.com/image/474237/%E8%87%AA%E5%AE%9A%E4%B9%89%E5%BC%95%E7%94%A8%E4%B8%AD%E7%9A%84%E5%88%86%E9%9A%94%E7%AC%A6.png)
我正在使用\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}