09.11.2014 Views

User's Guide to biblatex philosophy

User's Guide to biblatex philosophy

User's Guide to biblatex philosophy

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

© 2009–2014 Ivan Valbusa 48<br />

2206 {}%<br />

2207 \multicitedelim}}%<br />

2208<br />

2209 \newbibmacro*{textcite:postnote:AY}{%<br />

2210 \usebibmacro{postnote}%<br />

2211 \ifthenelse{\value{multicitecount}=\value{multicite<strong>to</strong>tal}}<br />

2212 {\setunit{}%<br />

2213 \printtext{%<br />

2214 \ifbool{cbx:parens}<br />

2215 {\bibcloseparen\global\boolfalse{cbx:parens}}<br />

2216 {}}}<br />

2217 {\setunit{%<br />

2218 \ifbool{cbx:parens}<br />

2219 {\bibcloseparen\global\boolfalse{cbx:parens}}<br />

2220 {}%<br />

2221 \multicitedelim}}}<br />

The cite:shorthand is the same for both author-title and author-year styles:<br />

2222 \renewbibmacro*{cite:shorthand}{%<br />

2223 \printtext[bibhyperref]{\printfield{shorthand}}}<br />

If the field entrysubtype equals <strong>to</strong> classic the citation commands will use the author-title macros:<br />

2224 \renewbibmacro*{cite:init}{%<br />

2225 \switchclass{cite:init:AT}{cite:init:AY}}<br />

2226 \renewbibmacro*{cite:reinit}{%<br />

2227 \switchclass{cite:reinit:AT}{cite:reinit:AY}}<br />

2228 \renewbibmacro*{cite}{%<br />

2229 \switchclass{cite:AT}{cite:AY}}<br />

2230 \renewbibmacro*{textcite}{%<br />

2231 \switchclass{textcite:AT}{textcite:AY}}<br />

2232 \renewbibmacro*{textcite:postnote}{%<br />

2233 \switchclass{textcite:postnote:AT}{textcite:postnote:AY}}<br />

2234<br />

2235 \newbibmacro*{cite:noshorthand}{%<br />

2236 \ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}%<br />

2237 {\usebibmacro{cite:label}%<br />

2238 \setunit{\addspace}%<br />

2239 \usebibmacro{cite:labelyear+extrayear}%<br />

2240 \usebibmacro{cite:reinit}}%<br />

2241 {\iffieldequals{namehash}{\cbx@lasthash}%<br />

2242 {\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND<br />

2243 \(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}%<br />

2244 {\setunit{\addcomma}%<br />

2245 \usebibmacro{cite:extrayear}}%<br />

2246 {\setunit{\compcitedelim}%<br />

2247 \usebibmacro{cite:labelyear+extrayear}%<br />

2248 \savefield{labelyear}{\cbx@lastyear}}}%<br />

2249 {\printnames{labelname}%<br />

2250 \setunit{\nameyeardelim}%<br />

2251 \usebibmacro{cite:labelyear+extrayear}%<br />

2252 \savefield{namehash}{\cbx@lasthash}%<br />

2253 \iffieldundef{postnote}%<br />

2254 {\savefield{labelyear}{\cbx@lastyear}}{}}}}<br />

13.5.4 Citation commands<br />

2255 \DeclareCiteCommand*{\cite}<br />

2256 {\usebibmacro{cite:init}%<br />

2257 \usebibmacro{prenote}}<br />

2258 {\usebibmacro{citeindex}%<br />

2259 \switchclass{citetitle:AT}{citeyear}}%<br />

2260 {}<br />

2261 {\usebibmacro{postnote}}<br />

2262<br />

2263 \DeclareCiteCommand*{\parencite}[\mkbibparens]<br />

2264 {\usebibmacro{cite:init}%<br />

2265 \usebibmacro{prenote}}<br />

2266 {\usebibmacro{citeindex}%<br />

<strong>biblatex</strong>-<strong>philosophy</strong> v0.9f – 2014/03/28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!