From 5aa22446c70e91fc5a81680737dddd97e940b384 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 9 Jul 2016 22:08:10 +0000 Subject: biblatex-mla (9jul16) git-svn-id: svn://tug.org/texlive/trunk@41669 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx | 35 +++++++++++++++--------- 1 file changed, 22 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx') diff --git a/Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx b/Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx index ac23476287c..f75dd18b810 100644 --- a/Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx @@ -1,13 +1,11 @@ -% mla.cbx, v1.5 2013/05/05 * compatible with biblatex 2.5 +% mla.cbx, v1.6 2016/07/08 * compatible with biblatex 3.3 % Maintained at 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: . % % 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.cbx}[2013/05/05 v1.5 biblatex citation style] +\ProvidesFile{mla.cbx}[2016/07/08 v1.6 biblatex citation style] \newboolean{cbx@firstlonghand}% \DeclareBibliographyOption{firstlonghand}[true]{\setboolean{cbx@firstlonghand}{#1}} @@ -42,7 +40,7 @@ }} -\ExecuteBibliographyOptions{citetracker=true,ibidtracker=constrict,opcittracker=constrict,singletitle,autocite=inline,uniquename=init,hyperref=true,useprefix=true,firstlonghand,annotation=false,loccittracker=strict,noremoteinfo=true,date=long,urldate=long,mancitepar,datezeros=false}% +\ExecuteBibliographyOptions{citetracker=true,ibidtracker=constrict,opcittracker=constrict,singletitle,autocite=inline,uniquename=init,hyperref=true,useprefix=true,firstlonghand,annotation=false,loccittracker=strict,noremoteinfo=true,date=long,urldate=long,mancitepar=false,datezeros=false}% \newbool{cbx@named}% \newbool{cbx@mlafootnotes}% @@ -678,12 +676,23 @@ \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}}% +\@ifpackagelater{biblatex}{2016/03/01}{% + \DeclareNameFormat{cite:foot:editor}{% + \nameparts{#1}% + \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\partnamesuffix}% + \usebibmacro{name:andothers}}% + \DeclareNameFormat{cite:foot:translator}{% + \nameparts{#1}% + \usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\partnamesuffix}% + \usebibmacro{name:andothers}}% +}{% + \DeclareNameFormat{cite:foot:editor}{% + \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:andothers}}% + \DeclareNameFormat{cite:foot:translator}{% + \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:andothers}}% +}% \DeclareFieldFormat{foot:cite:edition:format}{% \ifinteger{#1}% {\mkbibordinal{#1}~\bibstring{edition}}% @@ -785,7 +794,7 @@ \DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote]% {\usebibmacro{prenote}} {\usebibmacro{citeindex}% - \usebibmacro{cite}} + \usebibmacro{cite:mla}} {\multicitedelim} {\usebibmacro{cite:postnote}} @@ -811,4 +820,4 @@ {}} -\endinput \ No newline at end of file +\endinput -- cgit v1.2.3