在我的梵文文本版本中,我使用来源的缩写而不是“作者年份”。按照一些建议,我发现只有我想要的格式,但我需要删除或隐藏重复的缩写,即在下面的例子中,我需要删除列表中的第二个 HBṬ 和 PV。真诚感谢任何建议。
平均能量损失:
\documentclass[a4paper,11pt,twoside]{book}
\usepackage{polyglossia}
\setotherlanguage{sanskrit}
\setdefaultlanguage{english}
\usepackage[authordate,backend=biber]{biblatex-chicago}
\addbibresource{bibresource-test.bib}
\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}
\setstanzaindents{1,1,1,1,1,1,1,1,1}
\setlength{\parindent}{0pt}
\makeatletter
%\setlength{\bibitemsep}{0.5\baselineskip plus 0.5\baselineskip}
\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}%
% \printtext[brackets]{\usebibmacro{cite}}%
\printtext{\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{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}
还有圣经资源:
@misc{HBṬ,
entrysubtype = {classical},
title = {HBṬ },
note = {Hetubinduṭīkā (Arcaṭa)},
related = {Sanghavi-Jinavijayaji1949},
keywords = {pri}
}
@misc{PV,
entrysubtype = {classical},
title = {PV },
note = {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}
}
答案1
如果我理解你的意思,我建议你使用shorthand
缩写字段(HBṬ和光伏)。在 方面,biblatex-chicago
的authordate
行为有点奇怪shorthands
,因此我建议您使用该选项cmslos=false,
来恢复更正常的shorthand
行为。
\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}
\setstanzaindents{1,1,1,1,1,1,1,1,1}
\setlength{\parindent}{0pt}
\makeatletter
%\setlength{\bibitemsep}{0.5\baselineskip plus 0.5\baselineskip}
\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}