type
volume
year
+ % New fields
+ url
+ accessdate
+ urlpath
+ version
}
{ author.duplicate author.shared }
{ label }
% Changed edition to MLA abbreviation
FUNCTION {format.edition}
{ edition empty$
- { "" }
+ { version empty$
+ { "" }
+ { "Vers.~" version *}
+ if$
+ }
{ edition "l" change.case$ 's := edition 't :=
- "" "9th" "ninth" "8th" "eighth" "7th" "seventh" "6th" "sixth" "5th" "fifth" "4th" "fourth" "3rd" "third" "2nd" "second" "1st" "first"
+ ""
+ "10th" "tenth" "9th" "ninth" "8th" "eighth" "7th" "seventh" "6th" "sixth"
+ "5th" "fifth" "4th" "fourth" "3rd" "third" "2nd" "second" "1st" "first"
{duplicate$ empty$ { pop$ #0 }{ #1 } if$ }{ s = { 't := }{ pop$ } if$ }
while$
-% output.state mid.sentence =
-% { edition "l" change.case$ " ed." * }
-% { edition "t" change.case$ " ed." * }
-% if$
- t " ed." *
+ t " ed." *
+ "edition and version" version either.or.check
}
if$
}
if$
}
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { accessdate empty$
+ { "There's a url but no accessdate in " cite$ * warning$ "" }
+ { accessdate " " * }
+ if$
+ "$<$" * url * "$>$" *
+ urlpath empty$
+ 'skip$
+ { do.period " Path: " * urlpath * }
+ if$
+ }
+ if$
+}
+
FUNCTION {format.article.crossref}
{ %key empty$
%{ journal empty$
}
if$
new.block
+ format.url output
+ new.block
note output
fin.entry
}
}
if$
new.block
+ format.url output
+ new.block
note output
fin.entry
}
format.book.crossref output.nonnull
}
if$
+ new.block
+ format.url output
note output
fin.entry
}
}
if$
new.block
+ format.url output
+ new.block
note output
fin.entry
}
}
if$
new.block
+ format.url output
+ new.block
note output
fin.entry
}
if$
format.date output
new.block
+ format.url output
+ new.block
note output
fin.entry
}
address output
format.date "year" output.check
new.block
+ format.url output
+ new.block
note output
fin.entry
}
{ output.bibitem
format.authors output
title howpublished new.block.checkb
- format.title output after.sentence 'output.state :=
- howpublished new.block.checka
+ format.title output
+ new.block
+ %howpublished new.block.checka
howpublished output
format.date output
new.block
+ format.url output
+ new.block
note output
fin.entry
empty.misc.check
address output
format.date "year" output.check
new.block
+ format.url output
+ new.block
note output
fin.entry
}
}
if$
new.block
+ format.url output
+ new.block
note output
fin.entry
}
new.block
format.title "title" output.check
new.block
+ format.url output
+ new.block
note "note" output.check
format.date output
fin.entry