
我必須authordate
在我的專案中使用,除非是國會聽證會等合法條目。在這種情況下,我應該第一次完整引用它,然後使用簡寫。不幸的是,這對我不起作用,如果我使用\autocite
,我只能得到簡寫。我意識到我可以\fullcite
第一次使用,但這需要大量的注意力,因此很容易出錯。我認為這可能與作者日期設定有關,因為如果我使用註釋,它確實會按預期工作。這些通常是軟體包選項:
這些是我使用的選項biblatex-chicago
。
\usepackage[authordate,backend=biber,hyperref=true, cmsdate=both,sortcites, uniquename=init]{biblatex-chicago}
我希望我在某種程度上忽略了序言的一個選項?我將不勝感激任何幫助!謝謝!
編輯
例如,有兩個圍兜條目:
@legislation{Congress.20180417,
title = {Reinforcing the US--Taiwan relationship},
series = {115th Congress (2nd)},
subtitle = {House Hearing 115-147 before the Subcommittee on Asia and the Pacific of the Committee on Foreign Affairs House of Representatives},
abstract = {},
pagetotal = {75},
shorthand = {House Hearing 115-147},
entrysubtype = {hearing},
date = {2018-04-17}
}
@article{Diamond2000,
author = {Diamond, Larry and Myers, Ramon H.},
year = {2000},
title = {Introduction: Elections and democracy in greater China},
url = {https://www.state.gov/communist-china-and-the-free-worlds-future/},
pages = {365},
pagination = {page},
issn = {0305-7410},
journaltitle = {The China Quarterly},
abstract = {}}
這就是我引用它們的方式
\begin{document}
Lalalala\footcite{Congress.20180417}, which and then later \textcite{Diamond2000} confirms, and then back to blablabla{Congress.20180417}.
\printbibliography
答案1
這裡嘗試強制biblatex-chicago
'sauthordate
產生合法引用的完整首次引用 ( @legislation
, @legal
, @jurisdiction
)。
答案的核心是引入一個測試,如果這是法律著作對原始cite
bibmacro(可以在 中找到chicago-dates-common.cbx
)的第一次引用。
\documentclass[american]{article}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[authordate, backend=biber, cmsdate=both, sortcites, uniquename=init]{biblatex-chicago}
\makeatletter
\newcommand*{\iflegaltype}{%
\ifentrytype{legislation}
{\@firstoftwo}
{\ifentrytype{legal}
{\@firstoftwo}
{\ifentrytype{jurisdiction}}}}
\newcommand*{\iflegallongcite}{%
\ifciteseen
{\@secondoftwo}
{\iflegaltype}}
\renewbibmacro*{cite}{%
\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}%
{\usebibmacro{cite:ibid}}%
{\iflegallongcite
{\usebibmacro{cite:full}}
{\ifboolexpr{%
togl {cms@authortitle}%
or
test {\iffieldequalstr{entrysubtype}{classical}}%
}% Similar to notes+bib
{\iffieldundef{shorthand}%
{\ifthenelse{\ifnameundef{labelname}\OR
\ifentrytype{inreference}\OR
\ifentrytype{reference}\OR
\ifentrytype{mvreference}}% Simplified for CMS
{\usebibmacro{cite:label}%
\setunit{\cms@testspace}% Is this right?
\usebibmacro{cite:reinit}}%
{\iffieldequals{fullhash}{\cbx@lasthash}%
{\iffieldundef{postnote}%
{\setunit{\multicitedelim}}%
{}%
\usebibmacro{cite:label}}%
{\iffieldequals{fullhash}{\cbx@lastyear}%
{}%
{\usebibmacro{cmsbracketname}% For names in []
\ifthenelse{\ifentrytype{misc}\AND%
\iffieldequalstr{entrysubtype}{classical}}%
{\cms@testspace}{\newcunit}}% Wrong?
\ifthenelse{\ifentrytype{manual}\OR\ifentrytype{standard}}%
{\printtext[cmshyper]{\printfield[citetitle]{labeltitle}}}%
{\usebibmacro{cite:label}}%
\iffieldundef{postnote}%
{\savefield{fullhash}{\cbx@lasthash}}%
{\savefield{fullhash}{\cbx@lastyear}}}}}%
{\usebibmacro{cite:shorthand+title}}}%
{\iffieldundef{shorthand}%
{\ifthenelse{\ifnameundef{labelname}\OR
\ifentrytype{inreference}\OR
\ifentrytype{reference}\OR
\ifentrytype{mvreference}}% Simplified for CMS
{\usebibmacro{cite:label}%
\setunit{\nameyeardelim}%cms@testspace%
\usebibmacro{cmscitesortdate}%
\usebibmacro{cite:reinit}}%
{\iffieldequals{fullhash}{\cbx@lasthash}%
{\iffieldundef{postnote}%
{\setunit{\compcitedelim}}%
{}%
\usebibmacro{cmscitesortdate}}%
{\iffieldequals{fullhash}{\cbx@lastyear}% Is this right?
{}%
{\usebibmacro{cmsbracketname}%
\setunit{\nameyeardelim}}%
\usebibmacro{cmscitesortdate}%
\iffieldundef{postnote}%
{\savefield{fullhash}{\cbx@lasthash}}%
{\savefield{fullhash}{\cbx@lastyear}}}}}%
{\usebibmacro{cite:shorthand}}}}}%
\setunit{\multicitedelim}}% ???
\makeatother
\begin{filecontents}{\jobname.bib}
@legislation{Congress.20180417,
title = {Reinforcing the US--Taiwan relationship},
series = {115th Congress (2nd)},
subtitle = {House Hearing 115-147
before the Subcommittee on Asia and the Pacific
of the Committee on Foreign Affairs
House of Representatives},
pagetotal = {75},
shorthand = {House Hearing 115-147},
entrysubtype = {hearing},
date = {2018-04-17},
}
@article{Diamond2000,
author = {Diamond, Larry and Myers, Ramon H.},
year = {2000},
title = {Introduction: Elections and democracy in greater China},
url = {https://www.state.gov/communist-china-and-the-free-worlds-future/},
pages = {365},
pagination = {page},
issn = {0305-7410},
journaltitle = {The China Quarterly},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Lalalala\footcite{Congress.20180417},
which and then later \textcite{Diamond2000} confirms,
and then back to blablabla\footcite{Congress.20180417}.
\printbibliography
\end{document}