diff options
author | Karl Berry <karl@freefriends.org> | 2016-07-09 22:08:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-07-09 22:08:10 +0000 |
commit | 5aa22446c70e91fc5a81680737dddd97e940b384 (patch) | |
tree | 6f13d1e9a6a9395c96a9e6b865d72c1b7084e69e /Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx | |
parent | 5af25bafb7113aeac5878b6d479fcd5a7a8afc1f (diff) |
biblatex-mla (9jul16)
git-svn-id: svn://tug.org/texlive/trunk@41669 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-mla/mla.cbx | 35 |
1 files changed, 22 insertions, 13 deletions
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 <https://github.com/jmclawson/biblatex-mla> by James Clawson. % % Feel free to improve, redistribute, and adapt to your own ends. Please share improvements in formatting and MLA standards compliance back to James Clawson: <clawson@gmail.com>. % % This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. -% -% 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 |