.png)
Мне нужно использовать authordate
в своем проекте, если только это не юридические записи, такие как слушания в Конгрессе. В этом случае я должен ссылаться на него полностью в первый раз, а затем использовать стенографию. К сожалению, это не работает для меня, если я использую \autocite
, я получаю только стенографию. Я понимаю, что могу использовать \fullcite
в первый раз, но это потребует много внимания и, следовательно, подвержено ошибкам. Я думаю, что это, вероятно, как-то связано с настройкой authordate, поскольку если я использую заметки вместо этого, это работает так, как и ожидалось. Вот в общем случае параметры пакета:
Это параметры, которые я использую для 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
's authordate
выдавать полные первые цитаты для юридических ссылок ( @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}