diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-03 00:21:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-03 00:21:57 +0000 |
commit | d6925fc0016a1c61cd7eecf5b0d30b360940578f (patch) | |
tree | 45560b6bed6abfa058d1b869c2ae82a3d94ccd9a /Master/texmf-dist | |
parent | ce17d709b220bc6cf4c7bc900420698c244bf57e (diff) |
biblatex-mla (2jan11)
git-svn-id: svn://tug.org/texlive/trunk@20910 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-mla/CHANGES | 225 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-mla/README | 40 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla-old.pdf | bin | 0 -> 175467 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla.pdf | bin | 0 -> 39967 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla.tex | 283 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-mla/american-mla.lbx | 26 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-mla/english-mla.lbx | 119 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-mla/italian-mla.lbx | 90 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-mla/mla.bbx | 1200 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx | 798 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-mla/portuguese-mla.lbx | 82 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-mla/spanish-mla.lbx | 86 |
12 files changed, 2949 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-mla/CHANGES b/Master/texmf-dist/doc/latex/biblatex-mla/CHANGES new file mode 100644 index 00000000000..ab6ba1ef638 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-mla/CHANGES @@ -0,0 +1,225 @@ +Changelog for version 0.9.5: +- changes for compatibility with Biblatex 1.0 +- further support for latest MLA edition (now default); use "showmedium=false" + package option to revert +- added Italian localization (from Andrea Marchitelli) +- new entry option "nodate" to trigger display of MLA-style "n.d." +- added support and MLA formatting for eprint sources from Project Muse (using + "muse" as eprinttype); in the eprint field, include the full URL to the + article +- preliminary conversion of documentation to Philipp Lehman's ltxdockit, as + previous documentation files were lost + +Changelog for version 0.9: +- many changes for compatibility with Biblatex v.0.9 +- introduced support for style from latest MLA edition (this was a major + undertaking) +- new "print", "web", and "generaleditor" bibstrings +- formatting for eprint sources from JSTOR and Google Books, as already + included in Biblatex +- support and formatting for eprint sources from eBooks@Adelaide (using + "adelaide" as eprinttype); in the eprint field, include the full URL to the + article +- new package options "showmedium" and "guessmedium" for updated MLA support +- improved support for reprints +- improved support for multivolume entries, including change from using + origyear field to using eventdate field, and added support for general + editor as "generaleditor" editortype +- converted proceedings to use eventdate field + +Changelog for version 0.8.1: +- did nothing but make 0.8 beta final to upgrade CTAN + +Changelog for version 0.8 beta: +- added further examples from the MLA Handbook (6th edition). Almost all of + the non-periodical examples in section 5.6.x (and many of the periodical + examples in 5.7.x) contained therein can now be successfully re-created + using biblatex-mla. +- nameaddon and authortype behavior standardized across entrytypes +- added bookauthor support for suppcollection and suppbook +- significantly improved handling of multivolume works +- further improved handling of "et al." There should now be a comma before + "et al." only in reversed (last-first) naming schemes. Standard (first-last) + schemes and last-name only schemes will omit the comma. +- improved support for maintitle +- improved presentation of title in conference proceeding, where title ends in + an abbreviation dot +- added preliminary support for "generaleditor" editortype in the language + (lbx) files +- added preliminary support for "volstodate" string in the language (lbx) + files, theoretically to be used when indicating total volume numbers of + multi-volume works with open-ranged years +- added title format for reference books +- removed extra leading space before nameaddon brackets +- added support for formatting of open-ranged years (as suggested by + Philipp Lehman) +- added support for limiting remote info, using methods similar to + biblatex-apa +- added totalnames support for translator field +- re-added hyperref support mistakenly disabled in version 0.7 +- fixed many citereset problems (while potentially introducing others...) +- many citation macros tidied and future-proofed +- footnote presentation considerably more stable + +Changelog for version 0.7 final: +- added examples from the MLA Handbook (6th edition) +- added support for origlocation, origpublisher, origtitle, and origlanguage + to allow for reprints and translations. Biblatex-mla only uses the + origlanguage field to trigger the use of \bibstring{transof} in place of + \bibstring{reprintof} for reprinted articles and will not actually print the + contents of the origlanguage field. +- re-added support for translators in articles (mistakenly lost in 0.6) +- added localization and bibstrings for "bytypecompilerandeditor" and + "transof" (in addition to "typecompilerandeditor") +- significantly improved footnote support, bringing it inline with support for + entries in the bibliography. This work is currently in progress, but non- + periodical entries should be fully supported. +- in addition to Spanish and Portuguese localizations (contributed by Ivan + Fernandez and Paulo Ferreira, respectively) and existing American + localizations, version 0.7 is also compatible with non-American English + dialects for localized punctuation patterns. In your preamble, call Babel + with the language of your choice: british, canadian, australian, spanish, + and american should all work equally well (though some newer bibstrings + remain untranslated in Spanish). Portuguese support is not yet included with + biblatex. + +Changelog for version 0.7 beta: +- added partial support for @suppbook, @suppcollection +- made style definitions independent from sample Biblatex style files +- segregated localizations into external .lbx files +- added comma before name affixes +- added test for comma before "et al.": negative in citations, positive in + list of Works Cited +- added test for colon before subtitle, returning negative after terminal + punctuation (such as exclamation point, question mark) +- added "totalnames" entry option for listing all authors and editors in the + list of Works Cited for a particular entry +- added "uniquetranslator" entry option, used for an @incollection entry with + its own translator not shared with the rest of the collection +- slightly changed default name dash in Works Cited +- added support for year editions for @inreference works +- improved logic of @video macro +- added support for "eds." before title when editors are plural +- renamed "strict" package option to "footnoterulestrict" +- added draft mode style helper for multiple citations +- added "mladraft" package option for calling style helper outside of draft + mode +- added localization for "typecompilerandeditor" editortype + +Changelog for version 0.6.1: +- IMPORTANT CHANGE: because of difficulties formatting articles without volume + numbers as newspaper articles, I've had to regress that option sooner than I + expected. Updated bibtex files by adding the entrysubtype field and setting + it to "newspaper" or "magazine". Article entries with undefined volume + fields are now formatted as journal articles without any volume numbers (as + one might have expected biblatex-mla to have done all along...) +- updated documentation for the above change; added link for installing + Biblatex from CTAN in installation instructions +- fixed bugs with spacing, problems with spurious punctuation in Reviews, and + some other minor things +- updated footnote internal macros to use native quotation marks and + punctuation nesting, thereby fully regressing mkbibquotepunct command +- added "strict" package option after biblatex-chicago-notes-df; feature is + undocumented for now + +Changelog for version 0.6: +- native support for biblatex-, csquote-, and babel-empowered American-style + punctuation and double quotation marks added in biblatex 0.8 (footnotes not + yet updated) +- add support for @unpublished, @proceedings, @inproceedings, @periodical + entrytypes +- add support for published theses +- standardized .bib file keys, strings, fields across entrytypes +- improve minor presentation errors, including misplaced comma before "et al," + the size of the name dash in Works Cited (to match that in the Style Manual + more closely (redefine \mlanamedash to change)), and other things +- simplified and made many internal macros less hack-y and more localizable +- defined many new bibliography strings and redefined existing ones +- commented out issn, isbn, doi, and similar fields as a temporary fix +- allow idem after shorthands in citations +- improved presentation of dates, dropping opening zero +- added support for articles in special issues of journals +- added support for annotated bibliographies using the "annotation" option +- improved support/presentation for subtitles +- usetranslator entry-option now stable, uses native biblatex support +- improved documentation +- add support for nameaddon + +Changelog for version 0.5 (final): +- introduction of firstlonghand and nofullnote package options +- changed approach of shorthand citations, defaulting to a "longhand" citation + for the first citation +- introduction of usetranslator entry option +- fixed more stupid errors +- added support for video and booklet entrytypes +- added hyperlinks for citations with only page numbers +- added better support for useauthor and useeditor entry options +- added location to newspaper articles +- added edition ("version") to newspaper articles (ie, late, national, + morning, etc.) +- added Spanish localization by Ivan Fernandez + +Changelog for version 0.5 (beta): +- introduction of MLA-style footnote citation support +- fixed many more stupid errors (made since the beginning) +- added support for book reviews and reference articles (use "review" + entrytype and "inreference" entrytype, respectively) +- tidied stylistic problems including erroneous punctuation before URLs + (pointed out by Stephen Brumbaugh), stray spaces, a few doubled + punctuations, etc. +- added support for anonymous incollection works (for example, "Beowulf" in an + English literature anthology shouldn't by default be referenced by the + editor of that anthology) +- added support for single-author collections (for example, a single poet's + Collected Poems, with or without a named editor) +- preliminary support for "video" entrytype +- a few other things I'm forgetting + +Changelog for version 0.4: +- proper MLA-style crossref support (though Philipp Lehmann's warnings of the + dangers of crossrefs in Bibtex files still hold: the parent will overwrite + anything undefined in the child, like Title and Author) +- fixed many stupid errors (made when converting to biblatex 0.7 in version + 0.3) +- introduced logic for idems, ibids, and prenotes (reduces chances of prenotes + and ibids obscuring the actual author's name) +- changed style name to biblatex-mla to fit in with everything else being + lowercase +- fixed compatibility with tex4ht (documents made with biblatex-mla can now be + converted to OpenOffice format easily) +- added support for Newspaper articles (use "article" type, set no volume and + no issue number) +- added access dates for online articles +- got rid of a couple stray periods lurking in some places. +- defined \fullcite command to provide examples of bibliographic citations (as + seen in the new samples page) +- added samples page + +Changelog for version 0.3: +- updated for compatibility to biblatex 0.7 +- incorporated improvements made by Jay Savage regarding URL presentation in + Works Cited and the handling of edited books lacking authors +- added support for the starred variants of \cite* and \autocite* for citing + titles when the author is already named in the sentence (e.g., "Joyce says + many fine things (Ulysses 34)," written as "Joyce says many fine things + \autocite*[34]{citekey}"). This variation will basically just force skip the + author's name in a citation. If it's an author with multiple titles in the + Works Cited, it will list the title and page; otherwise it will list just + the page. +- added functionality to use first name initials to differentiate among common + surnames (option uniquename=init made available in biblatex 0.7) in + citations +- added localizations for "Ed. and trans.," etc. I'm not sure how accurate + these are yet, but it at least lets us have nicer Works Cited lists. You'll + see this change when works have a single person responsible for any + combination of editing, translating, introducing, annotating, or providing + commentary, forewards, or afterwards. With this change, the person is listed + only once, with the appropriate words before the name. +- restyled the URL font in the Works Cited to be the same as the rest of the + documents (as suggested by Jay Savage) +- added support for \cite (same as \autocite) to be more supportive to + existing programs that assume cite as the command used for references and to + make conversion easier for newcomers who've already been using \cite +- improved idem handling with boolean triggers +- cleaned up macro names to make them easier to follow + diff --git a/Master/texmf-dist/doc/latex/biblatex-mla/README b/Master/texmf-dist/doc/latex/biblatex-mla/README new file mode 100644 index 00000000000..e4009a48737 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-mla/README @@ -0,0 +1,40 @@ +Description: +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 3rd edition of the Manual and the 7th edition of the +Handbook. Before using biblatex-mla, you will need to install Biblatex: +http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html + + +Installation: +1. Locate your latex installation folder + - In OS X, it can 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 + + +Usage: +1. Call the MLA style in your Latex document using the following four lines in +your Latex preface: + \usepackage[american]{babel} + \usepackage{csquotes} + \usepackage[style=mla]{biblatex} + \bibliography{<bibfile>} + - (replace "<bibfile>" with the name of your .bib bibliography file) + - to use MLA-style footnotes, 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 +\autocite[<prenote>][<page>]{<key>}. + - (replace <key>, <page>, and <prenote> with their respective elements) +3. Before the end of your document, include the following line where you want +your bibliography to appear: + \printbibliography + + +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.
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla-old.pdf b/Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla-old.pdf Binary files differnew file mode 100644 index 00000000000..db0629fe892 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla-old.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla.pdf b/Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla.pdf Binary files differnew file mode 100644 index 00000000000..7cf71fa4304 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla.tex b/Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla.tex new file mode 100644 index 00000000000..5f4fef03655 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-mla/doc/biblatex-mla.tex @@ -0,0 +1,283 @@ +% biblatex-mla.tex v0.95 2010/12/18 +% Maintained at <http://konx.net/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}[2010/11/19] +\usepackage{btxdockit} +\usepackage[latin9]{inputenc} +\usepackage[american]{babel} +\usepackage[strict]{csquotes} +\usepackage{tabularx} +\usepackage{booktabs} +\usepackage{shortvrb} +\MakeAutoQuote{<}{>} +\MakeAutoQuote*{«}{»} +\MakeShortVerb{\|} + +\rcsid{$Id: biblatex-mla.tex,v 0.95 2010/12/18 13:01:50 clawson beta $} + +\newcommand*{\BiblatexMLAhome}{http://konx.net/biblatex-mla/} +\newcommand*{\BiblatexMLAonCTAN}{http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex-mla.html} +\newcommand*{\mycode}[1]{\texttt{\textbf{#1}}} +\newcommand*{\mylink}[1]{$<$\url{#1}$>$} +% \newcommand*{\mla}{\textsf{\textsc{Mla}}} +\newcommand*{\mla}{MLA} +\newcommand*{\mycommand}[1]{\mycode{\textbackslash{}#1}} +\newcommand{\superscript}[1]{\ensuremath{^{\textrm{\tiny{#1}}}}} + +\makeatletter +\newenvironment*{commandlist} + {\list{}{% + \setlength{\labelwidth}{\marglistwidth}% + \setlength{\labelsep}{\marglistsep}% + \setlength{\leftmargin}{0pt}% + \renewcommand*{\makelabel}[1]{\hss\marglistfont##1}}% + \def\commanditem##1{% + \item[{\textbackslash{}##1}]% + \ltd@pdfbookmark{##1}{##1}}} + {\endlist} +\newenvironment*{optionslist} + {\list{}{% + \setlength{\labelwidth}{\marglistwidth}% + \setlength{\labelsep}{\marglistsep}% + \setlength{\leftmargin}{0pt}% + \renewcommand*{\makelabel}[1]{\hss\marglistfont##1}}% + \def\optionitem##1{% + \item[{##1}]% + \ltd@pdfbookmark{##1}{##1}}} + {\endlist} +\makeatother + + +\titlepage{% + title={\sty{biblatex-mla}}, + subtitle={\mla{} Style Using \sty{biblatex}}, + url={\BiblatexMLAhome}, + author={James Clawson}, + email={biblatex-mla@konx.net}, + revision={\rcsrevision}, + date={\rcstoday}} + +\hypersetup{% + pdftitle={biblatex-mla}, + pdfsubject={MLA Style Using biblatex}, + pdfauthor={James Clawson}, + pdfkeywords={mla, biblatex, bibtex, bibliography, citation}} + +% colors + +\definecolor{spot}{rgb}{1,0.5,0} + +% tables + +\newcolumntype{H}{>{\sffamily\bfseries\spotcolor}l} +\newcolumntype{P}{>{\raggedright}p{100pt}} +\newcolumntype{O}{>{\raggedright\ttfamily}p{40pt}} +\newcolumntype{S}{>{\raggedright\ttfamily}X} +\newcolumntype{N}{>{\sffamily\bfseries\spotcolor}r} +\newcolumntype{n}{>{\raggedleft\let\\\tabularnewline}p{50pt}} + +\providecommand*{\numtablesetup}{\tablesetup} + +\newcommand*{\sorttablesetup}{% + \tablesetup + \setlength{\tabcolsep}{1pt}% + \def\new{\ensuremath\rightarrow}% + \def\alt{\ensuremath\hookrightarrow}% + \def\str##1{\mbox{\displayverbfont##1}}% + \def\altstr##1{\hfill\alt\hspace{2\tabcolsep}% + \str{##1}\hspace*{2\tabcolsep}}% + \let\fld\bibfield} + +% markup and misc + +\setcounter{secnumdepth}{4} + +\newrobustcmd*{\BiberOnly}{% + \textcolor{spot}{Biber only}} +\newrobustcmd*{\BiberOnlyMark}{% + \leavevmode\marginpar{\BiberOnly}} + +\hyphenation{% + star-red + bib-lio-gra-phy + white-space +} + +\begin{document} + +\printtitlepage +\tableofcontents + +\section{Introduction} +\label{int} + +The \sty{biblatex-mla} files provide support to \sty{biblatex}, \sty{bibtex}, and \sty{latex} for citations and Works Cited lists in the style established by the Modern Language Association (\mla{}). The style defaults to inline parenthetical citations, but it also offers support for \mla{}-style footnotes. For more on the commands and options for changing package defaults, see \secref{mla:subsec:commands} and \secref{mla:subsec:options}, respectively, below. + +The \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 7\superscript{th} edition. By default, these files follow definitions for these latest editions, though they also offer the option of support for the previous style. \sty{Biblatex-mla} also follows the logic of the \mla{} when citing similar material repeatedly, borrowing the function---but not the form---of \emph{ibid} and \emph{idem}. \sty{Biblatex-mla} is compatible with \sty{biblatex}'s support for \sty{hyperref} and \sty{tex2ht}, 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 \sty{biblatex} documentation or contact me by email. + +\subsection{License} + +\sty{Biblatex-mla} is copyrighted \textcopyright\ 2007--2010, 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. + + +\section{Use} +\label{mla:sec:use} + +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 \sty{biblatex-mla} in languages other than English. These and other localization files are included in \sty{biblatex-mla} releases, but they will not always be the latest versions available. Updated and new localization files will be uploaded to \mylink{http://konx.net/biblatex-mla/lbx} 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}.} % +%% +you need to 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]{biblatex} + \bibliography{<bibfile>} + \end{verbatim} +\end{quote} +Replace <|<bibfile>|> with the name of your .bib bibliography file. The style supports footnote citations with the \mycode{autocite=footnote} package option. Other options supported by \sty{biblatex-mla} include \mycode{firstlonghand}, \mycode{mladraft}, \mycode{annotation}, \mycode{noremoteinfo}, \mycode{nofullfootnote}, \mycode{publimedium}, and \mycode{guessmedium}, all discussed below in \secref{mla:subsec:options}. + + +\subsection{Commands} +\label{mla:subsec:commands} + +The standard commands for \sty{biblatex-mla} generally follow those defined by \sty{biblatex}. Included below are the most typical commands. For more commands and options, reference the \sty{biblatex} manual. + +\begin{commandlist} + +\commanditem{autocite} + +Insert a citation. For best results, use the command before punctuation like this \mycommand{autocite}|{x}|. \sty{Biblatex-mla} defaults to parenthetical citations for \mycommand{autocite}, but a package option---\mycode{autocite=footnote}, explained below in \secref{mla:subsec:options}---changes this default behavior. In this example, |x| represents the bibkey of the particular bibliographic entry being cited. Insert page numbers and citational prenotes using square braces: +\begin{quote} + \begin{verbatim} + \autocite[z][y]{x} + \end{verbatim} +\end{quote} + +Here, |y| is the page number, and |z| is the prenote (such as <qtd.~in>). If indicating a prenote but no page number, you must include an empty set for the page number: +\begin{quote} + \begin{verbatim} + \autocite[z][]{x} + \end{verbatim} +\end{quote} + +When citing a page number without any prenote, only one set of square brackets are needed: +\begin{quote} + \begin{verbatim} + \autocite[y]{x} + \end{verbatim} +\end{quote} + +\commanditem{autocite*} + +Suppress the author's name in a citation. Use this starred variant of the above command when indicating the author's name in the sentence calling the citation. + +\commanditem{autocites} + +Insert a citation for multiple sources at once. The respective citations will be separated by semicolons. +\begin{quote} + \begin{verbatim} + \autocites[z1][y1]{x1}[z2][y2]{x1}[z3][y3]{x3} + \end{verbatim} +\end{quote} +The curled braces always indicate the bibkey, and the squared braces respectively belong to the curly braces that follow them. + +\commanditem{printbibliography} + +Insert the list of Works Cited. + +\end{commandlist} + + + +\subsection{Package Options} +\label{mla:subsec:options} + +\sty{Biblatex-mla} defaults to the recommendations established by the \mla{}, but there may be times when you need to change some of these options for publication or other uses. As such, a number of package options have been defined to change the functionality of \sty{biblatex-mla} within reason. + +\begin{optionslist} +\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} + +\optionitem{firstlonghand} +The first citation of a source with a shorthand defined will always print a citation with author's name and, potentially, the shorttitle field. (See section XXX, below.) Add \mycode{firstlonghand=false} to your preamble to disable this option and print only the shorthand even on the first citation: +\begin{quote} + \begin{verbatim} + \usepackage[style=mla,firstlonghand=false]{biblatex} + \end{verbatim} +\end{quote} + +\optionitem{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 \mycode{nofullfootnote=true} to your preamble: +\begin{quote} + \begin{verbatim} + \usepackage[style=mla,nofullfootnote=true]{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: +\begin{quote} + \begin{verbatim} + \usepackage[style=mla,annotation=true]{biblatex} + \end{verbatim} +\end{quote} + +\optionitem{mladraft} +When using MLA parenthetical citations, it is best practice to cite as seldom as is necessary to avoid ambiguity. \sty{Biblatex-mla} can flag consecutive citations to the same page range, allowing you to defer citations to the end. In draft mode, \sty{biblatex-mla} will place a clover ($\clubsuit$) in the margin, along with a single footnote explanation. To use the tool outside of draft mode, set the \mycode{mladraft} option in your preamble to true; similarly, to avoid seeing these clovers and the footnote in draft mode, set the option to false: +\begin{quote} + \begin{verbatim} + \usepackage[style=mla,mladraft=true]{biblatex} + \end{verbatim} +\end{quote} + +\optionitem{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. It's included here mostly as a proof of concept for future expansion. +\begin{quote} + \begin{verbatim} + \usepackage[style=mla,noremoteinfo=true]{biblatex} + \end{verbatim} +\end{quote} + +\optionitem{showmedium} +\sty{Biblatex-mla} version 0.9 introduced support for the latest \mla{} style, defined in 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, \sty{biblatex-mla} 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: +\begin{quote} + \begin{verbatim} + \usepackage[style=mla,showmedium=false]{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 \sty{biblatex-mla} guessing the publication medium, thereby printing nothing when the field is undefined, deactivate the \mycode{guessmedium} option: +\begin{quote} + \begin{verbatim} + \usepackage[style=mla,guessmedium=false]{biblatex} + \end{verbatim} +\end{quote} + +\end{optionslist} + +\section{Database Guide} +\label{bib} + +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 \sty{biblatex-mla}, 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}. + +\end{document} diff --git a/Master/texmf-dist/tex/latex/biblatex-mla/american-mla.lbx b/Master/texmf-dist/tex/latex/biblatex-mla/american-mla.lbx new file mode 100644 index 00000000000..30ce645394c --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-mla/american-mla.lbx @@ -0,0 +1,26 @@ +% american-mla.lbx v0.2 2009/07/07 + +\ProvidesFile{american-mla.lbx}[2009/07/07 v0.1.1 biblatex style localization] + +\InheritBibliographyExtras{american} + +\DeclareBibliographyExtras{% + \def\bibdatelong{% + \@tempcnta0\thefield{day} \the\@tempcnta\nobreakspace% + \mkbibmonth{\thefield{month}}\nobreakspace + \thefield{year}}% + \def\bibdateshort{% + \thefield{day}/\thefield{month}/\thefield{year}}% + \def\biburldatelong{% + \@tempcnta0\thefield{urlday} \the\@tempcnta\nobreakspace% + \mkbibmonth{\thefield{urlmonth}}\nobreakspace + \thefield{urlyear}}% + \def\biburldateshort{% + \thefield{urlday}/\thefield{urlmonth}/\thefield{urlyear}}% +} + +\DeclareBibliographyStrings{% + inherit = {english}, +}% + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/biblatex-mla/english-mla.lbx b/Master/texmf-dist/tex/latex/biblatex-mla/english-mla.lbx new file mode 100644 index 00000000000..ac327f09d51 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-mla/english-mla.lbx @@ -0,0 +1,119 @@ +% english-mla.lbx v0.4 2010/12/27 + +\ProvidesFile{english-mla.lbx}[2010/12/27 v0.4 biblatex style localization] +\InheritBibliographyExtras{english} + +\DeclareBibliographyStrings{% + inherit = {english}, + 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 + % 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}}, + bytranslator = {{translated by}{trans\adddot}}, + byeditor = {{edited by}{ed\adddot}}, + % byserieseditor = {{general editor}{general editor}},% not used? + page = {{\unskip}{\unskip}}, + pages = {{\unskip}{\unskip}}, + byeditortr = {{ed\adddotspace and trans\adddot}{ed\adddotspace and trans\adddot}}, + 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}}, + 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}}, + byeditortran = {{ed, trans\adddot, and annot\adddot}{ed, trans\adddot, and annot\adddot}}, + byeditortrin = {{ed, trans\adddot, and introd\adddot}{ed, trans\adddot, and introd\adddot}}, + byeditortrfo = {{ed, trans\adddot, and forew\adddot}{ed, trans\adddot, and forew\adddot}}, + byeditortraf = {{ed, trans\adddot, and afterw\adddot}{ed, trans\adddot, and afterw\adddot}}, + byeditorcoin = {{ed, comm\adddot, and introd\adddot}{ed, comm\adddot, and introd\adddot}}, + byeditorcofo = {{ed, comm\adddot, and forew\adddot}{ed, comm\adddot, and forew\adddot}}, + byeditorcoaf = {{ed, comm\adddot, and afterw\adddot}{ed, comm\adddot, and afterw\adddot}}, + byeditoranin = {{ed, annot\adddot, and introd\adddot}{ed, annot\adddot, and introd\adddot}}, + byeditoranfo = {{ed, annot\adddot, and forew\adddot}{ed, annot\adddot, and forew\adddot}}, + byeditoranaf = {{ed, annot\adddot, and afterw\adddot}{ed, annot\adddot, and afterw\adddot}}, + byeditortrcoin = {{ed, trans\adddot, comm\adddot, and introd\adddot}{ed, trans\adddot, comm\adddot, and introd\adddot}}, + byeditortrcofo = {{ed, trans\adddot, comm\adddot, and forew\adddot}{ed, trans\adddot, comm\adddot, and forew\adddot}}, + byeditortrcoaf = {{ed, trans\adddot, comm\adddot, and afterw\adddot}{ed, trans\adddot, comm\adddot, and afterw\adddot}}, + byeditortranin = {{ed, trans\adddot, annot\adddot, and introd\adddot}{ed, trans\adddot, annot\adddot, and introd\adddot}}, + byeditortranfo = {{ed, trans\adddot, annot\adddot, and forew\adddot}{ed, trans\adddot, annot\adddot, and forew\adddot}}, + byeditortranaf = {{ed, trans\adddot, annot\adddot, and afterw\adddot}{ed, trans\adddot, annot\adddot, and afterw\adddot}}, + bytranslatorco = {{trans\adddotspace and comm\adddot}{trans\adddotspace and comm\adddot}}, + bytranslatoran = {{trans\adddotspace and annot\adddot}{trans\adddotspace and annot\adddot}}, + bytranslatorin = {{trans\adddotspace and introd\adddot}{trans\adddotspace and introd\adddot}}, + bytranslatorfo = {{trans\adddotspace and forew\adddot}{trans\adddotspace and forew\adddot}}, + bytranslatoraf = {{trans\adddotspace and afterw\adddot}{trans\adddotspace and afterw\adddot}}, + bytranslatorcoin = {{trans\adddot, comm\adddot, and introd\adddot}{trans\adddot, comm\adddot, and introd\adddot}}, + bytranslatorcofo = {{trans\adddot, comm\adddot, and forew\adddot}{trans\adddot, comm\adddot, and forew\adddot}}, + bytranslatorcoaf = {{trans\adddot, comm\adddot, and afterw\adddot}{trans\adddot, comm\adddot, and afterw\adddot}}, + 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}}, + newseries = {{ns}{ns}}, + oldseries = {{os}{os}}, + reprintof = {{reprint of}{rpt\adddotspace of}},% 0.7.1 fixed + phdthesis = {{Diss\adddot}{Diss\adddot}}, + reviewof = {{rev\adddotspace of}{rev\adddotspace of}}, + specissue = {{spec\adddot\addspace issue of}{spec\adddot\addspace issue of}}, + section = {{sec\adddot}{sec\adddot}}, + withcommentator = {{comm\adddot}{comm\adddot}}, + withannotator = {{annot\adddot}{annot\adddot}}, + 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}}, + 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}}, + director = {{dir\adddot}{dir\adddot}}, + screenplay = {{adapt\adddot}{adapt\adddot}}, + adaptation = {{adapt\adddot}{adapt\adddot}}, + adaptor = {{adapt\adddot}{adapt\adddot}}, + performer = {{perf\adddot}{perf\adddot}}, + performers = {{perf\adddot}{perf\adddot}}, + composer = {{composer\adddot}{composer\adddot}}, + composedby = {{composed~by}{composed~by}}, + producer = {{prod\adddot}{prod\adddot}}, + with = {{with}{with}}, + proceedings = {{proc\adddot}{proc\adddot}}, + transof = {{translation of}{trans\adddotspace of}},% 0.7 + volstodate = {{volumes to date}{vols\adddotspace to date}},% 0.7.1 + supptotitle = {{to}{to}},% 0.7.1 + print = {{print}{print}},% 0.9 + web = {{web}{web}},% 0.9 +}% + +\protected\gdef\lbx@us@mkbibrangetrunc@long#1#2{% + \printtext{% + \iffieldsequal{#2year}{#2endyear} + {\csuse{mkbibdate#1}{}{#2month}{#2day}} + {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}}% + \iffieldundef{#2endyear} + {} + {\iffieldequalstr{#2endyear}{} + {\mbox{\bibdatedash{ }}} + {\bibdatedash + \iffieldsequal{#2year}{#2endyear} + {\iffieldsequal{#2month}{#2endmonth} + {\csuse{mkbibdate#1}{#2endyear}{}{#2endday}} + {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}} + {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}}} + +\endinput + +% ignore the below. It's a reference for me so I don't continually need to +% teach myself regular expressions. -JC +% +% regex for find and replace (moving from mla.bbx to localized modules) +% find: {(.*?)}, +% replace: {{$1}{$1}},
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/biblatex-mla/italian-mla.lbx b/Master/texmf-dist/tex/latex/biblatex-mla/italian-mla.lbx new file mode 100644 index 00000000000..d4c43b67799 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-mla/italian-mla.lbx @@ -0,0 +1,90 @@ +% italian-mla.lbx v0.1 2010/09/05 +% +% Italian localization in this file provided by Andrea Marchitelli. +% Abbreviations taken, whenever possible, from Italian Cataloguing Rules + +\ProvidesFile{italian-mla.lbx}[2010/09/05 v0.1 biblatex style localization] + +\InheritBibliographyExtras{italian} + +\DeclareBibliographyStrings{% + inherit = {italian}, + bibliography = {{Bibliografia}{Bibliografia}}, + references = {{Riferimenti bibliografici}{Riferimenti bibliografici}}, + typecompiler = {{compilatore}{comp\adddot}}, + typecompilers = {{compilatori}{comp\adddot}}, + typecompilerandeditor = {{comp\adddotspace e cur\adddot}{comp\adddotspace e cur\adddot}}, + bytranslator = {{tradotto da}{trad\adddot da}}, + byeditor = {{a cura di}{a c\adddot di}}, + typegeneraleditor = {{curatore generale}{cur\adddotspace gen\adddot}}, + bytypegeneraleditor = {{cura generale di}{cur\adddotspace gen\adddot di}}, + byserieseditor = {{a cura di}{a c\adddot di}}, + page = {{pagina}{p\addot}}, + pages = {{pagine}{p\addot}}, + andothers = {{et~al\adddot}{et~al\adddot}}, + byeditortr = {{cur\adddotspace e trad\adddot}{cur\adddotspace e trad\adddot}}, + byeditorco = {{cur\adddotspace e com\adddot}{cur\adddotspace e com\adddot}}, + byeditoran = {{cur\adddotspace e anot\adddot}{cur\adddotspace e anot\adddot}}, + byeditorin = {{cur\adddotspace e introd\adddot}{cur\adddotspace e introd\adddot}}, + byeditorfo = {{cur\adddotspace e pr\'{o}l\adddot}{cur\adddotspace e pr\'{o}l\adddot}}, + byeditoraf = {{cur\adddotspace e ep\'{i}l\adddot}{cur\adddotspace e ep\'{i}l\adddot}}, + byeditortrco = {{cur\adddot, trad\adddotspace e com\adddot}{cur\adddot, trad\adddotspace e com\adddot}}, + byeditortran = {{cur\adddot, trad\adddotspace e anot\adddot}{cur\adddot, trad\adddotspace e anot\adddot}}, + byeditortrin = {{cur\adddot, trad\adddotspace e introd\adddot}{cur\adddot, trad\adddotspace e introd\adddot}}, + byeditortrfo = {{cur\adddot, trad\adddotspace e pr\'{o}l\adddot}{cur\adddot, trad\adddotspace e pr\'{o}l\adddot}}, + byeditortraf = {{cur\adddot, trad\adddotspace e ep\'{i}l\adddot}{cur\adddot, trad\adddotspace e ep\'{i}l\adddot}}, + byeditorcoin = {{cur\adddot, com\adddotspace e introd\adddot}{cur\adddot, com\adddotspace e introd\adddot}}, + byeditorcofo = {{cur\adddot, com\adddotspace e pr\'{o}l\adddot}{cur\adddot, com\adddotspace e pr\'{o}l\adddot}}, + byeditorcoaf = {{cur\adddot, com\adddotspace e ep\'{i}l\adddot}{cur\adddot, com\adddotspace e ep\'{i}l\adddot}}, + byeditoranin = {{cur\adddot, anot\adddotspace e introd\adddot}{cur\adddot, anot\adddotspace e introd\adddot}}, + byeditoranfo = {{cur\adddot, anot\adddotspace e pr\'{o}l\adddot}{cur\adddot, anot\adddotspace e pr\'{o}l\adddot}}, + byeditoranaf = {{cur\adddot, anot\adddotspace e ep\'{i}l\adddot}{cur\adddot, anot\adddotspace e ep\'{i}l\adddot}}, + byeditortrcoin = {{cur\adddot, trad\adddot, com\adddotspace e introd\adddot}{cur\adddot, trad\adddot, com\adddotspace e introd\adddot}}, + byeditortrcofo = {{cur\adddot, trad\adddot, com\adddotspace e pr\'{o}l\adddot}{cur\adddot, trad\adddot, com\adddotspace e pr\'{o}l\adddot}}, + byeditortrcoaf = {{cur\adddot, trad\adddot, com\adddotspace e ep\'{i}l\adddot}{cur\adddot, trad\adddot, com\adddotspace e ep\'{i}l\adddot}}, + byeditortranin = {{cur\adddot, trad\adddot, anot\adddotspace e introd\adddot}{cur\adddot, trad\adddot, anot\adddotspace e introd\adddot}}, + byeditortranfo = {{cur\adddot, trad\adddot, anot\adddotspace e pr\'{o}l\adddot}{cur\adddot, trad\adddot, anot\adddotspace e pr\'{o}l\adddot}}, + byeditortranaf = {{cur\adddot, trad\adddot, anot\adddotspace e ep\'{i}l\adddot}{cur\adddot, trad\adddot, anot\adddotspace e ep\'{i}l\adddot}}, + bytranslatorco = {{trad\adddotspace e com\adddot}{trad\adddotspace e com\adddot}}, + bytranslatoran = {{trad\adddotspace e annot\adddot}{trad\adddotspace e annot\adddot}}, + bytranslatorin = {{trad\adddotspace e introd\adddot}{trad\adddotspace e introd\adddot}}, + bytranslatorfo = {{trad\adddotspace e pref\adddot}{trad\adddotspace e pref\adddot}}, + bytranslatoraf = {{trad\adddotspace e ep\'{i}l\adddot}{trad\adddotspace e ep\'{i}l\adddot}}, + bytranslatorcoin = {{trad\adddot, com\adddotspace e introd\adddot}{trad\adddot, com\adddotspace e introd\adddot}}, + bytranslatorcofo = {{trad\adddot, com\adddotspace e pr\'{o}l\adddot}{trad\adddot, com\adddotspace e pr\'{o}l\adddot}}, + bytranslatorcoaf = {{trad\adddot, com\adddotspace e ep\'{i}l\adddot}{trad\adddot, com\adddotspace e ep\'{i}l\adddot}}, + bytranslatoranin = {{trad\adddot, anot\adddotspace e introd\adddot}{trad\adddot, anot\adddotspace e introd\adddot}}, + bytranslatoranfo = {{trad\adddot, anot\adddotspace e pr\'{o}l\adddot}{trad\adddot, anot\adddotspace e pr\'{o}l\adddot}}, + bytranslatoranaf = {{trad\adddot, anot\adddotspace e ep\'{i}l\adddot}{trad\adddot, anot\adddotspace e ep\'{i}l\adddot}}, + phdthesis = {{Tesi di dottorato}{Tesi di dottorato}}, + reviewof = {{recensione di}{rec\adddotspace}}, + volume = {{{Vol\adddot}}{{Vol\adddot}}}, % for correct capitalization of volume reference + phd = {{Tesis}{Tesis}},% 0.6 + dphil = {{Tesis}{Tesis}},% 0.6 + lic = {{Lic\adddotspace tesis}{Lic\adddotspace tesis}},% 0.6 + ma = {{MA\addabbrvspace tesis}{MA\addabbrvspace tesis}},% 0.6 + ms = {{MS\addabbrvspace tesis}{MS\addabbrvspace tesis}},% 0.6 + 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}}, + adaptation = {{adattamento}{adatt\adddot}}, + adaptor = {{adatt\adddot}{adapt\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 + 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 +} + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/biblatex-mla/mla.bbx b/Master/texmf-dist/tex/latex/biblatex-mla/mla.bbx new file mode 100644 index 00000000000..67183e9ddb4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-mla/mla.bbx @@ -0,0 +1,1200 @@ +% mla.bbx v0.9 2010/02/15 * compatible with biblatex beta 0.9 +% Maintained at <http://konx.net/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. +% File is in constant progress. Things are messy. Ignore platypi. + +\ProvidesFile{mla.bbx}[2010/02/15 v0.9 biblatex bibliography style] + +\RequireBibliographyStyle{standard} +\DeclareLanguageMapping{american}{american-mla} +\DeclareLanguageMapping{english}{english-mla} +\DeclareLanguageMapping{spanish}{spanish-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}% 0.95 +\NewBibliographyString{bycompilerandeditor}% 0.95 +% \NewBibliographyString{typecompilerandeditor}% 0.7 +% \NewBibliographyString{bytypecompilerandeditor}% 0.7 +\NewBibliographyString{transof}% 0.7 +% \NewBibliographyString{typegeneraleditor}% 0.7.1 +% \NewBibliographyString{bytypegeneraleditor}% 0.7.1 +\NewBibliographyString{volstodate}% 0.7.1 +\NewBibliographyString{supptotitle}% 0.7.1 +\NewBibliographyString{print}% 0.9 +\NewBibliographyString{web}% 0.9 +\NewBibliographyString{generaleditor}% 0.9 + +\setlength{\bibitemsep}{0pt} +\renewcommand*{\mkbibnameaffix}[1]{\addcomma\addlowpenspace#1} + +\DeclareNameFormat{mla:last}{#1}% +\DeclareNameAlias{author}{sortname} +\DeclareNameFormat{default}{% 0.7.1 + \iffirstinits + {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}} + {\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}% + % \usebibmacro{name:first-last:andothers}} + \usebibmacro{name:andothers}} + +\renewenvironment*{thebibliography} + {\list + {} + {\setlength{\leftmargin}{\bibhang}% + \setlength{\itemindent}{-\leftmargin}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}} + {\endlist} + +\DeclareFieldFormat{title:article}{\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:inproceedings}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:thesis}{\mkbibquote{#1}}% +\DeclareFieldFormat{title:reviewedbook}{\bibstring{reviewof}\addspace\mkbibemph{#1}}% +\DeclareFieldFormat{title:reference}{\mkbibemph{#1}}% 0.7.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{mla:capital}{\MakeCapital{#1}} +\DeclareFieldFormat{mla:lowercase}{\MakeLowercase{#1}} +\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1}}% 0.7.1 removed (extra) leading \addspace +\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{year}{\openrangeformat{#1}}% 0.7.1 % canceled in 0.9 +\DeclareFieldFormat{openrangevolumes}{#1~\bibstring{volstodate}}% 0.7.1 - not yet used +\DeclareFieldFormat{volumeof}{\bibstring{volume}~#1~\bibstring{ofseries}}% 0.7.1 +\DeclareFieldFormat{mla:sentence-case}{\MakeSentenceCase{#1}}% 0.7.1 +\DeclareFieldFormat{eprint:jstor}{% 0.9 + \ifhyperref% + {\href{http://www.jstor.org/stable/#1}{\nolinkurl{\emph{JSTOR}}}}% + {\nolinkurl{\emph{JSTOR}}}}% +\DeclareFieldFormat{eprint:googlebooks}{% 0.9 + \ifhyperref% + {\href{http://books.google.com/books?id=#1}{\emph{Google Books}}}% + {\emph{Google Books}}} +\DeclareFieldFormat{eprint:adelaide}{% 0.9 + \ifhyperref% + {\href{#1}{\emph{eBooks@Adelaide}}}% + {\emph{eBooks@Adelaide}}} +\DeclareFieldFormat{eprint:muse}{% 0.95 + \ifhyperref% + {\href{#1}{\emph{Project Muse}}}% + {\emph{Project Muse}}} + +\DeclareBibliographyAlias{booklet}{book} +\DeclareBibliographyAlias{collection}{book} +\DeclareBibliographyAlias{reference}{book} + +\DeclareBibliographyAlias{inbook}{customa} +\DeclareBibliographyAlias{manual}{customa} +\DeclareBibliographyAlias{misc}{customa} +\DeclareBibliographyAlias{online}{customa} +\DeclareBibliographyAlias{patent}{customa} +\DeclareBibliographyAlias{report}{customa} +\DeclareBibliographyAlias{suppcollection}{suppbook} + +\renewcommand*{\newunitpunct}{\addperiod\space} +\renewcommand*{\andothersdelim}{\ifcitation{}{\addcomma}\addspace} +\renewcommand*{\bibpagespunct}{\addperiod\space} +\renewcommand*{\subtitlepunct}{\ifterm{}{\addcolon}\space} + +\newboolean{bbx@mla-incollection} + +\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}% 0.7.1 - same as biblatex-apa +\setboolean{bbx:gnoreminfo}{false} +\DeclareBibliographyOption{noremoteinfo}[true]{\setboolean{bbx:gnoreminfo}{#1}} + +\newbool{bbx:lnoreminfo}% 0.7.1 - same as biblatex-apa +\setboolean{bbx:lnoreminfo}{false} +\DeclareEntryOption{noremoteinfo}[true]{\setboolean{bbx:lnoreminfo}{#1}} + +\newbool{bbx@publimedium}% 0.9 +\setboolean{bbx@publimedium}{true}% platypus set as true by default for 0.95 +\DeclareBibliographyOption{showmedium}[true]{\setboolean{bbx@publimedium}{#1}}% 0.95 changed from declareentryoption (oops!) to declarebibliographyoption + +\newbool{bbx@guessmedium}% 0.9 +\setboolean{bbx@guessmedium}{true} +\DeclareBibliographyOption{guessmedium}[true]{\setboolean{bbx@guessmedium}{#1}}% 0.95 changed from declareentryoption (oops!) to declarebibliographyoption + +\newboolean{bbx@nodate}% 0.95 +\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 + +% % 0.9 - new commands for open year ranges +% \newrobustcmd*{\mkbibrangefull}[2]{% +% \printtext{% +% \csuse{mkbibdate#1}{#2year}{#2month}{#2day}% +% \iffieldundef{#2endyear} +% {} +% {\iffieldequalstr{#2endyear}{} +% {\mbox{\bibdatedash}} +% {\bibdatedash +% \csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}} + + +\renewcommand*{\bibnamedash}{% + \mbox{% + \mlanamedash% + \iffieldundef{nameaddon}% + {\unspace\newunitpunct}% + {\unspace\addspace}% + }% +}% + +\newcommand*{\mlanamedash}{\textendash\textendash\textendash} + +\renewbibmacro*{author}{% + \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}} + {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND + \NOT\iffirstonpage} + {\bibnamedash} + {\ifbool{bbx@totalnames}% + {\printnames[sortname][-\value{listtotal}]{author}} + {\printnames{author}}% + \savefield{fullhash}{\bbx@lasthash}} + \iffieldundef{nameaddon}% 0.7.1 wide support for nameaddon + {}% + {\setunit{\addspace}% + \printfield{nameaddon}}% + \iffieldundef{authortype}% 0.7.1 wide support for 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}{% 0.7.1 + \ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}} + {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT + \iffirstonpage}% + {\mbox{\mlanamedash\unspace\addcomma\addspace}}% + {\ifbool{bbx@totalnames}% 0.7.1 + {\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}{% 0.7.1 + \ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}} + {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT + \iffirstonpage}% + {\mbox{\mlanamedash\unspace\addcomma\addspace}}% + {\ifbool{bbx@totalnames}% 0.7.1 + {\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*{url+urldate}{% + \ifthenelse{\boolean{bbx@publimedium}\AND\NOT \(\iffieldundef{url} \AND \iffieldundef{eprint}\)}% 0.9 platypus - check the logic here! should it be and or or between url and eprint? + {\printtext[mla:capital]{\bibstring{web}}\newunit}% + {\iffieldundef{urlyear}{}{\setunit{\addspace}}}% + \iffieldundef{urlyear}% + {}% + {\printtext{\biburldatelong}% + \setunit{\addspace}}% Suggested by Stephen Brumbaugh + \ifthenelse{\boolean{bbx@publimedium}\AND\NOT\iffieldundef{url}}% + {}% + {\printfield{url}}% + } + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{editor}% + \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% + %\printlist{language}% 0.9 is this necessary? + % \newunit\newblock% + \usebibmacro{byeditor+others}% + \newunit\newblock% + \printfield{edition}\isdot% + \newunit% + \iffieldundef{maintitle}% + {\printfield{volume}% + \printfield{part}}% + {}% + \newunit% + \iffieldundef{volume}% 0.7.1 + {\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}% 0.7.1 + {}% + {\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}}% + {\printorigdate\clearfield{origyear}}% 0.9 + {}% +} + +\newbibmacro*{mla:multivolumes}{% 0.7.1 + \iffieldundef{maintitle}% + {}% + {\printfield[volumeof]{volume}% + \setunit{\addspace}% + \usebibmacro{maintitle}}% + \usebibmacro{mla:generaleditor}% + \iffieldequalstr{eventendyear}{}% 0.9 support for "X vols. to date" + {\printfield[openrangevolumes]{volumes}\clearfield{volumes}}% 0.9 + {\printfield{volumes}\clearfield{volumes}}% 0.9 + \newunit\newblock% + \printeventdate\clearfield{eventyear}% 0.9 changed from orig- to 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}{% 0.9 new support in multivolume + \usebibmacro{mla:generaleditor:internal}{}% + \usebibmacro{mla:generaleditor:internal}{a}% + \usebibmacro{mla:generaleditor:internal}{b}% + \usebibmacro{mla:generaleditor:internal}{c}% +} + +\newbibmacro*{mla:generaleditor:internal}[1]{% 0.9 new support in multivolume + \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}{% 0.7 + \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}} + + +%%% crossrefs... %%% +% \DeclareCiteCommand{\bbx@crossref} +% {}% +% {\ifsingletitle% +% {\printtext[bibhyperref]{\printnames{labelname}}}% +% {\printnames{labelname}}% +% \ifsingletitle% +% {\unspace}% +% {\unspace\addcomma\addspace% +% \printtext[bibhyperref]{\printfield[citetitle:book]{labeltitle}}}}% +% {\unspace}% +% {\unspace} + +\DeclareCiteCommand{\bbx@crossref}% 0.7.1 slightly improved + {} + {\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}% + % \printfield{nameaddon}% 0.7.1 + \usebibmacro{mlabelnamepunct}% + \ifthenelse{% + \iffieldequalstr{entrysubtype}{book}% + \OR% + \iffieldequalstr{entrysubtype}{play}}% + {\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\newblock}% + {}% + \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% + \usebibmacro{publimedium}% + \usebibmacro{finentry}} + +\newbibmacro*{mla:incollection:internal}{% + \setboolean{bbx@mla-incollection}{true}% + \usebibmacro{maintitle+booktitle}% + \ifthenelse{% 0.7.1 - added bookauthor for supptypes + \iffieldequalstr{entrytype}{suppbook}% + \OR% + \iffieldequalstr{entrytype}{suppcollection}}% + {\setunit{\newunitpunct\bibstring{byauthor}\addspace}% + \ifnamesequal{labelname}{bookauthor}% 0.7 + {\printnames[mla:last]{bookauthor}}% + {\printnames[byauthor]{bookauthor}}}% + {}% + \newunit\newblock% + \usebibmacro{byauthor}% + \newunit\newblock + %\printlist{language}% 0.9 is this necessary? + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{edition}\isdot% + \newunit + \iffieldundef{maintitle}% + {\printfield{volume}\printfield{part}}% + {}% + \newunit + \iffieldundef{volume}% 0.7.1 + {\printfield{volumes}\clearfield{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 + \ifbool{bbx@publimedium}{}{\usebibmacro{url+urldate}}% + \newunit\newblock + \iffieldundef{volumes}% 0.7.1 + {}% + {\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}% + % \printfield{nameaddon}% 0.7.1 + \usebibmacro{mlabelnamepunct}% + \usebibmacro{title}% + \newunit\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{publimedium}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + % \printfield{nameaddon}% 0.7.1 + \usebibmacro{mlabelnamepunct}% + \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{publimedium}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{unpublished}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + % \printfield{nameaddon}% 0.7.1 + \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}% + % \printfield{nameaddon}% 0.7.1 + \usebibmacro{mlabelnamepunct}% + \usebibmacro{title}% + \newunit\newblock% + \usebibmacro{mla:thesis:type}% + \newunit\newblock + \printlist{institution}% + \setunit*{\addcomma\space}% + \iffieldequalstr{entrysubtype}{published}% + {\printfield{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}% + % \printfield{nameaddon}% 0.7.1 + \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{\bibdatelong}% + \newunit}% + {\printfield{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}% + \iffieldundef{pages}% + {\iffieldundef{url}% + {}% + {\addcolon\usebibmacro{url+urldate}}% + }% + {\addcolon\printfield{pages}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{inreference}{% + \usebibmacro{bibindex}% + \usebibmacro{author}% + % \printfield{nameaddon}% 0.7.1 + \usebibmacro{mlabelnamepunct}% + \usebibmacro{title}% + \newunit\newblock% + \iffieldundef{crossref}% + {\iffieldundef{xref}% + {\newunit\newblock + \usebibmacro{maintitle+booktitle}% + \newunit + %\printlist{language}% 0.9 is this necessary? + \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 + \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}% + \newunit\newblock% + \printfield{howpublished}% + \newunit\newblock% + \printlist{publisher}% + \setunit{\addcomma\addspace}% + \printfield{year}% + \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}\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}% + % \printfield{year}% 0.9 + \ifbool{bbx@nodate}{\printtext{n.d.}}% 0.95 platypus-don't forget to localize this string! + \printdate% 0.9 + \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}{% 0.7.1 + \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}{% 0.7.1 much modified + \usebibmacro{title}% + \newunit% + \iffieldsequal{maintitle}{title}% + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}}% + {}% + \iffieldundef{volume}% + {\usebibmacro{maintitle}}% + {}% + \iffieldundef{maintitle}% + {\printfield{volume}\clearfield{volume}}% 0.9.x clear volume to avoid reprinting it + {}% + \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}}% 0.7.1 moved \isdot + \setunit*{\isdot\addcomma\addspace}% 0.9 added asterisk + \printlist{organization}% + \setunit*{\addcomma\addspace}% 0.9 added asterisk + \printeventdate% 0.9 + \setunit*{\addcomma\addspace}% 0.9 added asterisk + \printlist{institution}% + \setunit*{\addcomma\addspace}% 0.9 added asterisk + \printfield{venue}} + +\newbibmacro*{title+stitle}{% + \iffieldundef{title}% + {\ifthenelse{% + \iffieldequalstr{entrytype}{suppbook}% + \OR% + \iffieldequalstr{entrytype}{suppcollection}}% + {}% + {\printtext[title:\strfield{entrytype}]{% + \printfield[noformat]{booktitle}% + \setunit*{\subtitlepunct}% 0.9 added asterisk + \printfield[noformat]{booksubtitle}}}}% + {\printtext[title:\strfield{entrytype}]{% + \printfield[noformat]{title}% + \setunit*{\subtitlepunct}% 0.9 added asterisk + \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}% 0.9 added asterisk + \printfield[noformat]{subtitle}}% + \newunit% + \printfield[noformat]{titleaddon}% + \newunit% + \usebibmacro{mla:reprint}% + \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}}% + \setunit*{\addspace}% + \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine}}% + {\printlist[brackets]{location}% + \printtext{\bibdatelong}% + \setunit*{\addcomma\addspace}% 0.9 added asterisk + \printfield{version}% + \setunit*{\addcomma\addspace}% 0.9 added asterisk + \printfield[mla:newspaper:section]{chapter}% + }% + {\printfield{series}% + \setunit*{\addspace}% 0.9 added asterisk + \printfield{volume}% + \setunit*{\adddot}% + \printfield{number}\clearfield{number}% + \setunit*{\addcomma\space}% 0.9 added asterisk + \usebibmacro{mla:isbn/issn+doi+eprint}% + \setunit*{\addspace}% 0.9 added asterisk + \usebibmacro{issue+date}% + \newunit\newblock + \newunit}% +} + +\renewbibmacro*{journal+issuetitle}{% + \usebibmacro{journal}% + \setunit*{\addspace}% + \ifthenelse{\iffieldequalstr{entrysubtype}{newspaper} \or \iffieldequalstr{entrysubtype}{magazine}}% + {\printlist[brackets]{location}% + \printtext{\bibdatelong}% + \setunit{\addcomma\addspace}% + \printfield{version}% + \setunit{\addcomma\addspace}% + \printfield[mla:newspaper:section]{chapter}% + }% + {\printfield{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}{% 0.9 + \ifbool{bbx@publimedium}% + {\printfield[mla:capital]{howpublished}% + \ifthenelse{\iffieldundef{howpublished}\AND\boolean{bbx@guessmedium}}% + {\ifthenelse{\iffieldundef{url}\AND\iffieldundef{eprinttype}}% + {\printtext[mla:capital]{\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 +} + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx b/Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx new file mode 100644 index 00000000000..d68b2c7a454 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx @@ -0,0 +1,798 @@ +% mla.cbx, v0.9 2010/02/15 * compatible with biblatex beta 0.9 +% Maintained at <http://konx.net/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. +% File is in constant progress. Things are messy. + +\ProvidesFile{mla.cbx}[2010/02/15 v0.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]{% +\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}% + +\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} + +% 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 + {} + {\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}% + % \global\undef\cbx@mlaincollection} 0.7.1 - commented out + +\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}}} + +% \begin{inlines} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%% 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}} % 0.5, avoiding using editor's name in citations when incollection is an anonymous work: ie, citing Beowulf from the Norton Anthology + {\ifnameundef{author} + {\global\boolfalse{cbx@named} + \usebibmacro{cite:mla:title}} + {\usebibmacro{cite:name}% + \usebibmacro{cite:mla:title}\addspace}} + {\usebibmacro{cite:name}% + \usebibmacro{cite:mla:title}\addspace}}}}% + +\newbibmacro*{cite:mla:shorthand}{% + \ifciteibid% + {\ifbool{cbx@mlafootnotes}% 0.5 -- no ibid for MLA footnotes + {\printtext[bibhyperref]{% + \printfield[citetitle:\strfield{entrytype}]{shorthand}}\addspace}% + {\usebibmacro{cite:ibid}}}% + {\global\boolfalse{cbx@hyperpages}\printtext[bibhyperref]{% + \printfield[citetitle:\strfield{entrytype}]{shorthand}}\addspace}} + +\newbibmacro*{cite:name}{% + \ifsingletitle% + {\printtext[bibhyperref]{% + % \ifbool{bbx@totalnames}% platypus - still need to add support for option totalnames in citations + \printnames{labelname}}% + \savefield{namehash}{\cbx@lasthash}% + \global\booltrue{cbx@named}}%\printnames{labelname} + {\printnames{labelname}% + \savefield{namehash}{\cbx@lasthash}% + \global\booltrue{cbx@named}}}% + +\newbibmacro*{cite:mla:title}{% 0.7.1 tidied up + \unspace% + \ifnameundef{labelname}% + {\unspace% + \printtext[bibhyperref]{% + \printfield[citetitle:\strfield{entrytype}]{labeltitle}}% + \iffieldundef{postnote}% + {}% + {\addspace}}% + {\ifsingletitle% + {}% + {\usebibmacro{cite:mla:title:internal}}} + \ifthenelse{\iffieldequalstr{entrytype}{review}% + \and\ifnameundef{author}% + \and\iffieldundef{title}}% + {\printtext[bibhyperref]% + {\unspace\printtext{\bibcpstring{reviewof}% + \addspace\printfield{booktitle}}}}% + {}}% + +\newbibmacro*{cite:mla:title:internal}{% 0.7.1 new internal macro + \ifbool{cbx@named}% + {\unspace\addcomma\addspace}% + {\unspace}% + \iffieldundef{title}% + {\iffieldequalstr{entrytype}{review}% + {\printtext[bibhyperref]{\printtext{\bibstring{reviewof}% + \addspace\printfield{booktitle}}}}% + {\ifthenelse{\iffieldequalstr{entrytype}{suppbook}% 0.7.1 + \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% + {\iffieldundef{postnote}% + {\usebibmacro{cite:name}}% + {\unspace\global\boolfalse{cbx@named}}}% + {\unspace\global\boolfalse{cbx@named}}} + +\newbibmacro*{cite:opcit}{% + \usebibmacro{cite:mla:title}\addspace} + +\newbibmacro*{cite:ibid}{% + \iffieldundef{postnote}% + {\unspace\usebibmacro{cite:mla:noibid}}% + {\unspace\global\booltrue{cbx@hyperpages}}% + \usebibmacro{cite:save}% + \iffieldundef{prenote} + {} + {\usebibmacro{cite:reset}}} + +\renewcommand*{\postnotedelim}{\addspace}% + +\renewbibmacro*{postnote}{% + \iffieldundef{postnote}{\unspace}{% + {\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}}} + +% \end{inlines} +% \begin{footnotes} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%% 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}% 0.7 + {\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}{% + % \unspace + \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}% 0.7.1 + {\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% + % \printfield[mla:lowercase]{titleaddon}% + \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}} + +%%%%% platypus TODO for footnotes %%%%% +% - inproceedings +% - articles +% - proceedings + +% \end{footnotes} +% \begin{formats} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%% Format Declarations %%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\DeclareFieldFormat{citetitle:article}{\mkbibquote{#1}} +\DeclareFieldFormat{citetitle:inreference}{\mkbibquote{#1}} +\DeclareFieldFormat{citetitle:book}{\mkbibemph{#1}} +\DeclareFieldFormat{citetitle:booklet}{\mkbibemph{#1}}% 0.7 +\DeclareFieldFormat{citetitle:collection}{\mkbibemph{#1}}% 0.7 +\DeclareFieldFormat{citetitle:reference}{\mkbibemph{#1}}% 0.7 +\DeclareFieldFormat{citetitle:incollection}{\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}}% 0.7 +\DeclareFieldFormat{mla:lowercase}{\MakeLowercase{#1}} +\DeclareFieldFormat{ibidpostnote}{\unspace{}#1}% +\DeclareFieldFormat{footpostnote}{#1}% +\DeclareFieldFormat{mlarepeatedcites}{\fbox{#1}% + \marginpar{\hfill\footnotesize{$\clubsuit$}}}% +\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}} + + +% \end{formats} +% \begin{cites} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%% Cite Commands %%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\renewbibmacro*{prenote}{% + \iffieldundef{prenote} + {\global\undef\cbx@lastprenote} + {\printfield{prenote}% + \prenotedelim% + % \cbx@lastprenote + \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] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite:mla:starred:title}} + {} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\cite}[\mkbibparens] + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}% + \usebibmacro{cite:mla}}% + {} + {\usebibmacro{postnote}} + +\DeclareCiteCommand*{\cite}[\mkbibparens] + {\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} + {\citereset\renewbibmacro*{author}{% + \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}} + {\ifthenelse{\iffieldequals{namehash}{\cbx@lasthash}\AND\NOT + \iffirstonpage} + {\mbox{\mlanamedash\unspace\newunitpunct}} + {\printnames{author}% + \savefield{namehash}{\cbx@lasthash}}} + {\let\cbx@lasthash\undefined}} +\begin{thebibliography}\thebibitem} + {\usedriver{}{\thefield{entrytype}}\addperiod} + {\thebibitem} + {\end{thebibliography}\citereset} +%\end{nothing} + +\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}\addspace}} + {\usebibmacro{cite:mla:shorthand}}}} + +\newbibmacro*{cite:mla:title:alone}{% + \unspace\printtext[bibhyperref]{% + \printfield[citetitle:\strfield{entrytype}]{labeltitle}}% + \ifthenelse{\iffieldequalstr{entrytype}{suppbook}\and\iffieldundef{title}}% + {\printtext[bibhyperref]{% + \printfield[mla:capital]{entrysubtype}}}% + {}} + +% \end{cites} + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/biblatex-mla/portuguese-mla.lbx b/Master/texmf-dist/tex/latex/biblatex-mla/portuguese-mla.lbx new file mode 100644 index 00000000000..8ed052b2d2e --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-mla/portuguese-mla.lbx @@ -0,0 +1,82 @@ +% portuguese-mla.lbx v0.2 2009/07/07 +% +% Portuguese localization in this file provided by Paulo Ferreira. + +\ProvidesFile{portuguese-mla.lbx}[2009/07/07 v0.1.1 biblatex style localization] + +\InheritBibliographyExtras{portuguese} + +\DeclareBibliographyStrings{% + inherit = {portuguese}, + bibliography = {{Bibliografia}{Bibliografia}}, + references = {{Obras citadas}{Obras citadas}}, + % typecompilerandeditor = {{compiler and editor}{comp\adddot\ and ed\adddot}},% 0.7 FIXME in Portuguese + bytranslator = {{trad\adddot}{trad\adddot}}, + byeditor = {{ed\adddot}{ed\adddot}}, + typegeneraleditor = {{editor geral}{ed\adddotspace geral}},% 0.7.1 FIXME? + bytypegeneraleditor = {{editor geral}{ed\adddotspace geral}},% 0.7.1 FIXME? + % byserieseditor = {{editor geral}{editor geral}}, + page = {{\unskip}{\unskip}}, + pages = {{\unskip}{\unskip}}, + andothers = {{et~al\adddot}{et~al\adddot}}, + byeditortr = {{ed\adddot\ e trad\adddot}{ed\adddot\ e trad\adddot}}, % Capitalize Trans? + byeditorco = {{ed\adddot\ e com\adddot}{ed\adddot\ e com\adddot}}, % Etc? + byeditoran = {{ed\adddot\ e anot\adddot}{ed\adddot\ e anot\adddot}}, + byeditorin = {{ed\adddot\ e intr\adddot}{ed\adddot\ e intr\adddot}}, + byeditorfo = {{ed\adddot\ e pref\adddot}{ed\adddot\ e pref\adddot}}, + byeditoraf = {{ed\adddot\ e posf\adddot}{ed\adddot\ e posf\adddot}}, + byeditortrco = {{ed., trad. e com\adddot}{ed., trad. e com\adddot}}, + byeditortran = {{ed., trad. e anot\adddot}{ed., trad. e anot\adddot}}, + byeditortrin = {{ed., trad. e intro\adddot}{ed., trad. e intro\adddot}}, + byeditortrfo = {{ed., trad. e pref\adddot}{ed., trad. e pref\adddot}}, + byeditortraf = {{ed., trad. e posf\adddot}{ed., trad. e posf\adddot}}, + byeditorcoin = {{ed., com. e introd\adddot}{ed., com. e introd\adddot}}, + byeditorcofo = {{ed., com. e pref\adddot}{ed., com. e pref\adddot}}, + byeditorcoaf = {{ed., com. e posf\adddot}{ed., com. e posf\adddot}}, + byeditoranin = {{ed., anot. e introd\adddot}{ed., anot. e introd\adddot}}, + byeditoranfo = {{ed., anot. e pref\adddot}{ed., anot. e pref\adddot}}, + byeditoranaf = {{ed., anot. e posf\adddot}{ed., anot. e posf\adddot}}, + byeditortrcoin = {{ed., trad., com. e introd\adddot}{ed., trad., com. e introd\adddot}}, + byeditortrcofo = {{ed., trad., com. e pref\adddot}{ed., trad., com. e pref\adddot}}, + byeditortrcoaf = {{ed., trad., com. e posf\adddot}{ed., trad., com. e posf\adddot}}, + byeditortranin = {{ed., trad., anot. e introd\adddot}{ed., trad., anot. e introd\adddot}}, + byeditortranfo = {{ed., trad., anot. e pref\adddot}{ed., trad., anot. e pref\adddot}}, + byeditortranaf = {{ed., trad., anot. e posf\adddot}{ed., trad., anot. e posf\adddot}}, + bytranslatorco = {{trad\adddot\ e com\adddot}{trad\adddot\ e com\adddot}}, + bytranslatoran = {{trad\adddot\ e anot\adddot}{trad\adddot\ e anot\adddot}}, + bytranslatorin = {{trad\adddot\ e introd\adddot}{trad\adddot\ e introd\adddot}}, + bytranslatorfo = {{trad\adddot\ e pref\adddot}{trad\adddot\ e pref\adddot}}, + bytranslatoraf = {{trad\adddot\ e posf\adddot}{trad\adddot\ e posf\adddot}}, + bytranslatorcoin = {{trad., com. e introd\adddot}{trad., com. e introd\adddot}}, + bytranslatorcofo = {{trad., com. e pref\adddot}{trad., com. e pref\adddot}}, + bytranslatorcoaf = {{trad., com. e posf\adddot}{trad., com. e posf\adddot}}, + bytranslatoranin = {{trad., anot. e introd\adddot}{trad., anot. e introd\adddot}}, + bytranslatoranfo = {{trad., anot. e pref\adddot}{trad., anot. e pref\adddot}}, + bytranslatoranaf = {{trad., anot. e posf\adddot}{trad., anot. e posf\adddot}}, + phdthesis = {{Tese de Doutor\adddot}{Tese de Doutor\adddot}}, + reviewof = {{recens\~{a}o de}{recens\~{a}o de}}, + volume = {{{Vol\adddot}}{{Vol\adddot}}}, % for correct capitalization of volume reference + phd = {{Tese de Doutor\adddot}{Tese de Doutor\adddot}},% 0.6 + dphil = {{Tese de Doutor\adddot}{Tese de Doutor\adddot}},% 0.6 + lic = {{Diss. de Lic\adddot}{Diss. de Lic\adddot}},% 0.6 + ma = {{Tese de Mestr\adddot}{Tese de Mestr\adddot}},% 0.6 + ms = {{Tese de Mestr\adddot}{Tese de Mestr\adddot}},% 0.6 + 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 +} + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/biblatex-mla/spanish-mla.lbx b/Master/texmf-dist/tex/latex/biblatex-mla/spanish-mla.lbx new file mode 100644 index 00000000000..331f363afb5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-mla/spanish-mla.lbx @@ -0,0 +1,86 @@ +% spanish-mla.lbx v0.2 2009/07/07 +% +% Spanish localization in this file provided by Ivan Fernandez. +% Abbreviations taken, whenever possible, from Appendix 2 of the +% Diccionario Panhispánico de Dudas, http://buscon.rae.es/dpdI/ + +\ProvidesFile{spanish-mla.lbx}[2009/07/07 v0.1.1 biblatex style localization] + +\InheritBibliographyExtras{spanish} + +\DeclareBibliographyStrings{% + inherit = {spanish}, + bibliography = {{Obras citadas}{Obras citadas}}, + references = {{Obras citadas}{Obras citadas}}, + typecompiler = {{recopilador}{rec\adddot}}, % FIXME: is this right? + typecompilers = {{recopiladors}{recs\adddot}}, % FIXME: is this right? + typecompilerandeditor = {{rec\adddotspace y ed\adddot}{rec\adddotspace y ed\adddot}},% 0.7 FIXME: is this right? + bytranslator = {{trad\adddot}{trad\adddot}},% FIXME to read "trans. by" in the first instance + byeditor = {{ed\adddot}{ed\adddot}},% FIXME "ed. by" in first instance + typegeneraleditor = {{editor general}{ed\adddotspace gen\adddot}},% 0.7.1 FIXME? + bytypegeneraleditor = {{editor general}{ed\adddotspace gen\adddot}},% 0.7.1 FIXME? + % byserieseditor = {editor general}, + page = {{\unskip}{\unskip}}, + pages = {{\unskip}{\unskip}}, + andothers = {{et~al\adddot}{et~al\adddot}}, + byeditortr = {{ed\adddotspace y trad\adddot}{ed\adddotspace y trad\adddot}}, + byeditorco = {{ed\adddotspace y com\adddot}{ed\adddotspace y com\adddot}}, + byeditoran = {{ed\adddotspace y anot\adddot}{ed\adddotspace y anot\adddot}}, + byeditorin = {{ed\adddotspace y introd\adddot}{ed\adddotspace y introd\adddot}}, + byeditorfo = {{ed\adddotspace y pr\'{o}l\adddot}{ed\adddotspace y pr\'{o}l\adddot}}, + byeditoraf = {{ed\adddotspace y ep\'{i}l\adddot}{ed\adddotspace y ep\'{i}l\adddot}}, + byeditortrco = {{ed\adddot, trad\adddotspace y com\adddot}{ed\adddot, trad\adddotspace y com\adddot}}, + byeditortran = {{ed\adddot, trad\adddotspace y anot\adddot}{ed\adddot, trad\adddotspace y anot\adddot}}, + byeditortrin = {{ed\adddot, trad\adddotspace e introd\adddot}{ed\adddot, trad\adddotspace e introd\adddot}}, + byeditortrfo = {{ed\adddot, trad\adddotspace y pr\'{o}l\adddot}{ed\adddot, trad\adddotspace y pr\'{o}l\adddot}}, + byeditortraf = {{ed\adddot, trad\adddotspace y ep\'{i}l\adddot}{ed\adddot, trad\adddotspace y ep\'{i}l\adddot}}, + byeditorcoin = {{ed\adddot, com\adddotspace e introd\adddot}{ed\adddot, com\adddotspace e introd\adddot}}, + byeditorcofo = {{ed\adddot, com\adddotspace y pr\'{o}l\adddot}{ed\adddot, com\adddotspace y pr\'{o}l\adddot}}, + byeditorcoaf = {{ed\adddot, com\adddotspace y ep\'{i}l\adddot}{ed\adddot, com\adddotspace y ep\'{i}l\adddot}}, + byeditoranin = {{ed\adddot, anot\adddotspace e introd\adddot}{ed\adddot, anot\adddotspace e introd\adddot}}, + byeditoranfo = {{ed\adddot, anot\adddotspace y pr\'{o}l\adddot}{ed\adddot, anot\adddotspace y pr\'{o}l\adddot}}, + byeditoranaf = {{ed\adddot, anot\adddotspace y ep\'{i}l\adddot}{ed\adddot, anot\adddotspace y ep\'{i}l\adddot}}, + byeditortrcoin = {{ed\adddot, trad\adddot, com\adddotspace e introd\adddot}{ed\adddot, trad\adddot, com\adddotspace e introd\adddot}}, + byeditortrcofo = {{ed\adddot, trad\adddot, com\adddotspace y pr\'{o}l\adddot}{ed\adddot, trad\adddot, com\adddotspace y pr\'{o}l\adddot}}, + byeditortrcoaf = {{ed\adddot, trad\adddot, com\adddotspace y ep\'{i}l\adddot}{ed\adddot, trad\adddot, com\adddotspace y ep\'{i}l\adddot}}, + byeditortranin = {{ed\adddot, trad\adddot, anot\adddotspace e introd\adddot}{ed\adddot, trad\adddot, anot\adddotspace e introd\adddot}}, + byeditortranfo = {{ed\adddot, trad\adddot, anot\adddotspace y pr\'{o}l\adddot}{ed\adddot, trad\adddot, anot\adddotspace y pr\'{o}l\adddot}}, + byeditortranaf = {{ed\adddot, trad\adddot, anot\adddotspace y ep\'{i}l\adddot}{ed\adddot, trad\adddot, anot\adddotspace y ep\'{i}l\adddot}}, + bytranslatorco = {{trad\adddotspace y com\adddot}{trad\adddotspace y com\adddot}}, + bytranslatoran = {{trad\adddotspace y anot\adddot}{trad\adddotspace y anot\adddot}}, + bytranslatorin = {{trad\adddotspace e introd\adddot}{trad\adddotspace e introd\adddot}}, + bytranslatorfo = {{trad\adddotspace y pr\'{o}l\adddot}{trad\adddotspace y pr\'{o}l\adddot}}, + bytranslatoraf = {{trad\adddotspace y ep\'{i}l\adddot}{trad\adddotspace y ep\'{i}l\adddot}}, + bytranslatorcoin = {{trad\adddot, com\adddotspace e introd\adddot}{trad\adddot, com\adddotspace e introd\adddot}}, + bytranslatorcofo = {{trad\adddot, com\adddotspace y pr\'{o}l\adddot}{trad\adddot, com\adddotspace y pr\'{o}l\adddot}}, + bytranslatorcoaf = {{trad\adddot, com\adddotspace y ep\'{i}l\adddot}{trad\adddot, com\adddotspace y ep\'{i}l\adddot}}, + bytranslatoranin = {{trad\adddot, anot\adddotspace e introd\adddot}{trad\adddot, anot\adddotspace e introd\adddot}}, + bytranslatoranfo = {{trad\adddot, anot\adddotspace y pr\'{o}l\adddot}{trad\adddot, anot\adddotspace y pr\'{o}l\adddot}}, + bytranslatoranaf = {{trad\adddot, anot\adddotspace y ep\'{i}l\adddot}{trad\adddot, anot\adddotspace y ep\'{i}l\adddot}}, + phdthesis = {{Tesis}{Tesis}}, + reviewof = {{rese\~{n}a de}{rese\~{n}a de}}, + volume = {{{Vol\adddot}}{{Vol\adddot}}}, % for correct capitalization of volume reference + phd = {{Tesis}{Tesis}},% 0.6 + dphil = {{Tesis}{Tesis}},% 0.6 + lic = {{Lic\adddotspace tesis}{Lic\adddotspace tesis}},% 0.6 + ma = {{MA\addabbrvspace tesis}{MA\addabbrvspace tesis}},% 0.6 + ms = {{MS\addabbrvspace tesis}{MS\addabbrvspace tesis}},% 0.6 + 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 +} + +\endinput
\ No newline at end of file |