I am trying to get full, bibliography-style citations in line using biblatex-chicago with biber
as the backend (I'm using XelaTeX; biblatex 2.9a; biblatex-chicago 2014.1.31). I understand this is normally done with the \fullcite
command, but when I enter this command, I get the exact same output as I do when I replace \fullcite
with \cite
, i.e., a citation that puts parentheses around the publisher, address, and date. (Actually, there is one difference between \fullcite
and \cite
in my document: \fullcite
prevents the reference from being abbreviated if it has appeared previously in the document.) When I use \printbibliography
, the citations appear correctly, in bibliography format.
I don't know if it matters, but I am using \documentclass{article}
(nothing changes if I change the class to, say, {book}
). I am also using some unusual code to format CJK bibliography entries, copied from a post by Audrey here at stackexchange (for which I am eternally grateful, by the way! Chicago-style citations of CJK documents (e.g. American Oriental Society): Name order; transcribed/translated titles). I do not understand this code, and so don't know whether it might be responsible for the behavior of \fullcite. A minimal working example is as follows:
\documentclass{article}
\usepackage{xltxtra}
\usepackage[fallback]{xeCJK}
\usepackage[backend=biber,bibencoding=utf8]{biblatex-chicago}
\addbibresource{C:/dissertate/Dissertation.bib}
\setmainfont[Mapping=tex-text, Ligatures={Common, Contextual, TeX}]{Times New Roman}
\setCJKmainfont[Scale=0.9]{仿宋}
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt
\forcsvlist{\listadd\nameaffixlist}{Junior,Senior}
\newcommand{\ifnameaffix}[1]{%
\ifboolexpr{ test {\ifrmnum{#1}} or test {\ifinlist{#1}{\nameaffixlist}} }}
% Based on definitions from biblatex.def
\newbibmacro*{name:cjk}[3]{%
\usebibmacro{name:delim}{#2#3#1}%
\usebibmacro{name:hook}{#2#3#1}%
\mkbibnamelast{#1}%
\ifblank{#2}{}{\bibnamedelimd\mkbibnamefirst{#2}}%
\ifblank{#3}{}{\bibnamedelimd\mkbibnameaffix{#3}}}
\DeclareNameFormat{first-last}{%
\ifboolexpr{ test {\ifblank{#7}} or test {\ifnameaffix{#7}} }
{\iffirstinits
{\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}}
{\usebibmacro{name:cjk}{#1}{#3}{#7}}%
\usebibmacro{name:andothers}}
\DeclareNameFormat{last-first}{%
\ifboolexpr{ test {\ifblank{#7}} or test {\ifnameaffix{#7}} }
{\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}}
{\usebibmacro{name:cjk}{#1}{#3}{#7}}%
\usebibmacro{name:andothers}}
\DeclareNameFormat{last-first/first-last}{%
\ifboolexpr{ test {\ifblank{#7}} or test {\ifnameaffix{#7}} }
{\ifnumequal{\value{listcount}}{1}
{\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}%
\ifblank{#3#5}
{}
{\usebibmacro{name:revsdelim}}}
{\iffirstinits
{\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}}}
{\usebibmacro{name:cjk}{#1}{#3}{#7}}%
\usebibmacro{name:andothers}}
% Based on definitions from biblatex-chicago's notes.cbx
\DeclareFieldFormat[book]{title}{%
\mkbibemph{#1}%
\iffieldundef{titleaddon}{\isdot}{\nopunct}}
\DeclareFieldFormat{booktitle}{%
\mkbibemph{#1}%
\iffieldundef{booktitleaddon}{}{\nopunct}}
\DeclareFieldFormat{maintitle}{%
\mkbibemph{#1}%
\iffieldundef{maintitleaddon}{}{\nopunct}}
\DeclareFieldFormat[article]{title}{%
\iffieldundef{title}{}{\mkbibquote{#1}}%
\iffieldundef{titleaddon}{\isdot}{\nopunct}}
\DeclareFieldFormat{usere}{\mkbibparens{#1}}
\begin{document}
\fullcite{ChengShankai}
\fullcite{Dudbridge}
\printbibliography
\end{document}
Edit: Apologies for not including the bibliographic reference. Both CJK and normal references included here.
@book{ChengShankai,
author = {Cheng, 成善楷, Shankai},
title = {Du shi jianji},
titleaddon = {杜诗笺记},
publisher = {BaShu shudian},
address = {Chengdu},
year = {1989}
}
@book{Dudbridge,
author = {Dudbridge, Glen},
title = {Lost Books of Medieval China} ,
publisher = {The British Library},
address = {London},
year = {2000},
}
The result is as follows. As you can see, it is in citation, rather than bibliography, style:
\documentclass{...}
and ending with\end{document}
.