diff options
Diffstat (limited to 'macros/latex')
47 files changed, 4664 insertions, 7088 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/CHANGES b/macros/latex/contrib/biblatex-contrib/biblatex-mla/CHANGES index a3a9f7e2c0..f750e28d10 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/CHANGES +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/CHANGES @@ -1,24 +1,67 @@ +Changelog for version 2.0 +- changes for compatibility with the 9th edition of the MLA handbook, which is + very similar to that of the 8th edition; call "style=mla" to use the new + style. +- renamed support for the older 7th edition; use "style=mla7" to use that older + style. +- the new "style=mla-strict" option bypasses attempted intelligence in source + mapping first added in version 1.9 +- added additional source mappings to match MLA style +- support added for a new containerized entrytype @mlasource to match the MLA + Handbook +- support added for @manual, @misc, @movie, @patent, and @report entrytypes +- by default, the bibliography now uses em-dashes instead of hyphens for + repeated author names +- new "longdash=false" package option reverts from em-dash to hyphens for + repeated author names in the bibliography +- new "showlocation" package option and entry option override the default of + omitting publisher locations +- change in function of "totalnames" entry option; now, the number of names in + a citation will match the bibliographic entry +- added default support for "datecirca"; use a tilde after a date to indicate + vagueness +- fixed errors in code to make biblatex-mla work with the current version of + Biblatex, especially with dates +- fixed presentation of multi-volume books +- fixed problems in presentation of the titleaddon field to accommodate more + use cases +- improved support for untitled works and works with unformatted titles +- removed confusing logic of ibid citations with prenotes +- corrected styling of titles in citations for @bookinbook, @inbook, @mvbook, + and @online entries +- fixed multiple citation errors using simpler, suggested code from moewe +- added booktitle in citations when title undefined +- updated localizations for Spanish and Portuguese +- improved documentation + Changelog for version 1.9 -- changes for compatibility with the latest MLA edition; use "style=mla-new" to change the Works Cited to the new style -- added support for some common biblatex-chicago citation commands (\headlesscite, \textcite, etc.) -- added preliminary support for new entry types (@artwork, @audio, @image, @letter, @music) +- changes for compatibility with the latest MLA edition; use "style=mla-new" to + change the Works Cited to the new style +- added support for some common biblatex-chicago citation commands + (\headlesscite, \textcite, etc.) +- added preliminary support for new entry types (@artwork, @audio, @image, + @letter, @music) - added style intelligence with source mapping: * the word "University" in publisher names will automatically shorten to "U" * the word "Press" in publisher names will automatically shorten to "P" - * the phrase "University Press" in publisher names will automatically shorten to "UP" - * certain words in publisher names--including "Company," "Corporation," "Incorporated", "Limited," and their - respective abbreviations--will not be printed - * if an entry includes a URL pointing to a number of eprint domains--including include JSTOR, Project Muse, Adelaide - Online Books, Google Books, EBSCO Academic Search Complete, EBSCO LexisNexis, and the EBSCO MLA Database-- - biblatex-mla will correctly reformat it as an eprint - * if an entry includes a URL pointing to a doi server, biblatex-mla will correctly reformat it as an doi reference + * the phrase "University Press" in publisher names will automatically + shorten to "UP" + * certain words in publisher names--including "Company," "Corporation," + "Incorporated", "Limited," and their respective abbreviations--will not + be printed + * if an entry includes a URL pointing to a number of eprint + domains--including include JSTOR, Project Muse, Adelaide Online Books, + Google Books, EBSCO Academic Search Complete, EBSCO LexisNexis, and the + EBSCO MLA Database--biblatex-mla will correctly reformat it as an eprint + * if an entry includes a URL pointing to a doi server, biblatex-mla will + correctly reformat it as an doi reference Changelog for version 1.6 - changes for compatibility with Biblatex 3.3+ - changed behavior of "mancitepar", which now defaults to false - fixed buggy repetition of series field (hopefully) -- an upcoming version will provide support for more entrytypes and reflect changes made - in the 2016 MLA handbook +- an upcoming version will provide support for more entrytypes and reflect + changes made in the 2016 MLA handbook Changelog for version 1.5: - changes for compatibility with Biblatex 2.5 @@ -27,8 +70,8 @@ Changelog for version 1.5: - added epprinttype "jstor" - added package options "noremoteinfo" and "mancitepar" - added hyperref linking to "Web" bibstring -- quashed lingering spacing errors, improved bibnamedash, and improved handling of starred - autocites +- quashed lingering spacing errors, improved bibnamedash, and improved handling + of starred autocites - improved documentation, examples Changelog for version 0.9.5: diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/README b/macros/latex/contrib/biblatex-contrib/biblatex-mla/README index 1020e057c6..25d2a52bcc 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/README +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/README @@ -3,7 +3,7 @@ Biblatex-mla provides Biblatex support for references and citations in the style defined by the Modern Language Association (MLA). The style is a common standard for writers in the humanities and is outlined in the MLA Style Manual and the MLA Handbook for Writers of Research Papers. These files follow -definitions for the 7th and 8th editions of the MLA Handbook. Before using +definitions for the 9th, 8th, and 7th editions of the MLA Handbook. Before using biblatex-mla, you will need to install Biblatex. Biblatex is commonly included with most installations of LaTeX, but it can also be found at http://www.ctan.org/pkg/biblatex @@ -11,7 +11,7 @@ http://www.ctan.org/pkg/biblatex Manual Installation: 1. Locate your latex installation folder - - In OS X, it can be found at + - In OS X, it can probably be found at ~/Library/texmf/tex/latex/ 2. Create a new folder called "biblatex-mla" if there isn't already one there 3. Place the biblatex-mla files into this folder @@ -22,12 +22,15 @@ Usage: your Latex preface: \usepackage[american]{babel} \usepackage{csquotes} - \usepackage[style=mla-new]{biblatex} + \usepackage[style=mla]{biblatex} \addbibresource{<bibfile>} - - (replace "style=mla-new" with "style=mla" if you'd prefer to use the - style described in the old edition of the Handbook) + - (replace "style=mla" with "style=mla7" if you'd prefer to use the + style described in the older 7th edition of the handbook) + - (replace "style=mla" with "style=mla-strict" if you'd prefer to avoid some + attempted cleverness to apply transformations to entries, including + publishers, URLs and eprint fields) - (replace "<bibfile>" with the name of your .bib bibliography file) - - to use MLA-style footnotes, use the "autocite=footnote" package option + - to use MLA-style footnotes (no longer well supported), use the "autocite=footnote" package option 2. Cite a text with \autocite{<key>}, cite a page with \autocite[<page>]{<key>}, and include a citational prenote---"'To be or not to be,' he wrote (Shakespeare qtd. in Brown 34)"---with diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/american-mla.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/american-mla.lbx index 3c5d93cc14..ca79f29c73 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/american-mla.lbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/american-mla.lbx @@ -1,14 +1,12 @@ -% american-mla.lbx v0.2.5 2013/03/24 - -\ProvidesFile{american-mla.lbx}[2013/03/24 v0.2.5 biblatex style localization] - +% american-mla.lbx v2.0 2021/06/07 +\ProvidesFile{american-mla.lbx}[2021/06/07 v2.0 biblatex style localization] \InheritBibliographyExtras{american} \DeclareBibliographyExtras{% \protected\def\mkbibdatelong#1#2#3{% \iffieldundef{#3} {} - {\mkdatezeros{\thefield{#3}}% + {\mkdayzeros{\thefield{#3}}% \iffieldundef{#2}{}{\nobreakspace}}% \iffieldundef{#2} {} @@ -18,17 +16,17 @@ \protected\def\mkbibdateshort#1#2#3{% \iffieldundef{#3} {} - {\mkdatezeros{\thefield{#3}}% + {\mkdayzeros{\thefield{#3}}% \iffieldundef{#2}{}{/}}% \iffieldundef{#2} {} - {\mkdatezeros{\thefield{#2}}% + {\mkmonthzeros{\thefield{#2}}% \iffieldundef{#1}{}{/}}% - \mkdatezeros{\thefield{#1}}}% + \mkyearzeros{\thefield{#1}}}% } \DeclareBibliographyStrings{% inherit = {english}, }% -\endinput
\ No newline at end of file +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/biblatex-mla.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/biblatex-mla.pdf Binary files differindex 2dfff282c7..dca222c0fc 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/biblatex-mla.pdf +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/biblatex-mla.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/biblatex-mla.tex b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/biblatex-mla.tex index 46a4d53e56..63e0567090 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/biblatex-mla.tex +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/biblatex-mla.tex @@ -1,14 +1,12 @@ -% biblatex-mla.tex v1.9 2016/11/01 +% biblatex-mla.tex v2.0 2021/06/07 % Maintained at <https://github.com/jmclawson/biblatex-mla/> by James Clawson. % % This material is subject to the LaTeX Project Public License. Feel free to improve, redistribute, and adapt to your own ends, as allowed by that license. (See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for license details.) For inclusion in future versions, please share improvements in formatting and MLA standards compliance back to James Clawson: <biblatex-mla@konx.net>. -% -% File is in constant progress. Things are messy. Ignore platypi. -\documentclass{ltxdockit}[2011/03/25] +\documentclass{ltxdockit} \usepackage{xcolor} -\usepackage{btxdockit} -\usepackage[latin9]{inputenc} +% \usepackage{btxdockit} +% \usepackage[latin9]{inputenc} \usepackage[american]{babel} \usepackage[strict]{csquotes} \usepackage[style=mla,mancitepar=false]{biblatex} @@ -88,8 +86,8 @@ citecolor=black,% subtitle={\mla{} Style Using \biblatex}, url={\biblatexmlahome}, author={James Clawson}, - email={biblatex-mla@konx.net}, - revision={1.9}, + email={},%}, + revision={2.0}, date={\today}} \hypersetup{% @@ -101,6 +99,9 @@ citecolor=black,% % colors \definecolor{spot}{rgb}{1,0.5,0} +\definecolor{new}{rgb}{0,0.5,1} + +\newcommand*{\newthis}{\textbf{\textcolor{new}{|(new in 2.0)|}} } % tables @@ -175,7 +176,7 @@ citecolor=black,% \renewcommand*{\multinamedelim}{\addspace\bibstring{and}\space} -\newcommand{\mlafullexample}[2]{\newline% +\newcommand{\mlafullexample}[2]{%\newline% \mlabibbox{orange}{\begin{description}\item\mlaexample{#1}\end{description}}% \normalfont{#2}\selectlanguage{american}% \mlaprintbox{white}{\begin{description}\item\normalfont\fullcite{#1}\end{description}}} @@ -286,14 +287,14 @@ citecolor=black,% % subsection examples (end) \section{Version Note} -This beta update is for testing compatibility with the 8\superscript{th} edition of the \emph{MLA Handbook}, published April 2016. This current version supports both the old edition (by using \sty{style=mla} in the preamble) and the newer edition (using \sty{style=mla-new}); an upcoming version of \biblatexmla will deprecate support for the 7\superscript{th} edition in favor of the 8\superscript{th}. See \secref{mla:sec:use} for more on switching between editions. +This update is to improve compatibility with the 9\superscript{th} edition of the \emph{MLA Handbook}, published April 2021. See \secref{mla:sec:use} for more on switching between editions. \section{Introduction} \label{int} \Biblatexmla provides support to \biblatex, \bibtex, and \latex for citations and Works Cited lists in the style established by the Modern Language Association (\mla). For commands and options to change package defaults, see \secref{mla:subsec:commands} and \secref{mla:subsec:options}, respectively, below. -\mla style, a common standard for writers in the humanities, is outlined in the \emph{MLA Style Manual}, in its 3\superscript{rd} edition, and the \emph{MLA Handbook for Writers of Research Papers}, now in its 8\superscript{th} edition. \Biblatexmla follows the style outlined in the latter of these. It also follows the logic of the \mla{} when citing similar material repeatedly, trimming unnecessary information from citations where necessary. \Biblatexmla is compatible with \biblatex's support for \sty{hyperref} and \sty{tex4ht}, and the main word in each citation (either the author's name, the title, or the page number) serves as a link to the particular entry in the Works Cited. For anything not covered by this manual, please also see the \biblatex documentation or contact me by email. +\mla style, a common standard for writers in the humanities, is outlined in the \emph{MLA Style Manual}, in its 3\superscript{rd} edition, and the \emph{MLA Handbook for Writers of Research Papers}, now in its 9\superscript{th} edition. \Biblatexmla follows the style outlined in the latter of these. It also follows the logic of the \mla{} when citing similar material repeatedly, trimming unnecessary information from citations where necessary. \Biblatexmla is compatible with \biblatex's support for \sty{hyperref} and \sty{tex4ht}, and the main word in each citation (either the author's name, the title, or the page number) serves as a link to the particular entry in the Works Cited. For anything not covered by this manual, please also see the \biblatex documentation or reach out via GitHub. \newpage \section{Use} @@ -301,38 +302,56 @@ This beta update is for testing compatibility with the 8\superscript{th} edition To ensure American-style quotation marks (if that's your thing),% %% -\footnote{Other localization files, \sty{mla-spanish.lbx}, \sty{mla-portuguese.lbx}, and \sty{mla-italian.lbx}, are also available to use \biblatexmla in languages other than English. These and other localization files are included in \biblatexmla releases, but they will not always be the latest versions available. Updated and new localization files will be kept on GitHub (\mylink{\biblatexmlahome}) once they are ready. There is also support for proper punctuation in non-American dialects of English. Try \mycode{british}, \mycode{canadian}, or other Babel identifiers, such as \mycode{spanish}.} % +\footnote{Other localization files, \sty{mla-spanish.lbx}, \sty{mla-portuguese.lbx}, and \sty{mla-italian.lbx}, are also available to use \biblatexmla in languages other than English. These and other localization files are included in \biblatexmla releases, but they have fallen out of sync with the English versions. The latest version of these files will be kept on GitHub (\mylink{\biblatexmlahome}); new translations are welcome. There is also support for proper punctuation in non-American dialects of English. Try \mycode{british}, \mycode{canadian}, or other Babel identifiers, such as \mycode{spanish}.} % %% -you need to call the \sty{babel} and \sty{csquotes} packages in the preamble +call the \sty{babel} and \sty{csquotes} packages in the preamble of your \latex document: \begin{quote} \begin{verbatim} \usepackage[american]{babel} \usepackage{csquotes} - \usepackage[style=mla-new]{biblatex} + \usepackage[style=mla]{biblatex} \addbibresource{<bibfile.bib>} \end{verbatim} \end{quote} -To use the style called for by the previous (7\superscript{th}) edition of the \emph{MLA Handbook}, drop the ``new'' from the third line: + +By default, \biblatexmla will transform some data in ways preferred by \mla style: for example, URLs will omit protocol prefixes like |http://|, some URLs will be converted to eprint entries, and publisher names will be simplified to abbreviate ``University Press'' to ``UP.'' To skip these transformations, change the style referenced in the third line to \textbf{|mla-strict|}: \begin{quote} \begin{verbatim} \usepackage[american]{babel} \usepackage{csquotes} - \usepackage[style=mla]{biblatex} + \usepackage[style=mla-strict]{biblatex} + \addbibresource{<bibfile.bib>} + \end{verbatim} +\end{quote} + +To use the older style called for by the 7\superscript{th} edition of the \emph{MLA Handbook}, change this line to \textbf{|mla7|}: +\begin{quote} + \begin{verbatim} + \usepackage[american]{babel} + \usepackage{csquotes} + \usepackage[style=mla7]{biblatex} \addbibresource{<bibfile.bib>} \end{verbatim} \end{quote} -Replace <|<bibfile.bib>|> with the name of your .bib bibliography file. The style (provisionally) supports footnote citations with the \mycode{autocite=footnote} package option. Some of the other options supported by \biblatexmla include \mycode{firstlonghand}, \mycode{mladraft}, \mycode{annotation}, \mycode{noremoteinfo}, \mycode{nofullfootnote}, \mycode{publimedium}, and \mycode{guessmedium}, all discussed in \secref{mla:subsec:options}. +Replace <|<bibfile.bib>|> with the name of your .bib bibliography file. The style (provisionally) supports footnote citations with the \mycode{autocite=footnote} package option. Some of the other options supported by \biblatexmla include \mycode{firstlonghand}, \mycode{noremoteinfo}, \mycode{showlocation}, and others discussed in \secref{mla:subsec:options}. -\subsection{Citation commands} +\subsection{Commands} \label{mla:subsec:commands} The standard commands for \biblatexmla generally follow those defined by \biblatex. Included below are the most typical commands. For more commands and options, reference the \biblatex manual. +\subsubsection{Typical Commands} +\label{mla:subsubsec:typical} + \begin{commandlist} +\commanditem{printbibliography} + +Insert the list of Works Cited; typically used at the end of a document. As may be expected, this command will print a bibliography including full, alphabetized, MLA-style entries for every source cited using one of the below citation commands. + \commanditem{autocite} Insert a citation. This is the most common command for citing in \biblatexmla, and it defaults to printing a parenthetical citation. See \tabref{use:cit:all} for examples. For best results, use the command before punctuation like this: @@ -363,9 +382,7 @@ When citing a page number without any prenote, only one set of square brackets i \end{verbatim} \end{quote} -\commanditem{autocite*} - -Suppress the author's name in a citation. See \tabref{use:cit:all} for examples. Use this starred variant of the above command when indicating the author's name in the sentence calling the citation. +To omit the name of the author (or editor) responsible for the source when they've already been named in the sentence, use the starred version (\cmd{autocite*[z][y]\{x\}}) of this command. \commanditem{autocites} @@ -377,43 +394,21 @@ Insert a citation for multiple sources at once. The respective citations will be \end{quote} The curled braces always indicate the bibkey, and the squared braces respectively belong to the curly braces that follow them. -\commanditem{cite} - -Insert a citation without parentheses. - -\commanditem{cite*} - -Insert a citation without parentheses and without the author's name. +\commanditem{parencite} -\commanditem{headlesscite} - -Suppress the author's name in a citation. This command is an alias to \cmd{autocite*} to make it easier to use \biblatexmla with \biblatexcms. +Insert a citation inside parentheses. Indicate page numbers and any prenote like ``qtd.\ in'' in the spaces marked |y| and |z| below, respectively: -\commanditem{textcite} - -Print a citation without parentheses. This command may be useful in certain circumstances, such as a citation that must come within a parenthetical aside. - -% (these commands aren't yet working.) -% -% \commanditem{fullcite} -% -% Print a full citation where a shortened citation might otherwise come. -% -% \commanditem{headlessfullcite} -% -% Except for the author's name, print a nearly-full citation where a shortened citation might otherwise come. - -\commanditem{mancite} - -Reset most trackers that shorten subsequent citations. See \tabref{use:cit:all} for an example. If \biblatexmla is getting so ambitious in shortening subsequent citations that it leads to ambiguity, use this command before the ambiguous citation. - -\commanditem{citereset} +\begin{quote} + \begin{verbatim} + \parencite[z][y]{x} + \end{verbatim} +\end{quote} -Reset all citation trackers for \biblatexmla.% +All of these citation commands follow the pattern described above for |\autocite{}|, which is the preferred citation command to use. To omit the source author or editor, use the starred version of this command: \cmd{parencite*[z][y]\{x\}} -\commanditem{printbibliography} +\commanditem{footcite} -Insert the list of Works Cited. +Insert a citation in a footnote. The |\footcite| command should be reserved for occasional use in favor of the general use of |\autocite| with the package option |autocite=footnote|, mentioned above. To omit the name of the author or editor, use the starred version of this command: \cmd{footcite*[z][y]\{x\}} \end{commandlist} @@ -469,6 +464,63 @@ Insert the list of Works Cited. \label{use:cit:all} \end{table} +\clearpage + +\subsubsection{In-Text Commands} +\label{mla:subsubsec:intext} + +\begin{commandlist} + +\commanditem{cite} + +Insert a citation without parentheses or footnote styling. These kinds of citations aren't often used in writing for \mla{}-related fields, but the command may be useful within a parenthetical aside or a footnote. To omit the name of the author or editor, use the starred version of this command: \cmd{cite*[z][y]\{x\}} + +\commanditem{citeauthor} + +Print the names of the author(s) or editor(s) associated with a source. In its current form, the unstarred command will always print given and family names, while the starred variant (\cmd{citeauthor*\{x\}}) will omit given names. + +\commanditem{citetitle} + +Print the title of a source. The unstarred version will print the |shorttitle| if it is available; the starred version (\cmd{citetitle*\{x\}}) will always print the full title. + +\commanditem{citeyear} + +Print the year associated with a source. + +% (these commands aren't yet working.) +% +% \commanditem{fullcite} +% +% Print a full citation where a shortened citation might otherwise come. +% +% \commanditem{headlessfullcite} +% +% Except for the author's name, print a nearly-full citation where a shortened citation might otherwise come. + +\end{commandlist} + +\subsubsection{Special Commands} +\label{mla:subsubsec:special} + +\begin{commandlist} + +\commanditem{mancite} + +Reset most trackers that would shorten subsequent citations. See \tabref{use:cit:all} for an example. If \biblatexmla{}'s ambition to shorten citations leads to ambiguity, using this command before a citation should print the longer version. + +\commanditem{citereset} + +Reset all citation trackers for \biblatexmla.% + +\commanditem{headlesscite} + +Suppress the author's name in a citation. This command provides an alias to \cmd{autocite*} to make it easier for anyone using \biblatexmla and \biblatexcms interchangeably. + +\commanditem{textcite} + +An alias to |\cite|, above. + +\end{commandlist} \subsection{Package Options} \label{mla:subsec:options} @@ -476,12 +528,21 @@ Insert the list of Works Cited. \Biblatexmla defaults to the recommendations established by the \mla{}, but there may be times when it is appropriate to change some of these options for publication or other uses. Package options change the default functionality of \biblatexmla. \begin{optionslist} -\optionitem{autocite=footnote} +% \optionitem{autocite=footnote} +% +% Using \mycommand{autocite} with biblatex-mla defaults to \mla{}-preferred inline, parenthetical citations. To style citations as footnotes, set the \mycode{autocite=footnote} option in your preamble: +% \begin{quote} +% \begin{verbatim} +% \usepackage[style=mla,autocite=footnote]{biblatex} +% \end{verbatim} +% \end{quote} -Using \mycommand{autocite} with biblatex-mla defaults to \mla{}-preferred inline, parenthetical citations. To style citations as footnotes, set the \mycode{autocite=footnote} option in your preamble: +\optionitem{annotation} +It is possible to print annotations to entries in the Works Cited if the \mycode{annotation} field is defined in an entry. To turn on this option, add \mycode{annotation=true} to your +preamble: \begin{quote} \begin{verbatim} - \usepackage[style=mla,autocite=footnote]{biblatex} + \usepackage[style=mla,annotation=true]{biblatex} \end{verbatim} \end{quote} @@ -492,21 +553,30 @@ The first citation of a source with a shorthand defined will always print a cita \usepackage[style=mla,firstlonghand=false]{biblatex} \end{verbatim} \end{quote} +% \noindent\begin{minipage}{\linewidth} +% \end{minipage} -\optionitem{nofullfootnote}\label{mla:internal:nofullfootnote} -When using biblatex-mla for footnotes, the style file will provide full bibliographic detail for the first citation of every source. To turn off this option, add to your preamble \mycode{nofullfootnote}: +\optionitem{guessmedium} +When using the |style=mla7| option, an entry with no defined \sty{howpublished} field will default either to a <Web> publication (if there's a defined \sty{url} field or \sty{eprint} field) or a <Print> publication (if there's not). To avoid \biblatexmla guessing the publication medium, thereby printing nothing when the field is undefined, deactivate the \mycode{guessmedium} option: \begin{quote} \begin{verbatim} - \usepackage[style=mla,autocite=footnote,nofullfootnote]{biblatex} + \usepackage[style=mla7,guessmedium=false]{biblatex} \end{verbatim} \end{quote} -\optionitem{annotation} -It is possible to print annotations to entries in the Works Cited if the \mycode{annotation} field is defined in an entry. To turn on this option, add \mycode{annotation=true} to your -preamble: +\optionitem{longdash}\label{mla:internal:longdash} +\newthis The 9\superscript{th} edition of the \emph{\mla Handbook} clarifies that dashes indicating multiple entries by one author can either be styled wih three em-dashes or three hyphens. From version 2.0, \biblatexmla defaults to em-dashes, but setting |longdash| to false in the document header reverts to using hyphens: \begin{quote} \begin{verbatim} - \usepackage[style=mla,annotation=true]{biblatex} + \usepackage[style=mla,longdash=false]{biblatex} + \end{verbatim} +\end{quote} + +\optionitem{mancitepar} +Although perhaps they should, the author trackers in \biblatexmla do not by default reset with each paragraph or page. As a result, shortened citations may be unclear when much distance has passed from previous, fuller citations. To avoid this ambiguity, the \cmd{mancite} command can be called before an unclear citation. (See \tabref{use:cit:all} for the effects of \cmd{mancite}.) Alternatively, consider asking \biblatexmla to silently call the \cmd{mancite} command with each new paragraph by enabling the \mycode{mancitepar} package option: +\begin{quote} + \begin{verbatim} + \usepackage[style=mla,mancitepar=true]{biblatex} \end{verbatim} \end{quote} @@ -518,39 +588,48 @@ When using \mla{} parenthetical citations, it is best practice to cite only when \end{verbatim} \end{quote} +\optionitem{nofullfootnote}\label{mla:internal:nofullfootnote} +When using \biblatexmla for footnotes, the style file will provide full bibliographic detail for the first citation of every source. To turn off this option, add to your preamble \mycode{nofullfootnote}: +\begin{quote} + \begin{verbatim} + \usepackage[style=mla,autocite=footnote,nofullfootnote]{biblatex} + \end{verbatim} +\end{quote} + \optionitem{noremoteinfo}\label{mla:internal:noremoteinfo} -Modeled after the implementation in biblatex-apa to suppress remote information in the \sty{.bib} file from being printed in the bibliography, this option affects \sty{isbn}, \sty{issn}, \sty{isrn}, \sty{doi}, and \sty{eprint} fields. +Modeled after the implementation in |biblatex-apa| to suppress remote information in the \sty{.bib} file from being printed in the bibliography, this option affects \sty{isbn}, \sty{issn}, \sty{isrn}, \sty{doi}, and \sty{eprint} fields. \begin{quote} \begin{verbatim} \usepackage[style=mla,noremoteinfo=true]{biblatex} \end{verbatim} \end{quote} -\optionitem{showmedium} -\Biblatexmla version 0.9 introduced support for the 3\superscript{rd} edition of the \emph{Style Manual}, requiring the publication medium of each entry to be printed in the list of Works Cited. By default, \biblatexmla will do the same, using the \sty{howpublished} field. Turn off this option---and the other new changes from the 3\superscript{rd} edition---by setting the \mycode{showmedium} option to false: +\optionitem{showlocation}\label{mla:internal:showlocation} +\newthis The 8\superscript{th} and 9\superscript{th} editions of the \emph{\mla Handbook} advise witholding publication location for most entries, so \biblatexmla omits showing the |location| field for many entry types. To show these location fields for all sources when they exist, use the |showlocation| option in the document header: \begin{quote} \begin{verbatim} - \usepackage[style=mla,showmedium=false]{biblatex} + \usepackage[style=mla,showlocation=true]{biblatex} \end{verbatim} \end{quote} -\optionitem{guessmedium} -An entry with no defined \sty{howpublished} field will default either to a <Web> publication (if there's a defined \sty{url} field or \sty{eprint} field) or a <Print> publication (if there's not). To avoid \biblatexmla guessing the publication medium, thereby printing nothing when the field is undefined, deactivate the \mycode{guessmedium} option: +Alternatively, selectively show the location for individual entries by defining the |options| field in the |.bib| file: \begin{quote} \begin{verbatim} - \usepackage[style=mla,guessmedium=false]{biblatex} + @book{dewey99aa, + ... + options = {showlocation=true} + } \end{verbatim} \end{quote} -\optionitem{mancitepar} -Although perhaps they should, the author trackers in \biblatexmla do not by default reset with each paragraph or page. As a result, shortened citations may be unclear when much distance has passed from previous, fuller citations. To avoid this ambiguity, the \cmd{mancite} command can be called before an unclear citation. (See \tabref{use:cit:all} for the effects of \cmd{mancite}.) Alternatively, consider asking \biblatexmla to silently call the \cmd{mancite} command with each new paragraph by enabling the \mycode{mancitepar} package option: +\optionitem{showmedium} +When using the |style=mla7| option, \biblatexmla will print the publication medium at the end of each entry in the list of Works Cited. Turn off this option---and some other new changes from the 3\superscript{rd} edition---by setting the \mycode{showmedium} option to false: \begin{quote} \begin{verbatim} - \usepackage[style=mla,mancitepar=true]{biblatex} + \usepackage[style=mla7,showmedium=false]{biblatex} \end{verbatim} \end{quote} - \end{optionslist} \section{Database Guide} @@ -558,23 +637,23 @@ Although perhaps they should, the author trackers in \biblatexmla do not by defa % I lost my original documentation files, including original style files I created to maintain them, so I'm transitioning everything to Philipp Lehman's \sty{ltxdockit}. This part of the user guide, explaining how to create \sty{bibtex} entries for use with \biblatexmla, will be updated shortly. Until then, please see \S{} 4 (pages 7--20) of the previous version: \mylink{http://konx.net/biblatex-mla/biblatex-mla.pdf}. -\biblatex (and, thus, \biblatexmla) uses \bibtex-style databases to manage the citations and list of works cited. While these databases are just flat text files, there are many good programs available to help manage them. Zotero, Endnote, and other commercial programs, for example, can export as \bibtex; each of these will nevertheless export with varying degrees of success. Standalone \bibtex managers such as JabRef and BibDesk use \sty{.bib} files as their native filetype and are much more reliable for managing your list of sources. Whether exporting from a program, managing .bib files in a standalone editor, or manipulating them in a text editor, it is necessary to be familiar with fields available to \biblatexmla---especially as some of these are unique \biblatex and \biblatexmla. Below are the different \sty{@types} and the \mycode{fields} available to them. Keep in mind that some of the fields in the \sty{@book} and \sty{@article} types (e.g., \sty{nameaddon}, \sty{origyear}, and others) are also available in others where it makes sense; I don't repeat them here to save room. - +\biblatex uses \bibtex-style databases to manage the citations and list of works cited. With some notable distinctions, \biblatexmla tries to follow typical \biblatex conventions for fields and entry types. % The guide below explains some are the different \sty{@types} and the \mycode{fields} available to them. Keep in mind that some of the fields in the \sty{@book} and \sty{@article} types (e.g., \sty{nameaddon}, \sty{origyear}, and others) are also available in others where it makes sense; I don't repeat them here to save room. +% % \subsection{Typical fields} % (fold) % \label{sub:typical_fields} % -% The best way to acquaint oneself with \biblatexmla is to explore the included \sty{.bib} files, \sty{.tex} files, and the resulting \sty{.pdf} output. Much of the the bibfile database is pretty obvious. Take a look at \tabref{fig:example-book}, for example. +% The best way to acquaint oneself with \biblatexmla is to explore the included \sty{.bib} file, \sty{.tex} files, and the resulting \sty{.pdf} output. Much of the the bibfile database is pretty obvious. Take a look at \tabref{fig:example-book}, for example. % \begin{table}[tbp] % \centering % \includegraphics[width=4.8in]{example-book.pdf} % \caption{A standard \sty{.bib} file \mycode{@book} entry and its corresponding output in the list of Works Cited, beneath.} % \label{fig:example-book} % \end{table} -% % In addition to many of the standard fields one might expect to find, \biblatexmla is also capable of handling unusual fields, described below. For a fuller consideration of the fields supported by \biblatexmla, see the example files and consult the Biblatex manual. - - -% \mlafullexample{douglas93aa}{The above entry, found in the \sty{.bib} file, outputs to the below entry in the list of works cited:} %Below are the different \sty{@types} and the fields available to them. Keep in mind that some of the fields in the \sty{@book} and \sty{@article} types (for example, \sty{nameaddon}, \sty{origyear}, and others) are also available in others where it makes sense; I don't repeat them here to save room. +% +% +% \mlafullexample{douglas93aa}{The above entry, found in the \sty{.bib} file, outputs to the below entry in the list of works cited:} % +Much of the the bibfile database is pretty obvious, so the best way to get acquainted with \biblatexmla is to explore the included \sty{.bib}, \sty{.tex}, and \sty{.pdf} files. Additionally, some of the different \sty{@types} and fields are explained below. Keep in mind that some of the fields in the \sty{@book} and \sty{@article} types (for example, \sty{nameaddon}, \sty{origyear}, and others) are also available in others where it makes sense; I don't repeat them here to save room. % subsection typical_fields (end) @@ -595,12 +674,13 @@ Although perhaps they should, the author trackers in \biblatexmla do not by defa \optionitem{options} separate the following options with a comma: \begin{description} + \item[noremoteinfo=false] indicates that the ``remote'' information of an entry is to be printed, including the fields \sty{isbn}, \sty{issn}, \sty{isrn}, \sty{doi}, and \sty{eprint}. These fields are usually omitted. See also the global option also called \mycode{noremoteinfo}, on page~\pageref{mla:internal:noremoteinfo}, above, for defining this option on a per-document basis. The \mycode{noremoteinfo} option defaults to true. + \item[showlocation=true] \newthis indicates that the publisher's city of operations for an entry is to be printed. These fields are usually omitted. See also the global option also called \mycode{showlocation}, on page~\pageref{mla:internal:showlocation}, above, for defining this option on a per-document basis. The \mycode{showlocation} option defaults to false. + \item[totalnames=true] allows the label to include all the names in its list, rather than maxing out at three. The \mycode{totalnames} option defaults to false. + \item[uniquetranslator=true] indicates that a translator of a particular \sty{@incollection} entry is unique to that work, rather than the collection at large. The \mycode{uniquetranslator} option defaults to false. \item[useauthor=false] allows the label of the entry to default to something other than the author, when the author field is defined. If the editor is defined, the label will default to that. The \mycode{useauthor} option defaults to true. \item[useeditor=false] allows the label of the entry default to something other than the editor in the case of the author field being undefined or the \mycode{useauthor} option set to false. The \mycode{useeditor} option defaults to true. \item[usetranslator=true] allows the label of the entry to inherit the name of the translator when the author and editor fields are undefined or the \mycode{useauthor} and \mycode{useeditor} options are set to false. The \mycode{usetranslator} option defaults to false. - \item[totalnames=true] allows the label to include all the names in its list, rather than maxing out at three. The \mycode{totalnames} option defaults to false. - \item[uniquetranslator=true] indicates that a translator of a particular \sty{@incollection} entry is unique to that work, rather than the collection at large. The \mycode{uniquetranslator} option defaults to false. - \item[noremoteinfo=false] indicates that the ``remote'' information of an entry is to be printed, including the fields \sty{isbn}, \sty{issn}, \sty{isrn}, \sty{doi}, and \sty{eprint}. These fields are usually omitted. See also the global option also called \mycode{noremoteinfo}, on page~\pageref{mla:internal:noremoteinfo}, above, for defining this option on a per-document basis. The \mycode{noremoteinfo} option defaults to true. \end{description} \end{optionslistNOT} @@ -622,13 +702,13 @@ A book, usually with one author. \mla{}-style book entries are straightforward, book subtitle; when using \sty{crossref}, also define \sty{booksubtitle} and be sure to define \sty{subtitle} of the child \optionitem{location} - entryplace of publication + place of publication; ignored unless |showlocation| is |true| \optionitem{publisher} publishing house \optionitem{date} - date of publication; defined as \sty{YYYY} for a year, \sty{YYYY-MM} for a month, \sty{YYYY-MM-DD} for a day, or \sty{YYYY-MM-DD/YYYY-MM-DD} for a range + date of publication; defined as \sty{YYYY} for a year, \sty{YYYY-MM} for a month, \sty{YYYY-MM-DD} for a day, or \sty{YYYY-MM-DD/YYYY-MM-DD} for a range. Use a tilde to indicate uncertainty: \sty{{\raisebox{0.5ex}{\texttildelow}}1400} will print as ``circa 1400'' in the list of Works Cited. \end{optionslistNOT} Other fields might come in handy for further granularity: @@ -638,7 +718,7 @@ Other fields might come in handy for further granularity: original publication date, for reprints; defined as \sty{YYYY} for a year, \sty{YYYY-MM} for a month, \sty{YYYY-MM-DD} for a day, or \sty{YYYY-MM-DD/YYYY-MM-DD} for a range \optionitem{edition} - edition number + edition number, preferably an integer \optionitem{volume} volume number of book @@ -712,25 +792,25 @@ Finally, the style files also define the following note fields for further clari \end{optionslistNOT} -Fields not yet supported in biblatex-mla (but which should be supported in future versions) include the following: - -\begin{optionslistNOT} - \optionitem{howpublished} - to be used in support of the MLA-style revisions in the third edition of the \emph{MLA Style Manual} and the 7th edition of the \emph{MLA Handbook}; will default to ``Print'' when undefined - - \optionitem{origlocation} - original place of publication (for reprints) - - \optionitem{origpublisher} - original publisher (for reprints) - - \optionitem{origtitle} - original title (for reprints) - - \optionitem{origlanguage} - the original language of a translated, reprinted work. Biblatex-mla will not print information in this field, but if the field has information in it, it will use the phrase ``Trans. of'' before the original title, instead of ``Rept. of''. - -\end{optionslistNOT} +% Fields not yet supported in biblatex-mla (but which should be supported in future versions) include the following: +% +% \begin{optionslistNOT} +% \optionitem{howpublished} +% to be used in support of the MLA-style revisions in the third edition of the \emph{MLA Style Manual} and the 7th edition of the \emph{MLA Handbook}; will default to ``Print'' when undefined +% +% \optionitem{origlocation} +% original place of publication (for reprints) +% +% \optionitem{origpublisher} +% original publisher (for reprints) +% +% \optionitem{origtitle} +% original title (for reprints) +% +% \optionitem{origlanguage} +% the original language of a translated, reprinted work. Biblatex-mla will not print information in this field, but if the field has information in it, it will use the phrase ``Trans. of'' before the original title, instead of ``Rept. of''. +% +% \end{optionslistNOT} \subsubsection*{@booklet} Small pamphlet, often without an author listed. In \biblatexmla, \mycode{@booklet} is an alias for \mycode{@book} (see above), and is styled similarly. @@ -864,14 +944,14 @@ The entry for a @thesis that has been published needs a few additional fields: \optionitem{entrysubtype} - \biblatexmla recognizes only two keys in the \sty{entrysubtype} field for the \sty{@thesis}: + When using the 7\superscript{th} edition style, which differentiates between published and unpublished dissertation titles, \biblatexmla recognizes two keys in the \sty{entrysubtype} field for the \sty{@thesis}: \begin{description} \item[published] for published theses \item[unpublished] for unpublished theses \end{description} - any key other than \sty{published} or \sty{unpublished} will be treated as if it were \sty{unpublished} + Any key other than \sty{published} or \sty{unpublished} will be treated as if it were \sty{unpublished}. \optionitem{location} @@ -1055,7 +1135,7 @@ Note that \sty{@inreference} entries do not need to cite page numbers, though th \subsubsection*{@letter} -The \sty{@letter} entry type is only partially supported in \biblatexmla in order to begin work to support it further in the future. It is currently built onto the same backend as \sty{@article} entries, so it will accept additional fields used in that entry type. +The \sty{@letter} entry type is defined similarly to the \sty{@article} type, so it will accept additional fields used in those entries. \begin{optionslistNOT} @@ -1126,7 +1206,7 @@ A foreword, introduction, preface, or other supplementary (and often untitled) m \subsection{Other media} \subsubsection*{@artwork} -The \sty{@artwork} entry type is only partially supported in \biblatexmla in order to begin work to support it further in the future. It is currently built onto the same backend as \sty{@article} entries, so it accepts additional fields used in that entry type. +The \sty{@artwork} entry type is defined similarly to the \sty{@article} type, so it will accept additional fields used in those entries. \begin{optionslistNOT} @@ -1147,7 +1227,7 @@ The \sty{@artwork} entry type is only partially supported in \biblatexmla in ord \end{optionslistNOT} \subsubsection*{@audio} -The \sty{@audio} entry type is only partially supported in \biblatexmla in order to begin work to support it further in the future. It is currently built onto the same backend as \sty{@article} entries, so it accepts additional fields used in that entry type. +The \sty{@audio} entry type is defined similarly to the \sty{@article} type, so it will accept additional fields used in those entries. \begin{optionslistNOT} @@ -1170,7 +1250,7 @@ The \sty{@audio} entry type is only partially supported in \biblatexmla in order \end{optionslistNOT} \subsubsection*{@image} -The \sty{@image} entry type is only partially supported in \biblatexmla in order to begin work to support it further in the future. It is currently built onto the same backend as \sty{@article} entries, so it accepts additional fields used in that entry type. +The \sty{@image} entry type is defined similarly to the \sty{@article} type, so it will accept additional fields used in those entries. \begin{optionslistNOT} @@ -1190,12 +1270,33 @@ The \sty{@image} entry type is only partially supported in \biblatexmla in order \end{optionslistNOT} +\subsubsection*{@manual} +\newthis This entry type is an alias for \sty{@book}. + +\subsubsection*{@misc} +\newthis This entry type behaves like \sty{@article} entries, but titles aren't printed inside quotation marks. + +\subsubsection*{@movie} +\newthis This entry type is an alias for \sty{@video}. + \subsubsection*{@music} This entry type is an alias for \sty{@audio}. \subsubsection*{@online} This entry type is an alias for \sty{@article}. +\subsubsection*{@patent} +\newthis This entry type is currently built onto the same backend as \sty{@article} entries, so it accepts additional fields used in that entry type. Additionally, it adds some additional operations to the type field: + +\begin{optionslistNOT} + + \optionitem{type} the type of patent, with relation to the country in which it was issued. For instance, \sty{patenteu} or \sty{patentus} will automatically establish some standard expectations for the Works Cited entry of a patent from the European Union or one from the United States. See section 4.9.2.20 of the \biblatex manual for more of these expected strings. + +\end{optionslistNOT} + +\subsubsection*{@report} +\newthis This entry type is an alias for \sty{@book}. + \subsubsection*{@unpublished} An unpublished manuscript or typescript. \Biblatexmla supports the following fields typical to an unpublished entry: @@ -1215,14 +1316,24 @@ An unpublished manuscript or typescript. \Biblatexmla supports the following fie \optionitem{note} further information used to classify the collection; typeset before the \sty{type} field - \optionitem{type} form of the material. \Biblatexmla defines some MLA-style \sty{@unpublished} types pre-localized; choose from the following strings to get accurate styling: + \optionitem{type} form of the material. For example, some of the following strings are recognized: + + \begin{description} + \item[manuscript] printed as ``Manuscript'' or ``ms'' in English + \item[transcript] printed as ``Typescript'' or ``ts'' in English + \end{description} + + For all other types not matching the above codes, \biblatexmla will print the \sty{type} field exactly as entered, respecting all existing capitalization + + \optionitem{entrysubtype} \newthis special consideration for styling the title of the work or for indicating that a given title is just a description of the material consulted. The following strings are recognized: \begin{description} - \item[manuscript] for the manuscript of a work; printed as ``Ms.'' or ``ms.'' in English - \item[transcript] for the typescript of a work; printed as ``Ts.'' or ``ts.'' in English + \item[untitled] for unstyled titles + \item[book] for titles that should be styled like a book + \item[article] for titles that should be styled like an article \end{description} - For all other types not matching the above codes, \biblatexmla will print the type \sty{field} exactly as entered, respecting all existing capitalization + \Biblatexmla will further try to style the title to match any type listed in the \sty{entrysubtype} field. \optionitem{number} identifying number (such as a call number, box, or folio reference) in a library or archive @@ -1282,14 +1393,68 @@ Note that \biblatexmla will print the \sty{author} field before the \sty{title} \end{optionslistNOT} +%%%%%%% +\subsection{MLA-Style Containers} + +\subsubsection*{@mlasource} +\newthis In addition to these typical \biblatex-supported entry types, \biblatexmla 2.0 introduces support for defining entries using the containerized explanations of sources first described in the 8\superscript{th} edition of the \emph{MLA Handbook}. Because the non-author fields are defined to handle information literally, this kind of entry is in many ways inferior to the above semantically-defined entry types, which should handle punctuation in lists of editor names, strings like ``vol.'' and ``by,'', subtitle punctuation, and other matters. The user will need to keep output in mind as they define the metadata of an \sty{@mlasource} entry. All of these fields are optional, and they should only include information set out in the \emph{MLA Handbook}. + +\begin{optionslistNOT} + + \optionitem{author} the name of the person(s) who should be used as the label for a work. + + \optionitem{title} title of the piece; subtitles and any necessary colons should be included within the |title| field. + + \optionitem{titletype} a string like \textbf{|complete|}, \textbf{|part|}, or \textbf{|unstyled|} determining how the source's |title| gets printed. This field is typically unnecessary: \biblatexmla assumes |complete| if the source lacks a |titlea| field, and it assumes |part| if the |titlea| field is defined, styling the title in italics or in quotation marks, respectively. Setting this field overrides \biblatexmla{}'s logic. + + \optionitem{supplemental} any supplemental information for the source. + + \optionitem{titlea} the title of the first container; \biblatexmla will style |titlea| in italics, but subtitles and any necessary colons should be included within the this field. + + \optionitem{contributora} any necessary contributors to the first container. + + \optionitem{versiona} the version or edition of the first container. + + \optionitem{numbera} the number of the first container. + + \optionitem{publishera} the publisher of the first container. + + \optionitem{datea} the date associated with the first container. + + \optionitem{locationa} the location of the first container. + + \optionitem{supplementala} any supplemental information for the first container. + + \optionitem{titleb} the title of the second container; \biblatexmla will style |titleb| in italics, but subtitles and any necessary colons should be included within the this field. + + \optionitem{contributorb} any necessary contributors to the second container. + + \optionitem{versionb} the version or edition of the second container. + + \optionitem{numberb} the number of the second container. + + \optionitem{publisherb} the publisher of the second container. + + \optionitem{dateb} the date associated with the second container. + + \optionitem{locationb} the location of the second container. + + \optionitem{supplementalb} any supplemental information for the second container. + + + +\end{optionslistNOT} + +%%%%%%% + \section{Meta} \subsection{License} -\biblatexmla is copyrighted \textcopyright\ 2007--2016, by James Clawson. Permission is granted to copy, distribute, and modify this software under the terms of the \lppl, version 1.3: \mylink{http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt}. +\biblatexmla is copyrighted \textcopyright\ 2007--2021, by James Clawson. Permission is granted to copy, distribute, and modify this software under the terms of the \lppl, version 1.3: \mylink{http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt}. \subsection[Feedback]{Feedback} \label{int:feb} -If you have any questions, requests, or other feedback please email me. My email address is at the top of this document. If you end up improving the code to be more accurate to the \mla{} standard, please be kind to the rest of us and share; I'm very happy to incorporate improvements! If anything works differently than you feel it ought to work, please let me know. Apart from time and my willingness to write documentation, I'm limited only by the problems of which I'm unaware. +If you have any questions, requests, or other feedback please email me or reach out on GitHub. If you end up improving the code to be more accurate to the \mla{} standard, please be kind to the rest of us and share; I'm very happy to incorporate improvements! If anything works differently than you feel it ought to work, please let me know. Apart from time and my willingness to write documentation, I'm limited only by the problems of which I'm unaware. \end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples-new.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples-new.pdf Binary files differdeleted file mode 100644 index 24d703f317..0000000000 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples-new.pdf +++ /dev/null diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples-new.tex b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples-new.tex deleted file mode 100644 index 8bbaddb925..0000000000 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples-new.tex +++ /dev/null @@ -1,33 +0,0 @@ -\documentclass{article} -\usepackage[T1]{fontenc} -\usepackage[american]{babel} -\usepackage{csquotes} -% \setlength{\parindent}{0.5in} -\usepackage[style=mla-new,eprint=true]{biblatex} -\usepackage{hyperref} -\usepackage{libertine} - -\addbibresource{samples.bib} - -\begin{document} - -\section{Sample citations in text} -Here is a normal citation to an incollection work \autocite[7]{haggis99aa}. We will follow that up with a second citation to the same work \autocite[8]{haggis99aa}. Then we reference a book \autocite[194]{public08aa}. Finally, we reference an online work \autocite{Grammar-Girl2008}. - -Here is a citation for a thesis \autocite[22]{webb84aa}. We will cite it a second time \autocite[23]{webb84aa}. Next is a citation for a film \autocite{jhabvala85aa}. We will follow that up with a reference for a reference entry \autocite{reference-noon89aa}. After that is a citation for an entire issue of a journal \autocite{appiah92aa}. Keeping up the theme of unusual entry types, we add a reference for an unpublished work \autocite{salviatiXXaa}. Next we cite a review \autocite[224]{slater01aa}. Finally we reference an anonymous review \autocite[785]{danish1972aa}. - -Here is a citation for one work by an author with multiple works \autocite[12]{askme06aa}. We follow it up with a citation for a different work by the same author \autocite[34]{askme92aa}. Next, we show another call back to the first work \autocite[45]{askme06aa}, and we end it with a third reference to the first work \autocite[56]{askme06aa}. Here is a citation for a work with many authors \autocite[34]{Babich:2011dg}. And here is a second citation to the same work \autocite[32]{Babich:2011dg}. - -A typical citation \autocite[12]{morrison02aa}. Immediately subsequent citation to the same source \autocite[34]{morrison02aa}. Immediately subsequent citations lacking page reference \autocite{morrison02aa}. Citation to a text by a prolific author \autocite[12]{frye57ab}. Subsequent immediate citations to the same source \autocite[34]{frye57ab}. Citation to new source, same author \autocite[56]{frye91aa}.\footnote{The title of the new work ought to be printed here. I've just noticed this error right before submitting 1.9 to CTAN; expect this error to be fixed in the next update.} Citation interrupting those by Frye \autocite[101]{morrison02aa}. Author tracker starts over \autocite[78]{frye91aa}. Suppressing the author's name for an entry with a single attribution to a given author prints only the page numbers \autocite*[102]{morrison02aa}. Suppressing the name of a prolific author will print enough information to avoid ambiguity \autocite*[91]{frye57ab}. Suppressing author's name without a page number prints the title of the work \autocite*{morrison02aa}. Different author citation to reset trackers \autocite[91]{frye91aa}. Typical citation \autocite[12]{morrison02aa}. Citation using \verb|\mancite| to ignore the previous citation \mancite\autocite[34]{morrison02aa}. - -\section{Items still incomplete in the transition to version 1.9} -\begin{itemize} - \item Toggle for showing publication location - \item Toggle for showing URL - \item Toggle for ISBN, etc. -\end{itemize} - -\nocite{*} - -\printbibliography -\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples.pdf Binary files differdeleted file mode 100644 index ee6ecf2ff8..0000000000 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples.pdf +++ /dev/null diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples.tex b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples.tex deleted file mode 100644 index 525a36d2ed..0000000000 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/citation-examples.tex +++ /dev/null @@ -1,23 +0,0 @@ -\documentclass{article} -\usepackage[T1]{fontenc} -\usepackage[american]{babel} -\usepackage{csquotes} -\setlength{\parindent}{0.5in} -\usepackage[style=mla]{biblatex} -\usepackage{hyperref} -\usepackage{libertine} - -\addbibresource{samples.bib} - -\begin{document} - -Here is a normal citation to an incollection work \autocite[7]{haggis99aa}. We will follow that up with a second citation to the same work \autocite[8]{haggis99aa}. Then we reference a book \autocite[194]{public08aa}. Finally, we reference an online work \autocite{Grammar-Girl2008}. - -Here is a citation for a thesis \autocite[22]{webb84aa}. We will cite it a second time \autocite[23]{webb84aa}. Next is a citation for a film \autocite{jhabvala85aa}. We will follow that up with a reference for a reference entry \autocite{reference-noon89aa}. After that is a citation for an entire issue of a journal \autocite{appiah92aa}. Keeping up the theme of unusual entry types, we add a reference for an unpublished work \autocite{salviatiXXaa}. Next we cite a review \autocite[224]{slater01aa}. Finally we reference an anonymous review \autocite[785]{danish1972aa}. - -Here is a citation for one work by an author with multiple works \autocite[12]{askme06aa}. We follow it up with a citation for a different work by the same author \autocite[34]{askme92aa}. Next, we show another call back to the first work \autocite[45]{askme06aa}, and we end it with a third reference to the first work \autocite[56]{askme06aa}. Here is a citation for a work with many authors \autocite[34]{Babich:2011dg}. And here is a second citation to the same work \autocite[32]{Babich:2011dg}. - -A typical citation \autocite[12]{morrison02aa}. Immediately subsequent citation to the same source \autocite[34]{morrison02aa}. Immediately subsequent citations lacking page reference \autocite{morrison02aa}. Citation to a text by a prolific author \autocite[12]{frye57ab}. Subsequent immediate citations to the same source \autocite[34]{frye57ab}. Citation to new source, same author \autocite[56]{frye91aa}. Citation interrupting those by Frye \autocite[101]{morrison02aa}. Author tracker starts over \autocite[78]{frye91aa}. Suppressing the author's name for an entry with a single attribution to a given author prints only the page numbers \autocite*[102]{morrison02aa}. Suppressing the name of a prolific author will print enough information to avoid ambiguity \autocite*[91]{frye57ab}. Suppressing author's name without a page number prints the title of the work \autocite*{morrison02aa}. Different author citation to reset trackers \autocite[91]{frye91aa}. Typical citation \autocite[12]{morrison02aa}. Citation ignoring the previous citation \mancite\autocite[34]{morrison02aa}. - -\printbibliography -\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamples-new.bib b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/examples.bib index 3071955806..0e12af3a7a 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamples-new.bib +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/examples.bib @@ -1,11 +1,696 @@ -%% This BibTeX bibliography file was created using BibDesk. -%% http://bibdesk.sourceforge.net/ +@mlasource{mla:shaw, + author = {Jane Smith}, + title = {Heartbreak House}, + titletype = {part}, + contributora = {Directed by Robin Lefevre}, + publishera = {Roundabout Theatre Company}, + datea = {11 Oct. 2006}, + locationa = {American Airlines Theatre, New York City}, +} + +@patent{sorace, + author = {Sorace, Ronald E. and Reinhardt, Victor S. and Vaughn, Steven + A.}, + title = {High-Speed Digital-to-{RF} Converter}, + number = 5668842, + date = {1997-09-16}, + holder = {{Hughes Aircraft Company}}, + type = {patentus}, + options = {totalnames=true}, + langid = {english}, +} + +@patent{laufenberg, + author = {Laufenberg, Xaver and Eynius, Dominique and Suelzle, Helmut + and Usbeck, Stephan and Spaeth, Matthias and Neuser-Hoffmann, + Miriam and Myrzik, Christian and Schmid, Manfred and Nietfeld, + Franz and Thiel, Alexander and Braun, Harald and Ebner, + Norbert}, + title = {Elektrische Einrichtung und Betriebsverfahren}, + number = 1700367, + date = {2006-09-13}, + holder = {{Robert Bosch GmbH} and {Daimler Chrysler AG} and {Bayerische + Motoren Werke AG}}, + type = {patenteu}, + langid = {german}, +} + +@misc{misc:smith, + author = {Smith, Jane}, + title = {Personal interview}, + date = {2014-05-19}, +} + +@misc{elkm, + author = {Anne Elk}, + title = {Lecture on a Theory on Brontosauruses}, + date = {1972-11-16}, + publisher = {University of Python}, + location = {Monty}, + note = {Online lecture}, +} + +@bookinbook{tolstoy:kreutzer, + author = {Tolstoy, Leo}, + title = {Крейцерова соната}, + titleaddon = {\mkbibbrackets{Kreĭtserova sonata; \emph{Kreutzer Sonata}}}, + shorttitle = {Крейцерова \emph{\mkbibbrackets{\emph{Kreĭtserova}}}}, + volume = {27}, + pages = {5-78}, + crossref = {tolstoy:complete}, +} + +@incollection{tolstoy:readers, + author = {Tolstoy, Leo}, + title = {К читателям}, + titleaddon = {\mkbibbrackets{K chitateliam; To Readers}}, + shorttitle = {К читателям \mkbibbrackets{K chitateliam}}, + volume = {1}, + pages = {207-209}, + crossref = {tolstoy:complete}, +} + +@book{tolstoy:complete, + author = {Tolstoy, Leo}, + title = {Лев Толстой: Полное cобрание cочинений}, + titleaddon = {\mkbibbrackets{Lev Tolstoĭ: Polnoe sobranie sochineniĭ; \emph{Leo Tolstoy: Complete Collected Works}}}, + shorttitle = {Лев Толстой \emph{\mkbibbrackets{\emph{Lev Tolstoĭ}}}}, + langid = {other}, + volumes = {90}, + publisher = {Khudozhestvennaya Literatura}, + date = {1928/1958} +} + +@unpublished{librodehorasisabel, + Booktitle = {Libro de horas de Isabel I}, + Sorttitle = {Libro de horas de Isabel I}, + Library = {Real Biblioteca del Palacio Real de Madrid}, + Number = {II/Tesoro}, + Year = {15\textsuperscript{th}~c.}} + +@incollection{interview:amis, + author = {Amis, Kingsley}, + title = {Mimic and Moralist}, + entrysubtype = {interview}, + booktitle = {Interviews with Britain's Angry Young Men}, + bookauthor = {Dale Salwak}, + publisher = {Borgo Press}, + date = {1984}, + pages = {13-40} +} + + +@article{interview:gaitskill, + author = {Gaitskill, Mary}, + title = {Interview with Charles Bock}, + entrysubtype = {untitled}, + journal = {Mississippi Review}, + volume = {27}, + number = {3}, + date = {1999}, + pages = {129-150} +} + +@book{cejador33, + Address = {Madrid}, + Author = {Julio {Cejador y Frauca}}, + Edition = {3}, + Publisher = {Hernando}, + Title = {Historia de la lengua y literatura castellana}, + Volume = {1}, + Year = {1933}} + +@article{Babich:2011dg, + author = {Babich, L P and Kudryavtsev, A Yu and Kudryavtseva, M L and Kutsyk, I M}, + title = {Atmospheric Gamma-Ray and Neutron Flashes}, + journal = {Journal of Experimental and Theoretical Physics}, + date = {2011-02}, + volume = {106}, + number = {1}, + pages = {65--76}, + doi = {10.1134/S1063776108010056}, + language = {English}, + url = {http://link.springer.com/10.1134/S1063776108010056}, + urldate = {2013-03-30}} + +@online{shimabukuro2006aa, + Annote = {This is the citation for a YouTube video. I found this source listed in the OWL Purdue MLA Formatting and Style Guide.}, + Author = {Jake Shimabukuro}, + Date = {2006-04-22}, + Maintitle = {YouTube}, + Publisher = {YouTube}, + Titleaddon = {Online video clip}, + Title = {Ukulele Weeps by Jake Shimabukuro}, + Url = {www.youtube.com/watch?v=puSkP3uym5k}, + Urldate = {2013-03-04}} + +@online{Grammar-Girl2008, + Author = {{Grammar Girl}}, + Date = {2008-09-16}, + Date-Added = {2013-03-24 16:34:36 +0000}, + Date-Modified = {2013-03-24 16:41:10 +0000}, + Mainsubtitle = {Quick and Dirty Tips for Better Writing}, + Maintitle = {Grammar Girl}, + Nameaddon = {Mignon Fogarty}, + Publisher = {Macmillan}, + Title = {What Is the Plural of `Mouse'?}, + Url = {http://grammar.quickanddirtytips.com/the-plural-of-mouse.aspx}, + Urldate = {2013-03-04}, + Bdsk-Url-1 = {http://grammar.quickanddirtytips.com/the-plural-of-mouse.aspx}} + +@article{a, + Author = {Larry Port}, + Journal = {Law Practice: The Business of Practicing Law}, + Number = {5}, + Pages = {18}, + Title = {Four Ways to Eliminate Procrastination}, + Url = {http://search.ebscohost.com/login.aspx?direct=true&db=a9h&AN=54459308&site=ehost-live}, + Urldate = {2011-09-08}, + Volume = {36}, + Year = {2010}} + +@periodical{appiah92aa, + Annote = {This is the citation for a periodical entrytype. I found this source listed in the \emph{MLA Style Manual}.}, + Booktitle = {Critical Inquiry}, + Date-Added = {2008-10-20 14:15:43 +0100}, + Date-Modified = {2008-10-20 14:27:34 +0100}, + Editor = {Kwame Anthony Appiah and Gates, Jr., Henry Louis}, + Issuetitle = {Identities}, + Number = {4}, + Pages = {625--884.}, + Title = {Critical Inquiry}, + Volume = {18}, + Year = {1992}} + +@proceedings{smith09aa, + Address = {Amsterdam}, + Annote = {This is the citation for a proceedings entrytype.}, + Booktitle = {What a Cool Booktitle!}, + Date-Added = {2008-10-20 13:52:39 +0100}, + Date-Modified = {2008-10-27 08:18:19 +0000}, + Editor = {Bob Smith}, + Eventtitle = {Cool Titles Conf.}, + Institution = {Hali\c{c} University}, + Organization = {Funny Little Society}, + Pages = {101-112}, + Publisher = {Rodopi}, + Title = {What a Cool Booktitle!}, + Urldate = {2008-04-17}, + Venue = {Istanbul}, + Year = {2009}} + +@phdthesis{webb80ab, + Annote = {This is the citation for a phdthesis entrytype.}, + Author = {I. C. Webb}, + Date-Added = {2008-10-20 10:39:11 +0100}, + Date-Modified = {2008-10-20 10:59:54 +0100}, + Entrysubtype = {unpublished}, + Institution = {Correspondence Course State University}, + Location = {Somewhere, NB}, + Origyear = {1975}, + Publisher = {Routledge}, + Shorttitle = {MSc}, + Sorttitle = {MSc}, + Title = {An Unpublished Lic.~Phil.~Thesis}, + Type = {lic}, + Year = {1981}} + +@phdthesis{webb80aa, + Annote = {This is the citation for a phdthesis entrytype.}, + Author = {I. C. Webb}, + Date-Added = {2008-10-20 10:33:40 +0100}, + Date-Modified = {2008-10-20 11:12:18 +0100}, + Entrysubtype = {published}, + Institution = {Correspondence Course State University}, + Location = {Somewhere, NB}, + Number = {4}, + Origyear = {1975}, + Publisher = {Routledge}, + Series = {Transnational Thought}, + Shorttitle = {MSc}, + Sorttitle = {MSc}, + Title = {A Published MSc Thesis}, + Type = {msc}, + Year = {1981}} + +@article{slinger07ab, + Annote = {This is the citation for an article entrytype.}, + Author = {Mudd Slinger}, + Date = {2007-07-02}, + Date-Added = {2008-10-04 12:10:52 +0100}, + Date-Modified = {2008-10-04 12:40:18 +0100}, + Entrysubtype = {newspaper}, + Journal = {Copycat}, + Pages = {1-3}, + Shorttitle = {Sectional}, + Sorttitle = {Sectional 2}, + Title = {Sectional Sections with Numbers in Newspapers}} + +@article{slinger07aa, + Annote = {This is the citation for an article entrytype.}, + Author = {Mudd Slinger}, + Chapter = {4}, + Date = {2007-06-27}, + Date-Added = {2008-10-04 11:48:09 +0100}, + Date-Modified = {2008-10-04 12:39:49 +0100}, + Entrysubtype = {newspaper}, + Journaltitle = {Zeitgeist}, + Location = {Albuquerque}, + Pages = {2-4}, + Shorttitle = {Sectional}, + Sorttitle = {Sectional 1}, + Title = {Sectional Sections with Numbers in Newspapers}, + Version = {natl. ed.}} + +@book{craig87aa, + Address = {Aberdeen}, + Annote = {This is the citation for a book entrytype.}, + Author = {Craig, Cairns}, + Bookauthor = {Craig, Cairns}, + Date-Added = {2008-09-12 14:25:31 +0100}, + Date-Modified = {2008-09-12 14:26:29 +0100}, + Publisher = {Aberdeen UP}, + Title = {History of Scottish Literature}, + Volume = {2--3}, + Date = {1987/1988}} + +@book{gamer00aa, + Address = {Cambridge}, + Annote = {This is the citation for a book entrytype.}, + Author = {Gamer, Michael}, + Date-Added = {2008-09-12 14:21:23 +0100}, + Date-Modified = {2008-09-12 14:22:14 +0100}, + Number = {40}, + Publisher = {Cambridge UP}, + Series = {Cambridge Studies in Romanticism}, + Title = {Romanticism and the Gothic: Genre, Reception, and Canon Formation}, + Year = {2000}} + +@article{makward95ab, + Annote = {This is the citation for an article entrytype.}, + Author = {Christiane Makward}, + Date-Added = {2008-09-09 14:53:56 +0100}, + Date-Modified = {2008-10-04 11:42:47 +0100}, + Issuetitle = {Maryse Cond{\'e}}, + Journal = {Callaloo}, + Number = {3}, + Pages = {681--689}, + Shorttitle = {Reading}, + Title = {Reading Maryse Cond{\'e}'s Theater}, + Volume = {18}, + Year = {1995}} + +@article{makward95aa, + Annote = {This is the citation for an article entrytype. I found this source listed in the \emph{MLA Style Manual}.}, + Author = {Christiane Makward}, + Date-Added = {2008-09-09 14:21:14 +0100}, + Date-Modified = {2008-10-04 11:59:19 +0100}, + Editor = {Delphine Perret and Marie-Denise Shelton}, + Issuetitle = {Maryse Cond{\'e}}, + Journal = {Callaloo}, + Number = {3}, + Pages = {681--689}, + Shorttitle = {Reading}, + Title = {Reading Maryse Cond{\'e}'s Theater}, + Volume = {18}, + Year = {1995}} + +@inreference{reference-noon89aa, + Annote = {This is the citation for an inreference entrytype. I found this source listed in the \emph{MLA Style Manual}.}, + Booktitle = {The Oxford English Dictionary}, + Date-Added = {2008-05-08 14:08:17 +0100}, + Date-Modified = {2008-05-08 14:08:48 +0100}, + Edition = {2}, + Title = {Noon}, + Titleaddon = {Def.~4b}, + Date = {1989}} +@inreference{reference-ginsburg02aa, + Annote = {This is the citation for an inreference entrytype. I found this source listed in the \emph{MLA Style Manual}.}, + Booktitle = {Who's Who in Americana}, + Date-Added = {2008-05-08 14:03:36 +0100}, + Date-Modified = {2008-05-08 14:04:29 +0100}, + Edition = {56}, + Title = {Ginsburg, Ruth Bader}, + Year = {2002}} -%% Created for James M Clawson at 2013-03-24 11:49:03 -0500 +@inreference{mohanty87aa, + Annote = {This is the citation for an inreference entrytype. I found this source listed in the \emph{MLA Style Manual}.}, + Author = {Jitendra M. Mohanty}, + Booktitle = {The New Encyclopaedia Britannica}, + Booksubtitle = {Macropaedia}, + Date-Added = {2008-05-08 14:08:17 +0100}, + Date-Modified = {2008-05-08 14:08:48 +0100}, + Edition = {15}, + Title = {Indian Philosophy}, + Date = {1987}} + +@video{capra01aa, + Annote = {This is the citation for a video entrytype. I found this source listed in the \emph{MLA Style Manual}.}, + Date-Added = {2008-05-08 13:29:17 +0100}, + Date-Modified = {2008-10-20 19:05:07 +0100}, + Editor = {Frank Capra}, + Editortype = {director}, + Howpublished = {DVD}, + Namea = {James Stewart and Donna Read and Lionel Barrymore and Thomas Mitchell}, + Nameatype = {performers}, + Options = {useeditor=false}, + Origdate = {1946}, + Publisher = {Republic}, + Title = {It's a Wonderful Life}, + Year = {2001}} + +@video{jhabvala85aa, + Annote = {This is the citation for a video entrytype. I found this source listed in the \emph{MLA Style Manual}.}, + Author = {Ruth Prawer Jhabvala}, + Authortype = {adaptor}, + Bookauthor = {E. M. Forster}, + Date-Added = {2008-05-08 13:29:17 +0100}, + Date-Modified = {2008-10-20 19:04:40 +0100}, + Editor = {James Ivory}, + Editortype = {director}, + Namea = {Ismail Merchant}, + Nameatype = {producer}, + Nameb = {Maggie Smith and Denholm Eliot and Helena Bonham Carter and Daniel Day-Lewis}, + Namebtype = {performers}, + Publisher = {Cinecom Intl.~Films}, + Title = {A Room with a View}, + Year = {1985}} + +@review{danish1972aa, + Annote = {Listed here are examples of annotations listed within the Works Cited. This particular entry is the citation for a review entrytype. I found the source listed in the \emph{MLA Style Manual}.\par Define annotations in the .bib file, and call them with an option in the preamble. Indicate paragraph breaks using the ``par'' command.}, + Booktitle = {Anthology of Danish Literature}, + Date = {1972-07-07}, + Date-Added = {2008-05-05 12:05:33 +0100}, + Date-Modified = {2008-05-05 12:15:42 +0100}, + Editor = {F. J. Billeskov Jansen and P. M. Mitchell}, + Entrysubtype = {newspaper}, + Journaltitle = {Times Literary Supplement}, + Pages = {785}, + Sortname = {{Anthology of Danish Literature}}} + +@review{slater01aa, + Annote = {This is the citation for a review entrytype.}, + Author = {Lisa Slater}, + Bookauthor = {Kim Scott}, + Booktitle = {Benang: From the Heart}, + Date = {2001}, + Date-Added = {2008-05-05 11:18:18 +0100}, + Date-Modified = {2008-05-05 11:21:01 +0100}, + Journaltitle = {Southerly}, + Number = {1}, + Pages = {224}, + Title = {\emph{Benang}: \mkbibquote{I found myself among Paper}}, + Volume = {61}} + +@incollection{haggis99aa, + Annote = {This is the citation for an incollection entrytype.}, + Author = {Mary Haggis}, + Crossref = {reader99aa}, + Date-Added = {2007-08-14 12:55:28 +0100}, + Date-Modified = {2008-10-26 23:22:40 +0000}, + Origyear = {1965}, + Pages = {6-10}, + Title = {Another Article (Incollection) Cross-Reffing a Book}} + +@incollection{sampul99aa, + Annote = {This is the citation for an incollection entrytype.}, + Author = {F. I. N. Al Sampul}, + Crossref = {reader99aa}, + Date-Added = {2007-08-14 12:54:53 +0100}, + Date-Modified = {2007-08-14 12:55:25 +0100}, + Pages = {1-5}, + Title = {An Article Crossref-ing a Collection}} + +@collection{reader99aa, + Address = {Utopia, NB}, + Annote = {This is the citation for a collection entrytype.}, + Booktitle = {Book of Collected Things by Many People for Crossrefs}, + Date-Added = {2007-08-14 12:51:22 +0100}, + Date-Modified = {2007-08-14 13:10:32 +0100}, + Editor = {Ima G. Reader}, + Publisher = {Publishers, Ltd.}, + Shorttitle = {Book of Collected}, + Title = {Book of Collected Things by Many People for Crossrefs}, + Year = {1999}} + +@incollection{example99aa, + Annote = {This is the citation for an incollection entrytype.}, + Author = {Anna Other Example}, + Crossref = {public99ac}, + Date-Added = {2007-08-14 12:49:19 +0100}, + Date-Modified = {2007-08-14 12:51:16 +0100}, + Pages = {105-195}, + Shorttitle = {Incollection}, + Title = {Incollection Template}, + Volume = {1}} +@incollection{example99ab, + Annote = {This is the citation for an incollection entrytype.}, + Author = {Anna Other Example}, + Crossref = {public99ac}, + Date-Added = {2007-08-14 12:49:19 +0100}, + Date-Modified = {2007-08-14 12:51:16 +0100}, + Pages = {275-301}, + Shorttitle = {Yet Another}, + Title = {Yet Another Crossref Work}, + Volume = {1}} -%% Saved with string encoding Unicode (UTF-8) +@thesis{webb84aa, + Address = {Somewhere, NB}, + Annote = {This is the citation for a thesis entrytype.}, + Author = {I. C. Webb}, + Date-Added = {2007-08-14 12:48:08 +0100}, + Date-Modified = {2008-10-04 11:07:25 +0100}, + Note = {Nota bene}, + School = {Correspondence Course State University}, + Sorttitle = {Masters}, + Title = {The Masters Thesis Template}, + Titleaddon = {Nota bene}, + Type = {msc}, + Year = {1984}} + +@thesis{webb81aa, + Address = {Somewhere, NB}, + Annote = {This is the citation for a thesis entrytype.}, + Author = {I. C. Webb}, + Date-Added = {2007-08-14 12:46:19 +0100}, + Date-Modified = {2007-08-22 08:57:18 +0100}, + School = {Correspondence Course State University}, + Shorttitle = {PhD}, + Sorttitle = {PhD}, + Title = {A PhD Dissertation Template}, + Type = {phd}, + Year = {1981}} + +@article{webb83aa, + Annote = {This is the citation for an article entrytype.}, + Author = {I. C. Webb}, + Date-Added = {2008-01-29 12:44:36 +0100}, + Date-Modified = {2008-01-29 13:13:08 +0100}, + Journal = {Online Studies}, + Number = {1}, + Shorttitle = {Online}, + Title = {Online Article Template with Access Date}, + Url = {www.example.com/webb1983}, + Urldate = {2007-11-22}, + Volume = {9}, + Year = {1983}, + Bdsk-Url-1 = {www.example.com/webb1983}} + +@article{askme06aa, + Annote = {This is the citation for an article entrytype.}, + Author = {Donna Askme}, + Date-Added = {2007-08-14 12:43:03 +0100}, + Date-Modified = {2007-08-14 12:44:20 +0100}, + Journal = {Journal of Translated Articles}, + Month = {9}, + Pages = {12-19}, + Shorttitle = {Elaborate}, + Title = {Elaborate Article}, + Translator = {Minnie Tongues}, + Volume = {29}, + Year = {2006}} + +@article{askme92aa, + Annote = {This is the citation for an article entrytype.}, + Author = {Donna Askme}, + Journal = {Journal of Pseudonyms}, + Nameaddon = {Donnatella}, + Number = {1}, + Pages = {314--329}, + Shorttitle = {Unique}, + Title = {Unique Pseudonymity}, + Volume = {4}, + Year = {1992}} + +@article{taskme06aa, + Annote = {This is the citation for an article entrytype.}, + Author = {Donna Taskme}, + Date-Added = {2007-08-14 12:43:03 +0100}, + Date-Modified = {2007-08-14 12:44:20 +0100}, + Journal = {Journal of Translated Articles}, + Month = {9}, + Pages = {12-19}, + Shorthand = {EA}, + Shorttitle = {Elaborate Article}, + Title = {Elaborate Article with Shorthand}, + Translator = {Minnie Tongues}, + Volume = {29}, + Year = {2006}} + +@article{taskme07aa, + Annote = {This is the citation for an article entrytype.}, + Author = {Donna Taskme}, + Date-Added = {2007-08-14 12:43:03 +0100}, + Date-Modified = {2007-08-14 12:44:20 +0100}, + Journal = {Journal of Translated Articles}, + Month = {9}, + Pages = {12-19}, + Shorttitle = {Simple Article}, + Title = {Simple Article without Shorthand}, + Translator = {Minnie Tongues}, + Volume = {29}, + Year = {2007}} + +@article{doe05aa, + Annote = {This is the citation for an article entrytype.}, + Author = {Jane Doe}, + Date-Added = {2007-08-14 12:41:58 +0100}, + Date-Modified = {2007-08-14 12:42:46 +0100}, + Journal = {General Studies}, + Number = {4}, + Pages = {12-45}, + Shorttitle = {Default}, + Title = {Default Article Template}, + Volume = {4}, + Year = {2005}} + +@article{slinger02aa, + Annote = {This is the citation for an article entrytype.}, + Author = {Mudd Slinger}, + Date = {2002-10-13}, + Date-Added = {2007-08-14 12:41:58 +0100}, + Date-Modified = {2008-10-04 11:52:12 +0100}, + Entrysubtype = {newspaper}, + Journal = {Daily Newspaper}, + Location = {Toronto}, + Pages = {B1+}, + Shorttitle = {Newspaper}, + Title = {Newspaper Article}, + Version = {late ed.}} + +@book{public08aa, + Address = {Hello, HI}, + Annote = {This is the citation for a book entrytype.}, + Author = {John Q. Public}, + Booktitle = {Absolutely Elaborate Book Template}, + Date-Added = {2007-08-14 12:39:11 +0100}, + Date-Modified = {2007-08-14 12:41:55 +0100}, + Edition = {9}, + Editor = {Ima G. Reader}, + Number = {4}, + Origyear = {2007}, + Publisher = {Publishers Unlimited}, + Series = {Elaborate Book Template Series}, + Shorttitle = {Elaborate}, + Title = {Absolutely Elaborate Book Template}, + Translator = {Minnie Tongues}, + Year = {2008}} + +@incollection{beowulf06aa, + Address = {New York}, + Annote = {This is the citation for an incollection entrytype.}, + Booktitle = {The Norton Anthology of English Literature}, + Edition = {8}, + Editor = {Stephen Greenblatt and M. H. Abrams and Carol T. Christ and Alfred David and Barbara K. Lewalski and Lawrence Lipking and George M. Logan and Deidre Shauna Lynch}, + Options = {useeditor=false}, + Pages = {34-100}, + Publisher = {W. W. Norton}, + Title = {Beowulf}, + Volume = {1}, + Year = {2006}} + +@collection{public99ac, + Address = {Utopia, NB}, + Annote = {This is the citation for a collection entrytype.}, + Booktitle = {My Favorite Things}, + Date-Added = {2007-08-14 12:49:19 +0100}, + Date-Modified = {2007-08-14 12:51:16 +0100}, + Editor = {John Q. Public}, + Publisher = {Publishers, Ltd.}, + Shorttitle = {Collected}, + Title = {Collected Poems}, + Volume = {1}, + Year = {1999}} + +@book{public08ab, + Address = {Hello, HI}, + Annote = {This is the citation for a book entrytype.}, + Author = {John Q. Public and Mimi Moi}, + Booktitle = {Multi-Authored, More Elaborate Book Template}, + Edition = {9}, + Editor = {Ima G. Reader}, + Number = {4}, + Publisher = {Publishers Unlimited}, + Series = {Elaborate Book Template Series}, + Shorttitle = {Multi-Elaborate}, + Title = {Multi-Authored, More Elaborate Book Template}, + Translator = {Minnie Tongues}, + Year = {2008}} + +@book{coulson64aa, + Address = {New York}, + Annote = {This is the citation for a book entrytype. I found this source listed in the \emph{MLA Style Manual}.}, + Author = {Feodor Dostoevsky}, + Date-Modified = {2008-10-26 17:52:29 +0000}, + Editor = {George Gibian}, + Options = {useauthor=false,useeditor=false,usetranslator=true}, + Publisher = {Norton}, + Sorttitle = {Coulson, Jessie}, + Title = {Crime and Punishment}, + Translator = {Jessie Coulson}, + Year = {1964}} + +@book{public07aa, + Address = {Anywhere, NB}, + Annote = {This is the citation for a book entrytype.}, + Author = {John Q. Public}, + Booktitle = {Default Book Template}, + Date-Added = {2007-08-14 12:37:30 +0100}, + Date-Modified = {2007-08-14 12:39:01 +0100}, + Publisher = {Publishers, Ltd.}, + Shorttitle = {Default}, + Title = {Default Book Template}, + Year = {2007}} + +@book{king, + address = {Boston}, + series = {The King Legacy Series}, + title = {Where Do We Go from Here: Chaos or Community?}, + isbn = {978-0-8070-0067-0}, + shorttitle = {Where Do We Go from Here}, + publisher = {Beacon Press}, + location = {Boston}, + author = {King, Jr, Martin Luther}, + year = {2010}, + origdate = {1967}, + keywords = {African Americans, Civil rights, History, Race relations, Racism, United States} +} + +@article{social-media-family, + Author = {Ünal, Selime}, + ISSN = {21461961}, + Journal = {International Journal of Eurasia Social Sciences / Uluslararasi Avrasya Sosyal Bilimler Dergisi}, + Keywords = {SOCIAL media, FAMILIES, VIRTUAL reality, ACQUISITION of data, aile iletişimi, facebook, family communication, Healthy communication, Sağlıklı iletişim, sanal iletişim, social media, sosyal medya, virtual communication, aile iletişimi, Sağlıklı iletişim, sanal iletişim, sosyal medya, FACEBOOK (Web resource)}, + Number = {31}, + Pages = {550 - 578}, + Title = {The Effect of Social Media Use to the Time Spent With Family Members}, + Volume = {9}, + url = {http://search.ebscohost.com/login.aspx?direct=true&AuthType=ip,sso&db=a9h&AN=129236793&site=ehost-live&scope=site&custid=s8356098}, + Year = {2018}, + urldate = {2018-02-28} +} @inbook{plutarch, Author = {Plutarch}, @@ -47,19 +732,19 @@ Title = {Seattle; Historic Past Makes `Jewel of the Pacific Northwest' a Precious Commodity}} @book{Florida:2002fu, -Address = {Cambridge, MA}, -Author = {Richard Florida}, -Date-Added = {2012-05-14 23:18:17 +0000}, -Date-Modified = {2012-05-14 23:19:31 +0000}, -Publisher = {Basic Books}, -Title = {The Rise of the Creative Class}, -Year = {2002}} + Address = {Cambridge, MA}, + Author = {Richard Florida}, + Date-Added = {2012-05-14 23:18:17 +0000}, + Date-Modified = {2012-05-14 23:19:31 +0000}, + Publisher = {Basic Books}, + Title = {The Rise of the Creative Class}, + Year = {2002}} @COLLECTION{adorno-gs10.2, editor = {Rolf Tiedemann}, year = {2003}, - maintitle = {Gesammelte Schriften Bd. 10.2}, - mainsubtitle = {Kulturkritik und Gesellschaft II. Eingriffe. Stichworte}, + title = {Gesammelte Schriften Bd. 10.2}, + subtitle = {Kulturkritik und Gesellschaft II. Eingriffe. Stichworte}, publisher = {Suhrkamp}, location = {Frankfurt am Main}, author = {Theodor W. Adorno}, @@ -72,8 +757,8 @@ Year = {2002}} @COLLECTION{adorno-gs8, editor = {Rolf Tiedemann}, year = {2003}, - maintitle = {Gesammelte Schriften Bd. 8}, - mainsubtitle = {Soziologische Schriften I}, + title = {Gesammelte Schriften Bd. 8}, + subtitle = {Soziologische Schriften I}, publisher = {Suhrkamp}, location = {Frankfurt am Main}, author = {Theodor W. Adorno}, @@ -105,20 +790,6 @@ Year = {2002}} Title = {The Technology Ownership and Information Acquisition Habits of HBCU Freshmen}, Volume = {2}} -@online{Grammar-Girl2008, - Author = {{Grammar Girl}}, - Date = {2008-09-16}, - Date-Added = {2013-03-24 16:34:36 +0000}, - Date-Modified = {2013-03-24 16:41:10 +0000}, - Mainsubtitle = {Quick and Dirty Tips for Better Writing}, - Maintitle = {Grammar Girl}, - Nameaddon = {Mignon Fogarty}, - Publisher = {Macmillan}, - Title = {What Is the Plural of `Mouse'?}, - Url = {http://grammar.quickanddirtytips.com/the-plural-of-mouse.aspx}, - Urldate = {2013-03-04}, - Bdsk-Url-1 = {http://grammar.quickanddirtytips.com/the-plural-of-mouse.aspx}} - @book{crane17aa, Author = {Stephen Crane}, Booktitle = {The Red Badge of Courage}, @@ -127,7 +798,7 @@ Year = {2002}} Eprint = {NBMCAAAAYAAJ}, Eprinttype = {googlebooks}, Origdate = {1895}, - Publisher = {D. Appleton and Company}, + Publisher = {{D. Appleton and Company}}, Title = {The Red Badge of Courage}, Url = {http://books.google.com/books?id=NBMCAAAAYAAJ}, Urldate = {2010-04-16}, @@ -272,6 +943,7 @@ Year = {2002}} Author = {John Dewey}, Booktitle = {The School and Society}, Date = {1899}, + Options = {showlocation = true}, Date-Added = {2009-07-24 09:30:18 -0400}, Date-Modified = {2009-07-24 09:30:38 -0400}, Title = {The School and Society}} @@ -281,6 +953,7 @@ Year = {2002}} Author = {Richard Brome}, Booktitle = {The Dramatic Works of Richard Brome}, Date = {1873}, + Options = {showlocation = true}, Date-Added = {2009-07-24 09:25:16 -0400}, Date-Modified = {2009-07-24 09:25:46 -0400}, Title = {The Dramatic Works of Richard Brome}, @@ -336,7 +1009,7 @@ Year = {2002}} Date-Added = {2009-07-24 09:14:46 -0400}, Date-Modified = {2009-07-24 09:15:48 -0400}, Editor = {Jean Bessi\`{e}re}, - Publisher = {PUF}, + Publisher = {Presses Universitaires de France}, Subtitle = {Champs critiques}, Title = {Mythologies de l'\'{e}criture}} @@ -532,8 +1205,8 @@ Year = {2002}} Editoratype = {generaleditor}, Eventdate = {1969/1976}, Maintitle = {The University of Virginia Edition of the Works of Stephen Crane}, - Publisher = {UP of Virginia}, - Subtitle = {An Episode of the American Civil War}, + Publisher = {University Press of Virginia}, + Booksubtitle = {An Episode of the American Civil War}, Title = {The Red Badge of Courage}, Volume = {2}, Volumes = {10}} @@ -649,7 +1322,7 @@ Year = {2002}} Date-Added = {2009-07-22 10:40:33 -0400}, Date-Modified = {2009-07-22 10:40:57 -0400}, Editor = {Owen Dudley Edwards}, - Publisher = {Oxford UP}, + Publisher = {Oxford University Press}, Title = {The Oxford Sherlock Holmes}, Volume = {8}, Volumes = {9}} @@ -682,18 +1355,6 @@ Year = {2002}} Title = {The Letters of D.~H.~Lawrence}, Volume = {8}} -@book{doyle93ab, - Address = {New York}, - Author = {Arthur Conan Doyle}, - Booktitle = {The Oxford Sherlock Holmes}, - Date = {1993}, - Date-Added = {2009-07-22 10:20:00 -0400}, - Date-Modified = {2009-07-22 10:22:01 -0400}, - Editor = {Owen Dudley Edwards}, - Publisher = {Oxford UP}, - Title = {The Oxford Sherlock Holmes}, - Volume = {8}} - @book{wellek55aa, Address = {New Haven}, Author = {Ren\'{e} Wellek}, @@ -717,18 +1378,6 @@ Year = {2002}} Title = {The Letters of D.~H.~Lawrence}, Volumes = {8}} -@book{crane69aa, - Address = {Charlottesville}, - Author = {Stephen Crane}, - Booktitle = {The University of Virginia Edition of the Works of Stephen Crane}, - Date = {1969/1976}, - Date-Added = {2009-06-29 08:18:02 -0400}, - Date-Modified = {2010-02-15 11:38:32 -0600}, - Editor = {Fredson Bowers}, - Publisher = {UP of Virginia}, - Title = {The University of Virginia Edition of the Works of Stephen Crane}, - Volumes = {10}} - @book{churchill56aa, Address = {New York}, Author = {Winston S. Churchill}, @@ -799,18 +1448,6 @@ Year = {2002}} Title = {The Heath Anthology of American Literature}, Volumes = {2}} -@book{doyle93aa, - Address = {New York}, - Author = {Arthur Conan Doyle}, - Booktitle = {The Oxford Sherlock Holmes}, - Date = {1993}, - Date-Added = {2009-06-29 07:50:51 -0400}, - Date-Modified = {2009-06-29 07:51:40 -0400}, - Editor = {Owen Dudley Edwards}, - Publisher = {Oxford UP}, - Title = {The Oxford Sherlock Holmes}, - Volumes = {9}} - @book{blanco93aa, Address = {Hamden}, Booktitle = {The American Revolution}, @@ -830,7 +1467,7 @@ Year = {2002}} Date = {1985}, Date-Added = {2009-06-28 14:56:44 -0400}, Date-Modified = {2009-06-28 14:57:55 -0400}, - Edition = {Abr.~ed.}, + Edition = {\autocap{a}bridged~ed.}, Publisher = {Vintage-Random}, Title = {The Tale of Genji}, Translator = {Edward G. Seidensticker}} @@ -842,7 +1479,7 @@ Year = {2002}} Date = {1986}, Date-Added = {2009-06-28 14:55:59 -0400}, Date-Modified = {2009-06-28 14:56:39 -0400}, - Edition = {Rev.~ed.}, + Edition = {\autocap{r}evised~ed.}, Publisher = {Watts}, Subtitle = {The Hidden Epidemic}, Title = {Suicide}} @@ -854,8 +1491,8 @@ Year = {2002}} Date = {1997}, Date-Added = {2009-06-28 14:54:19 -0400}, Date-Modified = {2009-06-28 14:55:29 -0400}, - Edition = {Expanded ed.}, - Publisher = {U of Pennsylvania P}, + Edition = {Expanded edition}, + Publisher = {University of Pennsylvania Press}, Subtitle = {Translation and Colonization from \emph{The Tempest} to \emph{Tarzan}}, Title = {The Poetics of Imperialism}} @@ -971,7 +1608,7 @@ Year = {2002}} Editor = {Fredson Bowers}, Options = {useauthor=false}, Origdate = {1895}, - Publisher = {UP of Virginia}, + Publisher = {University Press of Virginia}, Sorttitle = {Red Badge of Courage}, Subtitle = {An Episode of the American Civil War}, Title = {The Red Badge of Courage}} @@ -1041,7 +1678,7 @@ Year = {2002}} Date-Modified = {2009-06-17 10:20:46 -0400}, Editor = {Fredson Bowers}, Origdate = {1895}, - Publisher = {UP of Virginia}, + Publisher = {University Press of Virginia}, Sorttitle = {Red Badge of Courage}, Subtitle = {An Episode of the American Civil War}, Title = {The Red Badge of Courage}} @@ -1170,17 +1807,6 @@ Year = {2002}} Entrysubtype = {foreword}, Pages = {x-xvi}} -@periodical{appiah92aa, - Date = {1992}, - Date-Added = {2009-06-16 13:07:41 -0400}, - Date-Modified = {2009-06-16 13:14:35 -0400}, - Editor = {Kwame Anthony Appiah and {Henry Louis Gates, Jr.}}, - Issuetitle = {Identities}, - Journaltitle = {Critical Inquiry}, - Number = {4}, - Pages = {625--884.}, - Volume = {18}} - @unpublished{smithXXaa, Author = {Sonia Smith}, Date-Added = {2009-06-16 12:02:53 -0400}, @@ -1195,15 +1821,16 @@ Year = {2002}} Library = {U of California}, Location = {Berkeley}, Note = {Mark Twain Papers}, - Titleaddon = {Notebook 32}, + Title = {Notebook 32}, + Entrysubtype = {untitled}, Type = {typescript}} @unpublished{octovianXXaa, Booktitle = {Octovian}, Date-Added = {2009-06-16 12:02:53 -0400}, Date-Modified = {2009-06-16 12:02:53 -0400}, - Library = {Dean and Chapter Lib.}, - Location = {Lincolnshire, Eng.}, + Library = {Dean and Chapter Library}, + Location = {Lincolnshire, England}, Number = {91}, Sorttitle = {Octovian}, Type = {manuscript}} @@ -1223,11 +1850,11 @@ Year = {2002}} Booktitle = {The Canterbury Tales}, Date-Added = {2009-06-16 12:02:14 -0400}, Date-Modified = {2009-06-16 12:02:14 -0400}, - Library = {British Lib.}, + Library = {British Library}, Location = {London}, Number = {7334}, - Title = {The Canterbury Tales}, - Type = {Harley ms}} + Type = {Harley MS}, + Origdate = {1400~/1410}} @book{wpa00aa, Address = {Tuscaloosa}, @@ -1383,25 +2010,6 @@ Year = {2002}} Title = {Privacy in Health Care}, Volumes = {5}} -@inreference{noon89aa, - Booktitle = {The Oxford English Dictionary}, - Date = {1989}, - Date-Added = {2009-05-27 14:19:08 +0100}, - Date-Modified = {2009-05-27 14:23:26 +0100}, - Edition = {2}, - Title = {Noon}, - Titleaddon = {Def.~4b}} - -@inreference{mohanty87aa, - Author = {Jitendra M. Mohanty}, - Booksubtitle = {Macropaedia}, - Booktitle = {The New Encyclopedia Britannica}, - Date = {1987}, - Date-Added = {2009-05-27 14:18:08 +0100}, - Date-Modified = {2009-05-27 14:18:56 +0100}, - Edition = {15}, - Title = {Indian Philosophy}} - @inreference{mandarin94aa, Booktitle = {The Encyclopedia Americana}, Date = {1994}, @@ -1410,14 +2018,6 @@ Year = {2002}} Edition = {1994}, Title = {Mandarin}} -@inreference{ginsburg02aa, - Booktitle = {Who's Who in Americana}, - Date = {2002}, - Date-Added = {2009-05-27 13:00:23 +0100}, - Date-Modified = {2009-05-27 13:00:56 +0100}, - Edition = {56}, - Title = {Ginsburg, Ruth Bader}} - @inreference{azimuthal93aa, Booktitle = {Merriam-Webster's Collegiate Dictionary}, Date = {1993}, @@ -1450,7 +2050,7 @@ Year = {2002}} Entrysubtype = {book}, Origdate = {1845}, Pages = {267--368}, - Publisher = {Lib. of Amer.}, + Publisher = {Library of America}, Shorttitle = {Narrative}, Title = {Narrative of the Life of Frederick Douglass, an American Slave, Written by Himself}} @@ -1988,51 +2588,4 @@ Year = {2002}} Date-Modified = {2010-02-12 11:24:53 -0600}, Editor = {Joyce Carol Oates and Robert Atwan}, Publisher = {Houghton}, - Sorttitle = {Best American Essays of the Century}} - -@comment{BibDesk Smart Groups{ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<array> - <dict> - <key>conditions</key> - <array> - <dict> - <key>comparison</key> - <integer>4</integer> - <key>key</key> - <string>Doublecheck</string> - <key>value</key> - <string>-</string> - <key>version</key> - <string>1</string> - </dict> - </array> - <key>conjunction</key> - <integer>0</integer> - <key>group name</key> - <string>Doublecheck</string> - </dict> - <dict> - <key>conditions</key> - <array> - <dict> - <key>comparison</key> - <integer>0</integer> - <key>key</key> - <string>Date-Added</string> - <key>value</key> - <string></string> - <key>version</key> - <string>1</string> - </dict> - </array> - <key>conjunction</key> - <integer>0</integer> - <key>group name</key> - <string>today</string> - </dict> -</array> -</plist> -}} + Sorttitle = {Best American Essays of the Century}}
\ No newline at end of file diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/examples.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/examples.pdf Binary files differnew file mode 100644 index 0000000000..5309046352 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/examples.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/examples.tex b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/examples.tex new file mode 100644 index 0000000000..1f9c8aee57 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/examples.tex @@ -0,0 +1,46 @@ +% !TEX TS-program = xelatex +\documentclass{article} +\usepackage{fontspec} +\setmainfont{Times} +\usepackage[american]{babel} +\usepackage{csquotes} +% \setlength{\parindent}{0.5in} +\usepackage[style=mla]{biblatex} +\usepackage{hyperref} +\hypersetup{colorlinks,% +citecolor=black,% +% filecolor=black,% +linkcolor=black,% +urlcolor=black +} + +\addbibresource{examples.bib} + +\begin{document} + +\section{Citations to Sources} +Here is a normal citation to an incollection work \autocite[7]{haggis99aa}. We will follow that up with a second citation to the same work \autocite[8]{haggis99aa}. Then we reference a book \autocite[194]{public08aa}. Finally, we reference an online work \autocite{Grammar-Girl2008}. + +Here is a citation for a thesis \autocite[22]{webb84aa}. We will cite it a second time \autocite[23]{webb84aa}. Next is a citation for a film \autocite{jhabvala85aa}. We will follow that up with a reference for a reference entry \autocite{reference-noon89aa}. After that is a citation for an entire issue of a journal \autocite{appiah92aa}. Keeping up the theme of unusual entry types, we add a reference for an unpublished work \autocite{salviatiXXaa}. Next we cite a review \autocite[224]{slater01aa}. Finally we reference an anonymous review \autocite[785]{danish1972aa}. + +Here is a citation for one work by an author with multiple works \autocite[12]{askme06aa}. We follow it up with a citation for a different work by the same author \autocite[34]{askme92aa}. Next, we show another call back to the first work \autocite[45]{askme06aa}, and we end it with a third reference to the first work \autocite[56]{askme06aa}. Here is a citation for a work with many authors \autocite[34]{Babich:2011dg}. And here is a second citation to the same work \autocite[32]{Babich:2011dg}. + +Here's a citation for a native MLA-style, nonsemantic entry fashioned from containers \autocite{mla:shaw}. This ``containerized'' type is not generally recommended for widespread use, but it is included here to allow for maximum compatibility with the 9th edition of the \emph{MLA Handbook}. Here's a citation for a patent with the option enabled to show all authors in a citation and entry \autocite[12]{sorace}. Here's a citation for another patent without this option set \autocite[102]{laufenberg}. Here's a citation to a personal interview \autocite{misc:smith}, and here's one to an online lecture \autocite{elkm}. + +Here's a book-length work by Tolstoy, showing a citation using non-Latin characters \autocite[22]{tolstoy:kreutzer}. Here's an entry with a general editor \autocite{crane69ab}; notice, too, that the publisher name is automatically truncated. Here's an essay-length work by Tolstoy with the title styled differently \autocite[22]{tolstoy:readers}. + +This is another typical citation \autocite[12]{morrison02aa}. This is an immediately subsequent citation to the same source \autocite[34]{morrison02aa}, followed by an example of immediately subsequent citations lacking page reference \autocite{morrison02aa}. This one shows a citation to a text by a prolific author \autocite[12]{frye57ab}. Subsequent immediate citations to the same source look like this \autocite[34]{frye57ab}. Citations to a different source, same author, look like this \autocite[56]{frye91aa}. A citation to a source by a different author will reset some of these trackers \autocite[101]{morrison02aa}. Another citation to a different author again resets the author tracker \autocite[78]{frye91aa}. Suppressing the author's name for someone like Morrison with only one source in the bibliography will print only the page numbers \autocite*[102]{morrison02aa}. Suppressing the name of a prolific author like Frye will print enough information to avoid ambiguity \autocite*[91]{frye57ab}. Suppressing Morrison's name without a page number prints the title of the work \autocite*{morrison02aa}. Different author citation to reset trackers \autocite[91]{frye91aa}. Typical citation \autocite[12]{morrison02aa}. Citation using \verb|\mancite| to ignore the previous citation \mancite\autocite[34]{morrison02aa}. + +\section{Metadata from Sources} +In addition to the above citations, it is also possible to use commands within a sentence to reference specific metadata for sources without having to look up this metadata directly. Using correct styling, these commands will print the full or shortened names of a work's author(s), the full or shortened title, and the year of publication, respectively: \verb|\citeauthor{}|, \verb|\citeauthor*{}|, \verb|\citetitle{}|, \verb|\citetitle*{}|, and \verb|\citeyear{}|. The starred and unstarred variants of these commands might eventually swap places, so please keep this instability in mind with future updates. + +This is the unstarred use of the first command to reference the full names of \citeauthor{appiah92aa}. It is followed by the starred use to cite just the last names of \citeauthor*{appiah92aa}. + +Here's an unstarred command to cite the title of a source with a defined \verb!shorttitle! field: \citetitle{wpa00aa}. Here's the starred version, which prints the long version of the title: \citetitle*{wpa00aa}. Here's the same effect using a work with no short title: \citetitle{librodehorasisabel}. And here's the starred variant of the same source, showing no change: \citetitle*{librodehorasisabel}. The command also works for a title which ought to be printed in quotation marks: \citetitle{Babich:2011dg}. Even though the command appears before the final period, this punctuation is pulled inside the quotation marks when using American localization. + +Finally, here's an example showing the year alongside the title and author, using code to explain that our version of \citetitle{interview:amis} by \citeauthor{interview:amis} was published in \citeyear{interview:amis}. + +\nocite{*} + +\printbibliography +\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib-new.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib-new.pdf Binary files differdeleted file mode 100644 index 3fcfd4fd80..0000000000 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib-new.pdf +++ /dev/null diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib-new.tex b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib-new.tex deleted file mode 100644 index e7440cff74..0000000000 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib-new.tex +++ /dev/null @@ -1,18 +0,0 @@ -\documentclass{article} -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage[american]{babel} -\usepackage{csquotes} -\usepackage[style=mla-new,eprint=true]{biblatex} -\usepackage{hyperref} -\usepackage{libertine} - -\addbibresource{handbooksamples-new.bib} - -\begin{document} - -% \autocite{dietze82aa} -\nocite{*} - -\printbibliography -\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib.pdf Binary files differdeleted file mode 100644 index ab6aecbb42..0000000000 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib.pdf +++ /dev/null diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib.tex b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib.tex deleted file mode 100644 index c0e20c09e7..0000000000 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamplebib.tex +++ /dev/null @@ -1,17 +0,0 @@ -\documentclass{article} -\usepackage[T1]{fontenc} -\usepackage[american]{babel} -\usepackage{csquotes} -\usepackage[style=mla]{biblatex} -\usepackage{hyperref} -\usepackage{libertine} - -\addbibresource{handbooksamples.bib} - -\begin{document} - -%\autocite{dietze82aa} -\nocite{*} - -\printbibliography -\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamples.bib b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamples.bib deleted file mode 100644 index 9188fc7f89..0000000000 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/handbooksamples.bib +++ /dev/null @@ -1,2038 +0,0 @@ -%% This BibTeX bibliography file was created using BibDesk. -%% http://bibdesk.sourceforge.net/ - - -%% Created for James M Clawson at 2013-03-24 11:49:03 -0500 - - -%% Saved with string encoding Unicode (UTF-8) - -@inbook{plutarch, - Author = {Plutarch}, - Booktitle = {Plutarch's Lives, Volume I}, - Title = {Life of Lykurgus}, - Translator = {Aubrey Stewart and George Long}, - Publisher = {Project Gutenberg}, - Date = {2004}, - URL = {http://www.gutenberg.org/files/14033/14033-h/14033-h.htm}, - Urldate = {2013-04-08}} - -@article{engle, - Author = {Gwendolyn Compton-Engle}, - Title = {Stolen Cloaks in Aristophanes' `Ecclesiazusae'}, - Journaltitle = {Transactions of the American Philological Association (1974-- )}, - Volume = {135}, - Number = {1}, - Issue = {Spring}, - Date = {2005}, - Pages = {163-176}, - Eprint = {20054125}, - Eprinttype = {jstor}, - URL = {http://www.jstor.org/stable/20054125}, - Urldate = {2013-04-08}} - -@article{Balcone:xx, - Author = {Pete Balcone}, - Date = {1997-09-28}, - Journal = {The Pantagraph}, - Pages = {B1}, - Title = {This is an article that doesn't set the entrysubtype as newspaper}} - -@article{Falcone:xx, - Author = {Pete Falcone}, - Date = {1997-09-28}, - Entrysubtype = {newspaper}, - Journal = {The Pantagraph}, - Pages = {B1}, - Title = {Seattle; Historic Past Makes `Jewel of the Pacific Northwest' a Precious Commodity}} - -@book{Florida:2002fu, -Address = {Cambridge, MA}, -Author = {Richard Florida}, -Date-Added = {2012-05-14 23:18:17 +0000}, -Date-Modified = {2012-05-14 23:19:31 +0000}, -Publisher = {Basic Books}, -Title = {The Rise of the Creative Class}, -Year = {2002}} - -@COLLECTION{adorno-gs10.2, - editor = {Rolf Tiedemann}, - year = {2003}, - maintitle = {Gesammelte Schriften Bd. 10.2}, - mainsubtitle = {Kulturkritik und Gesellschaft II. Eingriffe. Stichworte}, - publisher = {Suhrkamp}, - location = {Frankfurt am Main}, - author = {Theodor W. Adorno}, - howpublished = {Print}, - options = {useeditor=false}, - owner = {jakob}, - shortauthor = {{In: GS 10.2}}, - timestamp = {30.03.2012}} - -@COLLECTION{adorno-gs8, - editor = {Rolf Tiedemann}, - year = {2003}, - maintitle = {Gesammelte Schriften Bd. 8}, - mainsubtitle = {Soziologische Schriften I}, - publisher = {Suhrkamp}, - location = {Frankfurt am Main}, - author = {Theodor W. Adorno}, - howpublished = {Print}, - options = {useeditor=false}, - owner = {jakob}, - shortauthor = {{In: GS 8}}, - timestamp = {30.03.2012}} - -@article{buzetto-more2006aa, - Author = {Nicole A. Buzetto-More and Retta Sweat-Guy}, - Date = {2006}, - Date-Added = {2013-03-24 16:48:59 +0000}, - Date-Modified = {2013-03-24 16:48:59 +0000}, - Journal = {Journal of Information Technology Education}, - Pages = {153-164}, - Shorttitle = {Incorporating}, - Title = {Incorporating the Hybrid Learning Model into Minority Education at a Historically Black University}, - Volume = {5}} - -@article{buzetto-more2007aa, - Author = {Nicole A. Buzetto-More and Retta Sweat-Guy}, - Date = {2007-03-24}, - Date-Added = {2013-03-24 16:48:59 +0000}, - Date-Modified = {2013-03-24 16:48:59 +0000}, - Journal = {Interdisciplinary Journal of Information, Knowledgement, and Management}, - Pages = {59-72}, - Shorttitle = {Technology Ownership}, - Title = {The Technology Ownership and Information Acquisition Habits of HBCU Freshmen}, - Volume = {2}} - -@online{Grammar-Girl2008, - Author = {{Grammar Girl}}, - Date = {2008-09-16}, - Date-Added = {2013-03-24 16:34:36 +0000}, - Date-Modified = {2013-03-24 16:41:10 +0000}, - Mainsubtitle = {Quick and Dirty Tips for Better Writing}, - Maintitle = {Grammar Girl}, - Nameaddon = {Mignon Fogarty}, - Publisher = {Macmillan}, - Title = {What Is the Plural of `Mouse'?}, - Url = {http://grammar.quickanddirtytips.com/the-plural-of-mouse.aspx}, - Urldate = {2013-03-04}, - Bdsk-Url-1 = {http://grammar.quickanddirtytips.com/the-plural-of-mouse.aspx}} - -@book{crane17aa, - Author = {Stephen Crane}, - Booktitle = {The Red Badge of Courage}, - Date-Added = {2010-04-18 08:22:46 -0500}, - Date-Modified = {2010-04-18 08:28:50 -0500}, - Eprint = {NBMCAAAAYAAJ}, - Eprinttype = {googlebooks}, - Origdate = {1895}, - Publisher = {D. Appleton and Company}, - Title = {The Red Badge of Courage}, - Url = {http://books.google.com/books?id=NBMCAAAAYAAJ}, - Urldate = {2010-04-16}, - Year = {1917}, - Bdsk-Url-1 = {http://books.google.com/books?id=NBMCAAAAYAAJ}} - -@suppbook{doctorow82aa, - Address = {New York}, - Author = {E. L. Doctorow}, - Bookauthor = {Theodore Dreiser}, - Booktitle = {Sister Carrie}, - Date = {1982}, - Date-Added = {2009-07-27 12:37:15 -0400}, - Date-Modified = {2009-07-27 12:38:25 -0400}, - Entrysubtype = {introduction}, - Pages = {v-xi}, - Publisher = {Bantam}} - -@book{murasaki-shikibu76aa, - Address = {New York}, - Author = {{Murasaki Shikibu}}, - Booktitle = {The Tale of Genji}, - Date = {1976}, - Date-Added = {2009-07-27 10:31:55 -0400}, - Date-Modified = {2009-07-27 10:32:36 -0400}, - Options = {useauthor=false,usetranslator=true}, - Publisher = {Knopf}, - Title = {The Tale of Genji}, - Translator = {Edward G. Seidensticker}} - -@thesis{fullerton01aa, - Addendum = {AAT 3023579}, - Address = {Ann Arbor}, - Author = {Matilda Fullerton}, - Date = {2001}, - Date-Added = {2009-07-24 10:05:36 -0400}, - Date-Modified = {2009-07-24 10:11:14 -0400}, - Entrysubtype = {published}, - Origdate = {2001}, - Publisher = {UMI}, - School = {Washington State U}, - Subtitle = {Towards a Feminist Educational Leadership Model}, - Title = {Women's Leadership in the Public Schools}, - Type = {phd}} - -@thesis{dietze82aa, - Address = {N\"{u}rnburg}, - Author = {Rudolf F. Dietze}, - Date = {1982}, - Date-Added = {2009-07-24 09:54:34 -0400}, - Date-Modified = {2009-07-24 10:05:05 -0400}, - Entrysubtype = {published}, - Number = {70}, - Origdate = {1982}, - Publisher = {Carl}, - School = {U Erlangen-N\"{u}rnburg}, - Series = {Erlanger Beitr\"{a}ge zur Sprach- und Kunstwissenschaft}, - Subtitle = {The Genesis of an Artist}, - Title = {Ralph Ellison}, - Type = {phd}} - -@thesis{kelly01aa, - Author = {Mary Kelly}, - Date = {2001}, - Date-Added = {2009-07-24 09:52:59 -0400}, - Date-Modified = {2009-07-24 09:53:28 -0400}, - School = {U of Michigan}, - Title = {Factors Predicting Hospital Readmission of Normal Newborns}, - Type = {phd}} - -@thesis{boyle83aa, - Author = {Anthony T. Boyle}, - Date = {1983}, - Date-Added = {2009-07-24 09:51:50 -0400}, - Date-Modified = {2009-07-24 09:52:56 -0400}, - School = {New York U}, - Title = {The Epistemological Evolution of Renaissance Utopian Literature, 1516--1657}, - Type = {phd}} - -@book{sendak63aa, - Addendum = {n.~pag.}, - Address = {New York}, - Author = {Maurice Sendak}, - Booktitle = {Where the Wild Things Are}, - Date = {1963}, - Date-Added = {2009-07-24 09:43:27 -0400}, - Date-Modified = {2009-07-24 09:44:13 -0400}, - Publisher = {Harper}, - Title = {Where the Wild Things Are}} - -@book{photographic-viewXXaa, - Addendum = {n.~pag.}, - Address = {[Eng.]}, - Booktitle = {Photographic View Album of Cambridge}, - Date-Added = {2009-07-24 09:41:10 -0400}, - Date-Modified = {2010-04-18 08:44:04 -0500}, - Publisher = {n.p.}, - Title = {Photographic View Album of Cambridge}, - Year = {n.d.}} - -@booklet{michelangelo92aa, - Addendum = {n.~pag.}, - Address = {New York}, - Author = {Michelangelo}, - Date = {1992}, - Date-Added = {2009-07-24 09:37:38 -0400}, - Date-Modified = {2009-07-24 09:50:04 -0400}, - Publisher = {Wings}, - Title = {The Sistine Chapel}} - -@proceedings{malachi09aa, - Address = {[Tel Aviv]}, - Booktitle = {Proceedings of the International Conference on Literary and Linguistic Computing}, - Date-Added = {2009-07-24 09:36:10 -0400}, - Date-Modified = {2010-12-16 18:04:00 -0600}, - Editor = {Zvi Malachi}, - Options = {nodate}, - Publisher = {[Fac.\ of Humanities, Tel Aviv U]}, - Title = {Proceedings of the International Conference on Literary and Linguistic Computing}} - -@book{bauer71aa, - Address = {[Stuttgart]}, - Author = {Johann Bauer}, - Booktitle = {Kafka und Prag}, - Date-Added = {2009-07-24 09:32:48 -0400}, - Date-Modified = {2010-04-18 08:43:22 -0500}, - Publisher = {Belser}, - Title = {Kafka und Prag}, - Year = {[1971?]}} - -@book{segni49aa, - Address = {Firenze}, - Author = {Bernardo Segni}, - Booktitle = {Rettorica et poetica d'Aristotile}, - Date = {1549}, - Date-Added = {2009-07-24 09:31:02 -0400}, - Date-Modified = {2009-07-24 09:31:25 -0400}, - Title = {Rettorica et poetica d'Aristotile}} - -@book{dewey99aa, - Address = {Chicago}, - Author = {John Dewey}, - Booktitle = {The School and Society}, - Date = {1899}, - Date-Added = {2009-07-24 09:30:18 -0400}, - Date-Modified = {2009-07-24 09:30:38 -0400}, - Title = {The School and Society}} - -@book{brome73aa, - Address = {London}, - Author = {Richard Brome}, - Booktitle = {The Dramatic Works of Richard Brome}, - Date = {1873}, - Date-Added = {2009-07-24 09:25:16 -0400}, - Date-Modified = {2009-07-24 09:25:46 -0400}, - Title = {The Dramatic Works of Richard Brome}, - Volumes = {3}} - -@book{poche77aa, - Address = {Praha [Prague]}, - Author = {Emanuel Poche}, - Booktitle = {Prazsk\'{e} Palace}, - Date = {1977}, - Date-Added = {2009-07-24 09:22:31 -0400}, - Date-Modified = {2009-07-24 09:23:06 -0400}, - Publisher = {Odeon}, - Title = {Prazsk\'{e} Palace}} - -@book{maraini00aa, - Address = {Milano}, - Author = {Dacia Maraini}, - Booktitle = {Amata scrittura}, - Date = {2000}, - Date-Added = {2009-07-24 09:21:30 -0400}, - Date-Modified = {2009-07-24 09:22:26 -0400}, - Editor = {Viviana Rosi and Maria Pia Simonetti}, - Publisher = {Rizzoli}, - Subtitle = {Laboratorio di analisi, letture, proposte, conversazioni}, - Title = {Amata scrittura}} - -@book{esquivel89aa, - Address = {M\'{e}xico, DF [Mexico City]}, - Author = {Laura Esquivel}, - Booktitle = {Como agua para chocolate}, - Date = {1989}, - Date-Added = {2009-07-24 09:16:41 -0400}, - Date-Modified = {2009-07-24 09:21:27 -0400}, - Publisher = {Planeta}, - Subtitle = {Novelas de entregas mensuales, con recetas, amores y remedios caseros}, - Title = {Como agua para chocolate}} - -@book{dahlhaus67aa, - Address = {K\"{o}ln}, - Author = {Carl Dahlhaus}, - Booktitle = {Musik\"{a}sthetik}, - Date = {1967}, - Date-Added = {2009-07-24 09:15:54 -0400}, - Date-Modified = {2009-07-24 09:16:38 -0400}, - Publisher = {Gerig}, - Title = {Musik\"{a}sthetik}} - -@book{bessiere90aa, - Address = {Paris}, - Booktitle = {Mythologies de l'\'{e}criture}, - Date = {1990}, - Date-Added = {2009-07-24 09:14:46 -0400}, - Date-Modified = {2009-07-24 09:15:48 -0400}, - Editor = {Jean Bessi\`{e}re}, - Publisher = {PUF}, - Subtitle = {Champs critiques}, - Title = {Mythologies de l'\'{e}criture}} - -@proceedings{freed91aa, - Address = {Lexington}, - Booktitle = {Foreign Language Acquisition Research and the Classroom}, - Date = {1991}, - Date-Added = {2009-07-23 13:24:40 -0400}, - Date-Modified = {2010-04-18 08:39:04 -0500}, - Editor = {Barbara F. Freed}, - Eventdate = {1989-10}, - Eventtitle = {Consortium for Lang.\ Teaching and Learning Conf.}, - Institution = {U of Pennsylvania}, - Publisher = {Heath}, - Title = {Foreign Language Acquisition Research and the Classroom}} - -@inproceedings{hualde00aa, - Address = {Berkeley}, - Author = {Jos\'{e} Ignacio Hualde}, - Booktitle = {Proceedings of the Twenty-Fifth Annual Meeting of the Berkeley Linguistics Society, February 12--15, 1999: General Session and Parassession on Loan Word Phenomena}, - Date = {2000}, - Date-Added = {2009-07-23 13:23:06 -0400}, - Date-Modified = {2009-07-23 13:24:38 -0400}, - Editor = {Steve S. Chang and Lily Liaw and Josef Ruppenhofer}, - Pages = {348--58}, - Publisher = {Berkeley Linguistics Soc.}, - Title = {Patterns of Correspondence in the Adaptation of Spanish Borrowings in Basque}} - -@proceedings{chang00aa, - Address = {Berkeley}, - Booktitle = {Proceedings of the Twenty-Fifth Annual Meeting of the Berkeley Linguistics Society, February 12--15, 1999: General Session and Parassession on Loan Word Phenomena}, - Date = {2000}, - Date-Added = {2009-07-23 13:17:06 -0400}, - Date-Modified = {2009-07-23 13:22:37 -0400}, - Editor = {Steve S. Chang and Lily Liaw and Josef Ruppenhofer}, - Publisher = {Berkeley Linguistics Soc.}, - Title = {Proceedings of the Twenty-Fifth Annual Meeting of the Berkeley Linguistics Society, February 12--15, 1999: General Session and Parassession on Loan Word Phenomena}} - -@booklet{washingtondc00aa, - Annote = {This is the citation for a booklet entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Date = {2000}, - Date-Added = {2009-07-23 13:12:40 -0400}, - Date-Modified = {2009-07-23 13:12:40 -0400}, - Location = {New York}, - Publisher = {Trip Builder}, - Title = {Washington, DC}} - -@booklet{renoir94aa, - Annote = {This is the citation for a booklet entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Date = {1994}, - Date-Added = {2009-07-23 13:12:40 -0400}, - Date-Modified = {2009-07-23 13:12:40 -0400}, - Location = {New York}, - Publisher = {Dover}, - Title = {Renoir Lithographs}} - -@book{morrison02aa, - Address = {New York}, - Author = {Toni Morrison}, - Booktitle = {Sula}, - Date = {2002}, - Date-Added = {2009-07-23 13:09:43 -0400}, - Date-Modified = {2009-07-23 13:10:14 -0400}, - Origdate = {1973}, - Publisher = {Plume-Penguin}, - Title = {Sula}} - -@book{dreiser00aa, - Address = {New York}, - Author = {Theodore Dreiser}, - Booktitle = {Sister Carrie}, - Date = {2000}, - Date-Added = {2009-07-23 13:04:33 -0400}, - Date-Modified = {2009-07-23 13:05:29 -0400}, - Introduction = {Richard Lingeman}, - Origdate = {1900}, - Publisher = {New Amer.\ Lib.-Penguin}, - Title = {Sister Carrie}} - -@book{douglas93aa, - Address = {London}, - Author = {Mary Douglas}, - Booktitle = {Purity and Danger}, - Date = {1993}, - Date-Added = {2009-07-23 13:03:34 -0400}, - Date-Modified = {2009-07-23 13:04:10 -0400}, - Origdate = {1966}, - Publisher = {Routledge}, - Subtitle = {An Analysis of the Concepts of Pollution and Taboo}, - Title = {Purity and Danger}} - -@book{doctorow96aa, - Address = {New York}, - Author = {E. L. Doctorow}, - Booktitle = {Welcome to Hard Times}, - Date = {1996}, - Date-Added = {2009-07-23 13:02:52 -0400}, - Date-Modified = {2009-07-23 13:03:22 -0400}, - Origdate = {1960}, - Publisher = {Viking-Penguin}, - Title = {Welcome to Hard Times}} - -@book{atwood01aa, - Address = {New York}, - Author = {Margaret Atwood}, - Booktitle = {The Blind Assassin}, - Date = {2001}, - Date-Added = {2009-07-23 13:02:15 -0400}, - Date-Modified = {2009-07-23 13:02:50 -0400}, - Origdate = {2000}, - Publisher = {Knopf-Random}, - Title = {The Blind Assassin}} - -@book{riccoboni98aa, - Address = {New York}, - Author = {Marie Riccoboni}, - Booktitle = {The Story of Ernestine}, - Date = {1998}, - Date-Added = {2009-07-23 12:54:25 -0400}, - Date-Modified = {2009-07-23 12:55:23 -0400}, - Number = {6}, - Publisher = {MLA}, - Series = {Texts and Trans.}, - Title = {The Story of Ernestine}, - Translator = {Joan Hinde Stewart and Philip Stewart}} - -@book{neruda91aa, - Address = {Berkeley}, - Author = {Pablo Neruda}, - Booktitle = {Canto General}, - Date = {1991}, - Date-Added = {2009-07-23 12:53:25 -0400}, - Date-Modified = {2009-07-23 12:54:21 -0400}, - Number = {7}, - Publisher = {U of California P}, - Series = {Latin Amer.\ Lit.\ and Culture}, - Title = {Canto General}, - Translator = {Jack Schmitt}} - -@book{murck00aa, - Address = {Cambridge}, - Author = {Alfreda Murck}, - Booktitle = {Poetry and Painting in Song China}, - Date = {2000}, - Date-Added = {2009-07-23 12:51:14 -0400}, - Date-Modified = {2010-02-12 11:24:58 -0600}, - Number = {50}, - Publisher = {Harvard UP}, - Series = {Harvard-Yenching Inst.\ Monograph Ser.}, - Subtitle = {The Subtle Art of Dissent}, - Title = {Poetry and Painting in Song China}} - -@book{mitchell-boyask02aa, - Address = {New York}, - Booktitle = {Approaches to Teaching the Dramas of Euripides}, - Date = {2002}, - Date-Added = {2009-07-23 12:49:30 -0400}, - Date-Modified = {2009-07-23 12:50:41 -0400}, - Editor = {Robin Mitchell-Boyask}, - Number = {73}, - Publisher = {MLA}, - Series = {Approaches to Teaching World Lit.}, - Title = {Approaches to Teaching the Dramas of Euripides}} - -@book{howells68aa, - Address = {Bloomington}, - Author = {W. D. Howells}, - Booktitle = {Their Wedding Journey}, - Date = {1968}, - Date-Added = {2009-07-23 12:28:44 -0400}, - Date-Modified = {2011-04-19 19:09:23 -0500}, - Doublecheck = {-}, - Editor = {John K. Reeves}, - Editora = {Edwin H. Cady}, - Editoratype = {generaleditor}, - Eventdate = {1968/1983}, - Maintitle = {A Selected Edition of W. D. Howells}, - Publisher = {Indiana UP}, - Rating = {0}, - Title = {Their Wedding Journey}, - Volume = {5}, - Volumes = {32}} - -@book{crane69ab, - Address = {Charlottesville}, - Author = {Stephen Crane}, - Booktitle = {The Red Badge of Courage}, - Date = {1975}, - Date-Added = {2009-07-23 12:23:16 -0400}, - Date-Modified = {2011-04-19 19:17:33 -0500}, - Doublecheck = {-}, - Editora = {Fredson Bowers}, - Editoratype = {generaleditor}, - Eventdate = {1969/1976}, - Maintitle = {The University of Virginia Edition of the Works of Stephen Crane}, - Publisher = {UP of Virginia}, - Subtitle = {An Episode of the American Civil War}, - Title = {The Red Badge of Courage}, - Volume = {2}, - Volumes = {10}} - -@book{durant65ac, - Address = {New York}, - Author = {Will Durant and Ariel Durant}, - Booktitle = {The Age of Voltaire}, - Date = {1965}, - Date-Added = {2009-07-23 11:42:38 -0400}, - Date-Modified = {2011-04-19 19:18:19 -0500}, - Doublecheck = {-}, - Eventdate = {1935/1975}, - Maintitle = {The Story of Civilization}, - Publisher = {Knopf}, - Title = {The Age of Voltaire}, - Volume = {9}, - Volumes = {11}} - -@book{churchill57ab, - Address = {New York}, - Author = {Winston S. Churchill}, - Booktitle = {The Age of Revolution}, - Date = {1957}, - Date-Added = {2009-07-23 11:41:48 -0400}, - Date-Modified = {2010-02-15 11:37:39 -0600}, - Eventdate = {1956/1958}, - Maintitle = {A History of the English-Speaking Peoples}, - Publisher = {Knopf}, - Title = {The Age of Revolution}, - Volume = {3}, - Volumes = {4}} - -@book{caro02ab, - Address = {New York}, - Author = {Robert A. Caro}, - Booktitle = {Master of the Senate}, - Date = {2002}, - Date-Added = {2009-07-23 08:52:10 -0400}, - Date-Modified = {2011-04-19 19:19:06 -0500}, - Doublecheck = {-}, - Eventdate = {1982/}, - Maintitle = {The Dates of Lyndon Johnson}, - Publisher = {Knopf}, - Title = {Master of the Senate}, - Volume = {3}, - Volumes = {3}} - -@book{durant65ab, - Address = {New York}, - Author = {Will Durant and Ariel Durant}, - Booktitle = {The Age of Voltaire}, - Date = {1965}, - Date-Added = {2009-07-23 08:51:18 -0400}, - Date-Modified = {2009-07-23 08:51:48 -0400}, - Publisher = {Knopf}, - Title = {The Age of Voltaire}} - -@book{churchill57aa, - Address = {New York}, - Author = {Winston S. Churchill}, - Booktitle = {The Age of Revolution}, - Date = {1957}, - Date-Added = {2009-07-23 08:50:54 -0400}, - Date-Modified = {2009-07-23 08:51:16 -0400}, - Publisher = {Knopf}, - Title = {The Age of Revolution}} - -@book{caro02aa, - Address = {New York}, - Author = {Robert A. Caro}, - Booktitle = {Master of the Senate}, - Date = {2002}, - Date-Added = {2009-07-23 08:50:20 -0400}, - Date-Modified = {2009-07-23 08:53:15 -0400}, - Publisher = {Knopf}, - Title = {Master of the Senate}} - -@book{wellek86aa, - Address = {New Haven}, - Author = {Ren\'{e} Wellek}, - Date = {1986}, - Date-Added = {2009-07-22 10:42:39 -0400}, - Date-Modified = {2009-07-22 10:43:35 -0400}, - Eventdate = {1955/1992}, - Publisher = {Yale UP}, - Title = {A History of Modern Criticism, 1750--1950}, - Volume = {5}, - Volumes = {8}} - -@incollection{stowe02ab, - Address = {Boston}, - Author = {Harriet Beecher Stowe}, - Booktitle = {The Heath Anthology of American Literature}, - Date = {2002}, - Date-Added = {2009-07-22 10:40:33 -0400}, - Date-Modified = {2009-07-22 11:02:13 -0400}, - Edition = {4}, - Editor = {Paul Lauter and Many Others and Some More and More Than Three}, - Eventdate = {1863}, - Pages = {2530-38}, - Publisher = {Houghton}, - Shorttitle = {Sojourner Truth}, - Title = {Sojourner Truth, the Libyan Sibyl}, - Volume = {1}, - Volumes = {2}} - -@book{doyle93ac, - Address = {New York}, - Author = {Arthur Conan Doyle}, - Booktitle = {The Oxford Sherlock Holmes}, - Date = {1993}, - Date-Added = {2009-07-22 10:40:33 -0400}, - Date-Modified = {2009-07-22 10:40:57 -0400}, - Editor = {Owen Dudley Edwards}, - Publisher = {Oxford UP}, - Title = {The Oxford Sherlock Holmes}, - Volume = {8}, - Volumes = {9}} - -@incollection{stowe02aa, - Address = {Boston}, - Author = {Harriet Beecher Stowe}, - Booktitle = {The Heath Anthology of American Literature}, - Date = {2002}, - Date-Added = {2009-07-22 10:23:44 -0400}, - Date-Modified = {2009-07-22 10:26:02 -0400}, - Edition = {4}, - Editor = {Paul Lauter and Many Others and Some More and More Than Three}, - Origdate = {1863}, - Pages = {2530-38}, - Publisher = {Houghton}, - Shorttitle = {Sojourner Truth}, - Title = {Sojourner Truth, the Libyan Sibyl}, - Volume = {1}} - -@book{lawrence00aa, - Address = {New York}, - Author = {D. H. Lawrence}, - Booktitle = {The Letters of D.~H.~Lawrence}, - Date = {2000}, - Date-Added = {2009-07-22 10:22:28 -0400}, - Date-Modified = {2009-07-22 10:23:42 -0400}, - Editor = {James T. Boulton}, - Publisher = {Cambridge UP}, - Title = {The Letters of D.~H.~Lawrence}, - Volume = {8}} - -@book{doyle93ab, - Address = {New York}, - Author = {Arthur Conan Doyle}, - Booktitle = {The Oxford Sherlock Holmes}, - Date = {1993}, - Date-Added = {2009-07-22 10:20:00 -0400}, - Date-Modified = {2009-07-22 10:22:01 -0400}, - Editor = {Owen Dudley Edwards}, - Publisher = {Oxford UP}, - Title = {The Oxford Sherlock Holmes}, - Volume = {8}} - -@book{wellek55aa, - Address = {New Haven}, - Author = {Ren\'{e} Wellek}, - Booktitle = {A History of Modern Criticism, 1750--1950}, - Date = {1955/1992}, - Date-Added = {2009-06-29 08:20:17 -0400}, - Date-Modified = {2009-06-29 08:20:57 -0400}, - Publisher = {Yale UP}, - Title = {A History of Modern Criticism, 1750--1950}, - Volumes = {8}} - -@collection{boulton79aa, - Address = {New York}, - Author = {D. H. Lawrence}, - Booktitle = {The Letters of D.~H.~Lawrence}, - Date = {1979/2000}, - Date-Added = {2009-06-29 08:19:05 -0400}, - Date-Modified = {2009-06-29 08:20:12 -0400}, - Editor = {James T. Boulton}, - Publisher = {Cambridge UP}, - Title = {The Letters of D.~H.~Lawrence}, - Volumes = {8}} - -@book{crane69aa, - Address = {Charlottesville}, - Author = {Stephen Crane}, - Booktitle = {The University of Virginia Edition of the Works of Stephen Crane}, - Date = {1969/1976}, - Date-Added = {2009-06-29 08:18:02 -0400}, - Date-Modified = {2010-02-15 11:38:32 -0600}, - Editor = {Fredson Bowers}, - Publisher = {UP of Virginia}, - Title = {The University of Virginia Edition of the Works of Stephen Crane}, - Volumes = {10}} - -@book{churchill56aa, - Address = {New York}, - Author = {Winston S. Churchill}, - Booktitle = {A History of the English-Speaking Peoples}, - Date = {1956/1958}, - Date-Added = {2009-06-29 08:17:05 -0400}, - Date-Modified = {2009-06-29 08:17:58 -0400}, - Publisher = {Dodd}, - Title = {A History of the English-Speaking Peoples}, - Volumes = {4}} - -@reference{cassidy85aa, - Address = {Cambridge}, - Booktitle = {Dictionary of American Regional English}, - Date = {1985/}, - Date-Added = {2009-06-29 08:11:42 -0400}, - Date-Modified = {2010-02-15 10:33:42 -0600}, - Editor = {Frederic Cassidy}, - Publisher = {Belknap-Harvard UP}, - Title = {Dictionary of American Regional English}, - Volumes = {3}} - -@book{schlesinger73aa, - Address = {New York}, - Booktitle = {History of U.S. Political Parties}, - Date = {1973}, - Date-Added = {2009-06-29 08:07:29 -0400}, - Date-Modified = {2009-06-29 08:09:10 -0400}, - Editor = {Schlesinger, Arthur M., Jr.}, - Editortype = {generaleditor}, - Publisher = {Chelsea}, - Title = {History of U.S. Political Parties}, - Volumes = {4}} - -@book{sadie80aa, - Address = {London}, - Booktitle = {The New Grove Dictionary of Music and Musicians}, - Date = {1980}, - Date-Added = {2009-06-29 07:55:00 -0400}, - Date-Modified = {2009-06-29 07:56:21 -0400}, - Editor = {Stanley Sadie}, - Publisher = {Macmillan}, - Sorttitle = {New Grove Dictionary of Music and Musicians}, - Title = {The New Grove Dictionary of Music and Musicians}, - Volumes = {20}} - -@book{rampersand02aa, - Address = {New York}, - Author = {Arnold Rampersand}, - Booktitle = {The Life of Langston Hughes}, - Date = {2002}, - Date-Added = {2009-06-29 07:53:09 -0400}, - Date-Modified = {2009-06-29 07:54:58 -0400}, - Edition = {2}, - Publisher = {Oxford UP}, - Title = {The Life of Langston Hughes}, - Volumes = {2}} - -@collection{lauter02aa, - Address = {Boston}, - Booktitle = {The Heath Anthology of American Literature}, - Date = {2002}, - Date-Added = {2009-06-29 07:51:48 -0400}, - Date-Modified = {2009-06-29 07:53:04 -0400}, - Edition = {4}, - Editor = {Paul Lauter and Saul Lauter and Paul Sauter and Saul Sauter}, - Publisher = {Houghton}, - Title = {The Heath Anthology of American Literature}, - Volumes = {2}} - -@book{doyle93aa, - Address = {New York}, - Author = {Arthur Conan Doyle}, - Booktitle = {The Oxford Sherlock Holmes}, - Date = {1993}, - Date-Added = {2009-06-29 07:50:51 -0400}, - Date-Modified = {2009-06-29 07:51:40 -0400}, - Editor = {Owen Dudley Edwards}, - Publisher = {Oxford UP}, - Title = {The Oxford Sherlock Holmes}, - Volumes = {9}} - -@book{blanco93aa, - Address = {Hamden}, - Booktitle = {The American Revolution}, - Date = {1993}, - Date-Added = {2009-06-29 07:49:30 -0400}, - Date-Modified = {2009-06-29 07:50:48 -0400}, - Editor = {Richard L. Blanco}, - Publisher = {Garland}, - Subtitle = {An Encyclopedia}, - Title = {The American Revolution, 1775--1783}, - Volumes = {2}} - -@book{murasaki-shikibu85aa, - Address = {New York}, - Author = {{Murasaki Shikibu}}, - Booktitle = {The Tale of Genji}, - Date = {1985}, - Date-Added = {2009-06-28 14:56:44 -0400}, - Date-Modified = {2009-06-28 14:57:55 -0400}, - Edition = {Abr.~ed.}, - Publisher = {Vintage-Random}, - Title = {The Tale of Genji}, - Translator = {Edward G. Seidensticker}} - -@book{hyde86aa, - Address = {New York}, - Author = {Margaret O. Hyde and Elizabeth Held Forsyth}, - Booktitle = {Suicide}, - Date = {1986}, - Date-Added = {2009-06-28 14:55:59 -0400}, - Date-Modified = {2009-06-28 14:56:39 -0400}, - Edition = {Rev.~ed.}, - Publisher = {Watts}, - Subtitle = {The Hidden Epidemic}, - Title = {Suicide}} - -@book{cheyfitz97aa, - Address = {Philadelphia}, - Author = {Eric Cheyfitz}, - Booktitle = {The Poetics of Imperialism}, - Date = {1997}, - Date-Added = {2009-06-28 14:54:19 -0400}, - Date-Modified = {2009-06-28 14:55:29 -0400}, - Edition = {Expanded ed.}, - Publisher = {U of Pennsylvania P}, - Subtitle = {Translation and Colonization from \emph{The Tempest} to \emph{Tarzan}}, - Title = {The Poetics of Imperialism}} - -@book{chaucer57aa, - Address = {Boston}, - Author = {Geoffrey Chaucer}, - Booktitle = {The Works of Geoffrey Chaucer}, - Date = {1957}, - Date-Added = {2009-06-28 14:53:43 -0400}, - Date-Modified = {2009-06-28 14:54:16 -0400}, - Edition = {2}, - Editor = {F. N. Robinson}, - Publisher = {Houghton}, - Title = {The Works of Geoffrey Chaucer}} - -@book{bondanella01aa, - Address = {New York}, - Author = {Peter Bondanella}, - Booktitle = {Peter Bondanella}, - Date = {2001}, - Date-Added = {2009-06-28 14:51:18 -0400}, - Date-Modified = {2009-06-28 14:52:26 -0400}, - Edition = {3}, - Publisher = {Continuum}, - Subtitle = {From Neorealism to the Present}, - Title = {Italian Cinema}} - -@book{levi87aa, - Address = {New York}, - Author = {Primo Levi}, - Booktitle = {Survival in Auschwitz}, - Date = {1987}, - Date-Added = {2009-06-17 11:10:18 -0400}, - Date-Modified = {2009-06-17 11:12:43 -0400}, - Origdate = {1958}, - Origlanguage = {italian}, - Origtitle = {Se questo \`{e} un uomo}, - Publisher = {Collier-Macmillan}, - Subtitle = {The Nazi Assault on Humanity}, - Title = {Survival in Auschwitz}, - Translator = {Stuart Woolf}} - -@book{esquivel92ab, - Address = {New York}, - Author = {Laura Esquivel}, - Booktitle = {Like Water for Chocolate}, - Date = {1992}, - Date-Added = {2009-06-17 11:06:49 -0400}, - Date-Modified = {2009-06-17 11:09:53 -0400}, - Origdate = {1989}, - Origlanguage = {spanish}, - Origlocation = {M\'{e}xico, DF [Mexico City]}, - Origpublisher = {Planeta}, - Origtitle = {Como agua para chocolate: Novelas de entregas mensuales, con recetas, amores y remedios caseros}, - Publisher = {Doubleday}, - Subtitle = {A Novelty in Monthly Installments, with Recipes, Romances, and Home Remedies}, - Title = {Like Water for Chocolate}, - Translator = {Carol Christensen and Thomas Christensen}} - -@book{mu76aa, - Address = {New York}, - Author = {{Murasaki Shikibu}}, - Booktitle = {The Tale of Genji}, - Date = {1976}, - Date-Added = {2009-06-17 10:55:32 -0400}, - Date-Modified = {2009-06-17 10:56:31 -0400}, - Publisher = {Knopf}, - Title = {The Tale of Genji}, - Translator = {Edward G. Seidensticker}} - -@book{hildegard-of-bingen01aa, - Address = {New York}, - Author = {{Hildegard of Bingen}}, - Booktitle = {Selected Writings}, - Date = {2001}, - Date-Added = {2009-06-17 10:54:22 -0400}, - Date-Modified = {2009-06-17 10:55:12 -0400}, - Publisher = {Penguin}, - Title = {Selected Writings}, - Translator = {Mark Atherton}} - -@book{esquivel92aa, - Address = {New York}, - Author = {Laura Esquivel}, - Booktitle = {Like Water for Chocolate}, - Date = {1992}, - Date-Added = {2009-06-17 10:53:05 -0400}, - Date-Modified = {2009-06-17 10:54:15 -0400}, - Publisher = {Doubleday}, - Subtitle = {A Novelty in Monthly Installments, with Recipes, Romances, and Home Remedies}, - Title = {Like Water for Chocolate}, - Translator = {Carol Christensen and Thomas Christensen}} - -@book{beowulf01aa, - Address = {New York}, - Booktitle = {Beowulf}, - Date = {2001}, - Date-Added = {2009-06-17 10:50:55 -0400}, - Date-Modified = {2009-06-17 10:52:33 -0400}, - Editor = {Nicholas Howe}, - Options = {useeditor=false}, - Publisher = {Norton}, - Title = {Beowulf}, - Translator = {E. Talbot Donaldson}} - -@book{crane75ab, - Address = {Charlottesville}, - Author = {Stephen Crane}, - Booktitle = {The Red Badge of Courage}, - Date = {1975}, - Date-Added = {2009-06-17 10:19:53 -0400}, - Date-Modified = {2009-06-17 10:20:35 -0400}, - Editor = {Fredson Bowers}, - Options = {useauthor=false}, - Origdate = {1895}, - Publisher = {UP of Virginia}, - Sorttitle = {Red Badge of Courage}, - Subtitle = {An Episode of the American Civil War}, - Title = {The Red Badge of Courage}} - -@book{twain93aa, - Author = {Mark Twain}, - Booktitle = {Roughing It}, - Date = {1993}, - Date-Added = {2009-06-17 10:17:53 -0400}, - Date-Modified = {2009-06-17 10:18:27 -0400}, - Editor = {Harriet E. Smith and Edgar M. Branch}, - Publisher = {U of California P}, - Title = {Roughing It}} - -@book{smith02aa, - Address = {Bloomington}, - Author = {Charlotte Smith}, - Booktitle = {The Collected Letters of Charlotte Smith}, - Date = {2002}, - Date-Added = {2009-06-17 10:17:21 -0400}, - Date-Modified = {2009-06-17 10:18:39 -0400}, - Editor = {Judith Stanton}, - Publisher = {Indiana UP}, - Sorttitle = {Collected Letters of Charlotte Smith}, - Title = {The Collected Letters of Charlotte Smith}} - -@book{shakespeare92aa, - Address = {New York}, - Author = {William Shakespeare}, - Booktitle = {Hamlet}, - Date = {1992}, - Date-Added = {2009-06-17 10:16:30 -0400}, - Date-Modified = {2009-06-17 10:17:05 -0400}, - Editor = {Barbara A. Mowat and Paul Werstine}, - Publisher = {Washington Square-Pocket}, - Title = {Hamlet}} - -@book{octovian86aa, - Address = {London}, - Date = {1986}, - Date-Added = {2009-06-17 10:16:14 -0400}, - Date-Modified = {2009-06-17 10:16:14 -0400}, - Editor = {Frances McSparran}, - Number = {289}, - Options = {useeditor=false}, - Publisher = {Oxford UP}, - Series = {Early English Text Soc.}, - Title = {Octovian}} - -@book{edgeworth92aa, - Address = {London}, - Author = {Maria Edgeworth}, - Booktitle = {\emph{Castle Rackrent} and \emph{Ennui}}, - Date = {1992}, - Date-Added = {2009-06-17 10:15:03 -0400}, - Date-Modified = {2009-06-17 10:19:42 -0400}, - Editor = {Marilyn Butler}, - Publisher = {Penguin}, - Title = {\emph{Castle Rackrent} and \emph{Ennui}}} - -@book{crane75aa, - Address = {Charlottesville}, - Author = {Stephen Crane}, - Booktitle = {The Red Badge of Courage}, - Date = {1975}, - Date-Added = {2009-06-17 10:14:04 -0400}, - Date-Modified = {2009-06-17 10:20:46 -0400}, - Editor = {Fredson Bowers}, - Origdate = {1895}, - Publisher = {UP of Virginia}, - Sorttitle = {Red Badge of Courage}, - Subtitle = {An Episode of the American Civil War}, - Title = {The Red Badge of Courage}} - -@book{austen01aa, - Address = {New York}, - Author = {Jane Austen}, - Booktitle = {Sense and Sensibility}, - Date = {2001}, - Date-Added = {2009-06-17 10:11:53 -0400}, - Date-Modified = {2009-06-17 10:19:32 -0400}, - Editor = {Claudia Johnson}, - Publisher = {Norton}, - Title = {Sense and Sensibility}} - -@book{bible84aa, - Address = {Grand Rapids}, - Booktitle = {The Holy Bible}, - Date = {1984}, - Date-Added = {2009-06-17 07:29:05 -0400}, - Date-Modified = {2009-06-17 07:29:05 -0400}, - Publisher = {Zondervan}, - Sorttitle = {Holy Bible}, - Subtitle = {New International Version}, - Title = {The Holy Bible}} - -@book{virginia93aa, - Address = {New York}, - Booktitle = {Encyclopedia of Virginia}, - Date = {1993}, - Date-Added = {2009-06-17 07:29:05 -0400}, - Date-Modified = {2009-06-17 07:29:05 -0400}, - Publisher = {Somerset}, - Title = {Encyclopedia of Virginia}} - -@book{NewYorkPublicLibrary97aa, - Address = {New York}, - Booktitle = {New York Public Library American History Desk Reference}, - Date = {1997}, - Date-Added = {2009-06-17 07:29:05 -0400}, - Date-Modified = {2009-06-17 07:29:05 -0400}, - Publisher = {Macmillan}, - Title = {New York Public Library American History Desk Reference}} - -@incollection{lennon86aa, - Author = {John Lennon}, - Crossref = {baker86aa}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Pages = {357-58}, - Title = {The Fat Budgie}} - -@incollection{angelou86aa, - Author = {Maya Angelou}, - Crossref = {baker86aa}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Pages = {276-78}, - Title = {Pickin Em Up and Layin Em Down}} - -@incollection{lebowitz93aa, - Author = {Fran Lebowitz}, - Crossref = {baker93aa}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Pages = {556-59}, - Title = {Manners}} - -@incollection{hurston93aa, - Author = {Zora Neale Hurston}, - Crossref = {baker93aa}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Pages = {458-59}, - Title = {Squinch Owl Story}} - -@incollection{walker00aa, - Author = {Alice Walker}, - Crossref = {oates2000aa}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Pages = {395-411}, - Title = {Looking for Zora}} - -@incollection{rodriguez00aa, - Author = {Richard Rodriguez}, - Crossref = {oates2000aa}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Pages = {447-66}, - Subtitle = {A Memoir of a Bilingual Childhood}, - Title = {Aria}} - -@incollection{kingston00aa, - Author = {Maxine Hong Kingston}, - Crossref = {oates2000aa}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Pages = {383-94}, - Title = {No Name Woman}} - -@incollection{agee00aa, - Author = {James Agee}, - Crossref = {oates2000aa}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Pages = {171--75}, - Subtitle = {Summer of 1915}, - Title = {Knoxville}} - -@incollection{agee00xx, - Author = {James Agee}, - Crossref = {oates2000aa}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Entrysubtype = {book}, - Pages = {171--75}, - Subtitle = {Summer of 1915}, - Title = {Knoxville}} - -@suppcollection{atwan00aa, - Author = {Robert Atwan}, - Crossref = {oates2000aa}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Entrysubtype = {foreword}, - Pages = {x-xvi}} - -@periodical{appiah92aa, - Date = {1992}, - Date-Added = {2009-06-16 13:07:41 -0400}, - Date-Modified = {2009-06-16 13:14:35 -0400}, - Editor = {Kwame Anthony Appiah and {Henry Louis Gates, Jr.}}, - Issuetitle = {Identities}, - Journaltitle = {Critical Inquiry}, - Number = {4}, - Pages = {625--884.}, - Volume = {18}} - -@unpublished{smithXXaa, - Author = {Sonia Smith}, - Date-Added = {2009-06-16 12:02:53 -0400}, - Date-Modified = {2009-06-16 12:02:53 -0400}, - Note = {Unpublished essay, 1998}, - Title = {Shakespeare's Dark Lady Revisited}} - -@unpublished{twainXXaa, - Author = {Mark Twain}, - Date-Added = {2009-06-16 12:02:53 -0400}, - Date-Modified = {2011-04-19 19:50:17 -0500}, - Library = {U of California}, - Location = {Berkeley}, - Note = {Mark Twain Papers}, - Titleaddon = {Notebook 32}, - Type = {typescript}} - -@unpublished{octovianXXaa, - Booktitle = {Octovian}, - Date-Added = {2009-06-16 12:02:53 -0400}, - Date-Modified = {2009-06-16 12:02:53 -0400}, - Library = {Dean and Chapter Lib.}, - Location = {Lincolnshire, Eng.}, - Number = {91}, - Sorttitle = {Octovian}, - Type = {manuscript}} - -@unpublished{salviatiXXaa, - Author = {Lionardo Salviati}, - Booktitle = {Poetica d'Aristotile parafrasata e comentata}, - Date-Added = {2009-06-16 12:02:53 -0400}, - Date-Modified = {2009-06-16 12:02:53 -0400}, - Library = {Biblioteca Nazionale Centrale}, - Location = {Firenze}, - Number = {2.2.11}, - Type = {manuscript}} - -@unpublished{chaucerXXaa, - Author = {Geoffrey Chaucer}, - Booktitle = {The Canterbury Tales}, - Date-Added = {2009-06-16 12:02:14 -0400}, - Date-Modified = {2009-06-16 12:02:14 -0400}, - Library = {British Lib.}, - Location = {London}, - Number = {7334}, - Title = {The Canterbury Tales}, - Type = {Harley ms}} - -@book{wpa00aa, - Address = {Tuscaloosa}, - Booktitle = {The WPA Guide to 1930s Alabama}, - Date = {2000}, - Date-Added = {2009-06-16 09:30:35 -0400}, - Date-Modified = {2009-06-16 09:44:39 -0400}, - Origdate = {1941}, - Origtitle = {Alabama: A Guide to the Deep South}, - Publisher = {U of Alabama P}, - Shorttitle = {WPA Guide}, - Sorttitle = {WPA Guide to 1930s Alabama}, - Title = {The WPA Guide to 1930s Alabama}} - -@book{ishiguro01aa, - Address = {New York}, - Author = {Kazuo Ishiguro}, - Booktitle = {When We Were Orphans}, - Date = {2001}, - Date-Added = {2009-06-16 09:27:38 -0400}, - Date-Modified = {2009-06-16 09:28:57 -0400}, - Origdate = {2000}, - Origlocation = {London}, - Origpublisher = {Faber}, - Publisher = {Vintage-Random}, - Shorttitle = {When We Were}, - Title = {When We Were Orphans}} - -@suppbook{doody96aa, - Address = {New Brunswick}, - Author = {Margaret Anne Doody}, - Booktitle = {The True Story of the Novel}, - Date = {1996}, - Date-Added = {2009-05-27 14:48:46 +0100}, - Date-Modified = {2009-05-27 14:49:34 +0100}, - Entrysubtype = {introduction}, - Pages = {1--11}, - Publisher = {Rutgers UP}, - Title = {In Search of the Ancient Novel}} - -@suppbook{brodsky97aa, - Address = {Evanston}, - Author = {Joseph Brodsky}, - Bookauthor = {Tomas Venclova}, - Booktitle = {Winter Dialogue}, - Date = {1997}, - Date-Added = {2009-05-27 14:46:24 +0100}, - Date-Modified = {2009-05-27 14:48:15 +0100}, - Entrysubtype = {foreword}, - Pages = {vii-xviii}, - Publisher = {Hydra-Northwestern UP}, - Title = {Poetry as a Form of Resistance to Reality}, - Translator = {Diana Senechal}} - -@suppbook{sears01aa, - Address = {New York}, - Author = {Barry Sears}, - Bookauthor = {Upton Sinclair}, - Booktitle = {The Jungle}, - Date = {2001}, - Date-Added = {2009-05-27 14:45:03 +0100}, - Date-Modified = {2009-05-27 14:45:43 +0100}, - Entrysubtype = {afterword}, - Pages = {343--347}, - Publisher = {Signet}} - -@suppbook{marsalis93aa, - Address = {New York}, - Author = {Wynton Marsalis}, - Bookauthor = {John Edward Hasse}, - Booksubtitle = {The Life and Genius of Duke Ellington}, - Booktitle = {Beyond Category}, - Date = {1993}, - Date-Added = {2009-05-27 14:43:47 +0100}, - Date-Modified = {2009-05-27 14:44:52 +0100}, - Entrysubtype = {foreword}, - Pages = {13--14}, - Publisher = {Simon}} - -@suppcollection{hamill94aa, - Address = {New York}, - Author = {Pete Hamill}, - Booksubtitle = {Thirty Writers Celebrate America's Favorite Borough}, - Booktitle = {The Brooklyn Reader}, - Date = {1994}, - Date-Added = {2009-05-27 14:41:41 +0100}, - Date-Modified = {2009-05-27 14:43:14 +0100}, - Editor = {Andrea Wyatt Sexton and Alice Leccese Powers}, - Entrysubtype = {introduction}, - Pages = {xi--xiv}, - Publisher = {Harmony}} - -@suppbook{drabble85aa, - Address = {New York}, - Author = {Margaret Drabble}, - Bookauthor = {George Eliot}, - Booktitle = {Middlemarch}, - Date = {1985}, - Date-Added = {2009-05-27 14:40:44 +0100}, - Date-Modified = {2009-05-27 14:41:30 +0100}, - Entrysubtype = {introduction}, - Pages = {vii--xvii}, - Publisher = {Bantam}} - -@suppbook{coetzee01aa, - Address = {New York}, - Author = {J. M. Coetzee}, - Bookauthor = {Robert Musil}, - Booktitle = {The Confusions of Young T\"{o}rless}, - Date = {2001}, - Date-Added = {2009-05-27 14:36:28 +0100}, - Date-Modified = {2009-05-27 14:39:28 +0100}, - Entrysubtype = {introduction}, - Pages = {v-xiii}, - Publisher = {Penguin}, - Translator = {Shaun Whiteside}} - -@suppcollection{borges73aa, - Address = {New York}, - Author = {Jorge Luis Borges}, - Bookauthor = {Jorge Luis Borges}, - Booktitle = {Selected Poems, 1923--1967}, - Date = {1973}, - Date-Added = {2009-05-27 14:27:27 +0100}, - Date-Modified = {2009-05-27 14:40:21 +0100}, - Editor = {Norman Thomas {Di Giovanni}}, - Entrysubtype = {foreword}, - Pages = {xv--xvi}, - Publisher = {Delta-Dell}} - -@inreference{le-patourel87aa, - Author = {John {Le Patourel}}, - Booktitle = {Dictionary of the Middle Ages}, - Date = {1987}, - Date-Added = {2009-05-27 14:23:51 +0100}, - Date-Modified = {2009-06-15 17:39:21 -0400}, - Editor = {Joseph R. Strayer}, - Location = {New York}, - Publisher = {Scribner's}, - Title = {Normans and Normandy}, - Volumes = {13}} - -@inreference{allen95aa, - Author = {Anita L. Allen}, - Booktitle = {Encyclopedia of Bioethics}, - Date = {1995}, - Date-Added = {2009-05-27 14:20:24 +0100}, - Date-Modified = {2009-05-27 14:22:12 +0100}, - Edition = {Rev.~ed.}, - Editor = {Warren T. Reich}, - Location = {New York}, - Publisher = {MacMillan-Simon}, - Title = {Privacy in Health Care}, - Volumes = {5}} - -@inreference{noon89aa, - Booktitle = {The Oxford English Dictionary}, - Date = {1989}, - Date-Added = {2009-05-27 14:19:08 +0100}, - Date-Modified = {2009-05-27 14:23:26 +0100}, - Edition = {2}, - Title = {Noon}, - Titleaddon = {Def.~4b}} - -@inreference{mohanty87aa, - Author = {Jitendra M. Mohanty}, - Booksubtitle = {Macropaedia}, - Booktitle = {The New Encyclopedia Britannica}, - Date = {1987}, - Date-Added = {2009-05-27 14:18:08 +0100}, - Date-Modified = {2009-05-27 14:18:56 +0100}, - Edition = {15}, - Title = {Indian Philosophy}} - -@inreference{mandarin94aa, - Booktitle = {The Encyclopedia Americana}, - Date = {1994}, - Date-Added = {2009-05-27 13:01:48 +0100}, - Date-Modified = {2009-05-27 14:17:14 +0100}, - Edition = {1994}, - Title = {Mandarin}} - -@inreference{ginsburg02aa, - Booktitle = {Who's Who in Americana}, - Date = {2002}, - Date-Added = {2009-05-27 13:00:23 +0100}, - Date-Modified = {2009-05-27 13:00:56 +0100}, - Edition = {56}, - Title = {Ginsburg, Ruth Bader}} - -@inreference{azimuthal93aa, - Booktitle = {Merriam-Webster's Collegiate Dictionary}, - Date = {1993}, - Date-Added = {2009-05-27 12:58:10 +0100}, - Date-Modified = {2009-05-27 12:59:22 +0100}, - Edition = {10}, - Title = {Azimuthal Equidistant Projection}} - -@incollection{franklin92aa, - Address = {Boston}, - Author = {Benjamin Franklin}, - Booktitle = {The Faber Book of America}, - Date = {1992}, - Date-Added = {2009-05-25 16:33:01 +0100}, - Date-Modified = {2009-05-25 16:34:08 +0100}, - Editor = {Chrisopher Ricks and William L. Vance}, - Origdate = {1782}, - Pages = {24--26}, - Publisher = {Faber}, - Title = {Emigration to America}} - -@incollection{douglass00aa, - Address = {New York}, - Author = {Frederick Douglass}, - Booktitle = {Slave Narratives}, - Date = {2000}, - Date-Added = {2009-05-25 16:21:38 +0100}, - Date-Modified = {2009-05-25 16:25:35 +0100}, - Editor = {William L. Andrews and Gates, Jr., Henry Louis}, - Entrysubtype = {book}, - Origdate = {1845}, - Pages = {267--368}, - Publisher = {Lib. of Amer.}, - Shorttitle = {Narrative}, - Title = {Narrative of the Life of Frederick Douglass, an American Slave, Written by Himself}} - -@incollection{witchcraft86aa, - Address = {Flagstaff}, - Booksubtitle = {Tales from a Vanishing Culture}, - Booktitle = {The Hopi Way}, - Date = {1986}, - Date-Added = {2009-05-25 16:14:20 +0100}, - Date-Modified = {2009-06-15 21:06:19 -0400}, - Editor = {Mando Sevillano}, - Editortype = {compiler}, - Options = {useeditor=false}, - Pages = {33--42}, - Publisher = {Northland}, - Sorttitle = {Witchcraft Story}, - Title = {A Witchcraft Story}} - -@incollection{more97aa, - Address = {Baltimore}, - Author = {Hannah More}, - Booktitle = {British Women Poets of the Romantic Era}, - Date = {1997}, - Date-Added = {2009-05-25 16:11:24 +0100}, - Date-Modified = {2009-05-25 16:13:40 +0100}, - Editor = {Paula R. Feldman}, - Pages = {472--482}, - Publisher = {Johns Hopkins UP}, - Subtitle = {A Poem}, - Title = {The Black Slave Trade}} - -@incollection{hanzlik92aa, - Address = {Cheltenham}, - Author = {Josef Hanzl\'{i}k}, - Booktitle = {Interference: The Story of Czechoslovakia in the Words of its Writers}, - Date = {1992}, - Date-Added = {2009-05-25 16:06:43 +0100}, - Date-Modified = {2009-05-25 16:09:48 +0100}, - Editor = {Peter Spafford}, - Editortype = {compilerandeditor}, - Options = {uniquetranslator}, - Publisher = {New Clarion}, - Title = {Vengeance}, - Translator = {Ewald Osers}} - -@incollection{hansberry71aa, - Address = {New York}, - Author = {Lorraine Hansberry}, - Booktitle = {Black Theater: A Twentieth-Century Collection of the Work of Its Best Playwrights}, - Date = {1971}, - Date-Added = {2009-05-25 15:45:41 +0100}, - Date-Modified = {2009-05-25 15:51:00 +0100}, - Editor = {Lindsay Patterson}, - Entrysubtype = {play}, - Pages = {221--276}, - Publisher = {Dodd}, - Shorttitle = {Raisin in the Sun}, - Title = {A Raisin in the Sun}} - -@incollection{franco98aa, - Address = {Chicago}, - Author = {Veronica Franco}, - Booktitle = {Poems and Selected Letters}, - Date = {1998}, - Date-Added = {2009-05-25 15:41:45 +0100}, - Date-Modified = {2009-06-16 11:35:16 -0400}, - Editor = {Ann Rosalind Jones and Margaret F. Rosenthal}, - Pages = {35--37}, - Publisher = {U of Chicago P}, - Title = {To the Painter Jacopo Tintoretto}, - Translator = {Ann Rosalind Jones and Margaret F. Rosenthal}} - -@incollection{allende92aa, - Author = {Isabel Allende}, - Crossref = {colchie92aa}, - Date-Added = {2009-05-25 09:37:20 +0100}, - Date-Modified = {2009-05-25 15:39:27 +0100}, - Options = {uniquetranslator}, - Pages = {83--88}, - Title = {Toad's Mouth}, - Translator = {Margaret Sayers Peden}, - Xref = {colchie92aa}} - -@collection{colchie92aa, - Address = {New York}, - Booksubtitle = {Stories from Latin America}, - Booktitle = {A Hammock Beneath the Mangoes}, - Date = {1992}, - Date-Added = {2009-05-25 09:35:41 +0100}, - Date-Modified = {2009-05-25 11:49:06 +0100}, - Editor = {Thomas Colchie}, - Publisher = {Plume}, - Title = {A Hammock Beneath the Mangoes: Stories from Latin America}, - Translator = {Margaret Sayers Peden}} - -@book{public-agenda-foundation92aa, - Address = {New York}, - Author = {{Public Agenda Foundation}}, - Booktitle = {The Health Care Crisis}, - Date = {1992}, - Date-Added = {2009-05-24 15:19:48 +0100}, - Date-Modified = {2009-05-24 15:20:24 +0100}, - Publisher = {McGraw}, - Subtitle = {Containing Costs, Expanding Coverage}, - Title = {The Health Care Crisis}} - -@book{national-research-council00aa, - Address = {Washington}, - Author = {{National Research Council}}, - Booktitle = {Beyond Six Billion}, - Date = {2000}, - Date-Added = {2009-05-24 15:18:49 +0100}, - Date-Modified = {2009-05-24 15:19:33 +0100}, - Publisher = {Natl. Acad.}, - Subtitle = {Forecasting the World's Population}, - Title = {Beyond Six Billion}} - -@book{american-medical-association89aa, - Address = {New York}, - Author = {{American Medical Association}}, - Booktitle = {The American Medical Association Encyclopedia of Medicine}, - Date = {1989}, - Date-Added = {2009-05-24 15:16:04 +0100}, - Date-Modified = {2009-05-24 15:17:02 +0100}, - Editor = {Charles B. Clayman}, - Publisher = {Random}, - Title = {The American Medical Association Encyclopedia of Medicine}} - -@collection{rabkin83aa, - Address = {Carbondale}, - Booktitle = {No Place Else}, - Date = {1983}, - Date-Added = {2009-05-24 15:10:25 +0100}, - Date-Modified = {2009-05-24 15:11:36 +0100}, - Editor = {Eric S. Rabkin and Martin H. Greenberg and Joseph D. Olander}, - Publisher = {Southern Illinois UP}, - Subtitle = {Explorations in Utopian and Dystopian Fiction}, - Title = {No Place Else}} - -@book{marquart94aa, - Address = {Austin}, - Author = {James W. Marquart and Sheldon Ekland Olson and Jonathan R. Sorensen}, - Booktitle = {The Rope, the Chair, and the Needle}, - Date = {1994}, - Date-Added = {2009-05-24 15:08:26 +0100}, - Date-Modified = {2009-05-24 15:10:01 +0100}, - Publisher = {U of Texas P}, - Shorttitle = {Rope, Chair, and Needle}, - Subtitle = {Capital Punishment in Texas, 1923--1990}, - Title = {The Rope, the Chair, and the Needle}} - -@collection{frye57ab, - Address = {New York}, - Booktitle = {Sound and Poetry}, - Date = {1957}, - Date-Added = {2009-05-24 15:05:15 +0100}, - Date-Modified = {2009-05-24 15:06:05 +0100}, - Editor = {Northrop Frye}, - Publisher = {Columbia UP}, - Title = {Sound and Poetry}} - -@book{frye91aa, - Address = {Toronto}, - Author = {Northrop Frye}, - Booktitle = {The Double Vision}, - Date = {1991}, - Date-Added = {2009-05-24 15:04:06 +0100}, - Date-Modified = {2009-05-24 15:05:01 +0100}, - Publisher = {U of Toronto P}, - Shorttitle = {Double Vision}, - Sorttitle = {Double Vision}, - Subtitle = {Language and Meaning in Religion}, - Title = {The Double Vision}} - -@collection{frye62aa, - Address = {Toronto}, - Booktitle = {Design for Learning}, - Date = {1962}, - Date-Added = {2009-05-24 14:57:09 +0100}, - Date-Modified = {2009-05-24 14:58:25 +0100}, - Editor = {Northrop Frye}, - Publisher = {U of Toronto P}, - Subtitle = {Reports Submitted to the Joint Committee of the Toronto Board of Education and the University of Toronto}, - Title = {Design for Learning}} - -@collection{frye57aa, - Address = {Princeton}, - Author = {Northrop Frye}, - Booktitle = {Anatomy of Criticism}, - Date = {1957}, - Date-Added = {2009-05-24 14:55:45 +0100}, - Date-Modified = {2009-05-24 14:56:40 +0100}, - Publisher = {Princeton UP}, - Subtitle = {Four Essays}, - Title = {Anatomy of Criticism}} - -@collection{weisser01aa, - Address = {New York}, - Booktitle = {Women and Romance}, - Date = {2001}, - Date-Added = {2009-05-24 14:47:39 +0100}, - Date-Modified = {2009-05-24 14:55:37 +0100}, - Editor = {Susan Ostrov Weisser}, - Publisher = {New York UP}, - Subtitle = {A Reader}, - Title = {Women and Romance}} - -@book{spafford92aa, - Address = {Cheltenham}, - Booktitle = {Interference}, - Date = {1992}, - Date-Added = {2009-05-24 14:37:08 +0100}, - Date-Modified = {2009-06-15 18:25:11 -0500}, - Editor = {Peter Spafford}, - Editortype = {compilerandeditor}, - Publisher = {New Clarion}, - Subtitle = {The Story of Czechoslovakia in the Words of Its Writers}, - Title = {Interference}} - -@book{sevillano86aa, - Address = {Flagstaff}, - Booktitle = {The Hopi Way}, - Date = {1986}, - Date-Added = {2009-05-24 14:28:51 +0100}, - Date-Modified = {2009-05-24 14:30:39 +0100}, - Editor = {Mando Sevillano}, - Editortype = {compiler}, - Publisher = {Northland}, - Subtitle = {Tales from a Vanishing Culture}, - Title = {The Hopi Way}} - -@collection{gilbert01ab, - Address = {New York}, - Booktitle = {Grand Ol' Time}, - Date = {2001}, - Date-Added = {2009-05-24 14:11:23 +0100}, - Date-Modified = {2009-05-24 14:16:55 +0100}, - Editor = {Goofy Dog and Puddy Tat and Mickey Mouse and Donald Duck}, - Options = {totalnames=false}, - Publisher = {Norton}, - Subtitle = {A Book of Elegies}, - Title = {Grand Ol' Time}} - -@book{tatar92aa, - Address = {Princeton}, - Author = {Maria Tatar}, - Booktitle = {Off with Their Heads!}, - Date = {1992}, - Date-Added = {2009-05-24 14:07:48 +0100}, - Date-Modified = {2009-05-24 16:08:02 +0100}, - Publisher = {Princeton UP}, - Shorttitle = {Off with Their Heads!}, - Subtitle = {Fairy Tales and the Culture of Childhood}, - Title = {Off with Their Heads!}} - -@book{silver97aa, - Address = {New York}, - Author = {Lee M. Silver}, - Booktitle = {Remaking Eden}, - Date = {1997}, - Date-Added = {2009-05-24 14:07:01 +0100}, - Date-Modified = {2009-05-24 14:07:36 +0100}, - Publisher = {Avon}, - Subtitle = {Cloning and Beyond in a Brave New World}, - Title = {Remaking Eden}} - -@book{rowling00aa, - Address = {New York}, - Author = {J[oanne] K[athleen] Rowling}, - Booktitle = {Harry Potter and the Goblet of Fire}, - Date = {2000}, - Date-Added = {2009-05-24 14:05:45 +0100}, - Date-Modified = {2009-05-24 14:06:25 +0100}, - Publisher = {Levine-Scholastic}, - Title = {Harry Potter and the Goblet of Fire}} - -@book{lecarre01aa, - Address = {New York}, - Author = {Le Carr\'{e}, John}, - Booktitle = {The Constant Gardner}, - Date = {2001}, - Date-Added = {2009-05-24 13:59:37 +0100}, - Date-Modified = {2009-05-25 16:47:46 +0100}, - Nameaddon = {David Cornwell}, - Options = {useprefix=true}, - Publisher = {Scribner's}, - Shorttitle = {Constant Gardner}, - Sorttitle = {Constant Gardner}, - Title = {The Constant Gardner}} - -@book{kurlansky02aa, - Address = {New York}, - Author = {Mark Kurlansky}, - Booktitle = {Salt}, - Date = {2002}, - Date-Added = {2009-05-24 13:58:51 +0100}, - Date-Modified = {2009-05-24 13:59:22 +0100}, - Publisher = {Walker}, - Subtitle = {A World History}, - Title = {Salt}} - -@book{freedman84aa, - Address = {New York}, - Author = {Richard R. Freedman}, - Booktitle = {What Do Unions Do?}, - Date = {1984}, - Date-Added = {2009-05-24 13:57:53 +0100}, - Date-Modified = {2009-05-24 13:58:20 +0100}, - Publisher = {Basic}, - Title = {What Do Unions Do?}} - -@book{berlage94aa, - Address = {Westport}, - Author = {Gai Ingham Berlage}, - Booktitle = {Women in Baseball}, - Date = {1994}, - Date-Added = {2009-05-24 13:56:44 +0100}, - Date-Modified = {2009-05-24 13:57:37 +0100}, - Publisher = {Greenwood}, - Subtitle = {The Forgotten History}, - Title = {Women in Baseball}} - -@book{gilbert79aa, - Address = {New Haven}, - Author = {Sandra M. Gilbert and Susan Gubar}, - Booktitle = {The Madwoman in the Attic}, - Date = {1979}, - Date-Added = {2009-05-24 13:27:39 +0100}, - Date-Modified = {2009-05-24 13:31:28 +0100}, - Publisher = {Yale UP}, - Shorttitle = {Madwoman in the Attic}, - Sorttitle = {Madwoman in the Attic}, - Subtitle = {The Woman Writer and the Nineteenth-Century Literary Imagination}, - Title = {The Madwoman in the Attic}} - -@collection{gilbert01aa, - Address = {New York}, - Booktitle = {Inventions of Farewell}, - Date = {2001}, - Date-Added = {2009-05-24 13:26:30 +0100}, - Date-Modified = {2009-05-24 13:30:25 +0100}, - Editor = {Sandra M. Gilbert}, - Publisher = {Norton}, - Subtitle = {A Book of Elegies}, - Title = {Inventions of Farewell}} - -@collection{gilbert95aa, - Address = {New York}, - Author = {Sandra M. Gilbert}, - Booktitle = {Ghost Volcano}, - Date = {1995}, - Date-Added = {2009-05-24 13:25:29 +0100}, - Date-Modified = {2009-05-24 13:26:26 +0100}, - Publisher = {Norton}, - Subtitle = {Poems}, - Title = {Ghost Volcano}} - -@book{durant77aa, - Address = {New York}, - Author = {Will Durant and Ariel Durant}, - Booktitle = {A Dual Autobiography}, - Date = {1977}, - Date-Added = {2009-05-24 13:24:36 +0100}, - Date-Modified = {2009-05-24 13:31:47 +0100}, - Publisher = {Simon}, - Shorttitle = {Dual Autobiography}, - Sorttitle = {Dual Autobiography}, - Title = {A Dual Autobiography}} - -@book{durant65aa, - Address = {New York}, - Author = {Will Durant and Ariel Durant}, - Booktitle = {The Age of Voltaire}, - Date = {1965}, - Date-Added = {2009-05-24 13:23:53 +0100}, - Date-Modified = {2009-05-24 13:31:38 +0100}, - Publisher = {Simon}, - Shorttitle = {Age of Voltaire}, - Sorttitle = {Age of Voltaire}, - Title = {The Age of Voltaire}} - -@book{gilman93ab, - Address = {Berkeley, CA}, - Author = {Sander Gilman and Helen King and Roy Porter and George Rousseau and Elaine Showalter}, - Booktitle = {Hysteria beyond Freud}, - Date = {1993}, - Date-Added = {2009-05-24 12:35:28 +0100}, - Date-Modified = {2009-05-24 12:47:58 +0100}, - Options = {totalnames=true}, - Publisher = {U of California P}, - Shortauthor = {{Gilman, King, Porter, Rousseau, and Showalter}}, - Title = {Hysteria beyond Freud}} - -@book{gilman93aa, - Address = {Berkeley, CA}, - Author = {Sander Gilman and Helen King and Roy Porter and George Rousseau and Elaine Showalter}, - Booktitle = {Hysteria beyond Freud}, - Date = {1993}, - Date-Added = {2009-05-24 12:34:30 +0100}, - Date-Modified = {2009-05-24 12:35:21 +0100}, - Publisher = {U of California P}, - Title = {Hysteria beyond Freud}} - -@book{quirk85ab, - Address = {London}, - Author = {Randolph Quirk and Sidney Greenbaum and Geoffrey Leech and Jan Svartvik}, - Booktitle = {A Comprehensive Grammar of the English Language}, - Date = {1985}, - Date-Added = {2009-05-24 12:13:04 +0100}, - Date-Modified = {2009-05-24 13:32:02 +0100}, - Options = {totalnames=true}, - Publisher = {Longman}, - Shortauthor = {{Quirk, Greenbaum, Leech, and Svartvik}}, - Shorttitle = {Comprehensive Grammar}, - Sorttitle = {Comprehensive Grammar of the English}, - Title = {A Comprehensive Grammar of the English Language}} - -@book{quirk85aa, - Address = {London}, - Author = {Randolph Quirk and Sidney Greenbaum and Geoffrey Leech and Jan Svartvik}, - Booktitle = {A Comprehensive Grammar of the English Language}, - Date = {1985}, - Date-Added = {2009-05-24 12:11:58 +0100}, - Date-Modified = {2009-05-24 13:32:08 +0100}, - Publisher = {Longman}, - Shorttitle = {Comprehensive Grammar}, - Sorttitle = {Comprehensive Grammar of the English}, - Title = {A Comprehensive Grammar of the English Language}} - -@book{hutcheon00aa, - Address = {Lincoln}, - Author = {Linda Hutcheon and Michael Hutcheon}, - Booktitle = {Bodily Charm}, - Date = {2000}, - Date-Added = {2009-05-24 12:10:55 +0100}, - Date-Modified = {2009-05-24 12:11:31 +0100}, - Publisher = {U of Nebraska P}, - Subtitle = {Living Opera}, - Title = {Bodily Charm}} - -@book{eggins97aa, - Address = {London}, - Author = {Suzanne Eggins and Diana Slade}, - Booktitle = {Analysing Casual Conversation}, - Date = {1997}, - Date-Added = {2009-05-24 12:09:54 +0100}, - Date-Modified = {2009-05-24 12:10:20 +0100}, - Publisher = {Cassell}, - Title = {Analysing Casual Conversation}} - -@collection{borroff63aa, - Address = {Englewood Cliffs}, - Booktitle = {Wallace Stevens}, - Date = {1963}, - Date-Added = {2009-05-24 12:03:13 +0100}, - Date-Modified = {2009-05-24 12:06:05 +0100}, - Editor = {Marie Borroff}, - Publisher = {Prentice}, - Subtitle = {A Collection of Critical Essays}, - Title = {Wallace Stevens}} - -@book{borroff67aa, - Address = {New York}, - Booktitle = {Sir Gawain and the Green Knight}, - Date = {1967}, - Date-Added = {2009-05-24 12:02:17 +0100}, - Date-Modified = {2009-05-24 12:05:41 +0100}, - Options = {usetranslator=true}, - Publisher = {Norton}, - Title = {Sir Gawain and the Green Knight}, - Translator = {Marie Borroff}} - -@book{borroff79aa, - Address = {Chicago}, - Author = {Marie Borroff}, - Booktitle = {Language and the Past}, - Date = {1979}, - Date-Added = {2009-05-24 12:00:30 +0100}, - Date-Modified = {2009-05-24 12:02:16 +0100}, - Publisher = {U of Chicago P}, - Shorttitle = {Language and the Past}, - Subtitle = {Verbal Artistry in Frost, Stevens, and Moore}, - Title = {Language and the Past}} - -@collection{lopate94aa, - Address = {New York}, - Booktitle = {The Art of the Personal Essay}, - Date = {1994}, - Date-Added = {2009-05-24 11:58:05 +0100}, - Date-Modified = {2009-05-24 13:32:22 +0100}, - Editor = {Phillip Lopate}, - Publisher = {Anchor-Doubleday}, - Shorttitle = {Art of the Personal Essay}, - Sorttitle = {Art of the Personal Essay}, - Subtitle = {An Anthology from the Classical Era to the Present}, - Title = {The Art of the Personal Essay}} - -@book{fukuyama02aa, - Address = {New York}, - Author = {Francis Fukuyama}, - Booktitle = {Our Posthuman Future}, - Date = {2002}, - Date-Added = {2009-05-24 11:47:10 +0100}, - Date-Modified = {2009-05-24 11:49:41 +0100}, - Publisher = {Farrar}, - Shorttitle = {Our Posthuman Future}, - Subtitle = {Consequences of the Biotechnology Revolution}, - Title = {Our Posthuman Future}} - -@collection{baker86aa, - Address = {New York}, - Booktitle = {The Norton Book of Light Verse}, - Date = {1986}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Editor = {Russell Baker}, - Publisher = {Norton}, - Shorttitle = {Norton}} - -@collection{baker93aa, - Address = {New York}, - Booktitle = {Russell Baker's Book of American Humor}, - Date = {1993}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2009-06-17 07:15:34 -0400}, - Editor = {Russell Baker}, - Publisher = {Norton}, - Shorttitle = {Russell Baker's Book}} - -@collection{oates2000aa, - Address = {Boston}, - Booktitle = {The Best American Essays of the Century}, - Date = {2000}, - Date-Added = {2009-06-17 07:15:34 -0400}, - Date-Modified = {2010-02-12 11:24:53 -0600}, - Editor = {Joyce Carol Oates and Robert Atwan}, - Publisher = {Houghton}, - Sorttitle = {Best American Essays of the Century}} - -@comment{BibDesk Smart Groups{ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<array> - <dict> - <key>conditions</key> - <array> - <dict> - <key>comparison</key> - <integer>4</integer> - <key>key</key> - <string>Doublecheck</string> - <key>value</key> - <string>-</string> - <key>version</key> - <string>1</string> - </dict> - </array> - <key>conjunction</key> - <integer>0</integer> - <key>group name</key> - <string>Doublecheck</string> - </dict> - <dict> - <key>conditions</key> - <array> - <dict> - <key>comparison</key> - <integer>0</integer> - <key>key</key> - <string>Date-Added</string> - <key>value</key> - <string></string> - <key>version</key> - <string>1</string> - </dict> - </array> - <key>conjunction</key> - <integer>0</integer> - <key>group name</key> - <string>today</string> - </dict> -</array> -</plist> -}} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/samples.bib b/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/samples.bib deleted file mode 100644 index 319cf90a07..0000000000 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/samples.bib +++ /dev/null @@ -1,661 +0,0 @@ -%% This BibTeX bibliography file was created using BibDesk. -%% http://bibdesk.sourceforge.net/ - - -%% Created for James Clawson at 2011-09-27 00:26:36 -0500 - - -%% Saved with string encoding Western (ASCII) - -@book{morrison02aa, - Address = {New York}, - Author = {Toni Morrison}, - Booktitle = {Sula}, - Date = {2002}, - Date-Added = {2009-07-23 13:09:43 -0400}, - Date-Modified = {2009-07-23 13:10:14 -0400}, - Origdate = {1973}, - Publisher = {Plume-Penguin}, - Title = {Sula}} - -@collection{frye57ab, - Address = {New York}, - Booktitle = {Sound and Poetry}, - Date = {1957}, - Date-Added = {2009-05-24 15:05:15 +0100}, - Date-Modified = {2009-05-24 15:06:05 +0100}, - Editor = {Northrop Frye}, - Publisher = {Columbia University Press}, - Title = {Sound and Poetry}} - -@book{frye91aa, - Address = {Toronto}, - Author = {Northrop Frye}, - Booksubtitle = {Language and Meaning in Religion}, - Booktitle = {The Double Vision}, - Date = {1991}, - Date-Added = {2009-05-24 15:04:06 +0100}, - Date-Modified = {2009-05-24 15:05:01 +0100}, - Publisher = {University of Toronto Press}, - Shorttitle = {Double Vision}, - Sorttitle = {Double Vision}} - -@article{Babich:2011dg, - author = {Babich, L P and Kudryavtsev, A Yu and Kudryavtseva, M L and Kutsyk, I M}, - title = {Atmospheric gamma-ray and neutron flashes}, - journal = {Journal of Experimental and Theoretical Physics}, - date = {2011-02}, - volume = {106}, - number = {1}, - pages = {65--76}, - doi = {10.1134/S1063776108010056}, - language = {English}, - url = {http://link.springer.com/10.1134/S1063776108010056}, - urldate = {2013-03-30}} - -@online{shimabukuro2006aa, - Annote = {This is the citation for a YouTube video. I found this source listed in the OWL Purdue MLA Formatting and Style Guide.}, - Author = {Jake Shimabukuro}, - Date = {2006-04-22}, - Maintitle = {YouTube}, - Publisher = {YouTube}, - Titleaddon = {Online video clip}, - Title = {Ukulele Weeps by Jake Shimabukuro}, - Url = {www.youtube.com/watch?v=puSkP3uym5k}, - Urldate = {2013-03-04}} - -@online{Grammar-Girl2008, - Author = {{Grammar Girl}}, - Date = {2008-09-16}, - Date-Added = {2013-03-24 16:34:36 +0000}, - Date-Modified = {2013-03-24 16:41:10 +0000}, - Mainsubtitle = {Quick and Dirty Tips for Better Writing}, - Maintitle = {Grammar Girl}, - Nameaddon = {Mignon Fogarty}, - Publisher = {Macmillan}, - Title = {What Is the Plural of `Mouse'?}, - Url = {http://grammar.quickanddirtytips.com/the-plural-of-mouse.aspx}, - Urldate = {2013-03-04}, - Bdsk-Url-1 = {http://grammar.quickanddirtytips.com/the-plural-of-mouse.aspx}} - -@article{a, - Author = {Larry Port}, - Journal = {Law Practice: The Business of Practicing Law}, - Number = {5}, - Pages = {18}, - Title = {Four Ways to Eliminate Procrastination}, - Url = {http://search.ebscohost.com/login.aspx?direct=true&db=a9h&AN=54459308&site=ehost-live}, - Urldate = {2011-09-08}, - Volume = {36}, - Year = {2010}} - -@periodical{appiah92aa, - Annote = {This is the citation for a periodical entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Booktitle = {Critical Inquiry}, - Date-Added = {2008-10-20 14:15:43 +0100}, - Date-Modified = {2008-10-20 14:27:34 +0100}, - Editor = {Kwame Anthony Appiah and Gates, Jr., Henry Louis}, - Issuetitle = {Identities}, - Number = {4}, - Pages = {625--884.}, - Title = {Critical Inquiry}, - Volume = {18}, - Year = {1992}} - -@proceedings{smith09aa, - Address = {Amsterdam}, - Annote = {This is the citation for a proceedings entrytype.}, - Booktitle = {What a Cool Booktitle!}, - Date-Added = {2008-10-20 13:52:39 +0100}, - Date-Modified = {2008-10-27 08:18:19 +0000}, - Editor = {Bob Smith}, - Eventtitle = {Cool Titles Conf.}, - Institution = {Hali\c{c} University}, - Organization = {Funny Little Society}, - Pages = {101-112}, - Publisher = {Rodopi}, - Title = {What a Cool Booktitle!}, - Urldate = {2008-04-17}, - Venue = {Istanbul}, - Year = {2009}} - -@unpublished{smithXXaa, - Annote = {This is the citation for an unpublished entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Author = {Sonia Smith}, - Date-Added = {2008-10-20 11:57:22 +0100}, - Date-Modified = {2008-10-20 11:58:13 +0100}, - Note = {Unpublished essay, 1998}, - Title = {Shakespeare's Dark Lady Revisited}} - -@unpublished{twainXXaa, - Annote = {This is the citation for an unpublished entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Author = {Mark Twain}, - Date-Added = {2008-10-20 11:54:52 +0100}, - Date-Modified = {2008-10-20 11:57:18 +0100}, - Library = {U of California}, - Location = {Berkeley}, - Note = {Mark Twain Papers}, - Titleaddon = {Notebook 32}, - Type = {typescript}} - -@unpublished{octovianXXaa, - Annote = {This is the citation for an unpublished entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Booktitle = {Octovian}, - Date-Added = {2008-10-20 11:54:00 +0100}, - Date-Modified = {2008-10-20 12:12:41 +0100}, - Library = {Dean and Chapter Lib.}, - Location = {Lincolnshire, Eng.}, - Number = {91}, - Sorttitle = {Octovian}, - Type = {manuscript}} - -@unpublished{salviatiXXaa, - Annote = {This is the citation for an unpublished entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Author = {Lionardo Salviati}, - Booktitle = {Poetica d'Aristotile parafrasata e comentata}, - Date-Added = {2008-10-20 11:51:04 +0100}, - Date-Modified = {2008-10-20 12:12:11 +0100}, - Library = {Biblioteca Nazionale Centrale}, - Location = {Firenze}, - Number = {2.2.11}, - Type = {manuscript}} - -@unpublished{chaucerXXaa, - Annote = {This is the citation for an unpublished entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Author = {Geoffrey Chaucer}, - Booktitle = {The Canterbury Tales}, - Date-Added = {2008-10-20 11:49:22 +0100}, - Date-Modified = {2008-10-20 11:51:01 +0100}, - Library = {British Lib.}, - Location = {London}, - Number = {7334}, - Type = {Harley ms}} - -@phdthesis{webb80ab, - Annote = {This is the citation for a phdthesis entrytype.}, - Author = {I. C. Webb}, - Date-Added = {2008-10-20 10:39:11 +0100}, - Date-Modified = {2008-10-20 10:59:54 +0100}, - Entrysubtype = {unpublished}, - Institution = {Correspondence Course State University}, - Location = {Somewhere, NB}, - Origyear = {1975}, - Publisher = {Routledge}, - Shorttitle = {MSc}, - Sorttitle = {MSc}, - Title = {An Unpublished Lic.~Phil.~Thesis}, - Type = {lic}, - Year = {1981}} - -@phdthesis{webb80aa, - Annote = {This is the citation for a phdthesis entrytype.}, - Author = {I. C. Webb}, - Date-Added = {2008-10-20 10:33:40 +0100}, - Date-Modified = {2008-10-20 11:12:18 +0100}, - Entrysubtype = {published}, - Institution = {Correspondence Course State University}, - Location = {Somewhere, NB}, - Number = {4}, - Origyear = {1975}, - Publisher = {Routledge}, - Series = {Transnational Thought}, - Shorttitle = {MSc}, - Sorttitle = {MSc}, - Title = {A Published MSc Thesis}, - Type = {msc}, - Year = {1981}} - -@article{slinger07ab, - Annote = {This is the citation for an article entrytype.}, - Author = {Mudd Slinger}, - Date = {2007-07-02}, - Date-Added = {2008-10-04 12:10:52 +0100}, - Date-Modified = {2008-10-04 12:40:18 +0100}, - Entrysubtype = {newspaper}, - Journal = {Copycat}, - Pages = {1-3}, - Shorttitle = {Sectional}, - Sorttitle = {Sectional 2}, - Title = {Sectional Sections with Numbers in Newspapers}} - -@article{slinger07aa, - Annote = {This is the citation for an article entrytype.}, - Author = {Mudd Slinger}, - Chapter = {4}, - Date = {2007-06-27}, - Date-Added = {2008-10-04 11:48:09 +0100}, - Date-Modified = {2008-10-04 12:39:49 +0100}, - Entrysubtype = {newspaper}, - Journaltitle = {Zeitgeist}, - Location = {Albuquerque}, - Pages = {2-4}, - Shorttitle = {Sectional}, - Sorttitle = {Sectional 1}, - Title = {Sectional Sections with Numbers in Newspapers}, - Version = {natl. ed.}} - -@book{craig87aa, - Address = {Aberdeen}, - Annote = {This is the citation for a book entrytype.}, - Author = {Craig, Cairns}, - Bookauthor = {Craig, Cairns}, - Date-Added = {2008-09-12 14:25:31 +0100}, - Date-Modified = {2008-09-12 14:26:29 +0100}, - Publisher = {Aberdeen UP}, - Title = {History of Scottish Literature}, - Volume = {2--3}, - Date = {1987/1988}} - -@book{gamer00aa, - Address = {Cambridge}, - Annote = {This is the citation for a book entrytype.}, - Author = {Gamer, Michael}, - Date-Added = {2008-09-12 14:21:23 +0100}, - Date-Modified = {2008-09-12 14:22:14 +0100}, - Number = {40}, - Publisher = {Cambridge UP}, - Series = {Cambridge Studies in Romanticism}, - Title = {Romanticism and the Gothic: Genre, Reception, and Canon Formation}, - Year = {2000}} - -@article{makward95ab, - Annote = {This is the citation for an article entrytype.}, - Author = {Christiane Makward}, - Date-Added = {2008-09-09 14:53:56 +0100}, - Date-Modified = {2008-10-04 11:42:47 +0100}, - Issuetitle = {Maryse Cond{\'e}}, - Journal = {Callaloo}, - Number = {3}, - Pages = {681--689}, - Shorttitle = {Reading}, - Title = {Reading Maryse Cond{\'e}'s Theater}, - Volume = {18}, - Year = {1995}} - -@article{makward95aa, - Annote = {This is the citation for an article entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Author = {Christiane Makward}, - Date-Added = {2008-09-09 14:21:14 +0100}, - Date-Modified = {2008-10-04 11:59:19 +0100}, - Editor = {Delphine Perret and Marie-Denise Shelton}, - Issuetitle = {Maryse Cond{\'e}}, - Journal = {Callaloo}, - Number = {3}, - Pages = {681--689}, - Shorttitle = {Reading}, - Title = {Reading Maryse Cond{\'e}'s Theater}, - Volume = {18}, - Year = {1995}} - -@inreference{reference-noon89aa, - Annote = {This is the citation for an inreference entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Booktitle = {The Oxford English Dictionary}, - Date-Added = {2008-05-08 14:08:17 +0100}, - Date-Modified = {2008-05-08 14:08:48 +0100}, - Edition = {2}, - Title = {Noon}, - Titleaddon = {Def.~4b}, - Year = {1989}} - -@inreference{reference-ginsburg02aa, - Annote = {This is the citation for an inreference entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Booktitle = {Who's Who in Americana}, - Date-Added = {2008-05-08 14:03:36 +0100}, - Date-Modified = {2008-05-08 14:04:29 +0100}, - Edition = {56}, - Title = {Ginsburg, Ruth Bader}, - Year = {2002}} - -@inreference{mohanty87aa, - Annote = {This is the citation for an inreference entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Author = {Jitendra M. Mohanty}, - Booktitle = {The New Encyclopaedia Britannica: Macropedia}, - Date-Added = {2008-05-08 14:08:17 +0100}, - Date-Modified = {2008-05-08 14:08:48 +0100}, - Edition = {15}, - Title = {Indian Philosophy}, - Year = {1987}} - -@booklet{washingtondc00aa, - Annote = {This is the citation for a booklet entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Location = {New York}, - Publisher = {Trip Builder}, - Title = {Washington, DC}, - Year = {2000}} - -@booklet{renoir94aa, - Annote = {This is the citation for a booklet entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Location = {New York}, - Publisher = {Dover}, - Title = {Renoir Lithographs}, - Year = {1994}} - -@video{capra01aa, - Annote = {This is the citation for a video entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Date-Added = {2008-05-08 13:29:17 +0100}, - Date-Modified = {2008-10-20 19:05:07 +0100}, - Editor = {Frank Capra}, - Editortype = {director}, - Howpublished = {DVD}, - Namea = {James Stewart and Donna Read and Lionel Barrymore and Thomas Mitchell}, - Nameatype = {performers}, - Options = {useeditor=false}, - Origdate = {1946}, - Publisher = {Republic}, - Title = {It's a Wonderful Life}, - Year = {2001}} - -@video{jhabvala85aa, - Annote = {This is the citation for a video entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Author = {Ruth Prawer Jhabvala}, - Authortype = {adaptor}, - Bookauthor = {E. M. Forster}, - Date-Added = {2008-05-08 13:29:17 +0100}, - Date-Modified = {2008-10-20 19:04:40 +0100}, - Editor = {James Ivory}, - Editortype = {director}, - Namea = {Ismail Merchant}, - Nameatype = {producer}, - Nameb = {Maggie Smith and Denholm Eliot and Helena Bonham Carter and Daniel Day-Lewis}, - Namebtype = {performers}, - Publisher = {Cinecom Intl.~Films}, - Title = {A Room with a View}, - Year = {1985}} - -@review{danish1972aa, - Annote = {Listed here are examples of annotations listed within the Works Cited. This particular entry is the citation for a review entrytype. I found the source listed in the \emph{MLA Style Manual}.\par Define annotations in the .bib file, and call them with an option in the preamble. Indicate paragraph breaks using the ``par'' command.}, - Booktitle = {Anthology of Danish Literature}, - Date = {1972-07-07}, - Date-Added = {2008-05-05 12:05:33 +0100}, - Date-Modified = {2008-05-05 12:15:42 +0100}, - Editor = {F. J. Billeskov Jansen and P. M. Mitchell}, - Entrysubtype = {newspaper}, - Journaltitle = {Times Literary Supplement}, - Pages = {785}, - Sortname = {{Anthology of Danish Literature}}} - -@review{slater01aa, - Annote = {This is the citation for a review entrytype.}, - Author = {Lisa Slater}, - Bookauthor = {Kim Scott}, - Booktitle = {Benang: From the Heart}, - Date = {2001}, - Date-Added = {2008-05-05 11:18:18 +0100}, - Date-Modified = {2008-05-05 11:21:01 +0100}, - Journaltitle = {Southerly}, - Number = {1}, - Pages = {224}, - Title = {\emph{Benang}: \mkbibquote{I found myself among Paper}}, - Volume = {61}} - -@incollection{haggis99aa, - Annote = {This is the citation for an incollection entrytype.}, - Author = {Mary Haggis}, - Crossref = {reader99aa}, - Date-Added = {2007-08-14 12:55:28 +0100}, - Date-Modified = {2008-10-26 23:22:40 +0000}, - Origyear = {1965}, - Pages = {6-10}, - Title = {Another Article (Incollection) Cross-Reffing a Book}} - -@incollection{sampul99aa, - Annote = {This is the citation for an incollection entrytype.}, - Author = {F. I. N. Al Sampul}, - Crossref = {reader99aa}, - Date-Added = {2007-08-14 12:54:53 +0100}, - Date-Modified = {2007-08-14 12:55:25 +0100}, - Pages = {1-5}, - Title = {An Article Crossref-ing a Collection}} - -@collection{reader99aa, - Address = {Utopia, NB}, - Annote = {This is the citation for a collection entrytype.}, - Booktitle = {Book of Collected Things by Many People for Crossrefs}, - Date-Added = {2007-08-14 12:51:22 +0100}, - Date-Modified = {2007-08-14 13:10:32 +0100}, - Editor = {Ima G. Reader}, - Publisher = {Publishers, Ltd.}, - Shorttitle = {Book of Collected}, - Title = {Book of Collected Things by Many People for Crossrefs}, - Year = {1999}} - -@incollection{example99aa, - Annote = {This is the citation for an incollection entrytype.}, - Author = {Anna Other Example}, - Crossref = {public99ac}, - Date-Added = {2007-08-14 12:49:19 +0100}, - Date-Modified = {2007-08-14 12:51:16 +0100}, - Pages = {105-195}, - Shorttitle = {Incollection}, - Title = {Incollection Template}, - Volume = {1}} - -@incollection{example99ab, - Annote = {This is the citation for an incollection entrytype.}, - Author = {Anna Other Example}, - Crossref = {public99ac}, - Date-Added = {2007-08-14 12:49:19 +0100}, - Date-Modified = {2007-08-14 12:51:16 +0100}, - Pages = {275-301}, - Shorttitle = {Yet Another}, - Title = {Yet Another Crossref Work}, - Volume = {1}} - -@thesis{webb84aa, - Address = {Somewhere, NB}, - Annote = {This is the citation for a thesis entrytype.}, - Author = {I. C. Webb}, - Date-Added = {2007-08-14 12:48:08 +0100}, - Date-Modified = {2008-10-04 11:07:25 +0100}, - Note = {Nota bene}, - School = {Correspondence Course State University}, - Sorttitle = {Masters}, - Title = {The Masters Thesis Template}, - Titleaddon = {Nota bene}, - Type = {msc}, - Year = {1984}} - -@thesis{webb81aa, - Address = {Somewhere, NB}, - Annote = {This is the citation for a thesis entrytype.}, - Author = {I. C. Webb}, - Date-Added = {2007-08-14 12:46:19 +0100}, - Date-Modified = {2007-08-22 08:57:18 +0100}, - School = {Correspondence Course State University}, - Shorttitle = {PhD}, - Sorttitle = {PhD}, - Title = {A PhD Dissertation Template}, - Type = {phd}, - Year = {1981}} - -@article{webb83aa, - Annote = {This is the citation for an article entrytype.}, - Author = {I. C. Webb}, - Date-Added = {2008-01-29 12:44:36 +0100}, - Date-Modified = {2008-01-29 13:13:08 +0100}, - Journal = {Online Studies}, - Number = {1}, - Shorttitle = {Online}, - Title = {Online Article Template with Access Date}, - Url = {www.example.com/webb1983}, - Urldate = {2007-11-22}, - Volume = {9}, - Year = {1983}, - Bdsk-Url-1 = {www.example.com/webb1983}} - -@article{askme06aa, - Annote = {This is the citation for an article entrytype.}, - Author = {Donna Askme}, - Date-Added = {2007-08-14 12:43:03 +0100}, - Date-Modified = {2007-08-14 12:44:20 +0100}, - Journal = {Journal of Translated Articles}, - Month = {9}, - Pages = {12-19}, - Shorttitle = {Elaborate}, - Title = {Elaborate Article}, - Translator = {Minnie Tongues}, - Volume = {29}, - Year = {2006}} - -@article{askme92aa, - Annote = {This is the citation for an article entrytype.}, - Author = {Donna Askme}, - Journal = {Journal of Pseudonyms}, - Nameaddon = {Donnatella}, - Number = {1}, - Pages = {314--329}, - Shorttitle = {Unique}, - Title = {Unique Pseudonymity}, - Volume = {4}, - Year = {1992}} - -@article{taskme06aa, - Annote = {This is the citation for an article entrytype.}, - Author = {Donna Taskme}, - Date-Added = {2007-08-14 12:43:03 +0100}, - Date-Modified = {2007-08-14 12:44:20 +0100}, - Journal = {Journal of Translated Articles}, - Month = {9}, - Pages = {12-19}, - Shorthand = {EA}, - Shorttitle = {Elaborate Article}, - Title = {Elaborate Article with Shorthand}, - Translator = {Minnie Tongues}, - Volume = {29}, - Year = {2006}} - -@article{taskme07aa, - Annote = {This is the citation for an article entrytype.}, - Author = {Donna Taskme}, - Date-Added = {2007-08-14 12:43:03 +0100}, - Date-Modified = {2007-08-14 12:44:20 +0100}, - Journal = {Journal of Translated Articles}, - Month = {9}, - Pages = {12-19}, - Shorttitle = {Simple Article}, - Title = {Simple Article without Shorthand}, - Translator = {Minnie Tongues}, - Volume = {29}, - Year = {2007}} - -@article{doe05aa, - Annote = {This is the citation for an article entrytype.}, - Author = {Jane Doe}, - Date-Added = {2007-08-14 12:41:58 +0100}, - Date-Modified = {2007-08-14 12:42:46 +0100}, - Journal = {General Studies}, - Number = {4}, - Pages = {12-45}, - Shorttitle = {Default}, - Title = {Default Article Template}, - Volume = {4}, - Year = {2005}} - -@article{slinger02aa, - Annote = {This is the citation for an article entrytype.}, - Author = {Mudd Slinger}, - Date = {2002-10-13}, - Date-Added = {2007-08-14 12:41:58 +0100}, - Date-Modified = {2008-10-04 11:52:12 +0100}, - Entrysubtype = {newspaper}, - Journal = {Daily Newspaper}, - Location = {Toronto}, - Pages = {B1+}, - Shorttitle = {Newspaper}, - Title = {Newspaper Article}, - Version = {late ed.}} - -@book{public08aa, - Address = {Hello, HI}, - Annote = {This is the citation for a book entrytype.}, - Author = {John Q. Public}, - Booktitle = {Absolutely Elaborate Book Template}, - Date-Added = {2007-08-14 12:39:11 +0100}, - Date-Modified = {2007-08-14 12:41:55 +0100}, - Edition = {9}, - Editor = {Ima G. Reader}, - Number = {4}, - Origyear = {2007}, - Publisher = {Publishers Unlimited}, - Series = {Elaborate Book Template Series}, - Shorttitle = {Elaborate}, - Title = {Absolutely Elaborate Book Template}, - Translator = {Minnie Tongues}, - Year = {2008}} - -@book{octovian86aa, - Address = {London}, - Annote = {This is the citation for a book entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Editor = {Frances McSparran}, - Number = {289}, - Options = {useeditor=false}, - Publisher = {Oxford UP}, - Series = {Early English Text Soc.}, - Title = {Octovian}, - Year = {1986}} - -@incollection{beowulf06aa, - Address = {New York}, - Annote = {This is the citation for an incollection entrytype.}, - Booktitle = {The Norton Anthology of English Literature}, - Edition = {8}, - Editor = {Stephen Greenblatt and M. H. Abrams and Carol T. Christ and Alfred David and Barbara K. Lewalski and Lawrence Lipking and George M. Logan and Deidre Shauna Lynch}, - Options = {useeditor=false}, - Pages = {34-100}, - Publisher = {W. W. Norton}, - Title = {Beowulf}, - Volume = {1}, - Year = {2006}} - -@collection{public99ac, - Address = {Utopia, NB}, - Annote = {This is the citation for a collection entrytype.}, - Booktitle = {My Favorite Things}, - Date-Added = {2007-08-14 12:49:19 +0100}, - Date-Modified = {2007-08-14 12:51:16 +0100}, - Editor = {John Q. Public}, - Publisher = {Publishers, Ltd.}, - Shorttitle = {Collected}, - Title = {Collected Poems}, - Volume = {1}, - Year = {1999}} - -@book{public08ab, - Address = {Hello, HI}, - Annote = {This is the citation for a book entrytype.}, - Author = {John Q. Public and Mimi Moi}, - Booktitle = {Multi-Authored, More Elaborate Book Template}, - Edition = {9}, - Editor = {Ima G. Reader}, - Number = {4}, - Publisher = {Publishers Unlimited}, - Series = {Elaborate Book Template Series}, - Shorttitle = {Multi-Elaborate}, - Title = {Multi-Authored, More Elaborate Book Template}, - Translator = {Minnie Tongues}, - Year = {2008}} - -@book{coulson64aa, - Address = {New York}, - Annote = {This is the citation for a book entrytype. I found this source listed in the \emph{MLA Style Manual}.}, - Author = {Feodor Dostoevsky}, - Date-Modified = {2008-10-26 17:52:29 +0000}, - Editor = {George Gibian}, - Options = {useauthor=false,useeditor=false,usetranslator=true}, - Publisher = {Norton}, - Sorttitle = {Coulson, Jessie}, - Title = {Crime and Punishment}, - Translator = {Jessie Coulson}, - Year = {1964}} - -@book{public07aa, - Address = {Anywhere, NB}, - Annote = {This is the citation for a book entrytype.}, - Author = {John Q. Public}, - Booktitle = {Default Book Template}, - Date-Added = {2007-08-14 12:37:30 +0100}, - Date-Modified = {2007-08-14 12:39:01 +0100}, - Publisher = {Publishers, Ltd.}, - Shorttitle = {Default}, - Title = {Default Book Template}, - Year = {2007}} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/english-mla.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/english-mla.lbx index 1e98c7d73c..9246682fc5 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/english-mla.lbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/english-mla.lbx @@ -1,6 +1,6 @@ -% english-mla.lbx v0.4.5 2013/03/24 +% english-mla.lbx v2.0 2021/05/12 -\ProvidesFile{english-mla.lbx}[2013/03/24 v0.4.5 biblatex style localization] +\ProvidesFile{english-mla.lbx}[2021/05/12 v2.0 biblatex style localization] \InheritBibliographyExtras{english} \DeclareBibliographyExtras{% @@ -13,17 +13,17 @@ {} {\mkbibmonth{\thefield{#2}}% \iffieldundef{#1}{}{\space}}% - \mkdatezeros{\thefield{#1}}}% + \mkyearzeros{\thefield{#1}}}% \protected\def\mkbibdateshort#1#2#3{% \iffieldundef{#3} {} - {\mkdatezeros{\thefield{#3}}% + {\mkdayzeros{\thefield{#3}}% \iffieldundef{#2}{}{/}}% \iffieldundef{#2} {} - {\mkdatezeros{\thefield{#2}}% + {\mkmonthzeros{\thefield{#2}}% \iffieldundef{#1}{}{/}}% - \mkdatezeros{\thefield{#1}}}% + \mkyearzeros{\thefield{#1}}}% } \DeclareBibliographyStrings{% @@ -31,21 +31,21 @@ bibliography = {{Works Cited}{Works Cited}}, references = {{Works Cited}{Works Cited}}, compilerandeditor = {{compiler and editor}{comp\adddotspace and ed\adddot}},% 0.95 - bycompilerandeditor = {{compiled and edited by}{comp\adddotspace and ed\adddot}},% 0.95 + bycompilerandeditor = {{compiled and edited by}{compiled and edited by}},% 0.95 % typecompilerandeditor = {{compiler and editor}{comp\adddotspace and ed\adddot}},% 0.7 % bytypecompilerandeditor = {{compiled and edited by}{comp\adddotspace and ed\adddot}},% 0.7 % typegeneraleditor = {{general editor}{gen\adddotspace ed\adddot}},% 0.7.1 % bytypegeneraleditor = {{general editor}{gen\adddotspace ed\adddot}},% 0.7.1 - generaleditor = {{general editor}{gen\adddotspace ed\adddot}}, + generaleditor = {{gen\adddot ed\adddot}{general editor}}, bytranslator = {{translated by}{translated by}}, byeditor = {{edited by}{edited by}}, % byserieseditor = {{general editor}{general editor}},% not used? % page = {{\unskip}{\unskip}}, % pages = {{\unskip}{\unskip}}, - byeditortr = {{ed\adddotspace and trans\adddot}{ed\adddotspace and trans\adddot}}, + byeditortr = {{ed\adddotspace and trans\adddot}{edited and translated}}, byeditorco = {{ed\adddotspace and comm\adddot}{ed\adddotspace and comm\adddot}}, byeditoran = {{ed\adddotspace and annot\adddot}{ed\adddotspace and annot\adddot}}, - byeditorin = {{ed\adddotspace and introd\adddot}{ed\adddotspace and introd\adddot}}, + byeditorin = {{ed\adddotspace and introd\adddot}{edited and introduced by}}, byeditorfo = {{ed\adddotspace and forew\adddot}{ed\adddotspace and forew\adddot}}, byeditoraf = {{ed\adddotspace and afterw\adddot}{ed\adddotspace and afterw\adddot}}, byeditortrco = {{ed, trans\adddot, and comm\adddot}{ed, trans\adddot, and comm\adddot}}, @@ -76,10 +76,11 @@ bytranslatoranin = {{trans\adddot, annot\adddot, and introd\adddot}{trans\adddot, annot\adddot, and introd\adddot}}, bytranslatoranfo = {{trans\adddot, annot\adddot, and forew\adddot}{trans\adddot, annot\adddot, and forew\adddot}}, bytranslatoranaf = {{trans\adddot, annot\adddot, and afterw\adddot}{trans\adddot, annot\adddot, and afterw\adddot}}, + circa = {{ca\adddot}{circa}}, newseries = {{ns}{ns}}, oldseries = {{os}{os}}, reprintof = {{reprint of}{rpt\adddotspace of}},% 0.7.1 fixed - phdthesis = {{Diss\adddot}{Diss\adddot}}, + phdthesis = {{PhD dissertation}{PhD dissertation}}, reviewof = {{rev\adddotspace of}{rev\adddotspace of}}, specissue = {{spec\adddot\addspace issue of}{spec\adddot\addspace issue of}}, section = {{sec\adddot}{sec\adddot}}, @@ -88,16 +89,27 @@ withintroduction = {{introd\adddot}{introd\adddot}}, withforeword = {{forew\adddot}{forew\adddot}}, withafterword = {{afterw\adddot}{afterw\adddot}}, - phd = {{Diss\adddot}{Diss\adddot}}, - dphil = {{Diss\adddot}{Diss\adddot}}, + phd = {{PhD dissertation}{PhD dissertation}}, + dphil = {{DPhil dissertation}{DPhil dissertation}}, lic = {{Licentiate thesis}{Licentiate thesis}}, - ma = {{{MA}\adddotspace thesis}{{MA}\adddotspace thesis}}, - ms = {{{MS}\adddotspace thesis}{{MS}\adddotspace thesis}}, - msc = {{{MS}c\adddotspace thesis}{{MS}c\adddotspace thesis}}, - mphil = {{{MP}hil\adddotspace thesis}{{MP}hil\adddotspace thesis}}, - mlitt = {{{ML}itt\adddotspace thesis}{{ML}itt\adddotspace thesis}}, - manuscript = {{ms\adddot}{ms\adddot}}, - typescript = {{ts\adddot}{ts\adddot}}, + ma = {{{MA} thesis}{{MA} thesis}}, + ms = {{{MS} thesis}{{MS} thesis}}, + msc = {{{MS}c thesis}{{MS}c thesis}}, + mphil = {{{MP}hil thesis}{{MP}hil thesis}}, + mlitt = {{{ML}itt thesis}{{ML}itt thesis}}, + manuscript = {{manuscript}{manuscript}}, + patentde = {{Deutsches Patent- und Markenamt}{DE}}, + patenteu = {{European Patent Office}{EU}}, + patentfr = {{Institut National de la Propriété Industrielle}{FR}}, + patentuk = {{The Intellectual Property Office of the United Kingdom}{UK}}, + patentus = {{United States Patent and Trademark Office}{US}}, + % patreq = {{patent request}{pat\adddot\ req\adddot}}, + % patreqde = {{German patent request}{German pat\adddot\ req\adddot}}, + % patreqeu = {{European patent request}{European pat\adddot\ req\adddot}}, + patreqfr = {{Institut National de la Propriété Industrielle}{FR pat\adddot req\adddot}}, + % patrequk = {{British patent request}{British pat\adddot\ req\adddot}}, + % patrequs = {{U.S\adddotspace patent request}{U.S\adddotspace pat\adddot\ req\adddot}}, + typescript = {{typescript}{typescript}}, director = {{dir\adddot}{dir\adddot}}, screenplay = {{adapt\adddot}{adapt\adddot}}, adaptation = {{adapt\adddot}{adapt\adddot}}, @@ -139,4 +151,4 @@ % % regex for find and replace (moving from mla.bbx to localized modules) % find: {(.*?)}, -% replace: {{$1}{$1}},
\ No newline at end of file +% replace: {{$1}{$1}}, diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/italian-mla.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/italian-mla.lbx index 46a0dae504..20aee0c0ec 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/italian-mla.lbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/italian-mla.lbx @@ -1,9 +1,10 @@ -% italian-mla.lbx v0.1.5 2013/03/24 +% italian-mla.lbx v0.1.6 2021/06/08 % % Italian localization in this file provided by Andrea Marchitelli. % Abbreviations taken, whenever possible, from Italian Cataloguing Rules +% Updated inexpertly by a non-native speaker many years later. -\ProvidesFile{italian-mla.lbx}[2013/03/24 v0.1.5 biblatex style localization] +\ProvidesFile{italian-mla.lbx}[2021/06/08 v0.1.6 biblatex style localization] \InheritBibliographyExtras{italian} @@ -17,17 +18,17 @@ {} {\mkbibmonth{\thefield{#2}}% \iffieldundef{#1}{}{\space}}% - \mkdatezeros{\thefield{#1}}}% + \mkyearzeros{\thefield{#1}}}% \protected\def\mkbibdateshort#1#2#3{% \iffieldundef{#3} {} - {\mkdatezeros{\thefield{#3}}% + {\mkdayzeros{\thefield{#3}}% \iffieldundef{#2}{}{/}}% \iffieldundef{#2} {} - {\mkdatezeros{\thefield{#2}}% + {\mkmonthzeros{\thefield{#2}}% \iffieldundef{#1}{}{/}}% - \mkdatezeros{\thefield{#1}}}% + \mkyearzeros{\thefield{#1}}}% } \DeclareBibliographyStrings{% @@ -90,24 +91,43 @@ msc = {{MSc\addabbrvspace tesis}{MSc\addabbrvspace tesis}},% 0.6 mphil = {{MPhil\addabbrvspace tesis}{MPhil\addabbrvspace tesis}},% 0.6 mlitt = {{MLitt\addabbrvspace tesis}{MLitt\addabbrvspace tesis}},% 0.6 - manuscript = {{manoscritto}{ms\adddot}}, - typescript = {{dattiloscritto}{datt\adddot}}, - director = {{regista}{reg\adddot}}, - screenplay = {{sceneggiatura\adddot}{scen\adddot}}, + manuscript = {{manoscritto}{manoscritto}}, + typescript = {{dattiloscritto}{dattiloscritto}}, + director = {{regista}{regista}}, + screenplay = {{sceneggiatura}{scen\adddot}}, adaptation = {{adattamento}{adatt\adddot}}, - adaptor = {{adatt\adddot}{adapt\adddot}},% + adaptor = {{adatt\adddot}{adatt\adddot}},% % performer = {{perf\adddot}{perf\adddot}},% % performers = {{perf\adddot}{perf\adddot}},% % composer = {{compositore}{compositore}}, % composedby = {{composto~da}{composto~da}},% % producer = {{produttore}{produttore}}, with = {{con}{con}}, - proceedings = {{atti}{atti}},% FIXME + proceedings = {{atti}{atti}}, bycompiler = {{compilato da}{comp\addotspace da}}, print = {{a stampa}{a stampa}},% 0.9 - web = {{online}{online}},% 0.9 - transof = {{traduzione di}{trad\adddotspace di}},% 0.7 - reprintof = {{ristampa di}{rpt\adddotspace of}},% 0.7.1 fixed + web = {{web}{web}},% 2.0 changed + transof = {{traduzione di}{traduzione di}, + reprintof = {{ristampa di}{rpt\adddotspace of}}, + % FIXME 2.0 check the following for quality of Italian translation + patentde = {{Deutsches Patent- und Markenamt}{DE}},% localised in German + patenteu = {{Ufficio europeo dei brevetti}{EU}}, + patentfr = {{Institut National de la Propriété Industrielle}{FR}},% localised in French + patentuk = {{The Intellectual Property Office of the United Kingdom}{UK}},% localised in English + patentus = {{United States Patent and Trademark Office}{US}},% localised in English + % patreq = {{patent request}{pat\adddot\ req\adddot}}, + % patreqde = {{German patent request}{German pat\adddot\ req\adddot}}, + % patreqeu = {{European patent request}{European pat\adddot\ req\adddot}}, + patreqfr = {{Institut National de la Propriété Industrielle}{FR pat\adddot req\adddot}}, + % patrequk = {{British patent request}{British pat\adddot\ req\adddot}}, + % patrequs = {{U.S\adddotspace patent request}{U.S\adddotspace pat\adddot\ req\adddot}}, + performer = {{artista}{artista}, + performers = {{art\adddot}{art\adddot}, + composer = {{comp\adddot}{comp\adddot}}, + composedby = {{composto~da}{composto~da}}, + producer = {{prod\adddot}{prod\adddot}}, + volstodate = {{volumi fino ad oggi}{volumi fino ad oggi}}, + supptotitle = {{a}{a}}, } -\endinput
\ No newline at end of file +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-footnotes.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-footnotes.cbx new file mode 100644 index 0000000000..ff89a9212f --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-footnotes.cbx @@ -0,0 +1,434 @@ +% This cbx file does not supply a stand-alone type. Rather, these functions are separated in order to simplify maintenance of the main mla-strict.cbx file, since the MLA Handbook no longer advises on ways to style full bibliographic information in the footnote. To use MLA-style footnotes, please set your style to "mla" or "mla-strict" and add the option "autocite=footnote". +\ProvidesFile{mla-footnotes.cbx}[2021/05/12 v2.0 biblatex citation style] + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%% Format Declarations %%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\@ifpackagelater{biblatex}{2016/03/01}{% + \DeclareNameFormat{cite:foot:editor}{% + \nameparts{#1}% + \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\partnamesuffix}% + \usebibmacro{name:andothers}}% + \DeclareNameFormat{cite:foot:translator}{% + \nameparts{#1}% + \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\partnamesuffix}% + \usebibmacro{name:andothers}}% +}{% + \DeclareNameFormat{cite:foot:editor}{% + \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:andothers}}% + \DeclareNameFormat{cite:foot:translator}{% + \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:andothers}}% +}% +\DeclareFieldFormat{foot:cite:edition:format}{% + \ifinteger{#1}% + {\mkbibordinal{#1}~\bibstring{edition}}% + {\printtext[mla:lowercase]{#1}}} +\DeclareFieldFormat{supptotitle}% + {\bibstring{supptotitle}\addspace\mkbibemph{#1}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%% Footnote Definitions %%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newbibmacro*{cite:mla:foot}{% + \ifciteseen% + {\usebibmacro{cite:mla:seen}}% + {\ifbool{cbx@nofullfootnote}% + {\usebibmacro{cite:mla:seen}}% + {\usedriver{}{footcite:\strfield{entrytype}}}% + }} + +\newbibmacro*{cite:foot:name}{% + \global\boolfalse{cbx@named}% + \usebibmacro{cite:foot:author/editor}% + \savefield{namehash}{\cbx@lasthash}}% + +\newbibmacro*{cite:foot:author:review}{% + \global\boolfalse{cbx@named}% + \ifnameundef{author}% + {}% + {\usebibmacro{cite:foot:author}% + \savefield{namehash}{\cbx@lasthash}% + \global\booltrue{cbx@named}% + }}% + +\newbibmacro*{cite:foot:author/editor}% +{\ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}% + {\usebibmacro{cite:foot:author}}% + {\usebibmacro{cite:foot:editor}}}% + +\newbibmacro*{cite:foot:author}{% + \ifbool{bbx@totalnames}% + {\printnames[byauthor][-\value{listtotal}]{author}}% + {\printnames[byauthor]{author}}% + \clearname{author}\global\booltrue{cbx@named}% + \printfield{nameaddon}} + +\newbibmacro*{cite:foot:editor}{% + \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}% + {\ifbool{bbx@totalnames}% + {\printnames[byeditor][[-\value{listtotal}]]{editor}}% + {\printnames[byeditor]{editor}}% + \setunit*{\addcomma\space}% + \usebibmacro{editorstrg}% + \clearname{editor}\global\booltrue{cbx@named}}% + {\ifusetranslator% + {\printnames[byeditor]{translator}% + \setunit*{\addcomma\space}% + \usebibmacro{translatorstrg}% + \clearname{translator}\global\booltrue{cbx@named}}% + {}% + }}% + +\newbibmacro*{cite:foot:byauthor:incollection}{% + \ifthenelse{\ifuseauthor\OR% + \ifnameundef{author}\OR% + \ifnamesequal{author}{bookauthor}}% + {}% + {\biblcstring{byauthor}\addspace% + \printnames[byauthor]{author}}} + +\newbibmacro*{cite:foot:byauthor}{% + \ifthenelse{\ifuseauthor\OR% + \ifnameundef{author}}% + {}% + {\bibstring{byauthor}\addspace\printnames[byauthor]{author}}} + +\newbibmacro*{cite:foot:bybookauthor}{% + \ifthenelse{\ifnameundef{bookauthor}\OR% + \(\ifnamesequal{author}{bookauthor}\AND\ifuseauthor\)\OR% + \iffieldequalstr{entrytype}{inbook}}% + {}% + {\bibstring{byauthor}\addspace\printnames[byauthor]{bookauthor}}} + +\DeclareBibliographyDriver{footcite:booklet}{% + \usedriver{}{footcite:book}} + +\DeclareBibliographyDriver{footcite:mvbook}{% + \usedriver{}{footcite:book}} + +\DeclareBibliographyDriver{footcite:collection}{% + \usedriver{}{footcite:book}} + +\DeclareBibliographyDriver{footcite:reference}{% + \usedriver{}{footcite:book}} + +\DeclareBibliographyDriver{footcite:book}{% + \usebibmacro{cite:foot:name}% + \ifbool{cbx@named}% 0.7.1 + {\setunit{\newunitpunct}}% + {\setunit{}}% + \usebibmacro{cite:foot:title}% + \newunit% + \usebibmacro{cite:foot:byauthor}% + \newunit% + \usebibmacro{cite:foot:byeditor}% + \newunit% + \usebibmacro{cite:foot:bytranslator}% + \newunit% + \printfield{edition}% + \newunit% + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}}% + {}% + \newunit% + \printfield{volumes}% + \newunit% + \usebibmacro{series+number}% + \setunit{\addspace}% + \usebibmacro{cite:foot:publisher+location+year}} + +\newbibmacro*{cite:foot:publisher+location+year}{% + \printtext[parens]{% + \printfield[noformat]{origyear}% + \setunit*{\addsemicolon\addspace}% + \printlist{location}% + \iflistundef{publisher}% + {\setunit*{\addspace}}% + {\setunit*{\addcolon\space}}% + \printlist{publisher}% + \newunit% + \printfield{year}}} + +\DeclareBibliographyDriver{footcite:article}{% + \usebibmacro{cite:foot:name}% + \newunit% + \usebibmacro{cite:foot:title}% + \newunit% + \usebibmacro{cite:foot:byauthor:incollection}% + \newunit% + \usebibmacro{cite:foot:bytranslator}% + \newunit% + \usebibmacro{journal+issuetitle}% + \newunit% + \iffieldundef{url}{}{\usebibmacro{cite:foot:url+urldate}}% + \setunit{\addcolon\addspace}% + \iffieldundef{postnote}% + {\printfield{pages}}% + {}}% + +\newbibmacro*{cite:foot:url+urldate}{% + \printtext{\biburldatelong}% + \setunit{\addspace}% + \printfield{url}} + +\DeclareBibliographyDriver{footcite:inreference}{% + \usedriver{}{footcite:incollection}} + +\DeclareBibliographyDriver{footcite:inbook}{% + \usedriver{}{footcite:incollection}} + +\DeclareBibliographyDriver{footcite:incollection}{% + \usebibmacro{cite:foot:name}% + \ifbool{cbx@named}% 0.7.1 + {\setunit{\newunitpunct}}% + {\setunit{}}% + \ifthenelse{% + \iffieldequalstr{entrysubtype}{book}% + \OR% + \iffieldequalstr{entrysubtype}{play}}% + {\usebibmacro{cite:foot:title:incollection:italics}}% + {\usebibmacro{cite:foot:title}}% + \newunit% + \printfield[mla:lowercase]{titleaddon}% + \newunit% + \usebibmacro{cite:foot:byauthor:incollection}% + \newunit% + \ifbool{bbx@uniquetranslator}% + {\usebibmacro{cite:foot:bytranslator}\clearname{translator}}% + {}% + \ifthenelse{% + \iffieldequalstr{entrysubtype}{book}% + \OR% + \iffieldequalstr{entrysubtype}{play}}% + {\setunit{\addcomma\addspace\bibstring{in}\addspace}}% + {\newunit}% + \printtext[citetitle:book]{% + \printfield[noformat]{booktitle}% + \setunit{\subtitlepunct}% + \printfield[noformat]{booksubtitle}% + }% + \usebibmacro{cite:foot:bybookauthor}% + \newunit% + \usebibmacro{cite:foot:byeditor}% + \newunit% + \iffieldsequal{year}{edition}% + {\printfield{year}~\bibstring{edition}\clearfield{year}}% + {\printfield[foot:cite:edition:format]{edition}\isdot}% + \newunit% + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}}% + {}% + \newunit% + \printfield{volumes}% + \newunit% + \usebibmacro{series+number}% + \setunit{\addspace}% + \iffieldundef{year}% + {}% + {\usebibmacro{cite:foot:publisher+location+year}}% + \setunit{\addspace}% + \iffieldundef{postnote}% + {\printfield{pages}}% + {}% + }% + +\DeclareBibliographyDriver{footcite:phdthesis}{% + \usedriver{}{footcite:thesis}} + +\DeclareBibliographyDriver{footcite:thesis}{% + \usebibmacro{cite:foot:name}% + \newunit% + \usebibmacro{title}% + \newunit% + \ifbibstring{\thefield{type}}% + {\printtext[default]{\bibstring{\thefield{type}}}}% + {\printtext[default]{\printfield{type}}}% + \newunit% + \printlist{institution}% + \newunit% + \iffieldequalstr{entrysubtype}{published}% + {\printfield{origyear}\clearfield{origyear}}% + {\printfield{year}}% + \newunit% + \iffieldequalstr{entrysubtype}{published}% + {\usebibmacro{series+number}% + \setunit{\addspace}% + \usebibmacro{cite:foot:publisher+location+year}}% + {}} + +\DeclareBibliographyDriver{footcite:review}{% + \usebibmacro{cite:foot:author:review}% + \ifbool{cbx@named}% + {\setunit{\newunitpunct}}% + {\setunit{}}% + \usebibmacro{cite:foot:title}% + \setunit*{\newunitpunct}% + \printtext[bibhyperref]% + {\bibstring{reviewof}\addspace\printfield{booktitle}}% + \newunit% + \ifnameundef{bookauthor}% + {\printtext[reviewededitor]{\printnames[default]{editor}}}% + {\printtext[reviewedauthor]{\printnames[default]{bookauthor}}}% + \newunit% + \usebibmacro{journal+issuetitle}% + \newunit% + \iffieldundef{url}{}{\usebibmacro{cite:foot:url+urldate}}% + \setunit{\addcolon\addspace}% + \iffieldundef{postnote}% + {\printfield{pages}}% + {}}% + +\DeclareBibliographyDriver{footcite:video}{% + \setbool{cbx@named}{false}% + \ifnamesequal{labelname}{author}% + {\usebibmacro{mla:video:name:first:footnote}{author}% + \setbool{cbx@named}{true}}% + {}% + \ifnamesequal{labelname}{editor}% + {\usebibmacro{mla:video:name:first:footnote}{editor}% + \setbool{cbx@named}{true}}% + {}% + \ifbool{cbx@named}% + {\setunit{\newunitpunct}}% + {\setunit{}}% + \printtext[bibhyperref]{\printfield{title}}% + \newunit% + \ifnameundef{bookauthor}% + {}% + {\printtext[reviewedauthor]{\printnames[byeditor]{bookauthor}}}% + \newunit% + \usebibmacro{mla:video:name:second:footnote}{author}% + \newunit% + \usebibmacro{mla:video:name:second:footnote}{editor}% + \newunit% + \usebibmacro{mla:video:name:second:footnote}{namea}% + \newunit% + \usebibmacro{mla:video:name:second:footnote}{nameb}% + \newunit% + \usebibmacro{mla:video:name:second:footnote}{namec}% + \newunit% + \printfield{origyear}% + \newunit% + \printfield{howpublished}% + \newunit% + \printlist{publisher}% + \newunit% + \printfield{year}% + \addperiod} + +\DeclareBibliographyDriver{footcite:suppcollection}{% + \usedriver{}{footcite:suppbook}} + +\DeclareBibliographyDriver{footcite:suppbook}{% + \usebibmacro{cite:foot:name}% + \newunit% + \usebibmacro{cite:foot:title}% + \newunit% + \printfield{entrysubtype}% + \newunit% + \usebibmacro{booktitle}% + \setunit{\newunitpunct\bibstring{bytypeauthor}\addspace}% + \ifnamesequal{labelname}{bookauthor}% + {\printnames[mla:last]{bookauthor}}% + {\printnames[byauthor]{bookauthor}}% + \newunit% + \usebibmacro{byeditor+others}% + \newunit% + \printfield{edition}% + \newunit% + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}}% + {}% + \newunit% + \printfield{volumes}% + \newunit% + \usebibmacro{series+number}% + \setunit{\addspace}% + \usebibmacro{cite:foot:publisher+location+year}% + \setunit{\addspace}% + \iffieldundef{postnote}% + {\printfield{pages}}% + {}} + +\DeclareBibliographyDriver{footcite:unpublished}{% + \usebibmacro{cite:foot:name}% + \newunit% + \usebibmacro{mla:title:unpublished}% + \newunit% + \newunit% + \printfield{note}% + \newunit% + \usebibmacro{mla:all:type:foot}% + \setunit*{\isdot\addspace}% + \printfield{number}% + \newunit% + \printfield{library}% + \setunit{\addcomma\addspace}% + \printlist{location}% + \newunit% + \printfield{addendum}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{footcite:periodical}{% + \usebibmacro{cite:foot:editor}% + \setunit{\labelnamepunct}\newblock% + \usebibmacro{mla:article:journal+issuetitle}% + \newunit\newblock + \printfield{note}% + \setunit{\addcolon\addspace}\newblock + \iffieldundef{postnote}% + {\printfield{pages}}% + {}% + \newunit\newblock + \usebibmacro{url+urldate}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\newbibmacro*{cite:foot:title}{% + \iffieldundef{title}% + {}% + {\printtext[bibhyperref]{% + \printtext[citetitle:\strfield{entrytype}]{% + \printfield[noformat]{title}% + \setunit{\subtitlepunct}% + \printfield[noformat]{subtitle}}}% + }}% + +\newbibmacro*{cite:foot:title:incollection:italics}{% + \printtext[bibhyperref]{% + \printtext[title:book]{% + \printfield[noformat]{title}% + \setunit{\subtitlepunct}% + \printfield[noformat]{subtitle}}% + }}% + +\newbibmacro*{cite:foot:bytranslator}{% + \ifnameundef{translator}% + {}% + {\printtext[default]{\bibstring{bytranslator}\addspace% + \printnames[cite:foot:translator]{translator}}}} + +\newbibmacro*{cite:foot:byeditor}{% + \ifthenelse{\ifnameundef{editor}\OR% + \( \iffieldequalstr{entrytype}{collection}\AND% + \ifnameundef{author} \)}% + {}% + {\usebibmacro{byeditor+others}}} + +\newbibmacro*{mla:foot:postnote}{% + \iffieldundef{postnote}% + {\unspace}% + {\unspace\addspace\printfield[footpostnote]{postnote}}% + \usebibmacro{cite:reset}} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-new.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-new.bbx index ee436e14d2..fa518c9e51 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-new.bbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-new.bbx @@ -1,1292 +1,6 @@ -% mla.bbx, v1.9 2016/11/01 * compatible with biblatex 3.4 -% Maintained at <https://github.com/jmclawson/biblatex-mla> by James Clawson. -% -% Feel free to improve, redistribute, and adapt to your own ends. Please share improvements in formatting and MLA standards compliance back to James Clawson: <clawson@gmail.com>. -% -% This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. - -\ProvidesFile{mla-new.bbx}[2016/11/01 v1.9 biblatex bibliography style] - -\RequireBibliographyStyle{standard} -\DeclareLanguageMapping{american}{american-mla} -\DeclareLanguageMapping{english}{english-mla} - -\NewBibliographyString{byserieseditor} -\NewBibliographyString{reviewof} -\NewBibliographyString{specissue} -\NewBibliographyString{phd} -\NewBibliographyString{dphil} -\NewBibliographyString{lic} -\NewBibliographyString{ma} -\NewBibliographyString{ms} -\NewBibliographyString{msc} -\NewBibliographyString{mphil} -\NewBibliographyString{mlitt} -\NewBibliographyString{manuscript} -\NewBibliographyString{typescript} -\NewBibliographyString{director} -\NewBibliographyString{screenplay} -\NewBibliographyString{adaptation} -\NewBibliographyString{adaptor} -\NewBibliographyString{performer} -\NewBibliographyString{performers} -\NewBibliographyString{composer} -\NewBibliographyString{composedby} -\NewBibliographyString{producer} -\NewBibliographyString{with} -\NewBibliographyString{proceedings} -\NewBibliographyString{compilerandeditor}% -\NewBibliographyString{bycompilerandeditor}% -\NewBibliographyString{transof}% -\NewBibliographyString{volstodate}% -\NewBibliographyString{supptotitle}% -\NewBibliographyString{print}% -\NewBibliographyString{web}% -\NewBibliographyString{generaleditor}% - -\setlength{\bibitemsep}{0pt} -\renewcommand*{\mkbibnamesuffix}[1]{\addcomma\addlowpenspace#1} - -\DeclareNameAlias{author}{sortname} -\@ifpackagelater{biblatex}{2016/03/01}{% - \DeclareNameFormat{mla:last}{\nameparts{#1}\namepartfamily}% - \DeclareNameFormat{default}{% - \nameparts{#1}% - \ifgiveninits{% - \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}% - }{% - \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}% - }% - \usebibmacro{name:andothers}% - }% -}{% - \DeclareNameFormat{mla:last}{#1}% - \DeclareNameFormat{default}{% - \iffirstinits{% - \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}% - }{% - \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% - }% - \usebibmacro{name:andothers}% - }% -} - -\defbibenvironment{bibliography} - {\list - {} - {\setlength{\leftmargin}{\bibhang}% - \setlength{\itemindent}{-\leftmargin}% - \setlength{\itemsep}{\bibitemsep}% - \setlength{\parsep}{\bibparsep}}} - {\endlist} - {\item} - -\DeclareFieldFormat{title:article}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:online}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:inreference}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:book}{\mkbibemph{#1}} -\DeclareFieldFormat{title:booklet}{\mkbibemph{#1}} -\DeclareFieldFormat{title:collection}{\mkbibemph{#1}} -\DeclareFieldFormat{title:incollection}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:inbook}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:inproceedings}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:thesis}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:reviewedbook}{\bibstring{reviewof}\addspace\mkbibemph{#1}}% -\DeclareFieldFormat{title:reference}{\mkbibemph{#1}}% -\DeclareFieldFormat{isbn}{} -\DeclareFieldFormat{pages}{\mkpageprefix[bookpagination]{#1}} -\DeclareFieldFormat[review]{volume}{#1}% -\DeclareFieldFormat[article]{volume}{#1}% -\DeclareListFormat[article]{location}% - {\unspace\mkbibbrackets{#1}\addspace}% -\DeclareFieldFormat[article]{version}{#1\isdot}% -\DeclareFieldFormat[incollection]{bibliography:origyear}{\openrangeformat{#1}\addperiod}% -\DeclareFieldFormat[video]{mla:publimedium}{\MakeCapital{film}}% -\DeclareFieldFormat{mla:publimedium}{\MakeCapital{#1}}% -\DeclareFieldFormat{mla:capital}{\MakeCapital{#1}}% -\DeclareFieldFormat{url}{% - \ifhyperref% - {\href{http://#1}{\nolinkurl{#1}}}% - {\url{#1}}}% -\DeclareFieldFormat{mla:lowercase}{\MakeLowercase{#1}}% -\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1}}% -\DeclareFieldFormat{issuetitle}{\mkbibemph{#1}} -\DeclareFieldFormat{mla:newspaper:section}{\bibstring{section}\addspace#1}% -\DeclareFieldFormat{library}{#1\isdot}% -\DeclareFieldFormat{reviewededitor}{\bibstring{byeditor}\addspace#1}% -\DeclareFieldFormat{reviewedauthor}{\bibstring{byauthor}\addspace#1}% -\DeclareFieldFormat{title:suppbook}{\mkbibquote{#1}} -\DeclareFieldFormat{openrangevolumes}{#1~\bibstring{volstodate}}% -\DeclareFieldFormat{volumeof}{\bibstring{volume}~#1~\bibstring{ofseries}}% -\DeclareFieldFormat{mla:sentence-case}{\MakeSentenceCase{#1}}% -\DeclareFieldFormat{eprinttype}{\mkbibemph{#1}} -\DeclareFieldFormat{eprint:jstor}{% - \iffieldundef{url}{% - \mkbibemph{JSTOR}\addcomma\space \printtext[url]{www.jstor.org/stable/#1}}{% - \mkbibemph{JSTOR}}} -\DeclareFieldFormat{eprint:hulu}{% - \iffieldundef{url}{% - \mkbibemph{Hulu}\addcomma\space \printtext[url]{www.hulu.com/watch/#1}}{% - \mkbibemph{Hulu}}} -\DeclareFieldFormat{eprint:googlebooks}{% - \iffieldundef{url}{% - \mkbibemph{Google Books}\addcomma\space \printtext[url]{books.google.com/books?id=#1}}{% - \mkbibemph{Google Books}}} -\DeclareFieldFormat{eprint:muse}{% - \iffieldundef{url}{% - \mkbibemph{Project Muse}\addcomma\space \printtext[url]{muse.jhu.edu/article/#1}}{% - \mkbibemph{Project Muse}}} -\DeclareFieldFormat{eprint}{\emph{#1}}% - -\DeclareFieldFormat{urldate}{#1}% -\DeclareFieldFormat[article,periodical,review]{volume}{\bibstring{volume}\ppspace#1}% volume of a journal -\DeclareFieldFormat[article,periodical,review]{number}{\bibstring{number}\ppspace#1}% number of a journal - -\DeclareBibliographyAlias{artwork}{article}% -\DeclareBibliographyAlias{audio}{article}% -\DeclareBibliographyAlias{booklet}{book} -\DeclareBibliographyAlias{bookinbook}{incollection}% -\DeclareBibliographyAlias{collection}{book} -\DeclareBibliographyAlias{reference}{book} -\DeclareBibliographyAlias{image}{article}% -\DeclareBibliographyAlias{inbook}{incollection}% -\DeclareBibliographyAlias{letter}{article}% -\DeclareBibliographyAlias{manual}{customa} -\DeclareBibliographyAlias{misc}{customa} -\DeclareBibliographyAlias{music}{audio}% -\DeclareBibliographyAlias{online}{article} -\DeclareBibliographyAlias{patent}{customa} -\DeclareBibliographyAlias{report}{customa} -\DeclareBibliographyAlias{suppcollection}{suppbook} - -\DeclareFieldAlias[online]{maintitle}{journaltitle} -\DeclareFieldAlias[book]{subtitle}{booksubtitle} -\DeclareFieldAlias[book]{title}{booktitle} - -\renewcommand*{\newunitpunct}{\addcomma\space} -\renewcommand*{\multilistdelim}{/} -\renewcommand*{\finallistdelim}{/} -\renewcommand*{\newblockpunct}{\addperiod\space} -\renewcommand*{\andothersdelim}{\ifcitation{}{\addcomma}\addspace} -\renewcommand*{\subtitlepunct}{\ifterm{}{\addcolon}\space} - -\newboolean{bbx@mla-incollection} -\newbool{bbx@inset} - -\DeclareBibliographyOption{dashed}[true]{% - \ifstrequal{#1}{true} - {\ExecuteBibliographyOptions{pagetracker}% - \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}} - {\ExecuteBibliographyOptions{pagetracker=false}% - \renewbibmacro*{bbx:savehash}{}}} - -\newboolean{bbx@annotation}% same as biblatex-dw -\DeclareBibliographyOption{annotation}[true]{% -\setbool{bbx@annotation}{#1}} - -\newboolean{bbx@totalnames} -\DeclareEntryOption{totalnames}[true]{% - \setbool{bbx@totalnames}{#1}} - -% for translated incollections where the collection has no shared translator -\newboolean{bbx@uniquetranslator}% -\DeclareEntryOption{uniquetranslator}[true]{% - \setbool{bbx@uniquetranslator}{#1}} - -\newbool{bbx:gnoreminfo}% -\setbool{bbx:gnoreminfo}{false} -\DeclareBibliographyOption{noremoteinfo}[true]{\setbool{bbx:gnoreminfo}{#1}} - -\newbool{bbx:lnoreminfo}% -\setbool{bbx:lnoreminfo}{false} -\DeclareEntryOption{noremoteinfo}[true]{\setbool{bbx:lnoreminfo}{#1}} - -\newtoggle{bbx:isan} -\DeclareBibliographyOption{isan}[true]{\settoggle{bbx:isan}{#1}}% - -\newtoggle{bbx:ismn} -\DeclareBibliographyOption{ismn}[true]{\settoggle{bbx:ismn}{#1}}% - -\newtoggle{bbx:isrn} -\DeclareBibliographyOption{isrn}[true]{\settoggle{bbx:isrn}{#1}}% - -\newtoggle{bbx:issn} -\DeclareBibliographyOption[boolean]{issn}[true]{\settoggle{bbx:issn}{#1}}% - -\newboolean{mla@nodate}% -\DeclareEntryOption{nodate}[true]{\setbool{mla@nodate}{#1}} - -\ExecuteBibliographyOptions{maxnames=2,datezeros=false,eprint=true}% - -\newrobustcmd{\openrangeformat}[1]{% - \begingroup% - \let\blx@org@rangedash=\bibrangedash% - \def\bibrangedash{% - \blx@org@rangedash% - \futurelet\@let@token\blx@openrangeformat}% - #1% - \endgroup} - -\newcommand*{\blx@openrangeformat}{% - \ifx\@let@token\endgroup% - \openrangemark% - \fi} - -\newcommand*{\openrangemark}{\mbox{ }}% - -\newbibmacro*{bbx:savehash}{% - \savefield{fullhash}{\bbx@lasthash}} - -\renewcommand*{\bibnamedash}{% suggested by StackExchange user Audrey - \mlanamedash% - \iffieldundef{nameaddon}{\addperiod\addspace}{\nopunct}}% - -\newcommand*{\mlanamedash}{-{}-{}-} - -\renewbibmacro*{author}{% - \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}} - {\usebibmacro{bbx:dashcheck}% - {\bibnamedash}% - {\ifbool{bbx@totalnames}% - {\printnames[sortname][-\value{listtotal}]{author}} - {\printnames{author}}% - \usebibmacro{bbx:savehash}}% - \iffieldundef{nameaddon}% - {}% - {\setunit{\addspace}% - \printfield{nameaddon}}% - \iffieldundef{authortype}% - {}% - {\newunit% - \usebibmacro{authorstrg}}}% - {\global\undef\bbx@lasthash}} - -\renewbibmacro*{editor}{% - \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}% - {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT - \iffirstonpage}% - {\mbox{\mlanamedash\unspace\addcomma\addspace}}% - {\ifbool{bbx@totalnames}% - {\printnames[sortname][-\value{listtotal}]{editor}}% - {\printnames{editor}}% - \newunit% - \savefield{namehash}{\bbx@lasthash}}% - \usebibmacro{editorstrg}\clearname{editor}\setunit{\addperiod\space}}% - {\global\undef\bbx@lasthash}} - -\renewbibmacro*{editor+others}{% - \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}% - {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT - \iffirstonpage}% - {\mbox{\mlanamedash\unspace\addcomma\addspace}}% - {\ifbool{bbx@totalnames}% - {\printnames[sortname][-\value{listtotal}]{editor}}% - {\printnames[sortname]{editor}}% - \newunit% - \savefield{namehash}{\bbx@lasthash}}% - \usebibmacro{editor+othersstrg}\clearname{editor}}% - {\global\undef\bbx@lasthash}} - -\renewbibmacro*{translator}{% - \ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}% - {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT - \iffirstonpage}% - {\mbox{\mlanamedash\unspace\addcomma\addspace}}% - {\ifbool{bbx@totalnames}% - {\printnames[sortname][-\value{listtotal}]{translator}}% - {\printnames[sortname]{translator}}% - \newunit% - \savefield{namehash}{\bbx@lasthash}}% - \usebibmacro{translatorstrg}\clearname{translator}}% - {\global\undef\bbx@lasthash}} - -\renewbibmacro*{translator+others}{% - \ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}% - {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT - \iffirstonpage}% - {\mbox{\mlanamedash\unspace\addcomma\addspace}}% - {\ifbool{bbx@totalnames}% - {\printnames[sortname][-\value{listtotal}]{translator}}% - {\printnames[sortname]{translator}}% - \newunit% - \savefield{namehash}{\bbx@lasthash}}% - \usebibmacro{translator+othersstrg}\clearname{translator}}% - {\global\undef\bbx@lasthash}} - -\newbibmacro*{journal+issue+year+pages}{% - \usebibmacro{journal+ser+vol+num}% - \setunit{\addspace}% - \printtext[parens]{% - \iffieldundef{issue}% - {\iffieldundef{month}% - {\printfield{year}}% - {\iffieldundef{day}% - {\printfield{month}% - \setunit{\addspace}% - \printfield{year}}% - {\printtext{\bibdate}}}}% - {\printfield{issue}% - \setunit{\addspace}% - \printfield{year}}}% - \newunit% - \printfield{pages}} - -\renewbibmacro*{url+urldate}{% - \printfield[mla:capital:web]{url}\clearfield{url}% - \printunit{\addperiod\space}\newblock% - \iffieldundef{urlyear}{}{\printtext{Accessed}\space\printurldate\clearfield{urlyear}}% - } - -\newbibmacro*{mla:container:top}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \setunit{\addperiod\space}\newblock% - \ifthenelse{% - \iffieldequalstr{entrytype}{suppbook}% - \OR% - \iffieldequalstr{entrytype}{suppcollection}}% - {\ifthenelse{\iffieldundef{title}}{\printfield[mla:capital]{entrysubtype}}{\usebibmacro{title}}% - \printunit{\addperiod\space}\newblock% - \newunit}% - {\usebibmacro{maintitle+booktitle}}% - \printunit{\addperiod\space}\newblock% - } - -\newbibmacro*{mla:container:one}{% - \usebibmacro{mla:article:journal+issuetitle}% - \newunit\newblock - \printfield{note}% - \newunit% - \printfield{pages}% - \newunit% - \ifthenelse{\iffieldundef{eprinttype} \OR \(\iffieldundef{eprinttype} \AND \iffieldundef{eprint}\)} - {\usebibmacro{url+urldate}}% - {}% - \printunit{\addperiod\space}\newblock% - } - -\newbibmacro*{mla:container:two}{% - \usebibmacro{mla:isbn/issn+doi+eprint}% - \newunit\newblock - \usebibmacro{url+urldate}% - \newunit\newblock - \printfield{addendum}% - \printunit{\addperiod\space}\newblock% - \usebibmacro{pageref}% - } - -\DeclareBibliographyDriver{book}{% - \usebibmacro{mla:container:top}% - \printunit{\addperiod\space}\newblock% - \usebibmacro{bytranslator+others}% - \newunit% - \usebibmacro{byeditor+others}% - \newunit% - \printfield{edition}\isdot% - \newunit% - \iffieldundef{maintitle}{\printfield{volume}\printfield{part}}{}% - \newunit% - \iffieldundef{volume}{\printfield{volumes}\clearfield{volumes}}{}%% - \newunit% - \usebibmacro{series+number}% - \newunit% - \printfield{note}% - \newunit% - \printlist{publisher}% - \newunit% - \printdate% - \newunit% - \printfield{pages}% - \newunit% - \usebibmacro{mla:isbn/issn+doi+eprint}% - \newunit% - \iffieldundef{origtitle}% - {}% - {\usebibmacro{mla:reprint}}% - \newunit% - \iffieldundef{volumes}% - {}% - {\usebibmacro{mla:multivolumes}}% - \newunit% - \printfield[mla:sentence-case]{addendum}% - \newunit% - \usebibmacro{pageref}% - \newunit% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{article}{% - \usebibmacro{mla:container:top}% - \printunit{\addperiod\space}\newblock% - \usebibmacro{mla:container:one}% - \printunit{\addperiod\space}\newblock% - \usebibmacro{mla:container:two}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{periodical}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \setunit{\addperiod\space}\newblock% - \usebibmacro{mla:article:journal+issuetitle}% - \newunit\newblock% - \printfield{note}% - \newunit% - \printfield{pages}% - \newunit\newblock% - \usebibmacro{mla:isbn/issn+doi+eprint}% - \newunit\newblock% - \usebibmacro{url+urldate}% - \newunit\newblock% - \printfield{addendum}% - \newunit\newblock% - \usebibmacro{pageref}% - \newunit% - \usebibmacro{finentry}} - -\newbibmacro*{mla:reprint}{% - \iffieldundef{origtitle}% - {\newunit}% - {\iffieldundef{origlanguage} - {\setunit{\newunitpunct\bibstring{reprintof}\addspace}}% - {\setunit{\newunitpunct\bibstring{transof}\addspace}}% -}% - \printfield[title:\strfield{entrytype}]{origtitle}% - \newunit\newblock% - \printlist{origlocation}\clearlist{origlocation}% - \setunit*{\addcolon\addspace}% - \printlist{origpublisher}\clearlist{origpublisher}% - \newunit% - \ifbool{bbx@mla-incollection}% - {\printfield[bibliography:origyear]{origyear}\clearfield{origyear}}% - {\ifthenelse{\iffieldundef{volume}\OR\iffieldundef{volumes}}% - {\printorigdate\clearfield{origyear}}% - {}% - }% -} - -\newbibmacro*{mla:multivolumes}{% - \iffieldundef{maintitle}% - {}% - {\printfield[volumeof]{volume}% - \setunit{\addspace}% - \usebibmacro{maintitle}}% - \usebibmacro{mla:generaleditor}% - \iffieldequalstr{eventendyear}{}% - {\printfield[openrangevolumes]{volumes}\clearfield{volumes}}% - {\printfield{volumes}\clearfield{volumes}}% - \newunit\newblock% - \printeventdate\clearfield{eventyear}% -} - - -\renewbibmacro*{byeditorx}{% - \usebibmacro{byeditorx:internal}{a}% - \usebibmacro{byeditorx:internal}{b}% - \usebibmacro{byeditorx:internal}{c}% -} - -\newbibmacro*{byeditorx:internal}[1]{% - \ifnameundef{editor#1} - {} - {\iffieldequalstr{editor#1type}{generaleditor} - {} - {\usebibmacro{bytypestrg}{editor#1}{editor}% - \setunit{\addspace}% - \printnames[byeditor#1]{editor#1}% - \newunit}}% -} - -\newbibmacro*{mla:generaleditor}{% - \usebibmacro{mla:generaleditor:internal}{}% - \usebibmacro{mla:generaleditor:internal}{a}% - \usebibmacro{mla:generaleditor:internal}{b}% - \usebibmacro{mla:generaleditor:internal}{c}% -} - -\newbibmacro*{mla:generaleditor:internal}[1]{% - \iffieldequalstr{editor#1type}{generaleditor}% - {\printnames{editor#1}% - \newunit% - \bibstring{generaleditor}% - \newunit}% - {}% -} - -\newbibmacro*{mla:isbn/issn+doi+eprint}{% - \iftoggle{bbx:isan}{\printfield{isan}\clearfield{isan}}{}% - \newunit\newblock% - \iftoggle{bbx:isbn}{\printfield{isbn}\clearfield{isbn}}{}% - \newunit\newblock% - \iftoggle{bbx:ismn}{\printfield{ismn}\clearfield{ismn}}{}% - \newunit\newblock% - \iftoggle{bbx:isrn}{\printfield{isrn}\clearfield{isrn}}{}% - \newunit\newblock% - \iftoggle{bbx:issn}{\printfield{issn}\clearfield{issn}}{}% - \newunit\newblock% - \iftoggle{bbx:doi}{\printfield{doi}\clearfield{doi}}{}% - \newunit\newblock% - \iftoggle{bbx:eprint}{\usebibmacro{eprint+extra}}{}% - \newunit\newblock} - -\newbibmacro*{eprint+extra}{% - \iffieldundef{eprinttype} - {\printfield{eprint}} - {\iffieldundef{eprint} - {\printfield{eprinttype}} - {\printfield[eprint:\strfield{eprinttype}]{eprint}}}} - -\DeclareBibliographyDriver{suppbook}{% - \usebibmacro{mla:container:top}% - \newunit\newblock - \iffieldundef{crossref}% - {\iffieldundef{xref}% - {\usebibmacro{mla:incollection:internal}}% - {\bbx@crossref{\thefield{xref}}% - \setunit{\addspace}% - \printfield{pages}}}% - {\bbx@crossref{\thefield{crossref}}% - \setunit{\addspace}% - \printfield{pages}% - \newunit}% - \newunit% - \usebibmacro{finentry}} - -\DeclareCiteCommand{\bbx@crossref}% - {} - {\ifsingletitle% - {\printtext[bibhyperref]{\printnames{labelname}}% - \setunit{\space}}% - {\printnames{labelname}% - \newunit% - \printtext[bibhyperref]{\printfield[citetitle:book]{labeltitle}} - \setunit{\space}}}% - {}% - {} - -\DeclareBibliographyDriver{incollection}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \setunit{\addperiod\space}\newblock% - \ifthenelse{% - \iffieldequalstr{entrysubtype}{book}% - \OR% - \iffieldequalstr{entrysubtype}{play}% - \OR% - \iffieldequalstr{entrytype}{bookinbook}}% - {\usebibmacro{title:incollection:italics}}% - {\setbool{bbx@mla-incollection}{true}% - \usebibmacro{title}% - \setbool{bbx@mla-incollection}{false}}% - \newunit\newblock% - \ifbool{bbx@uniquetranslator}% - {\usebibmacro{bytranslator+others}\newunit}% - {}% - \newunit\newblock% - \iffieldundef{crossref}% - {\iffieldundef{xref}% - {\usebibmacro{mla:incollection:internal}}% - {\bbx@crossref{\thefield{xref}}% - \setunit{\addspace}% - \printfield{pages}}}% - {\bbx@crossref{\thefield{crossref}}% - \setunit{\addspace}% - \printfield{pages}% - \newunit}% - \newunit% - \usebibmacro{finentry}} - -\newbibmacro*{mla:incollection:internal}{% - \setbool{bbx@mla-incollection}{true}% - \usebibmacro{maintitle+booktitle}% - \ifthenelse{% - \iffieldequalstr{entrytype}{suppbook}% - \OR% - \iffieldequalstr{entrytype}{suppcollection}}% - {\setunit{\newunitpunct\bibstring{byauthor}\addspace}% - \ifnamesequal{labelname}{bookauthor}% - {\printnames[mla:last]{bookauthor}}% - {\printnames[byauthor]{bookauthor}}}% - {}% - \newunit\newblock% - \usebibmacro{byauthor}% - \newunit\newblock - \usebibmacro{byeditor+others}% - \newunit\newblock - \printfield{edition}\isdot% - \newunit - \iffieldundef{maintitle}% - {\printfield{volume}\printfield{part}}% - {}% - \newunit - \iffieldundef{volume}% - {\printfield{volumes}\clearfield{volumes}}% - {}%% - \newunit\newblock - \usebibmacro{series+number}% - \newunit\newblock - \printfield{note}% - \newunit\newblock - \usebibmacro{publisher+location+date}% - \newunit% - \usebibmacro{chapter+pages}% - \newunit% - \usebibmacro{mla:isbn/issn+doi+eprint}% - \newunit% - \usebibmacro{url+urldate}% - \newunit% - \iffieldundef{volumes}% - {}% - {\usebibmacro{mla:multivolumes}}% - \newunit% - \printfield{addendum}% - \newunit% - \usebibmacro{pageref}% - \setbool{bbx@mla-incollection}{false}} - -\DeclareBibliographyDriver{inproceedings}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \setunit{\addperiod\space}\newblock% - \usebibmacro{title}% - \setunit{\addperiod\space}\newblock% - \usebibmacro{mla:proceedings:booktitle}% - \newunit\newblock - \usebibmacro{byeditor+others}% - \newunit\newblock - \usebibmacro{series+number}% - \newunit\newblock - \printfield{note}% - \newunit - \usebibmacro{publisher+location+date}% - \newunit\newblock - \usebibmacro{chapter+pages}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \newunit% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{proceedings}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \setunit{\addperiod\space}\newblock% - \usebibmacro{mla:proceedings:booktitle}% - \newunit\newblock - \usebibmacro{byeditor+others}% - \newunit\newblock - \usebibmacro{series+number}% - \newunit\newblock - \printfield{note}% - \newunit - \usebibmacro{publisher+location+date}% - \newunit\newblock - \usebibmacro{chapter+pages}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \newunit% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{unpublished}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \setunit{\addperiod\space}\newblock% - \usebibmacro{title}% - \setunit{\addperiod\space}\newblock% - \printfield{note}% - \newunit\newblock - \usebibmacro{mla:all:type}% - \newunit\newblock - \printfield{number}% - \newunit\newblock - \printfield{library}% - \newunit% - \printlist{location}% - \newunit\newblock - \printfield{addendum}% - \newunit% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{thesis}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \setunit{\addperiod\space}\newblock% - \usebibmacro{title}% - \setunit{\addperiod\space}\newblock% - \usebibmacro{mla:thesis:type}% - \newunit\newblock - \printlist{institution}% - \newunit% - \iffieldequalstr{entrysubtype}{published}% - {\printfield{origyear}\clearfield{origyear}}% - {\printfield{year}}% - \newunit\newblock - \iffieldequalstr{entrysubtype}{published}% - {\usebibmacro{series+number}% - \newunit% - \printlist{location}% - \setunit{\addcolon\addspace}% - \printlist{publisher}% - \newunit% - \printfield{year}}% - {}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \newunit% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{review}{% - \usebibmacro{bibindex}% - \usebibmacro{author}% - \setunit{\addperiod\space}\newblock% - \printfield[title:article]{title}% - \setunit{\addperiod\space}\newblock% - \printfield[title:reviewedbook]{booktitle}% - \newunit% - \ifnameundef{bookauthor}% - {\printtext[reviewededitor]{\printnames[default]{editor}}}% - {\printtext[reviewedauthor]{\printnames[default]{bookauthor}}}% - \setunit{\addperiod\space}\newblock% - \usebibmacro{mla:container:one}% - \setunit{\addperiod\space}\newblock% - \usebibmacro{mla:container:two}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{inreference}{% - \usebibmacro{bibindex}% - \usebibmacro{author}% - \setunit{\addperiod\space}\newblock% - \usebibmacro{title}% - \setunit{\addperiod\space}\newblock% - \iffieldundef{crossref}% - {\iffieldundef{xref}% - {\newunit\newblock - \usebibmacro{maintitle+booktitle}% - \newunit\newblock - \usebibmacro{byeditor+others}% - \newunit\newblock - \iffieldsequal{year}{edition}% - {\printfield{year}~\bibstring{edition}\clearfield{year}}% - {\printfield{edition}\isdot}% - \newunit - \iffieldundef{maintitle}% - {\printfield{volume}% - \printfield{part}}% - {}% - \newunit - \printfield{volumes}% - \newunit\newblock - \usebibmacro{series+number}% - \newunit\newblock - \printfield{note}% - \newunit\newblock - \usebibmacro{publisher+location+date}% - \newunit\newblock - \usebibmacro{chapter+pages}% - \newunit\newblock - \usebibmacro{mla:isbn/issn+doi+eprint}% - \newunit\newblock - \usebibmacro{url+urldate}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}}% - {}}% - {\bbx@crossref{\thefield{crossref}}% - \nopunct\unspace\printfield{pages}}% - \newunit% - \usebibmacro{finentry}} - -\newbibmacro{mlabelnamepunct}{\setunit{\labelnamepunct}\newblock} - -\newbibmacro{mla:video:localized:last-first}[1]{% - \ifnameundef{#1}% - {}% - {\printnames{#1}\addcomma\addspace% - \ifthenelse{\iffieldbibstring{#1type} \and \not % - \iffieldundef{#1type}}% - {\bibstring{\thefield{#1type}}}% - {\iffieldundef{#1type}% - {\bibstring{with}}% - {\printfield[mla:lowercase]{#1type}}}}% -\newunit}% - -\newbibmacro{mla:video:name:first:footnote}[1]{% - \ifnameundef{#1}% - {}% - {\printnames[byeditor]{#1}\addcomma\addspace% - \ifthenelse{\iffieldbibstring{#1type} \and \not % - \iffieldundef{#1type}}% - {\bibstring{\thefield{#1type}}}% - {\iffieldundef{#1type}% - {\bibstring{with}}% - {\printfield[mla:lowercase]{#1type}}}}% - \clearname{#1}% -} - -\newbibmacro{mla:video:localized:first-last}[1]{% - \ifnameundef{#1}% - {}% - {\ifthenelse{\iffieldbibstring{#1type} \and \not % - \iffieldundef{#1type} \and \not % - \iffieldequalstr{#1type}{composer}}% - {\bibstring{\thefield{#1type}}}% - {\iffieldundef{#1type}% - {\bibstring{with}}% - {\iffieldequalstr{#1type}{composer}% - {\bibstring{composedby}}% - {\printfield[mla:capital]{#1type}}}}% - \addspace\printnames[byeditor][-\value{listtotal}]{#1}}% -\newunit}% - -\newbibmacro{mla:video:name:second:footnote}[1]{% - \ifnameundef{#1}% - {}% - {\ifthenelse{\iffieldbibstring{#1type} \and \not % - \iffieldundef{#1type} \and \not % - \iffieldequalstr{#1type}{composer}}% - {\bibstring{\thefield{#1type}}}% - {\iffieldundef{#1type}% - {\bibstring{with}}% - {\iffieldequalstr{#1type}{composer}% - {\bibstring{composedby}}% - {\printfield[mla:lowercase]{#1type}}}}% - \addspace\printnames[byeditor][-\value{listtotal}]{#1}% - }}% - -\DeclareBibliographyDriver{video}{% - \ifnamesequal{labelname}{author}% - {\usebibmacro{mla:video:localized:last-first}{author}}{}% - \ifnamesequal{labelname}{editor}% - {\usebibmacro{mla:video:localized:last-first}{editor}}{}% - \printfield{title}% - \setunit{\newunitpunct\bibstring{byauthor}\addspace}% - \printnames[byeditor]{bookauthor}% - \newunit% - \ifthenelse{\NOT\ifnamesequal{author}{labelname}% - \AND\NOT\ifnameundef{author}}% - {\usebibmacro{mla:video:localized:first-last}{author}}% - {}% - \ifthenelse{\NOT\ifnamesequal{editor}{labelname}% - \AND\NOT\ifnameundef{editor}}% - {\usebibmacro{mla:video:localized:first-last}{editor}}% - {}% - \usebibmacro{mla:video:localized:first-last}{namea}% - \usebibmacro{mla:video:localized:first-last}{nameb}% - \usebibmacro{mla:video:localized:first-last}{namec}% - \printfield{origyear}\clearfield{origyear}% - \newunit\newblock% - \printlist{publisher}% - \newunit% - \printfield{year}% - \newunit\newblock% - \usebibmacro{finentry}} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% % % % % % % % % % % % % % % % % % % % % % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% drivers to add eventually: -% * \DeclareBibliographyDriver{misc} -% * \DeclareBibliographyDriver{artwork} -% * \DeclareBibliographyDriver{audio} -% * \DeclareBibliographyDriver{image} -% * \DeclareBibliographyDriver{movie} -% * \DeclareBibliographyDriver{music} -% * \DeclareBibliographyDriver{performance} -% -% Specifically important mainstay types to add for MLA users -% 0 support for multiple publishers? % can't do with bibtex -% * editorial -% * letter (to the editor, etc.) -% * interview - -\newbibmacro*{mtitle+mstitle+vol+part+title+stitle}{% - \iffieldundef{maintitle}% - {}% - {\printtext[maintitle]{% - \printfield[noformat]{maintitle}% - \newunit - \printfield[noformat]{mainsubtitle}}% - \newunit - \printfield{maintitleaddon}% - \newunit\newblock - \iffieldundef{volume}% - {}% - {\printfield{volume}% - \printfield{part}% - \setunit{\addcolon\space}}}% - \usebibmacro{title+stitle}} - -\renewbibmacro*{series+number}{% - \iffieldundef{series}% - {}% - {\printfield{series}\clearfield{series}\setunit*{\addspace}\printfield{number}}% -} - -\renewbibmacro*{title}{% - \iffieldequalstr{entrytype}{thesis}% - {\usebibmacro{mla:title:thesis}}% - {\iffieldequalstr{entrytype}{unpublished}% - {\usebibmacro{mla:title:unpublished}}% - {\usebibmacro{title+stitle}}}}% - -\renewbibmacro*{publisher+location+date}{% - % \printlist{location}% platypus - removed for 1.9... add an option to 2.0 for printing location - % \iflistundef{publisher}% - % {\setunit*{\addcomma\space}}% - % {\setunit*{\addcolon\space}}% - \printlist{publisher}% - \newunit% - \ifbool{mla@nodate}{\printtext{n.d.}}% - \printdate% - \newunit} - -\newbibmacro*{mla:title:unpublished}{% - \ifthenelse{\iffieldundef{author} \AND \iffieldundef{nameaddon}}% - {\unspace}% - {}% - \iffieldundef{title}% - {}% - {\printtext[title:article]{% - \printfield[noformat]{title}% - \setunit{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - \newunit - \printtext[title:book]{% - \printfield[noformat]{booktitle}% - \setunit{\subtitlepunct}% - \printfield[noformat]{booksubtitle}}% - \newunit - \ifcitation% - {\printfield[mla:lowercase]{titleaddon}}% - {\printfield{titleaddon}}% - \newunit} - -\newbibmacro*{name:first-last:andothers}{% - \ifthenelse{\value{listcount}=\value{liststop}\AND - \ifmorenames} - {\ifnum\value{liststop}>1 \finalandcomma\fi - \addspace\bibstring{andothers}} - {}} - -\newbibmacro*{mla:title:thesis}{% - \iffieldundef{title}% - {}% - {\iffieldequalstr{entrysubtype}{published}% - {\printtext[title:book]{% - \printfield[noformat]{title}% - \setunit{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - {\printtext[title:\strfield{entrytype}]{% - \printfield[noformat]{title}% - \setunit{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - \newunit% - \printfield{titleaddon}% - \newunit\newblock}} - -\newbibmacro*{mla:thesis:type}{% - \iffieldundef{type}% - {\printtext[mla:capital]{\bibstring{phdthesis}}}% - {\usebibmacro{mla:all:type}}}% - -\newbibmacro*{mla:all:type}{% - \ifbibstring{\thefield{type}}% - {\printtext[mla:capital]{\bibstring{\thefield{type}}}}% - {\printtext[mla:capital]{\printfield{type}}}}% - -\newbibmacro*{mla:all:type:foot}{% - \ifbibstring{\thefield{type}}% - {\printtext[noformat]{\bibstring{\thefield{type}}}}% - {\printtext[noformat]{\printfield{type}}}}% - -\renewbibmacro*{maintitle+title}{% - \usebibmacro{title}% - \newunit% - \iffieldsequal{maintitle}{title}% - {\clearfield{maintitle}% - \clearfield{mainsubtitle}% - \clearfield{maintitleaddon}}% - {}% - \iffieldundef{volume}% - {\usebibmacro{maintitle}}% - {}% - \iffieldundef{maintitle}% - {\printfield{volume}\clearfield{volume}}% - {}% - \newunit} - -\renewbibmacro*{maintitle+booktitle}{% - \usebibmacro{booktitle}% - \printunit*{\addperiod\space}% - \iffieldundef{maintitle}% - {}% - {\usebibmacro{maintitle}% - \newunit% - \iffieldundef{volume}% - {}% - {\printfield{volume}% - \printfield{part}% - \setunit{\addcolon\space}}}% - \printunit*{\addperiod\space}} - -\renewbibmacro*{booktitle}{% - \ifboolexpr{ - test {\iffieldundef{booktitle}} - and - test {\iffieldundef{booksubtitle}} - } - {\usebibmacro{title}} - {\printtext[booktitle]{% - \printfield[titlecase]{booktitle}% - \setunit{\subtitlepunct}% - \printfield[titlecase]{booksubtitle}}% - \newunit}% - \printfield{booktitleaddon}} - -\newbibmacro*{mla:proceedings:booktitle}{% - \usebibmacro{booktitle}% - \newunit% - \iffieldundef{eventtitle}% - {}% - {\printtext[default]{% - \bibstring{proceedings}\addspace\bibstring{ofseries}\addspace% - \printfield[default]{eventtitle}\isdot}}% - \setunit*{\isdot\addcomma\addspace}% - \printlist{organization}% - \newunit% - \printeventdate% - \newunit% - \printlist{institution}% - \newunit% - \printfield{venue}} - -\newbibmacro*{title+stitle}{% - \iffieldundef{title}% - {\ifthenelse{% - \iffieldequalstr{entrytype}{suppbook}% - \OR% - \iffieldequalstr{entrytype}{suppcollection}}% - {}% - {\printtext[title:\strfield{entrytype}]{% - \printfield[noformat]{booktitle}% - \setunit*{\subtitlepunct}% - \printfield[noformat]{booksubtitle}}}}% - {\printtext[title:\strfield{entrytype}]{% - \printfield[noformat]{title}% - \setunit*{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - \printunit{\addperiod\space}% - \printfield[noformat]{titleaddon}% - \newunit% - \usebibmacro{byauthor}% - \iffieldundef{origtitle}% - {\usebibmacro{mla:reprint}}% - {}% -}% - -\newbibmacro*{title:incollection:italics}{% - \iffieldundef{title}% - {}% - {\printtext[title:book]{% - \printfield[noformat]{title}% - \setunit*{\subtitlepunct}% - \printfield[noformat]{subtitle}}% - \newunit% - \printfield[noformat]{titleaddon}% - \newunit% - \setbool{bbx@mla-incollection}{true}\usebibmacro{mla:reprint}\setbool{bbx@mla-incollection}{false}% - \newunit\newblock}} - -\newbibmacro*{mla:article:journal+issuetitle}{% - \usebibmacro{issue}% - \newunit\newblock% - \iffieldundef{issuetitle}% - {}% - {\usebibmacro{byeditor+others}% - \newunit\newblock% - \bibstring{specissue}\setunit*{\addspace}}% - \ifthenelse{\iffieldequalstr{entrytype}{periodical} \AND \iffieldundef{journaltitle}}% - {\usebibmacro{periodical}}% - {\usebibmacro{journal}}% - \ifthenelse{\iffieldequalstr{entrytype}{online}}{\usebibmacro{mla:online}}{\setunit*{\addspace}}% - \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine} \or \iffieldequalstr{entrytype}{online}}% - {\printlist[brackets]{location}% - \newunit% - \printtext{\printdate}% - \newunit% - \printfield{version}% - \newunit% - \printfield[mla:newspaper:section]{chapter}% - }% - {\printfield{series}\clearfield{series}% - \newunit% - \printfield{volume}% - \newunit% - \printfield{number}\clearfield{number}% - \newunit% - \usebibmacro{issue+date}% - \newunit\newblock - \newunit}% -} - -\newbibmacro*{mla:online}{% - \iffieldundef{maintitle}% - {}% - {\printtext[maintitle]{% - \printfield[titlecase]{maintitle}% - \setunit{\subtitlepunct}% - \printfield[titlecase]{mainsubtitle}}}% - \newunit\newblock% - \printlist{publisher}% - \newunit% -} - -\renewbibmacro*{journal+issuetitle}{% - \usebibmacro{journal}% - \setunit*{\addspace}% - \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine}}% - {\printlist[brackets]{location}% - \printtext{\printdate}% - \newunit% - \printfield{version}% - \newunit% - \printfield[mla:newspaper:section]{chapter}% - }% - {\printfield{series}\clearfield{series}% - \setunit{\addspace}% - \printfield{volume}% - \newunit% - \printfield{number}\clearfield{number}% - \newunit% - \usebibmacro{mla:isbn/issn+doi+eprint}% - \newunit% - \usebibmacro{issue+date}% - \newunit\newblock - \usebibmacro{issue}% - \newunit}} - -\renewbibmacro*{issue+date}{% - \printtext{% - \iffieldundef{issue} - {\usebibmacro{date}} - {\printfield{issue}% - \setunit*{\addspace}% - \usebibmacro{date}}}% - \newunit} - -\renewbibmacro{finentry}{% - \finentry% - \iffieldundef{annotation}% - {}% - {\ifbool{bbx@annotation}% - {\begin{quotation}\noindent% - \printfield{annotation}% - \end{quotation}}% - {}}% -} - -% \newbibmacro{publimedium}{% -% \ifbool{bbx@publimedium}% -% {\printfield[mla:capital]{howpublished}% -% \ifthenelse{\iffieldundef{howpublished}\AND\boolean{bbx@guessmedium}}% -% {\ifthenelse{\iffieldundef{url}\AND\iffieldundef{eprinttype}}% -% {\printtext[mla:publimedium]{\bibstring{print}}}% -% {\iffieldundef{eprinttype}% -% {\printfield{eprint}}% -% {\printfield[eprint:\strfield{eprinttype}]{eprint}}% -% \newunit% -% \usebibmacro{url+urldate}% -% }% -% }% -% {}%-keep-blank -% \newunit% -% \usebibmacro{series+number}}% -% \newunit% -% \usebibmacro{mla:reprint}% -% {}%-keep-blank -% } - -\newbibmacro*{bbx:dashcheck}[2]{% - \ifboolexpr{ - test {\iffieldequals{fullhash}{\bbx@lasthash}} - and - not test \iffirstonpage - and - ( - not bool {bbx@inset} - or - test {\iffieldequalstr{entrysetcount}{1}} - ) - } - {#1} - {#2}} - -\DeclareStyleSourcemap{ - \maps[datatype=bibtex]{ - \map{ - \step[fieldsource=publisher, match={University Press}, replace={UP}] - \step[fieldsource=publisher, match={University}, replace={U}] - \step[fieldsource=publisher, match={Press}, replace={P}] - \step[fieldsource=publisher, match=\regexp{Company|Co\.|Corporation|Corp\.|Incorporated|Inc\.|Limited|Ltd\.}, replace={}] - \step[fieldsource=url, match=\regexp{http(s)?://}, replace={}] - } - \map{% JSTOR - \step[fieldsource=url, match={jstor.org}, final] - \step[fieldset=eprint, fieldvalue={JSTOR}] - % \step[fieldset=urldate, null] - } - \map{% Project Muse - \step[fieldsource=url, match={muse.jhu.edu}, final] - \step[fieldset=eprint, fieldvalue={Project Muse}] - % \step[fieldset=urldate, null] - } - \map{% Adelaide eBooks - \step[fieldsource=url, match={ebooks.adelaide.edu.au}, final] - \step[fieldset=eprint, origfieldval] - \step[fieldset=eprinttype, fieldvalue={adelaide}] - % \step[fieldset=urldate, null] - } - \map{% Google Books - \step[fieldsource=url, match={books.google}, final] - \step[fieldset=eprint, fieldvalue={Google Books}] - % \step[fieldset=urldate, null] - } - \map{% EBSCO - Academic Search Complete - \step[fieldsource=url, match={db=a9h}, final] - \step[fieldset=eprint, fieldvalue={Academic Search Complete}] - % \step[fieldset=urldate, null] - } - \map{% EBSCO - LexisNexis Academic - \step[fieldsource=url, match={db=fdcaae48}, final] - \step[fieldset=eprint, fieldvalue={LexisNexis Academic}] - % \step[fieldset=urldate, null] - } - \map{% EBSCO - MLA Database - \step[fieldsource=url, match={db=mzh}, final] - \step[fieldset=eprint, fieldvalue={MLA International Bibliography}] - % \step[fieldset=urldate, null] - } - \map{ - \step[fieldsource=url, match=\regexp{dx.doi.org/(.+)}, fieldtarget=doi] - \step[fieldsource=doi, match=\regexp{http(s)?://dx.doi.org/(.+)}, replace=\regexp{$1}] - \step[fieldsource=doi, match=\regexp{dx.doi.org/(.+)}, replace=\regexp{$1}] - } - \map{ % removes url + urldate field from all entries that have a doi field - \step[fieldsource=doi, final] - \step[fieldset=url, null] - \step[fieldset=urldate, null] - } - % \map{ % removes url + urldate field from all entries that have an eprint field - % \step[fieldsource=eprint, final] - % \step[fieldset=urldate, null] - % } - } -} - -\endinput +% This file exists just to help avoid any breakage when updating from older versions of biblatex-mla. +\ProvidesFile{mla-new.bbx}[2021/06/07 v2.0 biblatex citation style] +\RequireBibliographyStyle{mla} \endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-new.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-new.cbx index 21923bd97a..6f5d00babf 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-new.cbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-new.cbx @@ -1,834 +1,6 @@ -% mla.cbx, v1.9 2016/11/01 * compatible with biblatex 3.4 -% Maintained at <https://github.com/jmclawson/biblatex-mla> by James Clawson. -% -% Feel free to improve, redistribute, and adapt to your own ends. Please share improvements in formatting and MLA standards compliance back to James Clawson: <clawson@gmail.com>. -% -% This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. - -\ProvidesFile{mla-new.cbx}[2016/11/01 v1.9 biblatex citation style] - -\newboolean{cbx@firstlonghand}% -\DeclareBibliographyOption{firstlonghand}[true]{\setboolean{cbx@firstlonghand}{#1}} -\newboolean{cbx@nofullfootnote}% -\DeclareBibliographyOption{nofullfootnote}[true]{\setboolean{cbx@nofullfootnote}{#1}} - -\DeclareBibliographyOption{mancitepar}[true]{% - \ifstrequal{#1}{true}{% - \let\mypkg@@everypar\everypar - \newtoks\mypkg@everypar - \mypkg@everypar\expandafter{\the\everypar} - \mypkg@@everypar{\mypkgs@ownstuff\the\mypkg@everypar} - \def\mypkgs@ownstuff{% - \mancite}% - \let\everypar\mypkg@everypar - }{}} - -% The following is taken from biblatex-chicago-notes-df for parity of feature set. I don't like the naming of the option there ("strict"), so even though consistency trumps (or defines) clarity, I changed the name for now. -\DeclareBibliographyOption{footnoterulestrict}[true]{% 0.7 renamed - \let\splitfootnoterule\footnoterule - \renewcommand\footnoterule{}% - \advance\skip\footins 4\p@\@plus2\p@\relax - \gdef\split@prev{0} - \let\pagefootnoterule\footnoterule - \def\footnoterule{\relax - \ifnum\split@prev=\z@ - \pagefootnoterule - \else - \splitfootnoterule - \fi - \xdef\split@prev{\the\insertpenalties}% - }} - -\ExecuteBibliographyOptions{citetracker=true,ibidtracker=constrict,opcittracker=constrict,singletitle,autocite=inline,uniquename=init,hyperref=true,useprefix=true,firstlonghand,annotation=false,loccittracker=strict,noremoteinfo=true,date=long,urldate=long,mancitepar=false,datezeros=false}% - -\newbool{cbx@named}% -\newbool{cbx@mlafootnotes}% -\newbool{cbx@hyperpages}% - -\newbool{cbx@mladraft}% -\DeclareBibliographyOption{mladraft}[true]{% - \setboolean{cbx@mladraft}{#1}} - -\urlstyle{same} - -\newbibmacro*{cite:init}{% - \global\let\cbx@tempa=\empty - \global\undef\cbx@lasthash} - -\renewcommand*{\citereset}{% - \usebibmacro{cite:reset} - \@ifstar - {} - {\global\cslet{blx@bsee@\the\c@refsection}\@empty - \global\cslet{blx@fsee@\the\c@refsection}\@empty - \blx@ibidreset@force - \blx@idemreset@force - \blx@opcitreset@force - \blx@loccitreset@force}} - -\InitializeCitationStyle{% - \usebibmacro{cite:reset}% - \@expandtwoargs\in@{,draft,}{,\@classoptionslist,}% - \ifin@% - \ExecuteBibliographyOptions{mladraft}% draft option present - \fi - \long\def\mlasymbolfootnote#1{\begingroup\def% - \thefootnote{\fnsymbol{footnote}}\footnote[0]{#1}\endgroup}% - \newcounter{mladraftnote}} - -\OnManualCitation{% - \usebibmacro{cite:reset}% - \global\let\cbx@lastpostnote=\empty} - -\newbibmacro*{cite:reset}{% - \global\undef\cbx@lasthash}% - -\newbibmacro*{cite:save}{% - \savefield{entrykey}{\cbx@lastkey}% - \savefield{namehash}{\cbx@lasthash}% - \savefieldcs{entrykey}{cbx@lastkey@\thefield{namehash}}% - \csxdef{cbx@lastcite@\thefield{entrykey}}{\the\value{instcount}}} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%% In-Line Citations %%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\newbibmacro*{cite:mla}{% - \bibhypertarget{cite\the\value{instcount}}{% - \ifciteseen% - {\usebibmacro{cite:mla:seen}} - {\usebibmacro{cite:mla:unseen}\usebibmacro{cite:save}}% - \global\boolfalse{cbx@mlafootnotes}}} - -\newbibmacro*{cite:mla:unseen}{% - \ifbool{cbx@firstlonghand} - {\usebibmacro{cite:mla:noshorthand}}% - {\usebibmacro{cite:mla:seen}}} - -\newbibmacro*{cite:mla:seen}{% - \iffieldundef{shorthand}% - {\usebibmacro{cite:mla:noshorthand}}% - {\usebibmacro{cite:mla:shorthand}% - \savefield{namehash}{\cbx@lasthash}}} - -\newbibmacro*{cite:mla:noshorthand}{% - \ifciteibid% - {\ifbool{cbx@mlafootnotes}% - {\usebibmacro{cite:mla:noibid}\usebibmacro{cite:save}}% - {\usebibmacro{cite:ibid}}}% - {\usebibmacro{cite:mla:noibid}\usebibmacro{cite:save}}}% - -\newbibmacro*{cite:mla:noibid}% - {\global\boolfalse{cbx@hyperpages}% - \ifthenelse{\iffieldequals{namehash}{\cbx@lasthash}}% - {\usebibmacro{cite:idem}% - \usebibmacro{cite:mla:title}}% - {\ifnameundef{labelname}% - {\global\boolfalse{cbx@named}\usebibmacro{cite:mla:title}}% - {\ifthenelse{\iffieldequalstr{entrytype}{incollection} \or \iffieldequalstr{entrytype}{inreference} \or \iffieldequalstr{entrytype}{review}} % - {\ifnameundef{author}% - {\global\boolfalse{cbx@named}% - \usebibmacro{cite:mla:title}}% - {\usebibmacro{cite:name}% - \usebibmacro{cite:mla:title}\setunit{\addspace}}}% - {\usebibmacro{cite:name}% - \usebibmacro{cite:mla:title}}}}}% - -\newbibmacro*{cite:mla:shorthand}{% - \ifciteibid% - {\ifbool{cbx@mlafootnotes}% - {\printtext[bibhyperref]{% - \printfield[citetitle:\strfield{entrytype}]{shorthand}}\setunit{\addspace}}% - {\usebibmacro{cite:ibid}}}% - {\global\boolfalse{cbx@hyperpages}\printtext[bibhyperref]{% - \printfield[citetitle:\strfield{entrytype}]{shorthand}}\setunit{\addspace}}} - -\newbibmacro*{cite:name}{% - \ifsingletitle% - {\printtext[bibhyperref]{% - \printnames{labelname}}% - \savefield{namehash}{\cbx@lasthash}% - \global\booltrue{cbx@named}}% - {\printnames{labelname}% - \savefield{namehash}{\cbx@lasthash}% - \global\booltrue{cbx@named}}}% - -\newbibmacro*{cite:mla:title}{% - \ifnameundef{labelname}% - {\printtext[bibhyperref]{% - \printfield[citetitle:\strfield{entrytype}]{labeltitle}}}% - {\ifsingletitle% - {}% - {\usebibmacro{cite:mla:title:internal}}}% - \ifthenelse{\iffieldequalstr{entrytype}{review}% - \and\ifnameundef{author}% - \and\iffieldundef{title}}% - {\printtext[bibhyperref]% - {\printtext{\bibcpstring{reviewof}% - \setunit{\addspace}% - \printfield{booktitle}}}}% - {}% - \setunit{\addspace}}% - -\newbibmacro*{cite:mla:title:internal}{% - \ifbool{cbx@named}{\setunit{\addcomma\addspace}}{}% - \iffieldundef{title}% - {\iffieldequalstr{entrytype}{review}% - {\printtext[bibhyperref]% - {\printtext{\bibcpstring{reviewof}% - \setunit{\addspace}% - \printfield{booktitle}}}}% - {\ifthenelse{\iffieldequalstr{entrytype}{suppbook}% - \OR\iffieldequalstr{entrytype}{suppcollection}}% - {\printtext[bibhyperref]{% - \printfield[mla:capital]{entrysubtype}}}% - {}}}% - {\printtext[bibhyperref]{% - \printfield[citetitle:\strfield{entrytype}]{labeltitle}}}}% - -%%%%%%%%%%% for ibid, idem, opcit %%%%%%%% - -\newbibmacro*{cite:idem}{% - \ifsingletitle% - {\usebibmacro{cite:name}}% - {\global\boolfalse{cbx@named}}} - -\newbibmacro*{cite:opcit}{% - \usebibmacro{cite:mla:title}\setunit{\addspace}} - -\newbibmacro*{cite:ibid}{% - \iffieldundef{postnote}% - {\usebibmacro{cite:mla:noibid}}% - {\global\booltrue{cbx@hyperpages}}% - \usebibmacro{cite:save}% - \iffieldundef{prenote}% - {}% - {\usebibmacro{cite:mla:noibid}\usebibmacro{cite:reset}}}% - -\renewcommand*{\postnotedelim}{\addspace}% - -\renewbibmacro*{postnote}{% - \iffieldundef{postnote} - {} - {\setunit{\addspace}% - \ifbool{cbx@hyperpages}% - {\printtext[bibhyperref]{\printfield[ibidpostnote]{postnote}}}% - {\printfield[ibidpostnote]{postnote}}}}% - -\newbibmacro*{locpostnote}{% - \ifbool{cbx@mladraft}% - {\ifbool{cbx@hyperpages}% - {\printtext[mlarepeatedcites]{% - \printtext[bibhyperref]{\printfield[ibidpostnote]{postnote}}}}% - {\printtext[mlarepeatedcites]{% - \printfield[ibidpostnote]{postnote}}}% - \ifthenelse{\value{mladraftnote}<2}% - {\mlasymbolfootnote{\addtocounter{mladraftnote}{4}% - $\clubsuit$ It is best to cite once at the end % - of a passage quoting a single page range.}}% - {}}% - {\usebibmacro{postnote}}} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%% Footnote Citations %%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\newbibmacro*{cite:mla:foot}{% - \ifciteseen% - {\usebibmacro{cite:mla:seen}}% - {\ifbool{cbx@nofullfootnote}% - {\usebibmacro{cite:mla:seen}}% - {\usedriver{}{footcite:\strfield{entrytype}}}% - }} - -\newbibmacro*{cite:foot:name}{% - \global\boolfalse{cbx@named}% - \usebibmacro{cite:foot:author/editor}% - \savefield{namehash}{\cbx@lasthash}}% - -\newbibmacro*{cite:foot:author:review}{% - \global\boolfalse{cbx@named}% - \ifnameundef{author}% - {}% - {\usebibmacro{cite:foot:author}% - \savefield{namehash}{\cbx@lasthash}% - \global\booltrue{cbx@named}% - }}% - -\newbibmacro*{cite:foot:author/editor}% -{\ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}% - {\usebibmacro{cite:foot:author}}% - {\usebibmacro{cite:foot:editor}}}% - -\newbibmacro*{cite:foot:author}{% - \ifbool{bbx@totalnames}% - {\printnames[byauthor][-\value{listtotal}]{author}}% - {\printnames[byauthor]{author}}% - \clearname{author}\global\booltrue{cbx@named}% - \printfield{nameaddon}} - -\newbibmacro*{cite:foot:editor}{% - \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}% - {\ifbool{bbx@totalnames}% - {\printnames[byeditor][[-\value{listtotal}]]{editor}}% - {\printnames[byeditor]{editor}}% - \setunit*{\addcomma\space}% - \usebibmacro{editorstrg}% - \clearname{editor}\global\booltrue{cbx@named}}% - {\ifusetranslator% - {\printnames[byeditor]{translator}% - \setunit*{\addcomma\space}% - \usebibmacro{translatorstrg}% - \clearname{translator}\global\booltrue{cbx@named}}% - {}% - }}% - -\newbibmacro*{cite:foot:byauthor:incollection}{% - \ifthenelse{\ifuseauthor\OR% - \ifnameundef{author}\OR% - \ifnamesequal{author}{bookauthor}}% - {}% - {\biblcstring{byauthor}\addspace% - \printnames[byauthor]{author}}} - -\newbibmacro*{cite:foot:byauthor}{% - \ifthenelse{\ifuseauthor\OR% - \ifnameundef{author}}% - {}% - {\bibstring{byauthor}\addspace\printnames[byauthor]{author}}} - -\newbibmacro*{cite:foot:bybookauthor}{% - \ifthenelse{\ifnameundef{bookauthor}\OR% - \(\ifnamesequal{author}{bookauthor}\AND\ifuseauthor\)}% - {}% - {\bibstring{byauthor}\addspace\printnames[byauthor]{bookauthor}}} - -\DeclareBibliographyDriver{footcite:booklet}{% - \usedriver{}{footcite:book}} - -\DeclareBibliographyDriver{footcite:collection}{% - \usedriver{}{footcite:book}} - -\DeclareBibliographyDriver{footcite:reference}{% - \usedriver{}{footcite:book}} - -\DeclareBibliographyDriver{footcite:book}{% - \usebibmacro{cite:foot:name}% - \ifbool{cbx@named}% 0.7.1 - {\setunit{\newunitpunct}}% - {\setunit{}}% - \usebibmacro{cite:foot:title}% - \newunit% - \usebibmacro{cite:foot:byauthor}% - \newunit% - \usebibmacro{cite:foot:byeditor}% - \newunit% - \usebibmacro{cite:foot:bytranslator}% - \newunit% - \printfield{edition}% - \newunit% - \iffieldundef{maintitle}% - {\printfield{volume}% - \printfield{part}}% - {}% - \newunit% - \printfield{volumes}% - \newunit% - \usebibmacro{series+number}% - \setunit{\addspace}% - \usebibmacro{cite:foot:publisher+location+year}} - -\newbibmacro*{cite:foot:publisher+location+year}{% - \printtext[parens]{% - \printfield[noformat]{origyear}% - \setunit*{\addsemicolon\addspace}% - \printlist{location}% - \iflistundef{publisher}% - {\setunit*{\addspace}}% - {\setunit*{\addcolon\space}}% - \printlist{publisher}% - \newunit% - \printfield{year}}} - -\DeclareBibliographyDriver{footcite:article}{% - \usebibmacro{cite:foot:name}% - \newunit% - \usebibmacro{cite:foot:title}% - \newunit% - \usebibmacro{cite:foot:byauthor:incollection}% - \newunit% - \usebibmacro{cite:foot:bytranslator}% - \newunit% - \usebibmacro{journal+issuetitle}% - \newunit% - \iffieldundef{url}{}{\usebibmacro{cite:foot:url+urldate}}% - \setunit{\addcolon\addspace}% - \iffieldundef{postnote}% - {\printfield{pages}}% - {}}% - -\newbibmacro*{cite:foot:url+urldate}{% - \printtext{\biburldatelong}% - \setunit{\addspace}% - \printfield{url}} - -\DeclareBibliographyDriver{footcite:inreference}{% - \usedriver{}{footcite:incollection}} - -\DeclareBibliographyDriver{footcite:incollection}{% - \usebibmacro{cite:foot:name}% - \ifbool{cbx@named}% 0.7.1 - {\setunit{\newunitpunct}}% - {\setunit{}}% - \ifthenelse{% - \iffieldequalstr{entrysubtype}{book}% - \OR% - \iffieldequalstr{entrysubtype}{play}}% - {\usebibmacro{cite:foot:title:incollection:italics}}% - {\usebibmacro{cite:foot:title}}% - \newunit% - \printfield[mla:lowercase]{titleaddon}% - \newunit% - \usebibmacro{cite:foot:byauthor:incollection}% - \newunit% - \ifbool{bbx@uniquetranslator}% - {\usebibmacro{cite:foot:bytranslator}\clearname{translator}}% - {}% - \ifthenelse{% - \iffieldequalstr{entrysubtype}{book}% - \OR% - \iffieldequalstr{entrysubtype}{play}}% - {\setunit{\addcomma\addspace\bibstring{in}\addspace}}% - {\newunit}% - \printtext[citetitle:book]{% - \printfield[noformat]{booktitle}% - \setunit{\subtitlepunct}% - \printfield[noformat]{booksubtitle}% - }% - \usebibmacro{cite:foot:bybookauthor}% - \newunit% - \usebibmacro{cite:foot:byeditor}% - \newunit% - \iffieldsequal{year}{edition}% - {\printfield{year}~\bibstring{edition}\clearfield{year}}% - {\printfield[foot:cite:edition:format]{edition}\isdot}% - \newunit% - \iffieldundef{maintitle}% - {\printfield{volume}% - \printfield{part}}% - {}% - \newunit% - \printfield{volumes}% - \newunit% - \usebibmacro{series+number}% - \setunit{\addspace}% - \iffieldundef{year}% - {}% - {\usebibmacro{cite:foot:publisher+location+year}}% - \setunit{\addspace}% - \iffieldundef{postnote}% - {\printfield{pages}}% - {}% - }% - -\DeclareBibliographyDriver{footcite:phdthesis}{% - \usedriver{}{footcite:thesis}} - -\DeclareBibliographyDriver{footcite:thesis}{% - \usebibmacro{cite:foot:name}% - \newunit% - \usebibmacro{title}% - \newunit% - \ifbibstring{\thefield{type}}% - {\printtext[default]{\bibstring{\thefield{type}}}}% - {\printtext[default]{\printfield{type}}}% - \newunit% - \printlist{institution}% - \newunit% - \iffieldequalstr{entrysubtype}{published}% - {\printfield{origyear}\clearfield{origyear}}% - {\printfield{year}}% - \newunit% - \iffieldequalstr{entrysubtype}{published}% - {\usebibmacro{series+number}% - \setunit{\addspace}% - \usebibmacro{cite:foot:publisher+location+year}}% - {}} - -\DeclareBibliographyDriver{footcite:review}{% - \usebibmacro{cite:foot:author:review}% - \ifbool{cbx@named}% - {\setunit{\newunitpunct}}% - {\setunit{}}% - \usebibmacro{cite:foot:title}% - \setunit*{\newunitpunct}% - \printtext[bibhyperref]% - {\bibstring{reviewof}\addspace\printfield{booktitle}}% - \newunit% - \ifnameundef{bookauthor}% - {\printtext[reviewededitor]{\printnames[default]{editor}}}% - {\printtext[reviewedauthor]{\printnames[default]{bookauthor}}}% - \newunit% - \usebibmacro{journal+issuetitle}% - \newunit% - \iffieldundef{url}{}{\usebibmacro{cite:foot:url+urldate}}% - \setunit{\addcolon\addspace}% - \iffieldundef{postnote}% - {\printfield{pages}}% - {}}% - -\DeclareBibliographyDriver{footcite:video}{% - \setbool{cbx@named}{false}% - \ifnamesequal{labelname}{author}% - {\usebibmacro{mla:video:name:first:footnote}{author}% - \setbool{cbx@named}{true}}% - {}% - \ifnamesequal{labelname}{editor}% - {\usebibmacro{mla:video:name:first:footnote}{editor}% - \setbool{cbx@named}{true}}% - {}% - \ifbool{cbx@named}% - {\setunit{\newunitpunct}}% - {\setunit{}}% - \printtext[bibhyperref]{\printfield{title}}% - \newunit% - \ifnameundef{bookauthor}% - {}% - {\printtext[reviewedauthor]{\printnames[byeditor]{bookauthor}}}% - \newunit% - \usebibmacro{mla:video:name:second:footnote}{author}% - \newunit% - \usebibmacro{mla:video:name:second:footnote}{editor}% - \newunit% - \usebibmacro{mla:video:name:second:footnote}{namea}% - \newunit% - \usebibmacro{mla:video:name:second:footnote}{nameb}% - \newunit% - \usebibmacro{mla:video:name:second:footnote}{namec}% - \newunit% - \printfield{origyear}% - \newunit% - \printfield{howpublished}% - \newunit% - \printlist{publisher}% - \newunit% - \printfield{year}% - \addperiod} - -\DeclareBibliographyDriver{footcite:suppcollection}{% - \usedriver{}{footcite:suppbook}} - -\DeclareCiteCommand{\titleandsubtitle} - {\boolfalse{citetracker}% - \boolfalse{pagetracker}% - \usebibmacro{prenote}} - {\indexfield{indextitle}% - \printtext[citetitle]{% - \printfield[noformat]{title}% - \iffieldundef{subtitle}{}{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - {\multicitedelim} - {\usebibmacro{postnote}} - -\DeclareBibliographyDriver{footcite:suppbook}{% - \usebibmacro{cite:foot:name}% - \newunit% - \usebibmacro{cite:foot:title}% - \newunit% - \printfield{entrysubtype}% - \newunit% - \usebibmacro{booktitle}% - \setunit{\newunitpunct\bibstring{bytypeauthor}\addspace}% - \ifnamesequal{labelname}{bookauthor}% - {\printnames[mla:last]{bookauthor}}% - {\printnames[byauthor]{bookauthor}}% - \newunit% - \usebibmacro{byeditor+others}% - \newunit% - \printfield{edition}% - \newunit% - \iffieldundef{maintitle}% - {\printfield{volume}% - \printfield{part}}% - {}% - \newunit% - \printfield{volumes}% - \newunit% - \usebibmacro{series+number}% - \setunit{\addspace}% - \usebibmacro{cite:foot:publisher+location+year}% - \setunit{\addspace}% - \iffieldundef{postnote}% - {\printfield{pages}}% - {}} - -\DeclareBibliographyDriver{footcite:unpublished}{% - \usebibmacro{cite:foot:name}% - \newunit% - \usebibmacro{mla:title:unpublished}% - \newunit% - \newunit% - \printfield{note}% - \newunit% - \usebibmacro{mla:all:type:foot}% - \setunit*{\isdot\addspace}% - \printfield{number}% - \newunit% - \printfield{library}% - \setunit{\addcomma\addspace}% - \printlist{location}% - \newunit% - \printfield{addendum}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{footcite:periodical}{% - \usebibmacro{cite:foot:editor}% - \setunit{\labelnamepunct}\newblock% - \usebibmacro{mla:article:journal+issuetitle}% - \newunit\newblock - \printfield{note}% - \setunit{\addcolon\addspace}\newblock - \iffieldundef{postnote}% - {\printfield{pages}}% - {}% - \newunit\newblock - \usebibmacro{url+urldate}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\newbibmacro*{cite:foot:title}{% - \iffieldundef{title}% - {}% - {\printtext[bibhyperref]{% - \printtext[citetitle:\strfield{entrytype}]{% - \printfield[noformat]{title}% - \setunit{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - }}% - -\newbibmacro*{cite:foot:title:incollection:italics}{% - \printtext[bibhyperref]{% - \printtext[title:book]{% - \printfield[noformat]{title}% - \setunit{\subtitlepunct}% - \printfield[noformat]{subtitle}}% - }}% - -\newbibmacro*{cite:foot:bytranslator}{% - \ifnameundef{translator}% - {}% - {\printtext[default]{\bibstring{bytranslator}\addspace% - \printnames[cite:foot:translator]{translator}}}} - -\newbibmacro*{cite:foot:byeditor}{% - \ifthenelse{\ifnameundef{editor}\OR% - \( \iffieldequalstr{entrytype}{collection}\AND% - \ifnameundef{author} \)}% - {}% - {\usebibmacro{byeditor+others}}} - -\newbibmacro*{mla:foot:postnote}{% - \iffieldundef{postnote}% - {\unspace}% - {\unspace\addspace\printfield[footpostnote]{postnote}}% - \usebibmacro{cite:reset}} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%% Format Declarations %%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\DeclareFieldFormat{citetitle:article}{\mkbibquote{#1}} -\DeclareFieldFormat{citetitle:inreference}{\mkbibquote{#1}} -\DeclareFieldFormat{citetitle:book}{\mkbibemph{#1}} -\DeclareFieldFormat{citetitle:booklet}{\mkbibemph{#1}}% -\DeclareFieldFormat{citetitle:collection}{\mkbibemph{#1}}% -\DeclareFieldFormat{citetitle:reference}{\mkbibemph{#1}}% -\DeclareFieldFormat{citetitle:incollection}{\mkbibquote{#1}} -\DeclareFieldFormat{citetitle:online}{\mkbibquote{#1}}% 1.4.9 -\DeclareFieldFormat{citetitle:inproceedings}{\mkbibquote{#1}} -\DeclareFieldFormat{citetitle:unpublished}{\mkbibquote{#1}} -\DeclareFieldFormat{citetitle:thesis}{\mkbibquote{#1}} -\DeclareFieldFormat{citetitle:video}{\mkbibemph{#1}} -\DeclareFieldFormat{citetitle:review}{\mkbibquote{#1}}% -\DeclareFieldFormat{mla:lowercase}{\MakeLowercase{#1}}% -\DeclareFieldFormat{ibidpostnote}{#1}% -\DeclareFieldFormat{footpostnote}{#1}% -\DeclareFieldFormat{mlarepeatedcites}{\fbox{#1}% - \marginpar{\hfill\footnotesize{$\clubsuit$}}}% -\@ifpackagelater{biblatex}{2016/03/01}{% - \DeclareNameFormat{cite:foot:editor}{% - \nameparts{#1}% - \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\partnamesuffix}% - \usebibmacro{name:andothers}}% - \DeclareNameFormat{cite:foot:translator}{% - \nameparts{#1}% - \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\partnamesuffix}% - \usebibmacro{name:andothers}}% -}{% - \DeclareNameFormat{cite:foot:editor}{% - \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% - \usebibmacro{name:andothers}}% - \DeclareNameFormat{cite:foot:translator}{% - \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% - \usebibmacro{name:andothers}}% -}% -\DeclareFieldFormat{foot:cite:edition:format}{% - \ifinteger{#1}% - {\mkbibordinal{#1}~\bibstring{edition}}% - {\printtext[mla:lowercase]{#1}}} -\DeclareFieldFormat{supptotitle}% - {\bibstring{supptotitle}\addspace\mkbibemph{#1}} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%% Cite Commands %%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\renewbibmacro*{prenote}{% - \iffieldundef{prenote} - {\global\undef\cbx@lastprenote} - {\printfield{prenote}% - \prenotedelim% - \ifthenelse{\iffieldequals{prenote}{\cbx@lastprenote} \and \iffieldequals{entrykey}{\cbx@lastkey}}% - {}% - {\usebibmacro{cite:reset}}% - \savefield{prenote}{\cbx@lastprenote}}} - -\DeclareCiteCommand{\parencite}[\mkbibparens] - {\usebibmacro{prenote}} - {\usebibmacro{citeindex}% - \usebibmacro{cite:mla}} - {} - {\ifthenelse{\iffieldequals{postnote}{\cbx@lastpostnote} \and \iffieldequals{entrykey}{\cbx@lastkey}}% - {\usebibmacro{locpostnote}}% - {\usebibmacro{postnote}}% - \savefield{postnote}{\cbx@lastpostnote}}% - -\DeclareCiteCommand*{\parencite}[\mkbibparens] - {\global\undef\cbx@lasthash\usebibmacro{prenote}}% - {\usebibmacro{citeindex}% - \usebibmacro{cite:mla:starred:title}} - {} - {\usebibmacro{postnote}} - -\DeclareCiteCommand{\cite}% 1.9 added support for smart switching when used in footnote - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% - {\usebibmacro{citeindex}% - \usebibmacro{cite:mla}}% - {}% - {\usebibmacro{postnote}} - -\DeclareCiteCommand{\textcite}% 1.9 new - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% - {\usebibmacro{citeindex}% - \usebibmacro{cite:mla}}% - {}% - {\usebibmacro{postnote}} - -\DeclareCiteCommand{\headlesscite}% 1.9 added alias to starred command for Chicago compatibility - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% - {\usebibmacro{citeindex}% - \usebibmacro{cite:mla:starred:title}} - {}% - {\usebibmacro{postnote}} - -\DeclareCiteCommand*{\cite}% 1.9 added support for smart switching when used in footnote - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% - {\usebibmacro{citeindex}% - \usebibmacro{cite:mla:starred:title}} - {}% - {\usebibmacro{postnote}} - -\DeclareCiteCommand{\footcite}[\mkbibfootnote] - {\bibsentence% - \usebibmacro{cite:init}% - \usebibmacro{prenote}} - {\usebibmacro{citeindex}% - \global\booltrue{cbx@mlafootnotes}% - \renewcommand*{\newunitpunct}{\addcomma\space}% - \usebibmacro{cite:mla:foot}} - {} - {\usebibmacro{mla:foot:postnote}} - -\DeclareCiteCommand{\fullcite} - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% - {\usebibmacro{citeindex}% - \usebibmacro{cite:mla:title}} - {}% - {\usebibmacro{postnote}} - -\DeclareCiteCommand{\headlessfullcite} - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% - {\usebibmacro{citeindex}% - \usebibmacro{cite:mla:starred:title}} - {}% - {\usebibmacro{postnote}} - -\newbibmacro{mla:fullcite:prenote}{% -\citereset\renewbibmacro*{author}{% - \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}} - {\DeclareNameAlias{author}{default}\ifthenelse{\iffieldequals{namehash}{\cbx@lasthash}\AND\NOT - \iffirstonpage} - {\mbox{\mlanamedash\unspace\newunitpunct}} - {\printnames{author}% - \savefield{namehash}{\cbx@lasthash}}} - {\let\cbx@lasthash\undefined}}} - -% \DeclareCiteCommand{\fullcite} -% {\usebibmacro{mla:fullcite:prenote}\usebibmacro{prenote}} -% {\usedriver -% {\DeclareNameAlias{sortname}{default}\DeclareNameAlias{default}{last-first}} -% {\thefield{entrytype}}} -% {\multicitedelim} -% {\usebibmacro{postnote}} - -\DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote]% - {\usebibmacro{prenote}} - {\usebibmacro{citeindex}% - \usebibmacro{cite:mla}} - {\multicitedelim} - {\usebibmacro{cite:postnote}} - -\newbibmacro*{cite:mla:starred:title}{% - \ifciteibid - {\iffieldundef{postnote} - {\usebibmacro{cite:mla:title:alone}} - {\global\booltrue{cbx@hyperpages}}} - {\iffieldundef{shorthand} - {\ifsingletitle% - {\iffieldundef{postnote} - {\usebibmacro{cite:mla:title:alone}} - {\global\booltrue{cbx@hyperpages}}}% - {\usebibmacro{cite:mla:title:alone}\setunit{\addspace}}} - {\usebibmacro{cite:mla:shorthand}}}} - -\newbibmacro*{cite:mla:title:alone}{% - \printtext[bibhyperref]{% suggested by StackExchange user Audrey - \printfield[citetitle:\strfield{entrytype}]{labeltitle}}% - \ifthenelse{\iffieldequalstr{entrytype}{suppbook}\and\iffieldundef{title}}% - {\printtext[bibhyperref]{% - \printfield[mla:capital]{entrysubtype}}}% - {}} +% This file exists just to help avoid any breakage when updating from older versions of biblatex-mla. +\ProvidesFile{mla-new.cbx}[2021/06/07 v2.0 biblatex citation style] +\RequireCitationStyle{mla} \endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-strict.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-strict.bbx new file mode 100644 index 0000000000..ce97a2b3a0 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-strict.bbx @@ -0,0 +1,1337 @@ +% mla-strict.bbx, v2.0 2021/06/07 * compatible with biblatex 3.16 +% Maintained at <https://github.com/jmclawson/biblatex-mla>. +% +% Feel free to improve, redistribute, and adapt to your own ends. Please share improvements back to the project on GitHub or to James Clawson: <clawson@gmail.com>. +% +% This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. + +\ProvidesFile{mla-strict.bbx}[2021/06/07 v2.0 biblatex bibliography style] + +\RequireBibliographyStyle{standard} +\DeclareLanguageMappingSuffix{-mla} + +\NewBibliographyString{byserieseditor} +\NewBibliographyString{reviewof} +\NewBibliographyString{specissue} +\NewBibliographyString{phd} +\NewBibliographyString{dphil} +\NewBibliographyString{lic} +\NewBibliographyString{ma} +\NewBibliographyString{ms} +\NewBibliographyString{msc} +\NewBibliographyString{mphil} +\NewBibliographyString{mlitt} +\NewBibliographyString{manuscript} +\NewBibliographyString{typescript} +\NewBibliographyString{director} +\NewBibliographyString{screenplay} +\NewBibliographyString{adaptation} +\NewBibliographyString{adaptor} +\NewBibliographyString{performer} +\NewBibliographyString{performers} +\NewBibliographyString{composer} +\NewBibliographyString{composedby} +\NewBibliographyString{producer} +\NewBibliographyString{with} +\NewBibliographyString{proceedings} +\NewBibliographyString{compilerandeditor}% +\NewBibliographyString{bycompilerandeditor}% +\NewBibliographyString{transof}% +\NewBibliographyString{volstodate}% +\NewBibliographyString{supptotitle}% +\NewBibliographyString{print}% +\NewBibliographyString{web}% +\NewBibliographyString{generaleditor}% + +\setlength{\bibitemsep}{0pt} +\renewcommand*{\mkbibnamesuffix}[1]{\addcomma\addlowpenspace#1} + +\DeclareNameAlias{author}{sortname} +\@ifpackagelater{biblatex}{2016/03/01}{% + \DeclareNameFormat{mla:last}{\nameparts{#1}\namepartfamily}% + \DeclareNameFormat{default}{% + \nameparts{#1}% + \ifgiveninits{% + \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}% + }{% + \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}% + }% + \usebibmacro{name:andothers}% + }% +}{% + \DeclareNameFormat{mla:last}{#1}% + \DeclareNameFormat{default}{% + \iffirstinits{% + \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}% + }{% + \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + }% + \usebibmacro{name:andothers}% + }% +} + +\defbibenvironment{bibliography} + {\list + {} + {\setlength{\leftmargin}{\bibhang}% + \setlength{\itemindent}{-\leftmargin}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}} + {\endlist} + {\item} + +\DeclareFieldFormat{title:article}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:online}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:inreference}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:book}{\mkbibemph{#1}} +\DeclareFieldFormat{title:booklet}{\mkbibemph{#1}} +\DeclareFieldFormat{title:collection}{\mkbibemph{#1}} +\DeclareFieldFormat{title:incollection}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:inbook}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:inproceedings}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:mvbook}{\mkbibemph{#1}}% mla-2.0 +\DeclareFieldFormat{title:patent}{\mkbibquote{#1}} +\DeclareFieldFormat{title:thesis}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:unpublished}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:reviewedbook}{\bibstring{reviewof}\addspace\mkbibemph{#1}}% +\DeclareFieldFormat{title:reference}{\mkbibemph{#1}}% +\DeclareFieldFormat{isbn}{#1}% +\DeclareFieldFormat{pages}{\mkpageprefix[bookpagination]{#1}} +\DeclareFieldFormat[review]{volume}{#1}% +\DeclareFieldFormat[article]{volume}{#1}% +\DeclareListFormat[article]{location}% + {\unspace\mkbibbrackets{#1}\addspace}% +\DeclareFieldFormat[article]{version}{#1\isdot}% +\DeclareFieldFormat[incollection]{bibliography:origyear}{\openrangeformat{#1}\addperiod}% +\DeclareFieldFormat[video]{mla:publimedium}{\MakeCapital{film}}% + +\DeclareFieldFormat[patent]{number}{#1}% + +\DeclareFieldFormat{mla:publimedium}{\MakeCapital{#1}}% +\DeclareFieldFormat{mla:capital}{\MakeCapital{#1}}% +\DeclareFieldFormat{url}{% + \ifhyperref% + {\href{http://#1}{\nolinkurl{#1}}}% + {\url{#1}}}% +\DeclareFieldFormat{mla:lowercase}{\MakeLowercase{#1}}% +\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1}}% +\DeclareFieldFormat{issuetitle}{\mkbibemph{#1}} +\DeclareFieldFormat{mla:newspaper:section}{\bibstring{section}\addspace#1}% +\DeclareFieldFormat{library}{#1\isdot}% +\DeclareFieldFormat{reviewededitor}{\bibstring{byeditor}\addspace#1}% +\DeclareFieldFormat{reviewedauthor}{\bibstring{byauthor}\addspace#1}% +\DeclareFieldFormat{title:suppbook}{\mkbibquote{#1}} +\DeclareFieldFormat{openrangevolumes}{#1~\bibstring{volstodate}}% +\DeclareFieldFormat{volumeof}{\bibstring{volume}~#1~\bibstring{ofseries}}% +\DeclareFieldFormat{mla:sentence-case}{\MakeSentenceCase{#1}}% +\DeclareFieldFormat{eprinttype}{\mkbibemph{#1}} +\DeclareFieldFormat{eprint:arxiv}{% + \iffieldundef{url}{% + \mkbibemph{arXiv}\addcomma\space \printtext[url]{arxiv.org/abs/#1}}{% + \mkbibemph{arXiv}}} +\DeclareFieldFormat{eprint:jstor}{% + \iffieldundef{url}{% + \mkbibemph{JSTOR}\addcomma\space \printtext[url]{www.jstor.org/stable/#1}}{% + \mkbibemph{JSTOR}}} +\DeclareFieldFormat{eprint:hulu}{% + \iffieldundef{url}{% + \mkbibemph{Hulu}\addcomma\space \printtext[url]{www.hulu.com/watch/#1}}{% + \mkbibemph{Hulu}}} +\DeclareFieldFormat{eprint:googlebooks}{% + \iffieldundef{url}{% + \mkbibemph{Google Books}\addcomma\space \printtext[url]{books.google.com/books?id=#1}}{% + \mkbibemph{Google Books}}} +\DeclareFieldFormat{eprint:muse}{% + \iffieldundef{url}{% + \mkbibemph{Project Muse}\addcomma\space \printtext[url]{muse.jhu.edu/article/#1}}{% + \mkbibemph{Project Muse}}} +\DeclareFieldFormat{eprint}{\emph{#1}}% +\DeclareFieldFormat{doi}{% + doi\addcolon% + \ifhyperref% + {\href{https://doi.org/#1}{\nolinkurl{#1}}}% + {\nolinkurl{#1}}} + +\DeclareFieldFormat{urldate}{#1}% +\DeclareFieldFormat[article,periodical,review]{volume}{\bibstring{volume}\ppspace#1}% volume of a journal +\DeclareFieldFormat[article,periodical,review]{number}{\bibstring{number}\ppspace#1}% number of a journal + +\DeclareBibliographyAlias{artwork}{article}% +\DeclareBibliographyAlias{audio}{article}% +\DeclareBibliographyAlias{booklet}{book}% +\DeclareBibliographyAlias{bookinbook}{incollection}% +\DeclareBibliographyAlias{collection}{book}% +\DeclareBibliographyAlias{reference}{book}% +\DeclareBibliographyAlias{image}{article}% +\DeclareBibliographyAlias{inbook}{incollection}% +\DeclareBibliographyAlias{letter}{article}% +\DeclareBibliographyAlias{manual}{book}% 2.0 ADDED √ +\DeclareBibliographyAlias{misc}{article}% 2.0 ADDED √ +\DeclareBibliographyAlias{movie}{video}% 2.0 ADDED √ +\DeclareBibliographyAlias{music}{audio}% +\DeclareBibliographyAlias{online}{article} +\DeclareBibliographyAlias{patent}{article}% 2.0 ADDED √ +\DeclareBibliographyAlias{report}{book}% 2.0 ADDED √ +\DeclareBibliographyAlias{suppcollection}{suppbook}% + +\DeclareFieldAlias[online]{maintitle}{journaltitle} +\DeclareFieldAlias[book]{subtitle}{booksubtitle} +\DeclareFieldAlias[book]{title}{booktitle} +% \DeclareFieldAlias[patent]{holder}{addendum} + +\renewcommand*{\newunitpunct}{\addcomma\addspace} +\renewcommand*{\multilistdelim}{/} +\renewcommand*{\finallistdelim}{/} +\renewcommand*{\newblockpunct}{\addperiod\addspace} +\renewcommand*{\andothersdelim}{\ifcitation{}{\addcomma}\addspace} +\renewcommand*{\subtitlepunct}{\ifterm{}{\addcolon}\addspace} + +\newboolean{bbx@mla-incollection} +\newbool{bbx@inset} + +\DeclareBibliographyOption{dashed}[true]{% + \ifstrequal{#1}{true} + {\ExecuteBibliographyOptions{pagetracker}% + \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}} + {\ExecuteBibliographyOptions{pagetracker=false}% + \renewbibmacro*{bbx:savehash}{}}} + +\newboolean{bbx@annotation}% same as biblatex-dw +\DeclareBibliographyOption{annotation}[true]{% +\setbool{bbx@annotation}{#1}} + +\newboolean{bbx@totalnames} +\newboolean{cbx@totalnames} +\DeclareEntryOption{totalnames}[true]{% + \setbool{bbx@totalnames}{#1}\setbool{cbx@totalnames}{#1}} + +% for translated incollections where the collection has no shared translator +\newboolean{bbx@uniquetranslator}% +\DeclareEntryOption{uniquetranslator}[true]{% + \setbool{bbx@uniquetranslator}{#1}} + +\newtoggle{bbx:showlocation}% 2.0 add a global/entry toggle to show location +\settoggle{bbx:showlocation}{false} +\DeclareBibliographyOption{showlocation}[true]{\settoggle{bbx:showlocation}{#1}} +\DeclareEntryOption{showlocation}[true]{\settoggle{bbx:showlocation}{#1}} + +\newtoggle{bbx:longdash}% 2.0 change bibnamedash default and add a toggle to revert +\settoggle{bbx:longdash}{true} +\DeclareBibliographyOption{longdash}[true]{\settoggle{bbx:longdash}{#1}} + +\newbool{bbx:gnoreminfo}% +\setbool{bbx:gnoreminfo}{false} +\DeclareBibliographyOption{noremoteinfo}[true]{\setbool{bbx:gnoreminfo}{#1}} + +\newbool{bbx:lnoreminfo}% +\setbool{bbx:lnoreminfo}{false} +\DeclareEntryOption{noremoteinfo}[true]{\setbool{bbx:lnoreminfo}{#1}} + +\newtoggle{bbx:isan} +\DeclareBibliographyOption{isan}[true]{\settoggle{bbx:isan}{#1}}% + +\newtoggle{bbx:ismn} +\DeclareBibliographyOption{ismn}[true]{\settoggle{bbx:ismn}{#1}}% + +\newtoggle{bbx:isrn} +\DeclareBibliographyOption{isrn}[true]{\settoggle{bbx:isrn}{#1}}% + +\newtoggle{bbx:issn} +\DeclareBibliographyOption[boolean]{issn}[true]{\settoggle{bbx:issn}{#1}}% + +\newboolean{mla@nodate}% +\DeclareEntryOption{nodate}[true]{\setbool{mla@nodate}{#1}} + +\ExecuteBibliographyOptions{maxnames=2,datezeros=false,eprint=true}% + +\newrobustcmd{\openrangeformat}[1]{% + \begingroup% + \let\blx@org@rangedash=\bibrangedash% + \def\bibrangedash{% + \blx@org@rangedash% + \futurelet\@let@token\blx@openrangeformat}% + #1% + \endgroup} + +\newcommand*{\blx@openrangeformat}{% + \ifx\@let@token\endgroup% + \openrangemark% + \fi} + +\newcommand*{\openrangemark}{\mbox{ }}% + +\newbibmacro*{bbx:savehash}{% + \savefield{fullhash}{\bbx@lasthash}} + +\iftoggle{bbx:longdash}% MLA Handbook 9 says either is viable if used consistently + {\newcommand*{\mlanamedash}{\textemdash\textemdash\textemdash}} + {\newcommand*{\mlanamedash}{-{}-{}-}} + +\renewcommand*{\bibnamedash}{% + \iftoggle{bbx:longdash}% MLA Handbook 9 says either is viable if used consistently + {\printtext[noformat]{\textemdash\textemdash\textemdash}}% + {\printtext[noformat]{-{}-{}-}}% + % \printtext[noformat]{\mlanamedash}% + \iffieldundef{nameaddon}% + {\setunit{\addperiod\addspace}}% + {\setunit{\nopunct}}}% + +\renewbibmacro*{author}{% + \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}} + {\usebibmacro{bbx:dashcheck}% + {\bibnamedash}% + {\ifbool{bbx@totalnames}% + {\printnames[sortname][-\value{listtotal}]{author}} + {\printnames{author}}% + \usebibmacro{bbx:savehash}}% + \iffieldundef{nameaddon}% + {}% + {\setunit{\addspace}% + \printfield{nameaddon}}% + \iffieldundef{authortype}% + {}% + {\newunit% + \usebibmacro{authorstrg}}}% + {\global\undef\bbx@lasthash}} + +\renewbibmacro*{editor}{% + \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}% + {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT + \iffirstonpage}% + {\mbox{\mlanamedash\unspace\addcomma\addspace}}% + {\ifbool{bbx@totalnames}% + {\printnames[sortname][-\value{listtotal}]{editor}}% + {\printnames{editor}}% + \newunit% + \savefield{namehash}{\bbx@lasthash}}% + \usebibmacro{editorstrg}\clearname{editor}\setunit{\addperiod\space}}% + {\global\undef\bbx@lasthash}} + +\renewbibmacro*{editor+others}{% + \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}% + {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT + \iffirstonpage}% + {\mbox{\mlanamedash\unspace\addcomma\addspace}}% + {\ifbool{bbx@totalnames}% + {\printnames[sortname][-\value{listtotal}]{editor}}% + {\printnames[sortname]{editor}}% + \newunit% + \savefield{namehash}{\bbx@lasthash}}% + \usebibmacro{editor+othersstrg}\clearname{editor}\clearfield{editortype}}% + {\global\undef\bbx@lasthash}} + +\renewbibmacro*{translator}{% + \ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}% + {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT + \iffirstonpage}% + {\mbox{\mlanamedash\unspace\addcomma\addspace}}% + {\ifbool{bbx@totalnames}% + {\printnames[sortname][-\value{listtotal}]{translator}}% + {\printnames[sortname]{translator}}% + \newunit% + \savefield{namehash}{\bbx@lasthash}}% + \usebibmacro{translatorstrg}\clearname{translator}}% + {\global\undef\bbx@lasthash}} + +\renewbibmacro*{translator+others}{% + \ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}% + {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT + \iffirstonpage}% + {\mbox{\mlanamedash\unspace\addcomma\addspace}}% + {\ifbool{bbx@totalnames}% + {\printnames[sortname][-\value{listtotal}]{translator}}% + {\printnames[sortname]{translator}}% + \newunit% + \savefield{namehash}{\bbx@lasthash}}% + \usebibmacro{translator+othersstrg}\clearname{translator}}% + {\global\undef\bbx@lasthash}} + +\newbibmacro*{journal+issue+year+pages}{% + \usebibmacro{journal+ser+vol+num}% + \setunit{\addspace}% + \printtext[parens]{% + \iffieldundef{issue}% + {\iffieldundef{month}% + {\printfield{year}}% + {\iffieldundef{day}% + {\printfield{month}% + \setunit{\addspace}% + \printfield{year}}% + {\printtext{\bibdate}}}}% + {\printfield{issue}% + \setunit{\addspace}% + \printfield{year}}}% + \newunit% + \printfield{pages}} + +\renewbibmacro*{url+urldate}{% + \printfield[mla:capital:web]{url}\clearfield{url}% + \printunit{\addperiod\space}\newblock% + \iffieldundef{urlyear}{}{\printtext{Accessed}\space\printurldate\clearfield{urlyear}}% + } + +\newbibmacro*{mla:container:top}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% bibnamedash + \setunit{\addperiod\space}\newblock% + \ifthenelse{% + \iffieldequalstr{entrytype}{suppbook}% + \OR% + \iffieldequalstr{entrytype}{suppcollection}}% + {\usebibmacro{title}% + \printunit{\addperiod\space}\newblock% + \printfield[mla:capital]{entrysubtype}}% 2.0 adjusted to show both title and entrysubtype + {\ifentrytype{book} + {\usebibmacro{booktitle}} + {\usebibmacro{maintitle+booktitle}}}% + \printunit{\addperiod\space}\newblock% + } + +\newbibmacro*{mla:container:one}{% + \usebibmacro{mla:article:journal+issuetitle}% + \newunit\newblock + \printfield{note}% + \newunit% + \printfield{pages}% + \newunit% + \ifthenelse{\iffieldundef{eprinttype} \OR \(\iffieldundef{eprinttype} \AND \iffieldundef{eprint}\)} + {}%\usebibmacro{url+urldate}}% mla9 - drop + {}% + \printunit{\addperiod\space}\newblock% + } + +\newbibmacro*{mla:container:two}{% + \usebibmacro{mla:isbn/issn+doi+eprint}% + \newunit\newblock + \usebibmacro{url+urldate}% + \newunit\newblock + \printfield{addendum}% + \printunit{\addperiod\space}\newblock% + \usebibmacro{pageref}% + } + +\DeclareFieldFormat{titlea}{\mkbibemph{#1}} +\DeclareFieldFormat{titleb}{\mkbibemph{#1}} +\DeclareFieldFormat[mlasource]{mla:unstyled}{#1} +\DeclareFieldFormat[mlasource]{mla:complete}{\mkbibemph{#1}} +\DeclareFieldFormat[mlasource]{mla:part}{\mkbibquote{#1}} + +\newbibmacro*{mla:source}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\addperiod\space}\newblock% + \iffieldundef{titletype} + {\iffieldundef{titlea} + {\printfield[mla:complete]{title}} + {\printfield[mla:part]{title}}} + {\printfield[mla:\thefield{titletype}]{title}} + \setunit{\addperiod\space}\newblock% + \printfield[noformat]{supplemental} + } + +\newbibmacro*{mla:containera}{% + \printfield{titlea}% + \newunit\newblock + \printfield{contributora}% + \newunit\newblock + \printfield{versiona}% + \newunit\newblock + \printfield{numbera}% + \newunit\newblock + \printfield{publishera}% + \newunit\newblock + \printfield{datea}% + \newunit\newblock + \printfield{locationa}% + \newunit\newblock + \printfield{supplementala}% +} + +\newbibmacro*{mla:containerb}{% + \printfield{titleb}% + \newunit\newblock + \printfield{contributorb}% + \newunit\newblock + \printfield{versionb}% + \newunit\newblock + \printfield{numberb}% + \newunit\newblock + \printfield{publisherb}% + \newunit\newblock + \printfield{dateb}% + \newunit\newblock + \printfield{locationb}% + \newunit\newblock + \printfield{supplementalb}% +} + +\DeclareBibliographyDriver{mlasource}{% + \usebibmacro{mla:source}% + \printunit{\addperiod\space}\newblock% + \usebibmacro{mla:containera}% + \printunit{\addperiod\space}\newblock% + \usebibmacro{mla:containerb}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{book}{% + \usebibmacro{mla:container:top}% + \printunit{\addperiod\space}\newblock% + \usebibmacro{bytranslator+others}% + \newunit% + \usebibmacro{byeditor+others}% + \newunit% + \printfield{edition}\isdot% + \newunit% + \iffieldundef{maintitle}{\printfield{volume}\clearfield{volume}\printfield{part}}{}% + % \newunit% + % \iffieldundef{volume}{\printfield{volumes}\clearfield{volumes}}{}%% 2.0 undefined to show later + \newunit% + \usebibmacro{series+number}% + \newunit% + \printfield{note}% + \newunit% + \iftoggle{bbx:showlocation}{\printlist{location}}{}% new toggle IN 2.0 + \newunit% + \iffieldundef{maintitle} + {\newunit% + \printlist{publisher}\clearlist{publisher}} + {}% + \newunit% + \printdate% + \newunit% + \printfield{pages}% really? + \newunit\newblock% + \usebibmacro{mla:isbn/issn+doi+eprint}% + \newunit% + \iffieldundef{origtitle}% + {}% + {\usebibmacro{mla:reprint}}% + \setunit{\addperiod\addspace}% + \iffieldundef{volumes}% + {}% + {\usebibmacro{mla:multivolumes}}% + \newunit% + \printfield[mla:sentence-case]{addendum}% + \newunit% + \usebibmacro{pageref}% + \newunit% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{article}{% + \usebibmacro{mla:container:top}% + \printunit{\addperiod\space}\newblock% + \usebibmacro{mla:container:one}% + \printunit{\addperiod\space}\newblock% + \usebibmacro{mla:container:two}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\addperiod\space}\newblock% + \usebibmacro{mla:article:journal+issuetitle}% + \newunit\newblock% + \printfield{note}% + \newunit% + \printfield{pages}% + \newunit\newblock% + \usebibmacro{mla:isbn/issn+doi+eprint}% + \newunit\newblock% + \usebibmacro{url+urldate}% + \newunit\newblock% + \printfield{addendum}% + \newunit\newblock% + \usebibmacro{pageref}% + \newunit% + \usebibmacro{finentry}} + +\newbibmacro*{mla:reprint}{% + \iffieldundef{origtitle}% + {\newunit}% + {\iflistundef{origlanguage} + {\setunit{\newunitpunct\bibstring{reprintof}\addspace}}% + {\setunit{\newunitpunct\bibstring{transof}\addspace}}% +}% + \printfield[title:\strfield{entrytype}]{origtitle}% + \newunit\newblock% + \printlist{origlocation}\clearlist{origlocation}% + \setunit*{\addcolon\addspace}% + \printlist{origpublisher}\clearlist{origpublisher}% + \newunit% + \ifbool{bbx@mla-incollection}% + {\printfield[bibliography:origyear]{origyear}\clearfield{origyear}}% + {\ifthenelse{\iffieldundef{volume}\OR\iffieldundef{volumes}}% + {\printorigdate\clearfield{origyear}}% + {}% + }% +} + +\newbibmacro*{mla:multivolumes}{% 2.0 improvement for mla-compliant multivolumes + \usebibmacro{maintitle}% + \newunit% + \usebibmacro{mla:generaleditor}% + \newunit% + \printfield{volume}% + \newunit% + \printlist{publisher}\clearlist{publisher}% + \newunit% + \printeventdate\clearfield{eventyear}% + \setunit{\addperiod\addspace}% + \iffieldequalstr{eventendyear}{}% + {\printfield[openrangevolumes]{volumes}\clearfield{volumes}}% + {\printfield{volumes}\clearfield{volumes}}% +} + + +\renewbibmacro*{byeditorx}{% + \usebibmacro{byeditorx:internal}{a}% + \usebibmacro{byeditorx:internal}{b}% + \usebibmacro{byeditorx:internal}{c}% +} + +\newbibmacro*{byeditorx:internal}[1]{% + \ifnameundef{editor#1} + {} + {\iffieldequalstr{editor#1type}{generaleditor} + {} + {\usebibmacro{bytypestrg}{editor#1}{editor}% + \setunit{\addspace}% + \printnames[byeditor#1]{editor#1}% + \newunit}}% +} + +\newbibmacro*{mla:generaleditor}{% + \usebibmacro{mla:generaleditor:internal}{}% + \usebibmacro{mla:generaleditor:internal}{a}% + \usebibmacro{mla:generaleditor:internal}{b}% + \usebibmacro{mla:generaleditor:internal}{c}% +} + +\newbibmacro*{mla:generaleditor:internal}[1]{% + \iffieldequalstr{editor#1type}{generaleditor}% + {\printnames{editor#1}% + \setunit{\addcomma\addspace} + \bibstring{generaleditor} + \newunit}% + {}% +} + +\newbibmacro*{mla:isbn/issn+doi+eprint}{% + \iftoggle{bbx:isan}{\printfield{isan}\clearfield{isan}}{}% + \newunit\newblock% + \iftoggle{bbx:isbn}{\printfield{isbn}\clearfield{isbn}}{}% + \newunit\newblock% + \iftoggle{bbx:ismn}{\printfield{ismn}\clearfield{ismn}}{}% + \newunit\newblock% + \iftoggle{bbx:isrn}{\printfield{isrn}\clearfield{isrn}}{}% + \newunit\newblock% + \iftoggle{bbx:issn}{\printfield{issn}\clearfield{issn}}{}% + \newunit\newblock% + \iftoggle{bbx:doi}{\printfield{doi}\clearfield{doi}}{}% + \newunit\newblock% + \iftoggle{bbx:eprint}{\setunit{\addperiod\space}\newblock\usebibmacro{eprint+extra}}{}% + \newunit\newblock} + +\newbibmacro*{eprint+extra}{% + \iffieldundef{eprinttype} + {\printfield{eprint}} + {\iffieldundef{eprint} + {\printfield{eprinttype}} + {\printfield[eprint:\strfield{eprinttype}]{eprint}}}} + +\DeclareBibliographyDriver{suppbook}{% + \usebibmacro{mla:container:top}% + \newunit\newblock + \iffieldundef{crossref}% + {\iffieldundef{xref}% + {\usebibmacro{mla:incollection:internal}}% + {\bbx@crossref{\thefield{xref}}% + \setunit{\addspace}% + \printfield{pages}}}% + {\bbx@crossref{\thefield{crossref}}% + \setunit{\addspace}% + \printfield{pages}% + \newunit}% + \newunit% + \usebibmacro{finentry}} + +\DeclareCiteCommand{\bbx@crossref}% + {} + {\ifsingletitle% + {\printtext[bibhyperref]{\printnames{labelname}}% + \setunit{\space}}% + {\printnames{labelname}% + \newunit% + \printtext[bibhyperref]{\printfield[citetitle:book]{labeltitle}}% + }}% + {}% + {} + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\addperiod\space}\newblock% + \ifthenelse{% + \iffieldequalstr{entrysubtype}{book}% + \OR% + \iffieldequalstr{entrysubtype}{play}% + \OR% + \iffieldequalstr{entrytype}{bookinbook}}% + {\usebibmacro{title:incollection:italics}}% + {\setbool{bbx@mla-incollection}{true}% + \usebibmacro{title}% + \setbool{bbx@mla-incollection}{false}}% + \newunit\newblock% + \ifbool{bbx@uniquetranslator}% + {\usebibmacro{bytranslator+others}}% + {}% + \setunit{\addperiod\addspace}% + \iffieldundef{crossref}% + {\iffieldundef{xref}% + {\usebibmacro{mla:incollection:internal}}% + {\bbx@crossref{\thefield{xref}}% + \setunit{\addspace}% + \printfield{pages}}}% + {\bbx@crossref{\thefield{crossref}}% + \setunit{\addcomma\addspace}% + \printfield{volume}% + \setunit{\addcomma\addspace}% + \printfield{pages}% + \newunit}% + \newunit% + \usebibmacro{finentry}} + +\newbibmacro*{mla:incollection:internal}{% + \setbool{bbx@mla-incollection}{true}% + \usebibmacro{maintitle+booktitle}% + \ifthenelse{% + \iffieldequalstr{entrytype}{suppbook}% + \OR% + \iffieldequalstr{entrytype}{suppcollection}% + \OR% + \iffieldequalstr{entrysubtype}{interview}% + \OR% + \iffieldequalstr{entrysubtype}{untitled}}% + {\setunit{\newunitpunct\bibstring{byauthor}\addspace}% + \ifnamesequal{labelname}{bookauthor}% + {\printnames[mla:last]{bookauthor}}% + {\printnames[byauthor]{bookauthor}}}% + {}% + \newunit\newblock% + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{edition}\isdot% + \newunit + \iffieldundef{maintitle}% + {\printfield{volume}\printfield{part}}% + {}% + \newunit + \iffieldundef{volume}% + {\printfield{volumes}\clearfield{volumes}}% + {}%% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit% + \usebibmacro{chapter+pages}% + \newunit% + \usebibmacro{mla:isbn/issn+doi+eprint}% + \newunit% + \usebibmacro{url+urldate}% + \newunit% + \iffieldundef{volumes}% + {}% + {\usebibmacro{mla:multivolumes}}% + \newunit% + \printfield{addendum}% + \newunit% + \usebibmacro{pageref}% + \setbool{bbx@mla-incollection}{false}} + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\addperiod\space}\newblock% + \usebibmacro{title}% + \setunit{\addperiod\space}\newblock% + \usebibmacro{mla:proceedings:booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \printfield{note}% + \newunit + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \newunit% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\addperiod\space}\newblock% + \usebibmacro{mla:proceedings:booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \printfield{note}% + \newunit + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \newunit% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{unpublished}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\addperiod\space}\newblock% + \usebibmacro{title}% + \setunit{\addperiod\space}\newblock% + \printfield{note}% + \newunit\newblock% + \printfield{origyear} + \newunit\newblock + \printfield{library}% + \newunit% + \printlist{location}% + \newunit\newblock + \usebibmacro{mla:all:type}% + \setunit{\addspace} + \printfield{number}% + \setunit{\addperiod\addspace} + \printfield{addendum}% + \newunit% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\addperiod\space}\newblock% + \usebibmacro{title}% + \setunit{\addperiod\space}\newblock% + \iffieldequalstr{entrysubtype}{published}% + {\printfield{origyear}\clearfield{origyear}}% + {\printfield{year}}% + \printunit{\addperiod\space}\newblock% + \newunit\newblock + \printlist{institution}% + \newunit% + \usebibmacro{mla:thesis:type}% + \printunit{\addperiod\addspace}\newblock% + \iffieldequalstr{entrysubtype}{published}% + {\usebibmacro{series+number}% + \newunit% + \usebibmacro{publisher+location+date}}% + {}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \newunit% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{review}{% + \usebibmacro{bibindex}% + \usebibmacro{author}% + \setunit{\addperiod\space}\newblock% + \printfield[title:article]{title}% + \setunit{\addperiod\space}\newblock% + \printfield[title:reviewedbook]{booktitle}% + \newunit% + \ifnameundef{bookauthor}% + {\printtext[reviewededitor]{\printnames[default]{editor}}}% + {\printtext[reviewedauthor]{\printnames[default]{bookauthor}}}% + \setunit{\addperiod\space}\newblock% + \usebibmacro{mla:container:one}% + \setunit{\addperiod\space}\newblock% + \usebibmacro{mla:container:two}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inreference}{% + \usebibmacro{bibindex}% + \usebibmacro{author}% + \setunit{\addperiod\space}\newblock% + \usebibmacro{title}% + \setunit{\addperiod\space}\newblock% + \iffieldundef{crossref}% + {\iffieldundef{xref}% + {\newunit\newblock + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \iffieldsequal{year}{edition}% + {\printfield{year}~\bibstring{edition}\clearfield{year}}% + {\printfield{edition}\isdot}% + \newunit + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}}% + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \usebibmacro{mla:isbn/issn+doi+eprint}% + \newunit\newblock + \usebibmacro{url+urldate}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}}% + {}}% + {\bbx@crossref{\thefield{crossref}}% + \nopunct\unspace\printfield{pages}}% + \newunit% + \usebibmacro{finentry}} + +\newbibmacro{mlabelnamepunct}{\setunit{\labelnamepunct}\newblock} + +\newbibmacro{mla:video:localized:last-first}[1]{% + \ifnameundef{#1}% + {}% + {\printnames{#1}\addcomma\addspace% + \ifthenelse{\iffieldbibstring{#1type} \and \not % + \iffieldundef{#1type}}% + {\bibstring{\thefield{#1type}}}% + {\iffieldundef{#1type}% + {\bibstring{with}}% + {\printfield[mla:lowercase]{#1type}}}}% +\newunit}% + +\newbibmacro{mla:video:name:first:footnote}[1]{% + \ifnameundef{#1}% + {}% + {\printnames[byeditor]{#1}\addcomma\addspace% + \ifthenelse{\iffieldbibstring{#1type} \and \not % + \iffieldundef{#1type}}% + {\bibstring{\thefield{#1type}}}% + {\iffieldundef{#1type}% + {\bibstring{with}}% + {\printfield[mla:lowercase]{#1type}}}}% + \clearname{#1}% +} + +\newbibmacro{mla:video:localized:first-last}[1]{% + \ifnameundef{#1}% + {}% + {\ifthenelse{\iffieldbibstring{#1type} \and \not % + \iffieldundef{#1type} \and \not % + \iffieldequalstr{#1type}{composer}}% + {\bibstring{\thefield{#1type}}}% + {\iffieldundef{#1type}% + {\bibstring{with}}% + {\iffieldequalstr{#1type}{composer}% + {\bibstring{composedby}}% + {\printfield[mla:capital]{#1type}}}}% + \addspace\printnames[byeditor][-\value{listtotal}]{#1}}% +\newunit}% + +\newbibmacro{mla:video:name:second:footnote}[1]{% + \ifnameundef{#1}% + {}% + {\ifthenelse{\iffieldbibstring{#1type} \and \not % + \iffieldundef{#1type} \and \not % + \iffieldequalstr{#1type}{composer}}% + {\bibstring{\thefield{#1type}}}% + {\iffieldundef{#1type}% + {\bibstring{with}}% + {\iffieldequalstr{#1type}{composer}% + {\bibstring{composedby}}% + {\printfield[mla:lowercase]{#1type}}}}% + \addspace\printnames[byeditor][-\value{listtotal}]{#1}% + }}% + +\DeclareBibliographyDriver{video}{% + \ifnamesequal{labelname}{author}% + {\usebibmacro{mla:video:localized:last-first}{author}}{}% + \ifnamesequal{labelname}{editor}% + {\usebibmacro{mla:video:localized:last-first}{editor}}{}% + \printfield{title}% + \setunit{\newunitpunct\bibstring{byauthor}\addspace}% + \printnames[byeditor]{bookauthor}% + \newunit% + \ifthenelse{\NOT\ifnamesequal{author}{labelname}% + \AND\NOT\ifnameundef{author}}% + {\usebibmacro{mla:video:localized:first-last}{author}}% + {}% + \ifthenelse{\NOT\ifnamesequal{editor}{labelname}% + \AND\NOT\ifnameundef{editor}}% + {\usebibmacro{mla:video:localized:first-last}{editor}}% + {}% + \usebibmacro{mla:video:localized:first-last}{namea}% + \usebibmacro{mla:video:localized:first-last}{nameb}% + \usebibmacro{mla:video:localized:first-last}{namec}% + \printfield{origyear}\clearfield{origyear}% + \newunit\newblock% + \printlist{publisher}% + \newunit% + \printfield{year}% + \newunit\newblock% + \usebibmacro{finentry}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % % % % % % % % % % % % % % % % % % % % % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% drivers to add eventually: +% * \DeclareBibliographyDriver{performance} +% +% Specifically important mainstay types to check for MLA users +% 0 support for multiple publishers? % can't do with bibtex +% * editorial +% * letter (to the editor, etc.) +% * interview + +\newbibmacro*{mtitle+mstitle+vol+part+title+stitle}{% + \iffieldundef{maintitle}% + {}% + {\printtext[maintitle]{% + \printfield[noformat]{maintitle}% + \newunit + \printfield[noformat]{mainsubtitle}}% + \setunit{\addspace}% 2.0 include titleaddon inside unit punctuation + \printfield{maintitleaddon}% + \newunit\newblock + \iffieldundef{volume}% + {}% + {\printfield{volume}% + \printfield{part}% + \setunit{\addcolon\space}}}% + \usebibmacro{title+stitle}} + +\renewbibmacro*{series+number}{% + \iffieldundef{series}% + {}% + {\printfield{series}\clearfield{series}\setunit*{\addspace}\printfield{number}}% +} + +\renewbibmacro*{title}{% + \iffieldequalstr{entrytype}{thesis}% + {\usebibmacro{mla:title:thesis}}% + {\ifthenelse{\iffieldequalstr{entrytype}{unpublished}\OR\iffieldequalstr{entrytype}{misc}} % + {\usebibmacro{mla:title:unpublished}}% + {\usebibmacro{title+stitle}}}}% + +\renewbibmacro*{publisher+location+date}{% + \iftoggle{bbx:showlocation}{\printlist{location}}{}% new toggle in 2.0 + \newunit% + \printlist{publisher}% + \newunit% + \ifbool{mla@nodate}{\printtext{n.d.}}% + \printdate% + \newunit} + +\newbibmacro*{mla:title:unpublished}{% + \iffieldundef{title}% + {}% + {\iffieldundef{entrysubtype}% + {\printtext[title:\strfield{entrytype}]{% + \printfield[noformat]{title}% + \setunit*{\subtitlepunct}% + \printfield[noformat]{subtitle}}}% + {\printtext[title:\strfield{entrysubtype}]{% + \printfield[noformat]{title}% + \setunit*{\subtitlepunct}% + \printfield[noformat]{subtitle}}}% + }% + \setunit{\addspace}% 2.0 include titleaddon inside unit punctuation + \printfield[noformat]{titleaddon}% + \printunit{\addperiod\space}% + \usebibmacro{byauthor}% + \iffieldundef{origtitle}% + {\usebibmacro{mla:reprint}}% + {}% +}% + + +\newbibmacro*{name:first-last:andothers}{% + \ifthenelse{\value{listcount}=\value{liststop}\AND + \ifmorenames} + {\ifnum\value{liststop}>1 \finalandcomma\fi + \addspace\bibstring{andothers}} + {}} + +\newbibmacro*{mla:title:thesis}{% + \iffieldundef{title}% + {}% + {\ifthenelse{\iffieldequalstr{type}{phd}\OR% + \iffieldequalstr{type}{dphil}}% + {\printtext[title:book]{% + \printfield[noformat]{title}% + \setunit{\subtitlepunct}% + \printfield[noformat]{subtitle}}}% + {\printtext[title:\strfield{entrytype}]{% + \printfield[noformat]{title}% + \setunit{\subtitlepunct}% + \printfield[noformat]{subtitle}}}% + \setunit{\addspace}% 2.0 include titleaddon inside unit punctuation + \printfield{titleaddon}% + \newunit\newblock}} + +\newbibmacro*{mla:thesis:type}{% + \iffieldundef{type}% + {\printtext[mla:capital]{\bibstring{phdthesis}}}% + {\usebibmacro{mla:all:type}}}% + +\newbibmacro*{mla:all:type}{% + \iffieldbibstring{type}% + {\printtext[mla:capital]{\bibstring{\thefield{type}}}}% + {\printfield[mla:capital]{type}}}% + +\newbibmacro*{mla:all:type:foot}{% + \ifbibstring{\thefield{type}}% + {\printtext[noformat]{\bibstring{\thefield{type}}}}% + {\printtext[noformat]{\printfield{type}}}}% + +\renewbibmacro*{maintitle+title}{% + \usebibmacro{title}% + \newunit% + \iffieldsequal{maintitle}{title}% + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}}% + {}% + \iffieldundef{volume}% + {\usebibmacro{maintitle}}% + {}% + \iffieldundef{maintitle}% + {\printfield{volume}\clearfield{volume}}% + {}% + \newunit} + +\renewbibmacro*{maintitle+booktitle}{% + \usebibmacro{booktitle}% + \printunit*{\addperiod\space}% + \iffieldundef{maintitle}% + {}% + {\usebibmacro{maintitle}% + \newunit% + \iffieldundef{volume}% + {}% + {\printfield{volume}% + \printfield{part}% + \setunit{\addcolon\space}}}% + \printunit*{\addperiod\space}} + +\renewbibmacro*{booktitle}{% + \ifboolexpr{ + test {\iffieldundef{booktitle}} + and + test {\iffieldundef{booksubtitle}} + } + {\usebibmacro{title}} + {\printtext[booktitle]{% + \printfield[titlecase]{booktitle}% + \setunit{\subtitlepunct}% + \printfield[titlecase]{booksubtitle}}}% + \setunit{\addspace}% + \printfield{booktitleaddon}% + \newunit% 2.0 include titleaddon inside unit punctuation + } + +\newbibmacro*{mla:proceedings:booktitle}{% + \usebibmacro{booktitle}% + \newunit% + \iffieldundef{eventtitle}% + {}% + {\printtext[default]{% + \bibstring{proceedings}\addspace\bibstring{ofseries}\addspace% + \printfield[default]{eventtitle}\isdot}}% + \setunit*{\isdot\addcomma\addspace}% + \printlist{organization}% + \newunit% + \printeventdate% + \newunit% + \printlist{institution}% + \newunit% + \printfield{venue}} + +\newbibmacro*{title+stitle}{% + \iffieldundef{title}% + {\ifthenelse{% + \iffieldequalstr{entrytype}{suppbook}% + \OR% + \iffieldequalstr{entrytype}{suppcollection}}% + {}% + {\ifthenelse{% 2.0 changed logic to allow for untitled pieces (e.g. for interviews)% CHECK + \iffieldundef{booktitle}}% + {}% + {\printtext[title:\strfield{entrytype}]{% + \printfield[noformat]{booktitle}% + \setunit*{\subtitlepunct}% + \printfield[noformat]{booksubtitle}}}}}% + {\iffieldequalstr{entrysubtype}{untitled}% 2.0 added check to allow for works with unformatted titles + {\printfield[noformat]{title}% + \setunit*{\subtitlepunct}% + \printfield[noformat]{subtitle}}% + {\printtext[title:\strfield{entrytype}]{% + \printfield[noformat]{title}% + \setunit*{\subtitlepunct}% + \printfield[noformat]{subtitle}}}}% + \setunit{\addspace}% 2.0 include titleaddon inside unit punctuation + \printfield[noformat]{titleaddon}% + \printunit{\addperiod\space}% 2.0 include titleaddon inside unit punctuation + \usebibmacro{byauthor}% + \iffieldundef{origtitle}% + {\usebibmacro{mla:reprint}}% + {}% +}% + +\newbibmacro*{title:incollection:italics}{% + \iffieldundef{title}% + {}% + {\printtext[title:book]{% + \printfield[noformat]{title}% + \setunit*{\subtitlepunct}% + \printfield[noformat]{subtitle}}% + \setunit{\addspace}% 2.0 include titleaddon inside unit punctuation + \printfield[noformat]{titleaddon}% + % \newunit\newblock% platyp + \printunit{\addperiod\addspace}% platyp troubleshooting incollection with titleaddon + \setbool{bbx@mla-incollection}{true}\usebibmacro{mla:reprint}\setbool{bbx@mla-incollection}{false}% + \newunit\newblock}} + +\newbibmacro*{mla:article:journal+issuetitle}{% + \usebibmacro{issue}% + \newunit\newblock% + \iffieldundef{issuetitle}% + {}% + {\usebibmacro{byeditor+others}% + \newunit\newblock% + \bibstring{specissue}\setunit*{\addspace}}% + \ifthenelse{\iffieldequalstr{entrytype}{periodical} \AND \iffieldundef{journaltitle}}% + {\usebibmacro{periodical}}% + {\usebibmacro{journal}}% + \ifthenelse{\iffieldequalstr{entrytype}{online}}{\usebibmacro{mla:online}}{\setunit*{\addspace}}% + \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine} \or \iffieldequalstr{entrytype}{online}}% + {\printlist[brackets]{location}% + \newunit% + \printtext{\printdate}% + \newunit% + \printfield{version}% + \newunit% + \printfield[mla:newspaper:section]{chapter}% + }% + {\printfield{series}\clearfield{series}% + \newunit% + \printfield{volume}% + \newunit% + \ifthenelse{\iffieldequalstr{entrytype}{patent}}% + {\printfield{type}% + \setunit*{\addspace}% + \printfield{number}\clearfield{number}% + \newunit}% + {\printfield{number}\clearfield{number} + \newunit}% + \printnames{holder}% mla9- NEW IN 2.0 - preliminary support for patents + \newunit% + \ifthenelse{\iffieldequalstr{entrytype}{patent}}% + {\iffieldbibstring{type}% + {\biblstring{\strfield{type}}% + \newunit}% + {}% + }% + {}% + \usebibmacro{issue+date}% + \newunit\newblock + \newunit}% +} + +\newbibmacro*{mla:online}{% + \iffieldundef{maintitle}% + {}% + {\printtext[maintitle]{% + \printfield[titlecase]{maintitle}% + \setunit{\subtitlepunct}% + \printfield[titlecase]{mainsubtitle}}}% + \newunit\newblock% + \printlist{publisher}% + \newunit% +} + +\renewbibmacro*{journal+issuetitle}{% + \usebibmacro{journal}% + \setunit*{\addspace}% + \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine}}% + {\printlist[brackets]{location}% + \printtext{\printdate}% + \newunit% + \printfield{version}% + \newunit% + \printfield[mla:newspaper:section]{chapter}% + }% + {\printfield{series}\clearfield{series}% + \setunit{\addspace}% + \printfield{volume}% + \newunit% + \printfield{number}\clearfield{number}% + \newunit% + \usebibmacro{mla:isbn/issn+doi+eprint}% + \newunit% + \usebibmacro{issue+date}% + \newunit\newblock + \usebibmacro{issue}% + \newunit}} + +\renewbibmacro*{issue+date}{% + \printtext{% + \iffieldundef{issue} + {\usebibmacro{date}} + {\printfield{issue}% + \setunit*{\addspace}% + \usebibmacro{date}}}% + \newunit} + +\renewbibmacro{finentry}{% + \finentry% + \iffieldundef{annotation}% + {}% + {\ifbool{bbx@annotation}% + {\begin{quotation}\noindent% + \printfield{annotation}% + \end{quotation}}% + {}}% +} + +\newbibmacro*{bbx:dashcheck}[2]{% + \ifboolexpr{ + test {\iffieldequals{fullhash}{\bbx@lasthash}} + and + not test \iffirstonpage + and + ( + not bool {bbx@inset} + or + test {\iffieldequalstr{entrysetcount}{1}} + ) + } + {#1} + {#2}} + +% mla-basic.bbx has no sourcemap rules; use mla.bbx for some standard mla-style replacements + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-strict.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-strict.cbx new file mode 100644 index 0000000000..e95302f1ad --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla-strict.cbx @@ -0,0 +1,5 @@ +\ProvidesFile{mla-strict.cbx}[2021/05/12 v2.0 biblatex citation style] + +\RequireCitationStyle{mla} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla.bbx index cae6845d71..2ee9431d57 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla.bbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla.bbx @@ -1,1229 +1,99 @@ -% mla-this.bbx, v1.9 2016/11/01 * compatible with biblatex 3.4 -% Maintained at <https://github.com/jmclawson/biblatex-mla> by James Clawson. -% -% Feel free to improve, redistribute, and adapt to your own ends. Please share improvements in formatting and MLA standards compliance back to James Clawson: <clawson@gmail.com>. -% -% This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. - -\ProvidesFile{mla-this.bbx}[2016/11/01 v1.9 biblatex bibliography style] - -\RequireBibliographyStyle{standard} -\DeclareLanguageMapping{american}{american-mla} -\DeclareLanguageMapping{english}{english-mla} - -\NewBibliographyString{byserieseditor} -\NewBibliographyString{reviewof} -\NewBibliographyString{specissue} -\NewBibliographyString{phd} -\NewBibliographyString{dphil} -\NewBibliographyString{lic} -\NewBibliographyString{ma} -\NewBibliographyString{ms} -\NewBibliographyString{msc} -\NewBibliographyString{mphil} -\NewBibliographyString{mlitt} -\NewBibliographyString{manuscript} -\NewBibliographyString{typescript} -\NewBibliographyString{director} -\NewBibliographyString{screenplay} -\NewBibliographyString{adaptation} -\NewBibliographyString{adaptor} -\NewBibliographyString{performer} -\NewBibliographyString{performers} -\NewBibliographyString{composer} -\NewBibliographyString{composedby} -\NewBibliographyString{producer} -\NewBibliographyString{with} -\NewBibliographyString{proceedings} -\NewBibliographyString{compilerandeditor}% -\NewBibliographyString{bycompilerandeditor}% -\NewBibliographyString{transof}% -\NewBibliographyString{volstodate}% -\NewBibliographyString{supptotitle}% -\NewBibliographyString{print}% -\NewBibliographyString{web}% -\NewBibliographyString{generaleditor}% - -\setlength{\bibitemsep}{0pt} -\renewcommand*{\mkbibnamesuffix}[1]{\addcomma\addlowpenspace#1} - -\DeclareNameAlias{author}{sortname} -\@ifpackagelater{biblatex}{2016/03/01}{% - \DeclareNameFormat{mla:last}{\nameparts{#1}\namepartfamily}% - \DeclareNameFormat{default}{% - \nameparts{#1}% - \ifgiveninits{% - \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}% - }{% - \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}% - }% - \usebibmacro{name:andothers}% - }% -}{% - \DeclareNameFormat{mla:last}{#1}% - \DeclareNameFormat{default}{% - \iffirstinits{% - \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}% - }{% - \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% - }% - \usebibmacro{name:andothers}% - }% -} - -\defbibenvironment{bibliography} - {\list - {} - {\setlength{\leftmargin}{\bibhang}% - \setlength{\itemindent}{-\leftmargin}% - \setlength{\itemsep}{\bibitemsep}% - \setlength{\parsep}{\bibparsep}}} - {\endlist} - {\item} - -\DeclareFieldFormat{title:article}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:online}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:inreference}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:book}{\mkbibemph{#1}} -\DeclareFieldFormat{title:booklet}{\mkbibemph{#1}} -\DeclareFieldFormat{title:collection}{\mkbibemph{#1}} -\DeclareFieldFormat{title:incollection}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:inbook}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:inproceedings}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:thesis}{\mkbibquote{#1}}% -\DeclareFieldFormat{title:reviewedbook}{\bibstring{reviewof}\addspace\mkbibemph{#1}}% -\DeclareFieldFormat{title:reference}{\mkbibemph{#1}}% -\DeclareFieldFormat{url}{$<$\url{#1}$>$}% suggested by Jay Savage <http://www.engatiki.org/2007/11/28/171> -\DeclareFieldFormat{isbn}{} -\DeclareFieldFormat{pages}{#1}% -\DeclareFieldFormat[review]{volume}{#1}% -\DeclareListFormat[article]{location}% - {\unspace\mkbibbrackets{#1}\addspace}% -\DeclareFieldFormat[article]{version}{#1\isdot}% -\DeclareFieldFormat[incollection]{bibliography:origyear}{\openrangeformat{#1}\addperiod}% -\DeclareFieldFormat[video]{mla:publimedium}{\MakeCapital{film}}% -\DeclareFieldFormat{mla:publimedium}{\MakeCapital{#1}}% -\DeclareFieldFormat{mla:capital}{\MakeCapital{#1}}% -\DeclareFieldFormat{mla:capital:web}{% - \ifhyperref% - {\href{#1}{\MakeCapital{\bibstring{web}}}}% - {\MakeCapital{\bibstring{web}}}}% -\DeclareFieldFormat{mla:lowercase}{\MakeLowercase{#1}}% -\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1}}% -\DeclareFieldFormat{issuetitle}{\mkbibemph{#1}} -\DeclareFieldFormat{mla:newspaper:section}{\bibstring{section}\addspace#1}% -\DeclareFieldFormat{library}{#1\isdot}% -\DeclareFieldFormat{reviewededitor}{\bibstring{byeditor}\addspace#1}% -\DeclareFieldFormat{reviewedauthor}{\bibstring{byauthor}\addspace#1}% -\DeclareFieldFormat{title:suppbook}{\mkbibquote{#1}} -\DeclareFieldFormat{openrangevolumes}{#1~\bibstring{volstodate}}% -\DeclareFieldFormat{volumeof}{\bibstring{volume}~#1~\bibstring{ofseries}}% -\DeclareFieldFormat{mla:sentence-case}{\MakeSentenceCase{#1}}% -\DeclareFieldFormat{eprint:jstor}{% - \ifhyperref% - {\href{http://www.jstor.org/stable/#1}{\emph{JSTOR}}}% - {\emph{JSTOR}}}% -\DeclareFieldFormat{eprint:googlebooks}{% - \ifhyperref% - {\href{http://books.google.com/books?id=#1}{\emph{Google Books}}}% - {\emph{Google Books}}} -\DeclareFieldFormat{eprint:adelaide}{% - \ifhyperref% - {\href{#1}{\emph{eBooks@Adelaide}}}% - {\emph{eBooks@Adelaide}}} -\DeclareFieldFormat{eprint:muse}{%5 - \ifhyperref% - {\href{#1}{\emph{Project Muse}}}% - {\emph{Project Muse}}} -\DeclareFieldFormat{urldate}{#1}% - -\DeclareBibliographyAlias{booklet}{book} -\DeclareBibliographyAlias{bookinbook}{incollection}% -\DeclareBibliographyAlias{collection}{book} -\DeclareBibliographyAlias{reference}{book} - -\DeclareBibliographyAlias{inbook}{incollection}% - -\DeclareBibliographyAlias{manual}{customa} -\DeclareBibliographyAlias{misc}{customa} -\DeclareBibliographyAlias{online}{article} -\DeclareBibliographyAlias{patent}{customa} -\DeclareBibliographyAlias{report}{customa} -\DeclareBibliographyAlias{suppcollection}{suppbook} - -\DeclareFieldAlias[online]{maintitle}{journaltitle} - -\renewcommand*{\newunitpunct}{\addperiod\space} -\renewcommand*{\andothersdelim}{\ifcitation{}{\addcomma}\addspace} -\renewcommand*{\bibpagespunct}{\addperiod\space} -\renewcommand*{\subtitlepunct}{\ifterm{}{\addcolon}\space} - -\newboolean{bbx@mla-incollection} -\newbool{bbx@inset} - -\DeclareBibliographyOption{dashed}[true]{% - \ifstrequal{#1}{true} - {\ExecuteBibliographyOptions{pagetracker}% - \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}} - {\ExecuteBibliographyOptions{pagetracker=false}% - \renewbibmacro*{bbx:savehash}{}}} - -\newboolean{bbx@annotation}% same as biblatex-dw -\DeclareBibliographyOption{annotation}[true]{% -\setboolean{bbx@annotation}{#1}} - -\newboolean{bbx@totalnames} -\DeclareEntryOption{totalnames}[true]{% - \setboolean{bbx@totalnames}{#1}} - -% for translated incollections where the collection has no shared translator -\newboolean{bbx@uniquetranslator}% -\DeclareEntryOption{uniquetranslator}[true]{% - \setboolean{bbx@uniquetranslator}{#1}} - -\newbool{bbx:gnoreminfo}% -\setboolean{bbx:gnoreminfo}{false} -\DeclareBibliographyOption{noremoteinfo}[true]{\setboolean{bbx:gnoreminfo}{#1}} - -\newbool{bbx:lnoreminfo}% -\setboolean{bbx:lnoreminfo}{false} -\DeclareEntryOption{noremoteinfo}[true]{\setboolean{bbx:lnoreminfo}{#1}} - -\newbool{bbx@publimedium}% -\setboolean{bbx@publimedium}{true}% -\DeclareBibliographyOption{showmedium}[true]{\setboolean{bbx@publimedium}{#1}}% - -\newbool{bbx@guessmedium}% -\setboolean{bbx@guessmedium}{true} -\DeclareBibliographyOption{guessmedium}[true]{\setboolean{bbx@guessmedium}{#1}}% - -\newboolean{bbx@nodate}% -\DeclareEntryOption{nodate}[true]{% - \setboolean{bbx@nodate}{#1}} - - -% 0.7.1 for years with open range -\newrobustcmd{\openrangeformat}[1]{% 0.7.1 - \begingroup% - \let\blx@org@rangedash=\bibrangedash% - \def\bibrangedash{% - \blx@org@rangedash% - \futurelet\@let@token\blx@openrangeformat}% - #1% - \endgroup} - -% 0.7.1 for years with open range -\newcommand*{\blx@openrangeformat}{% 0.7.1 - \ifx\@let@token\endgroup% - \openrangemark% - \fi} - -% 0.7.1 for years with open range -\newcommand*{\openrangemark}{\mbox{ }}% 0.7.1 - -\newbibmacro*{bbx:savehash}{% - \savefield{fullhash}{\bbx@lasthash}} - -\renewcommand*{\bibnamedash}{% suggested by StackExchange user Audrey - \mlanamedash% - \iffieldundef{nameaddon}{\adddot}{\nopunct}}% - -\newcommand*{\mlanamedash}{\textendash\textendash\textendash} - -\renewbibmacro*{author}{% - \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}} - {\usebibmacro{bbx:dashcheck}% - {\bibnamedash}% - {\ifbool{bbx@totalnames}% - {\printnames[sortname][-\value{listtotal}]{author}} - {\printnames{author}}% - \usebibmacro{bbx:savehash}}% - \iffieldundef{nameaddon}% - {}% - {\setunit{\addspace}% - \printfield{nameaddon}}% - \iffieldundef{authortype}% - {}% - {\setunit{\addcomma\space}% - \usebibmacro{authorstrg}}}% - {\global\undef\bbx@lasthash}} - -\renewbibmacro*{editor}{% - \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}% - {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT - \iffirstonpage}% - {\mbox{\mlanamedash\unspace\addcomma\addspace}}% - {\ifbool{bbx@totalnames}% - {\printnames[sortname][-\value{listtotal}]{editor}}% - {\printnames{editor}}% - \setunit{\addcomma\space}% - \savefield{namehash}{\bbx@lasthash}}% - \usebibmacro{editorstrg}\clearname{editor}}% - {\global\undef\bbx@lasthash}} - -\renewbibmacro*{editor+others}{% - \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}% - {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT - \iffirstonpage}% - {\mbox{\mlanamedash\unspace\addcomma\addspace}}% - {\ifbool{bbx@totalnames}% - {\printnames[sortname][-\value{listtotal}]{editor}}% - {\printnames[sortname]{editor}}% - \setunit{\addcomma\space}% - \savefield{namehash}{\bbx@lasthash}}% - \usebibmacro{editor+othersstrg}\clearname{editor}}% - {\global\undef\bbx@lasthash}} - -\renewbibmacro*{translator}{% - \ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}% - {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT - \iffirstonpage}% - {\mbox{\mlanamedash\unspace\addcomma\addspace}}% - {\ifbool{bbx@totalnames}% - {\printnames[sortname][-\value{listtotal}]{translator}}% - {\printnames[sortname]{translator}}% - \setunit{\addcomma\space}% - \savefield{namehash}{\bbx@lasthash}}% - \usebibmacro{translatorstrg}\clearname{translator}}% - {\global\undef\bbx@lasthash}} - -\renewbibmacro*{translator+others}{% - \ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}% - {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT - \iffirstonpage}% - {\mbox{\mlanamedash\unspace\addcomma\addspace}}% - {\ifbool{bbx@totalnames}% - {\printnames[sortname][-\value{listtotal}]{translator}}% - {\printnames[sortname]{translator}}% - \setunit{\addcomma\space}% - \savefield{namehash}{\bbx@lasthash}}% - \usebibmacro{translator+othersstrg}\clearname{translator}}% - {\global\undef\bbx@lasthash}} - -\newbibmacro*{journal+issue+year+pages}{% - \usebibmacro{journal+ser+vol+num}% - \setunit{\addspace}% - \printtext[parens]{% - \iffieldundef{issue}% - {\iffieldundef{month}% - {\printfield{year}}% - {\iffieldundef{day}% - {\printfield{month}% - \setunit{\addspace}% - \printfield{year}}% - {\printtext{\bibdate}}}}% - {\printfield{issue}% - \setunit{\addspace}% - \printfield{year}}}% - \addcolon\addspace - \printfield{pages}} - -\renewbibmacro*{date}{\printdate}% - -\renewbibmacro*{url+urldate}{% - \ifthenelse{\boolean{bbx@publimedium}\AND\NOT \(\iffieldundef{url} \AND \iffieldundef{eprint}\)}% - {\printfield[mla:capital:web]{url}\newunit}% - {\iffieldundef{urlyear}{}{\setunit{\addspace}}}% - \iffieldundef{urlyear}% - {}% - {\printtext{\printurldate}% - \setunit{\addspace}}% Suggested by Stephen Brumbaugh - \ifthenelse{\boolean{bbx@publimedium}\AND\NOT\iffieldundef{url}}% - {\ifthenelse{\boolean{bbx:gnoreminfo}}% - {}% - {\setunit{\newunitpunct}% - \printfield{url}}}% - {\printfield{url}}% - } - -\DeclareBibliographyDriver{periodical}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \setunit{\labelnamepunct}\newblock% - \usebibmacro{mla:article:journal+issuetitle}% - \newunit\newblock - \printfield{note}% - \setunit{\addcolon\addspace}\newblock - \printfield{pages}% - \newunit\newblock - \usebibmacro{mla:isbn/issn+doi+eprint}% - \newunit\newblock - \ifbool{bbx@publimedium}{}{\usebibmacro{url+urldate}}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \newunit% - \usebibmacro{publimedium}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{article}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \usebibmacro{mlabelnamepunct}% - \usebibmacro{title}% - \newunit% - \usebibmacro{bytranslator+others}% - \newunit% - \usebibmacro{mla:article:journal+issuetitle}% - \newunit\newblock - \printfield{note}% - \setunit{\addcolon\addspace}\newblock - \printfield{pages}% - \newunit\newblock - \usebibmacro{mla:isbn/issn+doi+eprint}% - \newunit\newblock - \ifbool{bbx@publimedium}{}{\usebibmacro{url+urldate}}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \newunit% - \usebibmacro{publimedium}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{book}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \usebibmacro{mlabelnamepunct}% - \usebibmacro{maintitle+title}% - \newunit\newblock% - \usebibmacro{byeditor+others}% - \newunit\newblock% - \printfield{edition}\isdot% - \newunit% - \iffieldundef{maintitle}% - {\printfield{volume}% - \printfield{part}}% - {}% - \newunit% - \iffieldundef{volume}% - {\printfield{volumes}\clearfield{volumes}}% - {}%% - \newunit\newblock% - \ifbool{bbx@publimedium}% - {}% - {\usebibmacro{series+number}}% - \newunit\newblock% - \printfield{note}% - \newunit\newblock% - \usebibmacro{publisher+location+date}% - \newunit\newblock% - \printfield{pages}% - \newunit\newblock% - \usebibmacro{mla:isbn/issn+doi+eprint}% - \newunit\newblock% - \iffieldundef{origtitle}% - {}% - {\ifbool{bbx@publimedium}% - {} - {\usebibmacro{mla:reprint}}}% - \newunit\newblock% - \iffieldundef{volumes}% - {}% - {\usebibmacro{mla:multivolumes}}% - \newunit\newblock% - \printfield[mla:sentence-case]{addendum}% - \newunit\newblock% - \usebibmacro{pageref}% - \newunit% - \usebibmacro{publimedium}% - \usebibmacro{finentry}} - -\newbibmacro*{mla:reprint}{% - \iffieldundef{origtitle}% - {\newunit}% - {\iffieldundef{origlanguage} - {\setunit{\newunitpunct\bibstring{reprintof}\addspace}}% - {\setunit{\newunitpunct\bibstring{transof}\addspace}}% -}% - \printfield[title:\strfield{entrytype}]{origtitle}% - \newunit\newblock% - \printlist{origlocation}\clearlist{origlocation}% - \setunit*{\addcolon\addspace}% - \printlist{origpublisher}\clearlist{origpublisher}% - \setunit*{\addcomma\addspace}% - \ifbool{bbx@mla-incollection}% - {\printfield[bibliography:origyear]{origyear}\clearfield{origyear}}% - {\ifthenelse{\iffieldundef{volume}\OR\iffieldundef{volumes}}% 1.4.9 cleared up most spurious punct - {\printorigdate\clearfield{origyear}}% - {}% - }% -} - -\newbibmacro*{mla:multivolumes}{% - \iffieldundef{maintitle}% - {}% - {\printfield[volumeof]{volume}% - \setunit{\addspace}% - \usebibmacro{maintitle}}% - \usebibmacro{mla:generaleditor}% - \iffieldequalstr{eventendyear}{}% - {\printfield[openrangevolumes]{volumes}\clearfield{volumes}}% - {\printfield{volumes}\clearfield{volumes}}% - \newunit\newblock% - \printeventdate\clearfield{eventyear}% -} - - -\renewbibmacro*{byeditorx}{% - \usebibmacro{byeditorx:internal}{a}% - \usebibmacro{byeditorx:internal}{b}% - \usebibmacro{byeditorx:internal}{c}% -} - -\newbibmacro*{byeditorx:internal}[1]{% - \ifnameundef{editor#1} - {} - {\iffieldequalstr{editor#1type}{generaleditor} - {} - {\usebibmacro{bytypestrg}{editor#1}{editor}% - \setunit{\addspace}% - \printnames[byeditor#1]{editor#1}% - \newunit}}% -} - -\newbibmacro*{mla:generaleditor}{% - \usebibmacro{mla:generaleditor:internal}{}% - \usebibmacro{mla:generaleditor:internal}{a}% - \usebibmacro{mla:generaleditor:internal}{b}% - \usebibmacro{mla:generaleditor:internal}{c}% +% These sourcemap declarations allow for .bib file oddities. Additionally, to comport with MLA expectations, they modify strings in publisher fields, drop unneeded parts of URLs, and look for patterns in a URL field to fill in missing eprint fields. If the choices here seem to do too much, use "style=mla-strict", which makes fewer accommodations and more exactly prints entries as they're defined in a given bibtex file. +\ProvidesFile{mla.bbx}[2021/06/07 v2.0 biblatex bibliography style] + +\RequireBibliographyStyle{mla-strict} + +\DeclareStyleSourcemap{ + \maps[datatype=bibtex]{ + \map[overwrite=true]{% Convert non-integer year field to addendum field + \step[fieldsource=year, match=\regexp{[a-zA-Z]}, final] + \step[fieldsource=year, match=\regexp{(.+)}, final] + \step[fieldset=addendum, fieldvalue=\regexp{$1}] + \step[fieldset=year, null] + } + \map{% Convert unpublished booktitle to title, with entrysubtype "book" + \pertype{unpublished} + \step[notfield=title, final] + \step[fieldsource=booktitle, match=\regexp{(.+)}, final] + \step[fieldset=title, fieldvalue=\regexp{$1}, final] + \step[fieldset=booktitle, null] + \step[fieldset=entrysubtype, fieldvalue={book}] + } + \map{% Fill in missing publisher for US patents + \pertype{patent} + \step[notfield=publisher, final] + \step[fieldsource=type, match=\regexp{patentus}, final] + \step[fieldset=publisher, fieldvalue={United States Patent and Trademark Office}] + } + \map[overwrite=true]{% force consistent abbreviations for editions + \step[fieldsource=edition, match={edition}, replace={ed.}] + } + \map[overwrite=true]{% drop unnecessary elements of company names ("and" suggests list) + \step[fieldsource=publisher, match={and Company}, replace={}] + \step[fieldsource=publisher, match={and Co.}, replace={}] + } + \map{% abbreviate and drop unneeded parts of publisher names + \step[fieldsource=publisher, match={University Press}, replace={UP}] + \step[fieldsource=publisher, match={University}, replace={U}] + \step[fieldsource=publisher, match=\regexp{Press\b}, replace={P}] + \step[fieldsource=publisher, match=\regexp{Corporation|Corp.|Incorporated|Inc.|Limited|Ltd.}, replace={}] + \step[fieldsource=url, match=\regexp{http(s)?://}, replace={}] + } + \map{% JSTOR url to eprint + \step[fieldsource=url, match={jstor.org}, final] + \step[fieldset=eprint, fieldvalue={JSTOR}] + % \step[fieldset=urldate, null] + } + \map{% Project Muse url to eprint + \step[fieldsource=url, match={muse.jhu.edu}, final] + \step[fieldset=eprint, fieldvalue={Project Muse}] + % \step[fieldset=urldate, null] + } + \map{% Adelaide eBooks url to eprint + \step[fieldsource=url, match={ebooks.adelaide.edu.au}, final] + \step[fieldset=eprint, origfieldval] + \step[fieldset=eprinttype, fieldvalue={adelaide}] + % \step[fieldset=urldate, null] + } + \map{% Google Books url to eprint + \step[fieldsource=url, match={books.google}, final] + \step[fieldset=eprint, fieldvalue={Google Books}] + % \step[fieldset=urldate, null] + } + \map{% EBSCO - Academic Search Complete url to eprint + \step[fieldsource=url, match={db=a9h}, final] + \step[fieldset=eprint, fieldvalue={Academic Search Complete}] + % \step[fieldset=urldate, null] + } + \map{% EBSCO - LexisNexis Academic url to eprint + \step[fieldsource=url, match={db=fdcaae48}, final] + \step[fieldset=eprint, fieldvalue={LexisNexis Academic}] + % \step[fieldset=urldate, null] + } + \map{% EBSCO - MLA Database url to eprint + \step[fieldsource=url, match={db=mzh}, final] + \step[fieldset=eprint, fieldvalue={MLA International Bibliography}] + % \step[fieldset=urldate, null] + } + \map{% USPTO url to eprint + \step[fieldsource=url, match={patft.uspto.gov}, final] + \step[fieldset=eprint, fieldvalue={USPTO Patent Full-Text and Image Database}] + } + \map{% DOI url to doi + \step[fieldsource=url, match=\regexp{dx.doi.org/(.+)}, fieldtarget=doi] + \step[fieldsource=doi, match=\regexp{http(s)?://dx.doi.org/(.+)}, replace=\regexp{$1}] + \step[fieldsource=doi, match=\regexp{dx.doi.org/(.+)}, replace=\regexp{$1}] + } + \map{ % remove isbns from Works Cited + \step[fieldsource=isbn, final] + \step[fieldset=isbn, null] + } + \map{ % remove url + urldate field from all entries that have a doi field + \step[fieldsource=doi, final] + \step[fieldset=url, null] + \step[fieldset=urldate, null] + } + } } -\newbibmacro*{mla:generaleditor:internal}[1]{% - \iffieldequalstr{editor#1type}{generaleditor}% - {\printnames{editor#1}% - \setunit{\addcomma\addspace}% - \bibstring{generaleditor}% - \newunit}% - {}% -} - -\newbibmacro*{mla:isbn/issn+doi+eprint}{% 0.7.1 modeled after biblatex-apa, here just a proof of concept and work in progress, ignoring any of the URL hiding implemented by Philip Kime - \ifthenelse{\boolean{bbx:gnoreminfo}\OR\boolean{bbx:lnoreminfo}}% - {\global\boolfalse{bbx:lnoreminfo}}% - {\printfield{isbn}\clearfield{isbn}% - \newunit\newblock% - \printfield{issn}\clearfield{issn}% - \newunit\newblock% - \printfield{isrn}\clearfield{isrn}% - \newunit\newblock% - \printfield{doi}\clearfield{doi}% - \newunit\newblock% - \usebibmacro{eprint}% - }} - -\DeclareBibliographyDriver{suppbook}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor}% - \usebibmacro{mlabelnamepunct}% - \usebibmacro{maintitle+title}% - \newunit\newblock - \printfield[mla:capital]{entrysubtype}% - \newunit\newblock - \iffieldundef{crossref}% - {\iffieldundef{xref}% - {\usebibmacro{mla:incollection:internal}}% - {\bbx@crossref{\thefield{xref}}% - \setunit{\addspace}% - \printfield{pages}}}% - {\bbx@crossref{\thefield{crossref}}% - \setunit{\addspace}% - \printfield{pages}% - \newunit}% - \newunit% - \usebibmacro{publimedium}% - \usebibmacro{finentry}} - -\DeclareCiteCommand{\bbx@crossref}% - {} - {\ifsingletitle% - {\printtext[bibhyperref]{\printnames{labelname}}% - \setunit{\space}}% - {\printnames{labelname}% - \setunit{\addcomma\addspace}% - \printtext[bibhyperref]{\printfield[citetitle:book]{labeltitle}} - \setunit{\space}}}% - {}% - {} - -\DeclareBibliographyDriver{incollection}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \usebibmacro{mlabelnamepunct}% - \ifthenelse{% - \iffieldequalstr{entrysubtype}{book}% - \OR% - \iffieldequalstr{entrysubtype}{play}% - \OR% - \iffieldequalstr{entrytype}{bookinbook}}% - {\usebibmacro{title:incollection:italics}}% - {\setboolean{bbx@mla-incollection}{true}% - \usebibmacro{title}% - \setboolean{bbx@mla-incollection}{false}}% - \newunit\newblock% - \ifbool{bbx@uniquetranslator}% - {\usebibmacro{bytranslator+others}\newunit}% - {}% - \newunit\newblock% - \iffieldundef{crossref}% - {\iffieldundef{xref}% - {\usebibmacro{mla:incollection:internal}}% - {\bbx@crossref{\thefield{xref}}% - \setunit{\addspace}% - \printfield{pages}}}% - {\bbx@crossref{\thefield{crossref}}% - \setunit{\addspace}% - \printfield{pages}% - \newunit}% - \newunit% - \usebibmacro{publimedium}% - \usebibmacro{finentry}} - -\newbibmacro*{mla:incollection:internal}{% - \setboolean{bbx@mla-incollection}{true}% - \usebibmacro{maintitle+booktitle}% - \ifthenelse{% - \iffieldequalstr{entrytype}{suppbook}% - \OR% - \iffieldequalstr{entrytype}{suppcollection}}% - {\setunit{\newunitpunct\bibstring{byauthor}\addspace}% - \ifnamesequal{labelname}{bookauthor}% - {\printnames[mla:last]{bookauthor}}% - {\printnames[byauthor]{bookauthor}}}% - {}% - \newunit\newblock% - \usebibmacro{byauthor}% - \newunit\newblock - \usebibmacro{byeditor+others}% - \newunit\newblock - \printfield{edition}\isdot% - \newunit - \iffieldundef{maintitle}% - {\printfield{volume}\printfield{part}}% - {}% - \newunit - \iffieldundef{volume}% - {\printfield{volumes}\clearfield{volumes}}% - {}%% - \newunit\newblock - \ifbool{bbx@publimedium}% - {}% - {\usebibmacro{series+number}}% - \newunit\newblock - \printfield{note}% - \newunit\newblock - \usebibmacro{publisher+location+date}% - \newunit\newblock - \usebibmacro{chapter+pages}% - \newunit\newblock - \usebibmacro{mla:isbn/issn+doi+eprint}% - \newunit\newblock - \ifbool{bbx@publimedium}{}{\usebibmacro{url+urldate}}% - \newunit\newblock - \iffieldundef{volumes}% - {}% - {\usebibmacro{mla:multivolumes}}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \setboolean{bbx@mla-incollection}{false}} - -\DeclareBibliographyDriver{inproceedings}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \usebibmacro{mlabelnamepunct}% - \usebibmacro{title}% - \newunit\newblock - \usebibmacro{mla:proceedings:booktitle}% - \newunit\newblock - \usebibmacro{byeditor+others}% - \newunit\newblock - \ifbool{bbx@publimedium}% - {}% - {\usebibmacro{series+number}}% - \newunit\newblock - \printfield{note}% - \newunit - \usebibmacro{publisher+location+date}% - \newunit\newblock - \usebibmacro{chapter+pages}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \newunit% - \usebibmacro{publimedium}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{proceedings}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \usebibmacro{mlabelnamepunct}% - \usebibmacro{mla:proceedings:booktitle}% - \newunit\newblock - \usebibmacro{byeditor+others}% - \newunit\newblock - \ifbool{bbx@publimedium}% - {}% - {\usebibmacro{series+number}}% - \newunit\newblock - \printfield{note}% - \newunit - \usebibmacro{publisher+location+date}% - \newunit\newblock - \usebibmacro{chapter+pages}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \newunit% - \usebibmacro{publimedium}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{unpublished}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \usebibmacro{mlabelnamepunct}% - \usebibmacro{title}% - \newunit\newblock - \printfield{note}% - \newunit\newblock - \usebibmacro{mla:all:type}% - \newunit\newblock - \printfield{number}% - \newunit\newblock - \printfield{library}% - \setunit{\addcomma\addspace}% - \printlist{location}% - \newunit\newblock - \printfield{addendum}% - \newunit% - \usebibmacro{publimedium}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{thesis}{% - \usebibmacro{bibindex}% - \usebibmacro{author/editor+others/translator+others}% - \usebibmacro{mlabelnamepunct}% - \usebibmacro{title}% - \newunit\newblock% - \usebibmacro{mla:thesis:type}% - \newunit\newblock - \printlist{institution}% - \setunit*{\addcomma\space}% - \iffieldequalstr{entrysubtype}{published}% - {\printfield{origyear}\clearfield{origyear}}% 1.4.9 cleared origyear - {\printfield{year}}% - \newunit\newblock - \iffieldequalstr{entrysubtype}{published}% - {\ifbool{bbx@publimedium}% - {}% - {\usebibmacro{series+number}}% - \newunit% - \printlist{location}% - \setunit{\addcolon\addspace}% - \printlist{publisher}% - \setunit{\addcomma\addspace}% - \printfield{year}}% - {}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \newunit% - \usebibmacro{publimedium}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{review}{% - \usebibmacro{bibindex}% - \usebibmacro{author}% - \usebibmacro{mlabelnamepunct}% - \printfield[title:article]{title}% - \newunit\newblock% - \printfield[title:reviewedbook]{booktitle}% - \setunit{\addcomma\space}% - \ifnameundef{bookauthor}% - {\printtext[reviewededitor]{\printnames[default]{editor}}}% - {\printtext[reviewedauthor]{\printnames[default]{bookauthor}}}% - \newunit\newblock - \usebibmacro{journal}% - \setunit*{\addspace}% - \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine}}% - {\printfield[brackets]{location}% - \printtext{\printdate}% - \newunit}% - {\printfield{series}\clearfield{series}% - \setunit{\addspace}% - \printfield[default]{volume}% - \setunit*{\adddot}% - \printfield{number}\clearfield{number}% - \setunit{\addcomma\space}% - \printfield{eid}% - \setunit{\addspace}% - \usebibmacro{issue+date}% - \newunit\newblock% - \usebibmacro{issue}% - \newunit}% - \setunit{\addcolon\addspace}% - \printfield{pages}% - \newunit\newblock% - \usebibmacro{publimedium}% 1.4.9 updated - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{inreference}{% - \usebibmacro{bibindex}% - \usebibmacro{author}% - \usebibmacro{mlabelnamepunct}% - \usebibmacro{title}% - \newunit\newblock% - \iffieldundef{crossref}% - {\iffieldundef{xref}% - {\newunit\newblock - \usebibmacro{maintitle+booktitle}% - \newunit\newblock - \usebibmacro{byeditor+others}% - \newunit\newblock - \iffieldsequal{year}{edition}% - {\printfield{year}~\bibstring{edition}\clearfield{year}}% - {\printfield{edition}\isdot}% - \newunit - \iffieldundef{maintitle}% - {\printfield{volume}% - \printfield{part}}% - {}% - \newunit - \printfield{volumes}% - \newunit\newblock - \ifbool{bbx@publimedium}% - {}% - {\usebibmacro{series+number}}% - \newunit\newblock - \printfield{note}% - \newunit\newblock - \usebibmacro{publisher+location+date}% - \newunit\newblock - \usebibmacro{chapter+pages}% - \newunit\newblock - \usebibmacro{mla:isbn/issn+doi+eprint}% - \newunit\newblock - \ifbool{bbx@publimedium}{}{\usebibmacro{url+urldate}}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}}% - {}}% - {\bbx@crossref{\thefield{crossref}}% - \nopunct\unspace\printfield{pages}}% - \newunit% - \usebibmacro{publimedium}% - \usebibmacro{finentry}} - -\newbibmacro{mlabelnamepunct}{\setunit{\labelnamepunct}\newblock} - -\newbibmacro{mla:video:localized:last-first}[1]{% - \ifnameundef{#1}% - {}% - {\printnames{#1}\addcomma\addspace% - \ifthenelse{\iffieldbibstring{#1type} \and \not % - \iffieldundef{#1type}}% - {\bibstring{\thefield{#1type}}}% - {\iffieldundef{#1type}% - {\bibstring{with}}% - {\printfield[mla:lowercase]{#1type}}}}% -\iffootnote{\setunit{\addcomma\addspace}}{\newunit}}% - -\newbibmacro{mla:video:name:first:footnote}[1]{% - \ifnameundef{#1}% - {}% - {\printnames[byeditor]{#1}\addcomma\addspace% - \ifthenelse{\iffieldbibstring{#1type} \and \not % - \iffieldundef{#1type}}% - {\bibstring{\thefield{#1type}}}% - {\iffieldundef{#1type}% - {\bibstring{with}}% - {\printfield[mla:lowercase]{#1type}}}}% - \clearname{#1}% -} - -\newbibmacro{mla:video:localized:first-last}[1]{% - \ifnameundef{#1}% - {}% - {\ifthenelse{\iffieldbibstring{#1type} \and \not % - \iffieldundef{#1type} \and \not % - \iffieldequalstr{#1type}{composer}}% - {\bibstring{\thefield{#1type}}}% - {\iffieldundef{#1type}% - {\bibstring{with}}% - {\iffieldequalstr{#1type}{composer}% - {\bibstring{composedby}}% - {\printfield[mla:capital]{#1type}}}}% - \addspace\printnames[byeditor][-\value{listtotal}]{#1}}% -\newunit}% - -\newbibmacro{mla:video:name:second:footnote}[1]{% - \ifnameundef{#1}% - {}% - {\ifthenelse{\iffieldbibstring{#1type} \and \not % - \iffieldundef{#1type} \and \not % - \iffieldequalstr{#1type}{composer}}% - {\bibstring{\thefield{#1type}}}% - {\iffieldundef{#1type}% - {\bibstring{with}}% - {\iffieldequalstr{#1type}{composer}% - {\bibstring{composedby}}% - {\printfield[mla:lowercase]{#1type}}}}% - \addspace\printnames[byeditor][-\value{listtotal}]{#1}% - }}% - -\DeclareBibliographyDriver{video}{% - \ifnamesequal{labelname}{author}% - {\usebibmacro{mla:video:localized:last-first}{author}}{}% - \ifnamesequal{labelname}{editor}% - {\usebibmacro{mla:video:localized:last-first}{editor}}{}% - \printfield{title}% - \setunit{\newunitpunct\bibstring{byauthor}\addspace}% - \printnames[byeditor]{bookauthor}% - \newunit% - \ifthenelse{\NOT\ifnamesequal{author}{labelname}% - \AND\NOT\ifnameundef{author}}% - {\usebibmacro{mla:video:localized:first-last}{author}}% - {}% - \ifthenelse{\NOT\ifnamesequal{editor}{labelname}% - \AND\NOT\ifnameundef{editor}}% - {\usebibmacro{mla:video:localized:first-last}{editor}}% - {}% - \usebibmacro{mla:video:localized:first-last}{namea}% - \usebibmacro{mla:video:localized:first-last}{nameb}% - \usebibmacro{mla:video:localized:first-last}{namec}% - \printfield{origyear}\clearfield{origyear}% - \newunit\newblock% - \printlist{publisher}% - \setunit{\addcomma\addspace}% - \printfield{year}% - \newunit\newblock% - \usebibmacro{publimedium}% 1.4.9 updated to most recent MLA format - \usebibmacro{finentry}} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% % % % % % % % % % % % % % % % % % % % % % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% drivers to add eventually: -% * \DeclareBibliographyDriver{misc} -% * \DeclareBibliographyDriver{artwork} -% * \DeclareBibliographyDriver{audio} -% * \DeclareBibliographyDriver{image} -% * \DeclareBibliographyDriver{movie} -% * \DeclareBibliographyDriver{music} -% * \DeclareBibliographyDriver{performance} -% -% Specifically important mainstay types to add for MLA users -% 0 support for multiple publishers? % can't do with bibtex -% * editorial -% * letter (to the editor, etc.) -% * interview - -\newbibmacro*{mtitle+mstitle+vol+part+title+stitle}{% - \iffieldundef{maintitle}% - {}% - {\printtext[maintitle]{% - \printfield[noformat]{maintitle}% - \newunit - \printfield[noformat]{mainsubtitle}}% - \newunit - \printfield{maintitleaddon}% - \newunit\newblock - \iffieldundef{volume}% - {}% - {\printfield{volume}% - \printfield{part}% - \setunit{\addcolon\space}}}% - \usebibmacro{title+stitle}} - -\renewbibmacro*{series+number}{% - \iffieldundef{series}% - {}% - {\printfield{series}\clearfield{series}\setunit*{\addspace}\printfield{number}}% -} - -\renewbibmacro*{title}{% - \iffieldequalstr{entrytype}{thesis}% - {\usebibmacro{mla:title:thesis}}% - {\iffieldequalstr{entrytype}{unpublished}% - {\usebibmacro{mla:title:unpublished}}% - {\usebibmacro{title+stitle}}}}% - -\renewbibmacro*{publisher+location+date}{% - \printlist{location}% - \iflistundef{publisher}% - {\setunit*{\addcomma\space}}% - {\setunit*{\addcolon\space}}% - \printlist{publisher}% - \setunit*{\addcomma\space}% - \ifbool{bbx@nodate}{\printtext{n.d.}}% - \printdate% - \newunit} - -\newbibmacro*{mla:title:unpublished}{% - \ifthenelse{\iffieldundef{author} \AND \iffieldundef{nameaddon}}% - {\unspace}% - {}% - \iffieldundef{title}% - {}% - {\printtext[title:article]{% - \printfield[noformat]{title}% - \setunit{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - \newunit - \printtext[title:book]{% - \printfield[noformat]{booktitle}% - \setunit{\subtitlepunct}% - \printfield[noformat]{booksubtitle}}% - \newunit - \ifcitation% - {\printfield[mla:lowercase]{titleaddon}}% - {\printfield{titleaddon}}% - \setunit{\addcomma\addspace}} - -\newbibmacro*{name:first-last:andothers}{% - \ifthenelse{\value{listcount}=\value{liststop}\AND - \ifmorenames} - {\ifnum\value{liststop}>1 \finalandcomma\fi - \addspace\bibstring{andothers}} - {}} - -\newbibmacro*{mla:title:thesis}{% - \iffieldundef{title}% - {}% - {\iffieldequalstr{entrysubtype}{published}% - {\printtext[title:book]{% - \printfield[noformat]{title}% - \setunit{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - {\printtext[title:\strfield{entrytype}]{% - \printfield[noformat]{title}% - \setunit{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - \newunit% - \printfield{titleaddon}% - \newunit\newblock}} - -\newbibmacro*{mla:thesis:type}{% - \iffieldundef{type}% - {\printtext[mla:capital]{\bibstring{phdthesis}}}% - {\usebibmacro{mla:all:type}}}% - -\newbibmacro*{mla:all:type}{% - \ifbibstring{\thefield{type}}% - {\printtext[mla:capital]{\bibstring{\thefield{type}}}}% - {\printtext[mla:capital]{\printfield{type}}}}% - -\newbibmacro*{mla:all:type:foot}{% - \ifbibstring{\thefield{type}}% - {\printtext[noformat]{\bibstring{\thefield{type}}}}% - {\printtext[noformat]{\printfield{type}}}}% - -\renewbibmacro*{maintitle+title}{% - \usebibmacro{title}% - \newunit% - \iffieldsequal{maintitle}{title}% - {\clearfield{maintitle}% - \clearfield{mainsubtitle}% - \clearfield{maintitleaddon}}% - {}% - \iffieldundef{volume}% - {\usebibmacro{maintitle}}% - {}% - \iffieldundef{maintitle}% - {\printfield{volume}\clearfield{volume}}% - {}% - \newunit\newblock} - -\renewbibmacro*{maintitle+booktitle}{% - \usebibmacro{booktitle}% - \newunit - \iffieldundef{maintitle}% - {}% - {\usebibmacro{maintitle}% - \newunit\newblock - \iffieldundef{volume}% - {}% - {\printfield{volume}% - \printfield{part}% - \setunit{\addcolon\space}}}% - \newunit} - -\newbibmacro*{mla:proceedings:booktitle}{% - \usebibmacro{booktitle}% - \newunit% - \iffieldundef{eventtitle}% - {}% - {\printtext[default]{% - \bibstring{proceedings}\addspace\bibstring{ofseries}\addspace% - \printfield[default]{eventtitle}\isdot}}% - \setunit*{\isdot\addcomma\addspace}% - \printlist{organization}% - \setunit*{\addcomma\addspace}% - \printeventdate% - \setunit*{\addcomma\addspace}% - \printlist{institution}% - \setunit*{\addcomma\addspace}% - \printfield{venue}} - -\newbibmacro*{title+stitle}{% - \iffieldundef{title}% - {\ifthenelse{% - \iffieldequalstr{entrytype}{suppbook}% - \OR% - \iffieldequalstr{entrytype}{suppcollection}}% - {}% - {\printtext[title:\strfield{entrytype}]{% - \printfield[noformat]{booktitle}% - \setunit*{\subtitlepunct}% - \printfield[noformat]{booksubtitle}}}}% - {\printtext[title:\strfield{entrytype}]{% - \printfield[noformat]{title}% - \setunit*{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - \newunit% - \printfield[noformat]{titleaddon}% - \newunit% - \usebibmacro{byauthor}% - \iffieldundef{origtitle}% - {\usebibmacro{mla:reprint}}% - {}% -}% - -\newbibmacro*{title:incollection:italics}{% - \iffieldundef{title}% - {}% - {\printtext[title:book]{% - \printfield[noformat]{title}% - \setunit*{\subtitlepunct}% - \printfield[noformat]{subtitle}}% - \newunit% - \printfield[noformat]{titleaddon}% - \newunit% - \setboolean{bbx@mla-incollection}{true}\usebibmacro{mla:reprint}\setboolean{bbx@mla-incollection}{false}% - \newunit\newblock}} - -\newbibmacro*{mla:article:journal+issuetitle}{% - \usebibmacro{issue}% - \newunit\newblock% - \iffieldundef{issuetitle}% - {}% - {\usebibmacro{byeditor+others}% - \newunit\newblock% - \bibstring{specissue}\setunit*{\addspace}}% - \ifthenelse{\iffieldequalstr{entrytype}{periodical} \AND \iffieldundef{journaltitle}}% - {\usebibmacro{periodical}}% - {\usebibmacro{journal}}% - \ifthenelse{\iffieldequalstr{entrytype}{online}}{\usebibmacro{mla:online}}{\setunit*{\addspace}}% - \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine} \or \iffieldequalstr{entrytype}{online}}% - {\printlist[brackets]{location}% - \printtext{\printdate}% - \setunit*{\addcomma\addspace}% - \printfield{version}% - \setunit*{\addcomma\addspace}% - \printfield[mla:newspaper:section]{chapter}% - }% - {\printfield{series}\clearfield{series}% - \setunit*{\addspace}% - \printfield{volume}% - \setunit*{\adddot}% - \printfield{number}\clearfield{number}% - \setunit*{\addcomma\space}% - \usebibmacro{mla:isbn/issn+doi+eprint}% - \setunit{\addspace}% - \usebibmacro{issue+date}% - \newunit\newblock - \newunit}% -} - -\newbibmacro*{mla:online}{% - \iffieldundef{maintitle}% - {}% - {\printtext[maintitle]{% - \printfield[titlecase]{maintitle}% - \setunit{\subtitlepunct}% - \printfield[titlecase]{mainsubtitle}}}% - \newunit\newblock% - \printlist{publisher}% - \setunit*{\addcomma\addspace}% -} - -\renewbibmacro*{journal+issuetitle}{% - \usebibmacro{journal}% - \setunit*{\addspace}% - \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine}}% - {\printlist[brackets]{location}% - \printtext{\printdate}% - \setunit{\addcomma\addspace}% - \printfield{version}% - \setunit{\addcomma\addspace}% - \printfield[mla:newspaper:section]{chapter}% - }% - {\printfield{series}\clearfield{series}% - \setunit{\addspace}% - \printfield{volume}% - \setunit*{\adddot}% - \printfield{number}\clearfield{number}% - \setunit{\addcomma\space}% - \usebibmacro{mla:isbn/issn+doi+eprint}% - \setunit{\addspace}% - \usebibmacro{issue+date}% - \newunit\newblock - \usebibmacro{issue}% - \newunit}} - -\renewbibmacro{finentry}{% - \finentry% - \iffieldundef{annotation}% - {}% - {\ifbool{bbx@annotation}% - {\begin{quotation}\noindent% - \printfield{annotation}% - \end{quotation}}% - {}}% -} - -\newbibmacro{publimedium}{% - \ifbool{bbx@publimedium}% - {\printfield[mla:capital]{howpublished}% - \ifthenelse{\iffieldundef{howpublished}\AND\boolean{bbx@guessmedium}}% - {\ifthenelse{\iffieldundef{url}\AND\iffieldundef{eprinttype}}% - {\printtext[mla:publimedium]{\bibstring{print}}}% - {\iffieldundef{eprinttype}% - {\printfield{eprint}}% - {\printfield[eprint:\strfield{eprinttype}]{eprint}}% - \newunit% - \usebibmacro{url+urldate}% - }% - }% - {}%-keep-blank - \newunit% - \usebibmacro{series+number}}% - \newunit% - \usebibmacro{mla:reprint}% - {}%-keep-blank -} - -\newbibmacro*{bbx:dashcheck}[2]{% - \ifboolexpr{ - test {\iffieldequals{fullhash}{\bbx@lasthash}} - and - not test \iffirstonpage - and - ( - not bool {bbx@inset} - or - test {\iffieldequalstr{entrysetcount}{1}} - ) - } - {#1} - {#2}} - -\endinput - - \endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla.cbx index a8d62a8a1b..1085fb5623 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla.cbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla.cbx @@ -1,11 +1,13 @@ -% mla-this.cbx, v1.9 2016/11/01 * compatible with biblatex 3.4 -% Maintained at <https://github.com/jmclawson/biblatex-mla> by James Clawson. +% mla.cbx, v2.0 2021/06/07 * compatible with biblatex 3.16 +% Maintained at <https://github.com/jmclawson/biblatex-mla>. % -% Feel free to improve, redistribute, and adapt to your own ends. Please share improvements in formatting and MLA standards compliance back to James Clawson: <clawson@gmail.com>. +% Feel free to improve, redistribute, and adapt to your own ends. Please share improvements back to the project on GitHub or to James Clawson: <clawson@gmail.com>. % % This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. -\ProvidesFile{mla-this.cbx}[2016/11/01 v1.9 biblatex citation style] +\ProvidesFile{mla.cbx}[2021/06/07 v2.0 biblatex citation style] + +\RequireCitationStyle{mla-footnotes} \newboolean{cbx@firstlonghand}% \DeclareBibliographyOption{firstlonghand}[true]{\setboolean{cbx@firstlonghand}{#1}} @@ -23,8 +25,7 @@ \let\everypar\mypkg@everypar }{}} -% The following is taken from biblatex-chicago-notes-df for parity of feature set. I don't like the naming of the option there ("strict"), so even though consistency trumps (or defines) clarity, I changed the name for now. -\DeclareBibliographyOption{footnoterulestrict}[true]{% 0.7 renamed +\DeclareBibliographyOption{footnoterulestrict}[true]{% \let\splitfootnoterule\footnoterule \renewcommand\footnoterule{}% \advance\skip\footins 4\p@\@plus2\p@\relax @@ -39,7 +40,7 @@ \xdef\split@prev{\the\insertpenalties}% }} -\ExecuteBibliographyOptions{citetracker=true,ibidtracker=constrict,opcittracker=constrict,singletitle,autocite=inline,uniquename=init,hyperref=true,useprefix=true,firstlonghand,annotation=false,loccittracker=strict,noremoteinfo=true,date=long,urldate=long,mancitepar=false,datezeros=false}% +\ExecuteBibliographyOptions{citetracker=true,ibidtracker=constrict,opcittracker=constrict,singletitle,autocite=inline,uniquename=init,hyperref=true,useprefix=true,firstlonghand,annotation=false,loccittracker=strict,noremoteinfo=true,date=comp,urldate=long,mancitepar=false,datezeros=false,datecirca=true,eprint=true}% \newbool{cbx@named}% \newbool{cbx@mlafootnotes}% @@ -55,7 +56,6 @@ \global\let\cbx@tempa=\empty \global\undef\cbx@lasthash} -% 0.7.1 trying to get \citereset working again after I fiddled around with \InitializeCitationStyle to add mladraft stuff \renewcommand*{\citereset}{% \usebibmacro{cite:reset} \@ifstar @@ -91,10 +91,8 @@ \csxdef{cbx@lastcite@\thefield{entrykey}}{\the\value{instcount}}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%% In-Line Citations %%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newbibmacro*{cite:mla}{% \bibhypertarget{cite\the\value{instcount}}{% @@ -128,7 +126,7 @@ \usebibmacro{cite:mla:title}}% {\ifnameundef{labelname}% {\global\boolfalse{cbx@named}\usebibmacro{cite:mla:title}}% - {\ifthenelse{\iffieldequalstr{entrytype}{incollection} \or \iffieldequalstr{entrytype}{inreference} \or \iffieldequalstr{entrytype}{review}} % + {\ifthenelse{\iffieldequalstr{entrytype}{incollection} \or \iffieldequalstr{entrytype}{inreference} \or \iffieldequalstr{entrytype}{review}}% {\ifnameundef{author}% {\global\boolfalse{cbx@named}% \usebibmacro{cite:mla:title}}% @@ -156,10 +154,23 @@ \savefield{namehash}{\cbx@lasthash}% \global\booltrue{cbx@named}}}% +\newbibmacro*{just:title:it}{% + \iffieldequalstr{entrytype}{mlasource}% + {\iffieldundef{titletype}% + {\iffieldundef{titlea}% + {\printtext[bibhyperref]{\printfield[mla:complete]{labeltitle}}}% + {\printtext[bibhyperref]{\printfield[mla:part]{labeltitle}}}}% + {\printtext[bibhyperref]{\printfield[mla:\thefield{titletype}]{labeltitle}}}}% + {\ifthenelse{\(\iffieldequalstr{entrytype}{unpublished}\OR\iffieldequalstr{entrytype}{misc}\)% + \AND\NOT\iffieldundef{entrysubtype}}% 2.0 added clear (next line) + {\printtext[bibhyperref]{\printfield[citetitle:\strfield{entrysubtype}]{labeltitle}}\clearfield{title}}% + {\iffieldequalstr{entrysubtype}{untitled}% + {\printtext[bibhyperref]{\printfield[noformat]{labeltitle}}}% + {\printtext[bibhyperref]{\printfield[citetitle:\strfield{entrytype}]{labeltitle}}}}}} + \newbibmacro*{cite:mla:title}{% \ifnameundef{labelname}% - {\printtext[bibhyperref]{% - \printfield[citetitle:\strfield{entrytype}]{labeltitle}}}% + {\usebibmacro{just:title:it}}% {\ifsingletitle% {}% {\usebibmacro{cite:mla:title:internal}}}% @@ -185,11 +196,13 @@ \OR\iffieldequalstr{entrytype}{suppcollection}}% {\printtext[bibhyperref]{% \printfield[mla:capital]{entrysubtype}}}% - {}}}% - {\printtext[bibhyperref]{% - \printfield[citetitle:\strfield{entrytype}]{labeltitle}}}}% + {\iffieldundef{booktitle}% 2.0 fallback to print booktitle + {}% + {\printfield{booktitle}}% + }}}% + {\usebibmacro{just:title:it}}}% -% %%%%%%%%%% for ibid, idem, opcit %%%%%%%% +%%%%%%%%%%% for ibid, idem, opcit %%%%%%%% \newbibmacro*{cite:idem}{% \ifsingletitle% @@ -201,20 +214,19 @@ \newbibmacro*{cite:ibid}{% \iffieldundef{postnote}% - {\usebibmacro{cite:mla:noibid}}% + {\usebibmacro{cite:mla:noibid}}% 2.0 - check: add check here to see whether author should be printed? {\global\booltrue{cbx@hyperpages}}% \usebibmacro{cite:save}% \iffieldundef{prenote}% {}% - {\usebibmacro{cite:mla:noibid}\usebibmacro{cite:reset}}}% + {}}% 2.0 removed confusing attempt to disambiguate with prenotes \renewcommand*{\postnotedelim}{\addspace}% \renewbibmacro*{postnote}{% - \iffieldundef{postnote} - {} - {\setunit{\addspace}% - \ifbool{cbx@hyperpages}% + \iffieldundef{postnote}% + {}% + {\ifbool{cbx@hyperpages}% {\printtext[bibhyperref]{\printfield[ibidpostnote]{postnote}}}% {\printfield[ibidpostnote]{postnote}}}}% @@ -232,414 +244,6 @@ {}}% {\usebibmacro{postnote}}} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%% Footnote Citations %%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\newbibmacro*{cite:mla:foot}{% - \ifciteseen% - {\usebibmacro{cite:mla:seen}}% - {\ifbool{cbx@nofullfootnote}% - {\usebibmacro{cite:mla:seen}}% - {\usedriver{}{footcite:\strfield{entrytype}}}% - }} - -\newbibmacro*{cite:foot:name}{% - \global\boolfalse{cbx@named}% - \usebibmacro{cite:foot:author/editor}% - \savefield{namehash}{\cbx@lasthash}}% - -\newbibmacro*{cite:foot:author:review}{% - \global\boolfalse{cbx@named}% - \ifnameundef{author}% - {}% - {\usebibmacro{cite:foot:author}% - \savefield{namehash}{\cbx@lasthash}% - \global\booltrue{cbx@named}% - }}% - -\newbibmacro*{cite:foot:author/editor}% -{\ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}% - {\usebibmacro{cite:foot:author}}% - {\usebibmacro{cite:foot:editor}}}% - -\newbibmacro*{cite:foot:author}{% - \ifbool{bbx@totalnames}% - {\printnames[byauthor][-\value{listtotal}]{author}}% - {\printnames[byauthor]{author}}% - \clearname{author}\global\booltrue{cbx@named}% - \printfield{nameaddon}} - -\newbibmacro*{cite:foot:editor}{% - \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}% - {\ifbool{bbx@totalnames}% - {\printnames[byeditor][[-\value{listtotal}]]{editor}}% - {\printnames[byeditor]{editor}}% - \setunit*{\addcomma\space}% - \usebibmacro{editorstrg}% - \clearname{editor}\global\booltrue{cbx@named}}% - {\ifusetranslator% - {\printnames[byeditor]{translator}% - \setunit*{\addcomma\space}% - \usebibmacro{translatorstrg}% - \clearname{translator}\global\booltrue{cbx@named}}% - {}% - }}% - -\newbibmacro*{cite:foot:byauthor:incollection}{% - \ifthenelse{\ifuseauthor\OR% - \ifnameundef{author}\OR% - \ifnamesequal{author}{bookauthor}}% - {}% - {\biblcstring{byauthor}\addspace% - \printnames[byauthor]{author}}} - -\newbibmacro*{cite:foot:byauthor}{% - \ifthenelse{\ifuseauthor\OR% - \ifnameundef{author}}% - {}% - {\bibstring{byauthor}\addspace\printnames[byauthor]{author}}} - -\newbibmacro*{cite:foot:bybookauthor}{% - \ifthenelse{\ifnameundef{bookauthor}\OR% - \(\ifnamesequal{author}{bookauthor}\AND\ifuseauthor\)}% - {}% - {\bibstring{byauthor}\addspace\printnames[byauthor]{bookauthor}}} - -\DeclareBibliographyDriver{footcite:booklet}{% - \usedriver{}{footcite:book}} - -\DeclareBibliographyDriver{footcite:collection}{% - \usedriver{}{footcite:book}} - -\DeclareBibliographyDriver{footcite:reference}{% - \usedriver{}{footcite:book}} - -\DeclareBibliographyDriver{footcite:book}{% - \usebibmacro{cite:foot:name}% - \ifbool{cbx@named}% 0.7.1 - {\setunit{\newunitpunct}}% - {\setunit{}}% - \usebibmacro{cite:foot:title}% - \newunit% - \usebibmacro{cite:foot:byauthor}% - \newunit% - \usebibmacro{cite:foot:byeditor}% - \newunit% - \usebibmacro{cite:foot:bytranslator}% - \newunit% - \printfield{edition}% - \newunit% - \iffieldundef{maintitle}% - {\printfield{volume}% - \printfield{part}}% - {}% - \newunit% - \printfield{volumes}% - \newunit% - \usebibmacro{series+number}% - \setunit{\addspace}% - \usebibmacro{cite:foot:publisher+location+year}} - -\newbibmacro*{cite:foot:publisher+location+year}{% - \printtext[parens]{% - \printfield[noformat]{origyear}% - \setunit*{\addsemicolon\addspace}% - \printlist{location}% - \iflistundef{publisher}% - {\setunit*{\addspace}}% - {\setunit*{\addcolon\space}}% - \printlist{publisher}% - \newunit% - \printfield{year}}} - -\DeclareBibliographyDriver{footcite:article}{% - \usebibmacro{cite:foot:name}% - \newunit% - \usebibmacro{cite:foot:title}% - \newunit% - \usebibmacro{cite:foot:byauthor:incollection}% - \newunit% - \usebibmacro{cite:foot:bytranslator}% - \newunit% - \usebibmacro{journal+issuetitle}% - \newunit% - \iffieldundef{url}{}{\usebibmacro{cite:foot:url+urldate}}% - \setunit{\addcolon\addspace}% - \iffieldundef{postnote}% - {\printfield{pages}}% - {}}% - -\newbibmacro*{cite:foot:url+urldate}{% - \printtext{\biburldatelong}% - \setunit{\addspace}% - \printfield{url}} - -\DeclareBibliographyDriver{footcite:inreference}{% - \usedriver{}{footcite:incollection}} - -\DeclareBibliographyDriver{footcite:incollection}{% - \usebibmacro{cite:foot:name}% - \ifbool{cbx@named}% 0.7.1 - {\setunit{\newunitpunct}}% - {\setunit{}}% - \ifthenelse{% - \iffieldequalstr{entrysubtype}{book}% - \OR% - \iffieldequalstr{entrysubtype}{play}}% - {\usebibmacro{cite:foot:title:incollection:italics}}% - {\usebibmacro{cite:foot:title}}% - \newunit% - \printfield[mla:lowercase]{titleaddon}% - \newunit% - \usebibmacro{cite:foot:byauthor:incollection}% - \newunit% - \ifbool{bbx@uniquetranslator}% - {\usebibmacro{cite:foot:bytranslator}\clearname{translator}}% - {}% - \ifthenelse{% - \iffieldequalstr{entrysubtype}{book}% - \OR% - \iffieldequalstr{entrysubtype}{play}}% - {\setunit{\addcomma\addspace\bibstring{in}\addspace}}% - {\newunit}% - \printtext[citetitle:book]{% - \printfield[noformat]{booktitle}% - \setunit{\subtitlepunct}% - \printfield[noformat]{booksubtitle}% - }% - \usebibmacro{cite:foot:bybookauthor}% - \newunit% - \usebibmacro{cite:foot:byeditor}% ...check for spacing - \newunit% - \iffieldsequal{year}{edition}% - {\printfield{year}~\bibstring{edition}\clearfield{year}}% - {\printfield[foot:cite:edition:format]{edition}\isdot}% - \newunit% - \iffieldundef{maintitle}% - {\printfield{volume}% - \printfield{part}}% - {}% - \newunit% - \printfield{volumes}% - \newunit% - \usebibmacro{series+number}% - \setunit{\addspace}% - \iffieldundef{year}% - {}% - {\usebibmacro{cite:foot:publisher+location+year}}% - \setunit{\addspace}% - \iffieldundef{postnote}% - {\printfield{pages}}% - {}% - }% - -\DeclareBibliographyDriver{footcite:phdthesis}{% - \usedriver{}{footcite:thesis}} - -\DeclareBibliographyDriver{footcite:thesis}{% - \usebibmacro{cite:foot:name}% - \newunit% - \usebibmacro{title}% - \newunit% - \ifbibstring{\thefield{type}}% - {\printtext[default]{\bibstring{\thefield{type}}}}% - {\printtext[default]{\printfield{type}}}% - \newunit% - \printlist{institution}% - \newunit% - \iffieldequalstr{entrysubtype}{published}% - {\printfield{origyear}\clearfield{origyear}}% - {\printfield{year}}% - \newunit% - \iffieldequalstr{entrysubtype}{published}% - {\usebibmacro{series+number}% - \setunit{\addspace}% - \usebibmacro{cite:foot:publisher+location+year}}% - {}} - -\DeclareBibliographyDriver{footcite:review}{% - \usebibmacro{cite:foot:author:review}% - \ifbool{cbx@named}% - {\setunit{\newunitpunct}}% - {\setunit{}}% - \usebibmacro{cite:foot:title}% - \setunit*{\newunitpunct}% - \printtext[bibhyperref]% - {\bibstring{reviewof}\addspace\printfield{booktitle}}% - \newunit% - \ifnameundef{bookauthor}% - {\printtext[reviewededitor]{\printnames[default]{editor}}}% - {\printtext[reviewedauthor]{\printnames[default]{bookauthor}}}% - \newunit% - \usebibmacro{journal+issuetitle}% - \newunit% - \iffieldundef{url}{}{\usebibmacro{cite:foot:url+urldate}}% - \setunit{\addcolon\addspace}% - \iffieldundef{postnote}% - {\printfield{pages}}% - {}}% - -\DeclareBibliographyDriver{footcite:video}{% - \setbool{cbx@named}{false}% - \ifnamesequal{labelname}{author}% - {\usebibmacro{mla:video:name:first:footnote}{author}% - \setbool{cbx@named}{true}}% - {}% - \ifnamesequal{labelname}{editor}% - {\usebibmacro{mla:video:name:first:footnote}{editor}% - \setbool{cbx@named}{true}}% - {}% - \ifbool{cbx@named}% - {\setunit{\newunitpunct}}% - {\setunit{}}% - \printtext[bibhyperref]{\printfield{title}}% - \newunit% - \ifnameundef{bookauthor}% - {}% - {\printtext[reviewedauthor]{\printnames[byeditor]{bookauthor}}}% - \newunit% - \usebibmacro{mla:video:name:second:footnote}{author}% - \newunit% - \usebibmacro{mla:video:name:second:footnote}{editor}% - \newunit% - \usebibmacro{mla:video:name:second:footnote}{namea}% - \newunit% - \usebibmacro{mla:video:name:second:footnote}{nameb}% - \newunit% - \usebibmacro{mla:video:name:second:footnote}{namec}% - \newunit% - \printfield{origyear}% - \newunit% - \printfield{howpublished}% - \newunit% - \printlist{publisher}% - \newunit% - \printfield{year}% - \addperiod} - -\DeclareBibliographyDriver{footcite:suppcollection}{% - \usedriver{}{footcite:suppbook}} - -\DeclareCiteCommand{\titleandsubtitle} - {\boolfalse{citetracker}% - \boolfalse{pagetracker}% - \usebibmacro{prenote}} - {\indexfield{indextitle}% - \printtext[citetitle]{% - \printfield[noformat]{title}% - \iffieldundef{subtitle}{}{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - {\multicitedelim} - {\usebibmacro{postnote}} - -\DeclareBibliographyDriver{footcite:suppbook}{% - \usebibmacro{cite:foot:name}% - \newunit% - \usebibmacro{cite:foot:title}% - \newunit% - \printfield{entrysubtype}% - \newunit% - \usebibmacro{booktitle}% - \setunit{\newunitpunct\bibstring{bytypeauthor}\addspace}% - \ifnamesequal{labelname}{bookauthor}% 0.7 - {\printnames[mla:last]{bookauthor}}% - {\printnames[byauthor]{bookauthor}}% - \newunit% - \usebibmacro{byeditor+others}% - \newunit% - \printfield{edition}% - \newunit% - \iffieldundef{maintitle}% - {\printfield{volume}% - \printfield{part}}% - {}% - \newunit% - \printfield{volumes}% - \newunit% - \usebibmacro{series+number}% - \setunit{\addspace}% - \usebibmacro{cite:foot:publisher+location+year}% - \setunit{\addspace}% - \iffieldundef{postnote}% - {\printfield{pages}}% - {}} - -\DeclareBibliographyDriver{footcite:unpublished}{% - \usebibmacro{cite:foot:name}% - \newunit% - \usebibmacro{mla:title:unpublished}% - \newunit% - \newunit% - \printfield{note}% - \newunit% - \usebibmacro{mla:all:type:foot}% - \setunit*{\isdot\addspace}% - \printfield{number}% - \newunit% - \printfield{library}% - \setunit{\addcomma\addspace}% - \printlist{location}% - \newunit% - \printfield{addendum}% - \usebibmacro{finentry}} - -\DeclareBibliographyDriver{footcite:periodical}{% - \usebibmacro{cite:foot:editor}% - \setunit{\labelnamepunct}\newblock% - \usebibmacro{mla:article:journal+issuetitle}% - \newunit\newblock - \printfield{note}% - \setunit{\addcolon\addspace}\newblock - \iffieldundef{postnote}% - {\printfield{pages}}% - {}% - \newunit\newblock - \usebibmacro{url+urldate}% - \newunit\newblock - \printfield{addendum}% - \newunit\newblock - \usebibmacro{pageref}% - \usebibmacro{finentry}} - -\newbibmacro*{cite:foot:title}{% - \iffieldundef{title}% - {}% - {\printtext[bibhyperref]{% - \printtext[citetitle:\strfield{entrytype}]{% - \printfield[noformat]{title}% - \setunit{\subtitlepunct}% - \printfield[noformat]{subtitle}}}% - }}% - -\newbibmacro*{cite:foot:title:incollection:italics}{% - \printtext[bibhyperref]{% - \printtext[title:book]{% - \printfield[noformat]{title}% - \setunit{\subtitlepunct}% - \printfield[noformat]{subtitle}}% - }}% - -\newbibmacro*{cite:foot:bytranslator}{% - \ifnameundef{translator}% - {}% - {\printtext[default]{\bibstring{bytranslator}\addspace% - \printnames[cite:foot:translator]{translator}}}} - -\newbibmacro*{cite:foot:byeditor}{% - \ifthenelse{\ifnameundef{editor}\OR% - \( \iffieldequalstr{entrytype}{collection}\AND% - \ifnameundef{author} \)}% - {}% - {\usebibmacro{byeditor+others}}} - -\newbibmacro*{mla:foot:postnote}{% - \iffieldundef{postnote}% - {\unspace}% - {\unspace\addspace\printfield[footpostnote]{postnote}}% - \usebibmacro{cite:reset}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%% Format Declarations %%%%%%%%%%%%%%%%%% @@ -648,65 +252,48 @@ \DeclareFieldFormat{citetitle:article}{\mkbibquote{#1}} \DeclareFieldFormat{citetitle:inreference}{\mkbibquote{#1}} \DeclareFieldFormat{citetitle:book}{\mkbibemph{#1}} +\DeclareFieldFormat{citetitle:bookinbook}{\mkbibemph{#1}}% NEW in 2.0 \DeclareFieldFormat{citetitle:booklet}{\mkbibemph{#1}}% \DeclareFieldFormat{citetitle:collection}{\mkbibemph{#1}}% \DeclareFieldFormat{citetitle:reference}{\mkbibemph{#1}}% \DeclareFieldFormat{citetitle:incollection}{\mkbibquote{#1}} -\DeclareFieldFormat{citetitle:online}{\mkbibquote{#1}}% 1.4.9 +\DeclareFieldFormat{citetitle:inbook}{\mkbibquote{#1}}% NEW in 2.0 +\DeclareFieldFormat{citetitle:mvbook}{\mkbibemph{#1}}% NEW in 2.0 +\DeclareFieldFormat{citetitle:online}{\mkbibquote{#1}}% \DeclareFieldFormat{citetitle:inproceedings}{\mkbibquote{#1}} \DeclareFieldFormat{citetitle:unpublished}{\mkbibquote{#1}} \DeclareFieldFormat{citetitle:thesis}{\mkbibquote{#1}} \DeclareFieldFormat{citetitle:video}{\mkbibemph{#1}} \DeclareFieldFormat{citetitle:review}{\mkbibquote{#1}}% \DeclareFieldFormat{mla:lowercase}{\MakeLowercase{#1}}% +\DeclareFieldFormat[mlasource]{mla:unstyled}{#1\unspace}% +\DeclareFieldFormat[mlasource]{mla:complete}{\mkbibemph{#1}\unspace}% +\DeclareFieldFormat[mlasource]{mla:part}{\mkbibquote{#1}}% \DeclareFieldFormat{ibidpostnote}{#1}% \DeclareFieldFormat{footpostnote}{#1}% \DeclareFieldFormat{mlarepeatedcites}{\fbox{#1}% \marginpar{\hfill\footnotesize{$\clubsuit$}}}% -\@ifpackagelater{biblatex}{2016/03/01}{% - \DeclareNameFormat{cite:foot:editor}{% - \nameparts{#1}% - \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\partnamesuffix}% - \usebibmacro{name:andothers}}% - \DeclareNameFormat{cite:foot:translator}{% - \nameparts{#1}% - \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\partnamesuffix}% - \usebibmacro{name:andothers}}% -}{% - \DeclareNameFormat{cite:foot:editor}{% - \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% - \usebibmacro{name:andothers}}% - \DeclareNameFormat{cite:foot:translator}{% - \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% - \usebibmacro{name:andothers}}% -}% -\DeclareFieldFormat{foot:cite:edition:format}{% - \ifinteger{#1}% - {\mkbibordinal{#1}~\bibstring{edition}}% - {\printtext[mla:lowercase]{#1}}} -\DeclareFieldFormat{supptotitle}% - {\bibstring{supptotitle}\addspace\mkbibemph{#1}} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%% Cite Commands %%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% updated for parity with mla-new.cbx \renewbibmacro*{prenote}{% - \iffieldundef{prenote} - {\global\undef\cbx@lastprenote} + \iffieldundef{prenote}% + {\global\undef\cbx@lastprenote}% {\printfield{prenote}% \prenotedelim% \ifthenelse{\iffieldequals{prenote}{\cbx@lastprenote} \and \iffieldequals{entrykey}{\cbx@lastkey}}% {}% - {\usebibmacro{cite:reset}}% + {}%\usebibmacro{cite:reset}}% 2.0 remove "clever" ibid reset with prenotes \savefield{prenote}{\cbx@lastprenote}}} \DeclareCiteCommand{\parencite}[\mkbibparens] {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{cite:mla}} - {} + {\multicitedelim} {\ifthenelse{\iffieldequals{postnote}{\cbx@lastpostnote} \and \iffieldequals{entrykey}{\cbx@lastkey}}% {\usebibmacro{locpostnote}}% {\usebibmacro{postnote}}% @@ -716,47 +303,43 @@ {\global\undef\cbx@lasthash\usebibmacro{prenote}}% {\usebibmacro{citeindex}% \usebibmacro{cite:mla:starred:title}} - {} + {\multicitedelim} {\usebibmacro{postnote}} -\DeclareCiteCommand{\cite}% 1.9 added support for smart switching when used in footnote - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% +\newbibmacro{mla:prenote:see}{% Suggested by moewe on StackExchange + \iffootnote + {\iffieldundef{prenote} + {\global\undef\cbx@lastprenote + \printtext{See\addspace}} + {\usebibmacro{prenote}}} + {}} + +\DeclareCiteCommand{\cite}% + {\usebibmacro{mla:prenote:see}}% {\usebibmacro{citeindex}% \usebibmacro{cite:mla}}% - {}% + {\multicitedelim}% {\usebibmacro{postnote}} -\DeclareCiteCommand{\textcite} - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% +\DeclareCiteCommand{\textcite}% + {\usebibmacro{mla:prenote:see}}% {\usebibmacro{citeindex}% \usebibmacro{cite:mla}}% - {}% + {\multicitedelim}% {\usebibmacro{postnote}} -\DeclareCiteCommand{\headlesscite}% 1.9 added alias to starred command for Chicago compatibility - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% +\DeclareCiteCommand{\headlesscite}% + {\usebibmacro{mla:prenote:see}}% {\usebibmacro{citeindex}% \usebibmacro{cite:mla:starred:title}} - {}% + {\multicitedelim}% {\usebibmacro{postnote}} -\DeclareCiteCommand*{\cite}% 1.9 added support for smart switching when used in footnote - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% +\DeclareCiteCommand*{\cite}% + {\usebibmacro{mla:prenote:see}}% {\usebibmacro{citeindex}% \usebibmacro{cite:mla:starred:title}} - {}% + {\multicitedelim}% {\usebibmacro{postnote}} \DeclareCiteCommand{\footcite}[\mkbibfootnote] @@ -767,24 +350,18 @@ \global\booltrue{cbx@mlafootnotes}% \renewcommand*{\newunitpunct}{\addcomma\space}% \usebibmacro{cite:mla:foot}} - {} + {\multicitedelim} {\usebibmacro{mla:foot:postnote}} -\DeclareCiteCommand{\fullcite}% - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% +\DeclareCiteCommand{\fullcite} + {\usebibmacro{mla:prenote:see}}% {\usebibmacro{citeindex}% \usebibmacro{cite:mla:title}} {}% {\usebibmacro{postnote}} \DeclareCiteCommand{\headlessfullcite} - {\iffootnote{\iffieldundef{prenote} - {\global\undef\cbx@lastprenote - \printtext{See\addspace}}} - \usebibmacro{prenote}}% + {\usebibmacro{mla:prenote:see}}% {\usebibmacro{citeindex}% \usebibmacro{cite:mla:starred:title}} {}% @@ -799,21 +376,82 @@ {\printnames{author}% \savefield{namehash}{\cbx@lasthash}}} {\let\cbx@lasthash\undefined}}} + + \DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote]% 2.0 changed to align with footcite + {\bibsentence% + \usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \global\booltrue{cbx@mlafootnotes}% + \renewcommand*{\newunitpunct}{\addcomma\space}% + \usebibmacro{cite:mla:foot}} + {\multicitedelim} + {\usebibmacro{mla:foot:postnote}} + +\DeclareCiteCommand{\titleandsubtitle} + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \usebibmacro{prenote}} + {\indexfield{indextitle}% + \printtext[bibhyperref]{\printtext[citetitle]{% 2.0 added hyperref + \printfield[noformat]{title}% + \iffieldundef{subtitle}{}{\subtitlepunct}% + \printfield[noformat]{subtitle}}}}% + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\citeauthor}% + {\usebibmacro{prenote}} + {\ifciteindex + {\indexnames{labelname}} + {}% + \printnames[given-family]{labelname}%FUTURE add check for citeseen (to print first name on first mention) + } + {\multicitedelim} + {\usebibmacro{postnote}\usebibmacro{cite:save}} + +\DeclareCiteCommand*{\citeauthor}% + {\usebibmacro{prenote}} + {\ifciteindex + {\indexnames{labelname}} + {}% + \printnames[family]{labelname}% + % \ifentryseen{labelname}%FUTURE skeleton to check for first mention - doesn't work just now + % {\printnames{labelname}}% TRUE + % {\printnames[given-family]{labelname}}% FALSE + } + {\multicitedelim} + {\usebibmacro{postnote}\usebibmacro{cite:save}} -% \DeclareCiteCommand{\fullcite} -% {\usebibmacro{mla:fullcite:prenote}\usebibmacro{prenote}} -% {\usedriver -% {\DeclareNameAlias{sortname}{default}\DeclareNameAlias{default}{last-first}} -% {\thefield{entrytype}}} -% {\multicitedelim} -% {\usebibmacro{postnote}} +\DeclareCiteCommand{\citetitle} + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \usebibmacro{prenote}} + {\ifciteindex + {\indexfield{indextitle}} + {}% + \ifthenelse{\iffieldequalstr{entrytype}{unpublished}% + \AND\NOT% + \iffieldundef{entrysubtype}}% + {\printfield[citetitle:\strfield{entrysubtype}]{labeltitle}}% + {\printfield[citetitle]{labeltitle}}} + {\multicitedelim} + {\usebibmacro{postnote}} -\DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote]% - {\usebibmacro{prenote}} - {\usebibmacro{citeindex}% - \usebibmacro{cite:mla}} +\DeclareCiteCommand*{\citetitle} + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \usebibmacro{prenote}} + {\ifciteindex + {\indexfield{indextitle}} + {}% + \ifthenelse{\iffieldequalstr{entrytype}{unpublished}% + \AND\NOT% + \iffieldundef{entrysubtype}}% + {\printfield[citetitle:\strfield{entrysubtype}]{title}}% + {\printfield[citetitle]{title}}}% {\multicitedelim} - {\usebibmacro{cite:postnote}} + {\usebibmacro{postnote}} \newbibmacro*{cite:mla:starred:title}{% \ifciteibid @@ -830,11 +468,16 @@ \newbibmacro*{cite:mla:title:alone}{% \printtext[bibhyperref]{% suggested by StackExchange user Audrey - \printfield[citetitle:\strfield{entrytype}]{labeltitle}}% - \ifthenelse{\iffieldequalstr{entrytype}{suppbook}\and\iffieldundef{title}}% - {\printtext[bibhyperref]{% - \printfield[mla:capital]{entrysubtype}}}% - {}} + \ifthenelse{% + \iffieldequalstr{entrytype}{unpublished}\AND\NOT\iffieldundef{entrysubtype}% + }% + {\printfield[citetitle:\strfield{entrysubtype}]{labeltitle}}% + {\ifthenelse{\iffieldequalstr{entrytype}{suppbook}\and\iffieldundef{title}}% + {\printtext[bibhyperref]{% + \printfield[mla:capital]{entrysubtype}}}% + {\printfield[citetitle:\strfield{entrytype}]{labeltitle}}}% + }% +} \endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla.dbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla.dbx new file mode 100644 index 0000000000..7db24ca444 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla.dbx @@ -0,0 +1,56 @@ +% mla.dbx, v2.0 2021/06/07 * compatible with biblatex 3.16 +% Maintained at <https://github.com/jmclawson/biblatex-mla>. +% +% Feel free to improve, redistribute, and adapt to your own ends. Please share improvements back to the project on GitHub or to James Clawson: <clawson@gmail.com>. +% +% This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. + +\ProvidesFile{mla.dbx}[2021/06/07 v2.0 biblatex citation style] + +\DeclareDatamodelEntrytypes{mlasource} + +\DeclareDatamodelFields[type=field, datatype=literal]{ + supplemental, + titletype, + titlea, + contributora, + versiona, + numbera, + publishera, + datea, + locationa, + supplementala, + titleb, + contributorb, + versionb, + numberb, + publisherb, + dateb, + locationb, + supplementalb +} +\DeclareDatamodelEntryfields[mlasource]{ + jkauthor, + authortype, + title, + titletype, + supplemental, + titlea, + contributora, + versiona, + numbera, + publishera, + datea, + locationa, + supplementala, + titleb, + contributorb, + versionb, + numberb, + publisherb, + dateb, + locationb, + supplementalb +} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla7.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla7.bbx new file mode 100644 index 0000000000..e43dc555cd --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla7.bbx @@ -0,0 +1,1224 @@ +% This bbx file is provided for minimal compatibility with bibliographic entries described by the 7th edition of the MLA Handbook (2009). This style was superseded by a major redesign in the 8th edition in 2016, which was further clarified by the 9th edition in 2021. To use this older version, set "style=mla7" in the biblatex package options. To use the current version of the handbook, set "style=mla" for best outcomes. Biblatex-mla support and updates will prioritize the most recent edition of the MLA Handbook. + +\ProvidesFile{mla7.bbx}[2021/05/12 v2.0 biblatex bibliography style] + +\RequireBibliographyStyle{standard} +\DeclareLanguageMapping{american}{american-mla} +\DeclareLanguageMapping{english}{english-mla} + +\NewBibliographyString{byserieseditor} +\NewBibliographyString{reviewof} +\NewBibliographyString{specissue} +\NewBibliographyString{phd} +\NewBibliographyString{dphil} +\NewBibliographyString{lic} +\NewBibliographyString{ma} +\NewBibliographyString{ms} +\NewBibliographyString{msc} +\NewBibliographyString{mphil} +\NewBibliographyString{mlitt} +\NewBibliographyString{manuscript} +\NewBibliographyString{typescript} +\NewBibliographyString{director} +\NewBibliographyString{screenplay} +\NewBibliographyString{adaptation} +\NewBibliographyString{adaptor} +\NewBibliographyString{performer} +\NewBibliographyString{performers} +\NewBibliographyString{composer} +\NewBibliographyString{composedby} +\NewBibliographyString{producer} +\NewBibliographyString{with} +\NewBibliographyString{proceedings} +\NewBibliographyString{compilerandeditor}% +\NewBibliographyString{bycompilerandeditor}% +\NewBibliographyString{transof}% +\NewBibliographyString{volstodate}% +\NewBibliographyString{supptotitle}% +\NewBibliographyString{print}% +\NewBibliographyString{web}% +\NewBibliographyString{generaleditor}% + +\setlength{\bibitemsep}{0pt} +\renewcommand*{\mkbibnamesuffix}[1]{\addcomma\addlowpenspace#1} + +\DeclareNameAlias{author}{sortname} +\@ifpackagelater{biblatex}{2016/03/01}{% + \DeclareNameFormat{mla:last}{\nameparts{#1}\namepartfamily}% + \DeclareNameFormat{default}{% + \nameparts{#1}% + \ifgiveninits{% + \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}% + }{% + \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}% + }% + \usebibmacro{name:andothers}% + }% +}{% + \DeclareNameFormat{mla:last}{#1}% + \DeclareNameFormat{default}{% + \iffirstinits{% + \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}% + }{% + \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + }% + \usebibmacro{name:andothers}% + }% +} + +\defbibenvironment{bibliography} + {\list + {} + {\setlength{\leftmargin}{\bibhang}% + \setlength{\itemindent}{-\leftmargin}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}} + {\endlist} + {\item} + +\DeclareFieldFormat{title:article}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:online}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:inreference}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:book}{\mkbibemph{#1}} +\DeclareFieldFormat{title:booklet}{\mkbibemph{#1}} +\DeclareFieldFormat{title:collection}{\mkbibemph{#1}} +\DeclareFieldFormat{title:incollection}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:inbook}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:inproceedings}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:thesis}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:reviewedbook}{\bibstring{reviewof}\addspace\mkbibemph{#1}}% +\DeclareFieldFormat{title:reference}{\mkbibemph{#1}}% +\DeclareFieldFormat{url}{$<$\url{#1}$>$}% suggested by Jay Savage <http://www.engatiki.org/2007/11/28/171> +\DeclareFieldFormat{isbn}{} +\DeclareFieldFormat{pages}{#1}% +\DeclareFieldFormat[review]{volume}{#1}% +\DeclareListFormat[article]{location}% + {\unspace\mkbibbrackets{#1}\addspace}% +\DeclareFieldFormat[article]{version}{#1\isdot}% +\DeclareFieldFormat[incollection]{bibliography:origyear}{\openrangeformat{#1}\addperiod}% +\DeclareFieldFormat[video]{mla:publimedium}{\MakeCapital{film}}% +\DeclareFieldFormat{mla:publimedium}{\MakeCapital{#1}}% +\DeclareFieldFormat{mla:capital}{\MakeCapital{#1}}% +\DeclareFieldFormat{mla:capital:web}{% + \ifhyperref% + {\href{#1}{\MakeCapital{\bibstring{web}}}}% + {\MakeCapital{\bibstring{web}}}}% +\DeclareFieldFormat{mla:lowercase}{\MakeLowercase{#1}}% +\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1}}% +\DeclareFieldFormat{issuetitle}{\mkbibemph{#1}} +\DeclareFieldFormat{mla:newspaper:section}{\bibstring{section}\addspace#1}% +\DeclareFieldFormat{library}{#1\isdot}% +\DeclareFieldFormat{reviewededitor}{\bibstring{byeditor}\addspace#1}% +\DeclareFieldFormat{reviewedauthor}{\bibstring{byauthor}\addspace#1}% +\DeclareFieldFormat{title:suppbook}{\mkbibquote{#1}} +\DeclareFieldFormat{openrangevolumes}{#1~\bibstring{volstodate}}% +\DeclareFieldFormat{volumeof}{\bibstring{volume}~#1~\bibstring{ofseries}}% +\DeclareFieldFormat{mla:sentence-case}{\MakeSentenceCase{#1}}% +\DeclareFieldFormat{eprint:jstor}{% + \ifhyperref% + {\href{http://www.jstor.org/stable/#1}{\emph{JSTOR}}}% + {\emph{JSTOR}}}% +\DeclareFieldFormat{eprint:googlebooks}{% + \ifhyperref% + {\href{http://books.google.com/books?id=#1}{\emph{Google Books}}}% + {\emph{Google Books}}} +\DeclareFieldFormat{eprint:adelaide}{% + \ifhyperref% + {\href{#1}{\emph{eBooks@Adelaide}}}% + {\emph{eBooks@Adelaide}}} +\DeclareFieldFormat{eprint:muse}{%5 + \ifhyperref% + {\href{#1}{\emph{Project Muse}}}% + {\emph{Project Muse}}} +\DeclareFieldFormat{urldate}{#1}% + +\DeclareBibliographyAlias{booklet}{book} +\DeclareBibliographyAlias{bookinbook}{incollection}% +\DeclareBibliographyAlias{collection}{book} +\DeclareBibliographyAlias{reference}{book} + +\DeclareBibliographyAlias{inbook}{incollection}% + +\DeclareBibliographyAlias{manual}{customa} +\DeclareBibliographyAlias{misc}{customa} +\DeclareBibliographyAlias{online}{article} +\DeclareBibliographyAlias{patent}{customa} +\DeclareBibliographyAlias{report}{customa} +\DeclareBibliographyAlias{suppcollection}{suppbook} + +\DeclareFieldAlias[online]{maintitle}{journaltitle} + +\renewcommand*{\newunitpunct}{\addperiod\space} +\renewcommand*{\andothersdelim}{\ifcitation{}{\addcomma}\addspace} +\renewcommand*{\bibpagespunct}{\addperiod\space} +\renewcommand*{\subtitlepunct}{\ifterm{}{\addcolon}\space} + +\newboolean{bbx@mla-incollection} +\newbool{bbx@inset} + +\DeclareBibliographyOption{dashed}[true]{% + \ifstrequal{#1}{true} + {\ExecuteBibliographyOptions{pagetracker}% + \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}} + {\ExecuteBibliographyOptions{pagetracker=false}% + \renewbibmacro*{bbx:savehash}{}}} + +\newboolean{bbx@annotation}% same as biblatex-dw +\DeclareBibliographyOption{annotation}[true]{% +\setboolean{bbx@annotation}{#1}} + +\newboolean{bbx@totalnames} +\DeclareEntryOption{totalnames}[true]{% + \setboolean{bbx@totalnames}{#1}} + +% for translated incollections where the collection has no shared translator +\newboolean{bbx@uniquetranslator}% +\DeclareEntryOption{uniquetranslator}[true]{% + \setboolean{bbx@uniquetranslator}{#1}} + +\newbool{bbx:gnoreminfo}% +\setboolean{bbx:gnoreminfo}{false} +\DeclareBibliographyOption{noremoteinfo}[true]{\setboolean{bbx:gnoreminfo}{#1}} + +\newbool{bbx:lnoreminfo}% +\setboolean{bbx:lnoreminfo}{false} +\DeclareEntryOption{noremoteinfo}[true]{\setboolean{bbx:lnoreminfo}{#1}} + +\newbool{bbx@publimedium}% +\setboolean{bbx@publimedium}{true}% +\DeclareBibliographyOption{showmedium}[true]{\setboolean{bbx@publimedium}{#1}}% + +\newbool{bbx@guessmedium}% +\setboolean{bbx@guessmedium}{true} +\DeclareBibliographyOption{guessmedium}[true]{\setboolean{bbx@guessmedium}{#1}}% + +\newboolean{bbx@nodate}% +\DeclareEntryOption{nodate}[true]{% + \setboolean{bbx@nodate}{#1}} + + +% 0.7.1 for years with open range +\newrobustcmd{\openrangeformat}[1]{% 0.7.1 + \begingroup% + \let\blx@org@rangedash=\bibrangedash% + \def\bibrangedash{% + \blx@org@rangedash% + \futurelet\@let@token\blx@openrangeformat}% + #1% + \endgroup} + +% 0.7.1 for years with open range +\newcommand*{\blx@openrangeformat}{% 0.7.1 + \ifx\@let@token\endgroup% + \openrangemark% + \fi} + +% 0.7.1 for years with open range +\newcommand*{\openrangemark}{\mbox{ }}% 0.7.1 + +\newbibmacro*{bbx:savehash}{% + \savefield{fullhash}{\bbx@lasthash}} + +\renewcommand*{\bibnamedash}{% suggested by StackExchange user Audrey + \mlanamedash% + \iffieldundef{nameaddon}{\setunit{\adddot\addspace}}{\nopunct}}% + +\newcommand*{\mlanamedash}{\printtext{\textendash\textendash\textendash}} + +\renewbibmacro*{author}{% + \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}} + {\usebibmacro{bbx:dashcheck}% + {\bibnamedash}% + {\ifbool{bbx@totalnames}% + {\printnames[sortname][-\value{listtotal}]{author}} + {\printnames{author}}% + \usebibmacro{bbx:savehash}}% + \iffieldundef{nameaddon}% + {}% + {\setunit{\addspace}% + \printfield{nameaddon}}% + \iffieldundef{authortype}% + {}% + {\setunit{\addcomma\space}% + \usebibmacro{authorstrg}}}% + {\global\undef\bbx@lasthash}} + +\renewbibmacro*{editor}{% + \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}% + {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT + \iffirstonpage}% + {\mbox{\mlanamedash\unspace\addcomma\addspace}}% + {\ifbool{bbx@totalnames}% + {\printnames[sortname][-\value{listtotal}]{editor}}% + {\printnames{editor}}% + \setunit{\addcomma\space}% + \savefield{namehash}{\bbx@lasthash}}% + \usebibmacro{editorstrg}\clearname{editor}}% + {\global\undef\bbx@lasthash}} + +\renewbibmacro*{editor+others}{% + \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}% + {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT + \iffirstonpage}% + {\mbox{\mlanamedash\unspace\addcomma\addspace}}% + {\ifbool{bbx@totalnames}% + {\printnames[sortname][-\value{listtotal}]{editor}}% + {\printnames[sortname]{editor}}% + \setunit{\addcomma\space}% + \savefield{namehash}{\bbx@lasthash}}% + \usebibmacro{editor+othersstrg}\clearname{editor}}% + {\global\undef\bbx@lasthash}} + +\renewbibmacro*{translator}{% + \ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}% + {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT + \iffirstonpage}% + {\mbox{\mlanamedash\unspace\addcomma\addspace}}% + {\ifbool{bbx@totalnames}% + {\printnames[sortname][-\value{listtotal}]{translator}}% + {\printnames[sortname]{translator}}% + \setunit{\addcomma\space}% + \savefield{namehash}{\bbx@lasthash}}% + \usebibmacro{translatorstrg}\clearname{translator}}% + {\global\undef\bbx@lasthash}} + +\renewbibmacro*{translator+others}{% + \ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}% + {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT + \iffirstonpage}% + {\mbox{\mlanamedash\unspace\addcomma\addspace}}% + {\ifbool{bbx@totalnames}% + {\printnames[sortname][-\value{listtotal}]{translator}}% + {\printnames[sortname]{translator}}% + \setunit{\addcomma\space}% + \savefield{namehash}{\bbx@lasthash}}% + \usebibmacro{translator+othersstrg}\clearname{translator}}% + {\global\undef\bbx@lasthash}} + +\newbibmacro*{journal+issue+year+pages}{% + \usebibmacro{journal+ser+vol+num}% + \setunit{\addspace}% + \printtext[parens]{% + \iffieldundef{issue}% + {\iffieldundef{month}% + {\printfield{year}}% + {\iffieldundef{day}% + {\printfield{month}% + \setunit{\addspace}% + \printfield{year}}% + {\printtext{\bibdate}}}}% + {\printfield{issue}% + \setunit{\addspace}% + \printfield{year}}}% + \addcolon\addspace + \printfield{pages}} + +\renewbibmacro*{date}{\printdate}% + +\renewbibmacro*{url+urldate}{% + \ifthenelse{\boolean{bbx@publimedium}\AND\NOT \(\iffieldundef{url} \AND \iffieldundef{eprint}\)}% + {\printfield[mla:capital:web]{url}\newunit}% + {\iffieldundef{urlyear}{}{\setunit{\addspace}}}% + \iffieldundef{urlyear}% + {}% + {\printtext{\printurldate}% + \setunit{\addspace}}% Suggested by Stephen Brumbaugh + \ifthenelse{\boolean{bbx@publimedium}\AND\NOT\iffieldundef{url}}% + {\ifthenelse{\boolean{bbx:gnoreminfo}}% + {}% + {\setunit{\newunitpunct}% + \printfield{url}}}% + {\printfield{url}}% + } + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\labelnamepunct}\newblock% + \usebibmacro{mla:article:journal+issuetitle}% + \newunit\newblock + \printfield{note}% + \setunit{\addcolon\addspace}\newblock + \printfield{pages}% + \newunit\newblock + \usebibmacro{mla:isbn/issn+doi+eprint}% + \newunit\newblock + \ifbool{bbx@publimedium}{}{\usebibmacro{url+urldate}}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \newunit% + \usebibmacro{publimedium}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \usebibmacro{mlabelnamepunct}% + \usebibmacro{title}% + \newunit% + \usebibmacro{bytranslator+others}% + \newunit% + \usebibmacro{mla:article:journal+issuetitle}% + \newunit\newblock + \printfield{note}% + \setunit{\addcolon\addspace}\newblock + \printfield{pages}% + \newunit\newblock + \usebibmacro{mla:isbn/issn+doi+eprint}% + \newunit\newblock + \ifbool{bbx@publimedium}{}{\usebibmacro{url+urldate}}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \newunit% + \usebibmacro{publimedium}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{book}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \usebibmacro{mlabelnamepunct}% + \usebibmacro{maintitle+title}% + \newunit\newblock% + \usebibmacro{byeditor+others}% + \newunit\newblock% + \printfield{edition}\isdot% + \newunit% + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}}% + {}% + \newunit% + \iffieldundef{volume}% + {\printfield{volumes}\clearfield{volumes}}% + {}%% + \newunit\newblock% + \ifbool{bbx@publimedium}% + {}% + {\usebibmacro{series+number}}% + \newunit\newblock% + \printfield{note}% + \newunit\newblock% + \usebibmacro{publisher+location+date}% + \newunit\newblock% + \printfield{pages}% + \newunit\newblock% + \usebibmacro{mla:isbn/issn+doi+eprint}% + \newunit\newblock% + \iffieldundef{origtitle}% + {}% + {\ifbool{bbx@publimedium}% + {} + {\usebibmacro{mla:reprint}}}% + \newunit\newblock% + \iffieldundef{volumes}% + {}% + {\usebibmacro{mla:multivolumes}}% + \newunit\newblock% + \printfield[mla:sentence-case]{addendum}% + \newunit\newblock% + \usebibmacro{pageref}% + \newunit% + \usebibmacro{publimedium}% + \usebibmacro{finentry}} + +\newbibmacro*{mla:reprint}{% + \iffieldundef{origtitle}% + {\newunit}% + {\iffieldundef{origlanguage} + {\setunit{\newunitpunct\bibstring{reprintof}\addspace}}% + {\setunit{\newunitpunct\bibstring{transof}\addspace}}% +}% + \printfield[title:\strfield{entrytype}]{origtitle}% + \newunit\newblock% + \printlist{origlocation}\clearlist{origlocation}% + \setunit*{\addcolon\addspace}% + \printlist{origpublisher}\clearlist{origpublisher}% + \setunit*{\addcomma\addspace}% + \ifbool{bbx@mla-incollection}% + {\printfield[bibliography:origyear]{origyear}\clearfield{origyear}}% + {\ifthenelse{\iffieldundef{volume}\OR\iffieldundef{volumes}}% 1.4.9 cleared up most spurious punct + {\printorigdate\clearfield{origyear}}% + {}% + }% +} + +\newbibmacro*{mla:multivolumes}{% + \iffieldundef{maintitle}% + {}% + {\printfield[volumeof]{volume}% + \setunit{\addspace}% + \usebibmacro{maintitle}}% + \usebibmacro{mla:generaleditor}% + \iffieldequalstr{eventendyear}{}% + {\printfield[openrangevolumes]{volumes}\clearfield{volumes}}% + {\printfield{volumes}\clearfield{volumes}}% + \newunit\newblock% + \printeventdate\clearfield{eventyear}% +} + + +\renewbibmacro*{byeditorx}{% + \usebibmacro{byeditorx:internal}{a}% + \usebibmacro{byeditorx:internal}{b}% + \usebibmacro{byeditorx:internal}{c}% +} + +\newbibmacro*{byeditorx:internal}[1]{% + \ifnameundef{editor#1} + {} + {\iffieldequalstr{editor#1type}{generaleditor} + {} + {\usebibmacro{bytypestrg}{editor#1}{editor}% + \setunit{\addspace}% + \printnames[byeditor#1]{editor#1}% + \newunit}}% +} + +\newbibmacro*{mla:generaleditor}{% + \usebibmacro{mla:generaleditor:internal}{}% + \usebibmacro{mla:generaleditor:internal}{a}% + \usebibmacro{mla:generaleditor:internal}{b}% + \usebibmacro{mla:generaleditor:internal}{c}% +} + +\newbibmacro*{mla:generaleditor:internal}[1]{% + \iffieldequalstr{editor#1type}{generaleditor}% + {\printnames{editor#1}% + \setunit{\addcomma\addspace}% + \bibstring{generaleditor}% + \newunit}% + {}% +} + +\newbibmacro*{mla:isbn/issn+doi+eprint}{% 0.7.1 modeled after biblatex-apa, here just a proof of concept and work in progress, ignoring any of the URL hiding implemented by Philip Kime + \ifthenelse{\boolean{bbx:gnoreminfo}\OR\boolean{bbx:lnoreminfo}}% + {\global\boolfalse{bbx:lnoreminfo}}% + {\printfield{isbn}\clearfield{isbn}% + \newunit\newblock% + \printfield{issn}\clearfield{issn}% + \newunit\newblock% + \printfield{isrn}\clearfield{isrn}% + \newunit\newblock% + \printfield{doi}\clearfield{doi}% + \newunit\newblock% + \usebibmacro{eprint}% + }} + +\DeclareBibliographyDriver{suppbook}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor}% + \usebibmacro{mlabelnamepunct}% + \usebibmacro{maintitle+title}% + \newunit\newblock + \printfield[mla:capital]{entrysubtype}% + \newunit\newblock + \iffieldundef{crossref}% + {\iffieldundef{xref}% + {\usebibmacro{mla:incollection:internal}}% + {\bbx@crossref{\thefield{xref}}% + \setunit{\addspace}% + \printfield{pages}}}% + {\bbx@crossref{\thefield{crossref}}% + \setunit{\addspace}% + \printfield{pages}% + \newunit}% + \newunit% + \usebibmacro{publimedium}% + \usebibmacro{finentry}} + +\DeclareCiteCommand{\bbx@crossref}% + {} + {\ifsingletitle% + {\printtext[bibhyperref]{\printnames{labelname}}% + \setunit{\space}}% + {\printnames{labelname}% + \setunit{\addcomma\addspace}% + \printtext[bibhyperref]{\printfield[citetitle:book]{labeltitle}} + \setunit{\space}}}% + {}% + {} + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \usebibmacro{mlabelnamepunct}% + \ifthenelse{% + \iffieldequalstr{entrysubtype}{book}% + \OR% + \iffieldequalstr{entrysubtype}{play}% + \OR% + \iffieldequalstr{entrytype}{bookinbook}}% + {\usebibmacro{title:incollection:italics}}% + {\setboolean{bbx@mla-incollection}{true}% + \usebibmacro{title}% + \setboolean{bbx@mla-incollection}{false}}% + \newunit\newblock% + \ifbool{bbx@uniquetranslator}% + {\usebibmacro{bytranslator+others}\newunit}% + {}% + \newunit\newblock% + \iffieldundef{crossref}% + {\iffieldundef{xref}% + {\usebibmacro{mla:incollection:internal}}% + {\bbx@crossref{\thefield{xref}}% + \setunit{\addspace}% + \printfield{pages}}}% + {\bbx@crossref{\thefield{crossref}}% + \setunit{\addspace}% + \printfield{pages}% + \newunit}% + \newunit% + \usebibmacro{publimedium}% + \usebibmacro{finentry}} + +\newbibmacro*{mla:incollection:internal}{% + \setboolean{bbx@mla-incollection}{true}% + \usebibmacro{maintitle+booktitle}% + \ifthenelse{% + \iffieldequalstr{entrytype}{suppbook}% + \OR% + \iffieldequalstr{entrytype}{suppcollection}}% + {\setunit{\newunitpunct\bibstring{byauthor}\addspace}% + \ifnamesequal{labelname}{bookauthor}% + {\printnames[mla:last]{bookauthor}}% + {\printnames[byauthor]{bookauthor}}}% + {}% + \newunit\newblock% + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{edition}\isdot% + \newunit + \iffieldundef{maintitle}% + {\printfield{volume}\printfield{part}}% + {}% + \newunit + \iffieldundef{volume}% + {\printfield{volumes}\clearfield{volumes}}% + {}%% + \newunit\newblock + \ifbool{bbx@publimedium}% + {}% + {\usebibmacro{series+number}}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \usebibmacro{mla:isbn/issn+doi+eprint}% + \newunit\newblock + \ifbool{bbx@publimedium}{}{\usebibmacro{url+urldate}}% + \newunit\newblock + \iffieldundef{volumes}% + {}% + {\usebibmacro{mla:multivolumes}}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \setboolean{bbx@mla-incollection}{false}} + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \usebibmacro{mlabelnamepunct}% + \usebibmacro{title}% + \newunit\newblock + \usebibmacro{mla:proceedings:booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \ifbool{bbx@publimedium}% + {}% + {\usebibmacro{series+number}}% + \newunit\newblock + \printfield{note}% + \newunit + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \newunit% + \usebibmacro{publimedium}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \usebibmacro{mlabelnamepunct}% + \usebibmacro{mla:proceedings:booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \ifbool{bbx@publimedium}% + {}% + {\usebibmacro{series+number}}% + \newunit\newblock + \printfield{note}% + \newunit + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \newunit% + \usebibmacro{publimedium}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{unpublished}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \usebibmacro{mlabelnamepunct}% + \usebibmacro{title}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{mla:all:type}% + \newunit\newblock + \printfield{number}% + \newunit\newblock + \printfield{library}% + \setunit{\addcomma\addspace}% + \printlist{location}% + \newunit\newblock + \printfield{addendum}% + \newunit% + \usebibmacro{publimedium}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \usebibmacro{mlabelnamepunct}% + \usebibmacro{title}% + \newunit\newblock% + \usebibmacro{mla:thesis:type}% + \newunit\newblock + \printlist{institution}% + \setunit*{\addcomma\space}% + \iffieldequalstr{entrysubtype}{published}% + {\printfield{origyear}\clearfield{origyear}}% 1.4.9 cleared origyear + {\printfield{year}}% + \newunit\newblock + \iffieldequalstr{entrysubtype}{published}% + {\ifbool{bbx@publimedium}% + {}% + {\usebibmacro{series+number}}% + \newunit% + \printlist{location}% + \setunit{\addcolon\addspace}% + \printlist{publisher}% + \setunit{\addcomma\addspace}% + \printfield{year}}% + {}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \newunit% + \usebibmacro{publimedium}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{review}{% + \usebibmacro{bibindex}% + \usebibmacro{author}% + \usebibmacro{mlabelnamepunct}% + \printfield[title:article]{title}% + \newunit\newblock% + \printfield[title:reviewedbook]{booktitle}% + \setunit{\addcomma\space}% + \ifnameundef{bookauthor}% + {\printtext[reviewededitor]{\printnames[default]{editor}}}% + {\printtext[reviewedauthor]{\printnames[default]{bookauthor}}}% + \newunit\newblock + \usebibmacro{journal}% + \setunit*{\addspace}% + \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine}}% + {\printfield[brackets]{location}% + \printtext{\printdate}% + \newunit}% + {\printfield{series}\clearfield{series}% + \setunit{\addspace}% + \printfield[default]{volume}% + \setunit*{\adddot}% + \printfield{number}\clearfield{number}% + \setunit{\addcomma\space}% + \printfield{eid}% + \setunit{\addspace}% + \usebibmacro{issue+date}% + \newunit\newblock% + \usebibmacro{issue}% + \newunit}% + \setunit{\addcolon\addspace}% + \printfield{pages}% + \newunit\newblock% + \usebibmacro{publimedium}% 1.4.9 updated + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inreference}{% + \usebibmacro{bibindex}% + \usebibmacro{author}% + \usebibmacro{mlabelnamepunct}% + \usebibmacro{title}% + \newunit\newblock% + \iffieldundef{crossref}% + {\iffieldundef{xref}% + {\newunit\newblock + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \iffieldsequal{year}{edition}% + {\printfield{year}~\bibstring{edition}\clearfield{year}}% + {\printfield{edition}\isdot}% + \newunit + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}}% + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \ifbool{bbx@publimedium}% + {}% + {\usebibmacro{series+number}}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \usebibmacro{mla:isbn/issn+doi+eprint}% + \newunit\newblock + \ifbool{bbx@publimedium}{}{\usebibmacro{url+urldate}}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}}% + {}}% + {\bbx@crossref{\thefield{crossref}}% + \nopunct\unspace\printfield{pages}}% + \newunit% + \usebibmacro{publimedium}% + \usebibmacro{finentry}} + +\newbibmacro{mlabelnamepunct}{\setunit{\labelnamepunct}\newblock} + +\newbibmacro{mla:video:localized:last-first}[1]{% + \ifnameundef{#1}% + {}% + {\printnames{#1}\addcomma\addspace% + \ifthenelse{\iffieldbibstring{#1type} \and \not % + \iffieldundef{#1type}}% + {\bibstring{\thefield{#1type}}}% + {\iffieldundef{#1type}% + {\bibstring{with}}% + {\printfield[mla:lowercase]{#1type}}}}% +\iffootnote{\setunit{\addcomma\addspace}}{\newunit}}% + +\newbibmacro{mla:video:name:first:footnote}[1]{% + \ifnameundef{#1}% + {}% + {\printnames[byeditor]{#1}\addcomma\addspace% + \ifthenelse{\iffieldbibstring{#1type} \and \not % + \iffieldundef{#1type}}% + {\bibstring{\thefield{#1type}}}% + {\iffieldundef{#1type}% + {\bibstring{with}}% + {\printfield[mla:lowercase]{#1type}}}}% + \clearname{#1}% +} + +\newbibmacro{mla:video:localized:first-last}[1]{% + \ifnameundef{#1}% + {}% + {\ifthenelse{\iffieldbibstring{#1type} \and \not % + \iffieldundef{#1type} \and \not % + \iffieldequalstr{#1type}{composer}}% + {\bibstring{\thefield{#1type}}}% + {\iffieldundef{#1type}% + {\bibstring{with}}% + {\iffieldequalstr{#1type}{composer}% + {\bibstring{composedby}}% + {\printfield[mla:capital]{#1type}}}}% + \addspace\printnames[byeditor][-\value{listtotal}]{#1}}% +\newunit}% + +\newbibmacro{mla:video:name:second:footnote}[1]{% + \ifnameundef{#1}% + {}% + {\ifthenelse{\iffieldbibstring{#1type} \and \not % + \iffieldundef{#1type} \and \not % + \iffieldequalstr{#1type}{composer}}% + {\bibstring{\thefield{#1type}}}% + {\iffieldundef{#1type}% + {\bibstring{with}}% + {\iffieldequalstr{#1type}{composer}% + {\bibstring{composedby}}% + {\printfield[mla:lowercase]{#1type}}}}% + \addspace\printnames[byeditor][-\value{listtotal}]{#1}% + }}% + +\DeclareBibliographyDriver{video}{% + \ifnamesequal{labelname}{author}% + {\usebibmacro{mla:video:localized:last-first}{author}}{}% + \ifnamesequal{labelname}{editor}% + {\usebibmacro{mla:video:localized:last-first}{editor}}{}% + \printfield{title}% + \setunit{\newunitpunct\bibstring{byauthor}\addspace}% + \printnames[byeditor]{bookauthor}% + \newunit% + \ifthenelse{\NOT\ifnamesequal{author}{labelname}% + \AND\NOT\ifnameundef{author}}% + {\usebibmacro{mla:video:localized:first-last}{author}}% + {}% + \ifthenelse{\NOT\ifnamesequal{editor}{labelname}% + \AND\NOT\ifnameundef{editor}}% + {\usebibmacro{mla:video:localized:first-last}{editor}}% + {}% + \usebibmacro{mla:video:localized:first-last}{namea}% + \usebibmacro{mla:video:localized:first-last}{nameb}% + \usebibmacro{mla:video:localized:first-last}{namec}% + \printfield{origyear}\clearfield{origyear}% + \newunit\newblock% + \printlist{publisher}% + \setunit{\addcomma\addspace}% + \printfield{year}% + \newunit\newblock% + \usebibmacro{publimedium}% 1.4.9 updated to most recent MLA format + \usebibmacro{finentry}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % % % % % % % % % % % % % % % % % % % % % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% drivers to add eventually: +% * \DeclareBibliographyDriver{misc} +% * \DeclareBibliographyDriver{artwork} +% * \DeclareBibliographyDriver{audio} +% * \DeclareBibliographyDriver{image} +% * \DeclareBibliographyDriver{movie} +% * \DeclareBibliographyDriver{music} +% * \DeclareBibliographyDriver{performance} +% +% Specifically important mainstay types to add for MLA users +% 0 support for multiple publishers? % can't do with bibtex +% * editorial +% * letter (to the editor, etc.) +% * interview + +\newbibmacro*{mtitle+mstitle+vol+part+title+stitle}{% + \iffieldundef{maintitle}% + {}% + {\printtext[maintitle]{% + \printfield[noformat]{maintitle}% + \newunit + \printfield[noformat]{mainsubtitle}}% + \newunit + \printfield{maintitleaddon}% + \newunit\newblock + \iffieldundef{volume}% + {}% + {\printfield{volume}% + \printfield{part}% + \setunit{\addcolon\space}}}% + \usebibmacro{title+stitle}} + +\renewbibmacro*{series+number}{% + \iffieldundef{series}% + {}% + {\printfield{series}\clearfield{series}\setunit*{\addspace}\printfield{number}}% +} + +\renewbibmacro*{title}{% + \iffieldequalstr{entrytype}{thesis}% + {\usebibmacro{mla:title:thesis}}% + {\iffieldequalstr{entrytype}{unpublished}% + {\usebibmacro{mla:title:unpublished}}% + {\usebibmacro{title+stitle}}}}% + +\renewbibmacro*{publisher+location+date}{% + \printlist{location}% + \iflistundef{publisher}% + {\setunit*{\addcomma\space}}% + {\setunit*{\addcolon\space}}% + \printlist{publisher}% + \setunit*{\addcomma\space}% + \ifbool{bbx@nodate}{\printtext{n.d.}}% + \printdate% + \newunit} + +\newbibmacro*{mla:title:unpublished}{% + \ifthenelse{\iffieldundef{author} \AND \iffieldundef{nameaddon}}% + {\unspace}% + {}% + \iffieldundef{title}% + {}% + {\printtext[title:article]{% + \printfield[noformat]{title}% + \setunit{\subtitlepunct}% + \printfield[noformat]{subtitle}}}% + \newunit + \printtext[title:book]{% + \printfield[noformat]{booktitle}% + \setunit{\subtitlepunct}% + \printfield[noformat]{booksubtitle}}% + \newunit + \ifcitation% + {\printfield[mla:lowercase]{titleaddon}}% + {\printfield{titleaddon}}% + \setunit{\addcomma\addspace}} + +\newbibmacro*{name:first-last:andothers}{% + \ifthenelse{\value{listcount}=\value{liststop}\AND + \ifmorenames} + {\ifnum\value{liststop}>1 \finalandcomma\fi + \addspace\bibstring{andothers}} + {}} + +\newbibmacro*{mla:title:thesis}{% + \iffieldundef{title}% + {}% + {\iffieldequalstr{entrysubtype}{published}% + {\printtext[title:book]{% + \printfield[noformat]{title}% + \setunit{\subtitlepunct}% + \printfield[noformat]{subtitle}}}% + {\printtext[title:\strfield{entrytype}]{% + \printfield[noformat]{title}% + \setunit{\subtitlepunct}% + \printfield[noformat]{subtitle}}}% + \newunit% + \printfield{titleaddon}% + \newunit\newblock}} + +\newbibmacro*{mla:thesis:type}{% + \iffieldundef{type}% + {\printtext[mla:capital]{\bibstring{phdthesis}}}% + {\usebibmacro{mla:all:type}}}% + +\newbibmacro*{mla:all:type}{% + \ifbibstring{\thefield{type}}% + {\printtext[mla:capital]{\bibstring{\thefield{type}}}}% + {\printtext[mla:capital]{\printfield{type}}}}% + +\newbibmacro*{mla:all:type:foot}{% + \ifbibstring{\thefield{type}}% + {\printtext[noformat]{\bibstring{\thefield{type}}}}% + {\printtext[noformat]{\printfield{type}}}}% + +\renewbibmacro*{maintitle+title}{% + \usebibmacro{title}% + \newunit% + \iffieldsequal{maintitle}{title}% + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}}% + {}% + \iffieldundef{volume}% + {\usebibmacro{maintitle}}% + {}% + \iffieldundef{maintitle}% + {\printfield{volume}\clearfield{volume}}% + {}% + \newunit\newblock} + +\renewbibmacro*{maintitle+booktitle}{% + \usebibmacro{booktitle}% + \newunit + \iffieldundef{maintitle}% + {}% + {\usebibmacro{maintitle}% + \newunit\newblock + \iffieldundef{volume}% + {}% + {\printfield{volume}% + \printfield{part}% + \setunit{\addcolon\space}}}% + \newunit} + +\newbibmacro*{mla:proceedings:booktitle}{% + \usebibmacro{booktitle}% + \newunit% + \iffieldundef{eventtitle}% + {}% + {\printtext[default]{% + \bibstring{proceedings}\addspace\bibstring{ofseries}\addspace% + \printfield[default]{eventtitle}\isdot}}% + \setunit*{\isdot\addcomma\addspace}% + \printlist{organization}% + \setunit*{\addcomma\addspace}% + \printeventdate% + \setunit*{\addcomma\addspace}% + \printlist{institution}% + \setunit*{\addcomma\addspace}% + \printfield{venue}} + +\newbibmacro*{title+stitle}{% + \iffieldundef{title}% + {\ifthenelse{% + \iffieldequalstr{entrytype}{suppbook}% + \OR% + \iffieldequalstr{entrytype}{suppcollection}}% + {}% + {\printtext[title:\strfield{entrytype}]{% + \printfield[noformat]{booktitle}% + \setunit*{\subtitlepunct}% + \printfield[noformat]{booksubtitle}}}}% + {\printtext[title:\strfield{entrytype}]{% + \printfield[noformat]{title}% + \setunit*{\subtitlepunct}% + \printfield[noformat]{subtitle}}}% + \newunit% + \printfield[noformat]{titleaddon}% + \newunit% + \usebibmacro{byauthor}% + \iffieldundef{origtitle}% + {\usebibmacro{mla:reprint}}% + {}% +}% + +\newbibmacro*{title:incollection:italics}{% + \iffieldundef{title}% + {}% + {\printtext[title:book]{% + \printfield[noformat]{title}% + \setunit*{\subtitlepunct}% + \printfield[noformat]{subtitle}}% + \newunit% + \printfield[noformat]{titleaddon}% + \newunit% + \setboolean{bbx@mla-incollection}{true}\usebibmacro{mla:reprint}\setboolean{bbx@mla-incollection}{false}% + \newunit\newblock}} + +\newbibmacro*{mla:article:journal+issuetitle}{% + \usebibmacro{issue}% + \newunit\newblock% + \iffieldundef{issuetitle}% + {}% + {\usebibmacro{byeditor+others}% + \newunit\newblock% + \bibstring{specissue}\setunit*{\addspace}}% + \ifthenelse{\iffieldequalstr{entrytype}{periodical} \AND \iffieldundef{journaltitle}}% + {\usebibmacro{periodical}}% + {\usebibmacro{journal}}% + \ifthenelse{\iffieldequalstr{entrytype}{online}}{\usebibmacro{mla:online}}{\setunit*{\addspace}}% + \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine} \or \iffieldequalstr{entrytype}{online}}% + {\printlist[brackets]{location}% + \printtext{\printdate}% + \setunit*{\addcomma\addspace}% + \printfield{version}% + \setunit*{\addcomma\addspace}% + \printfield[mla:newspaper:section]{chapter}% + }% + {\printfield{series}\clearfield{series}% + \setunit*{\addspace}% + \printfield{volume}% + \setunit*{\adddot}% + \printfield{number}\clearfield{number}% + \setunit*{\addcomma\space}% + \usebibmacro{mla:isbn/issn+doi+eprint}% + \setunit{\addspace}% + \usebibmacro{issue+date}% + \newunit\newblock + \newunit}% +} + +\newbibmacro*{mla:online}{% + \iffieldundef{maintitle}% + {}% + {\printtext[maintitle]{% + \printfield[titlecase]{maintitle}% + \setunit{\subtitlepunct}% + \printfield[titlecase]{mainsubtitle}}}% + \newunit\newblock% + \printlist{publisher}% + \setunit*{\addcomma\addspace}% +} + +\renewbibmacro*{journal+issuetitle}{% + \usebibmacro{journal}% + \setunit*{\addspace}% + \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine}}% + {\printlist[brackets]{location}% + \printtext{\printdate}% + \setunit{\addcomma\addspace}% + \printfield{version}% + \setunit{\addcomma\addspace}% + \printfield[mla:newspaper:section]{chapter}% + }% + {\printfield{series}\clearfield{series}% + \setunit{\addspace}% + \printfield{volume}% + \setunit*{\adddot}% + \printfield{number}\clearfield{number}% + \setunit{\addcomma\space}% + \usebibmacro{mla:isbn/issn+doi+eprint}% + \setunit{\addspace}% + \usebibmacro{issue+date}% + \newunit\newblock + \usebibmacro{issue}% + \newunit}} + +\renewbibmacro{finentry}{% + \finentry% + \iffieldundef{annotation}% + {}% + {\ifbool{bbx@annotation}% + {\begin{quotation}\noindent% + \printfield{annotation}% + \end{quotation}}% + {}}% +} + +\newbibmacro{publimedium}{% + \ifbool{bbx@publimedium}% + {\printfield[mla:capital]{howpublished}% + \ifthenelse{\iffieldundef{howpublished}\AND\boolean{bbx@guessmedium}}% + {\ifthenelse{\iffieldundef{url}\AND\iffieldundef{eprinttype}}% + {\printtext[mla:publimedium]{\bibstring{print}}}% + {\iffieldundef{eprinttype}% + {\printfield{eprint}}% + {\printfield[eprint:\strfield{eprinttype}]{eprint}}% + \newunit% + \usebibmacro{url+urldate}% + }% + }% + {}%-keep-blank + \newunit% + \usebibmacro{series+number}}% + \newunit% + \usebibmacro{mla:reprint}% + {}%-keep-blank +} + +\newbibmacro*{bbx:dashcheck}[2]{% + \ifboolexpr{ + test {\iffieldequals{fullhash}{\bbx@lasthash}} + and + not test \iffirstonpage + and + ( + not bool {bbx@inset} + or + test {\iffieldequalstr{entrysetcount}{1}} + ) + } + {#1} + {#2}} + +\endinput + + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla7.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla7.cbx new file mode 100644 index 0000000000..b781433e83 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/mla7.cbx @@ -0,0 +1,5 @@ +\ProvidesFile{mla7.cbx}[2021/05/12 v2.0 biblatex bibliography style] + +\RequireCitationStyle{mla} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/portuguese-mla.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/portuguese-mla.lbx index ac58fc1ac0..c9300b8a3a 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/portuguese-mla.lbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/portuguese-mla.lbx @@ -16,17 +16,17 @@ {} {\mkbibmonth{\thefield{#2}}% \iffieldundef{#1}{}{\space}}% - \mkdatezeros{\thefield{#1}}}% + \mkyearzeros{\thefield{#1}}}% \protected\def\mkbibdateshort#1#2#3{% \iffieldundef{#3} {} - {\mkdatezeros{\thefield{#3}}% + {\mkdayzeros{\thefield{#3}}% \iffieldundef{#2}{}{/}}% \iffieldundef{#2} {} - {\mkdatezeros{\thefield{#2}}% + {\mkmonthzeros{\thefield{#2}}% \iffieldundef{#1}{}{/}}% - \mkdatezeros{\thefield{#1}}}% + \mkyearzeros{\thefield{#1}}}% } \DeclareBibliographyStrings{% @@ -87,19 +87,36 @@ msc = {{Tese de Mestr\adddot}{Tese de Mestr\adddot}},% 0.6 mphil = {{Tese de Mestr\adddot}{Tese de Mestr\adddot}},% 0.6 mlitt = {{Tese de Mestr\adddot}{Tese de Mestr\adddot}},% 0.6 - % manuscript = {{ms\adddot}{ms\adddot}},% FIXME - % typescript = {{ts\adddot}{ts\adddot}},% FIXME - % director = {{dir\adddot}{dir\adddot}},% FIXME - % screenplay = {{adapt\adddot}{adapt\adddot}},% FIXME - % adaptation = {{adapt\adddot}{adapt\adddot}},% FIXME - % adaptor = {{adapt\adddot}{adapt\adddot}},% FIXME - % performer = {{perf\adddot}{perf\adddot}},% FIXME - % performers = {{perf\adddot}{perf\adddot}},% FIXME - % composer = {{composer\adddot}{composer\adddot}},% FIXME - % composedby = {{composed~by}{composed~by}},% FIXME - % producer = {{prod\adddot}{prod\adddot}},% FIXME - % with = {{with}{with}},% FIXME - % proceedings = {{proc\adddot}{proc\adddot}},% FIXME + % FIXME 2.0 check the following for quality of Portuguese translation + manuscript = {{manuscrito}{manuscrito}}, + patentde = {{Deutsches Patent- und Markenamt}{DE}},% localised in German + patenteu = {{Escritório Europeu de Patentes}{EU}}, + patentfr = {{Institut National de la Propriété Industrielle}{FR}},% localised in French + patentuk = {{The Intellectual Property Office of the United Kingdom}{UK}},% localised in English + patentus = {{United States Patent and Trademark Office}{US}},% localised in English + % patreq = {{patent request}{pat\adddot\ req\adddot}}, + % patreqde = {{German patent request}{German pat\adddot\ req\adddot}}, + % patreqeu = {{European patent request}{European pat\adddot\ req\adddot}}, + patreqfr = {{Institut National de la Propriété Industrielle}{FR pat\adddot req\adddot}}, + % patrequk = {{British patent request}{British pat\adddot\ req\adddot}}, + % patrequs = {{U.S\adddotspace patent request}{U.S\adddotspace pat\adddot\ req\adddot}}, + typescript = {{texto datilografado}{texto datilografado}}, + director = {{dir\adddot}{dir\adddot}}, + screenplay = {{adapt\adddot}{adapt\adddot}}, + adaptation = {{adapt\adddot}{adapt\adddot}}, + adaptor = {{adapt\adddot}{adapt\adddot}}, + performer = {{artista}{artista}, + performers = {{artistas}{artistas}, + composer = {{comp\adddot}{comp\adddot}}, + composedby = {{composto~por}{composto~por}}, + producer = {{prod\adddot}{prod\adddot}}, + with = {{com}{com}}, + proceedings = {{processo}{processo}}, + transof = {{tradução~de}{tradução~de}}, + volstodate = {{volumes até hoje}{volumes até hoje}}, + supptotitle = {{a}{a}}, + print = {{impressão}{impressão}}, + web = {{rede}{rede}}, } \endinput
\ No newline at end of file diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-mla/spanish-mla.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-mla/spanish-mla.lbx index f8b1a8ebc2..3414eb8ac9 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-mla/spanish-mla.lbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-mla/spanish-mla.lbx @@ -18,17 +18,17 @@ {} {\mkbibmonth{\thefield{#2}}% \iffieldundef{#1}{}{\space}}% - \mkdatezeros{\thefield{#1}}}% + \mkyearzeros{\thefield{#1}}}% \protected\def\mkbibdateshort#1#2#3{% \iffieldundef{#3} {} - {\mkdatezeros{\thefield{#3}}% + {\mkdayzeros{\thefield{#3}}% \iffieldundef{#2}{}{/}}% \iffieldundef{#2} {} - {\mkdatezeros{\thefield{#2}}% + {\mkmonthzeros{\thefield{#2}}% \iffieldundef{#1}{}{/}}% - \mkdatezeros{\thefield{#1}}}% + \mkyearzeros{\thefield{#1}}}% } \DeclareBibliographyStrings{% @@ -91,19 +91,36 @@ msc = {{MSc\addabbrvspace tesis}{MSc\addabbrvspace tesis}},% 0.6 mphil = {{MPhil\addabbrvspace tesis}{MPhil\addabbrvspace tesis}},% 0.6 mlitt = {{MLitt\addabbrvspace tesis}{MLitt\addabbrvspace tesis}},% 0.6 - % manuscript = {{ms\adddot}{ms\adddot}},% FIXME - % typescript = {{ts\adddot}{ts\adddot}},% FIXME - % director = {{dir\adddot}{dir\adddot}},% FIXME - % screenplay = {{adapt\adddot}{adapt\adddot}},% FIXME - % adaptation = {{adapt\adddot}{adapt\adddot}},% FIXME - % adaptor = {{adapt\adddot}{adapt\adddot}},% FIXME - % performer = {{perf\adddot}{perf\adddot}},% FIXME - % performers = {{perf\adddot}{perf\adddot}},% FIXME - % composer = {{composer\adddot}{composer\adddot}},% FIXME - % composedby = {{composed~by}{composed~by}},% FIXME - % producer = {{prod\adddot}{prod\adddot}},% FIXME - % with = {{with}{with}},% FIXME - % proceedings = {{proc\adddot}{proc\adddot}},% FIXME + % FIXME 2.0 check the following for quality of Spanish translation + manuscript = {{manuscrito}{manuscrito}}, + patentde = {{Deutsches Patent- und Markenamt}{DE}},% localised in German + patenteu = {{Oficina Europea de Patentes}{EU}}, + patentfr = {{Institut National de la Propriété Industrielle}{FR}},% localised in French + patentuk = {{The Intellectual Property Office of the United Kingdom}{UK}},% localised in English + patentus = {{United States Patent and Trademark Office}{US}},% localised in English + % patreq = {{patent request}{pat\adddot\ req\adddot}}, + % patreqde = {{German patent request}{German pat\adddot\ req\adddot}}, + % patreqeu = {{European patent request}{European pat\adddot\ req\adddot}}, + patreqfr = {{Institut National de la Propriété Industrielle}{FR pat\adddot req\adddot}}, + % patrequk = {{British patent request}{British pat\adddot\ req\adddot}}, + % patrequs = {{U.S\adddotspace patent request}{U.S\adddotspace pat\adddot\ req\adddot}}, + typescript = {{mecanografiado}{mecanografiado}}, + director = {{dir\adddot}{dir\adddot}}, + screenplay = {{adapt\adddot}{adapt\adddot}}, + adaptation = {{adapt\adddot}{adapt\adddot}}, + adaptor = {{adapt\adddot}{adapt\adddot}}, + performer = {{ejecutante}{ejecutante}, + performers = {{ejecutantes}{ejecutantes}, + composer = {{comp\adddot}{comp\adddot}}, + composedby = {{compuesto~por}{compuesto~por}}, + producer = {{prod\adddot}{prod\adddot}}, + with = {{con}{con}}, + proceedings = {{actas}{actas}}, + transof = {{traducción~de}{traducción~de}}, + volstodate = {{volúmenes hasta ahora}{volúmenes hasta ahora}}, + supptotitle = {{a}{a}}, + print = {{impresión}{impresión}}, + web = {{web}{web}}, } \endinput
\ No newline at end of file diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx index 43e86f831b..7304189a36 100644 --- a/macros/latex/contrib/easybook/easybook.dtx +++ b/macros/latex/contrib/easybook/easybook.dtx @@ -23,12 +23,12 @@ % % \changes{v1.20}{2021/01/09}{修改和完善用户文档。} % \changes{v1.20}{2021/01/09}{模板更改为使用 CC-BY 许可协议。} -% \changes{v1.25w}{2021/05/03}{取消附带的示例文件,可查看历史版本及其它来源的使用样例。} -% \changes{v1.25w}{2021/06/02}{将模块的代码独立出来为 \pkg{easybase} 宏包,适用于 \CTeX 文档类。} +% \changes{v1.25x}{2021/05/03}{取消附带的示例文件,可查看历史版本及其它来源的使用样例。} +% \changes{v1.25x}{2021/06/02}{将模块的代码独立出来为 \pkg{easybase} 宏包,适用于 \CTeX 文档类。} % % \title{\sffamily easybook 文档类手册} % \author{瞿毅} -% \date{2021/06/08\hskip\ccwd\relax v1.25w\thanks{\url{https://gitee.com/texl3/easybook}}} +% \date{2021/06/09\hskip\ccwd\relax v1.25x\thanks{\url{https://gitee.com/texl3/easybook}}} % % \maketitle % \begin{abstract} @@ -134,7 +134,7 @@ % \end{syntax} % 传递给 \cls{ctexbook} 设置字体,最好不要使用原有的 \opt{fontset} 选项,默认情况下使用自定义字体而不开启这个选项,可根据安装的字体及电脑系统选取。\opt{noto} 与 \opt{none} 选项的相关描述见小节 \ref{subsec:font settings},\opt{overleaf} 是一个各系统通用选项,会检测系统环境选取对应字体。 % \changes{v1.21}{2021/01/12}{默认字体与 \CTeX 一致,不再是自定义字体。} -% \changes{v1.25w}{2021/05/04}{修复使用 \pkg{xeCJK} 与 \pkg{fontspec} 宏包的字体设置命令在 \hologo{LuaLaTeX} 下失效的问题。} +% \changes{v1.25x}{2021/05/04}{修复使用 \pkg{xeCJK} 与 \pkg{fontspec} 宏包的字体设置命令在 \hologo{LuaLaTeX} 下失效的问题。} % \end{function} % % \begin{function}[rEXP,added = 2021-01-05,updated = 2021-01-13]{paper} @@ -184,7 +184,7 @@ % \tn{listoflstlistings*+}\oarg{键值列表} % \end{syntax} % \tn{listoffigures} 命令输出图片目录,\tn{listoftables} 输出表格目录,\tn{listoflstlistings} 输出代码目录。带有星号的目录命令不将标题添加进主文档目录,带有+号的目录命令可以使当前标题编号。\tn{tableofcontents+} 与其它命令不同是用于输出双语目录,需要与双语目录标题命令 \tn{bichapter} 等或设置图片、表格和代码等英文目录的标题配合使用,附加代码是中文与英文目录之间的代码,可以插入目录样式和换页等命令。目录的键值列表选项如下 -% \changes{v1.25w}{2021/05/05}{命令 \tn{tableofcontents} 可以输出双语目录。} +% \changes{v1.25x}{2021/05/05}{命令 \tn{tableofcontents} 可以输出双语目录。} % \end{function} % % \begin{function}{multoc,columns,title,format,aftertitle,pagestyle,chapter,section} @@ -201,7 +201,7 @@ % 在书籍模式且 \opt{chapter} 选项开启或者文章模式的情况下,\opt{format} 用于设置目录标题的格式,\opt{aftertitle} 选项的代码将被插入到目录标题内容之后,\opt{pagestyle} 是目录标题所在页的页面格式,除此之外还支持 \opt{ctexset/chapter} 或 \opt{ctexset/section} 所有的章节标题样式选项。\opt{chapter} 选项使目录标题按照 chapter 级别输出,\opt{section} 选项使目录标题按照 section 级别输出,默认为 chapter 级别。 % \changes{v1.23}{2021/03/15}{为几个目录增加键值列表的选项,可设置标题输出级别以及是否加入主目录。} % \changes{v1.24}{2021/04/04}{目录命令的可选参数增加标题键值。} -% \changes{v1.25w}{2021/06/02}{目录可设置多栏,并在 article 模式仍然生效。} +% \changes{v1.25x}{2021/06/02}{目录可设置多栏,并在 article 模式仍然生效。} % \end{function} % % \subsubsection{标题命令} @@ -214,7 +214,7 @@ % 双语目录的标题命令目前设置了常用的三个级别,它们将中文标题正常输出,并使中英文标题加入双语目录,这个功能是为国内一些大学的学位论文模板的要求设计,在一般情况和英文模式下不需要使用。 % % 它们的星号变体命令使文中标题不编号,但是仍然加入双语目录,若英文标题参数空置那么仅加入中文目录而不加入英文目录,这一特点与 \tn{chapter*} 等命令的行为不太一样,在一些情况下会用到。可选参数是目录中的中文标题,默认与中文标题一致,正文标题过长时可用它设置在目录中显示的标题。双语目录的格式是一致的,共享使用 \tn{tocset} 的设置,英文目录的章级别标题名及编号的修改方式如下 -% \changes{v1.25w}{2021/05/05}{增加与双语目录配合的标题命令。} +% \changes{v1.25x}{2021/05/05}{增加与双语目录配合的标题命令。} % \end{function} % % \begin{function}{chapter/biname,chapter/binmuber} @@ -314,7 +314,7 @@ % \changes{v1.10}{2021/01/08}{修复了 \opt{linktopage} 选项关闭时目录中标题编号无超链接的问题。} % \changes{v1.23}{2021/03/19}{修复在 \pkg{ctex} v2.5.6 更新后 \cls{easybook} 与 \pkg{hyperref} 冲突问题。} % \changes{v1.24}{2021/04/05}{增加 \pkg{hyperref} 超链接选项完整的支持。} -% \changes{v1.25w}{2021/05/06}{模块名 \opt{link} 改为 \opt{refset},\opt{link} 作为兼容性保留。} +% \changes{v1.25x}{2021/05/06}{模块名 \opt{link} 改为 \opt{refset},\opt{link} 作为兼容性保留。} % \end{function} % % \begin{optdesc} @@ -371,7 +371,7 @@ % \ding{229} 以上选项路径为 \opt{subfont/...} % \changes{v1.10}{2021/01/08}{加入自定义非正文字体选项。} % \changes{v1.23}{2021/02/08}{修复使用 \tn{zihao} 命令设置字体失效的问题。} -% \changes{v1.25w}{2021/05/31}{其它字体模块名由 \opt{elsefont} 改为 \opt{subfont},并增加数学字体的选项 \opt{subfont/math}。} +% \changes{v1.25x}{2021/05/31}{其它字体模块名由 \opt{elsefont} 改为 \opt{subfont},并增加数学字体的选项 \opt{subfont/math}。} % \end{function} % % \begin{optdesc} @@ -396,7 +396,7 @@ % \changes{v1.21}{2021/01/11}{增加 \opt{bibset} 选项,可以使用 \hologo{BibTeX} 或 \hologo{biber} 编译参考文献。} % \changes{v1.23}{2021/02/23}{使用 \opt{bibset} 选项时可设置标注风格。} % \changes{v1.24}{2021/04/09}{可以不载入参考文献包手动配置参考文献格式。} -% \changes{v1.25w}{2021/05/12}{取消 \opt{bib-loadpkg} 选项,由是否设置参考文献数据库来决定载入宏包。} +% \changes{v1.25x}{2021/05/12}{取消 \opt{bib-loadpkg} 选项,由是否设置参考文献数据库来决定载入宏包。} % \end{function} % % \begin{optdesc} @@ -602,7 +602,7 @@ % 上面几个选项用于设置脚注格式,\opt{fnparskip} 和 \opt{fnparindent} 选项仅在 \opt{fnhang = true} 时有效。\opt{fnhang} 用于将脚注设置为悬挂缩进的格式,\opt{fnmark-pos} 选项设置脚注编号的位置,正常文本或是上标形式。\opt{fnmark-num} 选项设置脚注编号的格式,默认为原生样式 \opt{plain},还可以改为 \opt{pifont} 的各个版本,从左往右依次为普通版、阴文衬线版、阳文无衬线版和阴文无衬线版,缺点是它们的编号仅包括1-10。 % % \opt{fnmark-form} 是脚注标记的格式,在此设置字体命令会覆盖 \opt{subfont/footnote} 的设置,最后一个格式命令可以带有一个参数,这个参数接受脚注编号,一般配合 \opt{fnmark-num = plain} 使用。\opt{afterfnmark} 是脚注标记后的代码,一般用于设置标记与文本间的距离。 -% \changes{v1.25w}{2021/05/12}{增加脚注样式设置选项。} +% \changes{v1.25x}{2021/05/12}{增加脚注样式设置选项。} % \end{function} % % \subsection{目录样式} @@ -621,7 +621,7 @@ % \opt{format} 是目录中标题的格式,可以设置字体和加入垂直间距等,垂直间距最好使用无间距重合的 \tn{addvspace} 命令,带有加号的 \opt{format+} 选项用于在已有的格式命令后附加内容。\opt{indent} 是目录中标题在页面左侧的缩进距离,应该有长度单位。\opt{rule} 选项中一般应当使用 \tn{tocrule} 命令,将会在接下来介绍。\opt{numsep} 是有编号的标题在目录中编号与标题的间距。 % \changes{v1.21}{2021/01/13}{增加配置目录样式的选项。} % \changes{v1.24}{2021/04/20}{增加目录中编号与标题的间距选项 \opt{numsep}。} -% \changes{v1.25w}{2021/05/14}{可以分别设置图片、表格和代码目录的格式。} +% \changes{v1.25x}{2021/05/14}{可以分别设置图片、表格和代码目录的格式。} % \end{function} % % \begin{function}[added = 2021-01-13,updated = 2021-04-20]{\tocrule,\EBNumberLine} @@ -706,7 +706,7 @@ % \tn{end}\marg{环境名} % \end{syntax} % \pkg{tabularray} 是一个较新的宏包,不仅提供了 \pkg{tabularx}、\pkg{multirow}、和 \pkg{booktabs} 宏包的功能,并且不依赖其它宏包与它们同时使用不会产生冲突,还实现了用简便的键值列表方式设置表格样式。目前除了表头斜线以及跨页功能存在不足,其它方面已满足对表格绝大多数格式的需求,具体用法可见宏包的说明文档。 -% \changes{v1.25w}{2021/05/17}{使用功能更便捷齐全的 \pkg{tabularray} 宏包设置表格样式。} +% \changes{v1.25x}{2021/05/17}{使用功能更便捷齐全的 \pkg{tabularray} 宏包设置表格样式。} % \end{function} % % \subsection{列表} @@ -879,7 +879,7 @@ % \tn{qtyrange}\oarg{键值列表}\marg{数字1}\marg{数字2}\marg{单位} % \end{syntax} % \pkg{siunitx} 宏包的 \tn{num} 命令可以输出以科学计数法表示的数值,单位格式化命令 \tn{unit} 包含文字项目(例如字母或数字)时,使用 . 和 \~{} 放置在单元乘积中间,并使用 \_ 和 \^{} 正确放置指定的下标和上标。格式化方法可在数学和文本模式下使用。而 \tn{qty} 命令可用来输出带有单位的量,\tn{qtyrange} 可以输出带有范围和单位的量。 -% \changes{v1.25w}{2021/05/18}{\pkg{siunitx} 宏包 v3.0.0 更新后用法改变,修改相关配置选项。} +% \changes{v1.25x}{2021/05/18}{\pkg{siunitx} 宏包 v3.0.0 更新后用法改变,修改相关配置选项。} % \end{function} % % \begin{ctexexam} @@ -1062,7 +1062,7 @@ %<*class> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2021/06/08}{1.25w}{beta} +\ProvidesExplClass{easybook}{2021/06/09}{1.25x}{beta} \bool_set_false:N \l__eb_compile_draft_bool \bool_set_false:N \l__eb_title_newline_bool @@ -1124,7 +1124,7 @@ config .tl_set:N = \g__eb_config_tl, unknown .code:n = - { \clist_gput_right:No \g__eb_options_clist { \CurrentOption } } + { \clist_gput_right:NV \g__eb_options_clist \CurrentOption } } \ProcessKeysOptions{easybook} @@ -1306,7 +1306,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{etoolbox} -\ProvidesExplPackage{easybase}{2021/06/08}{1.25w}{beta} +\ProvidesExplPackage{easybase}{2021/06/09}{1.25x}{beta} \cs_generate_variant:Nn \eb_ctex_define:nn { nx } \cs_generate_variant:Nn \int_to_arabic:n { v } @@ -1707,7 +1707,7 @@ \geometry{showframe} } \tl_if_empty:NF \l_eb_graphics_path_tl - { \exp_args:No \graphicspath { \l_eb_graphics_path_tl } } + { \exp_args:NV \graphicspath \l_eb_graphics_path_tl } \cs_if_exist:NF \kaishu { \cs_gset_eq:NN \kaishu \itshape } } @@ -2619,8 +2619,8 @@ } \eb_at_end_preamble:n { - \exp_last_unbraced:No - \declaretheoremstyle { \c__eb_thmtools_keyval_tl }{easy-theorem} + \exp_last_unbraced:NV + \declaretheoremstyle \c__eb_thmtools_keyval_tl{easy-theorem} \eb_thmname_set:nnn { exercise } { Exercise } { 练习 } \cs_undefine:N \proof \clist_map_inline:nn @@ -2855,7 +2855,7 @@ { standard~jigsaw, nobeforeafter,tcbox~raise~base, - top = 1.25wt,bottom = 1.25wt,left = 1.25wt,right = 1.25wt, + top = 1.25xt,bottom = 1.25xt,left = 1.25xt,right = 1.25xt, boxrule = 0.75pt,arc = 1pt, colback = #1,opacityback = 0.12,colframe = #1,#3 }{#2} diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf Binary files differindex d1ab5cccd4..ff5485e64d 100644 --- a/macros/latex/contrib/easybook/easybook.pdf +++ b/macros/latex/contrib/easybook/easybook.pdf diff --git a/macros/latex/contrib/hvfloat/Changes b/macros/latex/contrib/hvfloat/Changes index 18e87aded3..2b809bb337 100644 --- a/macros/latex/contrib/hvfloat/Changes +++ b/macros/latex/contrib/hvfloat/Changes @@ -1,4 +1,6 @@ hvfloat.sty: +2.28 2021-06-09 - fix for missing type that leads to nonFloat _and_ onlyText + - fix for \thehv@pfigure and \thehv@ptablee 2.27 2021-06-07 - added \tabcaptionbelow - fix bug with vertical alignment for top captions - fix for local caption and subcaption setting diff --git a/macros/latex/contrib/hvfloat/doc/examples/capPos.pdf b/macros/latex/contrib/hvfloat/doc/examples/capPos.pdf Binary files differindex 834f4949c7..473cc1322e 100644 --- a/macros/latex/contrib/hvfloat/doc/examples/capPos.pdf +++ b/macros/latex/contrib/hvfloat/doc/examples/capPos.pdf diff --git a/macros/latex/contrib/hvfloat/doc/examples/odd2s1c.pdf b/macros/latex/contrib/hvfloat/doc/examples/odd2s1c.pdf Binary files differindex ef2c6e6b8d..f13f5e2831 100644 --- a/macros/latex/contrib/hvfloat/doc/examples/odd2s1c.pdf +++ b/macros/latex/contrib/hvfloat/doc/examples/odd2s1c.pdf diff --git a/macros/latex/contrib/hvfloat/doc/hvfloat.pdf b/macros/latex/contrib/hvfloat/doc/hvfloat.pdf Binary files differindex ce628eaf57..46bc0b2bcc 100644 --- a/macros/latex/contrib/hvfloat/doc/hvfloat.pdf +++ b/macros/latex/contrib/hvfloat/doc/hvfloat.pdf diff --git a/macros/latex/contrib/hvfloat/latex/hvfloat.sty b/macros/latex/contrib/hvfloat/latex/hvfloat.sty index cb9f1b0742..c6bb68b8fb 100644 --- a/macros/latex/contrib/hvfloat/latex/hvfloat.sty +++ b/macros/latex/contrib/hvfloat/latex/hvfloat.sty @@ -1,4 +1,4 @@ -%% $Id: hvfloat.sty 105 2021-06-07 07:30:15Z herbert $ +%% $Id: hvfloat.sty 107 2021-06-09 06:43:25Z herbert $ %% %% %% IMPORTANT NOTICE: @@ -15,8 +15,8 @@ %% `hvfloat' offers rotating of captions and objects for floats %% \NeedsTeXFormat{LaTeX2e} -\def\fileversion{2.27} -\def\filedate{2021/06/07} +\def\fileversion{2.28} +\def\filedate{2021/06/09} \message{`hvfloat' v\fileversion, \filedate\space (Herbert Voss)} \ProvidesPackage{hvfloat}[\filedate\ rotating of floating objects] \let\hvFloatFileVersion\fileversion @@ -422,11 +422,10 @@ \newcounter{hv@tempCNTfigB}% \newcounter{hv@tempCNTtabA}% \newcounter{hv@tempCNTtabB}% - -\newcounter{hv@pfigure} -\newcounter{hv@ptable} -\newcounter{subhv@pfigure} -\newcounter{subhv@ptable} +\newcounter{hv@pfigure}% +\newcounter{hv@ptable}% +\newcounter{subhv@pfigure}% +\newcounter{subhv@ptable}% \newif\ifhv@star \newif\if@hvsubstar @@ -453,12 +452,18 @@ % \setlength\hvWideWidth{\dimexpr\linewidth+\marginparwidth}% \hv@maxImageWidth=\textwidth \reset@special@float - \global\setcounter{hv@pfigure}{\value{figure}}% - \global\setcounter{hv@ptable}{\value{table}}% + \setcounter{hv@pfigure}{\value{figure}}% + \setcounter{hv@ptable}{\value{table}}% \setcounter{hv@tempCNTfigA}{\value{figure}}% \setcounter{hv@tempCNTfigB}{\value{figure}}% \setcounter{hv@tempCNTtabA}{\value{table}}% \setcounter{hv@tempCNTtabB}{\value{table}}% + \renewcommand\thehv@pfigure{\thefigure}% + \renewcommand\thehv@ptable{\thetable}% + \renewcommand\thehv@tempCNTfigA{\thefigure}% + \renewcommand\thehv@tempCNTfigB{\thefigure}% + \renewcommand\thehv@tempCNTtabA{\thetable}% + \renewcommand\thehv@tempCNTtabB{\thetable}% \gdef\hv@save@setting{#1}% \ifx\relax#1\relax\else\setkeys{hvSet}{#1}\fi \ifx\hv@caption@format\@empty\else\expandafter\captionsetup\expandafter{\hv@caption@format}\fi @@ -525,8 +530,10 @@ \hv@maxImageWidth=\textwidth \ifx\relax#1\relax\else\setkeys{hvSet}{#1}\fi \gdef\hv@floatType{#2}% + \ifx\relax#2\relax + \setkeys{hvSet}{nonFloat,onlyText} + \fi \xdef\hv@floatListOfExt{\@nameuse{ext@\hv@floatType}}% - \ifx\relax#2\relax \setkeys{hvSet}{nonFloat=true}\fi \gdef\hv@floatObject{#3}% \@ifnextchar[{\do@@hvFloat}{\do@@hvFloat[]}% } @@ -642,15 +649,15 @@ \else \ifx\hv@floatType\hv@figure \ifx\relax\hv@shortCap\relax - \figcaption{\hv@longCap}% + \figcaption{\hv@longCap\ifx\hv@label\@empty\else\label{\hv@label}\fi}% \else - \figcaption[\hv@shortCap]{\hv@longCap}% + \figcaption[\hv@shortCap]{\hv@longCap\ifx\hv@label\@empty\else\label{\hv@label}\fi}% \fi \else \ifx\relax\hv@shortCap\relax - \tabcaption{\hv@longCap}% + \tabcaption{\hv@longCap\ifx\hv@label\@empty\else\label{\hv@label}\fi}% \else - \tabcaption[\hv@shortCap]{\hv@longCap}% + \tabcaption[\hv@shortCap]{\hv@longCap\ifx\hv@label\@empty\else\label{\hv@label}\fi}% \fi \fi \fi @@ -660,9 +667,9 @@ \else \let\@captype\hv@floatType \ifx\hv@shortCap\@empty\caption{\hv@longCap}\else\caption[\hv@shortCap]{\hv@longCap}\fi + \ifx\hv@label\@empty\else\label{\hv@label}\fi \fi \fi - \ifx\hv@label\@empty\else\label{\hv@label}\fi \endminipage }% \else @@ -794,10 +801,10 @@ \fi \centering \ifhv@fbox - \fbox{\usebox{\hvCaptionBox}}\\[\hvBelowCaptionSkip]% + \fbox{\usebox{\hvCaptionBox}}\\[0.5\hvBelowCaptionSkip]% \fbox{\usebox{\hvObjectBox}}% \else - \usebox{\hvCaptionBox}\\[\hvBelowCaptionSkip]% + \usebox{\hvCaptionBox}\\[0.5\hvBelowCaptionSkip]% \usebox{\hvObjectBox}% \fi \end{minipage}% @@ -825,10 +832,10 @@ \fi \centering \ifhv@fbox - \fbox{\usebox{\hvObjectBox}}\\[\hvAboveCaptionSkip]% + \fbox{\usebox{\hvObjectBox}}\\[0.5\hvAboveCaptionSkip]% \fbox{\usebox{\hvCaptionBox}}% \else - \ifhv@objectFrame\frame{\usebox{\hvObjectBox}}\else\usebox{\hvObjectBox}\fi\\[\hvAboveCaptionSkip]% + \ifhv@objectFrame\frame{\usebox{\hvObjectBox}}\else\usebox{\hvObjectBox}\fi\\[0.5\hvAboveCaptionSkip]% \usebox{\hvCaptionBox}% \fi \end{minipage}% @@ -1084,15 +1091,17 @@ \setcounter{totalnumber}{0}% \setcounter{dbltopnumber}{0}% \def\dblfloatpagefraction{0.5}% + \global\renewcommand\thehv@tempCNTfigA{xyz}% + \global\renewcommand\thehv@tempCNTfigB{xyz}% \begin{\hv@floatType*}[!t] \global\savebox{\hvObjectBox}{\ifhv@useOBox\usebox{\hvOBox}\else\hv@floatObject\fi}% \clipbox*{0 -\depth{} \hv@leftPageObjectWidth{} \height}{\usebox\hvObjectBox}% \ifx\hv@label\@empty \else \ifx\hv@floatType\hv@figure - \refstepcounter{hv@tempCNTfigA}% + \global\refstepcounter{hv@tempCNTfigA}% \else - \refstepcounter{hv@tempCNTtabA}% before caption + \global\refstepcounter{hv@tempCNTtabA}% before caption \fi \label{\hv@label}% \fi diff --git a/macros/latex/contrib/siunitx/CHANGELOG.md b/macros/latex/contrib/siunitx/CHANGELOG.md index a465aea145..364058db97 100644 --- a/macros/latex/contrib/siunitx/CHANGELOG.md +++ b/macros/latex/contrib/siunitx/CHANGELOG.md @@ -7,6 +7,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [Unreleased] +## [v3.0.12] + +### Fixed +- Modify warning message (fixes #476) +- Rounding zero values to a fixed number of places (issue #477) +- Remove stray debug code in symbol allocation (issue #478) + ## [v3.0.11] ### Changed @@ -1361,7 +1368,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Added - First public testing release (as `si`) -[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.11...HEAD +[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.12...HEAD +[v3.0.12]: https://github.com/josephwright/siunitx/compare/v3.0.11...v3.0.12 [v3.0.11]: https://github.com/josephwright/siunitx/compare/v3.0.10...v3.0.11 [v3.0.10]: https://github.com/josephwright/siunitx/compare/v3.0.9...v3.0.10 [v3.0.9]: https://github.com/josephwright/siunitx/compare/v3.0.8...v3.0.9 diff --git a/macros/latex/contrib/siunitx/siunitx-code.pdf b/macros/latex/contrib/siunitx/siunitx-code.pdf Binary files differindex d4f36b226f..b62b22632d 100644 --- a/macros/latex/contrib/siunitx/siunitx-code.pdf +++ b/macros/latex/contrib/siunitx/siunitx-code.pdf diff --git a/macros/latex/contrib/siunitx/siunitx-emulation.dtx b/macros/latex/contrib/siunitx/siunitx-emulation.dtx index 9d0133affb..8e11abda62 100644 --- a/macros/latex/contrib/siunitx/siunitx-emulation.dtx +++ b/macros/latex/contrib/siunitx/siunitx-emulation.dtx @@ -1025,8 +1025,8 @@ Unit~macro~#1~has~been~deprecated~in~this~release. \\ \\ The~BIPM~have~removed~this~unit~from~the~SI~Brochure.~ You~should~define~it~yourself~using~\token_to_str:N \DeclareSIUnit\ % - in~your~source. The~current~definition~is\\ \\ - \token_to_str:N \DeclareSIUnit \{ #2 \} + in~your~source.~The~current~definition~is\\ \\ + \token_to_str:N \DeclareSIUnit #1 \{ #2 \} } \cs_gset_protected:Npn \@@_tmp:w #1#2 { diff --git a/macros/latex/contrib/siunitx/siunitx-number.dtx b/macros/latex/contrib/siunitx/siunitx-number.dtx index b304a573c9..2dfa66374c 100644 --- a/macros/latex/contrib/siunitx/siunitx-number.dtx +++ b/macros/latex/contrib/siunitx/siunitx-number.dtx @@ -1691,7 +1691,8 @@ % % \begin{macro}{\siunitx_number_process:NN} % \begin{macro}{\@@_process:nnnnnnnNN} -% A top-level interface for the processing tools. +% A top-level interface for the processing tools. Rounding happens in all +% cases, but exponents are only processed if the value is not $0$. % \begin{macrocode} \cs_new_protected:Npn \siunitx_number_process:NN #1#2 { @@ -1707,12 +1708,13 @@ } \cs_new_protected:Npn \@@_process:nnnnnnnNN #1#2#3#4#5#6#7#8#9 { - \bool_lazy_and:nnF + \bool_lazy_and:nnTF { \str_if_eq_p:nn {#3} { 0 } } { \str_if_eq_p:ee { \exp_not:n {#4} } { \prg_replicate:nn { \tl_count:n {#4} } { 0 } } } + { \@@_round:NN #8 #9 } { \@@_exponent:NN #8 #9 \@@_round:NN #9 #9 @@ -2547,15 +2549,27 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}[EXP]{\@@_round_figures:nnnnnnn} +% \begin{macro}[EXP]{\@@_round_figures:nnnnnnn, \@@_round_figures_aux:nnnnnnn} % \begin{macro}[EXP]{\@@_round_figures_count:nnN} % \begin{macro}[EXP]{\@@_round_figures_count:nnnN} -% Rounding to a fixed number of significant figures starts by checking that +% Rounding to figures only makes sense if the number is not $0$, so we start +% by filtering out that case. We then check that % there is no uncertainty, and that the number of figures requested is % positive: if not, the result is always fixed at zero. % \begin{macrocode} \cs_new:Npn \@@_round_figures:nnnnnnn #1#2#3#4#5#6#7 { + \bool_lazy_and:nnTF + { \str_if_eq_p:nn {#3} { 0 } } + { + \str_if_eq_p:ee + { \exp_not:n {#4} } { \prg_replicate:nn { \tl_count:n {#4} } { 0 } } + } + { \exp_not:n { {#1} {#2} {#3} {#4} {#5} {#6} {#7} } } + { \@@_round_figures_aux:nnnnnnn {#1} {#2} {#3} {#4} {#5} {#6} {#7} } + } +\cs_new:Npn \@@_round_figures_aux:nnnnnnn #1#2#3#4#5#6#7 + { \tl_if_blank:nTF {#5} { \int_compare:nNnTF \l_@@_round_precision_int > 0 diff --git a/macros/latex/contrib/siunitx/siunitx-symbol.dtx b/macros/latex/contrib/siunitx/siunitx-symbol.dtx index 251d257c4b..6c7154d751 100644 --- a/macros/latex/contrib/siunitx/siunitx-symbol.dtx +++ b/macros/latex/contrib/siunitx/siunitx-symbol.dtx @@ -149,7 +149,6 @@ \prg_return_true: } { - \show\l_@@_tmpa_tl \show\l_@@_tmpb_tl \group_end: \prg_return_false: } diff --git a/macros/latex/contrib/siunitx/siunitx.dtx b/macros/latex/contrib/siunitx/siunitx.dtx index 03d06b4cb3..53cfbd8426 100644 --- a/macros/latex/contrib/siunitx/siunitx.dtx +++ b/macros/latex/contrib/siunitx/siunitx.dtx @@ -121,7 +121,7 @@ % % Identify the package and give the over all version information. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2021-06-07} {3.0.11} +\ProvidesExplPackage {siunitx} {2021-06-09} {3.0.12} {A comprehensive (SI) units package} % \end{macrocode} % diff --git a/macros/latex/contrib/siunitx/siunitx.pdf b/macros/latex/contrib/siunitx/siunitx.pdf Binary files differindex 62115e1004..36c97918d0 100644 --- a/macros/latex/contrib/siunitx/siunitx.pdf +++ b/macros/latex/contrib/siunitx/siunitx.pdf diff --git a/macros/latex/contrib/siunitx/siunitx.tex b/macros/latex/contrib/siunitx/siunitx.tex index 360a395e6f..28eaa37b2c 100644 --- a/macros/latex/contrib/siunitx/siunitx.tex +++ b/macros/latex/contrib/siunitx/siunitx.tex @@ -3044,7 +3044,7 @@ adjust the appearance of litres: both \enquote{\unit{l}} and \enquote{\unit{L}} are commonly used. The recommended approach to adjustment is to re-declare the \cs{litre} macro, as \cs{liter} will follow automatically. \begin{LaTeXdemo}[code only] - \DeclareSIUnit\liter{l} + \DeclareSIUnit\litre{l} \end{LaTeXdemo} \subsection{Ensuring text or math output% |