Skip to content

Commit

Permalink
Rename 'urldate' to 'lastchecked', add 'lastrevised', add function 'w…
Browse files Browse the repository at this point in the history
…ebpage'
  • Loading branch information
DanielKotik committed May 11, 2017
1 parent 5a96f42 commit 0b79be6
Showing 1 changed file with 37 additions and 25 deletions.
62 changes: 37 additions & 25 deletions humanmutationTUD.bst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ ENTRY
title
type
url
urldate
lastchecked
lastrevised
volume
year
}
Expand Down Expand Up @@ -577,16 +578,16 @@ FUNCTION {format.url}
{ url empty$
{ "" }
{
". \urlprefix\url{" * url * "}" *
urldate empty$
{ "there is url but no urldate in " cite$ * warning$ }
lastchecked empty$
{ "there is url but no lastchecked in " cite$ * warning$ }
{
"~({Aufruf am:} " * urldate * ")" *
}
if$
"~[{Aufruf am:} " * lastchecked * "]" *
" \urlprefix\url{" * url * "}" *
}
if$
}
}
if$
}

% This function converts all characters of the string given in the title entry to
% lower case all letters except the very first character. For language 'ngerman'
Expand Down Expand Up @@ -1201,7 +1202,32 @@ FUNCTION {manual}
format.note output
fin.entry
}

FUNCTION {webpage}
{ output.bibitem
format.authors output
author format.key output
format.date "year" output.check
date.block
format.title output
new.block
format.url "" output
% new.block
% format.note output
fin.entry
}
FUNCTION {misc}
{ output.bibitem
format.authors output
author format.key output
format.date "year" output.check
date.block
format.title output
new.block
howpublished "howpublished" bibinfo.check output
new.block
format.note output
fin.entry
}
FUNCTION {mastersthesis}
{ output.bibitem
format.authors "author" output.check
Expand All @@ -1218,20 +1244,6 @@ FUNCTION {mastersthesis}
format.note output
fin.entry
}

FUNCTION {misc}
{ output.bibitem
format.authors output
author format.key output
format.date "year" output.check
date.block
format.title output
new.block
howpublished "howpublished" bibinfo.check output
new.block
format.note output
fin.entry
}
FUNCTION {phdthesis}
{ output.bibitem
format.authors "author" output.check
Expand Down Expand Up @@ -1587,9 +1599,9 @@ FUNCTION {begin.bib}
write$ newline$
"\providecommand{\natexlab}[1]{#1}"
write$ newline$
"\providecommand{\url}[1]{\texttt{#1}}"
"\providecommand{\url}[1]{#1}"
write$ newline$
"\providecommand{\urlprefix}{URL: }"
"\providecommand{\urlprefix}{URL:~}"
write$ newline$
"\providecommand{\selectlanguage}[1]{\relax}"
write$ newline$
Expand Down

0 comments on commit 0b79be6

Please sign in to comment.