summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/windycity/cbx/windycity.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/windycity/cbx/windycity.cbx')
-rw-r--r--Master/texmf-dist/doc/latex/windycity/cbx/windycity.cbx53
1 files changed, 14 insertions, 39 deletions
diff --git a/Master/texmf-dist/doc/latex/windycity/cbx/windycity.cbx b/Master/texmf-dist/doc/latex/windycity/cbx/windycity.cbx
index d5a7cb6679f..cd2beed0f40 100644
--- a/Master/texmf-dist/doc/latex/windycity/cbx/windycity.cbx
+++ b/Master/texmf-dist/doc/latex/windycity/cbx/windycity.cbx
@@ -1,4 +1,4 @@
-% Last modified: Thu 31 Jan 2019 08:30:49 PM CST
+% Last modified: Thu 21 Feb 2019 09:35:25 AM CST
% Copyright (c) 2019 Brian Michael Chase.
%
@@ -14,16 +14,14 @@
% purpose.
\ProvidesFile{windycity.cbx}[Windy City style for biblatex]
-
\@ifpackagelater{biblatex}{2017/11/04}
{}
{\PackageError{biblatex}
{Outdated 'biblatex' package}
- {Windy City 2019.01.31 is for biblatex v3.8 and above.\MessageBreak
+ {Windy City 2019-02-21 is for biblatex v3.8 and above.\MessageBreak
You are using: '\csuse{ver@biblatex.sty}'.\MessageBreak
This is a fatal error. I'm aborting now.}%
\endinput}%
-\RequireBiber
% This file contains material only for formatting notes and
% parenthetical citations. For content that is also used for
@@ -48,8 +46,8 @@
% '\addperiod' (see cite:postnote). This makes '\footcite{something}'
% and '\footnote{\cite{something}}' functionally equivalent. To
% prevent an extra period from printing in very rare cases, as when
-% the text of '\footcite{something}' ends with a capital letter,
-% remove '\addperiod' from the commands below:
+% '\footcite{something}' ends with a capital letter, remove
+% '\addperiod' from the commands below:
\renewcommand{\bibfootnotewrapper}[1]{%
\bibsentence#1}%
@@ -61,7 +59,7 @@
\renewcommand*{\newunitpunct}{\ifterm{,\addspace}{\addcomma\space}}%
-% Prevents errant space after colon.
+% Prevents errant space after a colon.
\renewcommand*{\multicitedelim}{\setunit{\addsemicolon\space}}%
@@ -114,18 +112,6 @@
{\multicitedelim}%
{\usebibmacro{postnote}}%
-\providetoggle{reprinted}
-\DeclareCiteCommand{\reprint}
- {}
- {\usebibmacro{citeindex}%
- \toggletrue{noauth}%
- \toggletrue{reprinted}%
- \bibstring{reprinted}\space
- \usebibmacro{cite}%
- \togglefalse{reprinted}}%
- {\multicitedelim}%
- {\usebibmacro{cite:postnote}}%
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Parenthetical Citations %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -209,9 +195,9 @@
\newbibmacro*{cite}{%
\usebibmacro{test:multicite}%
- \usebibmacro{test:collection}%
\ifciteseen
- {\renewcommand*{\cbx@deflabel}{labelname}%
+ {\usebibmacro{test:collection}%
+ \renewcommand*{\cbx@deflabel}{labelname}%
\printtext[bibhyperref]{\usebibmacro{cite:seen}}}
{\printtext[bibhyperref]{\usebibmacro{cite:new}}}% needs '%'
\usebibmacro{savefields}}%
@@ -270,19 +256,15 @@
{\usebibmacro{author+bookauthor+etc}%
\bibstring{review}}%
\space
- \usebibmacro{test:title+booktitle}%
+ \renewcommand*{\xtitle}{book}%
\usebibmacro{title+labelyear}%
\usebibmacro{cite:volume}}%
\newbibmacro*{cite:volume}{%
\newunit
- \ifboolexpr{ test {\ifentrytype{book}}
- or test {\ifentrytype{bookinbook}}
- or test {\ifentrytype{collection}}
- or test {\ifentrytype{inbook}}
- or test {\ifentrytype{incollection}}}
- {\ifboolexpr{ togl {collection}
- and togl {swapvol}}
+ \iftoggle{swapvol}
+ {\ifboolexpr{ togl {collection:bk}
+ or togl {collection:ib}}
{\usebibmacro{volume+page}}%
{}}
{}}
@@ -406,9 +388,6 @@
{}
{\printtext[bibhyperref]{\printfield{postnote}}}}
-% Use 'shorthandintro' to introduce a shorthand in whatever format you
-% want. See the example in windycity.bib.
-
\newbibmacro*{shorthand+intro}{%
\iffieldundef{shorthand}
{}
@@ -457,13 +436,9 @@
\usebibmacro{volume+page}}%
\DeclareBibliographyDriver{cite:incollection}{%
- \usebibmacro{author+title+etc}%
- \usebibmacro{incollections}%
- \newunit
- \usebibmacro{volume+page}}%
-
-\DeclareBibliographyDriver{cite:letter}{%
- \toggletrue{noauth}%
+ \ifentrytype{letter}
+ {\toggletrue{noauth}}%
+ {}% needs '%'
\usebibmacro{author+title+etc}%
\usebibmacro{incollections}%
\newunit