--- Downloads/biblatex-MLA-02/bbx/MLA.bbx 2007-10-22 06:50:35.000000000 -0400 +++ /usr/local/texlive/texmf-local/tex/latex/biblatex/bbx/MLA.bbx 2007-11-28 12:58:28.000000000 -0500 @@ -1,5 +1,18 @@ -% MLA.bbx,v 0.2 2007/08/01 * compatible with biblatex beta 0.6 -% File in progress - sorry about the mess! -James Clawson +% MLA.bbx,v 0.02.0 2007/11/28 * compatible with biblatex beta 0.6 +% +% Based on v 0.2 2007/08/01 by James Clawson +% [copyright info forthcoming] +% +% +% Changelog: +% +% v 0.02.0 * Jay Savage +% 2007/11/26: Updated URL format to conform more closely to MLA standard +% 2007/11/28: Books with no author now sort and display correctly +% 2007/11/28: changed version nos. to reflect fork +% To do: +% * Handle organizations correctly +% * Redefine \url to use doc font instead of fix, per MLA \ProvidesFile{MLA.bbx}[2007/01/06 v0.6 biblatex bibliography style] @@ -10,7 +23,7 @@ \DeclareFieldFormat{title:inproceedings}{\enquote{#1\addperiod}} \DeclareFieldFormat{title:unpublished}{\enquote{#1\addperiod}} \DeclareFieldFormat{title:thesis}{\enquote{#1\addperiod}} -\DeclareFieldFormat{url}{\hfill\\\mbox{{\urlmath<#1>}}} +\DeclareFieldFormat{url}{$<$\url{#1}$>$} \DeclareFieldFormat{isbn}{} @@ -72,8 +85,12 @@ % these above bibmacros from biblatex.bbx \DeclareBibliographyDriver{book}{% - \usebibmacro{bibindex}% - \usebibmacro{author}% +%% \usebibmacro{bibindex}% +%% \usebibmacro{author}% +\usebibmacro{bibindex}% + \ifnameundef{author} + {\usebibmacro{editor}}% + {\usebibmacro{author}}% \newunit\newblock \usebibmacro{mtitle+mstitle+vol+part+title+stitle}% \newunit @@ -90,8 +107,10 @@ {}% \newunit \printfield{volumes}% - \newunit\newblock - \usebibmacro{byeditor}% + \ifnameundef{author} + {} + {\newunit\newblock + \usebibmacro{byeditor}}% \newunit\newblock \usebibmacro{ser+num}% % \newunit\newblock