Leider sind die Vorgaben der Med. Fakultät in Göttingen nicht nach DIN. Wozu auch? Das würde es ja allen zu einfach machen.
Ich habe jetzt versucht die bst datei anzupassen, komm nicht weiter. Kennt sich jemand aus mit programmieren in der bst datei?
Also ich verwende natbib plus den von mir erzeugten style.
Vorgehen soweit. Anpassen des stil: überalle ohne klammern.
FUNCTION {format.date}
{ year "year" bibinfo.check duplicate$ empty$
{
"empty year in " cite$ * "; set to ????" * warning$
pop$ "????"
}
'skip$
if$
extra.label *
}
Soweit so gut, alle anderen Entry hab ich genau nach meinen Vorgaben, außerhalt das ich keine Klammer um die Jahreszahl habe wg der allgemeinen Vorgabe oben
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
author format.key output
format.date "year" output.check
date.block
format.title "title" output.check
crossref missing$
{
journal
remove.dots
"journal" bibinfo.check
"journal" output.check
add.blank
format.vol.num.pages output
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
format.issn output
format.doi output
format.url output
format.note output
format.eprint output
fin.entry
}
Nun dachte ich: Gut schreibe eine
neue FUNCTION{format.date2} mit Klammern
zusätzlich zur alten format.date und binde diese in die Formatierung von ARTICLE ein:
neue Funktion
FUNCTION {format.date2}
{ year "year" bibinfo.check duplicate$ empty$
{
"empty year in " cite$ * "; set to ????" * warning$
pop$ "????"
}
'skip$
if$
extra.label *
before.all 'output.state :=
" (" swap$ * ")" *
}
einbinden der neuen bei article; zum Vergleich alte vorschrift bei booklet.
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
author format.key output
[b]format.date2 "year" output.check [/b]
date.block
format.title "title" output.check
crossref missing$
{
journal
remove.dots
"journal" bibinfo.check
"journal" output.check
add.blank
format.vol.num.pages output
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
format.issn output
format.doi output
format.url output
format.note output
format.eprint output
fin.entry
}
FUNCTION {booklet}
{ output.bibitem
format.authors output
author format.key output
format.date "year" output.check
date.block
format.title "title" output.check
howpublished "howpublished" bibinfo.check output
address "address" bibinfo.check output
format.isbn output
format.doi output
format.url output
format.note output
format.eprint output
fin.entry
}
Jede Format-Version für sich funktioniert auch, allerdings nicht beide auf einen Schlag. Dann kann ich in Texmaker nicht mehr Bibtexen.
Hat jemand eine Idee welchen Denkfehler ich begehe oder wie ich das gewünschte Ergebnis erzielen kann?? Ich wäre euch sehr dankbar.
Bestens
Eiko[/b]
Leider sind die Vorgaben der Med. Fakultät in Göttingen nicht nach DIN. Wozu auch? Das würde es ja allen zu einfach machen.
Ich habe jetzt versucht die bst datei anzupassen, komm nicht weiter. Kennt sich jemand aus mit programmieren in der bst datei?
Also ich verwende natbib plus den von mir erzeugten style.
Vorgehen soweit. Anpassen des stil: überalle ohne klammern.
[code]
FUNCTION {format.date}
{ year "year" bibinfo.check duplicate$ empty$
{
"empty year in " cite$ * "; set to ????" * warning$
pop$ "????"
}
'skip$
if$
extra.label *
}
[/code]
Soweit so gut, alle anderen Entry hab ich genau nach meinen Vorgaben, außerhalt das ich keine Klammer um die Jahreszahl habe wg der allgemeinen Vorgabe oben
[code]
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
author format.key output
format.date "year" output.check
date.block
format.title "title" output.check
crossref missing$
{
journal
remove.dots
"journal" bibinfo.check
"journal" output.check
add.blank
format.vol.num.pages output
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
format.issn output
format.doi output
format.url output
format.note output
format.eprint output
fin.entry
}
[/code]
Nun dachte ich: Gut schreibe eine [b] neue FUNCTION{format.date2} [/b] mit Klammern [b] zusätzlich zur alten format.date [/b]und binde diese in die Formatierung von ARTICLE ein:
neue Funktion
[code]
FUNCTION {format.date2}
{ year "year" bibinfo.check duplicate$ empty$
{
"empty year in " cite$ * "; set to ????" * warning$
pop$ "????"
}
'skip$
if$
extra.label *
before.all 'output.state :=
" (" swap$ * ")" *
}
[/code]
einbinden der neuen bei article; zum Vergleich alte vorschrift bei booklet.
[code]
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
author format.key output
[b]format.date2 "year" output.check [/b]
date.block
format.title "title" output.check
crossref missing$
{
journal
remove.dots
"journal" bibinfo.check
"journal" output.check
add.blank
format.vol.num.pages output
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
format.issn output
format.doi output
format.url output
format.note output
format.eprint output
fin.entry
}
FUNCTION {booklet}
{ output.bibitem
format.authors output
author format.key output
format.date "year" output.check
date.block
format.title "title" output.check
howpublished "howpublished" bibinfo.check output
address "address" bibinfo.check output
format.isbn output
format.doi output
format.url output
format.note output
format.eprint output
fin.entry
}
[/code]
Jede Format-Version für sich funktioniert auch, allerdings nicht beide auf einen Schlag. Dann kann ich in Texmaker nicht mehr Bibtexen.
Hat jemand eine Idee welchen Denkfehler ich begehe oder wie ich das gewünschte Ergebnis erzielen kann?? Ich wäre euch sehr dankbar.
Bestens
Eiko[/b]