我对两组源使用了和 的封装authordate
风格。主要问题已经解决(参见biblatex-chicago
Primary Sources
Secondary Sources
删除参考书目中的重复条目我现在想要的是将次要来源中的出版年份移到条目的末尾,就像在主要来源中一样;更准确地说,在上面链接的例子中,我想将“1971-72”移到末尾,即更改
Miyasaka, YŪsho 编辑,1971-72 年,《Pramāṇavarttika-Kārikā》(梵文和藏文),2 卷,Naritasan Shinshoji
到
Miyasaka, YŪsho 编辑,Pramāṇavarttika-Kārikā(梵文和藏文),2 卷,Naritasan Shinshoji,1971-72 年。
为了方便读者,我在这里粘贴MWE:
\documentclass[a4paper,11pt,twoside]{book}
\usepackage{polyglossia}
\setotherlanguage{sanskrit}
\setdefaultlanguage{english}
\usepackage[authordate,backend=biber, cmslos=false]{biblatex-chicago}
\usepackage[noend, nopenalties, nofamiliar, noeledsec, noledgroup, series={A,B}]{reledmac}
\Xarrangement[A,B]{paragraph}
\Xlemmaseparator[A]{{} \textbf{---}}
\Xlemmaseparator[B]{{} \textbf{:}}
\Xparafootsep{ $\diamond$ }
\lineation{page}
\firstlinenum{1}
\linenumincrement{1}
\Xnotenumfont{\sffamily}
\setcounter{stanzaindentsrepetition}{0}
\setstanzaindents{1,1,1,1,1,1,1,1,1}
\setlength{\parindent}{0pt}
\makeatletter
\newsavebox\ay@labelbox
\newlength{\labwidthsameline}
\setlength{\labwidthsameline}{3em}
\newbibmacro{labelwidthbib}{%
\begingroup
\DeclareFieldFormat{bibhyperref}{##1}%
\csuse{blx@hook@cite}%
\csuse{blx@hook@citekey}%
\global\undef\cbx@lasthash
\global\undef\cbx@lastyear
\citetrackerfalse\pagetrackerfalse\backtrackerfalse
\defcounter{maxnames}{\blx@maxcitenames}%
\usebibmacro{cite}%
\endgroup
}
%-----------------------
\newbibmacro{kicklabel}{%
\sbox\ay@labelbox{\usebibmacro{labelwidthbib}}%
\global\togglefalse{blx@insert}%
\ifdim\wd\ay@labelbox>\labwidthsameline
\leavevmode\newline
\fi
}
\defbibenvironment{bibliography}%
{\list
{\usebibmacro{labelwidthbib}}%
{\setlength{\labelwidth}{\labwidthsameline}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}%
\renewcommand*{\makelabel}[1]{##1\hss}}}%
{\endlist}%
{\item\usebibmacro{kicklabel}}
\makeatother
\renewcommand*{\newunitpunct}{\addcomma\space}
\begin{filecontents}{\jobname.bib}
@misc{HBṬ,
entrysubtype = {classical},
shorthand = {HBṬ},
title = {Hetubinduṭīkā (Arcaṭa)},
related = {Sanghavi-Jinavijayaji1949},
keywords = {pri},
}
@misc{PV,
entrysubtype = {classical},
shorthand = {PV},
title = {Pramāṇavārttikakārikā (Dharmakīrti), see \cite{Miyasaka1971}},
related = {},
keywords = {pri},
}
@book{Miyasaka1971,
editor = {Yūsho Miyasaka},
date = {1971/1972},
title = {Pramāṇavarttika-Kārikā (Sanskrit and Tibetan)},
%series = {Acta Indologica 2},
volumes = {2},
%publisher = {Naritasan Shishoji},
address = {Naritasan Shinshoji},
keywords = {sec},
}
@book{Sanghavi-Jinavijayaji1949,
editor = {Sukhlalji Sanghavi and Muni Shri Jinavijayaji},
title = {Hetubinduṭīkā of Bhaṭṭa Arcaṭa with the Sub-Commentary Entitled Āloka of Durveka Miśra},
volume = {},
address = {Baroda},
year = {1949},
keywords = {sec},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\Xmaxhnotes{.33\textheight}
\linenummargin{inner}
\beginnumbering \vspace{1cm}
\stanza
\edtext{bhāgā eva hi bhāsante sanniviṣṭās tathā tathā |&
tadvān anyaḥ punar naiva nirbhāgaḥ pratibhāsate ||}{\lemma{bhāgā\dots\ pratibhāsate}\Afootnote{\cite{HBṬ} 29,32 (p. 106.25--26)}}
\edtext{vicāraprastuter eva prasiddhaḥ. siddha āśrayaḥ |&
svecchākalpitabhedeṣu yadārtheṣv avivādataḥ ||}{\lemma{vicāraprastuter\dots\ avivādataḥ}\Afootnote{\cite{PV} 4.77}}\&
\pstart avayavānāṃ dharmitve vyatiriktaṃ paṭādidravyam ekam anirākṛtaṃ syād iti cet. nanv avayavavyaktiriktaṃ nāparaṃ paṭādidravyam upalabhyate. ...\pend
\endnumbering
\section*{\centering Bibliography}
\subsection*{Primary Sources}
\printbibliography[title=none,keyword=pri,heading=none]
\subsection*{Secondary Sources}
\printbibliography[title=none,keyword=sec,heading=none]
\end{document}
答案1
biblatex-chicago
是一种非常复杂的样式,因为它试图尽可能紧密地实现《芝加哥格式手册》非常复杂的规则。因此,修改(即使它们看起来像“应该简单”)可能非常困难。如果您打算进一步偏离芝加哥风格,我强烈建议您考虑使用其中一种biblatex
标准样式。与它们不同,biblatex-chocago
它们本来就很容易修改。
在这个特定的例子中,我认为我们只需重新定义一个 bibmacro 就可以获得所需的效果
\renewbibmacro*{cmsbibsortdate}{}
由于biblatex-chicago
非常复杂,这种改变很可能会产生副作用,所以请仔细检查输出。
\documentclass[a4paper,11pt,twoside]{book}
\usepackage{polyglossia}
\setotherlanguage{sanskrit}
\setdefaultlanguage{english}
\usepackage[authordate,backend=biber, cmslos=false]{biblatex-chicago}
\makeatletter
\newsavebox\ay@labelbox
\newlength{\labwidthsameline}
\setlength{\labwidthsameline}{3em}
\newbibmacro{labelwidthbib}{%
\begingroup
\DeclareFieldFormat{bibhyperref}{##1}%
\csuse{blx@hook@cite}%
\csuse{blx@hook@citekey}%
\global\undef\cbx@lasthash
\global\undef\cbx@lastyear
\citetrackerfalse\pagetrackerfalse\backtrackerfalse
\defcounter{maxnames}{\blx@maxcitenames}%
\usebibmacro{cite}%
\endgroup
}
%-----------------------
\newbibmacro{kicklabel}{%
\sbox\ay@labelbox{\usebibmacro{labelwidthbib}}%
\global\togglefalse{blx@insert}%
\ifdim\wd\ay@labelbox>\labwidthsameline
\leavevmode\newline
\fi
}
\defbibenvironment{bibliography}%
{\list
{\usebibmacro{labelwidthbib}}%
{\setlength{\labelwidth}{\labwidthsameline}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}%
\renewcommand*{\makelabel}[1]{##1\hss}}}%
{\endlist}%
{\item\usebibmacro{kicklabel}}
\renewbibmacro*{cmsbibsortdate}{}
\makeatother
\renewcommand*{\newunitpunct}{\addcomma\space}
\begin{filecontents}{\jobname.bib}
@misc{HBṬ,
entrysubtype = {classical},
shorthand = {HBṬ},
title = {Hetubinduṭīkā (Arcaṭa)},
related = {Sanghavi-Jinavijayaji1949},
keywords = {pri},
}
@misc{PV,
entrysubtype = {classical},
shorthand = {PV},
title = {Pramāṇavārttikakārikā (Dharmakīrti), see \cite{Miyasaka1971}},
related = {},
keywords = {pri},
}
@book{Miyasaka1971,
editor = {Yūsho Miyasaka},
date = {1971/1972},
title = {Pramāṇavarttika-Kārikā (Sanskrit and Tibetan)},
%series = {Acta Indologica 2},
volumes = {2},
%publisher = {Naritasan Shishoji},
address = {Naritasan Shinshoji},
keywords = {sec},
}
@book{Sanghavi-Jinavijayaji1949,
editor = {Sukhlalji Sanghavi and Muni Shri Jinavijayaji},
title = {Hetubinduṭīkā of Bhaṭṭa Arcaṭa with the Sub-Commentary Entitled Āloka of Durveka Miśra},
volume = {},
address = {Baroda},
year = {1949},
keywords = {sec},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\cite{HBṬ,PV}
\section*{\centering Bibliography}
\subsection*{Primary Sources}
\printbibliography[keyword=pri, heading=none]
\subsection*{Secondary Sources}
\printbibliography[keyword=sec, heading=none]
\end{document}