diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/biblatex-contrib/windycity |
Initial commit
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/windycity')
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/windycity/CHANGES.md | 264 | ||||
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/windycity/LICENCE | 416 | ||||
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/windycity/README.md | 104 | ||||
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/windycity/american-windycity.lbx | 203 | ||||
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.bib | 2633 | ||||
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.pdf | bin | 0 -> 401582 bytes | |||
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.sty | 281 | ||||
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.tex | 3277 | ||||
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/windycity/windycity.bbx | 2252 | ||||
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/windycity/windycity.cbx | 519 | ||||
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/windycity/windycity.dbx | 22 |
11 files changed, 9971 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/windycity/CHANGES.md b/macros/latex/contrib/biblatex-contrib/windycity/CHANGES.md new file mode 100644 index 0000000000..11c6ddd25b --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/windycity/CHANGES.md @@ -0,0 +1,264 @@ +# Release Notes + +Versions of Windy City are indicated by release date. The most recent +date below is the current version, which is available on +[CTAN](https://www.ctan.org/pkg/windycity "CTAN: pkg/windycity"). +Changes since then, if any, are listed below under "Latest" and +indicate updates to Windy City's [repository on +GitHub](https://github.com/brianchase/windycity "GitHub: +brianchase/windycity"). + +## 2019-07-17 + +* fixed always printing the `date` field in an American format, rather + than in formats set in localization files +* for documents not in English, check for `<language>-windycity.lbx` + and, if available, use it instead of `american-windycity.lbx` +* defined `\textcite`, `\texcite*`, `\textcites` and `\textcites*` + (useful for examples in *CMOS* 13.65) + +## 2019-04-02 + +* fixed `\parencite` from printing a work's publication year twice + under the preamble option `reflist` +* fixed the failure of the 3-em dash to print in bibliographies when + compiling with different languages +* fixed `\autocite`; it should work for options `footnote`, + `inline`, and `plain` and with all preamble options +* defined `\smartcite`, `\smartcite*`, `\smartcites`, and + `\smartcites*` + +## 2019-03-27 + +* fixed a bug that could prevent names in the `editora` field from + printing in the author's position +* fixed typos that broke the `mathesis` entry type +* fixed `mathesis` and `phdthesis` entry types so that they don't need + a `type` field to distinguish the MA from the PhD (only the `thesis` + entry type needs it) +* improved support for newspapers and magazines with issue numbers + (see updated documentation on how to implement it) +* added support for citing a newspaper's edition, such as 'Sunday Book + Review' + +## 2019-02-21 + +* fixed reviews with titles +* in reference lists, fixed `year` printing with `season` or `issue` +* much improved format of unsigned reviews in bibliographies and + reference lists, in part restoring previous work set aside +* extended `swapvol` option to work with `letter`, `incollection`, + `inbook`, and `bookinbook` entries that are cross-referenced to + entries that work with `swapvol` (in effect, you can use `swapvol` not + only with volumes in collections but with works in those volumes, such + as chapters and articles) +* improved handling of editors and translators, including support for + translators of a `maintitle` +* added `library` entry and preamble options to support the `library` + field +* extended `swapauth` to work with `mvbook` and `mvcollection` entries +* added support for `\iffieldbibstring` in processing `edition` and + `type` fields +* other bug fixes + +## 2019-01-31 + +* added limited support for citing web pages and social media content +* added `listvols` entry option (see documentation) +* added `skipdate` entry option (see documentation) +* significant changes for tighter control of punctuation, among + other things fixing the previous use of `postpunct` +* fixed printing of publication dates for some reports +* fixed `nameaddon` not printing after a 3-em dash in bibliographies + (presumably, screen names should also print in this context; they do + now) +* fixed a show-stopping bug in reference lists caused by the + previous fix to `nameaddon` +* fixed reprints, cross-referencing in reference lists +* other bug fixes + +## 2019-01-18 + +* reversed default for collections, printing information for volumes + first; the option to reverse this is called `swapvol` +* changed option name `transfirst` to `swaptrans` +* fixed punctuation before `postnote` of articles and reviews (ugh!) +* changed processing of spacing and punctuation around `postnote` for + all citations +* added support for swapping the place of an author with an editor or + translator, as in *CMOS* 14.104 +* extended the previous to cover a similar case in *CMOS* 14.122 +* improved handling of name lists and cross-referencing +* removed no longer maintained citation commands +* other bug fixes and housekeeping + +## 2019-01-07 + +* major additions and changes for processing collections +* fixed \parencite for unsigned articles +* fixed \parencite for cross-referencing +* fixed formatting of reviews +* added support for `autopunct` option and `postpunct` field for + better handling of punctuation after citation commands (e.g. + `\cite{something}` will end with a period, while `\cite{something};` + will end with a semicolon) +* in light of the previous, changed \reprint command +* added support for `shortjournal` field for parenthetical citations +* simplified `parencite` and related macros +* improved handling of `year`, `endyear`, `bookyear`, and + `endbookyear` fields, ensuring that the publication date of the last + mentioned work gets printed in bibliographies and reference lists +* many bug fixes + +## 2018-12-09 + +* simpler processing of author's position +* added support for common reference works, such as dictionaries and + encyclopedias +* fixed `\defbibcheck` for reference works +* fixed short option printing urls and related data on first citations +* some fixes, though incomplete, for reviews +* other fixes for spacing and punctuation + +## 2018-12-05 + +* added much better support for cross-referencing collections in notes + and bibliographies, including enhanced support for treating multivolume + collections as a single work +* support for short format of citations, with `short` and `ibid` + preamble options +* added support for self-published books +* added support for electronic article IDs +* added support for `shortauthor` namelist +* better processing of reviews, though still limited +* fixed and improved multicite output +* undid change to `noauth` entry option (it was right the first time!) +* many bug fixes (mainly spacing, punctuation, and toggles) +* new documentation + +## 2018-11-26 + +* fixed `noauth` entry option (it should only affect notes) +* fixed `inst+loc+date` +* following *CMOS*, made `cite:short` print just a work's title + without the name of the collection +* fixed name formatting for affixes like 'Jr.' in notes (no comma + before them, unlike in bibliographies, where names are inverted) +* limited support for copublication +* limited support for publication times +* added `\footcite*` command and updated documentation + +## 2018-11-23 + +* improved and in some cases fixed processing of numbers, + dates, and issues of periodicals +* much better support for unsigned articles +* fixed `type` field format +* fixed double printing of year for theses and dissertations in + the author-date system +* fixed punctuation after 'Special issue' in bibliographies +* fixed obscure punctuation issue with *notewrapper commands +* added support for shorthandintro and improved handling of shorthands +* updated field format for DOIs +* update name formatting for affixes like 'Jr.' + +## 2018-11-17 + +* replaced `\ifthenelse` with commands from etoolbox +* better handling of editors for a series, maintitle, or issuetitle +* limited support for `endmonth` field for periodicals +* fixed extra space from `multicitedelim` + +## 2018-11-14 + +* finally got a handle on the author-date format for periodicals, + rolling back some recent changes (ugh!) +* put back preamble options `useeditor` and `usetranslator`, which + are necessary after all (double ugh!) +* more readable and arguably simpler date processing for periodicals +* added preamble option `ibid` to prepare for the 17th edition of + *CMOS* +* updated `windycity.tex` to reflect the last point, also to make use + of `optionlist` +* remove unused entries from `windycity.bib` for the 15th edition of + *CMOS* + +## 2018-11-13 + +* fixed spacing of date for periodicals (resulting from recent support + for `endday` field) +* fixed spacing between volumes and pages in author-date system for + periodicals +* support names of anonymous authors as in *CMOS* 14.80 (16th edition) + and *CMOS* 14.79 (17th edition) + +## 2018-11-09 + +* for articles etc., limited support for `season` field +* limited support for `endyear` and `endorigyear` fields +* removed unused preamble options and commented code +* fix `inreference` bibliography alias + +## 2018-11-02 + +* fixed author-date system printing the year of many articles twice +* fixed author-date system printing the year between an author's name + and the field `nameaddon` +* fixed bibliography driver for shorthands that caused it to print + just titles, rather than full entries +* added support for `endday` field +* `addendum` field prints only in bibliographies and reference + lists, not in notes +* set `parentracker` preamble option +* set `minxrefs` preamble option +* `collsonly` preamble option sets `minxrefs=1` +* changed `pagetracker` preamble option from `true` to `page` +* edits and fixes to `windycity.sty` and `windycity.tex` + +## 2018-10-20 + +* fixed broken date formatting in author-date citations +* changed `\DeclareSortingScheme` to `\DeclareSortingTemplate` +* changed preamble option `labeldate` to `labeldateparts` +* changed special field `extrayear` to `extradate` +* bumped minimum compatible release to biblatex 3.8 +* other minor changes for the version bump + +## 2015-12-28 + +* added missing `\setunit` for when `bybookauthor` prints an author's + name and the collection has an editor, translator, or compiler + +## 2015-07-08 + +* removed an unused bibmacro +* minor edits and fixes to `windycity.sty` and `windycity.tex` +* minor edits to readme +* removed an empty line from `windycity.bib` +* changed the version number format to match the release date + +## 2014-03-21 + +* improved and fixed cross-referencing of collections to other collections +* fixed missing publication year in notes under option `reflist` +* fixed incorrect printing of `volumes` under option `reflist` +* minor fixes +* updated documentation + +## 2014-03-02 + +* greatly simplified the handling of editors and translators +* changes and fixes to `incollections`, `ed+vol+part+etc`, and + associated macros, especially affecting the placement of a book's + series in relation to other elements +* added and changed placement of `note` for some entry types +* added support for abstracts (via `note` for `@article`) +* simplified `reviews` +* made `@unpublished` an alias of `@thesis` +* other minor changes and fixes +* updated `windycity.tex` and `windycity.bib` + +## 2014-02-26 + +* initial release + diff --git a/macros/latex/contrib/biblatex-contrib/windycity/LICENCE b/macros/latex/contrib/biblatex-contrib/windycity/LICENCE new file mode 100644 index 0000000000..2244313901 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/windycity/LICENCE @@ -0,0 +1,416 @@ +The LaTeX Project Public License +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- + +LPPL Version 1.3c 2008-05-04 + +Copyright 1999 2002-2008 LaTeX3 Project + Everyone is allowed to distribute verbatim copies of this + license document, but modification of it is not allowed. + + +PREAMBLE +======== + +The LaTeX Project Public License (LPPL) is the primary license under +which the LaTeX kernel and the base LaTeX packages are distributed. + +You may use this license for any work of which you hold the copyright +and which you wish to distribute. This license may be particularly +suitable if your work is TeX-related (such as a LaTeX package), but +it is written in such a way that you can use it even if your work is +unrelated to TeX. + +The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE', +below, gives instructions, examples, and recommendations for authors +who are considering distributing their works under this license. + +This license gives conditions under which a work may be distributed +and modified, as well as conditions under which modified versions of +that work may be distributed. + +We, the LaTeX3 Project, believe that the conditions below give you +the freedom to make and distribute modified versions of your work +that conform with whatever technical specifications you wish while +maintaining the availability, integrity, and reliability of +that work. If you do not see how to achieve your goal while +meeting these conditions, then read the document `cfgguide.tex' +and `modguide.tex' in the base LaTeX distribution for suggestions. + + +DEFINITIONS +=========== + +In this license document the following terms are used: + + `Work' + Any work being distributed under this License. + + `Derived Work' + Any work that under any applicable law is derived from the Work. + + `Modification' + Any procedure that produces a Derived Work under any applicable + law -- for example, the production of a file containing an + original file associated with the Work or a significant portion of + such a file, either verbatim or with modifications and/or + translated into another language. + + `Modify' + To apply any procedure that produces a Derived Work under any + applicable law. + + `Distribution' + Making copies of the Work available from one person to another, in + whole or in part. Distribution includes (but is not limited to) + making any electronic components of the Work accessible by + file transfer protocols such as FTP or HTTP or by shared file + systems such as Sun's Network File System (NFS). + + `Compiled Work' + A version of the Work that has been processed into a form where it + is directly usable on a computer system. This processing may + include using installation facilities provided by the Work, + transformations of the Work, copying of components of the Work, or + other activities. Note that modification of any installation + facilities provided by the Work constitutes modification of the Work. + + `Current Maintainer' + A person or persons nominated as such within the Work. If there is + no such explicit nomination then it is the `Copyright Holder' under + any applicable law. + + `Base Interpreter' + A program or process that is normally needed for running or + interpreting a part or the whole of the Work. + + A Base Interpreter may depend on external components but these + are not considered part of the Base Interpreter provided that each + external component clearly identifies itself whenever it is used + interactively. Unless explicitly specified when applying the + license to the Work, the only applicable Base Interpreter is a + `LaTeX-Format' or in the case of files belonging to the + `LaTeX-format' a program implementing the `TeX language'. + + + +CONDITIONS ON DISTRIBUTION AND MODIFICATION +=========================================== + +1. Activities other than distribution and/or modification of the Work +are not covered by this license; they are outside its scope. In +particular, the act of running the Work is not restricted and no +requirements are made concerning any offers of support for the Work. + +2. You may distribute a complete, unmodified copy of the Work as you +received it. Distribution of only part of the Work is considered +modification of the Work, and no right to distribute such a Derived +Work may be assumed under the terms of this clause. + +3. You may distribute a Compiled Work that has been generated from a +complete, unmodified copy of the Work as distributed under Clause 2 +above, as long as that Compiled Work is distributed in such a way that +the recipients may install the Compiled Work on their system exactly +as it would have been installed if they generated a Compiled Work +directly from the Work. + +4. If you are the Current Maintainer of the Work, you may, without +restriction, modify the Work, thus creating a Derived Work. You may +also distribute the Derived Work without restriction, including +Compiled Works generated from the Derived Work. Derived Works +distributed in this manner by the Current Maintainer are considered to +be updated versions of the Work. + +5. If you are not the Current Maintainer of the Work, you may modify +your copy of the Work, thus creating a Derived Work based on the Work, +and compile this Derived Work, thus creating a Compiled Work based on +the Derived Work. + +6. If you are not the Current Maintainer of the Work, you may +distribute a Derived Work provided the following conditions are met +for every component of the Work unless that component clearly states +in the copyright notice that it is exempt from that condition. Only +the Current Maintainer is allowed to add such statements of exemption +to a component of the Work. + + a. If a component of this Derived Work can be a direct replacement + for a component of the Work when that component is used with the + Base Interpreter, then, wherever this component of the Work + identifies itself to the user when used interactively with that + Base Interpreter, the replacement component of this Derived Work + clearly and unambiguously identifies itself as a modified version + of this component to the user when used interactively with that + Base Interpreter. + + b. Every component of the Derived Work contains prominent notices + detailing the nature of the changes to that component, or a + prominent reference to another file that is distributed as part + of the Derived Work and that contains a complete and accurate log + of the changes. + + c. No information in the Derived Work implies that any persons, + including (but not limited to) the authors of the original version + of the Work, provide any support, including (but not limited to) + the reporting and handling of errors, to recipients of the + Derived Work unless those persons have stated explicitly that + they do provide such support for the Derived Work. + + d. You distribute at least one of the following with the Derived Work: + + 1. A complete, unmodified copy of the Work; + if your distribution of a modified component is made by + offering access to copy the modified component from a + designated place, then offering equivalent access to copy + the Work from the same or some similar place meets this + condition, even though third parties are not compelled to + copy the Work along with the modified component; + + 2. Information that is sufficient to obtain a complete, + unmodified copy of the Work. + +7. If you are not the Current Maintainer of the Work, you may +distribute a Compiled Work generated from a Derived Work, as long as +the Derived Work is distributed to all recipients of the Compiled +Work, and as long as the conditions of Clause 6, above, are met with +regard to the Derived Work. + +8. The conditions above are not intended to prohibit, and hence do not +apply to, the modification, by any method, of any component so that it +becomes identical to an updated version of that component of the Work as +it is distributed by the Current Maintainer under Clause 4, above. + +9. Distribution of the Work or any Derived Work in an alternative +format, where the Work or that Derived Work (in whole or in part) is +then produced by applying some process to that format, does not relax or +nullify any sections of this license as they pertain to the results of +applying that process. + +10. a. A Derived Work may be distributed under a different license + provided that license itself honors the conditions listed in + Clause 6 above, in regard to the Work, though it does not have + to honor the rest of the conditions in this license. + + b. If a Derived Work is distributed under a different license, that + Derived Work must provide sufficient documentation as part of + itself to allow each recipient of that Derived Work to honor the + restrictions in Clause 6 above, concerning changes from the Work. + +11. This license places no restrictions on works that are unrelated to +the Work, nor does this license place any restrictions on aggregating +such works with the Work by any means. + +12. Nothing in this license is intended to, or may be used to, prevent +complete compliance by all parties with all applicable laws. + + +NO WARRANTY +=========== + +There is no warranty for the Work. Except when otherwise stated in +writing, the Copyright Holder provides the Work `as is', without +warranty of any kind, either expressed or implied, including, but not +limited to, the implied warranties of merchantability and fitness for a +particular purpose. The entire risk as to the quality and performance +of the Work is with you. Should the Work prove defective, you assume +the cost of all necessary servicing, repair, or correction. + +In no event unless required by applicable law or agreed to in writing +will The Copyright Holder, or any author named in the components of the +Work, or any other party who may distribute and/or modify the Work as +permitted above, be liable to you for damages, including any general, +special, incidental or consequential damages arising out of any use of +the Work or out of inability to use the Work (including, but not limited +to, loss of data, data being rendered inaccurate, or losses sustained by +anyone as a result of any failure of the Work to operate with any other +programs), even if the Copyright Holder or said author or said other +party has been advised of the possibility of such damages. + + +MAINTENANCE OF THE WORK +======================= + +The Work has the status `author-maintained' if the Copyright Holder +explicitly and prominently states near the primary copyright notice in +the Work that the Work can only be maintained by the Copyright Holder +or simply that it is `author-maintained'. + +The Work has the status `maintained' if there is a Current Maintainer +who has indicated in the Work that they are willing to receive error +reports for the Work (for example, by supplying a valid e-mail +address). It is not required for the Current Maintainer to acknowledge +or act upon these error reports. + +The Work changes from status `maintained' to `unmaintained' if there +is no Current Maintainer, or the person stated to be Current +Maintainer of the work cannot be reached through the indicated means +of communication for a period of six months, and there are no other +significant signs of active maintenance. + +You can become the Current Maintainer of the Work by agreement with +any existing Current Maintainer to take over this role. + +If the Work is unmaintained, you can become the Current Maintainer of +the Work through the following steps: + + 1. Make a reasonable attempt to trace the Current Maintainer (and + the Copyright Holder, if the two differ) through the means of + an Internet or similar search. + + 2. If this search is successful, then enquire whether the Work + is still maintained. + + a. If it is being maintained, then ask the Current Maintainer + to update their communication data within one month. + + b. If the search is unsuccessful or no action to resume active + maintenance is taken by the Current Maintainer, then announce + within the pertinent community your intention to take over + maintenance. (If the Work is a LaTeX work, this could be + done, for example, by posting to comp.text.tex.) + + 3a. If the Current Maintainer is reachable and agrees to pass + maintenance of the Work to you, then this takes effect + immediately upon announcement. + + b. If the Current Maintainer is not reachable and the Copyright + Holder agrees that maintenance of the Work be passed to you, + then this takes effect immediately upon announcement. + + 4. If you make an `intention announcement' as described in 2b. above + and after three months your intention is challenged neither by + the Current Maintainer nor by the Copyright Holder nor by other + people, then you may arrange for the Work to be changed so as + to name you as the (new) Current Maintainer. + + 5. If the previously unreachable Current Maintainer becomes + reachable once more within three months of a change completed + under the terms of 3b) or 4), then that Current Maintainer must + become or remain the Current Maintainer upon request provided + they then update their communication data within one month. + +A change in the Current Maintainer does not, of itself, alter the fact +that the Work is distributed under the LPPL license. + +If you become the Current Maintainer of the Work, you should +immediately provide, within the Work, a prominent and unambiguous +statement of your status as Current Maintainer. You should also +announce your new status to the same pertinent community as +in 2b) above. + + +WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE +====================================================== + +This section contains important instructions, examples, and +recommendations for authors who are considering distributing their +works under this license. These authors are addressed as `you' in +this section. + +Choosing This License or Another License +---------------------------------------- + +If for any part of your work you want or need to use *distribution* +conditions that differ significantly from those in this license, then +do not refer to this license anywhere in your work but, instead, +distribute your work under a different license. You may use the text +of this license as a model for your own license, but your license +should not refer to the LPPL or otherwise give the impression that +your work is distributed under the LPPL. + +The document `modguide.tex' in the base LaTeX distribution explains +the motivation behind the conditions of this license. It explains, +for example, why distributing LaTeX under the GNU General Public +License (GPL) was considered inappropriate. Even if your work is +unrelated to LaTeX, the discussion in `modguide.tex' may still be +relevant, and authors intending to distribute their works under any +license are encouraged to read it. + +A Recommendation on Modification Without Distribution +----------------------------------------------------- + +It is wise never to modify a component of the Work, even for your own +personal use, without also meeting the above conditions for +distributing the modified component. While you might intend that such +modifications will never be distributed, often this will happen by +accident -- you may forget that you have modified that component; or +it may not occur to you when allowing others to access the modified +version that you are thus distributing it and violating the conditions +of this license in ways that could have legal implications and, worse, +cause problems for the community. It is therefore usually in your +best interest to keep your copy of the Work identical with the public +one. Many works provide ways to control the behavior of that work +without altering any of its licensed components. + +How to Use This License +----------------------- + +To use this license, place in each of the components of your work both +an explicit copyright notice including your name and the year the work +was authored and/or last substantially modified. Include also a +statement that the distribution and/or modification of that +component is constrained by the conditions in this license. + +Here is an example of such a notice and statement: + + %% pig.dtx + %% Copyright 2005 M. Y. Name + % + % This work may be distributed and/or modified under the + % conditions of the LaTeX Project Public License, either version 1.3 + % of this license or (at your option) any later version. + % The latest version of this license is in + % http://www.latex-project.org/lppl.txt + % and version 1.3 or later is part of all distributions of LaTeX + % version 2005/12/01 or later. + % + % This work has the LPPL maintenance status `maintained'. + % + % The Current Maintainer of this work is M. Y. Name. + % + % This work consists of the files pig.dtx and pig.ins + % and the derived file pig.sty. + +Given such a notice and statement in a file, the conditions +given in this license document would apply, with the `Work' referring +to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being +generated from `pig.dtx' using `pig.ins'), the `Base Interpreter' +referring to any `LaTeX-Format', and both `Copyright Holder' and +`Current Maintainer' referring to the person `M. Y. Name'. + +If you do not want the Maintenance section of LPPL to apply to your +Work, change `maintained' above into `author-maintained'. +However, we recommend that you use `maintained', as the Maintenance +section was added in order to ensure that your Work remains useful to +the community even when you can no longer maintain and support it +yourself. + +Derived Works That Are Not Replacements +--------------------------------------- + +Several clauses of the LPPL specify means to provide reliability and +stability for the user community. They therefore concern themselves +with the case that a Derived Work is intended to be used as a +(compatible or incompatible) replacement of the original Work. If +this is not the case (e.g., if a few lines of code are reused for a +completely different task), then clauses 6b and 6d shall not apply. + + +Important Recommendations +------------------------- + + Defining What Constitutes the Work + + The LPPL requires that distributions of the Work contain all the + files of the Work. It is therefore important that you provide a + way for the licensee to determine which files constitute the Work. + This could, for example, be achieved by explicitly listing all the + files of the Work near the copyright notice of each file or by + using a line such as: + + % This work consists of all files listed in manifest.txt. + + in that place. In the absence of an unequivocal list it might be + impossible for the licensee to determine what is considered by you + to comprise the Work and, in such a case, the licensee would be + entitled to make reasonable conjectures as to which files comprise + the Work. + diff --git a/macros/latex/contrib/biblatex-contrib/windycity/README.md b/macros/latex/contrib/biblatex-contrib/windycity/README.md new file mode 100644 index 0000000000..499b3cc180 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/windycity/README.md @@ -0,0 +1,104 @@ +# Windy City + +## About + +Windy City is a style for [biblatex](http://www.ctan.org/pkg/biblatex +"biblatex") that formats notes, bibliographies, parenthetical +citations, and reference lists according to the 17th edition of [The +Chicago Manual of Style](http://www.chicagomanualofstyle.org/ "Chicago +Manual of Style"). It accurately handles a wide range of citations and +includes a set of options and commands to support special +circumstances. It also has extensive support for citing and arranging +different kinds of editors, translators, and compilers within a single +citation. These features make Windy City especially suitable for +academic work. + +Windy City's latest release is available on +[CTAN](https://www.ctan.org/pkg/windycity "CTAN: pkg/windycity"), the +[Comprehensive TeX Archive Network](https://www.ctan.org "CTAN"). It +includes a PDF of the [user +guide](http://mirrors.ctan.org/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.pdf +"windycity.pdf"). More recent changes are available at Windy City's +[repository on GitHub](https://github.com/brianchase/windycity +"GitHub: brianchase/windycity"). + +## Getting Started + +If you already know how to use +[biblatex](http://www.ctan.org/pkg/biblatex "biblatex"), getting +started with Windy City is easy. The first task is to confirm that +[biblatex](http://www.ctan.org/pkg/biblatex "biblatex") and Windy City +are installed properly on your system. Since both are included in some +distributions of [LaTeX](https://en.wikipedia.org/wiki/LaTeX "LaTeX"), +you might be able to skip this step. + +Windy City consists of four files: + +* [windycity.dbx](https://github.com/brianchase/windycity/blob/master/windycity.dbx "windycity.dbx") +* [windycity.bbx](https://github.com/brianchase/windycity/blob/master/bbx/windycity.bbx "windycity.bbx") +* [windycity.cbx](https://github.com/brianchase/windycity/blob/master/cbx/windycity.cbx "windycity.cbx") +* [american-windycity.lbx](https://github.com/brianchase/windycity/blob/master/lbx/american-windycity.lbx "american-windycity.lbx") + +If you need to install Windy City on your system, you may copy its +files to one of several places. One option is to locate +[biblatex](http://www.ctan.org/pkg/biblatex "biblatex") on your system +and use its directories: + +* .../biblatex/[windycity.dbx](https://github.com/brianchase/windycity/blob/master/windycity.dbx "windycity.dbx") +* .../biblatex/bbx/[windycity.bbx](https://github.com/brianchase/windycity/blob/master/bbx/windycity.bbx "windycity.bbx") +* .../biblatex/cbx/[windycity.cbx](https://github.com/brianchase/windycity/blob/master/cbx/windycity.cbx "windycity.cbx") +* .../biblatex/lbx/[american-windycity.lbx](https://github.com/brianchase/windycity/blob/master/lbx/american-windycity.lbx "american-windycity.lbx") + +If you prefer not to mix Windy City's files with +[biblatex](http://www.ctan.org/pkg/biblatex "biblatex")'s, another +option is to find where your distribution of +[LaTeX](https://en.wikipedia.org/wiki/LaTeX "LaTeX") keeps +[biblatex](http://www.ctan.org/pkg/biblatex "biblatex")'s third-party +style files and proceed accordingly. Yet another option is to install +Windy City in your local `texmf`. Its location will depend on your +system and preferences. For a one-off compilation, say, to give Windy +City a trial run on a single document, you can copy Windy City's files +to the document's root directory. + +After copying the files to one of those places — or another of your +choosing — remember that for every option but the last (a document's +root directory), you need to update your `texmf` file name database. + +To compile a document with Windy City, tell +[biblatex](http://www.ctan.org/pkg/biblatex "biblatex") to load it +with the load-time option `style`: + +``` +\usepackage[style=windycity]{biblatex} +``` + +Typically, this goes in a document's preamble or in one of its style +files. + +For some entries in your bibliography database, you may need to add +fields or make other adjustments to get the right output. But since +Windy City relies as much as possible on standard +[BibTeX](http://www.bibtex.org "BibTeX") fields, and secondarily on +[biblatex](http://www.ctan.org/pkg/biblatex "biblatex") fields, you +may not need to make major changes. The examples in this document and +its accompanying bibliography database, +[windycity.bib](https://github.com/brianchase/windycity/blob/master/doc/windycity.bib +"windycity.bib"), should serve as a guide for how to manage your input +for nearly every circumstance that the style is meant to handle. + +## License + +Copyright (c) 2019 Brian Michael Chase. Under the terms of the [LaTeX +Project Public License](http://www.latex-project.org/lppl.txt +"lppl.txt"), version 1.3, permission is granted to copy, distribute, +or modify this software. See also +<https://www.latex-project.org/lppl/>. + +This software is provided as is, without warranty of any kind, either +expressed or implied, including, but not limited to, the implied +warranties of merchantability and fitness for a particular purpose. + +## Requirements + +* [biblatex](http://www.ctan.org/pkg/biblatex "biblatex") 3.8 or higher + diff --git a/macros/latex/contrib/biblatex-contrib/windycity/american-windycity.lbx b/macros/latex/contrib/biblatex-contrib/windycity/american-windycity.lbx new file mode 100644 index 0000000000..ed734f9734 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/windycity/american-windycity.lbx @@ -0,0 +1,203 @@ +% Last modified: Wed 17 Jul 2019 09:45:17 AM CDT + +% Copyright (c) 2018 Brian Michael Chase. +% +% Permission is granted to copy, distribute and/or modify this +% software under the terms of the LaTeX Project Public License (LPPL), +% version 1.3. +% +% The LPPL maintenance status of this software is 'author-maintained'. +% +% This software is provided 'as is', without warranty of any kind, +% either expressed or implied, including, but not limited to, the +% implied warranties of merchantability and fitness for a particular +% purpose. + +\ProvidesFile{american-windycity.lbx}[2019/07/17 Windy City + localization module for biblatex] +\InheritBibliographyExtras{american} +\InheritBibliographyStrings{american} + +\DeclareBibliographyExtras{% +% Slightly modified from english.lbx: + \expandafter\protected\expandafter\def\csname mkbibtime12h\endcsname#1#2#3#4{% + \addcomma\space + \stripzeros{\mktimehh{\thefield{#1}}}% needs '%' + \bibtimesep + \forcezerosmdt{\thefield{#2}}% + \iffieldundef{#3}{} + {\bibtimesep + \forcezerosmdt{\thefield{#3}}}% needs '%' + \space + \ifnumless{\thefield{#1}}{12} + {\bibstring{am}}% + {\bibstring{pm}}% + \iffieldundef{#4}{} + {\space\bibtimezonesep + \mkbibtimezone{\thefield{#4}}}}% needs '%' +% Overrides version in windycity.bbx: + \protected\def\mkdaterangefull#1#2{% + \begingroup + \blx@metadateinfo{#2}% + \ifboolexpr{ test {\iffieldundef{#2year}} + and test {\iffieldundef{#2month}}} + {\blx@nounit}% + {\ifboolexpr{ test {\iffieldundef{#2endyear}} + and test {\iffieldundef{#2endmonth}}} + {\printtext[#2date]{% + \datecircaprint + \iffieldundef{#2season} + {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}% + \blx@printtime{#2}{}}% + {\csuse{mkbibseasondate#1}{#2year}{#2season}}% + \dateuncertainprint + \dateeraprint{#2year}}} + {\iffieldundef{#2year} + {\iffieldundef{#2day} + {\csuse{mkmonthrange}{#1}{#2}}% + {\csuse{mkmonthdayrange}{#1}{#2}}} + {\iffieldsequal{#2year}{#2endyear} + {\iffieldundef{#2day} + {\csuse{mkmonthrange}{#1}{#2}}% + {\csuse{mkmonthdayrange}{#1}{#2}}} + {\csuse{mkmonthdayyearrange}{#1}{#2}}}}}% needs '%' + \endgroup}% +% For ranges of months with no year (June--August) and months in the +% same year (June--August 2001). Also applies to articles with +% two-month publication dates, both with a year (June/July 2001) and +% without (June/July). + \protected\def\mkmonthrange#1#2{% + \printtext[#2date]{% + \datecircaprint + \csuse{mkbibdate#1}{}{#2month}{}% + \dateuncertainprint + \ifboolexpr{ test {\ifentrytype{article}} + and test {\ifstrequal{#2}{}}} + {\ifnumcomp{\thefield{#2endmonth} - \thefield{#2month}}{=}{1} + {\addslash}% + {\bibdaterangesep}}% + {\bibdaterangesep}% + \enddatecircaprint + \csuse{mkbibdate#1}{#2endyear}{#2endmonth}{}% + \enddateuncertainprint + \dateeraprint{#2endyear}}} +% For ranges of days and months with no year (June 3--July 1), days +% in the same month and year (June 3--4, 2001), and days and months in +% the same year (June 3--July 1, 2001): + \protected\def\mkmonthdayrange#1#2{% + \printtext[#2date]{% + \datecircaprint + \csuse{mkbibdate#1}{}{#2month}{#2day}% + \blx@printtime{#2}{}% + \dateuncertainprint + \bibdaterangesep + \enddatecircaprint + \iffieldsequal{#2month}{#2endmonth} + {\csuse{mkbibdate#1}{#2endyear}{}{#2endday}}% + {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}% + \blx@printtime{#2}{end}% + \enddateuncertainprint + \dateeraprint{#2endyear}}} +% For ranges of days, months, and years (June 3, 2001--July 1, 2002): + \protected\def\mkmonthdayyearrange#1#2{% + \printtext[#2date]{% + \datecircaprint + \iffieldundef{#2season} + {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}% + \blx@printtime{#2}{}}% + {\csuse{mkbibseasondate#1}{#2year}{#2season}}% + \dateuncertainprint + \dateeraprint{#2year}% + \iffieldequalstr{#2endyear}{} + {\mbox{\bibdaterangesep}}% + {\bibdaterangesep + \enddatecircaprint + \iffieldundef{#2season} + {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}% + \blx@printtime{#2}{end}}% + {\csuse{mkbibseasondate#1}{#2endyear}{#2endseason}}% + \enddateuncertainprint + \dateeraprint{#2endyear}}}} +} + +\NewBibliographyString{by} +\NewBibliographyString{compiler} +\NewBibliographyString{compiler+} +\NewBibliographyString{comptrans} +\NewBibliographyString{comptrans+} +\NewBibliographyString{editor+} +\NewBibliographyString{edtrans} +\NewBibliographyString{edtrans+} +\NewBibliographyString{expanded} +\NewBibliographyString{noplace} +\NewBibliographyString{of} +\NewBibliographyString{origpub} +\NewBibliographyString{part} +\NewBibliographyString{revised} +\NewBibliographyString{review} +\NewBibliographyString{reviewnoauth} +\NewBibliographyString{reprint} +\NewBibliographyString{reprinted} +\NewBibliographyString{selfpub} +\NewBibliographyString{special} +\NewBibliographyString{subverbo} +\NewBibliographyString{subverbos} +\NewBibliographyString{transcomp} +\NewBibliographyString{transcomp+} +\NewBibliographyString{transed} +\NewBibliographyString{transed+} + +\DeclareBibliographyStrings{% + am = {{a\adddot m\adddot}{a\adddot m\adddot}}, + afterword = {{afterword to}{afterword to}}, + andothers = {{et\addabbrvspace al\adddot}{et\addabbrvspace al\adddot}}, + by = {{by}{by}}, + bibliography = {{Bibliography}{Bibliography}}, + chapter = {{chap\adddot}{chap\adddot}}, + citedas = {{hereafter cited as}{hereafter cited as}}, + compiler = {{compiled by}{comp\adddot}}, + compiler+ = {{compiled by}{comps\adddot}}, + comptrans = {{compiled and translated by}{comp\adddotspace and trans\adddot}}, + comptrans+ = {{compiled and translated by}{comps\adddotspace and trans\adddot}}, + edition = {{ed\adddot}{ed\adddot}}, + editor = {{edit\-ed by}{ed\adddot}}, + editor+ = {{edit\-ed by}{eds\adddot}}, + edtrans = {{edit\-ed and translated by}{ed\adddotspace and trans\adddot}}, + edtrans+ = {{edit\-ed and translated by}{eds\adddotspace and trans\adddot}}, + expanded = {{exp\adddotspace ed\adddot}{exp\adddotspace ed\adddot}}, + foreword = {{foreword to}{foreword to}}, + forthcoming = {{forthcoming}{forthcoming}}, + in = {{in}{in}}, + introduction = {{introduction to}{introduction to}}, + ibidem = {{ibid\adddot}{ibid\adddot}}, + mathesis = {{master's thesis}{master's thesis}}, + nodate = {{\lowercase{n}\adddot d\adddot}{\lowercase{n}\adddot d\adddot}}, + noplace = {{N\adddot p\adddot}{n\adddot p\adddot}}, + of = {{of}{of}}, + origpub = {{originally published as}{orig\adddotspace published as}}, + page = {{Page}{Page}}, % assures proper case in 'pageref' + pages = {{Pages}{Pages}}, % assures proper case in 'pageref' + phdthesis = {{PhD diss\adddot}{PhD diss\adddot}}, + pm = {{p\adddot m\adddot}{p\adddot m\adddot}}, + references = {{Bibliography}{Bibliography}}, + reprint = {{reprint}{repr\adddot}}, + reprinted = {{reprinted in}{reprinted in}}, + review = {{review of}{review of}}, + reviewnoauth = {{unsigned review of}{unsigned review of}}, + revised = {{rev\adddotspace ed\adddot}{rev\adddotspace ed\adddot}}, + selfpub = {{Self-published}{self-pub\adddot}}, + special = {{special issue}{special issue}}, + subverbo = {{s\adddot v\adddot}{s\adddot v\adddot}}, + subverbos = {{s\adddot vv\adddot}{s\adddot vv\adddot}}, + transcomp = {{translated and compiled by}{trans\adddotspace and comp\adddot}}, + transcomp+ = {{translated and compiled by}{trans\adddotspace and comps\adddot}}, + transed = {{translated and edited by}{trans\adddotspace and ed\adddot}}, + transed+ = {{translated and edited by}{trans\adddotspace and eds\adddot}}, + translator = {{translated by}{trans\adddot}}, + part = {{pt\adddot}{pt\adddot}}, + urlseen = {{accessed}{accessed}}, + volume = {{vol\adddot}{vol\adddot}}, + volumes = {{vols\adddot}{vols\adddot}} +} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.bib b/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.bib new file mode 100644 index 0000000000..7a06f00739 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.bib @@ -0,0 +1,2633 @@ +@STRING{ucp = "University of Chicago Press"} + +@Book{chicago2017, + author = {{University of Chicago Press}}, + title = {The Chicago Manual of Style}, + shorthand = {\emph{CMOS}}, + shorthandintro = {\addperiod\space Hereafter, \printfield{shorthand}}, + edition = {17}, + address = {Chicago}, + publisher = ucp, + year = {2017} +} + +% Examples not in CMOS + +@Book{doe2010a, + options = {skipbib}, + author = {Doe, Jane}, + title = {A Book's Title}, + editor = {Smith, John}, + translator = {Doe, Jane}, + address = {Chicago}, + publisher = ucp, + year = {2010} +} +@Book{doe2010b, + options = {skipbib,swaptrans}, + author = {Doe, Jane}, + title = {A Book's Title}, + editor = {Smith, John}, + translator = {Doe, Jane}, + address = {Chicago}, + publisher = ucp, + year = {2010} +} +@Book{smith2002a, + options = {skipbib}, + title = {A Book's Title}, + editor = {Smith, John}, + translator = {Doe, Jane}, + address = {Chicago}, + publisher = ucp, + year = {2002} +} +@Book{smith2002b, + options = {skipbib,swaptrans}, + title = {A Book's Title}, + editor = {Smith, John}, + translator = {Doe, Jane}, + address = {Chicago}, + publisher = ucp, + year = {2002} +} +@InCollection{thoreau2007.7, + title = {Walking}, + pages = {185–222}, + crossref = {thoreau2007} +} +@Collection{thoreau2007, + author = {Thoreau, Henry David}, + title = {Excursions}, + editor = {Moldenhauer, Joseph J.}, + series = {The Writings of Henry D. Thoreau}, + publisher = {Princeton University Press}, + address = {Princeton, NJ}, + year = {2009} +} +@InCollection{petrarca1948, + author = {Petrarca, Francesco}, + title = {The Ascent of Mont Ventoux}, + translator = {Nachod, Hans}, + pages = {36–46}, + crossref = {cassirer1948} +} +@Collection{cassirer1948, + editor = {Cassirer, Ernst and Kristeller, Paul Oskar and Randall, Jr., John Herman}, + title = {The Renaissance Philosophy of Man}, + address = {Chicago}, + publisher = ucp, + year = {1948} +} +@InBook{spinoza1900.1.1, + title = {A Theological-Political Treatise}, + crossref = {spinoza1900.1} +} +@Collection{spinoza1900.1, + author = {Spinoza, Benedict de}, + title = {The Chief Works of Benedict de Spinoza}, +% edition = {rev. ed.},% alternative to below: + edition = {revised}, + translator = {Elwes, R. H. M.}, + volume = {1}, + address = {London}, + publisher = {George Bell {and} Sons}, + year = {1900} +} +@InCollection{doe2018, + author = {Doe, Jane}, + title = {A Poem}, + translator = {Smith, John}, + pages = {56–57}, + crossref = {jones2018} +} +@InCollection{edwards2018, + author = {Adams, Mary}, + title = {Another Poem}, + pages = {128–32}, + crossref = {jones2018} +} +@InBook{jones2018, + editor = {Jones, David}, + title = {A Volume of Poems}, + volume = {2}, + year = {2018}, + crossref = {blow2016} +} +@Collection{blow2016, + editor = {White, Amy}, + title = {A Collection of Poems}, + volumes = {4}, + address = {Chicago}, + publisher = ucp, + year = {2016–18} +} + +% 13.65 Full in-text citation + +@Book{hawking1988, + author = {Hawking, Stephen W.}, + title = {A Brief History of Time}, + subtitle = {From the Big Bang to Black Holes}, + address = {New York}, + publisher = {Bantam Books}, + year = {1988} +} +@Book{tocqueville1999, + options = {skipbib}, + author = {Tocqueville, Alexis de}, + title = {Democracy in America}, + address = {Chicago}, + publisher = ucp, + year = {1999} +} + +% 14.23 Notes and bibliography—examples and variations +% 15.9 Author-date references—examples and variations + +@Book{strayed2012, + author = {Strayed, Cheryl}, + title = {Wild}, + subtitle = {From Lost to Found on the Pacific Crest Trail}, + address = {New York}, + publisher = {Alfred A. Knopf}, + year = {2012} +} +@Book{daum2015, + editor = {Daum, Meghan}, + title = {Selfish, Shallow, and Self-Absorbed}, + subtitle = {Sixteen Writers on the Decision Not to Have Kids}, + address = {New York}, + publisher = {Picador}, + year = {2015} +} +@Book{grazer2015, + author = {Grazer, Brian and Fishman, Charles}, + title = {A Curious Mind}, + subtitle = {The Secret to a Bigger Life}, + address = {New York}, + publisher = {Simon \& Schuster}, + year = {2015} +} +@InCollection{gould1984a, + title = {Streisand as Schwarzkopf}, + pages = {308–11}, + crossref = {gould1984} +} +@Collection{gould1984, + author = {Gould, Glenn}, + title = {The Glenn Gould Reader}, + editor = {Page, Tim}, + address = {New York}, + publisher = {Vintage Books}, + year = {1984} +} +@Book{garcia1988, + author = {García Márquez, Gabriel}, + title = {Love in the Time of Cholera}, + translator = {Grossman, Edith}, + address = {London}, + publisher = {Cape}, + year = {1988} +} +@Article{bagley2015, + author = {Bagley, Benjamin}, + title = {Loving Someone in Particular}, + journal = {Ethics}, + volume = {125}, + number = {2}, + date = {2015-01}, + pages = {477–507} +} +@Article{liu2015, + author = {Liu, Jui-Ch'i}, + title = {Beholding the Feminine Sublime}, + subtitle = {Lee Miller's War Photography}, + journal = {Signs}, + volume = {40}, + number = {2}, + date = {2015-24}, + pages = {308–19}, + doi = {https://doi.org/10.1086/678242} +} + +% 14.30: Basic structure of the short form + +@Book{morley1995, + author = {Morley, Samuel A.}, + title = {Poverty and Inequality in Latin America}, + shorttitle = {Poverty and Inequality}, + subtitle = {The Impact of Adjustment and Recovery}, + address = {Baltimore}, + publisher = {Johns Hopkins University Press}, + year = {1995} +} +@Article{schwartz1992, + author = {Schwartz, Regina M.}, + title = {Nationals and Nationalism}, + subtitle = {Adultery in the House of David}, + journal = {Critical Inquiry}, + volume = {19}, + number = {1}, + year = {1992}, + pages = {131–32} +} +@InCollection{kaiser1964, + author = {Kaiser, Ernest}, + title = {The Literature of Harlem}, + shorttitle = {Literature of Harlem}, + crossref = {clarke1964} +} +@Collection{clarke1964, + editor = {Clarke, J. H.}, + title = {Harlem}, + subtitle = {A Community in Transition}, + address = {New York}, + publisher = {Citadel Press}, + year = {1964} +} + +% 14.34: Shortened citations versus “ibid” + +@Book{morrison2004a,% see also 14.110 + author = {Morrison, Toni}, + title = {Beloved}, + address = {New York}, + publisher = {Vintage International}, + year = {2004} +} +@Book{diaz2008, + author = {Díaz, Junot}, + title = {The Brief Wondrous Life of Oscar Wao}, + shorttitle = {Oscar Wao}, + address = {New York}, + publisher = {Riverhead Books}, + year = {2007} +} + +% 14.54 Source notes for previously published material + +@Book{shapin1996, + author = {Shapin, Steven}, + title = {The Scientific Revolution}, + address = {Chicago}, + publisher = ucp, + year = {1996} +} +@Article{manet1992, + author = {Fried, Michael}, + title = {Manet in His Generation}, + subtitle = {The Face of Painting in the 1860s}, + journal = {Critical Inquiry}, + volume = {19}, + number = {1}, + year = {1992}, + pages = {22–69} +} + +% 14.59 Abbreviations for frequently cited works + +@Collection{shurtleff1853, + options = {listvols}, + editor = {Shurtleff, Nathaniel B.}, + title = {Records of the Governor and Company of the Massachusetts Bay in New England (1628–86)}, + shorthand = {\emph{Mass. Records}}, + volumes = {5}, + address = {Boston}, + year = {1853–54} +} + +% 14.68 The 3-em dash for one repeated name + +@Book{judt1996, + author = {Judt, Tony}, + title = {A Grand Illusion?}, + subtitle = {An Essay on Europe}, + address = {New York}, + publisher = {Hill {and} Wang}, + year = {1996} +} +@Book{judt2008, + author = {Judt, Tony}, + title = {Reappraisals}, + subtitle = {Reflections on the Forgotten Twentieth Century}, + address = {New York}, + publisher = {Penguin Press}, + year = {2008} +} +@Book{judt1989, + editor = {Judt, Tony}, + title = {Resistance and Revolution in Mediterranean Europe, 1939–1948}, + address = {New York}, + publisher = {Routledge}, + year = {1989} +} +@InCollection{squire1983, + author = {Squire, Larry R.}, + title = {The Hippocampus and the Neuropsychology of Memory}, + sorttitle = {Hippocampus and the Neuropsychology of Memory}, + pages = {491–511}, + crossref = {seifert1983} +} +@Collection{seifert1983, + editor = {Seifert, W.}, + title = {Neurobiolog of the Hippocampus}, + address = {New York}, + publisher = {Oxford University Press}, + year = {1983} +} +@Book{squire1987, + author = {Squire, Larry R.}, + title = {Memory and Brain}, + address = {New York}, + publisher = {Oxford University Press}, + year = {1987} +} + +% 14.75 One author + +@Book{shields2013, + author = {Shields, David}, + title = {How Literature Saved My Life}, + shorttitle = {Literature}, + address = {New York}, + publisher = {Alfred A. Knopf}, + year = {2013} +} +@Article{chun2015, + author = {Chun, Wendy Hui Kyong}, + title = {On Hypo-real Models or Global Climate Change}, + subtitle = {A Challenge for the Humanities}, + shorttitle = {Hypo-real Models}, + journal = {Critical Inquiry}, + volume = {41}, + number = {3}, + date = {2015-21}, + pages = {675–703} +} +@Book{mccune2014, + author = {McCune, Jr., Jeffrey Q.}, + title = {Sexual Discretion}, + subtitle = {Black Masculinity and the Politics of Passing}, + address = {Chicago}, + publisher = ucp, + year = {2014} +} + +% 14.76 Two or more authors (or editors) + +@Book{sorrells2015, + editor = {Sorrells, Kathryn and Sekimoto, Sachi}, + title = {Globalizing Intercultural Communication}, + subtitle = {A Reader}, + address = {Thousand Oaks, CA}, + publisher = {SAGE}, + year = {2015} +} +@Book{levitt2005, + author = {Levitt, Steven D. and Dubner, Stephen J.}, + title = {Freakonomics}, + subtitle = {A Rogue Economist Explores the Hidden Side of Everything}, + address = {New York}, + publisher = {William Morrow}, + year = {2005} +} +@Article{umbers2015, + author = {Umbers, Kate D. L. and Symonds, Matthew R. E. and Kokko, Hanna}, + title = {The Mothematics of Female Pheromone Signaling}, + subtitle = {Strategies for Aging Virgins}, + journal = {American Naturalist}, + volume = {185}, + number = {3}, + date = {2015-03}, + pages = {417–32} +} +@Article{gmuca2015, + author = {Gmuca, Natalia V. and Pearson, Linnea E. and Burns, Jennifer M. and Liwanag, Heather E. M.}, + title = {The Fat and the Furriest}, + subtitle = {Morphological Changes in Harp Seal Fur with Ontogeny}, + shorttitle = {Harp Seal Fur}, + journal = {Physiological and Biochemical Zoology}, + volume = {88}, + number = {2}, + date = {2015-03/2015-04}, + pages = {158–66} +} + +% 14.77 Two or more authors (or editors) with same family name + +@Book{kendris2010, + author = {Kendris, Christopher and Kendris, Theodore}, + title = {501 Spanish Verbs}, + edition = {7}, + address = {Hauppauge, NY}, + publisher = {Barron's Educational Series}, + year = {2010} +} + +% 14.78 Author's name in title + +@Book{franklin1868, + author = {Franklin, Benjamin}, + title = {Autobiography of Benjamin Franklin}, + editor = {Big\-e\-low, John}, + address = {Philadelphia}, + publisher = {J. B. Lippincott}, + year = {1868} +} + +% 14.79 No listed author (anonymous works) +% 15.34 Author-date format for anonymous works (no listed author) + +@Book{anon1610, + title = {A True and Sincere Declaration of the Purpose and Ends of the Plantation Begun in Virginia, of the Degrees Which It Hath Received, and Means by Which It Hath Been Advanced}, + shorttitle = {True and Sincere Declaration}, + sorttitle = {True and Sincere Declaration}, + address = {London}, + year = {1610} +} +@Book{anon1547, + title = {Stanze in lode della donna brutta}, + shorttitle = {Stanze}, + address = {Florence}, + year = {1547} +} +@Book{horsley1796, + options = {anonauth}, + author = {Horsley, Samuel}, + title = {On the Prosodies of the Greek and Latin Languages}, + address = {London}, + year = {1796} +} +@Book{hawkes1834, + options = {anonqauth}, + author = {Hawkes, James}, + title = {A Retrospect of the Boston Tea-Party, with a Memoir of George R. T. Hewes}, + note = {by a Citizen of New-York}, + address = {New-York}, + year = {1834} +} + +% 14.80 Pseudonyms +% 15.35 Pseudonyms in author-date references + +@Online{akmuckraker2008, + author = {{AK Muckraker}}, + nameaddon = {pseud.}, + title = {Palin Is Back at Work}, + blogtitle = {Mudflats}, + blogsubtitle = {Tiptoeing through the Muck of Alaskan Politics}, + blogtitleaddon = {blog}, + date = {2008-12-05}, + url = {https://mudflats.wordpress.com/2008/12/05/palin-is-back-at-work/} +} +@Book{carre1982, + author = {Le Carr\'e, John}, + nameaddon = {David John Moore Cornwell}, + title = {The Quest for Karla}, + address = {New York}, + publisher = {Knopf}, + year = {1982} +} +@Book{stendhal1925, + author = {Stendhal}, + nameaddon = {Marie-Henri Beyle}, + title = {The Charterhouse of Parma}, + translator = {Scott-Moncrieff, C. K.}, + address = {New York}, + publisher = {Boni {and} Liveright}, + year = {1925} +} + +% 14.81 Cross-references for pseudonyms + +@Misc{ashe, + options = {skipdate}, + author = {Ashe, Gordon}, + userb = {\emph{See} Creasey, John} +} +@Misc{morton, + options = {skipdate}, + author = {Morton, Anthony}, + userb = {\emph{See} Creasey, John} +} +@Misc{york, + options = {skipdate}, + author = {York, Jeremy}, + userb = {\emph{See} Creasey, John} +} +@Book{creasey1976, + sortname = {Creasey, Ashe}, + author = {Creasey, John}, + nameaddon = {Gordon Ashe, pseud.}, + title = {A Blast of Trumpets}, + address = {New York}, + publisher = {Rinehart {and} Winston}, + year = {1976} +} +@Book{creasey1978, + sortname = {Creasey, Morton}, + author = {Creasey, John}, + nameaddon = {Anthony Morton, pseud.}, + title = {Hide the Baron}, + address = {New York}, + publisher = {Walker}, + year = {1978} +} +@Book{creasey1966, + sortname = {Creasey, York}, + author = {Creasey, John}, + nameaddon = {Jeremy York, pseud.}, + title = {Death to My Killer}, + address = {New York}, + publisher = {Macmillan}, + year = {1966} +} + +% 14.82 Alternative real names + +@Book{doniger2000, + author = {Doniger, Wendy}, + title = {The Bedtrick}, + sorttitle = {Bedtrick}, + subtitle = {Tales of Sex and Masquerade}, + address = {Chicago}, + publisher = ucp, + year = {2000} +} +@Misc{oflaherty, + keywords = {notinbib,notinref},% print in example bib only + author = {Doniger, Wendy}, + sorttitle = {See also}, + userb = {\emph{See also} O'Flaherty, Wendy Doniger} +} + +% 14.83 Authors known by a given name + +@Book{elizabeth2000, + author = {{Elizabeth I}}, + title = {Collected Works}, + editor = {Marcus, Leah S. and Mueller, Janel and Rose, Mary Beth}, + address = {Chicago}, + publisher = ucp, + year = {2000} +} + +% 14.84 Organization as author + +@Book{iso1997,% see also 15.37 + keywords = {notinref}, + author = {{International Organization for Standardization}}, +% shortauthor = {ISO}, + title = {Information and Documentation\,—\,Rules for the Abbreviation of Title Words and Titles of Publications}, + shorttitle = {Information and Documentation}, + series = {ISO}, + number = {4}, + address = {Paris}, + publisher = {ISO}, + year = {1997} +} + +% 14.89 Subtitles in cited works and the use of the colon + +@Book{gladwell2013, + author = {Gladwell, Malcolm}, + title = {David and Goliath}, + subtitle = {Underdogs, Misfits, and the Art of Battling Giants}, + address = {New York}, + publisher = {Little, Brown}, + year = {2013} +} + +% 14.90 Two subtitles in a cited work + +@Book{sereny1999, + author = {Sereny, Gitta}, + title = {Cries Unheard}, + subtitle = {Why Children Kill; The Story of Mary Bell}, + address = {New York}, + publisher = {Metropolitan Books / Henry Holt}, + year = {1999} +} + +% 14.92 “And other stories” and such + +@Book{maclean1976, + author = {Maclean, Norman}, + title = {A River Runs through It, and Other Stories}, + address = {Chicago}, + publisher = ucp, + year = {1976} +} + +% 14.93 Dates in titles of cited works + +@Book{beiser2014, + author = {Beiser, Frederick C.}, + title = {After Hegel}, + subtitle = {German Philosophy, 1840–1900}, + address = {Princeton, NJ}, + publisher = {Princeton University Press}, + year = {2014} +} + +% 14.94 Quoted titles and other terms within cited titles of works + +@Book{levitt2014, + author = {Levitt, Steven D. and Dubner, Stephen J.}, + title = {Think Like a Freak}, + subtitle = {The Authors of \mkbibquote{Freak\-o\-nom\-ics} Offer to Retrain Your Brain}, + address = {New York}, + publisher = {William Morrow}, + year = {2014} +} +@Book{mchugh1980, + author = {McHugh, Roland}, + title = {Annotations to \mkbibquote{Finnegan's Wake}}, + address = {Baltimore}, + publisher = {Johns Hopkins University Press}, + year = {1980} +} + +% 14.95 Italicized titles and other terms within cited titles of works + +@Book{vanwagenen1973, + author = {Van Wagenen, Gertrude and Simpson, Miriam E.}, + title = {Postnatal Development of the Ovary in \emph{Homo sapiens} and \emph{Macaca mulatta} and Induction of Ovulation in the Ma\-caque}, + address = {New Haven, CT}, + publisher = {Yale University Press}, + year = {1973} +} + +% 14.96 Question marks or exclamation points in titles of cited works + +@Book{berra2002, + author = {Berra, Yogi}, + title = {What Time Is It? You Mean Now? Advice for Life from the Zennest Master of Them All}, + shorttitle = {What Time Is It?}, + note = {with Dave Kaplan}, + address = {New York}, + publisher = {Simon \& Schuster}, + year = {2002} +} +@Book{oram2007, + author = {Oram, Alison}, + title = {Her Husband Was a Woman!}, + subtitle = {Women's Gender-Crossing and British Popular Culture}, + address = {London}, + publisher = {Routledge}, + year = {2007} +} +@Article{tessler2014, + author = {Tessler, Michael and Truhn, Kam M. and Bliss-Moreau, Meghan and Wehr, John D.}, + title = {Diversity and Distribution of Stream Bryophytes}, + subtitle = {Does pH Matter?}, + journal = {Freshwater Science}, + volume = {33}, + number = {3}, + date = {2014-09}, + pages = {778–87} +} +@Article{batson1990, + author = {Batson, C. Daniel}, + title = {How Social Is the Animal?}, + subtitle = {The Human Capacity for Caring}, + journal = {American Psychologist}, + volume = {45}, + date = {1990-03}, + pages = {336–46} +} + +% 14.99 Translated titles of cited works + +@Book{wereszycki1977, + author = {Wereszycki, Henryk}, + title = {Koniec sojuszu trzech cesarzy}, + titleaddon = {The end of the Three Emperors' League}, + address = {Warsaw}, + publisher = {PWN}, + year = {1977} +} +@Article{kern1938, + author = {Kern, W.}, + title = {Waar verzamelde Pigafetta zijn Maleise woorden?}, + titleaddon = {Where did Pigafetta collect his Malaysian words?}, + journal = {Tijdschrift voor Indische taal-, land- en vol\-ken\-kun\-de}, + volume = {78}, + year = {1938}, + pages = {271–73} +} +@Book{pirumova1977a, + author = {Pirumova, Natalia Mikhailovna}, + title = {Zemskoe liberal'noe dvizhenie}, + subtitle = {Sotsial'nye korni i evoliutsiia do nachala XX veka}, + titleaddon = {The zemstvo liberal movement: Its social roots and evolution to the beginning of the twentieth century}, + address = {Moscow}, + publisher = {Izdatel'stvo \mkbibquote{Nau\-ka}}, + year = {1977} +} +@Book{pirumova1977b, + author = {Pirumova, N. M.}, + title = {The Zemstvo Liberal Movement}, + subtitle = {Its Social Roots and Evolution to the Beginning of the Twentieth Century}, + titleaddon = {in Russian}, + address = {Moscow}, + publisher = {Izdatel'stvo \mkbibquote{Nau\-ka}}, + year = {1977} +} +@Book{furet1999,% see also 14.59 + author = {Furet, François}, + title = {The Passing of an Illusion}, +% shorthand = {\emph{PI}}, + shorthandintro = {\mkbibparens{hereafter cited in text as \printfield{shorthand}}}, + translator = {Furet, Deborah}, + address = {Chicago}, + publisher = ucp, + year = {1999}, + origtitle = {Le passé d'une illusion}, + origlocation = {Paris}, + origpublisher = {Éditions Robert Laffont}, + origdate = {1995} +} + +% 14.101 Form of author's name and title of book in source citations + +@Book{gawande2014, + author = {Gawande, Atul}, + title = {Being Mortal}, + subtitle = {Medicine and What Matters in the End}, + address = {London}, + publisher = {Profile Books}, + year = {2014} +} + +% 14.103 Editor in place of author + +@Book{egan2014, + editor = {Egan, Jennifer}, + title = {The Best American Short Stories, 2014}, + shorttitle = {Best American Short Stories}, + address = {Boston}, + publisher = {Houghton Mifflin Harcourt}, + year = {2014} +} +@Book{schechter2011, + editor = {Schechter, Harold, and Kurt Brown}, + editortype = {compiler}, + title = {Killer Verse}, + subtitle = {Poems of Murder and Mayhem}, + address = {London}, + publisher = {Everyman Paperback Classics}, + year = {2011} +} +@Book{silverstein1974, + translator = {Silverstein, Theodore}, + title = {Sir Gawain and the Green Knight}, + shorttitle = {Sir Gawain}, + address = {Chicago}, + publisher = ucp, + year = {1974} +} + +% 14.104 Editor or translator in addition to author + +@Collection{bonnefoy1995, + author = {Bonnefoy, Yves}, + title = {New and Selected Poems}, + editor = {Naughton, John and Ru\-dolf, Anthony}, + address = {Chicago}, + publisher = ucp, + year = {1995} +} +@Book{menchu1999, + options = {swaptrans}, + author = {Menchú, Rigoberta}, + title = {Crossing Borders}, + editor = {Wright, Ann}, + translator = {Wright, Ann}, + address = {New York}, + publisher = {Verso}, + year = {1999} +} +@Collection{adorno1999, + author = {Adorno, Theodor W. and Benjamin, Walter}, + title = {The Complete Correspondence, 1928–1940}, + editor = {Lonitz, Henri}, + translator = {Walker, Nicholas}, + address = {Cambridge, MA}, + publisher = {Harvard University Press}, + year = {1999} +} +@Book{pound1953, + options = {swapauth}, + sortname = {Eliot, T. S.}, + author = {Pound, Ezra}, + title = {Literary Essays}, + editor = {Eliot, T. S.}, + address = {New York}, + publisher = {New Directions}, + year = {1953} +} + +% 14.105 Other contributors listed on the title page + +@Book{chaucer1966, + options = {noauth}, + author = {Chaucer}, + title = {Chaucer Life-Records}, + editor = {Crow, Martin M. and Olson, Clair C.}, + editoraddon = {from materials compiled by John M. Manly and Edith Richert, with the assistance of Lilian J. Redstone et al.}, + address = {London}, + publisher = {Oxford University Press}, + year = {1966} +} +@Book{cullen1961, + author = {Cullen, John B.}, + title = {Old Times in the Faulkner Country}, + note = {in collaboration with Floyd C. Watkins}, + address = {Chapel Hill}, + publisher = {University of North Carolina Press}, + year = {1961} +} +@Book{hayek1994, + author = {Hayek, F. A.}, + title = {The Road to Serfdom}, + note = {with a new introduction by Milton Friedman}, + address = {Chicago}, + publisher = ucp, + year = {1994} +} +@Book{prather1998, + author = {Prather, Marla}, + title = {Alexander Calder, 1898–1976}, + note = {with contributions by Arnauld Pierre and Alexander S. C. Rower}, + address = {New Haven, CT}, + publisher = {Yale University Press}, + year = {1998} +} +@Collection{williams1990, + author = {Williams, Joseph M.}, + title = {Style}, + subtitle = {Toward Clarity and Grace}, + note = {with two chapters coauthored by Gregory G. Colomb}, + address = {Chicago}, + publisher = ucp, + year = {1995} +} + +% 14.106 Chapter in a single-author book + +@InCollection{brower2015.8, + author = {Brower, Kate Andersen}, + title = {Backstairs Gossip and Mischief}, + pages = {207–22}, + crossref = {brower2015} +} +@Collection{brower2015, + author = {Brower, Kate Andersen}, + title = {The Residence}, + subtitle = {Inside the Private World of the White House}, + address = {New York}, + publisher = {Harper}, + year = {2015} +} +@InCollection{samples2006.7, + title = {The Origins of Modern Campaign Finance Law}, + shorttitle = {Campaign Finance Law}, + chapter = {7}, + crossref = {samples2006} +} +@Book{samples2006, + author = {Samples, John}, + title = {The Fallacy of Campaign Finance Reform}, + address = {Chicago}, + publisher = ucp, + year = {2006} +} + +% 14.107 Contribution to a multiauthor book + +@InCollection{miller2014, + author = {Miller, Ruth A.}, + title = {Posthuman}, + crossref = {stimpson2014} +} +@Collection{stimpson2014, + editor = {Stimpson, Cath\-ar\-ine R. and Herdt, Gilbert}, + title = {Critical Terms for the Study of Gender}, + address = {Chicago}, + publisher = ucp, + year = {2014} +} +@InCollection{ellet1968, + author = {Ellet, Elizabeth F. L.}, + title = {By Rail and Stage to Galena}, + pages = {271–79}, + crossref = {angle1968} +} + +% 14.108 Several contributions to the same multiauthor book +% 15.42 Cross-references to multiauthor books in reference lists + +@InCollection{keating1968, + author = {Keating, William H.}, + title = {Fort Dearborn and Chicago}, + pages = {84–87}, + crossref = {angle1968} +} +@InCollection{lippincott1968, + author = {Lippincott, Sara Clarke}, + title = {Chicago}, + pages = {362–70}, + crossref = {angle1968} +} +@Collection{angle1968, + editor = {Angle, Paul M.}, + title = {Prairie State}, + subtitle = {Impressions of Illinois, 1673–1967, by Travelers and Other Observers}, + address = {Chicago}, + publisher = ucp, + year = {1968} +} +@InCollection{draper1987, + author = {Draper, Joan E.}, + title = {Paris by the Lake}, + subtitle = {Sources of Burnham's Plan of Chicago}, + pages = {107–19}, + crossref = {zukowsky1987} +} +@InCollection{harrington1987, + author = {Harrington, Elaine}, + title = {International Influences on Henry Hobson Richardson's Glessner House}, + pages = {189–207}, + crossref = {zukowsky1987} +} +@Collection{zukowsky1987, + editor = {Zu\-kow\-sky, John}, + title = {Chicago Architecture, 1872–1922}, + subtitle = {Birth of a Metropolis}, + shorttitle = {Chicago Architecture}, + address = {Chicago}, + publisher = {Prestel-Verlag in association with the Art Institute of Chicago}, + year = {1987} +} + +% 14.109 Book-length work within a book + +@InBook{bernard1990a, + title = {A Party for Boris}, + crossref = {bernard1990} +} +@Collection{bernard1990, + author = {Bernard, Thomas}, + title = {Histrionics}, + subtitle = {Three Plays}, + translator = {Jansen, Peter K. and Northcott, Kenneth}, + address = {Chicago}, + publisher = ucp, + year = {1990} +} +@InBook{updike1995a, + title = {Rabbit, Run}, + crossref = {updike1995b} +} +@Collection{updike1995b, + author = {Updike, John}, + title = {Rabbit Angstrom}, + subtitle = {A Tetralogy}, + address = {New York}, + publisher = {Everyman's Library}, + year = {1995} +} + +% 14.110 Introductions, prefaces, afterwords, and the like + +@InCollection{morrison2004b.f, + foreword = {Morrison, Toni}, + crossref = {morrison2004b} +} +@Book{morrison2004b,% see also 14.34 + author = {Morrison, Toni}, + title = {Song of Solomon}, + address = {New York}, + publisher = {Vintage International}, + year = {2004} +} +@InCollection{mansfield2000, + introduction = {Mansfield, Harvey, and Delba Winthrop}, + pages = {xvii–lxxxvi}, + crossref = {tocqueville2000} +} +@Book{tocqueville2000, + options = {swaptrans}, + sortname = {Mansfield, Harvey}, + author = {Tocqueville, Alexis de}, + title = {Democracy in America}, + editor = {Mansfield, Harvey, and Delba Winthrop}, + translator = {Mansfield, Harvey, and Delba Winthrop}, + address = {Chicago}, + publisher = ucp, + year = {2000} +} + +% 14.111 Letters in published collections + +@Letter{adams1867, + title = {Adams to Charles Milnes Gaskell, Baden, September 22, 1867}, + crossref = {adams1930} +} +@Collection{adams1930, + author = {Adams, Henry}, + editor = {Ford, Worthington Chauncey}, + title = {Letters of Henry Adams, 1858–1891}, + address = {Boston}, + publisher = {Houghton Mifflin}, + year = {1930} +} +@Letter{jackson1676, + author = {Jackson, Paulina}, + title = {Paulina Jackson to John Pepys Junior, October 3, 1676}, + number = {42}, + crossref = {pepys1955} +} +@Collection{pepys1955, + editor = {Heath, Helen Truesdell}, + title = {The Letters of Samuel Pepys and His Family Circle}, + address = {Oxford}, + publisher = {Clarendon Press}, + year = {1955} +} + +% 14.113 Editions other than the first + +@Book{einsohn2011, + author = {Einsohn, Amy}, + title = {The Copyeditor's Handbook}, + subtitle = {A Guide for Book Publishing and Corporate Communications, with Exercises and Answer Keys}, + edition = {3}, + address = {Berkeley}, + publisher = {University of California Press}, + year = {2011} +} +@Book{boudett2013, + editor = {Boudett, Kathryn Parker and City, Elizabeth A. and Murnane, Richard J.}, + title = {Data Wise}, + subtitle = {A Step-by-Step Guide to Using Assessment Results to Improve Teaching and Learning}, +% edition = {rev. ed.},% alternative to below: + edition = {revised}, + address = {Cambridge, MA}, + publisher = {Harvard Education Press}, + year = {2013} +} +@Book{strunk2000, + author = {Strunk, Jr., William and White, E. B.}, + title = {The Elements of Style}, + edition = {4}, + address = {New York}, + publisher = {Allyn {and} Bacon}, + year = {2000} +} + +% 14.114 Reprint editions and modern editions + +@Book{barzun1994, + author = {Barzun, Jacques}, + title = {Simple and Direct}, + subtitle = {A Rhetoric for Writers}, +% edition = {rev. ed.},% alternative to below: + edition = {revised}, + address = {Chicago}, + publisher = ucp, + origdate = {1985}, + year = {1994} +} +@Book{bahadur2014, + author = {Bahadur, Gaiutra}, + title = {Coolie Woman}, + subtitle = {The Odyssey of Indenture}, + address = {Chicago}, + publisher = ucp, + year = {2014}, + addendum = {first published 2013 by C. Hurst (London)} +} +@Book{emerson1985, + author = {Emerson, Ralph Waldo}, + title = {Nature}, + address = {Boston}, + publisher = {Beacon}, + note = {facsimile of the first edition, with an introduction by Jar\-o\-slav Pelikan}, + origdate = {1836}, + year = {1985} +} +@Book{schweitzer1966, + author = {Schweitzer, Albert}, + title = {J. S. Bach}, + translator = {Newman, Ernest}, + volumes = {2}, + address = {New York}, + publisher = {Dover}, + origdate = {1911}, + year = {1966} +} + +% 14.115 Microform editions + +@Book{farwell1997, + author = {Farwell, Beatrice}, + title = {Lithography in Art and Commerce}, + volume = {12}, + maintitle = {French Popular Lithographic Imagery, 1815–1870}, + address = {Chicago}, + publisher = ucp, + year = {1997}, + howpublished = {microfiche} +} +@Thesis{tauber1958, + author = {Tauber, Abraham}, + title = {Spelling Reform in the United States}, + type = {phdthesis}, + institution = {Co\-lum\-bia University}, + year = {1958}, + howpublished = {microfilm} +} + +% 14.117 Citing a multivolume work as a whole + +@Book{aristotle1983,% see also 14.251 + author = {Aristotle}, + title = {Complete Works of Aristotle}, + subtitle = {The Revised Oxford Translation}, + editor = {Barnes, J.}, + volumes = {2}, + series = {Bollingen Series}, + address = {Princeton, NJ}, + publisher = {Princeton University Press}, + year = {1983} +} +@Collection{byrne1981, + editor = {Byrne, Muriel St. Clare}, + title = {The Lisle Letters}, + shorttitle = {Lisle Letters}, + volumes = {6}, + address = {Chicago}, + publisher = ucp, + year = {1981} +} +@Collection{james1962, + author = {James, Henry}, + title = {The Complete Tales of Henry James}, + shorttitle = {Complete Tales of Henry James}, + sorttitle = {Complete Tales of Henry James}, + editor = {Edel, Leon}, + volumes = {12}, + address = {London}, + publisher = {Rupert Hart-Davis}, + year = {1962–64}, + sortyear = {1962} +} + +% 14.118 Citing a particular volume in a note + +@Collection{james1963.5, + options = {swapvol}, + author = {James, Henry}, + title = {1883–1884}, + volume = {5}, + maintitle = {The Complete Tales of Henry James}, + shortmaintitle = {Complete Tales of Henry James}, + sorttitle = {Complete Tales of Henry James}, + editor = {Edel, Leon}, + editortype = {maintitle}, + volumes = {12}, + address = {London}, + publisher = {Rupert Hart-Davis}, + year = {1963} +} + +% 14.119 Citing a particular volume in a bibliography + +@Collection{carson2014, + editor = {Armstrong, Tenisha}, + title = {To Save the Soul of America, January 1961–August 1962}, + volume = {7}, + maintitle = {The Papers of Martin Luther King, Jr.}, + editora = {Carson, Clayborne}, + editoratype = {maintitle}, + volumes = {14}, + address = {Berkeley}, + publisher = {University of California Press}, + year = {2014} +} +@InBook{armstrong2014, + editor = {Armstrong, Tenisha}, + title = {To Save the Soul of America, January 1961–August 1962}, + shorttitle = {To Save the Soul of America}, + volume = {7}, + year = {2014}, + crossref = {carson1992} +} +@Collection{carson1992, + editor = {Carson, Clayborne}, + title = {The Papers of Martin Luther King, Jr.}, + volumes = {14}, + address = {Berkeley}, + publisher = {University of California Press}, + year = {1992–} +} + +% 14.120 Chapters and other parts of individual volumes + +@InCollection{chen2010.3, + author = {Chen Jian}, + title = {China and the Cold War after Mao}, + pages = {181–200}, + crossref = {leffler2010} +} +@Collection{leffler2010, + editor = {Leffler, Melvyn P. and Westad, Odd Arne}, + title = {Endings}, + volume = {3}, + maintitle = {The Cambridge History of the Cold War}, + address = {Cambridge}, + publisher = {Cambridge University Press}, + year = {2010} +} +@Letter{king2014, + author = {King, Jr., Martin Luther}, + title = {Unpublished letter to the editor of the \emph{Afro-American} (Washington, DC)}, + shorttitle = {Letter to the \emph{Afro-American}}, +% crossref = {carson2014} + crossref = {armstrong2014} +} + +% 14.121 One volume in two or more books + +@Book{lach1977, + author = {Lach, Donald}, + title = {The Scholarly Disciplines}, + volume = {2}, + part = {bk. 3}, + maintitle = {Asia in the Making of Europe}, + address = {Chicago}, + publisher = ucp, + year = {1977} +} +@InBook{harley1994, + editor = {Harley, J. B. and Woodward, David}, + title = {Cartography in the Traditional East and Southeast Asian Societies}, + volume = {2}, + part = {bk. 2}, + year = {1994}, + crossref = {cartography1987} +} +@Collection{cartography1987, + title = {The History of Cartography}, + address = {Chicago}, + publisher = ucp, + year = {1987–} +} + +% 14.122 Authors and editors of multivolume works + +@InBook{barrows1959, + author = {Barrows, Herbert}, + title = {Reading the Short Story}, + volume = {1}, + crossref = {gordon1959} +} +@Collection{gordon1959, + editor = {Ray, Gordon N.}, + title = {An Introduction to Literature}, + address = {Boston}, + publisher = {Houghton Mifflin}, + year = {1959} +} +@InBook{donne1995, + title = {The \mkbibquote{Anniversaries} and the \mkbibquote{Epicedes and Obsequies}}, + editor = {Stringer, Gary A. and Pebworth, Ted-Larry}, + volume = {6}, + crossref = {stringer1995} +} +@Collection{stringer1995, + author = {Donne, John}, + editor = {Stringer, Gary A.}, + title = {The Variorum Edition of the Poetry of John Donne}, + address = {Bloomington}, + publisher = {Indiana University Press}, + year = {1995} +} + +% 14.123 Series titles, numbers, and editors + +@Book{lei2014, + author = {Lei, Sean Hsiang-lin}, + title = {Neither Donkey nor Horse}, + subtitle = {Medicine in the Struggle over China's Modernity}, + series = {Studies of the Weatherhead East Asian Institute}, + address = {Chicago}, + publisher = ucp, + year = {2014} +} +@Book{mazrim2011, + author = {Mazrim, Robert F.}, + title = {At Home in the Illinois Country}, + subtitle = {French Colonial Domestic Site Archaeology in the Midwest, 1730–1800}, + series = {Studies in Illinois Archaeology}, + number = {9}, + address = {Urbana}, + publisher = {Illinois State Archaeological Survey}, + year = {2011} +} +@Book{wauchope1950, + author = {Wauchope, Robert}, + title = {A Tentative Sequence of Pre-Classic Ceramics in Middle America}, + series = {Middle American Research Records}, + volume = {1}, + number = {14}, + address = {New Orleans}, + publisher = {Tulane University}, + year = {1950} +} +@Book{allen2009, + author = {Allen, Judith A.}, + title = {The Feminism of Charlotte Perkins Gilman}, + subtitle = {Sexualities, Histories, Progressivism}, + series = {Women in Culture and Society}, + editor = {Stimpson, Catharine R.}, + editortype = {series}, + address = {Chicago}, + publisher = ucp, + year = {2009} +} + +% 14.124 Series or multivolume work? + +@Book{boyer1986, + editor = {Boyer, John W. and Kirshner, Julius}, + title = {Readings in Western Civilization}, + volumes = {9}, + address = {Chicago}, + publisher = ucp, + year = {1986–87} +} +@Book{cochrane1987, + author = {Cochrane, Eric W. and Gray, Charles K. and Kishlansky, Mark}, + title = {Early Modern Europe}, + subtitle = {Crisis of Authority}, + series = {Readings in Western Civilization}, + number = {vol. 6}, + editor = {Boyer, John W. and Kirshner, Julius}, + editortype = {series}, + address = {Chicago}, + publisher = ucp, + year = {1987} +} + +% 14.126 “Old series” and “new series” + +@Book{boxer1953, + editor = {Boxer, Charles R.}, + title = {South China in the Sixteenth Century}, + series = {Hakluyt Society Publications}, + seriesaddon = {2nd ser.}, + number = {vol. 106}, + address = {London}, + publisher = {Hakluyt}, + year = {1953} +} +@Book{palmatary1950, + author = {Palmatary, Helen C.}, + title = {The Pottery of Maraj\'o Island, Brazil}, + series = {Transactions of the American Philosophical Society}, + seriesaddon = {n.s.}, + number = {39}, + part = {3}, + address = {Philadelphia}, + publisher = {American Philosophical Society}, + year = {1950} +} + +% 14.127 Place, publisher, and date + +@Book{woolf1927, + author = {Woolf, Virginia}, + title = {To the Lighthouse}, + address = {London}, + publisher = {Hogarth Press}, + year = {1927} +} + +% 14.128 Place and date only, for books published before 1900 + +@Book{goldsmith1766, + author = {Goldsmith, Oliver}, + title = {The Vicar of Wakefield}, + address = {Salisbury}, + year = {1766} +} +@Book{cervantes1605, + author = {Cervantes Saavedra, Miguel de}, + title = {El ingenioso hidalgo Don Quixote de la Mancha}, + volumes = {2}, + address = {Madrid}, + year = {1605–15} +} + +% 14.132 No place of publication + +@Book{windsor1910, + options = {skipbib}, + publisher = {Windsor}, + year = {1910} +} +@Book{vliet1890, + options = {skipbib}, + address = {[Lake Bluff, IL?]}, + publisher = {Vliet \& Edwards}, + year = {1890} +} + +% 14.137 Self-published or privately published books + +@Book{karavaev2015, + author = {Karavaev, Vasiliy}, + title = {GOA}, + subtitle = {Confession of the Psychedelic Oyster}, + publisher = {\bibstring{selfpub}}, + year = {2015}, + howpublished = {\lowercase{i}\-Books} +} +@Book{shumaker2014, + author = {Shumaker, O. W.}, + title = {Anna's Bear}, + subtitle = {5 Days of Moral Conflict and Pursuit, Nazi Germany, 1939}, + publisher = {\bibstring{selfpub}, Amazon Digital Services}, + year = {2014}, + howpublished = {Kindle} +} + +% 14.140 Copublication + +@Book{strauss1962, + author = {Lévi-Strauss, Claude}, + title = {The Savage Mind}, + address = {Chicago and London}, + publisher = {University of Chicago Press and Weidenfeld {and} Nicolson}, + year = {1962} +} + +% 14.141 Distributed books + +@Book{willke2007, + author = {Willke, Helmut}, + title = {Smart Governance}, + subtitle = {Governing the Global Knowledge Society}, + address = {Frankfurt am Main}, + publisher = {Campus Verlag}, + year = {2007}, + addendum = {Distributed by University of Chicago Press} +} + +% 14.144 Multivolume works published over more than one year +% 15.41 Multivolume works published over more than one year + +@InBook{hayek2011, + title = {The Constitution of Liberty}, + subtitle = {The Definitive Edition}, + editor = {Ham\-o\-wy, Ronald}, + volume = {17}, + year = {2011}, + crossref = {hayek1988} +} +@Collection{hayek1988, + author = {Hayek, F. A.}, + editor = {Bruce Caldwell}, + title = {The Collected Works of F. A. Hayek}, + address = {Chicago}, + publisher = ucp, + year = {1988–} +} +@Book{tillich1951, + author = {Tillich, Paul}, + title = {Systematic Theology}, + volumes = {3}, + address = {Chicago}, + publisher = ucp, + year = {1951–63} +} + +% 14.145 No date of publication + +@Book{boston, + options = {skipbib}, + address = {Boston} +} +@Book{edinburgh1750, + options = {skipbib}, + address = {Edinburgh}, + year = {[1750?]} +} +@Book{edinburgh, + options = {skipbib}, + address = {Edinburgh}, + year = {n.d., ca. 1750} +} + +% 14.146 Forthcoming publications + +@Book{author, + keywords = {notinbib,notinref},% print in example bib only + author = {Author, Jane Q.}, + title = {Book Title}, + address = {Place}, + publisher = {Publisher}, + year = {forthcoming} +} +@Book{writer, + keywords = {notinbib,notinref},% print in example bib only + author = {Writer, John J.}, + title = {Another Book Title}, + address = {Place}, + publisher = {Publisher}, + year = {forthcoming} +} +@InCollection{contributor, + keywords = {notinbib,notinref},% print in example bib only + author = {Contributor, Anna}, + title = {Contribution}, + crossref = {editor} +} +@Collection{editor, + keywords = {notinbib,notinref},% print in example bib only + title = {Edited Volume}, + editor = {Editor, Ellen}, + address = {Place}, + publisher = {Publisher}, + year = {forthcoming} +} + +% 14.159 Books requiring a specific application or device (e-books) + +@Book{borel2015, + author = {Borel, Brooke}, + title = {Infested}, + subtitle = {How the Bed Bug Infiltrated Our Bedrooms and Took Over the World}, + address = {Chicago}, + publisher = ucp, + year = {2015}, + howpublished = {Adobe Digital Editions EPUB} +} + +% 14.161 Books consulted online + +@Book{bonds2014, + author = {Bonds, Mark Evan}, + title = {Absolute Music}, + subtitle = {The History of an Idea}, + address = {New York}, + publisher = {Oxford University Press}, + year = {2014}, + doi = {https://doi.org/10.1093/acprof:oso/9780199343638.001.0001} +} +@Book{lystra2004, + author = {Lystra, Karen}, + title = {Dangerous Intimacy}, + subtitle = {The Untold Story of Mark Twain's Final Years}, + address = {Berkeley}, + publisher = {University of California Press}, + year = {2004}, + url = {http://ark.cdlib.org/ark:/13030/kt8779q6kr/} +} + +% 14.162 Freely available electronic editions of older works + +@Book{james2008, + author = {James, Henry}, + title = {The Ambassadors}, + sorttitle = {Ambassadors}, + publisher = {Project Gutenberg}, + year = {2008}, + origlocation = {New York}, + origyear = {1909}, + sortyear = {1910},% sort after james1909 + url = {http://www.gutenberg.org/ebooks/432} +} +@Book{james1909, + options = {listvols}, + author = {James, Henry}, + title = {The Ambassadors}, + sorttitle = {Ambassadors}, + volumes = {2}, + address = {New York}, + publisher = {Charles Scribner's Sons}, + year = {1909}, + url = {https://books.google.com/books?id=WYlUAAAAYAAJ} +} + +% 14.163 Books on CD-ROM and other fixed media + +@Book{chicago2003, + author = {{University of Chicago Press}}, + title = {The Chicago Manual of Style}, + edition = {15}, + address = {Chicago}, + publisher = ucp, + year = {2003}, + howpublished = {CD-ROM} +} + +% 14.171 Journal volume, issue, and date + +@Article{lock2015, + author = {Lock, Margaret}, + title = {Comprehending the Body in the Era of the Epigenome}, + journal = {Current Anthropology}, + volume = {56}, + number = {2}, + date = {2015-04}, + pages = {151–77}, + doi = {https://doi.org/10.1086/680350} +} +@Article{wesoky2015, + author = {Wesoky, Sharon R.}, + title = {Bringing the \emph{Jia} Back into \emph{Guojia}}, + subtitle = {Engendering Chinese Intellectual Politics}, + journal = {Signs}, + volume = {40}, + number = {3}, + date = {2015-21}, + pages = {647–66}, + doi = {https://doi.org/10.1086/679524} +} +@Article{harper2014, + author = {Harper, David G.}, + title = {Bringing Accommodation into Focus}, + subtitle = {The Several Discoveries of the Ciliary Muscle}, + journal = {JAMA Ophthalmology}, + volume = {132}, + number = {5}, + date = {2014-05}, + pages = {645–48}, + url = {https://doi.org/10.1001/jamaophthalmol.2013.5525} +} +@Article{wilder2013, + author = {Wilder, Lina Perkins}, + title = {`My Exion Is Entered'}, + subtitle = {Anatomy, Costume, and Theatrical Knowledge in 2 Henry IV}, + journal = {Renaissance Drama}, + volume = {41}, + number = {1/2}, + issue = {Fall},% '2013-23' in date prints 'Autumn 2013' + year = {2013}, + pages = {60}, + url = {https://doi.org/10.1086/673907} +} +@Article{beattie1974, + author = {Beattie, J. M.}, + title = {The Pattern of Crime in England, 1660–1800}, + shorttitle = {The Pattern of Crime}, + journal = {Past and Present}, + number = {62}, + date = {1974-02}, + pages = {47–95}, + url = {http://www.jstor.org/stable/650463} +} + +% 14.172 Forthcoming journal articles + +@Article{authora, + author = {Author, Margaret M.}, + title = {Article Title}, + journal = {Journal Name}, + volume = {98}, + year = {forthcoming} +} + +% 14.174 Journal page references + +@Article{gold2015, + author = {Gold, Ann Grodzins}, + title = {Grains of Truth}, + subtitle = {Shifting Hierarchies of Food and Grace in Three Rajasthani Tales}, + journal = {History of Religions}, + volume = {38}, + number = {2}, + date = {1998}, + pages = {150–71} +} +@Article{paudyal2015, + author = {Paudyal, Priyamvada and Llewellyn, Carrie and Lau, Jason and Mahmud, Mohammad and Smith, Helen}, + title = {Obtaining Self-Samples to Diagnose Curable Sexually Transmitted Infections}, + subtitle = {A Systematic Review of Patients' Experiences}, + journal = {PLoS ONE}, + volume = {10}, + number = {4}, + date = {2015}, + eid = {e0124310}, + doi = {https://doi.org/10.1371/journal.pone.0124310} +} + +% 14.175 Journal articles consulted online + +@Article{whitney1929, + author = {Whitney, Frank P.}, + title = {The Six-Year High School in Cleveland}, + journal = {School Review}, + volume = {37}, + number = {4}, + date = {1929-04}, + pages = {267–71}, + url = {http://www.jstor.org/stable/1078814} +} +@Article{schoenfield2016, + author = {Schoenfield, Miriam}, + title = {Moral Vagueness Is Ontic Vagueness}, + journal = {Ethics}, + volume = {126}, + number = {2}, + year = {2016}, + pages = {260–61}, + doi = {https://doi.org/10.1086/683541} +} + +% 14.176 Access dates for journal articles + +@Article{narr2015, + author = {Narr, Charlotte F. and Krist, Amy C.}, + title = {Host Diet Alters Trematode Replication and Elemental Composition}, + shorttitle = {Host Diet}, + journal = {Freshwater Science}, + volume = {34}, + number = {1}, + date = {2015-03}, + pages = {81–91}, + urldate = {2017-08-01}, + url = {https://doi.org/10.1086/679411} +} + +% 14.178 Journal special issues + +@Article{tezuka2013, + author = {Tezuka, Miwako}, + title = {Jikken Kōbō and Takiguchi Shūzō}, + subtitle = {The New Deal Collectivism of 1950s Japan}, + issuetitle = {\mkbibquote{Collectivism in Twentieth-Century Japanese Art}}, + editor = {Tomii, Reiko, and Yoshimoto, Midori}, + editortype = {issuetitle}, + journal = {Positions: Asia Critique}, + volume = {21}, + number = {2}, + date = {2013-21}, + url = {https://doi.org/10.1215/10679847-2018283} +} + +% 14.180 Articles published in installments + +@Article{brown1978, + editor = {Brown, George C.}, + title = {A Swedish Traveler in Early Wisconsin}, + subtitle = {The Observations of Fredrika Bremer}, + part = {1}, + journal = {Wisconsin Magazine of History}, + volume = {61}, + date = {1978-22}, + pages = {300–318} +} + +% 14.182 Place where journal is published + +@Article{luu1999, + author = {Luu, Diane-Dinh Kim}, + title = {Diethylstilbestrol and Media Coverage of the `Morning After' Pill}, + journal = {Lost in Thought: Undergraduate Research Journal}, + address = {Indiana University South Bend}, + volume = {2}, + year = {1999}, + pages = {65–70} +} +@Article{garrett1975, + author = {Garrett, Marvin P.}, + title = {Language and Design in \emph{Pippa Passes}}, + journal = {Victorian Poetry}, + address = {West Virginia University}, + volume = {13}, + number = {1}, + year = {1975}, + pages = {47–60} +} + +% 14.183 Translated or edited article + +@Article{authorb, + keywords = {notinbib,notinref}, + author = {Author, Arthur Q.}, + title = {Article Title}, + translator = {Translator, Tim Z.}, + journal = {Journal Title...} +} +@Article{authorc, + keywords = {notinbib,notinref}, + author = {Author, Arthur Q.}, + title = {Article Title}, + editor = {Editor, Edward A.}, + journal = {Journal Title...} +} + +% 14.184 New series for journal volumes + +@Article{sewall1896, + sortname = {Proceedings}, + title = {Letter of Jonathan Sewall}, + journal = {Proceedings of the Massachusetts Historical Society}, + series = {2nd ser.}, + volume = {10}, + date = {1896-01}, + pages = {414} +} +@Article{moraes1950, + author = {Moraes, G. M.}, + title = {St. Francis Xavier, Apostolic Nuncio, 1542–52}, + journal = {Journal of the Bombay Branch of the Royal Asiatic Society}, + series = {n.s.}, + volume = {26}, + year = {1950}, + pages = {279–313} +} + +% 14.185 Short titles for articles + +@Article{rosenblum2015, + author = {Rosenblum, Daniel}, + title = {Unintended Consequences of Women's Inheritance Rights on Female Mortality in India}, + shorttitle = {Female Mortality in India}, + journal = {Economic Development and Cultural Change}, + volume = {63}, + number = {2}, + date = {2015-01}, + pages = {223-48}, + doi = {https://doi.org/10.1086/679059} +} + +% 14.186 Abstracts + +@Article{matute2015, + author = {Matute, Daniel R.}, + title = {Noisy Neighbors Can Hamper the Evolution of Reproductive Isolation by Reinforcing Selection}, + note = {abstract}, + journal = {American Naturalist}, + volume = {185}, + number = {2}, + date = {2015-02}, + pages = {253–69}, + doi = {https://doi.org/10.1086/679504} +} + +% 14.188 Basic citation format for magazine articles + +@Article{saulnier2008, + author = {Saulnier, Beth}, + title = {From Vine to Wine}, + journal = {Cornell Alumni Magazine}, + date = {2008-09/2008-10} +} +@Article{lepore2015, + author = {Lepore, Jill}, + title = {The Man Who Broke the Music Business}, + journal = {New Yorker}, + date = {2015-04-27} +} + +% 14.189 Magazine articles consulted online + +@Article{vick2015, + author = {Vick, Karl}, + title = {Cuba on the Cusp}, + journal = {Time}, + date = {2015-03-26}, + url = {http://time.com/3759629/cuba-us-policy/} +} +@Article{hanemann1926, + author = {Hanemann, Henry William}, + title = {French as She Is Now Spoken}, + journal = {Life}, + date = {1926-08-26}, + howpublished = {ProQuest} +} + +% 14.190 Magazine departments + +@Article{marx2015, + author = {Marx, Patricia}, + title = {Big Skyline}, + note = {Talk of the Town}, + journal = {New Yorker}, + date = {2015-04-27}, + url = {http://www.newyorker.com/magazine/2015/04/27/big-skyline} +} +@Article{wallraff2008, + author = {Wallraff, Barbara}, + note = {Word Fugitives}, + journal = {Atlantic Monthly}, + date = {2008-07/2008-08} +} +@Article{gourmet2000, + journal = {Gourmet}, + note = {Kitchen Notebook}, + date = {2000-05} +} + +% 14.191 Basic citation format for newspaper articles + +@Article{editorial1990, + journal = {Philadelphia Inquirer}, + note = {Editorial}, + date = {1990-07-30} +} +@Article{royko1992, + author = {Royko, Mike}, + title = {Next Time, Dan, Take Aim at Arnold}, + journal = {Chicago Tribune}, + date = {1992-09-23} +} +@Article{forester2000, + sortname = {{Lake Forester}}, + title = {Pushcarts Evolve to Trendy Kiosks}, + journal = {Lake Forester}, + address = {Lake Forest, IL}, + date = {2000-03-23} +} +@Article{samenow2016, + author = {Samenow, Jason}, + title = {Blizzard Warning}, + subtitle = {High Winds, About Two Feet of Snow Forecast for D.C. Area}, + journal = {Washington Post}, + date = {2016-01-21T15:55:00}, + timezone = {EST},% 'EST' won't go in 'date' because it uses UTC + url = {https://www.washingtonpost.com/news/capital-weather-gang/wp/2016/01/21/blizzard-warning-high-winds-around-two-feet-of-snow-forecast-for-d-c-area/} +} + +% 14.195 Regular columns or features + +@Article{jaffe2015, + author = {Jaffe, Marc}, + title = {Finding Love in Seesawing Libidos}, + note = {Modern Love}, + journal = {New York Times}, + date = {2015-03-06}, + url = {http://www.nytimes.com/2015/03/08/style/finding-equilibrium-in-seesawing-libidos.html} +} +@Article{editorial2015, + sortname = {{New York Times}}, + title = {Junk Science at the F.B.I.}, + journal = {New York Times}, + note = {editorial}, + date = {2015-04-27}, + url = {http://www.nytimes.com/2015/04/27/opinion/junk-science-at-the-fbi.html} +} + +% 14.197 Weekend supplements, magazines, and the like + +@Article{ghansah2015, + author = {Ghansah, Rachel Kaadzi}, + title = {What Toni Morrison Saw}, + journal = {New York Times Magazine}, + date = {2015-04-12}, + pages = {48} +} + +% 14.199 Unsigned newspaper articles +% 15.49 Newspapers and magazines in reference lists + +@Article{nytimes2002, + sortname = {{New York Times}}, + title = {In Texas, Ad Heats Up Race for Governor}, + journal = {New York Times}, + date = {2002-07-30} +} + +% 14.200 News services and news releases + +@Article{ap2015, + author = {{Associated Press}}, + title = {Texas A\&M Galveston Professor Fails Entire Class, Quits Course}, + journal = {Dallas Morning News}, + date = {2015-04-28}, + url = {http://www.dallasnews.com/news/education/headlines/20150428-texas-am-galveston-professor-fails-entire-class-quits-course.ece} +} + +% 14.202 Book reviews + +@Review{ratliff1999, + author = {Ratliff, Ben}, + journal = {Lingua Franca}, + volume = {9}, + date = {1999-04}, + pages = {B13–B14}, + crossref = {vianna1999} +} +@Book{vianna1999, + author = {Vianna, Hermano}, + title = {The Mystery of Samba}, + subtitle = {Popular Music and National Identity in Brazil}, + editor = {Chasteen, John Charles}, + translator = {Chasteen, John Charles}, + address = {Chapel Hill}, + publisher = {University of North Carolina Press}, + year = {1999} +} +@Review{kamp2006, + author = {Kamp, David}, + title = {Deconstructing Dinner}, + journal = {New York Times}, + date = {2006-04-23}, + edition = {Sunday Book Review}, + url = {http://www.nytimes.com/2006/04/23/books/review/23kamp.html}, + crossref = {pollan2006} +} +@Book{pollan2006, + title = {The Omnivore's Dilemma}, + subtitle = {A Natural History of Four Meals}, + author = {Pollan, Michael}, + address = {New York}, + publisher = {Penguin Press}, + year = {2006} +} +@Review{brehm2015, + author = {Brehm, William C}, + journal = {Comparative Education Review}, + volume = {59}, + number = {1}, + date = {2015-02}, + pages = {177–79}, + url = {https://doi.org/10.1086/679296}, + crossref = {uetricht2014} +} +@Book{uetricht2014, + author = {Uetricht, Micah}, + title = {Strike for America}, + subtitle = {Chicago Teachers against Austerity}, + address = {London}, + publisher = {Verso}, + year = {2014} +} + +% 14.204 Unsigned reviews + +@Review{zeitung1828, + sortname = {Ergänzungsblätter}, + journal = {Ergänzungsblätter zur Allgemeinen Literatur-Zeitung}, + date = {1828-02}, + number = {23–24}, + crossref = {ranke} +} +@Book{ranke, + author = {Ranke, Le\-o\-pold von}, + title = {Ge\-schich\-ten der romanischen und germanischen Völker}, + shorttitle = {Geschichten} +} + +% 14.208 Citing blog posts and blogs +% 15.51 Citing blogs in author-date format + +@Online{germano2017, + author = {Germano, William}, + title = {Futurist Shock}, + blogtitle = {Lingua Franca}, + blogtitleaddon = {blog}, + journal = {Chronicle of Higher Education}, + date = {2017-02-15}, + url = {http://www.chronicle.com/blogs/linguafranca/2017/02/15/futurist-shock/} +} +@Online{amlen2015, + author = {Amlen, Deb}, + title = {One Who Gives a Hoot}, + blogtitle = {Wordplay}, + blogtitleaddon = {blog}, + journal = {New York Times}, + date = {2015-01-26}, + url = {http://wordplay.blogs.nytimes.com/2015/01/26/one-who-gives-a-hoot/} +} +@Online{amlen, + keywords = {notinref},% not for reference lists (see 15.51) + editor = {Amlen, Deb}, + blogtitle = {Wordplay}, + blogtitleaddon = {blog}, + journal = {New York Times}, + url = {http://wordplay.blogs.nytimes.com/} +} +@Online{linguafranca, + keywords = {notinref},% not for reference lists (see 15.51) + blogtitle = {Lingua Franca}, + blogtitleaddon = {blog}, + journal = {Chronicle of Higher Education}, + url = {http://www.chronicle.com/blogs/linguafranca/} +} +@Online{jim2017, + keywords = {notinref},% not for reference lists (see 15.52) + author = {Jim}, + date = {2017-02-16}, + howpublished = {comment on Germano, \mkbibquote{Futurist Shock}}, + url = {http://www.chronicle.com/blogs/linguafranca/2017/02/15/futurist-shock/#comment-3158909472} +} + +% 14.209 Citing social media content +% 15.52 Citing social media content in author-date format + +@Online{diaz2016, + author = {Díaz, Junot}, + title = {Always surprises my students when I tell them that the `real' medieval was more diverse than the fake ones most of us consume}, + organization = {Facebook}, + date = {2016-02-24}, + url = {https://www.facebook.com/junotdiaz.writer/posts/972495572815454} +} +@Online{obrien2015, + author = {O’Brien, Conan}, + handle = {@ConanOBrien}, + title = {In honor of Earth Day, I’m recycling my tweets}, + organization = {Twitter}, + date = {2015-04-22T11:10:00}, + url = {https://twitter.com/ConanOBrien/status/590940792967016448} +} +@Online{chicago2015, + author = {{Chicago Manual of Style}}, + title = {Is the world ready for singular they? We thought so back in 1993}, + organization = {Facebook}, + date = {2015-04-17}, + url = {https://www.facebook.com/ChicagoManual/posts/10152906193679151} +} +@Online{licis2016, + keywords = {notinref},% not for reference lists (see 15.52) + author = {Licis, Kristaps}, + title = {But what is the surprise here?}, + date = {2016-02-24}, + howpublished = {comment on Díaz, \mkbibquote{Always surprises}}, + url = {https://www.facebook.com/junotdiaz.writer/posts/972495572815454?comment_id=972558569475821} +} + +% 14.215 Theses and dissertations + +@Thesis{vedrashko2006, + author = {Vedrashko, Ilya}, + title = {Advertising in Computer Games}, + type = {mathesis}, + institution = {MIT}, + year = {2006}, + url = {http://hdl.handle.net/1721.1/39144} +} +@Thesis{choi2008, + author = {Choi, Mihwa}, + title = {Contesting \emph{Imaginaires} in Death Rituals during the Northern Song Dynasty}, + type = {phdthesis}, + institution = {University of Chicago}, + year = {2008}, + howpublished = {ProQuest (AAT 3300426)} +} + +% 14.217 Lectures and papers or posters presented at meetings + +@Unpublished{hong2015, + author = {Hong, Viviana}, + title = {Censorship in Children's Literature during Argentina's Dirty War (1976–1983)}, + type = {lecture}, + institution = {University of Chicago}, + address = {Chicago, IL}, + date = {2015-04-30} +} + +% 14.218 Working papers and the like + +@Unpublished{lucki1980, + author = {Lucki, Deborah D. and Pollay, Richard W.}, + title = {Content Analyses of Advertising}, + subtitle = {A Review of the Literature}, + type = {working paper}, + institution = {History of Advertising Archives, Faculty of Commerce, University of British Columbia}, + address = {Vancouver}, + year = {1980} +} + +% 14.220 Pamphlets, reports, and the like + +@Report{lifestyles1996, + title = {Lifestyles in Retirement}, + series = {Library Series}, + address = {New York}, + publisher = {TIAA-CREF}, + year = {1996} +} +@Report{mcdonalds2014, + author = {{McDonald's Corporation}}, + title = {2014 Annual Report}, + date = {2015-03}, + url = {http://www.aboutmcdonalds.com/mcd/investors/annual_reports.html} +} +@Report{standardtax1996, + title = {Standard Federal Tax Reporter}, + edition = {\thefield{year} ed.}, + volume = {4}, + address = {Chicago}, + publisher = {Commerce Clearing House}, + year = {1996} +} + +% 14.232 Reference works consulted in physical formats + +@InReference{salvation1980, + title = {salvation}, + crossref = {britannica1980} +} +@Reference{britannica1980, + organization = {{\emph{Encyclopaedia Britannica}}}, + edition = {15}, + year = {1980} +} +@InReference{hootananny2009, + title = {hoot(e)\-nan\-ny, hoot\-a\-nan\-ny}, + crossref = {oxford2009} +} +@Reference{oxford2009, + organization = {{\emph{Oxford English Dictionary}}}, + edition = {2}, + howpublished = {CD-ROM}, + version = {4.0}, + year = {2009} +} +@Reference{dab1937, + organization = {{\emph{Dictionary of American Biography}}}, + title = {Wadsworth, Jeremiah}, + year = {1937} +} +@Book{timestyle2003, + options = {noauth}, + sortname = {{Times Style}}, + title = {The Times Style and Usage Guide}, + editor = {Austin, Tim}, + editortype = {compiler}, + address = {London}, + publisher = {Times Books}, + year = {2003} +} +@Book{mla2008, + title = {MLA Style Manual and Guide to Scholarly Publishing}, + edition = {3}, + address = {New York}, + publisher = {Modern Language Association of America}, + year = {2008} +} + +% 14.233: Reference works consulted online + +@InReference{toscanini2016, + title = {Arturo Toscanini}, + urldate = {2016-04-06}, + url = {http://academic.eb.com/EBchecked/topic/600338/Arturo-Toscanini}, + crossref = {britannica2016} +} +@Reference{britannica2016, + organization = {{\emph{Encyclopaedia Britannica Online}}}, + edition = {Academic ed\adddot}, +} +@Reference{cairns2016, + organization = {{Grove Music Online}}, + title = {Toscanini, Arturo}, + author = {Cairns, David}, + urldate = {2016-04-06}, + url = {http://www.oxfordmusiconline.com/subscriber/article/grove/music/28197} +} +@Reference{wikipedia2016, + organization = {Wikipedia}, + title = {Stevie Nicks}, + version = {last modified April 2, 2016, 18:30}, + url = {http://en.wikipedia.org/wiki/Stevie_Nicks} +} +@Reference{merriam2016, + organization = {\emph{Merriam-Webster}}, + title = {app (n.)}, + urldate = {2016-04-06}, + url = {http://www.merriam-webster.com/dictionary/app} +} + +% 14.234 Citing individual reference entries by author + +@InCollection{isaacson2005, + author = {Isaacson, Melissa}, + title = {Bulls}, + crossref = {reiff2005} +} +@Collection{reiff2005, + editor = {Reiff, Janice L. and Keating, Ann Durkin and Grossman, James R.}, + title = {Encyclopedia of Chicago}, + publisher = {Chicago Historical Society}, + year = {2005}, + url = {http://www.encyclopedia.chicagohistory.org/pages/184.html}, +} + +% 14.246 Citing specific editions of classical references + +@Book{epictetus1916, + author = {Epictetus}, + title = {Dissertationes}, + editor = {Schenkl, Heinrich}, + address = {Stuttgart}, + publisher = {Teubner}, + year = {1916} +} + +% 14.251 Modern editions of the classics + +@Book{maimonides1965, + author = {Maimonides}, + title = {The Code of Maimonides, Book 5}, + subtitle = {The Book of Holiness}, + editor = {Nemoy, Leon}, + translator = {Rabinowitz, Louis I. and Grossman, Philip}, + address = {New Haven, CT}, + publisher = {Yale University Press}, + year = {1965} +} + +% 14.258 Patents +% 15.55 Patents or other documents cited by more than one date + +@Patent{iizuka1986, + author = {Iizuka, Masanori and Tanaka, Hideki}, + title = {Cement admixture}, + number = {US Patent 4,586,\hspace{0pt plus 1pt}960, filed June 26, 1984, and issued May 6, 1986}, + year = {1986} +} + +% 14.260 Citations taken from secondary sources + +@Article{zukofsky1931, + author = {Zukofsky, Louis}, + title = {Sincerity and Objectification}, + journal = {Poetry}, + volume = {37}, + date = {1931-02}, + pages = {272–285} +} +@Book{costello1981, + author = {Costello, Bonnie}, + title = {Marianne Moore}, + subtitle = {Imaginary Possessions}, + address = {Cambridge, MA}, + publisher = {Harvard University Press}, + year = {1981} +} + +% 14.264 Recorded readings, lectures, audiobooks, and the like + +@Misc{roosevelt1959, + author = {Roosevelt, Eleanor}, + title = {\mkbibquote{Is America Facing World Leadership?}}, + usera = {convocation speech, Ball State Teacher's College, May 6, \thefield{year}, radio broadcast, reel-to-reel tape, MPEG copy, 1:12:49}, + userb = {Convocation Speech. Ball State Teacher's College. May 6, \thefield{year}. Radio broadcast. Reel-to-reel tape. MPEG copy. 1:12:49}, + url = {http://libx.bsu.edu/cdm4/singleitem/collection/ElRoos/id/1}, + year = {1959} +} + +% 15.14 Placement of dates in reference list entries + +@Article{pager2015, + author = {Pager, Devah and Pedulla, David S.}, + title = {Race, Self-Selection, and the Job Search Process}, + journal = {American Journal of Sociology}, + volume = {120}, + number = {4}, + date = {2015-01}, + pages = {1005–54}, + url = {https://doi.org/10.1086/681072} +} +@Book{unger2014, + author = {Unger, Roberto Mangabeira and Smolin, Lee}, + title = {The Singular Universe and the Reality of Time}, + subtitle = {A Proposal in Natural Philosophy}, + address = {Cambridge}, + publisher = {Cambridge University Press}, + year = {2014} +} + +% 15.20 Reference list entries with same author(s), same year + +@Book{fogel2004a, + author = {Fogel, Robert William}, + title = {The Escape from Hunger and Premature Death, 1700–2100}, + subtitle = {Europe, America, and the Third World}, + sorttitle = {Escape from Hunger and Premature Death}, + address = {New York}, + publisher = {Cambridge University Press}, + year = {2004} +} +@Article{fogel2004b, + author = {Fogel, Robert William}, + title = {Technophysio Evolution and the Measurement of Economic Growth}, + journal = {Journal of Evolutionary Economics}, + volume = {14}, + number = {2}, + pages = {217–21}, + date = {2004-06}, + doi = {https://doi.org/10.1007/s00191-004-0188-x} +} + +% 15.22 Text citations—basic form + +@Book{hetherington2015, + author = {Hetherington, Marc J. and Rudolph, Thomas J.}, + title = {Why Washington Won't Work}, + subtitle = {Polarization, Political Trust, and the Governing Crisis}, + address = {Chicago}, + publisher = ucp, + year = {2015} +} +@Article{grove2015, + author = {Grove, John}, + title = {Calhoun and Conservative Reform}, + journal = {American Political Thought}, + volume = {4}, + number = {2}, + date = {2015-03}, + pages = {203–27}, + doi = {https://doi.org/10.1086/680389} +} +@Thesis{doershuk2017, + keywords = {notinbib,notinref}, + author = {Doershuk, Carl}, + year = {2017}, + howpublished = {. . .} +} +@Thesis{doershuk2016, + keywords = {notinbib,notinref}, + author = {Doershuk, John}, + year = {2016}, + howpublished = {. . .} +} + +% 15.25 Text citations in relation to surrounding text and punctuation + +@Book{fiorina2005, + options = {skipbib}, + author = {Fiorina, Someone}, + title = {Blah Title}, + year = {2005} +} +@Book{fischer2006, + options = {skipbib}, + author = {Fischer, Someone and Hout, Someone}, + title = {Blah Title}, + year = {2006} +} +@Book{abramowitz2005, + options = {skipbib}, + author = {Abramowitz, Someone and Saunders, Someone}, + title = {Blah Title}, + year = {2005} +} + +% 15.27 Several references to the same source + +@Book{chaston2000, + options = {skipbib}, + author = {Chaston, Someone}, + year = {2000} +} + +% 15.29 Text citations of works with more than three authors + +@Article{schonen2017a, + options = {skipbib}, + author = {Schonen, John and Baker, Bob and Else, Someone A. and Else, Someone B.}, + title = {Tilting at Windmills}, + year = {2017} +} +@Article{schonen2017b, + options = {skipbib}, + author = {Schonen, John and Brooks, Bob and Else, Someone A. and Else, Someone B.}, + title = {Gasoline Farmers}, + year = {2017} +} + +% 15.36 Editor in place of author in text citations + +@Book{soltes1999, + editor = {Soltes, Ori Z.}, + title = {Georgia}, + subtitle = {Art and Civilization through the Ages}, + address = {London}, + publisher = {Philip Wilson}, + year = {1999} +} + +% 15.37 Organization as author in author-date references + +@Book{iso1997.ref,% same as iso1997 but with different 'author' field + keywords = {notinbib}, + author = {{ISO (International Organization for Standardization)}}, + shortauthor = {ISO}, + title = {Information and Documentation\,—\,Rules for the Abbreviation of Title Words and Titles of Publications}, + shorttitle = {Information and Documentation}, + series = {ISO}, + number = {4}, + address = {Paris}, + publisher = {ISO}, + year = {1997} +} + +% 15.40 Reprint editions and modern editions—more than one date + +@Book{austen2003, + author = {Austen, Jane}, + title = {Pride and Prejudice}, + address = {New York}, + publisher = {Penguin Classics}, + year = {2003}, + origdate = {1813}, + origlocation = {London}, + origpublisher = {T. Egerton}, + addendum = {citations refer to the Penguin edition} +} +@Book{maitland1998, + author = {Maitland, Frederic W.}, + title = {Roman Canon Law in the Church of England}, + address = {Union, NJ}, + publisher = {Lawbook Exchange}, + origdate = {1898}, + year = {1998} +} + +% 15.44 No date of publication in author-date references + +@Book{nano1750, + keywords = {notinbib,notinref},% print in example bib only + author = {Nano, Jasmine L.}, + title = {Title of Work\ldots}, + year = {[1750?]}, + sortyear = {1750} +} +@Book{nano, + keywords = {notinbib,notinref},% print in example bib only + author = {Nano, Jasmine L.}, + title = {Title of Another Work\ldots}, + sortkey = {nodate} +} + +% 15.45 “Forthcoming” in author-date references + +@InCollection{faraday, + author = {Faraday, Carry}, + title = {Protean Photography}, + crossref = {oring} +} +@Collection{oring, + title = {Seven Trips beyond the Asteroid Belt}, + editor = {Oring, James}, + address = {Cape Canaveral, FL}, + publisher = {Launch Press}, + year = {forthcoming} +} + +% 15.47 Parentheses or comma with issue number + +@Article{glass2014, + author = {Glass, Jennifer and Levchak, Philip}, + title = {Red States, Blue States, and Divorce}, + subtitle = {Understanding the Impact of Conservative Protestantism on Regional Variation in Divorce Rates}, + journal = {American Journal of Sociology}, + volume = {119}, + number = {4}, + date = {2014}, + pages = {1002–46}, + url = {https://doi.org/10.1086/674703} +} +@Article{meyerovitch1959, + author = {Meyerovitch, Eva}, + title = {The Gnostic Manuscripts of Upper Egypt}, + journal = {Diogenes}, + number = {25}, + year = {1959}, + pages = {84–117} +} + +% 15.48 Colon with volume number + +@Article{gunderson2015, + author = {Gunderson, Alex R. and Leal, Manuel}, + title = {Patterns of Thermal Constraint on Ectotherm Activity}, + journal = {American Naturalist}, + volume = {185}, +% date = {2015-05}, + date = {2015}, + pages = {653–64}, + doi = {https://doi.org/10.1086/680849} +} + +% 15.56 “Quoted in” in author-date references + +@Book{costello1981, + author = {Costello, Bonnie}, + title = {Marianne Moore}, + subtitle = {Imaginary Possessions}, + address = {Cambridge, MA}, + publisher = {Harvard University Press}, + year = {1981} +} + diff --git a/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.pdf b/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.pdf Binary files differnew file mode 100644 index 0000000000..dee59d14cf --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.pdf diff --git a/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.sty b/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.sty new file mode 100644 index 0000000000..122191c05e --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.sty @@ -0,0 +1,281 @@ +% Last modified: Tue 16 Jul 2019 07:49:59 AM CDT +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{windycity} +\RequirePackage{ifxetex} + +\setlength{\parindent}{1.1em} +\frenchspacing +\widowpenalty=1000 +\clubpenalty=1000 + +\ifxetex + \usepackage{xltxtra} + \usepackage{xunicode} + \usepackage{fontspec} + \PassOptionsToPackage{unicode,xetex}{hyperref} + \defaultfontfeatures{Ligatures=TeX,Numbers={OldStyle,Proportional}} + \setmainfont[ + Extension=.otf, + UprightFont=*-regular, + BoldFont=*-bold, + ItalicFont=*-italic, + BoldItalicFont=*-bolditalic]{texgyretermes} + \setmonofont[ + Scale=0.96, + Numbers=Lining, + Extension=.otf, + UprightFont=*mono10-regular, + ItalicFont=*mono10-italic]{lm} + \renewcommand{\@makefnmark}{% + \hbox{\@textsuperscript{\liningnums{\@thefnmark}}}} +\else + \usepackage[T1]{fontenc} + \usepackage{pifont} + \usepackage[full]{textcomp} + \usepackage[utf8]{inputenc} + \usepackage{tgtermes} + \usepackage[scaled=.90]{helvet} + \newcommand{\liningnums}[1]{#1}% + \renewcommand{\ttdefault}{lmtt}% +\fi + +\gdef\@email{}% +\gdef\@subtitle{}% +\gdef\@version{}% +\gdef\@website{}% +\newcommand{\email}[1]{\gdef\@email{\mailto{#1}}}% +\newcommand{\mailto}[1]{\href{mailto:#1}{#1}} +\newcommand{\subtitle}[1]{\gdef\@subtitle{#1}}% +\newcommand{\version}[1]{\gdef\@version{Version \liningnums{#1}}} +%\newcommand{\website}[1]{\gdef\@website{\textcolor{blue}{\url{#1}}}} +\newcommand{\website}[1]{\gdef\@website{\url{#1}}}% + +\renewcommand\@maketitle{% + \begin{center}% + {\LARGE\@title}% + \vskip 4ex% + {\Large\@subtitle}% + \vskip 4ex% + {\large\@author\par\@website\par\@email\par\@version\par\@date}% + \end{center}% + \vskip 4ex}% + +\usepackage[american]{babel} +\usepackage{csquotes} +\usepackage[style=windycity]{biblatex} +\addbibresource{windycity.bib} +\setcounter{biburlnumpenalty}{9000} +\setcounter{biburllcpenalty}{9000} + +\renewcommand\@makefntext[1]{% + \parindent 1em% + \normalfont\@thefnmark.\hspace{0.4em}#1}% +\newcommand{\nfootnote}[1]{% + \insert\footins{\normalfont\footnotesize + \interlinepenalty\interfootnotelinepenalty + \splittopskip\footnotesep + \splitmaxdepth \dp\strutbox \floatingpenalty \@MM + \hsize\columnwidth \@parboxrestore + \footnoterule + {\rule{\z@}{\footnotesep}\ignorespaces + #1\strut}}} + +\usepackage{tocloft} +\setcounter{tocdepth}{2} +\renewcommand{\cftbeforesecskip}{0pt}% +\renewcommand{\cftmarktoc}{\@mkboth{\contentsname}{\contentsname}}% +\renewcommand{\cftsecfont}{\normalfont}% +\renewcommand{\cftsecpagefont}{\normalfont}% + +\usepackage{ragged2e} +\usepackage[inline]{enumitem} +\setlist[enumerate,itemize]{noitemsep} + +% Allow line breaks in '\item[]': +\newcommand{\tshortstack}{\@ifnextchar[\@tshortstack{\@tshortstack[c]}}% +\let\@tshortstack\@shortstack +\patchcmd\@tshortstack\vbox\vtop{}{}% + +\newenvironment{citebib} + {\begin{enumerate}[% + before=\RaggedRight\citereset\newrefsegment\small, + itemindent=2.2em, + labelsep=0.2em, + leftmargin=1.1em]}% + {\end{enumerate} + \printbibliography[env=bib,heading=none,segment=\therefsegment] + \endrefsegment}% +\newenvironment{citeref} + {\begin{itemize}[label=,labelsep=0.2em,leftmargin=1.1em] + \item\begin{enumerate*}[% + afterlabel=, + before=\citereset\newrefsegment\small\noindent, + itemjoin={{, }}, + label=]}% + {\end{enumerate*} + \end{itemize} + \printbibliography[env=ref,heading=none,segment=\therefsegment] + \endrefsegment}% +\newenvironment{citeonly} + {\begin{enumerate}[% + before=\RaggedRight\citereset\newrefsegment\small, + itemindent=2.2em, + labelsep=0.2em, + leftmargin=1.1em]}% + {\end{enumerate}}% +\newenvironment{bibonly} + {\citereset\newrefsegment\small}% + {\printbibliography[env=bib,heading=none,segment=\therefsegment] + \endrefsegment}% +\newenvironment{refonly} + {\citereset\newrefsegment\small}% + {\printbibliography[env=ref,heading=none,segment=\therefsegment] + \endrefsegment}% +\defbibenvironment{bib} + {\list{}{% + \small + \setlength{\leftmargin}{2.2em}% + \setlength{\itemindent}{-1.1em}% + \itemsep 0\baselineskip + \parsep 0\baselineskip}} + {\endlist} + {\item} +\defbibenvironment{ref} + {\global\toggletrue{reflist}% + \list{}{% + \small + \setlength{\leftmargin}{2.2em}% + \setlength{\itemindent}{-1.1em}% + \itemsep 0\baselineskip + \parsep 0\baselineskip}} + {\endlist + \global\togglefalse{reflist}}% + {\item} +\defbibheading{none}{}% +\DeclareSortingTemplate{reverse}{% + \sort[direction=descending]{\citeorder}}% + +\newcounter{sh} +\renewcommand{\thesh}{Abbreviations}% +\newcounter{bib} +\renewcommand{\thebib}{Bibliography}% +\newcounter{ref} +\renewcommand{\theref}{References}% + +\defbibheading{biblist}{% + \newpage + \begin{center}\section*{Abbreviations}\end{center} + \addcontentsline{toc}{section}{Abbreviations} + \markright{Abbreviations}}% +\defbibheading{bibliography}{% + \newpage + \begin{center}\section*{Bibliography (Standard Format)}\end{center} + \addcontentsline{toc}{section}{Bibliography (Standard Format)} + \markright{Bibliography}}% +\defbibheading{references}{% + \newpage + \begin{center}\section*{References (Author-Date Format)}\end{center} + \addcontentsline{toc}{section}{References (Author-Date Format)} + \markright{References}}% +\defbibheading{none}{}% + +\usepackage{fancyhdr} +\pagestyle{fancy} +\fancyhf{} +\fancyhead[LO,RE]{\small\rightmark}% +\fancyhead[LE,RO]{\small\thepage}% +\renewcommand{\headrulewidth}{0pt}% +\renewcommand{\footrulewidth}{0pt}% +\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}% +\renewcommand{\subsectionmark}[1]{\markright{\thesubsection\ #1}}% + +\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}% +\renewcommand*{\@seccntformat}[1]{% + \csname the#1\endcsname + \csname adddot@#1\endcsname\quad}% +\newcommand*{\adddot@section}{.}% +\renewcommand\thesubsubsection{% + \normalfont\arabic{subsection}.\@arabic\c@subsubsection} + +\renewcommand\section{\@startsection{section}{1}{\z@}% + {-3.5ex \@plus -1ex \@minus -.2ex}% + {2.3ex \@plus.2ex}% + {\normalfont\large\bfseries}} +\renewcommand\subsection{\@startsection{subsection}{2}{\z@}% + {-3.5ex\@plus -1ex \@minus -.2ex}% + {1.5ex \@plus .2ex}% + {\normalfont\bfseries}}% +\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% + {-4ex\@plus -1ex \@minus -.2ex}% + {1.5ex \@plus .2ex}% + {\normalfont\it}} + +\AtBeginEnvironment{quote}{\small} +\AtBeginEnvironment{verbatim}{\small} +\usepackage[% + anchorcolor=, + breaklinks=true, + citecolor=, + colorlinks=true, + linkcolor=blue, + pdfauthor={Brian Michael Chase}, + pdftitle={Windy City for biblatex}, + urlcolor=]{hyperref} +\urlstyle{rm} +\newcommand{\biblatex}{% + \href{http://www.ctan.org/pkg/biblatex}{\textcolor{blue}{biblatex}}\xspace}% +\newcommand{\BibTeX}{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em + \TeX}}% +\emergencystretch=1em +\hyphenation{bib-la-tex Chi-ca-go} +\usepackage{btxdockit}% For \bibfield, \bibtype, \cmd, marglist, optionlist, \op, etc. +\renewenvironment*{marglist} + {\list{}{% + \setlength{\labelwidth}{\marglistwidth}% +% Commented next line for normal paragraphing: +% \setlength{\labelsep}{\marglistsep}% + \setlength{\leftmargin}{0pt}% +% Added next line for normal paragraphing: + \setlength{\parsep}{0pt}% + \setlength{\listparindent}{\parindent}% + \renewcommand*{\makelabel}[1]{\hss\marglistfont##1}}} + {\endlist} +\renewenvironment*{optionlist} + {\list{}{% + \setlength{\labelwidth}{\marglistwidth}% + \setlength{\labelsep}{\z@}% +% Added next two lines for normal paragraphing: + \setlength{\leftmargin}{0pt}% + \setlength{\parsep}{0pt}% + \setlength{\listparindent}{\parindent}% + \renewcommand*{\makelabel}[1]{\hss\optionlistfont##1}}% + \ltd@optionlist} + {\endlist} +\renewenvironment*{typelist} + {\list{}{% + \setlength{\labelwidth}{\marglistwidth}% + \setlength{\labelsep}{\marglistsep}% + \setlength{\leftmargin}{0pt}% +% Added next line for less vertical space: + \setlength{\itemsep}{0pt}% + \renewcommand*{\makelabel}[1]{\hss\marglistfont##1}}% + \def\typeitem##1{% + \item[{##1}]% + \ltd@pdfbookmark{##1}{##1}}% + \def\reqitem{% + \par\begingroup\itemsep0.5\itemsep\item + Required fields: \btd@fieldloop} + \def\optitem{% + \par\begingroup\itemsep0.5\itemsep\item + Optional fields: \btd@fieldloop}} + {\endlist} +\lstset{basicstyle=\small\ttfamily} +\renewcommand{\bibfield}[1]{\emph{#1}}% +\renewcommand{\bibtype}[1]{\emph{#1}}% Don't affix with '@'! +\renewcommand{\cmd}[1]{\textbackslash\emph{#1}}% +\renewcommand{\env}[1]{\emph{#1}}% +\renewcommand{\file}[1]{\emph{#1}}% +\renewcommand{\opt}[1]{\emph{#1}}% +\renewcommand{\sty}[1]{\emph{#1}}% + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.tex b/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.tex new file mode 100644 index 0000000000..26f7f47b9b --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/windycity/doc/windycity.tex @@ -0,0 +1,3277 @@ +% Last modified: Wed 17 Jul 2019 09:36:07 AM CDT +\documentclass[11pt,letterpaper,oneside]{article} +\usepackage{windycity} + +\begin{document} +\title{Windy City} +\subtitle{A Chicago Style for \texttt{\biblatex}} +\author{Brian Michael Chase} +\email{brianmichaelchase@gmail.com} +\website{https://github.com/brianchase/windycity} +\version{2019-07-17} +\maketitle +\begingroup +\hypersetup{linkcolor=black} +\tableofcontents\markboth{Contents}{Contents} +\endgroup + +\section{Introduction} + +\nfootnote{Copyright \textcopyright\ 2019 Brian Michael Chase. Under +the terms of the \LaTeX\ Project Public License, version 1.3, +permission is granted to copy, distribute, or modify this software. +See \url{http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt} +or \url{https://www.latex-project.org/lppl/}.} + +Windy City is a style for \biblatex that formats notes, +bibliographies, parenthetical citations, and reference lists according +to the 17th edition of \textit{The Chicago Manual of Style} +(\textit{CMOS}).\footnote{\cite{chicago2017}} It accurately handles a +wide range of citations in different formats and includes a set of +options and commands to support special circumstances. It also has +extensive support for citing and arranging different kinds of editors, +translators, and compilers within a single citation. These features +make Windy City especially suitable for academic work. + +The following sections assume familiarity with \textit{CMOS} and +\biblatex. Section \ref{overview} gives a brief overview of the +style's features. Section \ref{edtrans} discusses the assignment and +placement of editors, translators, and compilers. Section +\ref{collections} discusses several issues with collections, including +options for formatting citations of individual volumes. Sections +\ref{notes} and \ref{paren} reproduce examples from \textit{CMOS} +Chapters 14 and 15, respectively, with occasional commentary and +references to other sections. + +Windy City requires \biblatex version 3.8 or later. + +\section{Overview} +\label{overview} + +This section covers basic information about Windy City. If you're +completely new to \biblatex, you should probably glance at its +documentation and try one of the styles that come with it, if only to +get a sense of the basic commands. For the impatient, examples in +Sections \ref{default}, \ref{short}, \ref{notes}, and \ref{paren} +might be of more immediate interest. + +\subsection{Getting Started} + +If you already know how to use \biblatex, getting started with Windy +City is easy. The first task is to confirm that \biblatex and Windy +City are installed properly on your system. Since both are included in +some distributions of \LaTeX, you might be able to skip this step. + +Either way, please consider downloading the most recent release of +Windy City from \begingroup \hypersetup{urlcolor=blue} +\href{https://www.ctan.org/pkg/windycity}{its home on CTAN}. More +recent but potentially less reliable updates are available from Windy +City's \href{https://github.com/brianchase/windycity}{repository on +GitHub}.\endgroup + +Windy City consists of four files: + +\begin{itemize}[before=\small] +\item \file{windycity.dbx} +\item \file{windycity.bbx} +\item \file{windycity.cbx} +\item \file{american-windycity.lbx} +\end{itemize} + +\noindent If you need to install Windy City on your system, you may +copy its files to one of several places. One option is to locate +\biblatex on your system and use its directories: + +\begin{itemize}[before=\small,label=] +\item \ldots\path{/biblatex/windycity.dbx} +\item \ldots\path{/biblatex/bbx/windycity.bbx} +\item \ldots\path{/biblatex/cbx/windycity.cbx} +\item \ldots\path{/biblatex/lbx/american-windycity.lbx} +\end{itemize} + +If you prefer not to mix Windy City's files with \biblatex's, another +option is to find where your distribution of \LaTeX\ keeps \biblatex's +third-party style files and proceed accordingly. Yet another option is +to install Windy City in your local \path{texmf}. Its location will +depend on your system and preferences. For a one-off compilation, say, +to give Windy City a trial run on a single document, you can copy +Windy City's files to the document's root directory. + +After copying the files to one of those places---or another of your +choosing---remember that for every option but the last (a document's +root directory), you need to update your \path{texmf} file name +database. + +To compile a document with Windy City, tell \biblatex to load it with +the load-time option \opt{style}: + +\begin{verbatim} + \usepackage[style=windycity]{biblatex} +\end{verbatim} + +\noindent Typically, this goes in a document's preamble or in one of +its style files. + +The localization file \file{american-windycity.lbx} is responsible for +Windy City's American-style punctuation and dates and many of the +bibliography strings that appear in citations, such as \textit{edited +by}. Windy City loads this file if \biblatex determines that your +document's language is English---either due to settings in \sty{babel} +or \sty{polyglossia} or because neither \sty{babel} nor +\sty{polyglossia} has been loaded. You can prevent Windy City from +loading \file{american-windycity.lbx} by commenting the following line +in \file{windycity.bbx}: + +\begin{verbatim} + \DeclareLanguageMapping{english}{american-windycity} +\end{verbatim} + +If you wish to use Windy City with a language other than English, set +it accordingly with \sty{babel} or \sty{polyglossia} before loading +\biblatex. Windy City will then try to load +\file{<language>-windycity.lbx} and, if it's available, use it to +override any other localization files that were loaded. This allows +you to make your own localization files for Windy City without needing +to edit other files. For example, if you load \sty{babel} with option +\sty{german}, perhaps as the last in a list of languages, Windy City +will try to load \file{german-windycity.lbx}. If it's available, it +will override any other localization files that were loaded, including +\biblatex's own \file{german.lbx}. + +For some entries in your bibliography database, you may need to add +fields or make other adjustments to get the right output. But since +Windy City relies as much as possible on standard \BibTeX\ fields, and +secondarily on \biblatex fields, you may not need to make major +changes. The examples in this document and its accompanying +bibliography database, \file{windycity.bib}, should serve as a guide +for how to manage your input for nearly every circumstance that the +style is meant to handle. + +\subsection{The Default Format} +\label{default} + +For a first set of examples, consider a passage from \textit{CMOS} +\ref{14.30}: + +\begin{citeonly} +\item \cite[24--25]{morley1995} +\item \cite{schwartz1992} +\item \cite{kaiser1964} +\item \cite[43]{morley1995} +\item \cite[138]{schwartz1992} +\item \cite[189--90]{kaiser1964} +\end{citeonly} + +The output shows Windy City's default format. The first citation of a +work is similar to its entry in the bibliography. It includes all or +most of its bibliographic information. Subsequent citations are +shorter, usually consisting of a short form of the author's name and a +short form of the work's title. + +Windy City supports variations on this format. For information on +short forms of citations, including the use of \textit{ibid.}, see +Section \ref{short}. For options to skip parts of citations, change +the order of editors and translators, and more, see Sections +\ref{preops} and \ref{entryops}. For parenthetical citations, see +examples in Section \ref{paren}. + +The block below shows Windy City's default bibliography for the +previously cited works: + +\begin{bibonly} +\nocite{kaiser1964,morley1995,schwartz1992} +\end{bibonly} + +\noindent You may also print a bibliography in the author-date format, +what \textit{CMOS} calls a reference list: + +\begin{refonly} +\nocite{kaiser1964,morley1995,schwartz1992} +\end{refonly} + +To make \cmd{printbibliography} use the author-date format, load +\biblatex with Windy City's preamble option \opt{reflist}: + +\begin{verbatim} + \usepackage[reflist,style=windycity]{biblatex} +\end{verbatim} + +\noindent Note that \opt{reflist=true} has the same effect: + +\begin{verbatim} + \usepackage[reflist=true,style=windycity]{biblatex} +\end{verbatim} + +To use the author-date format on a case-by-case basis, run +\cmd{printbibliography} with an appropriate \opt{env} option. With +Windy City, a so-called ``bib environment'' must set the style's +internal \opt{reflist} toggle to \opt{true}. Windy City's own such +environment is called \opt{reflist}, which you may use as follows: + +\begin{verbatim} + \printbibliography[env=reflist] +\end{verbatim} + +\noindent Unfortunately, while the \opt{env} option allows for +differently formatted bibliographies within the same document, the +reference lists may have problems with sorting. (You'll notice some in +\ref{ref}, at the end of this document.) For best results, use the +\opt{reflist} preamble option. + +As you proceed through the text, note that all examples of citations +and bibliographies are outputs of the style from commands that you can +inspect in the document's source, \file{windycity.tex}, and in its +style file, \file{windycity.sty}. Almost all citations are from +\cmd{cite} or \cmd{parencite}. A few are from more specialized +commands, such as \cmd{cite*} or \cmd{cites}. All example +bibliographies are outputs of the style from \cmd{printbibliography}. +All bibliographic data resides in \file{windycity.bib}. + +\subsection{Short Citations} +\label{short} + +Aside from the author-date format, \textit{CMOS} offers scant +documentation of alternative formats. Nevertheless, there are +alternatives. Consider this example from \textit{CMOS} +\ref{14.34}:\footnote{Switching formats within a document isn't a +feature of the style. For demonstration purposes, though, it's +possible.} + +\begin{citeonly} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}} +\item \cite[3]{morrison2004a} +\AtNextCitekey{\toggletrue{short}} +\item \cite[18]{morrison2004a} +\AtNextCitekey{\toggletrue{short}} +\item \cite[18]{morrison2004a} +\AtNextCitekey{\toggletrue{short}} +\item \cite[24--26]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}} +\item \cite[401-2]{morrison2004b} +\AtNextCitekey{\toggletrue{short}} +\item \cite[433]{morrison2004b} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}} +\item \cite[37--38]{diaz2008} +\AtNextCitekey{\toggletrue{short}} +\item \cite[403]{morrison2004b} +\AtNextCitekey{\toggletrue{short}} +\item \cite[152]{diaz2008} +\AtNextCitekey{\toggletrue{short}} +\item \cite[201-2]{diaz2008} +\AtNextMultiCite{\toggletrue{short}} +\item \cites[240]{morrison2004b}[32]{morrison2004a} +\AtNextCitekey{\toggletrue{short}} +\item \cite[33]{morrison2004a} +\end{citeonly} + +\noindent Compare that with the style's default output: + +\begin{citeonly} +\item \cite[3]{morrison2004a} +\item \cite[18]{morrison2004a} +\item \cite[18]{morrison2004a} +\item \cite[24--26]{morrison2004a} +\item \cite[401-2]{morrison2004b} +\item \cite[433]{morrison2004b} +\item \cite[37--38]{diaz2008} +\item \cite[403]{morrison2004b} +\item \cite[152]{diaz2008} +\item \cite[201-2]{diaz2008} +\item \cites[240]{morrison2004b}[32]{morrison2004a} +\item \cite[33]{morrison2004a} +\end{citeonly} + +\noindent In the short format, a work's first citation gives short +names and titles and omits all other publication information. +Consecutive citations of a work may omit the title or, as in the +eleventh note, where the title is the key mark of distinction, the +author's name. To use this format, start \biblatex with the preamble +option \opt{short}. See Section \ref{preops} for more information. + +\textit{CMOS} \ref{14.34} also shows how to render the passage above +with \textit{ibid.} Unlike previous editions of \textit{CMOS}, the +17th edition discourages its use. As such, \textit{ibid.} is no longer +part of Windy City's default format. Enable it with the preamble +option \opt{ibid} (again, see Section \ref{preops}). Options +\opt{short} and \opt{ibid} together give the following: + +\begin{citeonly} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}\toggletrue{ibid}} +\item \cite[3]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[18]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[18]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[24--26]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}\toggletrue{ibid}} +\item \cite[401-2]{morrison2004b} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[433]{morrison2004b} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}\toggletrue{ibid}} +\item \cite[37--38]{diaz2008} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[403]{morrison2004b} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[152]{diaz2008} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[201-2]{diaz2008} +\AtNextMultiCite{\toggletrue{short}\toggletrue{firstshort}} +\item \cites[240]{morrison2004b}[32]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[33]{morrison2004a} +\end{citeonly} + +There are still other ways to save space: With the default format, you +can use the preamble option \opt{firstshort} to swap long first +citations for short ones (see Section \ref{preops}). Also with the +default format, you can shorten the author's name in the first +citation if the previous citation is of the same author. To do that, +use the preamble option \opt{idemtracker} (see Section \ref{preops}). +The entry option \opt{noauth} omits the author's name altogether (see +Section \ref{entryops}). And the \bibfield{shorthand} field allows you +to set an abbreviation to stand in place of the author's name, the +work's title, and other elements of a citation (see \ref{14.59}). + +\subsection{Preamble Options} +\label{preops} + +A preamble option is an argument for the \cmd{usepackage} macro that +loads \biblatex. Preamble options affect the format of notes, +bibliographies, and reference lists. Some features of the style +require them. + +All options described below are \opt{false} by default. Set them to +\opt{true} by passing the name of the option to \biblatex, with or +without an additional \opt{=true}. In other words, using +\opt{annotate} as an example, the following are equivalent: + +\begin{verbatim} + \usepackage[annotate,style=windycity]{biblatex} + \usepackage[annotate=true,style=windycity]{biblatex} +\end{verbatim} + +Bear in mind that Windy City uses many preamble options native to +\biblatex, a few of which you may want to change. These options are +set in \file{windycity.bbx}. In particular, the style sets +\opt{idemtracker} to \opt{false}. If you set it to \opt{true} (or to +some value that implies \opt{true}), Windy City will detect when the +first citation of a work follows another citation of a work by the +same author and print a short form of the author's name. Recall from +the previous section the citation of Toni Morrison's \textit{Song of +Solomon} immediately after a citation of her \textit{Beloved}. In a +context like that, do you really need to remind readers of the +author's full name? If you think not, change \opt{idemtracker} to an +appropriate value (see Section 3.1.2.3 of \biblatex's user +guide).\footnote{\textit{CMOS} seems to have no policy on this point. +In the 16th edition, however, Figure 14.3 shows consecutive citations +of works by the same author, both of which give the author's full +name.} + +\begin{optionlist} + +\optitem[false]{annotate}{\opt{true}, \opt{false}} + +\noindent This option is for printing annotated bibliographies. +Annotations will print in block paragraphs below entries. To change +the spacing between entries and annotations, change the value of +\cmd{bibitemsep}. Store the text of an annotation in the +\bibfield{annotation} field of the work's bibliography database entry. + +\optitem[false]{collsonly}{\opt{true}, \opt{false}} + +\noindent Citing individual works of a collection adds an entry for +each work to the bibliography. To exclude them and print only an entry +for the whole collection, use \opt{collsonly}. It has no effect on +many \bibtype{incollection} entries, such as articles in books, which +need or ought to have a place in the bibliography, but it does filter +out chapters of books, books in books, and volumes of collections. For +discussion of multivolume works, see Section \ref{multivolume}. + +\optitem[false]{firstshort}{\opt{true}, \opt{false}} + +\noindent Use this option to shorten the first citation of each work. +The resulting format consists mainly of the author's name and the +work's title. According to \textit{CMOS}, this approach is optional +for documents with complete bibliographies. (See \textit{CMOS} +\ref{14.23}, also 14.29--14.36.) You may use \opt{firstshort} in +conjunction with \opt{ibid}. However, it adds nothing to \opt{short}, +which has the same effect on first citations. + +\optitem[false]{ibid}{\opt{true}, \opt{false}} + +\noindent This option controls whether consecutive citations of a work +on the same page receive an \textit{ibid}. The qualification ``on the +same page'' means that \textit{ibid.} always refers to a work cited on +the current page without an \textit{ibid.} The latter is not a +requirement of \textit{CMOS} but seems reasonable, since it prevents +readers from having to look at another page to determine the referent +of an \textit{ibid.} For examples of its output, see Section +\ref{short} and \ref{14.34}. As of the 17th edition, \textit{CMOS} +discourages the use of \textit{ibid.} (see \ref{14.34}). + +\optitem[false]{isbn}{\opt{true}, \opt{false}} + +\noindent Use this option to print ISBNs in bibliographies. A work's +ISBN goes in the \bibfield{isbn} field of its bibliography database +entry. With this option, the style will print ISBNs at the end of +every entry in the bibliography, before annotations. To print the ISBN +of a particular work, use the \opt{isbn} entry option. + +\optitem[false]{library}{\opt{true}, \opt{false}} + +\noindent Like \opt{isbn}, this option prints the \bibfield{library} +field of every work in the bibliography. Use it to print information +about libraries, call numbers, and the like. If you use it with the +\opt{isbn} and \opt{annotation} options, it will print after the +former but before the latter. To print this information for selected +works, use the \opt{library} entry option. + +\optitem[false]{nolos}{\opt{true}, \opt{false}} + +\noindent By default, every work with a \bibfield{shorthand} receives +an entry in the bibliography. If you wish to exclude them, say, to +avoid duplication with the output of \cmd{printshorthands}, use +\opt{nolos}. Since \opt{collsonly} also excludes works from the +bibliography, their results may overlap. + +\optitem[false]{reflist}{\opt{true}, \opt{false}} + +\noindent Use this option to print a bibliography in the author-date +format, what \textit{CMOS} calls a reference list. If you choose +parenthetical citations over notes, consider using \opt{reflist} to +maintain consistency with \textit{CMOS}. Again, another way to print a +reference list is to pass \opt{env=reflist} to +\cmd{printbibliography}. See Section \ref{overview} for more +information. + +\optitem[false]{short}{\opt{true}, \opt{false}} + +\noindent As shown in Section \ref{short}, this option prints +citations in a short format (see \textit{CMOS} \ref{14.34}). The use +of \opt{short} has one feature in common with \opt{ibid}: Just as +\textit{ibid.} appears only for consecutive citations of a work on the +same page, and so never refers to a citation on a previous page, +\opt{short} drops the title from consecutive citations of a work on +the same page, never in reference to a citation on a previous page. As +with \textit{ibid.}, this feature isn't required by \textit{CMOS}, but +it prevents readers from having to look at a previous page to +determine which title a citation refers to. + +In contexts where \opt{short} would drop a title from a citation, but +where no name occupies the author's position, it will print the work's +\bibfield{labeltitle}. This can be a short form of the title, either +the title minus the subtitle or the \bibfield{shorttitle}, if +applicable. In those situations, the short format is no different from +the default. + +As noted earlier, \opt{short} has the same effect on first citations +as \opt{firstshort}. But recall from Section \ref{short} that you can +combine \opt{short} and \opt{ibid} for more concise output. + +\optitem[false]{swapvol}{\opt{true}, \opt{false}} + +\noindent In bibliographies and long citations, works in collections +may place publication information for the volume before that of the +collection or \textit{vice versa}. Windy City gives priority to the +volume. To reverse this for all relevant citations, use \opt{swapvol}. +For more information, see Section \ref{collorder}. + +\end{optionlist} + +\subsection{Entry Options} +\label{entryops} + +An entry option is a value for the \bibfield{options} field of a +work's database entry. It affects the format of that particular work. +For options that affect the format of every work, see Section +\ref{preops}. + +\begin{optionlist} + +\optitem[false]{anonauth}{\opt{true}, \opt{false}} + +\noindent This option prints the author's name of an anonymously +published work in brackets, as in this example from \textit{CMOS} +\ref{14.79}: + +\begin{citebib} +\item \cite{horsley1796} +\end{citebib} + +\optitem[false]{anonqauth}{\opt{true}, \opt{false}} + +\noindent Similar to the previous but adds a question mark after the +author's name, as in this example from \textit{CMOS} \ref{14.79}: + +\begin{citebib} +\item \cite{hawkes1834} +\end{citebib} + +\optitem[false]{isbn}{\opt{true}, \opt{false}} + +\noindent Use this option to print the ISBN of a particular work in a +bibliography. The ISBN will appear at the end of the work's entry but, +if applicable, before an annotation. To print ISBNs of every work in +the bibliography, see the \bibfield{isbn} preamble option. + +\optitem[false]{library}{\opt{true}, \opt{false}} + +\noindent This option prints the \bibfield{library} field of a work's +bibliography database entry. This information prints at the end of the +work's entry, though, like an ISBN, before an annotation. To print the +\bibfield{library} field of every work in the bibliography, use the +\opt{library} preamble option. + +\optitem[false]{listvols}{\opt{true}, \opt{false}} + +\noindent \textit{CMOS} offers some flexibility over whether a long +citation gives a work's total number of volumes (see \textit{CMOS} +\ref{14.118}). Windy City replicates this in a roundabout way: By +default, it prints the \bibfield{volumes} field in certain long +citations only if the \bibfield{postnote} field is empty. This does a +better job of matching examples in \textit{CMOS} than a simpler policy +would. For the rest, use \opt{listvols}. It prints the +\bibfield{volumes} field in those citations no matter what the +\bibfield{postnote} contains. For more information, see Section +\ref{collorder}. + +\optitem[false]{noauth}{\opt{true}, \opt{false}} + +\noindent This option tells the style to bypass the author's position +of a work in notes and bibliographies. Citations will begin with the +title's position. Below is an example from \textit{CMOS} \ref{14.105}: + +\begin{citebib} +\item \cite{chaucer1966} +\end{citebib} + +\noindent To bypass the author's position in a single note, without +affecting the bibliography, use starred versions of citation commands, +such as \cmd{cite*} and \cmd{footcite*}. + +\optitem[false]{skipdate}{\opt{true}, \opt{false}} + +\noindent On rare occasions, you may need an entry in a reference list +to skip the \textit{date} of the author-date format. For examples, see +Section \ref{entrytypes}. + +\optitem[false]{swapauth}{\opt{true}, \opt{false}} + +\noindent To swap the places of a book's author with an editor or +translator, use \opt{swapauth}. This option works for \bibtype{book}, +\bibtype{bookinbook}, \bibtype{collection}, \bibtype{inbook}, and +\bibtype{incollection} entry types. For more information, see Section +\ref{edtranspos}. + +\optitem[false]{swaptrans}{\opt{true}, \opt{false}} + +\noindent According to \textit{CMOS}, if a work has an editor and a +translator, their names should appear in citations in the order in +which they appear on the work's title page (\ref{14.104}). By default, +the style lists editors first. Entries with the option +\bibfield{swaptrans} reverse this order: Their translators print +first. If a work's translators and editors are the same, using +\bibfield{swaptrans} reverses the order of their roles, say, from +\textit{edited and translated by} to \textit{translated and edited +by}. For more information, see Section \ref{edtranspos}. + +\optitem[false]{swapvol}{\opt{true}, \opt{false}} + +\noindent As an entry option, \opt{swapvol} does on a case-by-case +basis what the \opt{swapvol} preamble option does globally: When set +to true, it changes the format of a work in a collection so that, in +bibliographies and long citations, publication information for the +collection precedes that of the volume. For more information, see +Section \ref{collorder}. + +\end{optionlist} + +\subsection{Citation Commands} +\label{citecmds} + +Windy City supports most of the citation commands familiar from +\biblatex: + +\begin{ltxsyntax} +\cmditem{autocite}[prenote][postnote]{key} +\cmditem{autocites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key} +\cmditem{cite}[prenote][postnote]{key} +\cmditem{cites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key} +\cmditem{footcite}[prenote][postnote]{key} +\cmditem{footcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key} +\cmditem{nocite}{key} \cmditem*{nocite}|\{*\}| +\cmditem{parencite}[prenote][postnote]{key} +\cmditem{parencites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key} +\cmditem{smartcite}[prenote][postnote]{key} +\cmditem{smartcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key} +\end{ltxsyntax} + +\noindent New users should get comfortable first with \cmd{cite} and +\cmd{footcite} (for notes) and \cmd{parencite} (for parenthetical +citations). Their multicite forms---\cmd{cites}, \cmd{footcites}, and +\cmd{parencites}---take a comma-separated list of entry keys. + +Use \cmd{nocite} to add works to bibliographies without citing them in +the text. Use it with an asterisk to add every work in every +\file{bib} file that was loaded with \cmd{addbibresource} or +\cmd{bibliography}. + +Windy City sets the \opt{autocite} preamble option to \opt{footnote}, +which makes \cmd{autocite} equivalent to \cmd{smartcite}---which in +turn behaves like different citation commands in different contexts. +In Windy City, \cmd{smartcite} is equivalent to \cmd{footcite} in a +document's body and \cmd{cite} in footnotes and endnotes.\footnote{In +a \env{minipage} environment, \cmd{smartcite} is equivalent to +\cmd{cite}. To use \cmd{smartcite} with endnotes, use the +\sty{endnotes} package.} If you set the \opt{autocite} preamble option +to \opt{inline}, \cmd{autocite} is equivalent to \cmd{parencite}. If +you set it to \opt{plain}, \cmd{autocite} is equivalent to \cmd{cite}. + +Other citation commands: + +\begin{ltxsyntax} + +\cmditem{cite*}[prenote][postnote]{key} + +Use this command to cite a work without printing anything in the +author's position. It comes in handy when the context makes the +author's name clear. From \textit{CMOS} \ref{14.78}: + +\begin{citebib} +\item \cite*[233]{franklin1868} +\item \cite*[234]{franklin1868} +\end{citebib} + +\cmditem{cites*}[prenote][postnote]{key} + +Like \cmd{cites} but, like \cmd{cite*}, suppresses the author's +position of a note. + +\cmditem{footcite*}[prenote][postnote]{key} + +Like \cmd{footcite} but suppresses the author's position of a note. + +\cmditem{parencite*}[prenote][postnote]{key} + +Like \cmd{parencite} but suppresses the author's position of a +parenthetical citation. This is useful in passages where the author +receives explicit mention. Here's an example from \textit{CMOS} +\ref{15.25}: + +\begin{quote} Fiorina et al. \parencite*{fiorina2005} and Fischer and +Hout \parencite*{fischer2006} reach more or less the same conclusions. +In contrast, Abramowitz and Saunders \parencite*{abramowitz2005} +suggest that the mass public is deeply divided between red states and +blue states and between churchgoers and secular voters. \end{quote} + +The source for the passage above contains: + +\begin{verbatim} + \begin{quote} Fiorina et al. \parencite*{fiorina2005}... Fischer + and Hout \parencite*{fischer2006}... Abramowitz and Saunders + \parencite*{abramowitz2005}... \end{quote} +\end{verbatim} + +\cmditem{smartcite*}[prenote][postnote]{key} + +Like \cmd{smartcite} but suppresses the author's position of a +citation. + +\cmditem{smartcites*}[prenote][postnote]{key} + +Like \cmd{smartcites} but, like \cmd{smartcite*}, suppresses the +author's position of a citation. + +\cmditem{textcite}[prenote][postnote]{key} + +Use \cmd{textcite} for in-text citations in the standard format. +Here's an example from \textit{CMOS} 13.65: + +\begin{quote} ``If an astronaut falls into a black hole, its mass will +increase, but eventually the energy equivalent of that extra mass will +be returned to the universe in the form of radiation. Thus, in a +sense, the astronaut will be {`recycled'}'' +\mkbibparens{\textcite[112]{hawking1988}}. \end{quote} + +The source for the passage above contains: + +\begin{verbatim} + \begin{quote} ``If an astronaut falls into a black hole...'' + \mkbibparens{\textcite[112]{hawking1988}}. \end{quote} +\end{verbatim} + +Note that \cmd{textcite} doesn't enclose citations in parentheses but +does drop the final period that standard citations usually end with. +The parentheses above come from \cmd{mkbibparens}, which also switches +the note's internal parentheses to brackets. + +\cmditem{textcite*}[prenote][postnote]{key} + +Like \cmd{textcite} but suppresses the author's position of a note, as +in this passage from \textit{CMOS} 13.65: + +\begin{quote} In their introduction to \textcite*{tocqueville1999}, +translators Harvey Mansfield and Delba Winthrop write that Tocqueville +``shows that the people are sovereign, whether through the +Constitution or despite it, and he warns of the tyranny of the +majority'' \parencite[xvii]{tocqueville1999}. \end{quote} + +The source for the passage above contains: + +\begin{verbatim} + \begin{quote} In their introduction to \textcite*{tocqueville1999} + ...\parencite[xvii]{tocqueville1999}. \end{quote} +\end{verbatim} + +\cmditem{textcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key} + +Like \cmd{textcite} but for multiple sources in the same way as +\cmd{cites} and \cmd{smartcites}. + +\cmditem{textcites*}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key} + +Like \cmd{textcites} but, like \cmd{textcite*}, suppresses the author's +position of a note. + +\end{ltxsyntax} + +\subsection{Entry Types} +\label{entrytypes} + +Windy City recognizes every entry type from \BibTeX, as well as some +that are specific to \biblatex. + +\begin{typelist} +\RaggedRight + +\typeitem{article} + +Alias: \bibtype{periodical} + +\typeitem{book} + +Aliases: \bibtype{booklet}, \bibtype{collection}, \bibtype{manual}, +\bibtype{mvbook}, \bibtype{mvcollection}, \bibtype{proceedings}, +\bibtype{report}, \bibtype{techreport} + +\typeitem{incollection} + +Aliases: \bibtype{bookinbook}, \bibtype{conference}, +\bibtype{inproceedings}, \bibtype{inbook}, \bibtype{letter}, +\bibtype{suppbook}, \bibtype{suppcollection} + +\typeitem{letter} No aliases +\typeitem{misc} No aliases +\typeitem{online} No aliases +\typeitem{patent} No aliases + +\typeitem{reference} + +Alias: \bibtype{inreference} + +\typeitem{review} No aliases + +\typeitem{thesis} + +Aliases: \bibtype{mastersthesis}, \bibtype{phdthesis}, +\bibtype{unpublished} + +\end{typelist} + +\noindent For the most part, you may assign every work to the basic +entry types listed above. A PhD thesis, for example, may have a +\bibtype{thesis} or \bibtype{phdthesis} entry type. The output is the +same. If an entry has a type other than the ones listed above, Windy +City processes it as a book. + +One comment about \bibtype{reference} and \bibtype{inreference} +entries: You may cross-reference \bibtype{inreference} entries to +\bibtype{reference} entries, as with articles in books, but you can +get the same output using one or the other entry type alone. Take an +example from \textit{CMOS} \ref{14.232}: + +\begin{citeonly} +\item \cite{salvation1980} +\end{citeonly} + +A bibliography database could have an \bibtype{inreference} entry for +the article cross-ref\-er\-enc\-ed to a \bibtype{reference} entry for +\textit{Encyclopaedia Britannica}: + +\begin{verbatim} + @InReference{salvation1980, + title = {salvation}, + crossref = {britannica1980} + } + @Reference{britannica1980, + organization = {{\emph{Encyclopaedia Britannica}}}, + edition = {15}, + year = {1980} + } +\end{verbatim} + +\noindent This approach makes sense if you plan to cite more than one +article from the source.\footnote{Incidentally, reference works don't +always have titles in italics. As a result, you need to handle it in +your bibliography database.} But you could also have a single entry of +either type with the same data, like this: + +\begin{verbatim} + @Reference{salvation1980, + organization = {{\emph{Encyclopaedia Britannica}}}, + edition = {15}, + title = {salvation}, + year = {1980} + } +\end{verbatim} + +For unusually complicated citations, or those just not supported by +the style, consider using the \bibtype{misc} entry type. The style +formats these entries with a small number of fields but in way that +makes it a fallback for almost anything. The example below is from +\textit{CMOS} 14.264: + +\begin{citebib} +\item \cite{roosevelt1959} +\end{citebib} + +\noindent The database entry for this work contains most of the format +in \bibfield{usera} (for notes) and \bibfield{userb} (for +bibliographies). The \bibfield{title} field needs manual formatting, +since works of this type may have titles in italics or quotation +marks. + +\begin{verbatim} + @Misc{roosevelt1959, + author = {Roosevelt, Eleanor}, + title = {\mkbibquote{Is America Facing World Leadership?}}, + usera = {convocation speech, Ball State Teacher's College, May 6, + \thefield{year}, radio broadcast, reel-to-reel tape, + MPEG copy, 1:12:49}, + userb = {Convocation Speech. Ball State Teacher's College. May 6, + \thefield{year}. Radio broadcast. Reel-to-reel tape. + MPEG copy. 1:12:49}, + url = {http://libx.bsu.edu/cdm4/singleitem/collection/ElRoos/id + /1}, + year = {1959} + } +\end{verbatim} + +You may also use the \bibtype{misc} entry type to cross-reference +entries in a bibliography, as in \textit{CMOS} \ref{14.81} and +\ref{14.82}. + +\begin{bibonly} +\nocite{ashe,creasey1976,creasey1978,creasey1966,morton,york} +\end{bibonly} + +\noindent Here's the \bibtype{misc} entry for one of the +cross-references above: + +\begin{verbatim} + @Misc{ashe, + options = {skipdate}, + author = {Ashe, Gordon}, + userb = {\emph{See} Creasey, John} + } +\end{verbatim} + +\noindent The option \opt{skipdate} is necessary only if you plan to +format your bibliography as a reference list. It prevents Windy City +from printing \textit{n.d.} (no date) after the name to indicate a +missing publication date. After adding the \bibtype{misc} entries, use +\cmd{nocite} with their entry keys to add them to your bibliography, +and cite the remaining entries as usual. For examples of automatic +cross-referencing in notes and bibliographies see Section \ref{notes}, +\ref{14.108}; Section \ref{paren}, \ref{15.42}; and Section +\ref{collections}. + +For more information on entry types---specifically, on the use of +certain data fields with them---see Section \ref{datafields}. + +\subsection{Data Fields} +\label{datafields} + +As Windy City has grown to support more citations, it has had to add +data fields that aren't recognized by \BibTeX\ or \biblatex. It also +uses some standard ones in perhaps unexpected ways. + +\subsubsection{Additional Data Fields} +\label{datafields} + +Some of Windy City's additional or nonstandard data fields are for its +internal handling of cross-referencing. Those fields aren't listed +below, as they're not meant for use in a bibliography database. The +rest store information that's crucial for correct formatting. Without +them, quite a few citations in this document wouldn't match their +counterparts in \textit{CMOS}. + +\begin{marglist} + +\item[\smash{\tshortstack[l]{blogtitle\\blogsubtitle}}] The name of a +blog goes in \bibfield{blogtitle} and \bibfield{blogsubtitle}. Of +course, already existing fields would have been preferable for this +purpose. But since blog posts take the usual \bibfield{title} and +\bibfield{subtitle}, and since blogs may have host names of different +sorts, new fields seemed necessary. + +\item[editoraddon] Use this field to include additional editorial +information about a book. It's available for \bibtype{book}, +\bibtype{incollection}, and \bibfield{review} entry types and their +aliases. (For information on aliases in Windy City, see Section +\ref{entrytypes}.) When applicable, its content appears after the +names of a book's editors and translators without intervening +punctuation. For an example, see Section \ref{entryops}, where the +citation of \textit{Chaucer Life-Records} prints this +\bibfield{editoraddon}: ``from materials compiled by John M. Manly and +Edith Richert, with the assistance of Lilian J. Redstone et al.'' + +\item[seriesaddon] This field is for additional information about a +book's series. That includes information about the run of a series, +such as \textit{2nd ser.} and \textit{n.s.} For examples, see +\textit{CMOS} \ref{14.123} and \ref{14.126}. Keep in mind that, for +journals, which occasionally have a series but no series name, +information like \textit{2nd ser.} and \textit{n.s.} go in the +\bibfield{series} field. + +\item[shortmaintitle] This field is for the short form of a +\bibfield{maintitle}. Use it in a bibliography database when a work's +\bibfield{maintitle} may occupy the position of a regular title in a +short citation and needs a short form. This should only happen with +certain works in collections. See, for example, the citation of +\textit{The Complete Tales of Henry James} in Section +\ref{multivolume}. + +\end{marglist} + +\subsubsection{Other Data Fields} +\label{fieldscon} + +Examples in this document don't always make it clear how Windy City +uses standard data fields. The list below discusses some of them. + +\begin{marglist} + +\item[edition] To indicate a numbered edition of a work, put the +number of the edition in this field---for example, \textit{2} for a +second edition. To indicate a revised edition, enter either +\textit{revised} or \textit{rev. ed.} Both options give the same +output. You may also use the field to indicate a newspaper's edition, +such as \textit{Sunday Book Review} (see \textit{CMOS} \ref{14.202}). + +\item[issue] Windy City uses this field with the \bibtype{article}, +\bibtype{online}, and \bibtype{review} entry types to record a work's +season of publication (spring, summer, autumn/fall, winter). The +\bibtype{date} field also records seasons---but the value \textit{23}, +for the third season, returns \textit{Autumn}. To print \textit{Fall}, +use an \bibfield{issue} field with that value. In other words, for the +output \textit{Fall 2013}, a work's bibliography database entry should +contain: + +\begin{verbatim} + issue = {Fall}, + date = {2013}, +\end{verbatim} + +\noindent Whereas for \textit{Autumn 2013}, use either: + +\begin{verbatim} + date = {2013-23}, +\end{verbatim} + +\noindent Or: + +\begin{verbatim} + issue = {Autumn}, + date = {2013}, +\end{verbatim} + +\noindent Remember that when \bibfield{date} contains just a year of +publication, you may use the classic \bibfield{year} field instead. + +\item[series] See the comments for \bibfield{seriesaddon} in Section +\ref{datafields}. + +\item[type] With the \bibtype{thesis} entry type, Windy City uses the +\bibfield{type} field to distinguish a Master's thesis from a PhD +dissertation. For the latter, \bibtype{type} should have the values +\textit{phdthesis} or \textit{PhD diss.} For the former, use +\textit{mathesis} or \textit{master's thesis}. No \bibfield{type} +field is needed for the \bibtype{mathesis} and \bibtype{phdthesis} +entry types. + +In rare cases, the \bibfield{type} field is necessary for the +\bibtype{article} and \bibtype{review} entry types when a work's +bibliographic information doesn't allow Windy City to distinguish a +journal article from a magazine or newspaper article. This happens +when a magazine or newspaper article has an issue number. Normally, +Windy City would respond by printing the issue number before the date +and enclosing the date in parentheses. But the issue number needs to +go first, and the date shouldn't be in parentheses. The workaround is +to include a \bibfield{type} field with the value \textit{newsmag}. +For an example, see \textit{CMOS} \ref{14.204} and compare it with the +citation of Beattie in \ref{14.171}. + +\end{marglist} + +\section{Editors, Translators, and Compilers} +\label{edtrans} + +Windy City offers significant control over the handling of editors, +translators, and compilers. Taking advantage of it, however, may not +seem intuitive at first. This section covers the options and issues +that you need to grasp in order to master this aspect of the style. + +\subsection{Types of Editors, Translators, and Compilers} +\label{edtransnames} + +For the most part, Windy City associates the \bibfield{editor} and +\bibfield{translator} fields with the lowest level title within the +scope of an entry. In most cases, then, you can assign editors and +translators simply by adding the \bibfield{editor} and +\bibfield{translator} fields to a database entry. Below is the entry +for an example in \textit{CMOS} \ref{14.104}: + +\begin{verbatim} + @Collection{adorno1999, + author = {Adorno, Theodor W. and Benjamin, Walter}, + title = {The Complete Correspondence, 1928–1940}, + editor = {Lonitz, Henri}, + translator = {Walker, Nicholas}, + address = {Cambridge, MA}, + publisher = {Harvard University Press}, + year = {1999} + } +\end{verbatim} + +\begin{citebib} +\item \cite{adorno1999} +\end{citebib} + +\noindent When the style processes this entry, it identifies the +editor and translator of the work with the names, respectively, in the +\bibfield{editor} and \bibfield{translator} fields. Since the entry +doesn't use the \opt{swaptrans} entry option (see Section +\ref{edtranspos}), the resulting output lists the editor and +translator, in that order, after the authors and title. + +Cross-referencing introduces a bit more complexity, though the +principle is the same: Within the scope of an entry, the style +associates \bibfield{editor} and \bibfield{translator} with the lowest +level title. In this example from \textit{CMOS} \ref{14.30}, an essay +is cross-referenced to a collection: + +\begin{verbatim} + @InCollection{kaiser1964, + author = {Kaiser, Ernest}, + title = {The Literature of Harlem}, + shorttitle = {Literature of Harlem}, + crossref = {clarke1964} + } + @Collection{clarke1964, + editor = {Clarke, J. H.}, + title = {Harlem}, + subtitle = {A Community in Transition}, + address = {New York}, + publisher = {Citadel Press}, + year = {1964} + } +\end{verbatim} + +\begin{citebib} +\item \cite{kaiser1964} +\end{citebib} + +\noindent Since \bibfield{editor} appears within the +\bibtype{collection} entry, Windy City associates the editor's name +with \textit{Harlem}. If you moved \bibfield{editor} from +\bibtype{collection} to \bibtype{incollection}, the association would +change to \textit{The Literature of Harlem}. + +Consider another example, this one an essay in a collection: + +\begin{citebib} +\item \cite{petrarca1948} +\end{citebib} + +\noindent Hans Nachod translated ``The Ascent of Mont Ventoux,'' among +other works in the collection, but not \textit{every} work in the +collection. Thus, the \bibfield{translator} field must fall within the +scope of the \bibtype{incollection} entry: + +\begin{verbatim} + @InCollection{petrarca1948, + author = {Petrarca, Francesco}, + title = {The Ascent of Mont Ventoux}, + translator = {Nachod, Hans}, + pages = {36–46}, + crossref = {cassirer1948} + } + @Collection{cassirer1948, + editor = {Cassirer, Ernst and Kristeller, Paul Oskar and Randall, + Jr., John Herman}, + title = {The Renaissance Philosophy of Man}, + address = {Chicago}, + publisher = ucp, + year = {1948} + } +\end{verbatim} + +\noindent By the same token, since \bibfield{editor} falls within the +scope of \bibtype{collection}, the style associates it with +\textit{The Renaissance Philosophy of Man}. + +Sometimes, you need to designate the role of an editor with the field +\bibfield{editortype}. The values of \bibfield{editortype} are +\textit{maintitle}, \textit{series}, \textit{issuetitle}, and +\textit{compiler}. As for the latter, Windy City treats +\textit{compiler} as a kind of editor. So, if you need to add a +compiler to an entry, add the compiler's name to an available field +for an editor, then add an appropriate \bibfield{editortype} field +with the value \textit{compiler}. It may help to see the bibliography +database entry for an example in \textit{CMOS} \ref{14.103}: + +\begin{verbatim} + @Book{schechter2011, + editor = {Schechter, Harold, and Kurt Brown}, + editortype = {compiler}, + title = {Killer Verse}, + subtitle = {Poems of Murder and Mayhem}, + address = {London}, + publisher = {Everyman Paperback Classics}, + year = {2011} + } +\end{verbatim} + +\begin{citebib} +\item \cite{schechter2011} +\end{citebib} + +Follow the same pattern for editors of a \bibfield{maintitle}, +\bibfield{series}, or \bibfield{issuetitle}. Here's an example from +\textit{CMOS} \ref{14.123}: + +\begin{verbatim} + @Book{allen2009, + author = {Allen, Judith A.}, + title = {The Feminism of Charlotte Perkins Gilman}, + subtitle = {Sexualities, Histories, Progressivism}, + series = {Women in Culture and Society}, + editor = {Stimpson, Catharine R.}, + editortype = {series}, + address = {Chicago}, + publisher = ucp, + year = {2009} + } +\end{verbatim} + +\begin{citebib} +\item \cite{allen2009} +\end{citebib} + +\noindent If there were no \bibfield{editortype} assigning the editor +to the series, Windy City would assume that she's the book's editor. +In short, for a title's compilers and for any title at a higher level +than the \bibfield{title} field, you need to use +\bibfield{editortype}. Combined with Windy City's support for citing +articles, chapters, books, and other works within books, this scheme +allows for several sets of editors per work, although it does limit +you to just one set of compilers. + +Windy City's support for translators falls between its support for +editors and compilers. Unless a work's bibliography database entry has +a \bibfield{translatortype} field with the value \textit{maintitle}, +Windy City associates the names in \bibfield{translator} with the +entry's lowest level title. (Recall ``The Ascent of Mont Ventoux'' +above.) You should rarely, and perhaps never, need more than one set +of translators per work. But if you do, Windy City lets you assign as +many as three, if you cross-reference a work with one set of +translators to another with two. Does any such work exist? Probably +not. Anyway, support for it is something of an accident, stemming in +large part from how the style handles cross-referencing with editors. + +One complication remains: There are other name lists for editors than +\bibfield{editor}. There's \bibfield{editora}, \bibfield{editorb}, and +\bibfield{editorc}. + +Reserve \bibfield{editor} for the lowest level title in a bibliography +database entry. That should be the \bibfield{title} field. The next +level up, as it were, is for \bibfield{editora}, followed by +\bibfield{editorb}, and so on. Remember to include the appropriate +\bibfield{type} field to indicate an editor's role. These fields are +\bibfield{editortype} (for \bibfield{editor}), +\bibfield{editoratype} (for \bibfield{editora}), +\bibfield{editorbtype} (for \bibfield{editorb}), and +\bibfield{editorctype} (for \bibfield{editorc}). + +As it happens, Windy City puts a lot of effort into sorting out where +to print the names of editors and translators, so it's a bit more +clever than the previous paragraph suggests. In particular, if you use +\bibfield{editortype} to assign an \bibfield{editor} to a +\bibfield{maintitle} or some other higher level title, and have an +\bibfield{editora} with no corresponding \bibfield{editoratype}, Windy +City will assume that \bibfield{editora} is the editor of the +\bibfield{title}. Regardless, the best practice is the follow the rule +of thumb described above, reserving \bibfield{editor} for +\bibfield{title} and working up from there. + +\subsection{Switching Places and Roles} +\label{edtranspos} + +Normally, Windy City lists editors first. But if translators are +listed first on a work's title page (or in some other relevant place), +you may want to reverse the order. For that, use the entry option +\opt{swaptrans}. Compare: + +\begin{citebib} +\item \cite{doe2010a} +\item \cite{doe2010b} +\end{citebib} + +If a work has no author, but has an editor, the style will print the +editor's name in the author's position. The same happens if a work has +no author but does have a translator. The following are examples from +\textit{CMOS} \ref{14.103}: + +\begin{citebib} +\item \cite[100]{egan2014} +\item \cite[34]{silverstein1974} +\end{citebib} + +What if a work has no author but has editors and translators? Since +Windy City gives priority to editors, it defaults to listing editors +in the author's position: + +\begin{citebib} +\item \cite{smith2002a} +\end{citebib} + +\noindent Use \opt{swaptrans} to reverse them: + +\begin{citebib} +\item \cite{smith2002b} +\end{citebib} + +Similarly, if a work's editors and translators are the same, the style +will print the editors' role first, as in \textit{edited and +translated by}. Reverse them with \opt{swaptrans}. From \textit{CMOS} +\ref{14.104}: + +\begin{citebib} +\item \cite{menchu1999} +\end{citebib} + +Since Windy City treats a compiler as a kind of editor, the comments +above apply to compilers: If a work has compilers and translators, +compilers' names will print first, unless you use \opt{swaptrans}. + +In rare cases, you may want to swap the position of an author and an +editor or translator. \textit{CMOS} \ref{14.104} gives an example: + +\begin{citebib} +\item \cite{pound1953} +\end{citebib} + +\noindent You can get this effect with the entry option +\opt{swapauth}, which works for \bibtype{book}, \bibtype{bookinbook}, +\bibtype{collection}, \bibtype{inbook}, \bibtype{incollection}, +\bibtype{mvbook}, and \bibtype{mvcollection} entry types. But beware: +Windy City doesn't look ahead to see if there's really an editor or +translator to take the author's place. If it doesn't find one, it will +still print the author's name after the title, leaving the author's +position empty. Also, if it finds both an editor and a translator, and +they're not the same person, it will print the editor's name in the +author's position---again, giving priority to editors. If you want the +translator's name in the author's position, use \opt{swapauth} with +\opt{swaptrans}. + +For correct sorting in a bibliography, a work that uses \opt{swapauth} +needs a field like \bibfield{sortname} to sort it by the name of the +editor or translator whose name will occupy the author's position. It +would be nice if Windy City could do this for you, but at present no +feature of \biblatex seems to allow the kind of on-the-fly changes to +sorting that \opt{swapauth} requires. Below is the entry for the +previous example: + +\begin{verbatim} + @Book{pound1953, + options = {swapauth}, + author = {Pound, Ezra}, + title = {Literary Essays}, + editor = {Eliot, T. S.}, + sortname = {Eliot, T. S.}, + address = {New York}, + publisher = {New Directions}, + year = {1953} + } +\end{verbatim} + +\section{Collections} +\label{collections} + +Before you cite a collection or one of its volumes, you need to +consider how you want the citation to look (\textit{CMOS} gives you +options) and whether the collection should count as a single work or +as a composite. These issues have implications for how you structure +entries in your bibliography database and how you use citation +commands. + +\subsection{Structuring Citations} +\label{collorder} + +A work in a collection usually has a title and perhaps other +publication information that differs from the collection's. When +preparing your bibliography database, the most basic choice to make +about a work in a collection is which publication information has +priority, the collection's or the volume's. Consider an example from +\textit{CMOS} \ref{14.119}: + +\begin{citebib} +\item \cite{armstrong2014} +\end{citebib} + +\noindent The editor and title of the volume precede the editor and +title of the collection. In notes and bibliographies in the default +format, \textit{CMOS} gives you the option of reversing this order. +(See especially \textit{CMOS} \ref{14.119}, \ref{14.121}, and +\ref{14.122}, and compare \ref{14.144} and \ref{15.41}.) Windy City +does as well, with the entry or preamble option \opt{swapvol}. + +\begin{citebib} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite{armstrong2014} +\AtNextBibliography{\toggletrue{swapvol}} +\end{citebib} + +In contexts where information for just one title appears (certain +short citations), the one with priority determines which one +identifies the work. By default, as you can see in the second note +below, the volume has priority: + +\begin{citeonly} +\item \cite{armstrong2014} +\item \cite[45]{armstrong2014} +\end{citeonly} + +\noindent Whereas with \opt{swapvol}: + +\begin{citeonly} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite{armstrong2014} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite[45]{armstrong2014} +\end{citeonly} + +Notice the volume number in the second note above, separated from the +page citation by a colon. When the collection has priority, the volume +number should appear in the citation. There are enough examples in +\textit{CMOS} to make that clear. But when the volume has priority, +the volume number is at best optional but probably incorrect. (It +could cause confusion, since the collection is what comes in volumes, +not the volumes themselves.) In any event, Windy City prints the +volume number only when the collection has priority, that is, when +\opt{swapvol} is \textit{true}. + +Sometimes, you may want collections to have priority in every case. If +so, compile documents with the \opt{swapvol} preamble option, +which acts globally, affecting all relevant citations. More likely, +though, you'll want to give priority to the collection when citing +some works but not others. That's why there's a \opt{swapvol} entry +option for changing individual citations. + +A good candidate for the entry option is this example from +\textit{CMOS} \ref{14.118}: + +\begin{citebib} +\item \cite*{james1963.5} +\end{citebib} + +\noindent The volume's title merely indicates a portion of the +collection, somewhat like the volume of an encyclopedia with the title +\textit{D–F}. There's nothing wrong with putting it first. But putting +it second seems more intuitive. + +For other works, \opt{swapvol} may seem like a poor choice, even if +the output is formally correct: + +\begin{citebib} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite{barrows1959} +\AtNextBibliography{\toggletrue{swapvol}} +\end{citebib} + +\noindent Having the editor's name first and the author's name after +the volume's title looks odd. But it's not wrong. The volume's author +didn't write every volume of the collection. In giving priority to the +collection, then, the first position, where an author's name normally +goes, should go to the collection's editor, not to the volume's +author. By contrast, the default format looks more familiar: + +\begin{citebib} +\item \cite{barrows1959} +\end{citebib} + +One drawback of \opt{swapvol} is that some works changed by it won't +sort correctly in a bibliography without help. The affected works +include those without listed authors and those in which the volume has +an author but the collection as a whole doesn't---and possibly others. +You can fix them by adding a \bibfield{sortname} field to their +bibliography database entries. + +This drawback shouldn't affect \bibfield{bookinbook}, +\bibfield{inbook}, \bibfield{incollection}, or \bibfield{letter} +entries when they're cross-referenced to works that are changed by +\opt{swapvol}. They should have their own authors or titles that Windy +City can use for proper sorting. As for examples, it seems that +\textit{CMOS} gives exactly one in \ref{14.120}: + +\begin{citebib} +\item \cite[169--71]{king2014} +\item \cite[170]{king2014} +\end{citebib} + +\noindent Here's the output with the preamble or entry option +\opt{swapvol}: + +\begin{citebib} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite[169--71]{king2014} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite[170]{king2014} +\AtNextBibliography{\toggletrue{swapvol}} +\end{citebib} + +In neither set of examples does Windy City print the volume number +before the page reference. That's because, with or without +\opt{swapvol}, the citation is directly to the work's title, not to +the collection. The same goes for articles, chapters, books, and other +works of this type. Further, consistent with \textit{CMOS} +\ref{14.108} and \ref{15.42}, Windy City cross-references previously +cited volumes. + +% Due to 'mincrossrefs=2', jones2018 would be added automatically to +% the bibliography at the end of the document because it's referenced +% twice below. However, it wouldn't appear in the refsegment without +% using \nocite. + +\begin{citebib} +\item \cite[56]{doe2018} +\item \cite[128]{edwards2018} +\nocite{jones2018} +\end{citebib} + +\noindent Now with \opt{swapvol}: + +\begin{citebib} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite[56]{doe2018} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite[128]{edwards2018} +\AtNextBibliography{\toggletrue{swapvol}} +\nocite{jones2018} +\end{citebib} + +How does Windy City determine which entries in a bibliography database +work with \opt{swapvol}? To keep things simple, let's focus on +individual volumes of a collection, rather than works collected in +them, like articles and chapters. Below are entries for an earlier +example: + +\begin{verbatim} + @InBook{armstrong2014, + editor = {Armstrong, Tenisha}, + title = {To Save the Soul of America, January 1961–August + 1962}, + shorttitle = {To Save the Soul of America}, + volume = {7}, + year = {2014}, + crossref = {carson1992} + } + @Collection{carson1992, + editor = {Carson, Clayborne}, + title = {The Papers of Martin Luther King, Jr.}, + volumes = {14}, + address = {Berkeley}, + publisher = {University of California Press}, + year = {1992–} + } +\end{verbatim} + +A \bibtype{bookinbook} or \bibtype{inbook} entry for a volume works +with \opt{swapvol} if it has a \bibfield{title}, a \bibfield{volume}, +and another \bibfield{title} inherited from a cross-referenced entry, +and if it lacks certain fields that it shouldn't have, such as a +\bibfield{maintitle} field or a \bibfield{volume} field inherited from +the cross-referenced entry. You can find the exact details in +\file{windycity.bbx}. Just remember that entries like these should +always be cross-referenced to a \bibtype{collection} or one of its +aliases. Since Windy City treats them the same, it makes no difference +whether you designate entries for volumes as \bibtype{bookinbook} or +\bibtype{inbook}. + +With one exception, you can get the same output with a \bibtype{book}, +\bibtype{collection}, \bibtype{mvbook}, or \bibtype{mvcollection} +entry. As before, the choice of entry type is arbitrary. All four are +equivalent. Here's a counterpart to the previous example using +\bibtype{collection}: + +\begin{verbatim} + @Collection{carson2014, + editor = {Armstrong, Tenisha}, + title = {To Save the Soul of America, January 1961–August + 1962}, + volume = {7}, + maintitle = {The Papers of Martin Luther King, Jr.}, + editora = {Carson, Clayborne}, + editoratype = {maintitle}, + volumes = {14}, + address = {Berkeley}, + publisher = {University of California Press}, + year = {2014} + } +\end{verbatim} + +These entries work with \opt{swapvol} if they have \bibfield{volume} +and \bibfield{maintitle} fields, among other conditions. You may +prefer them over \bibfield{bookinbook} or \bibfield{inbook} entries if +you only intend to cite one volume of the collection and have no need +to cite the collection as a whole. You risk trouble, though, if the +volumes of the collection have different publication dates, as they do +for \textit{The Papers of Martin Luther King, Jr}. If the publication +information for this volume goes last, the bibliography and long +citation should list the publication date as \textit{2014}. If the +publication information for the collection goes last, that date is +\textit{1992–}. A \bibtype{book} or \bibtype{collection} entry, +however, has just one field for a publication date, so using +\opt{swapvol} on \bibfield{carson2014} would print \textit{2014}, not +\textit{1992–}. Otherwise, the entry types are interchangeable. You +can find examples of both approaches in \file{windycity.bib}. + +Certain entries cross-referenced to entries that work with +\opt{swapvol} also work with it. Those enty types are limited to +\bibtype{bookinbook}, \bibtype{inbook}, \bibtype{incollection}, or +\bibtype{letter}. For the letter cited above: + +\begin{verbatim} + @Letter{king2014, + author = {King, Jr., Martin Luther}, + title = {Unpublished letter to the editor of the + \emph{Afro-American} (Washington, DC)}, +% crossref = {carson2014} + crossref = {armstrong2014} + } +\end{verbatim} + +\noindent You may cross-reference this entry to +\bibfield{armstrong2014} or \bibfield{carson2014}. The only difference +is that, with \opt{swapvol}, cross-referencing to +\bibfield{carson2014} once more gives the wrong publication date for +the collection. With many other collections, this wouldn't be an +issue. Convenience, then, is perhaps the only consideration in +choosing how you do it. If you plan to cite more than one volume of a +collection, and different works in those volumes or the collection as +a whole, cross-referencing to \bibtype{bookinbook} or \bibtype{inbook} +entries is probably simpler. The other way is simpler if you plan to +cite just one work in one volume. + +As mentioned in \textit{CMOS} \ref{15.41}, reference lists should give +priority to the volume, not to the collection. Nevertheless, Windy +City doesn't prevent you from using \opt{swapvol} with \opt{reflist}. +Either way, remember that when a volume and a collection have +different publication dates, a reference list entry prints both dates, +which in turn requires you to use the \bibtype{bookinbook} or +\bibtype{inbook} approach. + +\begin{refonly} +\nocite{armstrong2014} +\end{refonly} + +A final issue concerns whether you want long citations to give a +work's total number of volumes. Whereas entries in a bibliography +almost always give that number (the exceptions are those that work +with \opt{swapvol}), doing so in notes is optional (per \textit{CMOS} +\ref{14.118}). + +Here's what Windy City does: Apart from entries that work with +\opt{swapvol}, it prints the \bibfield{volumes} field in long +citations only if the \bibfield{postnote} field is empty. That's not a +requirement of \textit{CMOS}. But there are several reasons for +preferring this approach. If the \bibfield{postnote} is empty, +printing the total preserves the correspondence between the long +citation and its entry in the bibliography. This prevents the +appearance that something has gone wrong when an element in one is +missing from the other. If the \bibfield{postnote} isn't empty, it +likely contains information that, as with page references, should also +include a volume number (see Section \ref{multivolume}). Including a +volume number makes it less important, arguably, to include the total +number of volumes. The main benefit, anyway, is that Windy City's +approach is consistent with citations of \textit{The Lisle Letters} in +\textit{CMOS} \ref{14.117} and \ref{14.118}. No simpler rule would be. + +Confused? All you need to know is that, barring exceptions for +\opt{swapvol}, if you want to print a work's total number of volumes +without regard to the \bibfield{postnote}, use the entry option +\opt{listvols}. Windy City uses it to match some examples in +\textit{CMOS}, such as in \ref{14.59}: + +\begin{citeonly} +\item \cite[1:126]{shurtleff1853} +\end{citeonly} + +\subsection{Collections as Single Works} +\label{multivolume} + +Although its discussion is a bit obscure, \textit{CMOS} treats some +multivolume collections as single works---but only, it seems, if every +volume of the collection has the same title and publication date. To +illustrate the distinction between a collection that counts as a +single work and one that doesn't, \textit{CMOS} gives the following +examples in \ref{14.118}: + +\begin{citeonly} +\item \cite[4:243]{byrne1981} +\item \cite*[32--33]{james1963.5} +\item \cite[4:245]{byrne1981} +\item \cite*[34]{james1963.5} +\end{citeonly} + +In citations of \textit{The Lisle Letters}, volume numbers and pages +are separated by a colon. With \textit{The Complete Tales of Henry +James}, only the second citation follows this pattern. In the first, +the volume number appears earlier, after the editor's name. Why? +Apparently, \textit{The Lisle Letters} count as a single, multivolume +work because every volume has the same title and publication date. Not +so \textit{The Complete Tales of Henry James}, in which volumes have +different titles and publication dates. + +To get the right output, your bibliography database and citations need +to reflect this distinction. Think of it this way: If a multivolume +collection meets the criteria of a single work (all volumes have the +same title and publication date), your bibliography database should +have just one entry to which all citations of the collection refer, +regardless of whether they cite particular volumes or the collection +as a whole. Here's the entry for \textit{The Lisle Letters}: + +\begin{verbatim} + @Collection{byrne1981, + editor = {Byrne, Muriel St. Clare}, + title = {The Lisle Letters}, + volumes = {6}, + address = {Chicago}, + publisher = ucp, + year = {1981} + } +\end{verbatim} + +To cite a particular volume of the collection, include the volume +number in the citation's \bibfield{postnote}. For citations of pages, +remember the format from \textit{CMOS} \ref{14.118}: Volume numbers +and pages are separated with a colon. Here's the source for the first +citation of \textit{The Lisle Letters}: + +\begin{verbatim} + \cite[4:243]{byrne1981} +\end{verbatim} + +\noindent To cite a volume by itself, without a page reference, or to +cite chapters, sections, and other parts of the work, remember to use +the appropriate abbreviations (for some examples, see \textit{CMOS} +\ref{14.120}, 15.23, and \ref{15.41}): + +\begin{verbatim} + \cite[vol. 3, chap. 9]{byrne1981} +\end{verbatim} + +What if you leave the \bibfield{postnote} empty? In that case, Windy +City assumes that you mean to cite the collection as a whole. As such, +the first, long citation of the work will print the collection's total +number of volumes. Subsequent entries will indicate the collection in +whatever short form corresponds to the preamble options. The following +shows the default output for two such citations of the collection: + +\begin{citeonly} +\item \cite{byrne1981} +\item \cite{byrne1981} +\end{citeonly} + +For collections like \textit{The Complete Tales of Henry James}, which +don't count as single works, every volume needs to have its own entry +in the bibliography database. Here's the entry for the volume cited in +\textit{CMOS} \ref{14.118}: + +\begin{verbatim} + @Collection{james1963.5, + options = {swapvol}, + author = {James, Henry}, + title = {1883–1884}, + volume = {5}, + maintitle = {The Complete Tales of Henry James}, + shortmaintitle = {Complete Tales of Henry James}, + editor = {Edel, Leon}, + editortype = {maintitle}, + volumes = {12}, + address = {London}, + publisher = {Rupert Hart-Davis}, + year = {1963} + } +\end{verbatim} + +Since the volume number is part of the entry and needs to print in +different places depending on the context, don't include it in the +\bibfield{postnote}. Let Windy City handle it. Below is the source for +the first citation of \textit{The Complete Tales Henry James}: + +\begin{verbatim} + \cite*[32--33]{james1963.5} +\end{verbatim} + +Neither type of collection uses cross-referencing in the bibliography +database. For \textit{The Lisle Letters}, cross-referencing would +introduce needless complexity. A single work should have a single +entry, not multiple, cross-referenced entries. For \textit{The +Complete Tales Henry James}, cross-referencing would result in errors +because, with different titles and publication dates, not all +publication data for the collection is true of each volume. To cite +the collection as a whole, as in \textit{CMOS} \ref{14.117}, add a +separate entry: + +\begin{verbatim} + @Collection{james1962, + author = {James, Henry}, + title = {The Complete Tales of Henry James}, + shorttitle = {Complete Tales of Henry James}, + editor = {Edel, Leon}, + volumes = {12}, + address = {London}, + publisher = {Rupert Hart-Davis}, + year = {1962–64} + } +\end{verbatim} + +\subsection{Works \textit{in} Volumes or \textit{as} Volumes} + +Many examples so far show the use of the \bibfield{volume} field. What +they don't quite show is that, as with editors and translators, Windy +City associates \bibfield{volume} with an entry's lowest level title. +Usually, this doesn't require any thought when preparing a +bibliography database. The \bibfield{volume} field goes where you'd +expect it to. But if you're not careful, you could end up with errors, +especially when citing books in collections. + +\begin{verbatim} + @InBook{spinoza1900.1.1, + title = {A Theological-Political Treatise}, + crossref = {spinoza1900.1} + } + @Collection{spinoza1900.1, + author = {Spinoza, Benedict de}, + title = {The Chief Works of Benedict de Spinoza}, + edition = {revised}, + translator = {Elwes, R. H. M.}, + volume = {1}, + address = {London}, + publisher = {George Bell {and} Sons}, + year = {1900} + } +\end{verbatim} + +In the entries above, Windy City associates \bibfield{volume} with +\textit{The Chief Works of Benedict de Spinoza}, not with \textit{A +Theological-Political Treatise}. The latter, it assumes, isn't volume +one of the collection but a work contained \textit{in} volume one, +presumably with other works. Windy City formats the citation +accordingly: + +\begin{citebib} +\item \cite{spinoza1900.1.1} +\end{citebib} + +\noindent If \bibfield{volume} were within the scope of +\bibfield{spinoza1900.1.1}, Windy City would assume that \textit{A +Theological-Political Treatise} is volume one of \textit{The Chief +Works of Benedict de Spinoza}, that it's a volume of a collection, +like other works in this section. The same error would occur if you +put all the data for the citation into, say, a \bibfield{collection} +entry. Windy City would associate \bibfield{volume} with +\bibfield{title}, not with \bibfield{maintitle}. The upshot is that +correctly citing a work like this requires cross-referencing an +\bibtype{inbook} or \bibtype{bookinbook} entry to a +\bibtype{collection}, \bibtype{book}, \bibtype{mvbook}, or +\bibtype{mvcollection} entry. (Again, the alternatives give the same +output.) Only then would Windy City associate \bibfield{volume} with +the right \bibfield{title}. + +\section{Examples from \emph{CMOS} Chap. 14, ``Notes and +Bibliography''} +\label{notes} + +Examples in this section reproduce those in \textit{CMOS} Chapter 14. +To help with cross-checking, subsection numbers and headings are from +\textit{CMOS}. + +\subsection{Basic Format, with Examples and Variations} +\setcounter{subsection}{14} + +\setcounter{subsubsection}{22} +\subsubsection{Notes and bibliography—examples and variations} +% 14.23 Notes and bibliography—examples and variations +\label{14.23} + +\begin{citebib} +\item \cite[87-88]{strayed2012} +\item \cite[261, 265]{strayed2012} +\item \cite[32]{daum2015} +\item \cite[134--35]{daum2015} +\item \cite[188]{grazer2015} +\item \cite[190]{grazer2015} +\item \cite[242--55]{garcia1988} +\item \cite[33]{garcia1988} +\item \cite[310]{gould1984a} +\item \cite[309]{gould1984a} +\item \cite[484--85]{bagley2015} +\item \cite[501]{bagley2015} +\item \cite[311]{liu2015} +\item \cite[312]{liu2015} +\end{citebib} + +\setcounter{subsection}{1} +\subsection{Notes} +\setcounter{subsection}{14} + +\setcounter{subsubsection}{29} +\subsubsection{Basic structure of the short form} +% 14.30: Basic structure of the short form +\label{14.30} + +\begin{citebib} +\item \cite[24--25]{morley1995} +\item \cite{schwartz1992} +\item \cite{kaiser1964} +\item \cite[43]{morley1995} +\item \cite[138]{schwartz1992} +\item \cite[189--90]{kaiser1964} +\end{citebib} + +\setcounter{subsubsection}{33} +\subsubsection{Shortened citations versus ``ibid''} +% 14.34: +\label{14.34} + +See Section \ref{short} for a discussion of how to enable the short +format and the use of \textit{ibid.} First, the short format: + +\begin{citeonly} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}} +\item \cite[3]{morrison2004a} +\AtNextCitekey{\toggletrue{short}} +\item \cite[18]{morrison2004a} +\AtNextCitekey{\toggletrue{short}} +\item \cite[18]{morrison2004a} +\AtNextCitekey{\toggletrue{short}} +\item \cite[24--26]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}} +\item \cite[401-2]{morrison2004b} +\AtNextCitekey{\toggletrue{short}} +\item \cite[433]{morrison2004b} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}} +\item \cite[37--38]{diaz2008} +\AtNextCitekey{\toggletrue{short}} +\item \cite[403]{morrison2004b} +\AtNextCitekey{\toggletrue{short}} +\item \cite[152]{diaz2008} +\AtNextCitekey{\toggletrue{short}} +\item \cite[201-2]{diaz2008} +\AtNextMultiCite{\toggletrue{short}} +\item \cites[240]{morrison2004b}[32]{morrison2004a} +\AtNextCitekey{\toggletrue{short}} \item \cite[33]{morrison2004a} +\end{citeonly} + +\noindent With \textit{ibid.}: + +\begin{citeonly} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}\toggletrue{ibid}} +\item \cite[3]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[18]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[18]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[24--26]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}\toggletrue{ibid}} +\item \cite[401-2]{morrison2004b} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[433]{morrison2004b} +\AtNextCitekey{\toggletrue{short}\toggletrue{firstshort}\toggletrue{ibid}} +\item \cite[37--38]{diaz2008} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[403]{morrison2004b} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[152]{diaz2008} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[201-2]{diaz2008} +\AtNextMultiCite{\toggletrue{short}\toggletrue{firstshort}} +\item \cites[240]{morrison2004b}[32]{morrison2004a} +\AtNextCitekey{\toggletrue{short}\toggletrue{ibid}} +\item \cite[33]{morrison2004a} +\end{citeonly} + +\setcounter{subsubsection}{53} +\subsubsection{Source notes for previously published material} +% 14.54 Source notes for previously published material + +\begin{citebib} +\item \cite[Reprinted with permission from][15–64]{shapin1996} +\item \cite*[Originally published as][22–69, © 1992 by The University of +Chicago. All rights reserved. Reprinted by permission]{manet1992} +\end{citebib} + +\setcounter{subsubsection}{58} +\subsubsection{Abbreviations for frequently cited works} +% 14.59 Abbreviations for frequently cited works +\label{14.59} + +You may override the default announcement of a \bibfield{shorthand} by +adding your preferred content to \bibfield{shorthandintro}. For an +example, one that prints the announcement in a separate sentence, see +the first citation of \textit{CMOS} in this document's introduction. + +Note that Windy City doesn't automatically italicize a +\bibfield{shorthand}. Per \textit{CMOS} 14.60, a shorthand should be +italicized if the title that it abbreviates is also italicized. Set +this in the bibliography database with \cmd{emph} or \cmd{mkbibemph}. + +\begin{citebib} +% There's no way to suppress these fields in the bibliography: +%\AtNextCitekey{\clearfield{origtitle}% +% \clearlist{origlocation}% +% \clearlist{origpublisher}% +% \clearfield{origyear}} +%\item \cite[368]{furet1999} +\item \cite[1:126]{shurtleff1853} +\item \cite[2:330]{shurtleff1853} +\end{citebib} + +\setcounter{subsubsection}{67} +\subsubsection{The 3-em dash for one repeated name} +% 14.68 The 3-em dash for one repeated name + +\begin{bibonly} +\nocite{judt1996,judt2008,judt1989,squire1983,squire1987} +\end{bibonly} + +\setcounter{subsection}{2} +\subsection{Author's Name} +\setcounter{subsection}{14} + +\setcounter{subsubsection}{74} +\subsubsection{One author} +% 14.75 One author + +\begin{citebib} +\item \cite[33]{shields2013} +\item \cite[677]{chun2015} +\item \cite[5]{mccune2014} +\item \cite[100--101]{shields2013} +\item \cite[681]{chun2015} +\item \cite[105--11]{mccune2014} +\end{citebib} + +\subsubsection{Two or more authors (or editors)} +% 14.76 Two or more authors (or editors) +\label{14.76} + +\begin{citebib} +\item \cite[xvi]{sorrells2015} +\item \cite[20--21]{levitt2005} +\item \cite[422]{umbers2015} +\item \cite[xx-xxi]{sorrells2015} +\item \cite[158]{gmuca2015} +\item \cite[160]{gmuca2015} +\end{citebib} + +\subsubsection{Two or more authors (or editors) with same family name} +% 14.77 Two or more authors (or editors) with same family name + +\begin{citebib} +\item \cite[14]{kendris2010} +\item \cite[27--28]{kendris2010} +\end{citebib} + +\subsubsection{Author's name in title} +% 14.78 Author's name in title +\label{14.78} + +\begin{citebib} +\item \cite*[233]{franklin1868} +\item \cite*[234]{franklin1868} +\end{citebib} + +\subsubsection{No listed author (anonymous works)} +% 14.79 No listed author (anonymous works) +\label{14.79} + +See Section \ref{entryops} on the \opt{anonauth} and \opt{anonauthq} +entry options. + +\begin{citebib} +\item \cite{anon1610} +\item \cite{anon1547} +\item \cite{horsley1796} +\item \cite{hawkes1834} +\end{citebib} + +\subsubsection{Pseudonyms} +% 14.80 Pseudonyms + +\begin{citebib} +\item \cite{akmuckraker2008} +\item \cite{carre1982} +\item \cite{stendhal1925} +\end{citebib} + +\subsubsection{Cross-references for pseudonyms} +% 14.81 Cross-references for pseudonyms +\label{14.81} + +For information on how to add entries that cross-references others, +like several of those below, see Section \ref{entrytypes}. For +examples of automatic cross-referencing in a bibliography, see +\ref{14.108} and \ref{15.42}. + +\begin{bibonly} +\nocite{ashe,creasey1976,creasey1978,creasey1966,morton,york} +\end{bibonly} + +\subsubsection{Alternative real names} +% 14.82 Alternative real names +\label{14.82} + +For information on how to get the last entry below, see Section +\ref{entrytypes}. + +\begin{bibonly} +\nocite{doniger2000,oflaherty} +\end{bibonly} + +\subsubsection{Authors known by a given name} +% 14.83 Authors known by a given name + +\begin{citebib} +\item \cite{elizabeth2000} +\end{citebib} + +\subsubsection{Organization as author} +% 14.84 Organization as author +\label{14.84} + +If an organization is the work's author, remember to add an extra pair +of brackets around the name of the organization in your bibliography +database. + +\begin{citebib} +\item \cite{iso1997} +\AtNextCitekey{\clearfield{shorthand}} +\item \cite{chicago2017} +\end{citebib} + +\setcounter{subsection}{3} +\subsection{Title of Work} +\setcounter{subsection}{14} + +\setcounter{subsubsection}{88} +\subsubsection{Subtitles in cited works and the use of the colon} +% 14.89 Subtitles in cited works and the use of the colon + +\begin{citebib} +\item \cite{gladwell2013} +\end{citebib} + +\subsubsection{Two subtitles in a cited work} +% 14.90 Two subtitles in a cited work + +\begin{citebib} +\item \cite{sereny1999} +\end{citebib} + +\setcounter{subsubsection}{91} +\subsubsection{``And other stories'' and such} +% 14.92 ``And other stories'' and such + +\begin{citebib} +\item \cite[104]{maclean1976} +\end{citebib} + +\subsubsection{Dates in titles of cited works} +% 14.93 Dates in titles of cited works + +\begin{citebib} +\item \cite{beiser2014} +\end{citebib} + +\subsubsection{Quoted titles and other terms within cited titles of works} +% 14.94 Quoted titles and other terms within cited titles of works + +\begin{citebib} +\item \cite{levitt2014} +\item \cite{mchugh1980} +\end{citebib} + +\subsubsection{Italicized titles and other terms within cited titles of works} +% 14.95 Italicized titles and other terms within cited titles of works + +\begin{citebib} +\item \cite{vanwagenen1973} +\end{citebib} + +\subsubsection{Question marks or exclamation points in titles of cited works} +% 14.96 Question marks or exclamation points in titles of cited works + +\begin{citebib} +\item \cite[63]{berra2002} +\item \cite[183]{oram2007} +\item \cite[778]{tessler2014} +\item \cite[336]{batson1990} +\item \cite[55--56]{berra2002} +\item \cite[184]{oram2007} +\item \cite[780]{tessler2014} +\item \cite[337]{batson1990} +\end{citebib} + +\setcounter{subsubsection}{98} +\subsubsection{Translated titles of cited works} +% 14.99 Translated titles of cited works + +\begin{citebib} +\item \cite{wereszycki1977}; includes a summary in German. +\item \cite[272]{kern1938} +\item \cite{pirumova1977b} +%\AtNextCitekey{\clearfield{shorthand}} +\item \cite{furet1999} +\end{citebib} + +\setcounter{subsection}{4} +\subsection{Books} +\setcounter{subsection}{14} + +\setcounter{subsubsection}{100} +\subsubsection{Form of author's name and title of book in source citations} +% 14.101 Form of author’s name and title of book in source citations + +\begin{citebib} +\item \cite[79--80]{gawande2014} +\item \cite[191]{gawande2014} +\end{citebib} + +\setcounter{subsubsection}{102} +\subsubsection{Editor in place of author} +% 14.103 Editor in place of author +\label{14.103} + +\begin{citebib} +\item \cite[100]{egan2014} +\item \cite[33]{schechter2011} +\item \cite[34]{silverstein1974} +\item \cite[301--2]{egan2014} +\item \cite[54--56]{schechter2011} +\item \cite[38]{silverstein1974} +\end{citebib} + +\subsubsection{Editor or translator in addition to author} +% 14.104 Editor or translator in addition to author +\label{14.104} + +On how to make an author and editor swap places, see Section +\ref{edtranspos}. + +\begin{citebib} +\item \cite{bonnefoy1995} +\item \cite{menchu1999} +\item \cite{adorno1999} +\item \cite{pound1953} +\end{citebib} + +\subsubsection{Other contributors listed on the title page} +% 14.105 Other contributors listed on the title page +\label{14.105} + +\begin{citebib} +\item \cite{chaucer1966} +\item \cite{cullen1961} +\item \cite{hayek1994} +\item \cite{prather1998} +\item \cite{williams1990} +\end{citebib} + +\subsubsection{Chapter in a single-author book} +% 14.106 Chapter in a single-author book + +\begin{citebib} +\item \cite[211]{brower2015.8} +\item \cite{samples2006.7} +\item \cite[30-31]{samples2006.7} +\end{citebib} + +\subsubsection{Contribution to a multiauthor book} +% 14.107 Contribution to a multiauthor book + +\begin{citebib} +\item \cite[325]{miller2014} +\item \cite{ellet1968} +\end{citebib} + +\subsubsection{Several contributions to the same multiauthor book} +% 14.108 Several contributions to the same multiauthor book +\label{14.108} + +% Due to 'mincrossrefs=2', angle1968 and zukowsky1987 would be added +% automatically to the bibliography at the end of the document because +% each is referenced twice below. However, they wouldn't appear in the +% refsegment without using \nocite. + +% Unlike article entries, incollection entries don't automatically +% print page ranges. That seems right, though CMOS isn't entirely +% clear on this point. See note for 'cite:pages' in windycity.cbx. + +\begin{citebib} +\item \cite[84--87]{keating1968} +\item \cite[362--70]{lippincott1968} +\item \cite[107--19]{draper1987} +\item \cite[189--207]{harrington1987} +\nocite{angle1968,zukowsky1987} +\end{citebib} + +\subsubsection{Book-length work within a book} +% 14.109 Book-length work within a book +\label{14.109} + +\begin{citebib} +\item \cite{bernard1990a} +\item \cite{updike1995a} +\end{citebib} + +\subsubsection{Introductions, prefaces, afterwords, and the like} +% 14.110 Introductions, prefaces, afterwords, and the like + +% The bibliography database entry for Toni Morrison's foreword to +% \textit{Song of Solomon} doesn't list a page range. Unlike the +% second example, which shows an introduction by authors different +% than that of the main text, it doesn't need to. + +\begin{citebib} +\item \cite{morrison2004b.f} +\item \cite{mansfield2000} +\end{citebib} + +\subsubsection{Letters in published collections} +% 14.111 Letters in published collections + +\begin{citebib} +\item \cite[133--34]{adams1867} +\item \cite{jackson1676} +\end{citebib} + +\setcounter{subsubsection}{112} +\subsubsection{Editions other than the first} +% 14.113 Editions other than the first + +\begin{citebib} +\item \cite[401--2]{einsohn2011} +\item \cite[101]{boudett2013} +\item \cite{strunk2000} +\end{citebib} + +\subsubsection{Reprint editions and modern editions} +% 14.114 Reprint editions and modern editions +\label{14.114} + +% You can have at most one \bibfield{origdate} per entry. So, if you +% cite a work in a collection, say, an article or book in an +% anthology, the style assumes that \bibfield{origdate} is for the +% collection, not for the individual work. + +\begin{citebib} +\item \cite[152--53]{barzun1994} +\item \cite{bahadur2014} +% CMOS prints the original date in the wrong place: +%\item \cite{emerson1985} +\item \cite{schweitzer1966} +\end{citebib} + +\subsubsection{Microform editions} +% 14.115 Microform editions + +Farwell's citation fails to match \textit{CMOS} because the +\bibfield{howpublished} field, which seems like the best choice to +contain \textit{microfiche}, follows the \bibfield{postnote} field, +which contains \textit{p. 67, 3C12}. This order is necessary +elsewhere, such as in \textit{CMOS} \ref{14.163}. + +\begin{citebib} +\item \cite[p. 67, 3C12]{farwell1997} +\item \cite{tauber1958} +\end{citebib} + +\noindent Citing Farwell with the preamble or entry option +\opt{swapvol}: + +\begin{citebib} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite[p. 67, 3C12]{farwell1997} +\AtNextBibliography{\toggletrue{swapvol}} +\end{citebib} + +\setcounter{subsubsection}{116} +\subsubsection{Citing a multivolume work as a whole} +% 14.117 Citing a multivolume work as a whole +\label{14.117} + +\begin{citebib} +\item \cite{aristotle1983} +\item \cite{byrne1981} +\item \cite{james1962} +\end{citebib} + +\subsubsection{Citing a particular volume in a note} +% 14.118 Citing a particular volume in a note +\label{14.118} + +For a discussion of how to handle these types of works, see Section +\ref{multivolume}. + +\begin{citebib} +\item \cite[4:243]{byrne1981} +\item \cite*[32--33]{james1963.5} +\item \cite[4:245]{byrne1981} +\item \cite*[34]{james1963.5} +\end{citebib} + +\subsubsection{Citing a particular volume in a bibliography} +% 14.119 Citing a particular volume in a bibliography +\label{14.119} + +\begin{citebib} +\item \cite{armstrong2014} +\end{citebib} + +\noindent With preamble or entry option \opt{swapvol}: + +\begin{citebib} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite{armstrong2014} +\AtNextBibliography{\toggletrue{swapvol}} +\end{citebib} + +\subsubsection{Chapters and other parts of individual volumes} +% 14.120 Chapters and other parts of individual volumes +\label{14.120} + +There are some peculiarities with the first example. In the book, but +not online, \textit{CMOS} errs in printing `.ed' rather than `editeb +by' in the bibliography and neglects to invert the author's name. More +worrisome are the striking differences between the note and +bibliography. They may represent alternative ways of formatting the +data, as other examples do. But the note seems inconsistent with +\textit{CMOS} \ref{14.118}, and so doesn't make much sense as an +alternative. Windy City ignores it and in both cases follows the +example of the bibliography. + +\begin{citebib} +\item \cite[180]{chen2010.3} +\item \cite[169--71]{king2014} +\end{citebib} + +\noindent Citing King with the preamble or entry option +\opt{swapvol}: + +\begin{citebib} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite[169--71]{king2014} +\AtNextBibliography{\toggletrue{swapvol}} +\end{citebib} + +\subsubsection{One volume in two or more books} +% 14.121 One volume in two or more books +\label{14.121} + +\begin{citebib} +\item \cite[351]{lach1977} +\item \cite{harley1994} +\end{citebib} + +\noindent With preamble or entry option \opt{swapvol}: + +\begin{citebib} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite[351]{lach1977} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite{harley1994} +\AtNextBibliography{\toggletrue{swapvol}} +\end{citebib} + +\subsubsection{Authors and editors of multivolume works} +% 14.122 Authors and editors of multivolume works +\label{14.122} + +For issues surrounding the first example below, see Section +\ref{collorder}. + +\begin{citebib} +\item \cite{barrows1959} +\item \cite{donne1995} +\end{citebib} + +\noindent With preamble or entry option \opt{swapvol}: + +% As explained in \ref{collorder}, works like barrows1959 sort +% correctly in the default format but incorrectly with the option +% 'swapvol'. The point of '\newrefcontext' below is to work around +% this problem. + +\begin{citebib} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite{barrows1959} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite*{donne1995} +\newrefcontext[sorting=reverse] +\AtNextBibliography{\toggletrue{swapvol}} +\end{citebib} +\newrefcontext[sorting=nty] + +\subsubsection{Series titles, numbers, and editors} +% 14.123 Series titles, numbers, and editors +\label{14.123} + +\begin{citebib} +\item \cite{lei2014} +\item \cite{mazrim2011} +\item \cite{wauchope1950} +\item \cite{allen2009} +\end{citebib} + +\subsubsection{Series or multivolume work?} +% 14.124 Series or multivolume work? + +In the second example, \textit{vol. 6} refers to the book's series, +Readings in Western Civilization. Usually, the number of a series +isn't recorded as a volume, so Windy City doesn't use the +\bibfield{volume} field for them. Instead, it uses the +\bibfield{number} field, which it prints with no preceding +abbreviation. Add one to the field as necessary. The \bibfield{number} +field for the second example below contains \textit{vol. 6}. + +\begin{citebib} +\item \cite{boyer1986} +\item \cite{cochrane1987} +\end{citebib} + +\setcounter{subsubsection}{125} +\subsubsection{``Old series'' and ``new series''} +% 14.126 ``Old series'' and ``new series'' +\label{14.126} + +\begin{citebib} +\item \cite{boxer1953} +\item \cite{palmatary1950} +\end{citebib} + +\subsubsection{Place, publisher, and date} +% 14.127 Place, publisher, and date + +\begin{citebib} +\item \cite{woolf1927} +\end{citebib} + +\subsubsection{Place and date only, for books published before 1900} +% 14.128 Place and date only, for books published before 1900 + +\begin{citebib} +\item \cite{goldsmith1766} +\item \cite{cervantes1605} +\end{citebib} + +\setcounter{subsubsection}{131} +\subsubsection{No place of publication} +% 14.132 No place of publication + +\begin{citebib} +\item \cite{windsor1910} +\item \cite{vliet1890} +\end{citebib} + +\setcounter{subsubsection}{136} +\subsubsection{Self-published or privately published books} +% 14.137 Self-published or privately published books + +\begin{citebib} +\item \cite{karavaev2015} +\item \cite{shumaker2014} +\end{citebib} + +\setcounter{subsubsection}{139} +\subsubsection{Copublication} +% 14.140 Copublication + +\begin{citebib} +\item \cite{strauss1962} +\end{citebib} + +\subsubsection{Distributed books} +% 14.141 Distributed books + +\begin{citebib} +\item \cite{willke2007} +\end{citebib} + +\setcounter{subsubsection}{143} +\subsubsection{Multivolume works published over more than one year} +% 14.144 Multivolume works published over more than one year +\label{14.144} + +\begin{citebib} +\item \cite[329]{hayek2011} +\item \cite{tillich1951} +\end{citebib} + +\noindent Citing Hayek with the preamble or entry option +\opt{swapvol}: + +\begin{citebib} +\AtNextCitekey{\toggletrue{swapvol}} +\item \cite*[329]{hayek2011} +\AtNextBibliography{\toggletrue{swapvol}} +\end{citebib} + +\subsubsection{No date of publication} +% 14.145 No date of publication + +\begin{citebib} +\item \cite{boston} +\item \cite{edinburgh1750} +\item \cite{edinburgh} +\end{citebib} + +\subsubsection{Forthcoming publications} +% 14.146 Forthcoming publications + +\begin{citebib} +\item \cite{author} +\item \cite[345--46]{writer} +\item \cite{contributor} +\end{citebib} + +\setcounter{subsubsection}{158} +\subsubsection{Books requiring a specific application or device (e-books)} +% 14.159 Books requiring a specific application or device (e-books) + +\begin{citebib} +\item \cite{borel2015} +\end{citebib} + +\setcounter{subsubsection}{160} +\subsubsection{Books consulted online} +% 14.161 Books consulted online + +The first and third notes below present a challenge: If a bibliography +database entry contains an address for a work, such as a DOI, Windy +City prints it in the work's first, long citation. Such is the case +with the second note below. To cite an address for just part of a +work, but print one for the whole work in the bibliography, you need +to override the style's default behavior. The first and third notes do +this with a command that temporarily clears the work's DOI from its +bibliography database entry. Here's an example from the source: + +\begin{verbatim} + \AtNextCitekey{\clearfield{doi}} + \item \cite[chap. 3, \url{https://doi.org/10.1093/acprof:oso/ + 9780199343638.003.0004}]{bonds2014} +\end{verbatim} + +\begin{citebib} +\AtNextCitekey{\clearfield{doi}} +\item \cite[chap. 3, \url{https://doi.org/10.1093/acprof:oso/9780199343638.003.0004}]{bonds2014} +\item \cite[59]{lystra2004} +\AtNextCitekey{\clearfield{doi}} +\item \cite[chap. 11, \url{https://doi.org/10.1093/acprof:oso/9780199343638.003.0012}]{bonds2014} +\item \cite[60--61]{lystra2004} +\end{citebib} + +\subsubsection{Freely available electronic editions of older works} +% 14.162 Freely available electronic editions of older works + +The first example comes close to \textit{CMOS}, except that, +consistent with \ref{14.114} and \ref{15.40}, it lists the edition by +Project Gutenberg as a reprint. + +\begin{citebib} +\item \cite[bk. 6, chap. 1]{james2008} +\item \cite[1:243]{james1909} +\end{citebib} + +\subsubsection{Books on CD-ROM and other fixed media} +% 14.163 Books on CD-ROM and other fixed media +\label{14.163} + +\begin{citebib} +\item \cite*[1.4]{chicago2003} +\end{citebib} + +\setcounter{subsection}{5} +\subsection{Periodicals} +\setcounter{subsection}{14} + +\setcounter{subsubsection}{170} +\subsubsection{Journal volume, issue, and date} +% 14.171 Journal volume, issue, and date +\label{14.171} + +The note for Harper includes the month of publication. Windy City +includes it in the bibliography as well, even though \textit{CMOS} +omits it. As for Lock's entry, \textit{CMOS} clearly errs in printing +the surname twice. Also, for Wilder's article, Windy City prints +\textit{nos.} before \textit{1/2}, not \textit{no.}, as \textit{CMOS} +has it. To print the correct season, Wilder's entry in the +bibliography database includes \textit{Fall} in the \bibfield{issue} +field. Using the \bibfield{date} field with \textit{2013-23} would +give \textit{Autumn 2013}. + +\begin{citebib} +\item \cite[155]{lock2015} +\item \cite[651]{wesoky2015} +\item \cite[645]{harper2014} +\item \cite[60]{wilder2013} +\item \cite[52]{beattie1974} +\end{citebib} + +\subsubsection{Forthcoming journal articles} +% 14.172 Forthcoming journal articles + +\begin{citebib} +\item \cite{authora} +\end{citebib} + +\setcounter{subsubsection}{173} +\subsubsection{Journal page references} +% 14.174 Journal page references + +\begin{citebib} +\item \cite{gold2015} +\item \cite[2--3]{paudyal2015} +\end{citebib} + +\subsubsection{Journal articles consulted online} +% 14.175 Journal articles consulted online + +\begin{citebib} +\item \cite[268]{whitney1929} +\item \cite[260--61]{schoenfield2016} +\end{citebib} + +\subsubsection{Access dates for journal articles} +% 14.176 Access dates for journal articles + +\begin{citebib} +\item \cite[81]{narr2015} +\item \cite[88--89]{narr2015} +\end{citebib} + +\setcounter{subsubsection}{177} +\subsubsection{Journal special issues} +% 14.178 Journal special issues + +\begin{citebib} +\item \cite[351--81]{tezuka2013} +\end{citebib} + +\setcounter{subsubsection}{179} +\subsubsection{Articles published in installments} +% 14.180 Articles published in installments + +By default, Windy City will print each installment as a separate +entry. To get the format for the series, you'd need to use the +\bibtype{misc} entry type. + +\begin{citebib} +\item \cite[312]{brown1978} +\end{citebib} + +\setcounter{subsubsection}{181} +\subsubsection{Place where journal is published} +% 14.182 Place where journal is published + +\begin{citebib} +\item \cite[65--70]{luu1999} +\item \cite{garrett1975} +\end{citebib} + +\subsubsection{Translated or edited article} +% 14.183 Translated or edited article + +\begin{citebib} +\item \cite{authorb} +\item \cite{authorc} +\end{citebib} + +\subsubsection{New series for journal volumes} +% 14.184 New series for journal volumes +\label{14.184} + +\begin{citebib} +\item \cite[414]{sewall1896} +\item \cite{moraes1950} +\end{citebib} + +\subsubsection{Short titles for articles} +% 14.185 Short titles for articles + +\begin{citebib} +\item \cite[223]{rosenblum2015} +\item \cite[225]{rosenblum2015} +\end{citebib} + +\subsubsection{Abstracts} +% 14.186 Abstracts + +\begin{citebib} +\item \cite{matute2015} +\end{citebib} + +\setcounter{subsubsection}{187} +\subsubsection{Basic citation format for magazine articles} +% 14.188 Basic citation format for magazine articles + +\begin{citebib} +\item \cite[48]{saulnier2008} +\item \cite[59]{lepore2015} +\end{citebib} + +\subsubsection{Magazine articles consulted online} +% 14.189 Magazine articles consulted online + +\begin{citebib} +\item \cite{vick2015} +\item \cite[5]{hanemann1926} +\end{citebib} + +\subsubsection{Magazine departments} +% 14.190 Magazine departments + +\begin{citebib} +\item \cite{marx2015} +\item \cite{wallraff2008} +\item \cite{gourmet2000} +\end{citebib} + +\subsubsection{Basic citation format for newspaper articles} +% 14.191 Basic citation format for newspaper articles + +\begin{citebib} +\item \cite{editorial1990} +\item \cite{royko1992} +\item \cite{forester2000} +\item \cite{samenow2016} +\end{citebib} + +\setcounter{subsubsection}{194} +\subsubsection{Regular columns or features} +% 14.195 Regular columns or features + +\begin{citebib} +\item \cite{jaffe2015} +\item \cite{editorial2015} +\end{citebib} + +\setcounter{subsubsection}{196} +\subsubsection{Weekend supplements, magazines, and the like} +% 14.197 Weekend supplements, magazines, and the like + +\begin{citebib} +\item \cite[48]{ghansah2015} +\end{citebib} + +\setcounter{subsubsection}{198} +\subsubsection{Unsigned newspaper articles} +% 14.199 Unsigned newspaper articles + +\begin{citebib} +\item \cite{nytimes2002} +\end{citebib} + +\subsubsection{News services and news releases} +% 14.200 News services and news releases + +\begin{citebib} +\item \cite{ap2015} +\end{citebib} + +\setcounter{subsubsection}{201} +\subsubsection{Book reviews} +% 14.202 Book reviews +\label{14.202} + +\begin{citebib} +\item \cite[B13--B14]{ratliff1999} +\item \cite{kamp2006} +\item \cite{brehm2015} +\end{citebib} + +\setcounter{subsubsection}{203} +\subsubsection{Unsigned reviews} +% 14.204 Unsigned reviews +\label{14.204} + +On the use of the \bibfield{type} field to format this example +correctly, see Section \ref{fieldscon}. + +\begin{citebib} +\item \cite{zeitung1828} +\end{citebib} + +\setcounter{subsection}{6} +\subsection{Websites, Blogs, and Social Media} +\setcounter{subsection}{14} + +\setcounter{subsubsection}{207} +\subsubsection{Citing blog posts and blogs} +% 14.208 Citing blog posts and blogs +\label{14.208} + +In \textit{CMOS}, one citation refers to \textit{The Chronicle of +Higher Education} and another to \textit{Chronicle of Higher +Education}. The latter appears in \ref{15.51}, so it's probably +correct. + +\begin{citebib} +\item \cite{amlen2015} +\item \cite{germano2017} +\item \cite{amlen} +\item \cite{linguafranca} +\item \cite{jim2017} +\end{citebib} + +\subsubsection{Citing social media content} +% 14.209 Citing social media content + +\begin{citebib} +\item \cite{diaz2016} +\item \cite{obrien2015} +\item \cite{chicago2015} +\item \cite{licis2016} +\end{citebib} + +\setcounter{subsection}{7} +\subsection{Papers, Contracts, and Reports} +\setcounter{subsection}{14} + +\setcounter{subsubsection}{214} +\subsubsection{Theses and dissertations} +% 14.215 Theses and dissertations + +\begin{citebib} +\item \cite[59]{vedrashko2006} +\item \cite{choi2008} +\end{citebib} + +\setcounter{subsubsection}{216} +\subsubsection{Lectures and papers or posters presented at meetings} +% 14.217 Lectures and papers or posters presented at meetings + +\begin{citebib} +\item \cite{hong2015} +\end{citebib} + +\subsubsection{Working papers and the like} +% 14.218 Working papers and the like + +\begin{citebib} +\item \cite{lucki1980} +\end{citebib} + +\setcounter{subsubsection}{219} +\subsubsection{Pamphlets, reports, and the like} +% 14.220 Pamphlets, reports, and the like + +\begin{citebib} +\item \cite{lifestyles1996} +\item \cite{mcdonalds2014} +\item \cite[¶2,620]{standardtax1996} +\end{citebib} + +\setcounter{subsection}{8} +\subsection{Special Types of References} +\setcounter{subsection}{14} + +\setcounter{subsubsection}{231} +\subsubsection{Reference works consulted in physical formats} +% 14.232 Reference works consulted in physical formats +\label{14.232} + +Some reference works show full publication information in the same way +as books. Use the \bibtype{book} entry type for them. The first three +citations below are different. They need the \bibtype{reference} or +\bibtype{inreference} entry type. See Section \ref{entrytypes} for +more information. Following the suggestion in \textit{CMOS} 14.232, +\bibtype{reference} and \bibtype{inreference} works don't appear in +bibliographies or reference lists. + +\begin{citebib} +\item \cite{salvation1980} +\item \cite{hootananny2009} +\item \cite{dab1937} +\item \cite[s.vv. \mkbibquote{police ranks}, \mkbibquote{postal addresses}]{timestyle2003} +\item \cite[6.8.2]{mla2008} +\end{citebib} + +\subsubsection{Reference works consulted online} +% 14.233 Reference works consulted online +\label{14.233} + +Like some of the reference works in the previous section, the ones +below need the \bibtype{reference} or \bibtype{inreference} entry +type. As odd as it may seem, but consistent with \textit{CMOS}, they, +too, aren't included in bibliographies and reference lists. See +Section \ref{entrytypes} for more information. + +\begin{citeonly} +\item \cite{toscanini2016} +\item \cite{cairns2016} +\item \cite{wikipedia2016} +\item \cite{merriam2016} +\end{citeonly} + +\subsubsection{Citing individual reference entries by author} +% 14.234 Citing individual reference entries by author + +\begin{citebib} +\item \cite{isaacson2005} +\end{citebib} + +\setcounter{subsubsection}{245} +\subsubsection{Citing specific editions of classical references} +% 14.246 Citing specific editions of classical references + +\begin{citebib} +\item \cite{epictetus1916} +\end{citebib} + +\setcounter{subsubsection}{250} +\subsubsection{Modern editions of the classics} +% 14.251 Modern editions of the classics + +\begin{citebib} +\item \cite{aristotle1983} +\item \cite{maimonides1965} +\end{citebib} + +\setcounter{subsubsection}{257} +\subsubsection{Patents} +% 14.258 Patents + +\begin{citebib} +\item \cite{iizuka1986} +\end{citebib} + +\setcounter{subsubsection}{259} +\subsubsection{Citations taken from secondary sources} +% 14.260 Citations taken from secondary sources + +\begin{citebib} +\item \cite[269]{zukofsky1931}, quoted in \cite[78]{costello1981} +\end{citebib} + +\section{Examples from \emph{CMOS} Chap. 15, ``Author-Date +References''} +\label{paren} + +Examples in this section reproduce those in \textit{CMOS} Chapter 15. +To help with cross-checking, subsection numbers and headings are from +\textit{CMOS}. Since parenthetical citations are relatively simple, +and since the format of references lists is derivative of the default, +the examples below are more selective than those in the previous +section. + +\subsection{Basic Format, with Examples and Variations} +\setcounter{subsection}{15} + +\setcounter{subsubsection}{8} +\subsubsection{Author-date references—examples and variations} +% 15.9 Author-date references—examples and variations +\label{15.9} + +\begin{citeref} +\item \parencite[87--88]{strayed2012} +\item \parencite[32]{daum2015} +\item \parencite[188]{grazer2015} +\item \parencite[242--55]{garcia1988} +\item \parencite[310]{gould1984a} +\item \parencite[484--85]{bagley2015} +\item \parencite[312]{liu2015} +\end{citeref} + +\setcounter{subsection}{1} +\subsection{Reference Lists and Text Citations} +\setcounter{subsection}{15} + +\setcounter{subsubsection}{13} +\subsubsection{Placement of dates in reference list entries} +% 15.14 Placement of dates in reference list entries +\label{15.14} + +\begin{citeref} +\item \parencite{pager2015} +\item \parencite{unger2014} +\end{citeref} + +\setcounter{subsubsection}{19} +\subsubsection{Reference list entries with same author(s), same year} +% 15.20 Reference list entries with same author(s), same year +\label{15.20} + +\begin{citeref} +\item \parencite[218]{fogel2004b} +\item \parencite[45--46]{fogel2004a} +\end{citeref} + +\setcounter{subsubsection}{21} +\subsubsection{Text citations---basic form} +% 15.22 Text citations—basic form +\label{15.22} + +Ignore the error in \textit{CMOS}: In reference lists, a title goes +after the year, not before. + +\begin{citeref} +\item \parencite{hetherington2015} +\item \parencite{grove2015} +\item \parencite{hetherington2015,grove2015} +\end{citeref} + +\begin{citeref} +\item \parencite{doershuk2017} +\item \parencite{doershuk2016} +\end{citeref} + +\setcounter{subsubsection}{24} +\subsubsection{Text citations in relation to surrounding text and punctuation} +% 15.25 Text citations in relation to surrounding text and punctuation +\label{15.25} + +\begin{quote} Fiorina et al. \parencite*{fiorina2005} and Fischer and +Hout \parencite*{fischer2006} reach more or less the same conclusions. +In contrast, Abramowitz and Saunders \parencite*{abramowitz2005} +suggest that the mass public is deeply divided between red states and +blue states and between churchgoers and secular voters. \end{quote} + +\setcounter{subsubsection}{26} +\subsubsection{Several references to the same source} +% 15.27 Several references to the same source + +\begin{citeref}% 'even\-tanned' prevents even--[break]tanned +\item Complexion figures prominently in Morgan's descriptions. When +Jasper compliments his mother's choice of car (a twelve-cylinder +Mediterranean roadster with leather and wood-grained interior), ``his +cheeks blotch indignantly, painted by jealousy and rage'' +\parencite[47]{chaston2000}. On the other hand, his mother's mask +never changes, her ``even\-tanned good looks'' +\parencite[56]{chaston2000}, ``burnished visage'' +\parencite[101]{chaston2000}, and ``air-brushed confidence'' +\parencite[211]{chaston2000} providing the foil to the drama in her +midst. \end{citeref} + +\setcounter{subsubsection}{28} +\subsubsection{Text citations of works with more than three authors} +% 15.29 Text citations of works with more than three authors + +\begin{citeref} +\item \parencite{schonen2017a} +\item \parencite{schonen2017b} +\end{citeref} + +\setcounter{subsection}{2} +\subsection{Author-Date References: Special Cases} +\setcounter{subsection}{15} + +\setcounter{subsubsection}{33} +\subsubsection{Author-date format for anonymous works (no listed author)} +% 15.34 Author-date format for anonymous works (no listed author) + +See Section \ref{entryops} on the \opt{anonauth} and \opt{anonauthq} +entry options. + +\begin{citeref} +\item \parencite{anon1610} +\item \parencite{anon1547} +\item \parencite{horsley1796} +\item \parencite{hawkes1834} +\end{citeref} + +\subsubsection{Pseudonyms in author-date references} +% 15.35 Pseudonyms in author-date references + +\begin{citeref} +\item \parencite{stendhal1925} +\end{citeref} + +\subsubsection{Editor in place of author in text citations} +% 15.36 Editor in place of author in text citations + +\begin{citeref} +\item \parencite{silverstein1974} +\item \parencite{soltes1999} +\end{citeref} + +\subsubsection{Organization as author in author-date references} +% 15.37 Organization as author in author-date references + +In the reference list, \textit{CMOS} errs in printing `:1997' after +`ISO 4'. Compare it with the nearly identical example in \ref{14.84}. + +\begin{citeref} +\item \parencite{iso1997.ref} +\end{citeref} + +\setcounter{subsubsection}{39} +\subsubsection{Reprint editions and modern editions—more than one date} +% 15.40 Reprint editions and modern editions—more than one date +\label{15.40} + +\begin{citeref} +\item \parencite{austen2003} +\item \parencite{maitland1998} +\end{citeref} + +\subsubsection{Multivolume works published over more than one year} +% 15.41 Multivolume works published over more than one year +\label{15.41} + +\begin{citeref} +\item \parencite[1:133]{tillich1951} +%\item \parencite[vol. 2]{tillich1951} +\item \parencite[329]{hayek2011} +\end{citeref} + +\subsubsection{Cross-references to multiauthor books in reference lists} +% 15.42 Cross-references to multiauthor books in reference lists +\label{15.42} + +\begin{citeref} +\item \parencite{draper1987} +\item \parencite{harrington1987} +\item \parencite{zukowsky1987} +\end{citeref} + +\setcounter{subsubsection}{43} +\subsubsection{No date of publication in author-date references} +% 15.44 No date of publication in author-date references + +\begin{citeref} +\item \parencite{nano1750} +\item \parencite{nano} +\end{citeref} + +\subsubsection{``Forthcoming'' in author-date references} +% 15.45 ``Forthcoming'' in author-date references + +\begin{citeref} +\item \parencite{faraday} +\end{citeref} + +\setcounter{subsubsection}{46} +\subsubsection{Parentheses or comma with issue number} +% 15.47 Parentheses or comma with issue number + +In the second reference list entry below, Windy City prints a colon +after the journal number. \textit{CMOS} prints a comma there---likely +an error. + +\begin{citeref} +\item \parencite{glass2014} +\item \parencite{meyerovitch1959} +\end{citeref} + +\subsubsection{Colon with volume number} +% 15.48 Colon with volume number + +The example below shows the output when an article's publication month +isn't included in the bibliography database and so doesn't come +between a volume number and a page reference. + +\begin{citeref} +\item \parencite{gunderson2015} +\end{citeref} + +\subsubsection{Newspapers and magazines in reference lists} +% 15.49 Newspapers and magazines in reference lists + +\begin{citeref} +\item \parencite{nytimes2002} +\end{citeref} + +\setcounter{subsubsection}{50} +\subsubsection{Citing blogs in author-date format} +% 15.51 Citing blogs in author-date format +\label{15.51} + +\textit{CMOS} seems mistaken in printing a period after +\textit{Chronicle of Higher Education} instead of a comma. Compare +with \ref{14.208} and \ref{15.42}. + +\begin{citeref} +\item \parencite{germano2017} +\end{citeref} + +\subsubsection{Citing social media content in author-date format} +% 15.52 Citing social media content in author-date format +\label{15.52} + +\begin{citeref} +\item \parencite{diaz2016} +\item \parencite{obrien2015} +\item \parencite{chicago2015} +\end{citeref} + +\setcounter{subsubsection}{54} +\subsubsection{Patents or other documents cited by more than one date} +% 15.55 Patents or other documents cited by more than one date + +\begin{citeref} +\item \parencite{iizuka1986} +\end{citeref} + +\subsubsection{``Quoted in'' in author-date references} +% 15.56 “Quoted in” in author-date references + +\begin{citeref} +\item In Louis Zukofsky's ``Sincerity and Objectification,'' +from the February 1931 issue of \textit{Poetry} magazine +\parencite[quoted in][]{costello1981}\ldots +\end{citeref} + +\defbibnote{sh}{This section shows the output of \cmd{printbiblist} +with the argument \opt{shorthand}. Running \cmd{printshorthands} +produces the same output. By default, works in this list also appear +in bibliographies. To exclude them, use the preamble option +\opt{nolos}. See Section \ref{preops} for more information.\\}% + +\defbibnote{bib}{This section shows the default output of +\cmd{printbibliography}. The next section shows the author-date +format.\\}% + +\defbibnote{ref}{This section shows the output of +\cmd{printbibliography} in the author-date format. For information on +how to produce this output, see Section \ref{preops}. Issues with +sorting in this section are mentioned there. Creating a reference list +in the preferred way, with the \opt{reflist} preamble option, should +prevent those issues.\\}% + +\printbiblist[prenote=sh]{shorthand} +\refstepcounter{sh}\label{sh} +\printbibliography[notkeyword=notinbib,prenote=bib] +\refstepcounter{bib}\label{bib} +\printbibliography[% + env=reflist, + heading=references, + notkeyword=notinref, + prenote=ref] +\refstepcounter{ref}\label{ref} +\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/windycity/windycity.bbx b/macros/latex/contrib/biblatex-contrib/windycity/windycity.bbx new file mode 100644 index 0000000000..6e8e2c35eb --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/windycity/windycity.bbx @@ -0,0 +1,2252 @@ +% Last modified: Wed 17 Jul 2019 09:44:45 AM CDT + +% Copyright (c) 2019 Brian Michael Chase. +% +% Permission is granted to copy, distribute and/or modify this +% software under the terms of the LaTeX Project Public License (LPPL), +% version 1.3. +% +% The LPPL maintenance status of this software is 'author-maintained'. +% +% This software is provided 'as is', without warranty of any kind, +% either expressed or implied, including, but not limited to, the +% implied warranties of merchantability and fitness for a particular +% purpose. + +\ProvidesFile{windycity.bbx}[2019/07/17 Windy City bibliography style + for biblatex] +\@ifpackagelater{biblatex}{2017/11/04} + {} + {\PackageError{biblatex} + {Outdated 'biblatex' package} + {Windy City 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}% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Bibliography and Entry Options %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\providetoggle{anonauth} +\DeclareEntryOption{anonauth}[true]{% + \ifstrequal{#1}{true} + {\renewcommand*{\anona}{\bibopenbracket}% + \renewcommand*{\anonb}{\bibclosebracket}}% + {}} + +\providetoggle{anonqauth} +\DeclareEntryOption{anonqauth}[true]{% + \ifstrequal{#1}{true} + {\renewcommand*{\anona}{\bibopenbracket}% + \renewcommand*{\anonb}{\addquestion\bibclosebracket}}% + {}} + +\providetoggle{annotate} +\DeclareBibliographyOption[boolean]{annotate}[true]{% + \global\settoggle{annotate}{#1}}% + +\DeclareBibliographyOption{collsonly}[true]{% + \ifstrequal{#1}{true} + {\ExecuteBibliographyOptions{mincrossrefs=1}% + \ExecuteBibliographyOptions{minxrefs=1}% + \AtBeginBibliography{\blx@key@bibcheck{collsonly}}} + {}} + +\providetoggle{firstshort} +\DeclareBibliographyOption[boolean]{firstshort}[true]{% + \global\settoggle{firstshort}{#1}}% + +\providetoggle{ibid} +\DeclareBibliographyOption{ibid}[true]{% + \ifstrequal{#1}{true} + {\global\toggletrue{ibid}% + \global\toggletrue{short}}% + {\global\togglefalse{ibid}}} + +\providetoggle{isbn} +\DeclareBibliographyOption[boolean]{isbn}[true]{% + \global\settoggle{isbn}{#1}}% +\DeclareEntryOption[boolean]{isbn}[true]{% + \settoggle{isbn}{#1}}% + +\providetoggle{library} +\DeclareBibliographyOption[boolean]{library}[true]{% + \global\settoggle{library}{#1}}% +\DeclareEntryOption[boolean]{library}[true]{% + \settoggle{library}{#1}}% + +\providetoggle{listvols} +\DeclareEntryOption[boolean]{listvols}[true]{% + \settoggle{listvols}{#1}}% + +\providetoggle{noauth} +\DeclareEntryOption[boolean]{noauth}[true]{% + \settoggle{noauth}{#1}}% + +\DeclareBibliographyOption{nolos}[true]{% + \ifstrequal{#1}{true} + {\AtBeginBibliography{\blx@key@bibcheck{nolos}}} + {}} + +\providetoggle{reflist} +\DeclareBibliographyOption{reflist}[true]{% + \ifstrequal{#1}{true} + {\global\toggletrue{reflist}% + \DeclareLabeldate{% + \field{date} + \field{year} + \field{origdate} + \field{urldate} + \literal{nodate}} + \ExecuteBibliographyOptions{% + sorting=nyt}}% + {\global\togglefalse{reflist}}} + +\providetoggle{short} +\DeclareBibliographyOption{short}[true]{% + \ifstrequal{#1}{true} + {\global\toggletrue{short}% + \global\toggletrue{firstshort}}% + {\global\togglefalse{short}}} + +\providetoggle{skipdate} +\DeclareEntryOption[boolean]{skipdate}[true]{% + \settoggle{skipdate}{#1}}% + +\providetoggle{swapauth} +\DeclareEntryOption[boolean]{swapauth}[true]{% + \settoggle{swapauth}{#1}}% + +\providetoggle{swaptrans} +\DeclareEntryOption[boolean]{swaptrans}[true]{% + \settoggle{swaptrans}{#1}}% + +\providetoggle{swapvol} +\DeclareBibliographyOption[boolean]{swapvol}[true]{% + \global\settoggle{swapvol}{#1}}% +\DeclareEntryOption[boolean]{swapvol}[true]{% + \settoggle{swapvol}{#1}}% + +% For setting 'minbibnames' and such, see CMOS, 17th ed., 14.76 and +% 15.29. + +\ExecuteBibliographyOptions{% + abbreviate=true, + autocite=footnote, + autopunct=true, + block=none, + citetracker=constrict, + date=long, + dateabbrev=false, + dateusetime=true, + ibidtracker=constrict, +% Just one use of '\ifciteidem'. See note in windycity.cbx. + idemtracker=false, + indexing=true, + labeldateparts=true, + loccittracker=constrict, + minbibnames=7, + maxbibnames=10, + mincitenames=1, + maxcitenames=3, +% Remember, if 'mincrossrefs' is greater than 1, and you cite just one +% entrykey in a document (or refsection, etc), the field 'crossref' is +% undefined. + mincrossrefs=2, + minxrefs=2, + pagetracker=page, + parentracker=true, + sortcites=false, + sorting=nty, + time=12h, + timezones=true, + uniquelist=minyear, + uniquename=minfull, + urldate=long, + useeditor=true, + useprefix=false, + usetranslator=true} + +% If a document's language is English, set by babel or polyglossia or +% by biblatex when neither babel nor polyglossia has been loaded, use +% 'american-windycity.lbx': +\DeclareLanguageMapping{english}{american-windycity} +% If the document's language isn't English, try to override +% 'american-windycity.lbx' with '<language>-windycity.lbx': +\DeclareLanguageMappingSuffix{-windycity} + +\DeclareLabeldate{% 'reflist' preamble option loads an alternative + \field{bookyear} + \field{date} + \field{year} + \field{origdate} + \field{urldate} + \literal{nodate}} +\DeclareLabelname{% + \field{author} + \field{editor} + \field{translator} + \field{editora} + \field{translatora}} +\DeclareLabelname[inbook,incollection]{% + \field{author} + \field{bookauthor} + \field{editor} + \field{translator} + \field{editora} + \field{translatora}} +\DeclareSortingTemplate{nty}{% + \sort{\field{presort}} + \sort[final]{\field{sortkey}} + \sort{% + \field{sortname} + \field{author} + \field{bookauthor} + \field{editor} + \field{translator} + \field{editora} + \field{sorttitle} + \field{title} + \field{booktitle} + \field{bookbooktitle} + \field{blogtitle} + \field{journaltitle}} + \sort{% + \field{sorttitle} + \field{title} + \field{booktitle} + \field{bookbooktitle} + \field{blogtitle} + \field{journaltitle}} + \sort{% + \field{sortyear} + \field{year} + \field{labelyear}} + \sort{% + \field[padside=left,padwidth=4,padchar=0]{volume} + \literal{0000}}} +\DeclareSortingTemplate{nyt}{% + \sort{\field{presort}} + \sort[final]{\field{sortkey}} + \sort{% + \field{sortname} + \field{author} + \field{bookauthor} + \field{editor} + \field{translator} + \field{editora} + \field{sorttitle} + \field{title} + \field{booktitle} + \field{bookbooktitle} + \field{blogtitle} + \field{journaltitle}} + \sort{% + \field{sortyear} + \field{origyear} + \field{labelyear} + \field{year}} + \sort{% + \field{sorttitle} + \field{title} + \field{booktitle} + \field{bookbooktitle} + \field{blogtitle} + \field{journaltitle}} + \sort{% + \field[padside=left,padwidth=4,padchar=0]{volume} + \literal{0000}}} + +\defbibcheck{collsonly}{% + \ifboolexpr{ test {\ifentrytype{bookinbook}} + or test {\ifentrytype{inbook}}} + {\iffieldundef{crossref} + {} + {\skipentry}}% + {\ifentrytype{incollection} + {\iffieldundef{crossref} + {} + {\iffieldundef{chapter} + {} + {\skipentry}}}}} +\defbibcheck{nolos}{% + \iffieldundef{shorthand} + {} + {\skipentry}}% +\defbibcheck{reference}{% + \ifentrytype{reference} + {\skipentry}% + {\ifentrytype{inreference} + {\skipentry}% + {}}} + +%%%%%%%%%%%%%%%%%%%%%%%% +%% Data Inheritance %% +%%%%%%%%%%%%%%%%%%%%%%%% + +\ResetDataInheritance +\DefaultInheritance[\except{*}{review}{all=false}]{all=true,override=false} +\DeclareDataInheritance{*}{% + incollection,inbook,bookinbook,inproceedings,letter,suppbook,review}{% + \inherit{author}{bookauthor} + \inherit{shortauthor}{shortbookauthor} + \inherit{editor}{editora} + \inherit{editora}{editorb} + \inherit{editorb}{editorc} + \inherit{editortype}{editoratype} + \inherit{editoratype}{editorbtype} + \inherit{editorbtype}{editorctype} + \inherit{translator}{translatora} + \inherit{translatora}{translatorb} + \inherit{translatortype}{translatoratype} + \inherit{title}{booktitle} + \inherit{subtitle}{booksubtitle} + \inherit{titleaddon}{booktitleaddon} + \inherit{shorttitle}{shortbooktitle} + \inherit{booktitle}{bookbooktitle} + \inherit{volume}{bookvolume} + \inherit{bookvolume}{bookbookvolume} + \inherit{options}{options}} +\DeclareDataInheritance{collection}{bookinbook,collection,inbook}{% + \inherit{year}{bookyear} + \inherit{endyear}{endbookyear}} + +%%%%%%%%%%%%%%%%%%% +%% Preliminary %% +%%%%%%%%%%%%%%%%%%% + +\let\cbx@bibstring\empty +\let\cbx@deflabel\empty +\let\cbx@keyhash\empty +\let\cbx@namelist\empty +\let\anona\empty +\let\anonb\empty +\let\crossreflist\empty +\let\pluga\empty +\let\plugb\empty +\let\xeditor\empty +\let\yeditor\empty +\let\xtitle\empty +\let\xvolume\empty + +\providetoggle{authposition} +\providetoggle{bibliography} +\providetoggle{journalfirst} +\providetoggle{multicite} +\providetoggle{cbx@first} +\providetoggle{cbx@loccit} +\providetoggle{cbx@short} + +\providetoggle{collection} +\providetoggle{collection:bk} +\providetoggle{collection:ib} +\providetoggle{collection:icbk} +\providetoggle{collection:icib} + +\providetoggle{edshift} +\providetoggle{noed} +\providetoggle{notrans} + +\newcommand*{\AtBeginLists}{% + \renewcommand*{\newunitpunct}{\addperiod\space}% + \let\bibstring\biblstring + \global\undef\bbx@lasthash + \blx@key@bibcheck{reference}}% + +\newcommand*{\AtEveryItem}{% + \global\toggletrue{authposition}% + \global\togglefalse{cbx@short}}% + +\AtBeginBibliography{\AtBeginLists}% +\AtBeginShorthands{\AtBeginLists}% +\AtEveryBibitem{% + \global\toggletrue{bibliography}% + \AtEveryItem}% +\AtEveryLositem{\AtEveryItem}% + +\defbibenvironment{reflist} + {\global\toggletrue{reflist}% + \list{}{% + \leftmargin\bibhang + \itemindent-\leftmargin + \itemsep\bibitemsep + \parsep\bibparsep}} + {\endlist + \global\togglefalse{reflist}}% + {\item} + +% Index names only. + +\renewbibmacro*{bibindex}{% + \ifbibindex + {\indexnames{labelname}}% + {}} +\renewbibmacro*{citeindex}{% + \ifciteindex + {\indexnames{labelname}}% + {}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Field Formats for Names %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\DeclareNameAlias{author}{sortname} +\DeclareNameAlias{afterword}{sortname} +\DeclareNameAlias{bookauthor}{sortname} +\DeclareNameAlias{editor}{sortname} +\DeclareNameAlias{editora}{sortname} +\DeclareNameAlias{editorb}{sortname} +\DeclareNameAlias{editorc}{sortname} +\DeclareNameAlias{foreword}{sortname} +\DeclareNameAlias{introduction}{sortname} +\DeclareNameAlias{translator}{sortname} + +\DeclareIndexNameAlias{author}{default} +\DeclareIndexNameAlias{afterword}{default} +\DeclareIndexNameAlias{bookauthor}{default} +\DeclareIndexNameAlias{editor}{default} +\DeclareIndexNameAlias{editora}{default} +\DeclareIndexNameAlias{editorb}{default} +\DeclareIndexNameAlias{editorc}{default} +\DeclareIndexNameAlias{foreword}{default} +\DeclareIndexNameAlias{introduction}{default} +\DeclareIndexNameAlias{translator}{default} + +% Affixes like 'Jr.', should appear last, delimited with a comma, when +% inverted, as in a bibliography, but not otherwise, as in a note. See +% CMOS, 17th ed., 6.43 and 16.41, as well as the example in 14.75. + +\renewbibmacro*{name:family-given}[4]{% + \ifuseprefix + {\usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifdefvoid{#3}{}{% + \ifcapital + {\mkbibnameprefix{\MakeCapital{#3}}\isdot} + {\mkbibnameprefix{#3}\isdot}% + \ifprefchar{}{\bibnamedelimc}}% + \mkbibnamefamily{#1}\isdot + \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}% + \ifdefvoid{#2}{}{\revsdnamepunct\bibnamedelimd\mkbibnamegiven{#2}\isdot}} + {\usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamefamily{#1}\isdot + \ifboolexpe{% + test {\ifdefvoid{#2}} + and + test {\ifdefvoid{#3}}} + {} + {\revsdnamepunct}% + \ifdefvoid{#2}{}{\bibnamedelimd\mkbibnamegiven{#2}\isdot}% + \ifdefvoid{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}% + \ifdefvoid{#4}{}{\revsdnamepunct\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}} + +\renewcommand*{\mkbibindexname}[4]{% + \ifuseprefix + {\ifdefvoid{#3}{}{#3 }% + \@firstofone #1% remove spurious braces + \ifdefvoid{#4}{}{ #4}% + \ifdefvoid{#2}{}{, #2}% + \actualoperator + \ifdefvoid{#3}{}{\MakeCapital{#3} }% + #1% + \ifdefvoid{#4}{}{ #4}% + \ifdefvoid{#2}{}{, #2}} + {\@firstofone #1% remove spurious braces + \ifboolexpe{% + test {\ifdefvoid{#2}} + and + test {\ifdefvoid{#3}}} + {} + {,}% + \ifdefvoid{#2}{}{ #2}% + \ifdefvoid{#3}{}{ #3}% + \ifdefvoid{#4}{}{, #4}}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Field Formats for Titles %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\DeclareFieldFormat{blogtitle}{\mkbibemph{#1}} +\DeclareFieldFormat{bookbooktitle}{\mkbibemph{#1}} +\DeclareFieldFormat{booktitle}{\mkbibemph{#1}} +\DeclareFieldFormat{journaltitle}{\mkbibemph{#1}} +\DeclareFieldFormat{labeltitle}{\mkbibemph{#1}} +\DeclareFieldFormat{maintitle}{\mkbibemph{#1}} +\DeclareFieldFormat{shortbooktitle}{\mkbibemph{#1}} +\DeclareFieldFormat{title}{\mkbibemph{#1}} + +\DeclareIndexFieldFormat{indextitle}{% + \usebibmacro{index:title}{\index}{\mkbibemph{#1}}} +\renewbibmacro*{index:title}[2]{% + \usebibmacro{index:field}{#1}{\thefield{indexsorttitle}}{#2}}% + +\DeclareFieldFormat{blogtitleaddon}{\mkbibparens{#1}} +\DeclareFieldFormat{titleaddon}{\mkbibbrackets{#1}} + +\DeclareFieldFormat[% + article,incollection,inreference,inproceedings,online,reference,review] + {title}{\mkbibquote{#1}} +\DeclareFieldFormat[% + article,incollection,inreference,inproceedings,online,reference,review] + {labeltitle}{\mkbibquote{#1}} +\DeclareIndexFieldFormat[% + article,incollection,inreference,inproceedings,online,reference,review] + {indextitle}{\usebibmacro{index:title}{\index}{\mkbibquote{#1}}} + +\DeclareFieldAlias[inbook]{title}{title} +\DeclareFieldAlias[inbook]{labeltitle}{labeltitle} +\DeclareIndexFieldAlias[inbook]{indextitle}{indextitle} +\DeclareFieldAlias[book]{origtitle}{title} + +\DeclareFieldFormat{chapter}{\bibstring{chapter}\space #1} +\DeclareFieldFormat{issuetitle}{\ifcapital{\MakeCapital{#1}}{#1}} +\DeclareFieldFormat[letter,misc,patent]{title}{#1} +\DeclareFieldFormat[letter,misc,patent]{labeltitle}{#1} +\DeclareFieldFormat[thesis,unpublished]{title}{% + \iftoggle{bibliography} + {\mkbibquote{#1}}% + {\iftoggle{cbx@short} + {\mkbibquote{#1}}% + {\mkbibquote{#1}\nopunct}}} +\DeclareFieldFormat[thesis]{labeltitle}{% + \iftoggle{bibliography} + {\mkbibquote{#1}}% + {\iftoggle{cbx@short} + {\mkbibquote{#1}}% + {\mkbibquote{#1}\nopunct}}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Other Field Formats %% +%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\DeclareFieldFormat{addendum}{\ifcapital{\MakeCapital{#1}}{#1}}% +\DeclareFieldFormat{annotation}{\\[\bibitemsep] #1} +\DeclareFieldAlias{doi}{url} +\DeclareFieldFormat{edition}{% + \ifinteger{#1} + {\mkbibordedition{#1}~\bibstring{edition}}% + {\ifcapital{\MakeCapital{#1}}{#1}}} +\DeclareFieldFormat{endmonth}{\mkbibmonth{#1}}% +\DeclareFieldFormat{howpublished}{\ifcapital{\MakeCapital{#1}}{#1}}% +\DeclareFieldFormat{issue}{\MakeCapital{#1}}% always capitalize +\DeclareFieldFormat{journum}{% + \ifnumeral{#1} + {no\adddotspace\printfield{number}}% + {nos\adddotspace\printfield{number}}} +\DeclareFieldFormat{labelyear}{% + \ifboolexpr{ test {\iffieldundef{year}} + and test {\iffieldundef{bookyear}}} + {\biblcstring{#1}}% + {\ifbibstring{#1}{\bibstring{#1}}{\stripzeros{#1}}}} +\DeclareListFormat{location}{#1}% +\DeclareFieldFormat{month}{\mkbibmonth{#1}}% +\DeclareFieldFormat{note}{\ifcapital{\MakeCapital{#1}}{#1}}% +\DeclareFieldFormat{pages}{#1} +\DeclareFieldFormat{part}{\bibstring{part}\space#1} +\DeclareFieldFormat{postnote}{#1} +\DeclareListFormat{publisher}{#1} +\DeclareFieldFormat{season}{\MakeCapital{#1}}% always capitalize + +% A shorthand should be italicized if the title that it abbreviates is +% also italicized. See CMOS, 17th ed., 14.60. Set this in the +% bibliography database with '\emph{}' or '\mkbibemph{}'. + +\DeclareFieldFormat{shorthand}{#1} +\DeclareFieldFormat{shorthandintro}{% + \ifcapital{\MakeCapital{#1}}{#1}}% +\DeclareFieldFormat{shorthandwidth}{#1} +\DeclareFieldFormat{type}{\ifcapital{\MakeCapital{#1}}{#1}}% +\DeclareFieldFormat{url}{\url{#1}} +\DeclareFieldFormat{urldate}{\bibstring{urlseen}\space#1} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Bibliography Aliases %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\DeclareBibliographyAlias{periodical}{article} +\DeclareBibliographyAlias{cite:periodical}{cite:article} + +\DeclareBibliographyAlias{booklet}{book} +\DeclareBibliographyAlias{collection}{book} +\DeclareBibliographyAlias{manual}{book} +\DeclareBibliographyAlias{mvbook}{book} +\DeclareBibliographyAlias{mvcollection}{book} +\DeclareBibliographyAlias{proceedings}{book} +\DeclareBibliographyAlias{report}{book} +\DeclareBibliographyAlias{techreport}{book} +\DeclareBibliographyAlias{cite:booklet}{cite:book} +\DeclareBibliographyAlias{cite:collection}{cite:book} +\DeclareBibliographyAlias{cite:manual}{cite:book} +\DeclareBibliographyAlias{cite:mvbook}{cite:book} +\DeclareBibliographyAlias{cite:mvcollection}{cite:book} +\DeclareBibliographyAlias{cite:proceedings}{cite:book} +\DeclareBibliographyAlias{cite:report}{cite:book} +\DeclareBibliographyAlias{cite:techreport}{cite:book} + +\DeclareBibliographyAlias{bookinbook}{incollection} +\DeclareBibliographyAlias{conference}{incollection} +\DeclareBibliographyAlias{inbook}{incollection} +\DeclareBibliographyAlias{inproceedings}{incollection} +\DeclareBibliographyAlias{letter}{incollection} +\DeclareBibliographyAlias{suppbook}{incollection} +\DeclareBibliographyAlias{suppcollection}{incollection} +\DeclareBibliographyAlias{cite:bookinbook}{cite:incollection} +\DeclareBibliographyAlias{cite:conference}{cite:incollection} +\DeclareBibliographyAlias{cite:inbook}{cite:incollection} +\DeclareBibliographyAlias{cite:inproceedings}{cite:incollection} +\DeclareBibliographyAlias{cite:letter}{cite:incollection} +\DeclareBibliographyAlias{cite:suppbook}{cite:incollection} +\DeclareBibliographyAlias{cite:suppcollection}{cite:incollection} + +\DeclareBibliographyAlias{mathesis}{thesis} +\DeclareBibliographyAlias{phdthesis}{thesis} +\DeclareBibliographyAlias{unpublished}{thesis} +\DeclareBibliographyAlias{cite:mathesis}{cite:thesis} +\DeclareBibliographyAlias{cite:phdthesis}{cite:thesis} +\DeclareBibliographyAlias{cite:unpublished}{cite:thesis} + +\DeclareBibliographyAlias{inreference}{reference} +\DeclareBibliographyAlias{cite:inreference}{cite:reference} + +\DeclareBibliographyAlias{*}{book} +\DeclareBibliographyAlias{cite:*}{cite:book} + +%%%%%%%%%%%%%%%%%%%%%%%% +%% Author's Position %% +%%%%%%%%%%%%%%%%%%%%%%%% + +\renewcommand*{\revsdnamedelim}{% + \iftoggle{bibliography} + {\addcomma}% + {}} + +\newbibmacro*{author+bookauthor+etc}{% + \iftoggle{noauth} + {\usebibmacro{authpos+deflabel}}% + {\usebibmacro{author+bookauthor}% + \ifnameundef{\cbx@namelist} + {\usebibmacro{edtrans:authpos}% + \ifnameundef{\cbx@namelist} + {\toggletrue{noauth}% + \usebibmacro{journalfirst}}% + {\usebibmacro{edscomps:authpos}% + \usebibmacro{namehash+etc}}}% + {\usebibmacro{namehash+etc}}}} + +\newbibmacro*{authpos+deflabel}{% + \global\togglefalse{authposition}% + \renewcommand*{\cbx@deflabel}{default}}% + +\newbibmacro*{author+bookauthor}{% + \ifboolexpr{ togl {swapauth} + and ( test {\ifentrytype{book}} + or test {\ifentrytype{bookinbook}} + or test {\ifentrytype{collection}} + or test {\ifentrytype{inbook}} + or test {\ifentrytype{incollection}} + or test {\ifentrytype{mvbook}} + or test {\ifentrytype{mvcollection}} )} + {} + {\ifboolexpr{ togl {collection:ib} + and togl {swapvol}} + {\usebibmacro{bookauthor+namelist}}% + {\ifnameundef{author} + {\usebibmacro{bookauthor+namelist}}% + {\usebibmacro{author+namelist}}}}} + +\newbibmacro*{author+namelist}{% + \ifboolexpr{ test {\ifnameundef{shortauthor}} + or togl {bibliography}} + {\renewcommand*{\cbx@namelist}{author}}% + {\renewcommand*{\cbx@namelist}{shortauthor}}} + +\newbibmacro*{bookauthor+namelist}{% + \ifboolexpr{ test {\ifnameundef{shortbookauthor}} + or togl {bibliography}} + {\renewcommand*{\cbx@namelist}{bookauthor}}% + {\renewcommand*{\cbx@namelist}{shortbookauthor}}} + +% When 'journaltitle' or 'blogtitle' goes in the author's position. + +\newbibmacro*{journalfirst}{% + \usebibmacro{authpos+deflabel}% + \ifboolexpr{ ( test {\ifentrytype{article}} + or test {\ifentrytype{review}} ) + and togl {bibliography}} + {\toggletrue{journalfirst}% + \usebibmacro{bibjournaldash}% + \setunit{\space}% + \usebibmacro{journallocation}% + \clearlist{location}% + \usebibmacro{labeldate+extradate}% + \newunit}% + {\ifboolexpr{ test {\ifentrytype{online}} + and togl {bibliography}} + {\toggletrue{journalfirst}% + \usebibmacro{bibblogdash}% + \setunit{\space}% + \usebibmacro{labeldate+extradate}% + \newunit}% + {}}} + +\newbibmacro*{namehash+etc}{% + \usebibmacro{printnames+etc}% + \iftoggle{authposition}% false in 'crossref' macro + {\savefield{namehash}{\bbx@lasthash}% + \usebibmacro{authpos+deflabel}% + \newunit}% + {\setunit{\addcomma\space}}} + +\newbibmacro*{aft+fore+intro}{% + \ifnameundef{afterword} + {\ifnameundef{foreword} + {\renewcommand*{\cbx@namelist}{introduction}% + \renewcommand*{\cbx@bibstring}{introduction}}% + {\renewcommand*{\cbx@namelist}{foreword}% + \renewcommand*{\cbx@bibstring}{foreword}}} + {\renewcommand*{\cbx@namelist}{afterword}% + \renewcommand*{\cbx@bibstring}{afterword}}% + \usebibmacro{printnames+etc}% + \savefield{namehash}{\bbx@lasthash}% + \usebibmacro{authpos+deflabel}% + \newunit + \bibstring{\cbx@bibstring}\space}% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Editors and Translators %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% For editors and translators in the author's position. + +\newbibmacro*{edtrans:authpos}{% + \togglefalse{noed}% + \togglefalse{notrans}% + \usebibmacro{test:ed:authpos}% + \usebibmacro{test:trans:authpos}% + \ifboolexpr{ togl {noed} + and togl {notrans}} + {} + {\iftoggle{noed} + {\usebibmacro{transcombos}}% + {\iftoggle{notrans} + {\usebibmacro{edcombos}}% + {\iftoggle{swaptrans} + {\usebibmacro{transcombos}}% + {\usebibmacro{edcombos}}}}}} + +\newbibmacro*{test:ed:authpos}{% + \ifboolexpr{ test {\ifnameundef{editor}} + and test {\ifnameundef{editora}}} + {\toggletrue{noed}}% + {\ifnameundef{editor} + {\usebibmacro{test:editora:authpos}}% + {\usebibmacro{test:editor:authpos}% + \iftoggle{noed} + {\global\togglefalse{noed}% + \usebibmacro{test:editora:authpos}}% + {}}}} + +\newbibmacro*{test:xeditor:a}[1]{% + \ifboolexpr{ test {\ifnameundef{\xeditor}} + or test {\iffieldequalstr{\xeditor type}{issuetitle}} + or test {\iffieldequalstr{\xeditor type}{series}}} + {\toggletrue{noed}}% + {\ifstrequal{#1}{ap}% not 'authposition' toggle + {\usebibmacro{test:xeditor:b:authpos}}% + {\usebibmacro{test:xeditor:b}}}} + +\newbibmacro*{test:xeditor:b:authpos}{% + \iffieldequalstr{\xeditor type}{maintitle} + {\iftoggle{collection:bk} + {\iftoggle{swapvol} + {} + {\toggletrue{noed}}} + {\toggletrue{noed}}} + {\ifboolexpr{ togl {collection:bk} + and togl {swapvol}} + {\toggletrue{noed}}% + {\ifboolexpr{ togl {collection:icbk} + or togl {collection:icib}} + {\ifnameundef{translator} + {} + {\toggletrue{noed}}} + {}}}} + +\newbibmacro*{test:editor:authpos}{% + \renewcommand*{\xeditor}{editor}% + \usebibmacro{test:xeditor:a}{ap}% + \iftoggle{noed} + {} + {\ifboolexpr{ togl {collection:ib} + and togl {swapvol} + and not test {\ifnameundef{editora}}} + {\toggletrue{noed}}% + {\ifboolexpr{ togl {swapvol} + and ( togl {collection:icbk} + or togl {collection:icib} )} + {\toggletrue{noed}}% + {}}}} + +\newbibmacro*{test:editora:authpos}{% + \renewcommand*{\xeditor}{editora}% + \usebibmacro{test:xeditor:a}{ap}% + \iftoggle{noed} + {} + {\ifboolexpr{ togl {collection:ib} + and not togl {swapvol} + and test {\ifnameundef{editor}}} + {\toggletrue{noed}}% + {}}} + +\newbibmacro*{test:trans:authpos}{% + \usebibmacro{trans+transa+transb}% + \ifnameundef{\yeditor} + {\toggletrue{notrans}}% + {\iffieldequalstr{translatortype}{maintitle} + {\ifboolexpr{ togl {collection:bk} + and togl {swapvol}} + {} + {\toggletrue{notrans}}} + {\iffieldequalstr{translatoratype}{maintitle} + {\ifboolexpr{ togl {collection:icbk} + and togl {swapvol}} + {} + {\toggletrue{notrans}}} + {}}}} + +\newbibmacro*{trans+transa+transb}{% + \ifnameundef{translator} + {\ifnameundef{translatora} + {\renewcommand*{\yeditor}{translatorb}}% + {\renewcommand*{\yeditor}{translatora}}} + {\renewcommand*{\yeditor}{translator}}} + +\newbibmacro*{transcombos}{% + \renewcommand*{\cbx@namelist}{\yeditor}% + \ifnamesequal{\xeditor}{\yeditor} + {\clearname{\xeditor}% + \iffieldequalstr{\xeditor type}{compiler} + {\renewcommand*{\cbx@bibstring}{transcomp}}% + {\renewcommand*{\cbx@bibstring}{transed}}} + {\renewcommand*{\cbx@bibstring}{translator}}} + +\newbibmacro*{edcombos}{% + \renewcommand*{\cbx@namelist}{\xeditor}% + \ifnamesequal{\xeditor}{\yeditor} + {\clearname{\yeditor}% + \iffieldequalstr{\xeditor type}{compiler} + {\renewcommand*{\cbx@bibstring}{comptrans}}% + {\renewcommand*{\cbx@bibstring}{edtrans}}}% + {\iffieldequalstr{\xeditor type}{compiler} + {\renewcommand*{\cbx@bibstring}{compiler}}% + {\renewcommand*{\cbx@bibstring}{editor}}}} + +\newbibmacro*{edscomps:authpos}{% + \iftoggle{cbx@short} + {} + {\usebibmacro{edscomps}% + \renewcommand*{\plugb}{% + \addcomma\space\bibsstring{\cbx@bibstring}}}} + +\newbibmacro*{edscomps}{% + \iftoggle{swaptrans} + {} + {\ifnameundef{editor} + {\ifnumgreater{\value{editora}}{1} + {\edef\cbx@bibstring{\cbx@bibstring +}}% + {}} + {\ifnumgreater{\value{editor}}{1} + {\edef\cbx@bibstring{\cbx@bibstring +}}% + {}}}} + +% For editors and translators not in the author's position. + +\newbibmacro*{edtrans:a}{% + \iftoggle{swaptrans} + {\usebibmacro{transcombos+etc}% + \usebibmacro{edcombos+etc}}% + {\usebibmacro{edcombos+etc}% + \usebibmacro{transcombos+etc}}} + +\newbibmacro*{transcombos+etc}{% + \togglefalse{noed}% + \togglefalse{notrans}% + \usebibmacro{test:ed}% + \usebibmacro{test:trans}% + \iftoggle{notrans} + {} + {\usebibmacro{transcombos}% + \usebibmacro{pluga+etc}}} + +\newbibmacro*{edcombos+etc}{% + \togglefalse{noed}% + \togglefalse{notrans}% + \usebibmacro{test:ed}% + \usebibmacro{test:trans}% + \iftoggle{noed} + {} + {\usebibmacro{edcombos}% + \usebibmacro{pluga+etc}}} + +\newbibmacro*{edtrans:b}{% + \toggletrue{edshift}% + \usebibmacro{edtrans:a}% + \usebibmacro{editoraddon}}% + +\newbibmacro*{pluga+etc}{% + \usebibmacro{edtranspunct:a}% + \usebibmacro{pluga+printnames}% + \usebibmacro{edtranspunct:b}}% + +\newbibmacro*{edtranspunct:a}{% + \ifboolexpr{ togl {authposition} + or togl {edshift}} + {} + {\newunit}}% + +\newbibmacro*{pluga+printnames}{% + \renewcommand*{\pluga}{% + \bibstring{\cbx@bibstring}\space}% + \usebibmacro{printnames+etc}}% + +\newbibmacro*{edtranspunct:b}{% + \iftoggle{edshift} + {\setunit{\addcomma\space}}% + {\newunit}}% + +% Tests for 'edtrans:a' and 'edtrans:b' macros. + +\newbibmacro*{test:ed}{% + \iftoggle{edshift} + {\usebibmacro{eda+edb+edc}}% + {\ifnameundef{editor} + {\usebibmacro{test:editora}}% + {\usebibmacro{test:editor}% + \iftoggle{noed} + {\togglefalse{noed}% + \usebibmacro{test:editora}}% + {}}}} + +\newbibmacro*{eda+edb+edc}{% + \ifnameundef{editor} + {\ifnameundef{editora} + {\ifnameundef{editorb} + {\renewcommand*{\xeditor}{editorc}}% + {\renewcommand*{\xeditor}{editorb}}% + \usebibmacro{test:editorb}}% + {\usebibmacro{test:editora}% + \iftoggle{noed} + {\togglefalse{noed}% + \renewcommand*{\xeditor}{editorb}% + \usebibmacro{test:editorb}}% + {}}} + {\usebibmacro{test:editor}% + \iftoggle{noed} + {\togglefalse{noed}% + \usebibmacro{test:editora}}% + {}}} + +\newbibmacro*{test:editor}{% + \renewcommand*{\xeditor}{editor}% + \usebibmacro{test:xeditor:a}{}% + \iftoggle{noed} + {} + {\ifdefstring{\xtitle}{book} + {\toggletrue{noed}}% + {}}} + +\newbibmacro*{test:editora}{% + \renewcommand*{\xeditor}{editora}% + \usebibmacro{test:xeditor:a}{}% + \iftoggle{noed} + {} + {\ifboolexpr{ test {\ifdefempty{\xtitle}} + and ( togl {collection:ib} + or togl {collection:icbk} + or togl {collection:icib} + or not togl {collection} )} + {\toggletrue{noed}}% + {\ifboolexpr{ test {\ifdefstring{\xtitle}{bookbook}} + and togl {swapvol} + and ( togl {collection:icib} + or togl {collection:icbk} )} + {\toggletrue{noed}}% + {}}}} + +\newbibmacro*{test:editorb}{% + \usebibmacro{test:xeditor:a}{}% + \iftoggle{collection:icib} + {\ifdefstring{\xtitle}{book} + {\toggletrue{noed}}% + {}} + {}} + +\newbibmacro*{test:xeditor:b}{% + \iffieldequalstr{\xeditor type}{maintitle} + {\toggletrue{noed}}% + {\ifdefempty{\xtitle} + {\ifboolexpr{ test {\iffieldequalstr{\xeditor type}{compiler}} + or test {\iffieldequalstr{\xeditor type}{title}} + or test {\iffieldundef{\xeditor type}}} + {} + {\toggletrue{noed}}} + {}}} + +\newbibmacro*{test:trans}{% + \usebibmacro{trans+transa+transb}% + \ifnameundef{\yeditor} + {\toggletrue{notrans}}% + {\iffieldequalstr{\yeditor type}{maintitle} + {\toggletrue{notrans}}% + {\ifdefstring{\yeditor}{translatorb} + {\ifboolexpr{ test {\ifdefempty{\xtitle}} + or test {\ifdefstring{\xtitle}{book}}} + {\toggletrue{notrans}}% + {}} + {\ifdefstring{\yeditor}{translatora} + {\ifboolexpr{ test {\ifdefempty{\xtitle}} + or test {\ifdefstring{\xtitle}{bookbook}}} + {\toggletrue{notrans}}% + {}} + {\ifboolexpr{ togl {collection} + and togl {swapvol} + and test {\ifdefstring{\xtitle}{book}}} + {\toggletrue{notrans}}% + {}}}}}} + +% For editors of an 'issuetitle', 'maintitle', or 'series'. + +\newbibmacro*{editortypes}[1]{% + \ifboolexpr{ test {\iffieldequalstr{editortype}{#1}} + or test {\iffieldequalstr{editoratype}{#1}} + or test {\iffieldequalstr{editorbtype}{#1}} + or test {\iffieldequalstr{editorctype}{#1}}} + {\usebibmacro{edtranspunct:c}% + \renewcommand*{\cbx@bibstring}{editor}% + \usebibmacro{editorlists}{#1}% + \usebibmacro{pluga+printnames}}% + {}} + +\newbibmacro*{edtranspunct:c}{% + \ifboolexpr{ togl {collection:bk} + and togl {swapvol}} + {\newunit}% + {\setunit{\unspace,\addspace}}} + +\newbibmacro*{editorlists}[1]{% + \iffieldequalstr{editortype}{#1} + {\renewcommand*{\cbx@namelist}{editor}}% + {\iffieldequalstr{editoratype}{#1} + {\renewcommand*{\cbx@namelist}{editora}}% + {\iffieldequalstr{editorbtype}{#1} + {\renewcommand*{\cbx@namelist}{editorb}}% + {\renewcommand*{\cbx@namelist}{editorc}}}}} + +% For translators of a 'maintitle'. + +\newbibmacro*{translatortypes}{% + \ifboolexpr{ test {\iffieldequalstr{translatortype}{maintitle}} + or test {\iffieldequalstr{translatoratype}{maintitle}}} + {\usebibmacro{edtranspunct:c}% + \renewcommand*{\cbx@bibstring}{translator}% + \iffieldequalstr{translatortype}{maintitle} + {\renewcommand*{\cbx@namelist}{translator}}% + {\renewcommand*{\cbx@namelist}{translatora}}% + \usebibmacro{pluga+printnames}}% + {}} + +% A catchall for additional editorial information about a 'title'. + +\newbibmacro*{editoraddon}{% + \iffieldundef{editoraddon} + {} + {\nopunct\printfield{editoraddon}% + \clearfield{editoraddon}}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Printing Names and Dashes %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newbibmacro*{printnames+etc}{% + \ifboolexpr{ togl {authposition} + and togl {bibliography}} + {\usebibmacro{bibnamedash+printnames}}% + {\usebibmacro{printnames}}% + \usebibmacro{handle}% + \usebibmacro{nameaddon}% + \usebibmacro{a:labeldate+extradate}% + \usebibmacro{clearnames+empty}}% + +\newbibmacro*{bibnamedash+printnames}{% + \ifboolexpr{ test {\iffieldequals{namehash}{\bbx@lasthash}} + and not test \iffirstonpage} + {\ifboolexpr{ test {\ifnameundef{author}} + and test {\ifnameundef{bookauthor}}} + {\bibnamedash\plugb}% + {\bibnamedash}}% + {\usebibmacro{printnames}}} + +\renewcommand*{\bibnamedash}{% + \rule[2.4pt]{3em}{0.2pt}% + \global\toggletrue{blx@insert}}% + +\newbibmacro*{printnames}{% + \ifnameundef{\cbx@namelist} + {} + {\anona\pluga\printnames[\cbx@deflabel]{% + \cbx@namelist}\plugb\anonb}}% + +% A screen name precedes 'nameaddon'. See CMOS, 17th ed., 14.208. + +\newbibmacro*{handle}{% + \iffieldundef{handle} + {} + {\space + \printfield[parens]{handle}% + \clearfield{handle}}} + +\newbibmacro*{nameaddon}{% + \iffieldundef{nameaddon} + {} + {\space + \printfield[brackets]{nameaddon}% + \clearfield{nameaddon}}} + +\newbibmacro*{clearnames+empty}{% + \clearname{\cbx@namelist}% + \let\cbx@namelist\empty + \let\anona\empty + \let\anonb\empty + \let\pluga\empty + \let\plugb\empty}% + +% When 'journaltitle' goes in the author's position. + +\newbibmacro*{bibjournaldash}{% + \ifboolexpr{ test {\iffieldequals{journaltitle}{\bbx@lasthash}} + and not test \iffirstonpage} + {\bibnamedash + \clearfield{journaltitle}% + \clearlist{location}% + \newunit}% + {\savefield{journaltitle}{\bbx@lasthash}% + \renewcommand*{\xtitle}{journal}% + \usebibmacro{longtitle+titleaddon}% + \let\xtitle\empty}}% + +% When 'blogtitle' goes in the author's position. This should only +% apply when a blog has changed urls or host organizations. + +\newbibmacro*{bibblogdash}{% + \ifboolexpr{ test {\iffieldequals{blogtitle}{\bbx@lasthash}} + and not test \iffirstonpage} + {\bibnamedash + \clearfield{blogtitle}% + \newunit}% + {\savefield{blogtitle}{\bbx@lasthash}% + \renewcommand*{\xtitle}{blog}% + \usebibmacro{longtitle+titleaddon}% + \let\xtitle\empty}}% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Titles and Subtitles %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\renewcommand*{\subtitlepunct}{\ifterm{\space}{:\space}}% + +\newbibmacro*{longtitle+titleaddon}{% + \iffieldundef{\xtitle title} + {} + {\usebibmacro{longtitle}% + \usebibmacro{titleaddon}% + \usebibmacro{test:titledupes}% + \clearfield{\xtitle title}}} + +\newbibmacro*{longtitle}{% + \printtext[\xtitle title]{% + \printfield[noformat]{\xtitle title}% + \iffieldundef{\xtitle subtitle} + {} + {\subtitlepunct + \printfield[noformat]{\xtitle subtitle}}}} + +\newbibmacro*{test:titledupes}{% + \iffieldsequal{title}{booktitle} + {\ifboolexpr{ test {\iffieldundef{subtitle}} + or test {\iffieldsequal{subtitle}{booksubtitle}}} + {\clearfield{booktitle}}% + {}} + {}} + +\newbibmacro*{titleaddon}{% + \iffieldundef{\xtitle titleaddon} + {} + {\addspace% '\space' has issues with quotation marks + \printfield{\xtitle titleaddon}}} + +\newbibmacro*{title+labelyear}{% + \iftoggle{bibliography} + {\usebibmacro{longtitle+titleaddon}% + \usebibmacro{b:labeldate+extradate}}% + {\ifboolexpr{ test \ifciteseen + or togl {firstshort}} + {\usebibmacro{shorttitle}}% + {\usebibmacro{longtitle+titleaddon}}}} + +\newbibmacro*{shorttitle}{% + \ifboolexpr{ togl {collection:bk} + and togl {swapvol}} + {\iffieldundef{shortmaintitle} + {\printfield[title]{maintitle}}% + {\printfield[title]{shortmaintitle}}} + {\ifboolexpr{ togl {collection:ib} + and togl {swapvol}} + {\iffieldundef{shortbooktitle} + {\printfield[title]{booktitle}}% + {\printfield[title]{shortbooktitle}}} + {\printfield[\thefield{entrytype}]{labeltitle}}}} + +\newbibmacro*{shorttitle+crossref}{% + \ifboolexpr{ togl {collection:icbk} + and togl {swapvol}} + {\iffieldundef{shortmaintitle} + {\printfield[title]{maintitle}}% + {\printfield[title]{shortmaintitle}}} + {\ifboolexpr{ togl {collection:icib} + and togl {swapvol}} + {\iffieldundef{shortbooktitle} + {\printfield[title]{booktitle}}% + {\printfield[title]{shortbooktitle}}} + {\printfield[\thefield{entrytype}]{labeltitle}}}} + +\newbibmacro*{booktitle+editor}[1]{% + \iffieldundef{booktitle} + {} + {\renewcommand*{\xtitle}{book}% + \usebibmacro{longtitle+titleaddon}% + \setunit{\unspace,\addspace}% + \usebibmacro{bybookauthor+pages}% + \ifstrequal{#1}{a} + {\usebibmacro{edtrans:a}}% + {\usebibmacro{edtrans:b}}}} + +\newbibmacro*{bookbooktitle+editor}[1]{% + \iffieldundef{bookbooktitle} + {} + {\ifstrequal{#1}{in} + {\newunit\bibstring{in}\space}% + {}% needs '%' + \renewcommand*{\xtitle}{bookbook}% + \usebibmacro{longtitle+titleaddon}% + \setunit{\unspace,\addspace}% + \usebibmacro{edtrans:b}}} + +\newbibmacro*{maintitle+editor}{% + \iffieldundef{maintitle} + {} + {\renewcommand*{\xtitle}{main}% + \usebibmacro{longtitle+titleaddon}% + \iftoggle{swaptrans} + {\usebibmacro{translatortypes}% + \usebibmacro{editortypes}{maintitle}}% + {\usebibmacro{editortypes}{maintitle}% + \usebibmacro{translatortypes}}}} + +\newbibmacro*{issuetitle}{% + \iffieldundef{issuetitle} + {} + {\iffieldequalstr{issuetitle}{special issue} + {} + {\bibstring{in}\space + \renewcommand*{\xtitle}{issue}% + \usebibmacro{longtitle+titleaddon}% + \usebibmacro{editortypes}{issuetitle}}% + \newunit\bibstring{special}% + \setunit{\addcomma\space}}} + +\newbibmacro*{origtitle}{% + \iffieldundef{origtitle} + {} + {\newunit + \bibstring{origpub}% + \space + \renewcommand*{\xtitle}{orig}% + \usebibmacro{longtitle+titleaddon}% + \setunit{\addspace}% not '\setunit{\space}' + \printtext[parens]{% + \usebibmacro{origlocation}% + \usebibmacro{origpublisher}% + \iftoggle{reflist} + {} + {\usebibmacro{origyear+origendyear}}}}} + +%%%%%%%%%%%%%%%%%%% +%% Collections %% +%%%%%%%%%%%%%%%%%%% + +\newbibmacro*{test:collection}{% + \ifboolexpr{ test {\ifentrytype{book}} + or test {\ifentrytype{collection}} + or test {\ifentrytype{mvbook}} + or test {\ifentrytype{mvcollection}}} + {\usebibmacro{test:collection:bk}}% + {\ifboolexpr{ test {\ifentrytype{bookinbook}} + or test {\ifentrytype{inbook}} + or test {\ifentrytype{incollection}} + or test {\ifentrytype{letter}}} + {\usebibmacro{test:collection:icbk+etc}}% + {}}} + +\newbibmacro*{test:collection:bk}{% + \ifboolexpr{ test {\iffieldundef{booktitle}} + and test {\iffieldundef{bookbooktitle}} + and test {\iffieldundef{bookvolume}} + and test {\iffieldundef{bookbookvolume}} + and not test {\iffieldundef{title}} + and not test {\iffieldundef{maintitle}} + and not test {\iffieldundef{volume}}} + {\toggletrue{collection}% + \toggletrue{collection:bk}}% + {}} + +\newbibmacro*{test:collection:icbk+etc}{% + \ifboolexpr{ test {\iffieldundef{bookbooktitle}} + and test {\iffieldundef{volume}} + and test {\iffieldundef{bookbookvolume}} + and not test {\iffieldundef{title}} + and not test {\iffieldundef{booktitle}} + and not test {\iffieldundef{maintitle}} + and not test {\iffieldundef{bookvolume}}} + {\toggletrue{collection}% + \toggletrue{collection:icbk}}% + {\ifboolexpr{ test {\ifentrytype{bookinbook}} + or test {\ifentrytype{inbook}}} + {\usebibmacro{test:collection:ib}}% + {\usebibmacro{test:collection:icib}}}} + +\newbibmacro*{test:collection:ib}{% + \ifboolexpr{ test {\iffieldundef{maintitle}} + and test {\iffieldundef{bookbooktitle}} + and test {\iffieldundef{bookvolume}} + and test {\iffieldundef{bookbookvolume}} + and not test {\iffieldundef{title}} + and not test {\iffieldundef{booktitle}} + and not test {\iffieldundef{volume}}} + {\toggletrue{collection}% + \toggletrue{collection:ib}}% + {}} + +\newbibmacro*{test:collection:icib}{% + \ifboolexpr{ test {\iffieldundef{maintitle}} + and test {\iffieldundef{volume}} + and test {\iffieldundef{bookbookvolume}} + and not test {\iffieldundef{booktitle}} + and not test {\iffieldundef{bookbooktitle}} + and not test {\iffieldundef{bookvolume}}} + {\toggletrue{collection}% + \toggletrue{collection:icib}}% + {}} + +%%%%%%%%%%%%%%%%%%%%%%% +%% Dates and Times %% +%%%%%%%%%%%%%%%%%%%%%%% + +% The next command should work well enough for most languages but can +% be overridden by lbx files. This happens when windycity.bbx loads +% american-windycity.lbx. + +\renewcommand*{\mkdaterangefull}[2]{% + \begingroup + \blx@metadateinfo{#2}% + \ifboolexpr{ test {\iffieldundef{#2year}} + and test {\iffieldundef{#2month}}} + {\blx@nounit}% + {\printtext[#2date]{% + \datecircaprint + \iffieldundef{#2season} + {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}% + \blx@printtime{#2}{}}% + {\csuse{mkbibseasondate#1}{#2year}{#2season}}% + \dateuncertainprint + \dateeraprint{#2year}% + \ifboolexpr{ test {\iffieldundef{#2endyear}} + and test {\iffieldundef{#2endmonth}}} + {} + {\iffieldequalstr{#2endyear}{} + {\mbox{\bibdaterangesep}}% + {\bibdaterangesep + \enddatecircaprint + \iffieldundef{#2season} + {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}% + \blx@printtime{#2}{end}}% + {\csuse{mkbibseasondate#1}{#2endyear}{#2endseason}}% + \enddateuncertainprint + \dateeraprint{#2endyear}}}}}% needs '%' + \endgroup}% + +\newbibmacro*{issue+month+etc}[1]{% + \iffieldundef{year} + {\iffieldundef{month} + {} + {\setunit{\space}% + \printtext[parens]{\printdate}}} + {\ifboolexpr{ test {\iffieldundef{volume}} + and test {\iffieldundef{number}}} + {\iffieldundef{journal} + {} + {\setunit{\addcomma\space}}% + \iffieldundef{month} + {\usebibmacro{issue+season+year}}% + {\usebibmacro{reflist+year+day}% + \printdate}}% + {\iffieldundef{month} + {\setunit{\space}% + \usebibmacro{reflist+issue+season}}% + {\ifstrequal{#1}{noparens} + {\usebibmacro{reflist+year+day}% + \newunit + \printdate}% + {\usebibmacro{reflist+year+day}% + \setunit{\space}% + \printtext[parens]{\printdate}}}}}} + +\newbibmacro*{reflist+year+day}{% + \ifboolexpr{ togl {bibliography} + and togl {reflist} + and test {\iffieldundef{day}}} + {\iffieldundef{endyear} + {\clearfield{year}}% + {\iffieldsequal{year}{endyear} + {\clearfield{year}% + \clearfield{endyear}}% + {}}} + {}} + +% Treat 'season' as an alternative for 'issue'. + +\newbibmacro*{reflist+issue+season}{% + \ifboolexpr{ togl {bibliography} + and togl {reflist}} + {\ifboolexpr{ test {\iffieldundef{issue}} + and test {\iffieldundef{season}}} + {} + {\setunit{\space}% + \iffieldundef{issue} + {\printtext[parens]{\printfield{season}}} + {\printtext[parens]{\printfield{issue}}}}} + {\setunit{\space}% + \printtext[parens]{\usebibmacro{issue+season+year}}}} + +\newbibmacro*{issue+season+year}{% + \ifboolexpr{ test {\iffieldundef{issue}} + and test {\iffieldundef{season}}} + {\printfield{year}}% + {\iffieldundef{issue} + {\printfield{season}% + \space + \printfield{year}}% + {\printfield{issue}% + \space + \printfield{year}}}} + +% Per CMOS, 17th ed., 14.119, print the publication year of the +% last-mentioned title. + +\newbibmacro*{year+bookyear}{% + \ifboolexpr{ togl {bibliography} + and togl {reflist}} + {\ifboolexpr{ test {\iffieldundef{bookyear}} + or test {\iffieldundef{year}} + or test {\iffieldsequal{year}{bookyear}} + or not test {\iffieldequalstr{labeldatesource}{bookyear}}} + {} + {\printfield{bookyear}% + \usebibmacro{endbookyear}}} + {\ifboolexpr{ test {\iffieldundef{year}} + and test {\iffieldundef{bookyear}}} + {\bibstring{nodate}}% + {\iffieldundef{bookyear} + {\printfield{year}% + \usebibmacro{endyear}}% + {\ifboolexpr{ togl {collection} + and togl {swapvol} + and not test {\iffieldundef{year}}} + {\printfield{year}% + \usebibmacro{endyear}}% + {\printfield{bookyear}% + \usebibmacro{endbookyear}}}}}} + +\newbibmacro*{endyear}{% + \iffieldundef{endyear} + {} + {\iffieldsequal{year}{endyear} + {} + {\textendash\printfield{endyear}}}} + +\newbibmacro*{endbookyear}{% + \iffieldundef{endbookyear} + {} + {\iffieldsequal{bookyear}{endbookyear} + {} + {\textendash\printfield{endbookyear}}}} + +\newbibmacro*{origyear+origendyear}{% + \iffieldundef{origyear} + {} + {\printfield{origyear}% + \ifboolexpr{ test {\iffieldundef{endorigyear}} + or test {\iffieldsequal{origyear}{endorigyear}}} + {} + {\textendash\printfield{endorigyear}}}} + +% For reference lists. + +\newbibmacro*{a:labeldate+extradate}{% + \ifboolexpr{ togl {noauth} + or not togl {authposition}} + {} + {\usebibmacro{labeldate+extradate}}} + +\newbibmacro*{b:labeldate+extradate}{% + \ifboolexpr{ togl {noauth} + and not togl {journalfirst}} + {\usebibmacro{labeldate+extradate}}% + {}} + +\newbibmacro*{labeldate+extradate}{% + \ifboolexpr{ togl {bibliography} + and togl {reflist} + and not togl {skipdate}} + {\newunit + \usebibmacro{reflist+origyear}% + \usebibmacro{labeldate+endyear}% + \printfield{extradate}% + \ifboolexpr{ test {\iffieldundef{year}} + or test {\ifnumeral{\thefield{year}}}} + {\newunit}% + {\bibsentence\newunit}}% if year enclosed in brackets + {}} + +\newbibmacro*{reflist+origyear}{% + \iffieldundef{origyear} + {} + {\printtext[parens]{\usebibmacro{origyear+origendyear}}% + \space}}% + +% The next macro helps bib environments that use the 'reflist' toggle +% (see the 'reflist' bib environment set elsewhere in this file). +% Since they can't use the 'reflist' preamble option, they can't load +% the DeclareLabeldate for reference lists. The macro below makes the +% output consistent in those cases but can cause problems with +% sorting. Resolve them with '\sortyear'. Also, end dates go here. See +% CMOS, 17th ed., 15.37 and 15.41. Although '\printlabeldate' prints +% them, the workaround needs to run 'endyear', which can cause +% problems not only with sorting but with 'extralabeldate'. + +\newbibmacro*{labeldate+endyear}{% + \iffieldequalstr{labeldatesource}{bookyear} + {\iffieldundef{year} + {\printlabeldate}% + {\printfield{year}% + \usebibmacro{endyear}}} + {\printlabeldate}}% + +%%%%%%%%%%%%%%%%% +%% Locations %% +%%%%%%%%%%%%%%%%% + +\newbibmacro*{loc+pub+year}{% + \usebibmacro{loc+pub}{1}% + \ifnumgreater{\value{publisher}}{1} + {\setunit{\addsemicolon\space}% + \usebibmacro{loc+pub}{2}}% + {} + \setunit{\addcomma\space}% + \usebibmacro{year+bookyear}}% + +\newbibmacro*{loc+pub}[1]{% + \usebibmacro{location}{#1}% + \setunit{\addcolon\space}% + \printlist[publisher][#1-#1]{publisher}}% + +\newbibmacro*{location}[1]{% + \ifboolexpr{ test {\iflistundef{location}} + and test {\iffieldundef{howpublished}} + and test {\iffieldundef{url}} + and test {\iffieldundef{doi}}} + {\bibstring{noplace}}% + {\printlist[location][#1-#1]{location}}} + +\newbibmacro*{origlocation}{% + \iflistundef{origlocation} + {} + {\printlist{origlocation}% + \iflistundef{origpublisher} + {\setunit{\addcomma\space}}% + {\setunit{\addcolon\space}}}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Bibliography Drivers %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\DeclareBibliographyDriver{shorthand}{% + \usedriver + {\DeclareNameAlias{author}{sortname}}% + {\thefield{entrytype}}% + \iftoggle{annotate} + {\global\togglefalse{annotate}% + \usebibmacro{pageref+finentry}% + \global\toggletrue{annotate}}% + {\usebibmacro{pageref+finentry}}} + +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{author+title+ed+note}% + \usebibmacro{articles}% + \usebibmacro{colon+pages+etc}% + \usebibmacro{doi+finentry+etc}}% + +\DeclareBibliographyDriver{book}{% + \usebibmacro{bibindex}% + \usebibmacro{author+collection+etc}% + \usebibmacro{doi+finentry+etc}}% + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{bibindex}% + \usebibmacro{author+title+etc}% + \usebibmacro{crossref+incollections}% + \usebibmacro{doi+finentry+etc}}% + +\DeclareBibliographyDriver{misc}{% + \usebibmacro{bibindex}% + \usebibmacro{author+bookauthor+etc}% + \usebibmacro{title+labelyear}% + \newunit + \printfield{userb}% + \usebibmacro{doi+finentry+etc}}% + +\DeclareBibliographyDriver{online}{% + \usebibmacro{bibindex}% + \usebibmacro{author+title+ed+note}% + \newunit + \usebibmacro{websites}% + \usebibmacro{issue+month+etc}{}% + \usebibmacro{doi+finentry+etc}}% + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{bibindex}% + \usebibmacro{author+title+ed+note}% + \newunit + \printfield{number}% + \newunit + \printfield{addendum}% + \usebibmacro{pageref+finentry}}% + +\DeclareBibliographyDriver{review}{% + \usebibmacro{bibindex}% + \usebibmacro{reviews}% + \usebibmacro{articles}% + \usebibmacro{colon+pages+etc}% + \usebibmacro{doi+finentry+etc}}% + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{bibindex}% + \usebibmacro{author+title+ed+note}% + \newunit + \usebibmacro{inst+loc+date}% + \usebibmacro{doi+finentry+etc}}% + +%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Second Tier Macros %% +%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newbibmacro*{pageref+finentry}{% + \newunit + \usebibmacro{pageref}% + \newunit + \usebibmacro{annotation}% + \finentry}% + +\newbibmacro*{author+title+ed+note}{% + \usebibmacro{author+bookauthor+etc}% + \usebibmacro{title+labelyear}% + \usebibmacro{edtrans:a}% + \usebibmacro{note}}% + +\newbibmacro*{articles}{% + \newunit + \usebibmacro{part}% + \usebibmacro{issuetitle}% + \renewcommand*{\xtitle}{journal}% + \usebibmacro{longtitle+titleaddon}% + \usebibmacro{journalseries}% + \setunit{\space}% + \usebibmacro{journallocation}% + \printfield[noformat]{volume}% + \iftoggle{journalfirst} + {\newunit}% + {\setunit{\addcomma\space}}% + \iffieldequalstr{type}{newsmag} + {\usebibmacro{issue+month+etc}{noparens}% + \usebibmacro{periodical:number}}% + {\usebibmacro{periodical:number}% + \usebibmacro{issue+month+etc}{}}% + \usebibmacro{edition}{noformat}}% + +% If an article has an electronic article ID, don't print its page +% range in the bibliography. See CMOS, 17th ed., 14.174. + +\newbibmacro*{colon+pages+etc}{% + \ifboolexpr{ test {\iffieldundef{pages}} + or not test {\iffieldundef{eid}}} + {} + {\iftoggle{reflist} + {\ifboolexpr{test {\iffieldundef{number}} + and test {\iffieldundef{month}} + and test {\iffieldundef{issue}} + and test {\iffieldundef{season}}} + {\setunit{\addcolon}% + \printfield{pages}}% + {\setunit{\addcolon\space}% + \printfield{pages}}} + {\usebibmacro{colon+pages}}}} + +\newbibmacro*{doi+finentry+etc}{% + \usebibmacro{doi+url+etc}% + \usebibmacro{isbn}% + \usebibmacro{library}% + \usebibmacro{pageref+finentry}}% + +\newbibmacro*{author+collection+etc}{% + \usebibmacro{test:collection}% + \usebibmacro{author+bookauthor+etc}% + \ifboolexpr{ togl {collection:bk} + and togl {swapvol}} + {\usebibmacro{maintitle+editor}% + \usebibmacro{note}% + \usebibmacro{edition}{}% + \usebibmacro{volume+number+etc}% + \let\xtitle\empty + \usebibmacro{longtitle+titleaddon}% + \setunit{\unspace,\addspace}% + \usebibmacro{byauthor}{}% + \usebibmacro{edtrans:b}% + \usebibmacro{volumes}% + \usebibmacro{bookseries}% + \usebibmacro{volume+number+etc}% + \usebibmacro{book:number}% + \usebibmacro{part}}% + {\usebibmacro{title+labelyear}% + \usebibmacro{byauthor}{newunit}% + \usebibmacro{edtrans:a}% + \usebibmacro{editoraddon}% + \iffieldundef{maintitle} + {\usebibmacro{note+edition+etc}}% + {\usebibmacro{volumes}% + \usebibmacro{bookseries}% + \usebibmacro{volume+number+etc}% + \usebibmacro{book:number}% + \usebibmacro{part}% + \usebibmacro{maintitle+editor}% + \usebibmacro{note}% + \usebibmacro{edition}{}}} + \usebibmacro{date+loc+etc}% + \usebibmacro{origtitle}}% + +\newbibmacro*{author+title+etc}{% + \usebibmacro{test:collection}% + \usebibmacro{test:bookauthor}% + \ifboolexpr{ test {\ifnameundef{afterword}} + and test {\ifnameundef{foreword}} + and test {\ifnameundef{introduction}}} + {\usebibmacro{author+bookauthor+etc}% + \iffieldundef{title} + {\usebibmacro{booktitle+editor}{a}}% + {\ifboolexpr{ togl {collection:ib} + and togl {swapvol} + and not togl {collection:icib}} + {\usebibmacro{booktitle+editor}{a}}% + {\usebibmacro{title+labelyear}% + \usebibmacro{byauthor+ed+chapter}}}} + {\usebibmacro{aft+fore+intro}}} + +\newbibmacro*{crossref+incollections}{% + \iffieldundef{crossref} + {\usebibmacro{incollections}}% + {\xifinlist{\thefield{crossref}}{\crossreflist} + {\ifnumgreater{\value{\thefield{crossref}}}{0} + {\usebibmacro{crossref}% + \usebibmacro{pages}}% + {\usebibmacro{incollections}}} + {\listxadd{\crossreflist}{\thefield{crossref}}% + \ifcsdef{c@\thefield{crossref}} + {\setcounter{\thefield{crossref}}{0}}% + {\newcounter{\thefield{crossref}}}% needs '%' + \usebibmacro{incollections}}}} + +\newbibmacro*{websites}{% + \ifboolexpr{ test {\iffieldundef{blogtitle}} + and test {\iffieldundef{journaltitle}} + and test {\iflistundef{organization}}} + {} + {\renewcommand*{\xtitle}{blog}% + \usebibmacro{longtitle+titleaddon}% + \newunit + \renewcommand*{\xtitle}{journal}% + \usebibmacro{longtitle+titleaddon}% + \newunit + \printlist{organization}% + \setunit{\addcomma\space}}} + +\newbibmacro*{reviews}{% + \ifboolexpr{ test {\ifnameundef{author}} + and not test {\ifnameundef{bookauthor}}} + {\savename{bookauthor}{\reviewee}% + \clearname{bookauthor}}% + {\let\reviewee\empty}% + \usebibmacro{author+bookauthor+etc}% + \iffieldundef{title} + {} + {\usebibmacro{title+labelyear}% + \newunit}% + \usebibmacro{note}% + \usebibmacro{review+title}% + \setunit{\addcomma\space}% + \iftoggle{firstshort} + {} + {\usebibmacro{edtrans:b}}} + +\newbibmacro*{inst+loc+date}{% + \usebibmacro{thesis+type}% + \setunit{\addcomma\space}% + \iflistundef{institution} + {\printfield{venue}}% + {\printlist{institution}}% + \setunit{\addcomma\space}% + \printlist{location}% + \setunit{\addcomma\space}% + \usebibmacro{reflist+year+day}% + \printdate}% + +%%%%%%%%%%%%%%%%%%%%%%%%% +%% Third Tier Macros %% +%%%%%%%%%%%%%%%%%%%%%%%%% + +\renewbibmacro*{annotation}{% + \iftoggle{annotate} + {\printfield{annotation}}% + {}} + +\newbibmacro*{note}{% + \iffieldundef{note} + {} + {\newunit + \printfield{note}}} + +\newbibmacro*{part}{% + \iffieldundef{part} + {} + {\setunit{\addcomma\space}% + \iffieldnum{part} + {\printfield{part}}% + {\printfield[noformat]{part}}% + \setunit{\addcomma\space}% + \clearfield{part}}} + +\newbibmacro*{journalseries}{% + \iffieldundef{series} + {} + {\iflistundef{location} + {\setunit{\addcomma\space}% + \printfield{series}}% + {\setunit{\space}% + \printfield{series}}% + \isdot\addcomma + \usebibmacro{seriesaddon}% + \usebibmacro{editortypes}{series}% + \newunit}}% + +\newbibmacro*{journallocation}{% + \iflistundef{location} + {} + {\nopunct\printtext[parens]{% + \printlist{location}}\space}}% + +% On how to format the issue number of periodicals, see CMOS, 17th +% ed., 14.171 and 15.47. + +\newbibmacro*{periodical:number}{% + \iffieldundef{number} + {} + {\ifboolexpr{ togl {bibliography} + and togl {reflist} + and test {\iffieldundef{issue}} + and test {\iffieldundef{season}} + and test {\iffieldundef{month}} + and not test {\iffieldundef{volume}}} + {\setunit{\space}% + \printfield[parens]{number}}% + {\setunit{\addcomma\space}% + \printfield[journum]{number}}}} + +\newbibmacro*{colon+pages}{% + \ifboolexpr{ test {\iffieldundef{month}} + and test {\iffieldundef{year}} + and test {\iffieldundef{issue}}} + {\setunit{\addcolon}% + \printfield{pages}}% + {\ifboolexpr{ test {\iffieldundef{month}} + and test {\iffieldundef{year}}} + {\setunit{\addcolon\space}% + \printfield{pages}}% + {\ifboolexpr{ test {\iffieldundef{number}} + and test {\iffieldundef{volume}}} + {\setunit{\addcomma\space}% + \printfield{pages}}% + {\setunit{\addcolon\space}% + \printfield{pages}}}}} + +\newbibmacro*{doi+url+etc}{% + \ifboolexpr{ test {\iffieldundef{howpublished}} + and test {\iffieldundef{url}} + and test {\iffieldundef{doi}} + and test {\iffieldundef{addendum}} + or ( togl {firstshort} and not togl {bibliography} )} + {} + {\usebibmacro{eid}% + \newunit + \printfield{howpublished}% + \newunit + \printurldate + \newunit + \printfield[noformat]{version}% + \newunit + \printfield{url}% + \newunit + \printfield{doi}% + \newunit + \printfield{addendum}}} + +\newbibmacro*{isbn}{% + \iffieldundef{isbn} + {} + {\iftoggle{bibliography} + {\iftoggle{isbn} + {\newunit + \printfield{isbn}}% + {}} + {}}} + +\newbibmacro*{library}{% + \iffieldundef{library} + {} + {\iftoggle{bibliography} + {\iftoggle{library} + {\newunit + \printfield{library}}% + {}} + {}}} + +\newbibmacro*{volume+number+etc}{% + \iffieldundef{\xvolume volume} + {} + {\usebibmacro{swapvol+pages}% + \iffieldundef{series} + {\newunit}% + {\setunit{\addcomma\space}}% + \iffieldnum{\xvolume volume} + {\printfield[volume]{\xvolume volume}% + \usebibmacro{volume:number}}% + {\bibstring{volumes}\space + \printfield[noformat]{\xvolume volume}}% + \clearfield{\xvolume volume}% + \usebibmacro{part}% + \iftoggle{collection} + {\iftoggle{swapvol} + {\addcomma\space}% + {\space\bibstring{of}\space}}% + {\iffieldundef{maintitle} + {} + {\space\bibstring{of}\space}}}} + +\renewbibmacro*{byauthor}[1]{% + \ifboolexpr{ test {\ifnameundef{author}} + or togl {noauth}} + {} + {\ifstrequal{#1}{newunit} + {\renewcommand*{\pluga}{\newunit\bibstring{by}\space}}% + {\renewcommand*{\pluga}{\bibstring{by}\space}}% + \renewcommand*{\cbx@namelist}{author}% + \usebibmacro{printnames+etc}}} + +\newbibmacro*{edition}[1]{% + \iffieldundef{edition} + {} + {\newunit + \iffieldbibstring{edition} + {\bibstring{\thefield{edition}}} + {\ifstrequal{#1}{noformat} + {\setunit{\addcomma\space}% + \printfield[noformat]{edition}}% + {\printfield{edition}}}}} + +\newbibmacro*{date+loc+etc}{% + \ifboolexpr{ test {\iflistundef{location}} + and test {\iflistundef{publisher}}} + {\newunit + \usebibmacro{reflist+year+day}% + \printdate}% + {\iffieldundef{origtitle} + {\iftoggle{bibliography} + {\newunit + \usebibmacro{orig+etc}}% + {\setunit{\addspace}% not '\setunit{\space}' + \printtext[parens]{\usebibmacro{orig+etc}}}} + {\newunit + \usebibmacro{loc+pub+year}}}} + +\newbibmacro*{test:bookauthor}{% + \ifboolexpr{ test {\ifnamesequal{author}{bookauthor}} + or test {\ifnamesequal{afterword}{bookauthor}} + or test {\ifnamesequal{foreword}{bookauthor}} + or test {\ifnamesequal{introduction}{bookauthor}}} + {\clearname{bookauthor}}% + {\iftoggle{noauth} + {\clearname{bookauthor}}% + {}}} + +\newbibmacro*{bybookauthor+pages}{% + \ifnameundef{bookauthor} + {} + {\renewcommand*{\pluga}{\bibstring{by}\space}% + \renewcommand*{\cbx@namelist}{bookauthor}% + \usebibmacro{printnames+etc}% + \usebibmacro{pages}% + \newunit}}% + +\newbibmacro*{byauthor+ed+chapter}{% + \usebibmacro{byauthor}{newunit}% + \usebibmacro{edtrans:a}% + \iftoggle{collection:ib} + {} + {\newunit + \iffieldundef{chapter} + {\bibstring{in}\space}% + {\printfield{chapter}\space + \bibstring{in}\space}}} + +\newbibmacro*{incollections}{% + \iftoggle{collection:ib} + {\usebibmacro{incollections:ib}}% + {\ifboolexpr{ togl {collection:icbk} + or togl {collection:icib}} + {\usebibmacro{incollections:ic}}% + {\usebibmacro{booktitle+editor}{}% + \usebibmacro{bookbooktitle+editor}{in}% + \iffieldundef{volume} + {\iffieldundef{bookvolume}% + {\renewcommand*{\xvolume}{bookbook}}% + {\renewcommand*{\xvolume}{book}}% + \usebibmacro{note+edition+etc}}% + {\usebibmacro{note+edition+etc}}}} + \usebibmacro{date+loc+etc}% + \usebibmacro{origtitle}}% + +\newbibmacro*{crossref}{% + \renewcommand*{\cbx@deflabel}{labelname}% + \global\toggletrue{cbx@short}% + \entrydata{\thefield{crossref}}{% + \iftoggle{reflist} + {\usebibmacro{parencite:long}}% + {\usebibmacro{author+bookauthor+etc}% + \usebibmacro{shorttitle+crossref}}% + \usebibmacro{cite:volume}}} + +\newbibmacro*{pages}{% + \iffieldundef{pages} + {} + {\iftoggle{bibliography} + {\setunit{\addcomma\space}% + \printfield{pages}% + \clearfield{pages}}% + {}}} + +\newbibmacro*{review+title}{% + \iftoggle{noauth} + {\bibcpstring{reviewnoauth}}% + {\bibstring{review}}% + \space + \renewcommand*{\xtitle}{book}% + \usebibmacro{title+labelyear}% + \iftoggle{firstshort} + {\clearfield{booktitle}}% + {\setunit{\addcomma\space}% + \ifdefempty{\reviewee} + {} + {\restorename{bookauthor}{\reviewee}}% + \renewcommand*{\pluga}{\bibstring{by}\space}% + \renewcommand*{\cbx@namelist}{bookauthor}% + \usebibmacro{printnames+etc}}} + +\newbibmacro*{thesis+type}{% + \ifentrytype{mathesis} + {\bibstring{mathesis}}% + {\ifentrytype{phdthesis} + {\bibstring{phdthesis}}% + {\iffieldundef{type} + {} + {\iffieldbibstring{type} + {\bibstring{\thefield{type}}} + {\printfield{type}}}}}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Fourth and Higher Tier Macros %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newbibmacro*{eid}{% + \iffieldundef{eid} + {} + {\iftoggle{bibliography} + {\setunit{\addcolon\space}}% + {\newunit}% + \printfield{eid}}} + +\newbibmacro*{volumes}{% + \iffieldundef{volumes} + {} + {\ifboolexpr{ togl {collection} + or ( not togl {bibliography} + and not togl {listvols} + and not test {\iffieldundef{postnote}} )} + {} + {\newunit + \printfield{volumes}% + \clearfield{volumes}}}} + +\newbibmacro*{bookseries}{% + \iffieldundef{series} + {} + {\usebibmacro{pages}% + \newunit + \printfield{series}% + \usebibmacro{seriesaddon}% + \usebibmacro{editortypes}{series}% + \setunit{\addcomma\space}}} + +\newbibmacro*{seriesaddon}{% + \iffieldundef{seriesaddon} + {} + {\addcomma\space + \printfield{seriesaddon}% + \isdot\addcomma}}% + +\newbibmacro*{swapvol+pages}{% + \ifboolexpr{ togl {collection} + and togl {swapvol}} + {} + {\usebibmacro{pages}}} + +\newbibmacro*{volume:number}{% + \iffieldundef{number} + {} + {\addcomma\space + \printfield[journum]{number}% + \clearfield{number}}} + +\newbibmacro*{book:number}{% + \iffieldundef{number} + {} + {\ifentrytype{letter} + {\usebibmacro{letter:number}}% + {\usebibmacro{other:number}}}} + +\newbibmacro*{letter:number}{% + \iftoggle{bibliography} + {\setunit{\addcomma\space}% + \printfield[journum]{number}}% + {}} + +\newbibmacro*{other:number}{% + \ifboolexpr{ test {\iffieldequalstr{editortype}{series}} + or test {\iffieldequalstr{editoratype}{series}} + or test {\iffieldequalstr{editorbtype}{series}} + or test {\iffieldequalstr{editorctype}{series}}} + {\setunit{\addcomma\space}% + \printfield{number}}% + {\setunit{\addspace}% not '\setunit{\space}' + \printfield{number}}} + +\newbibmacro*{orig+etc}{% + \usebibmacro{origlocation}% + \usebibmacro{origpublisher}% + \iftoggle{reflist} + {} + {\usebibmacro{origyear+origendyear}}% + \usebibmacro{reprint}% + \usebibmacro{loc+pub+year}}% + +\newbibmacro*{origpublisher}{% + \iflistundef{origpublisher} + {} + {\printlist{origpublisher}% + \setunit{\addcomma\space}}} + +\newbibmacro*{reprint}{% + \ifboolexpr{ test {\iffieldundef{origyear}} + and test {\iflistundef{origpublisher}}} + {} + {\iftoggle{bibliography} + {\newunit}% + {\setunit{\addsemicolon\space}}% + \bibstring{reprint}% + \addcomma\space}}% + +\newbibmacro*{incollections:ib}{% + \iftoggle{swapvol} + {\usebibmacro{note+edition+etc}% + \let\xtitle\empty + \usebibmacro{longtitle+titleaddon}% + \setunit{\unspace,\addspace}% + \usebibmacro{byauthor}{}% + \usebibmacro{edtrans:b}}% + {\usebibmacro{volume+number+etc}% + \usebibmacro{booktitle+editor}{}% + \usebibmacro{note+edition+etc}}} + +\newbibmacro*{note+edition+etc}{% + \usebibmacro{note}% + \usebibmacro{edition}{}% + \usebibmacro{volumes}% + \usebibmacro{bookseries}% + \usebibmacro{pages}% + \usebibmacro{volume+number+etc}% + \usebibmacro{book:number}% + \usebibmacro{part}}% + +\newbibmacro*{incollections:ic}{% + \iftoggle{swapvol} + {\iftoggle{collection:icbk} + {\usebibmacro{maintitle+editor}}% + {\usebibmacro{bookbooktitle+editor}{}}% + \renewcommand*{\xvolume}{book}% + \usebibmacro{note+edition+etc}% + \usebibmacro{booktitle+editor}{}% + \usebibmacro{pages}}% + {\usebibmacro{booktitle+editor}{}% + \renewcommand*{\xvolume}{book}% + \usebibmacro{volume+number+etc}% + \iftoggle{collection:icbk} + {\usebibmacro{maintitle+editor}}% + {\usebibmacro{bookbooktitle+editor}{}}% + \renewcommand*{\xvolume}{book}% + \usebibmacro{note+edition+etc}}} + +\newbibmacro*{volume}{% + \iffieldundef{\xvolume volume} + {} + {\newunit + \printfield[volume]{\xvolume volume}}} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/windycity/windycity.cbx b/macros/latex/contrib/biblatex-contrib/windycity/windycity.cbx new file mode 100644 index 0000000000..8a43318cf5 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/windycity/windycity.cbx @@ -0,0 +1,519 @@ +% Last modified: Wed 17 Jul 2019 09:44:59 AM CDT + +% Copyright (c) 2019 Brian Michael Chase. +% +% Permission is granted to copy, distribute and/or modify this +% software under the terms of the LaTeX Project Public License (LPPL), +% version 1.3. +% +% The LPPL maintenance status of this software is 'author-maintained'. +% +% This software is provided 'as is', without warranty of any kind, +% either expressed or implied, including, but not limited to, the +% implied warranties of merchantability and fitness for a particular +% purpose. + +\ProvidesFile{windycity.cbx}[2019/07/17 Windy City citation style for + biblatex] +\@ifpackagelater{biblatex}{2017/11/04} + {} + {\PackageError{biblatex} + {Outdated 'biblatex' package} + {Windy City 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}% + +% This file contains material only for formatting notes and +% parenthetical citations. For content that is also used for +% bibliographies and reference lists, see windycity.bbx. + +%%%%%%%%%%%%%%%%%%% +%% Preliminary %% +%%%%%%%%%%%%%%%%%%% + +\InitializeCitationStyle{\let\crossreflist\empty}% +\DeclareAutoPunctuation{.,;:!?} +\DeclareCitePunctuationPosition{cite}{r} +\AtEveryCite{% + \global\togglefalse{bibliography}% + \global\togglefalse{multicite}% + \global\togglefalse{cbx@first}% + \global\togglefalse{cbx@loccit}% + \AtEveryItem}% +\AtEveryMultiCite{\toggletrue{multicite}}% + +\renewcommand{\bibfootnotewrapper}[1]{% + \bibsentence#1}% +\renewcommand{\bibendnotewrapper}[1]{% + \bibsentence#1}% + +% Protect commas against abbreviation dots and terminal punctuation +% marks. Note '\addspace'. Using '\space' there causes problems. + +\renewcommand*{\newunitpunct}{\ifterm{,\addspace}{\addcomma\space}}% + +% Prevents errant space after a colon. + +\renewcommand*{\multicitedelim}{\setunit{\addsemicolon\space}}% + +%%%%%%%%%%%%%%%%%%%%%%%%% +%% Citation Commands %% +%%%%%%%%%%%%%%%%%%%%%%%%% + +\DeclareCiteCommand{\cite} + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{cite:postnote}}% + +\DeclareCiteCommand*{\cite} + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \toggletrue{noauth}% + \usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{cite:postnote}}% + +\DeclareCiteCommand{\footcite}[\mkbibfootnote] + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{cite:postnote}}% + +\DeclareCiteCommand*{\footcite}[\mkbibfootnote] + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \toggletrue{noauth}% + \usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{cite:postnote}}% + +\DeclareCiteCommand{\parencite}[\mkbibparens] + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{parencite}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% + +\DeclareCiteCommand*{\parencite}[\mkbibparens] + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \toggletrue{noauth}% + \usebibmacro{parencite}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% + +\DeclareCiteCommand{\smartcite}[\iffootnote{}{\mkbibfootnote}] + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{cite:postnote}}% + +\DeclareCiteCommand*{\smartcite}[\iffootnote{}{\mkbibfootnote}] + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \toggletrue{noauth}% + \usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{cite:postnote}}% + +\DeclareMultiCiteCommand{\smartcites}[\iffootnote{}\mkbibfootnote] + {\smartcite}{\multicitedelim} + +\DeclareCiteCommand{\textcite} + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{test:multicite}% + \usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% + +\DeclareCiteCommand*{\textcite} + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \toggletrue{noauth}% + \usebibmacro{test:multicite}% + \usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Parenthetical Citations %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newbibmacro*{parencite}{% + \usebibmacro{test:collection}% + \usebibmacro{test:crossref}% + \ifboolexpr{ test \ifciteibid + and not test \iffirstonpage} + {\iffieldundef{postnote} + {\printtext[bibhyperref]{% + \usebibmacro{parencite:date}% + \usebibmacro{cite:volume}}} + {}} + {\printtext[bibhyperref]{% + \usebibmacro{parencite:long}% + \usebibmacro{cite:volume}}}} + +% See note for 'crossref+long'. + +\newbibmacro*{test:crossref}{% + \ifboolexpr{ test {\iffieldundef{crossref}} + or test {\iffieldundef{title}}} + {} + {\xifinlist{\thefield{crossref}}{\crossreflist} + {\stepcounter{\thefield{crossref}}} + {\listxadd{\crossreflist}{\thefield{crossref}}% + \ifcsdef{c@\thefield{crossref}} + {\setcounter{\thefield{crossref}}{0}}% + {\newcounter{\thefield{crossref}}}}}} + +\newbibmacro*{parencite:date}{% + \iffieldundef{labelyear} + {} + {\usebibmacro{parencite:origyear}% + \ifboolexpr{ test {\iffieldundef{year}} + or test {\iffieldequalstr{year}{forthcoming}}} + {\addcomma}% + {}% needs '%' + \usebibmacro{labeldate+endyear}% + \printfield{extradate}}} + +\newbibmacro*{parencite:origyear}{% + \iffieldundef{origyear} + {} + {\printfield[brackets]{origyear}% + \space}}% + +\newbibmacro*{parencite:long}{% + \iffieldundef{shorthand} + {\usebibmacro{parencite:auth+title}}% + {\printfield{shorthand}}% + \setunit{\addspace}% not '\setunit{\space}' + \usebibmacro{parencite:date}}% + +\newbibmacro*{parencite:auth+title}{% + \iftoggle{noauth} + {} + {\ifboolexpr{ test {\ifnameundef{labelname}} + or test {\iffieldundef{labelyear}}} + {\iffieldundef{label} + {\usebibmacro{parencite:journal}}% + {\printfield{label}}} + {\global\toggletrue{cbx@short}% + \renewcommand*{\cbx@deflabel}{labelname}% + \clearfield{handle}% + \clearfield{nameaddon}% + \usebibmacro{author+bookauthor+etc}}}} + +\newbibmacro*{parencite:journal}{% + {\ifentrytype{article} + {\iffieldundef{shortjournal} + {\renewcommand*{\xtitle}{journal}% + \usebibmacro{longtitle}}% + {\printfield[journal]{shortjournal}}} + {\printfield[citetitle]{labeltitle}}}} + +%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Citations in Notes %% +%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newbibmacro*{cite}{% + \usebibmacro{test:multicite}% + \ifciteseen + {\usebibmacro{test:collection}% + \renewcommand*{\cbx@deflabel}{labelname}% + \printtext[bibhyperref]{\usebibmacro{cite:seen}}} + {\printtext[bibhyperref]{\usebibmacro{cite:new}}}% needs '%' + \usebibmacro{savefields}}% + +\newbibmacro*{test:multicite}{% + \ifboolexpr{ test {\iffieldequals{namehash}{\bbx@lasthash}} + and togl {multicite} + and togl {short}} + {\toggletrue{noauth}}% + {}} + +\newbibmacro*{cite:seen}{% + \iffieldundef{shorthand} + {\ifboolexpr{ test \ifciteibid + and togl {short} + and not test \iffirstonpage} + {\usebibmacro{cite:ibid}}% + {\usebibmacro{cite:short}}} + {\printfield{shorthand}% + \usebibmacro{cite:volume}}} + +\newbibmacro*{cite:ibid}{% + \iftoggle{ibid} + {\bibcpstring{ibidem}% + \ifloccit + {\global\toggletrue{cbx@loccit}}% + {\usebibmacro{cite:volume}}} + {\global\toggletrue{cbx@short}% + \ifentrytype{review} + {\usebibmacro{ibid:review}}% + {\usebibmacro{author+bookauthor+etc}% + \iftoggle{noauth} + {\usebibmacro{title+labelyear}}% + {}% needs '%' + \usebibmacro{cite:volume}}}} + +\newbibmacro*{ibid:review}{% + \ifnameundef{author} + {\bibcpstring{reviewnoauth}% + \space + \usebibmacro{title+labelyear}}% + {\usebibmacro{author+bookauthor+etc}}% + \usebibmacro{cite:volume}}% + +\newbibmacro*{cite:short}{% + \global\toggletrue{cbx@short}% + \ifentrytype{review} + {\usebibmacro{short:review}}% + {\usebibmacro{author+bookauthor+etc}% + \usebibmacro{title+labelyear}% + \usebibmacro{cite:volume}}} + +\newbibmacro*{short:review}{% + \ifnameundef{author} + {\bibcpstring{reviewnoauth}}% + {\usebibmacro{author+bookauthor+etc}% + \bibstring{review}}% + \space + \renewcommand*{\xtitle}{book}% + \usebibmacro{title+labelyear}% + \usebibmacro{cite:volume}}% + +\newbibmacro*{cite:volume}{% + \newunit + \iftoggle{swapvol} + {\ifboolexpr{ togl {collection:bk} + or togl {collection:ib}} + {\usebibmacro{volume+page}}% + {}} + {}} + +\newbibmacro*{volume+page}{% + \iffieldundef{volume} + {} + {\iffieldpages{postnote} + {\printfield[noformat]{volume}% + \addcolon}% + {\printfield{volume}}}} + +\newbibmacro*{cite:new}{% + \global\toggletrue{cbx@first}% + \usebibmacro{deflabel}% + \iftoggle{firstshort} + {\usebibmacro{cite:short}}% + {\usebibmacro{crossref+long}}} + +% By default, idemtracker is 'false'. As such, '\ifciteidem' returns +% false. With idemtracker set to 'true' (or to some value that implies +% 'true') the test below will print 'labelname' if it matches that of +% the previous citation. + +\newbibmacro*{deflabel}{% + \ifboolexpr{ test {\ifciteidem} + or togl {firstshort}} + {\renewcommand*{\cbx@deflabel}{labelname}}% + {\renewcommand*{\cbx@deflabel}{default}}} + +% Checking for 'title' below helps if you cross-reference volumes to a +% collection with entries containing just 'volume' and 'crossref' +% fields. Perhaps justifiable in very rare cases. + +\newbibmacro*{crossref+long}{% + \ifboolexpr{ test {\iffieldundef{crossref}} + or test {\iffieldundef{title}}} + {\usebibmacro{cite:long}}% + {\xifinlist{\thefield{crossref}}{\crossreflist} + {\stepcounter{\thefield{crossref}}% + \usebibmacro{author+title+etc}% + \usebibmacro{crossref}}% + {\listxadd{\crossreflist}{\thefield{crossref}}% + \ifcsdef{c@\thefield{crossref}} + {\setcounter{\thefield{crossref}}{0}}% + {\newcounter{\thefield{crossref}}} + \usebibmacro{cite:long}}}} + +\newbibmacro*{cite:long}{% + \printtext{% + \usedriver + {\DeclareNameAlias{sortname}{default}}% + {cite:\thefield{entrytype}}}} + +\newbibmacro*{savefields}{% + \iffieldundef{crossref} + {\let\cbx@keyhash\empty}% + {\savefield{crossref}{\cbx@keyhash}}} + +% See CMOS, 17th ed., 14.174, 14.177, 14.185, and 14.188. + +\newbibmacro*{colon+comma+etc}{% + \ifboolexpr{ test {\iffieldundef{pages}} + and test {\iffieldundef{postnote}}} + {} + {\ifboolexpr{ test {\iffieldundef{year}} + and test {\iffieldundef{month}} + and test {\iffieldundef{issue}}} + {\setunit{\addcolon}}% + {\ifboolexpr{ test {\iffieldundef{number}} + and test {\iffieldundef{volume}}} + {\newunit}% + {\setunit{\addcolon\space}}}}} + +%%%%%%%%%%%%%%%% +%% Postnote %% +%%%%%%%%%%%%%%%% + +\newbibmacro*{cite:postnote}{% + \usebibmacro{postnote+etc}% + \usebibmacro{postpunct+etc}}% + +\newbibmacro*{postnote+etc}{% + \ifboolexpr{ togl {cbx@loccit} + and togl {ibid}} + {} + {\iftoggle{cbx@first} + {\usebibmacro{postnote:first}% + \usebibmacro{shorthand+intro}}% + {\usebibmacro{postnote}}}} + +\newbibmacro*{postnote:first}{% + \ifboolexpr{ test {\iffieldundef{postnote}} + and test {\iffieldundef{pages}} + and test {\iffieldundef{url}}} + {\usebibmacro{doi+url+etc}}% + {\usebibmacro{cite:pages}% + \usebibmacro{postnote}% + \usebibmacro{doi+url+etc}}} + +% If the postnote is empty, print the page ranges of journal articles. +% See CMOS, 17th ed., 14.153, 14.167, and 14.174. As for incollection +% and inbook entries, 14.106 seems to suggest the same, but the +% example in 14.30 suggests otherwise. The examples in 14.108 only +% muddy the waters further. For magazines, CMOS is clear that the +% range can be left out. To do so, simply omit it from your +% bibliography database. + +\newbibmacro*{cite:pages}{% + \iffieldundef{pages} + {} + {\ifboolexpr{ test {\ifentrytype{article}} + or test {\ifentrytype{review}}} + {\iffieldundef{postnote} + {\printtext[bibhyperref]{\printfield{pages}}} + {}} + {}}} + +\renewbibmacro*{postnote}{% + \iffieldundef{postnote} + {} + {\printtext[bibhyperref]{\printfield{postnote}}}} + +\newbibmacro*{shorthand+intro}{% + \iffieldundef{shorthand} + {} + {\iffieldundef{shorthandintro} + {\setunit{\addspace}% + \printtext[parens]{% + \bibstring{citedas}\space + \printfield{shorthand}}} + {\setunit{\addspace}% + \printfield{shorthandintro}}}} + +\newbibmacro*{postpunct+etc}{% + \iflastcitekey + {\iffieldundef{postpunct} + {\addperiod}% + {}} + {}} + +\newbibmacro*{refworks}{% + \ifboolexpr{ test {\iffieldundef{howpublished}} + and test {\iffieldundef{year}}} + {} + {\setunit{\addspace}% + \iffieldundef{howpublished} + {\printtext[parens]{\printfield{year}}} + {\global\togglefalse{cbx@first}% + \printtext[parens]{% + \printfield{howpublished}% + \newunit + \printfield{version}% + \newunit + \printfield{year}}}}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Bibliography Drivers for Notes %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\DeclareBibliographyDriver{cite:article}{% + \usebibmacro{author+title+ed+note}% + \usebibmacro{articles}% + \usebibmacro{colon+comma+etc}}% + +\DeclareBibliographyDriver{cite:book}{% + \usebibmacro{author+collection+etc}% + \newunit + \usebibmacro{volume+page}}% + +\DeclareBibliographyDriver{cite:incollection}{% + \ifentrytype{letter} + {\toggletrue{noauth}}% + {}% needs '%' + \usebibmacro{author+title+etc}% + \usebibmacro{incollections}% + \newunit + \usebibmacro{volume+page}}% + +\DeclareBibliographyDriver{cite:misc}{% + \usebibmacro{author+bookauthor+etc}% + \usebibmacro{title+labelyear}% + \newunit + \printfield{usera}% + \newunit}% + +\DeclareBibliographyDriver{cite:online}{% + \usebibmacro{author+title+ed+note}% + \setunit*{\newunitpunct}% needs '*' + \usebibmacro{websites}% + \usebibmacro{issue+month+etc}{}% + \newunit}% + +\DeclareBibliographyDriver{cite:patent}{% + \usebibmacro{author+title+ed+note}% + \newunit + \printfield{number}% + \newunit}% + +\DeclareBibliographyDriver{cite:reference}{% + \printlist{organization}% + \usebibmacro{edition}{}% + \usebibmacro{refworks}% + \newunit + \bibstring{subverbo}\space + \usebibmacro{longtitle+titleaddon}% + \newunit + \renewcommand*{\pluga}{\bibstring{by}\space}% + \renewcommand*{\cbx@namelist}{author}% + \usebibmacro{printnames+etc}}% + +\DeclareBibliographyDriver{cite:review}{% + \usebibmacro{reviews}% + \usebibmacro{articles}% + \usebibmacro{colon+comma+etc}}% + +\DeclareBibliographyDriver{cite:thesis}{% + \usebibmacro{author+title+ed+note}% + \setunit{\addspace}% not '\setunit{\space}' + \printtext[parens]{\usebibmacro{inst+loc+date}}% + \newunit}% + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/windycity/windycity.dbx b/macros/latex/contrib/biblatex-contrib/windycity/windycity.dbx new file mode 100644 index 0000000000..24c2908303 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/windycity/windycity.dbx @@ -0,0 +1,22 @@ +\ProvidesFile{windycity.dbx}[2019/04/02 Windy City data model file for + biblatex] +\DeclareDatamodelFields[type=field,datatype=literal]{% + blogtitle, + blogsubtitle, + blogtitleaddon, + bookbooktitle, + bookvolume, + bookbookvolume, + bookyear, + endbookyear, + editoraddon, + handle, + seriesaddon, + shortbooktitle, + shortmaintitle, + translatortype, + translatoratype} +\DeclareDatamodelFields[type=list,datatype=name]{% + shortbookauthor, + translatora, + translatorb} |