ich hab folgendes Problem, dass ich in meinem bib file ein paar @incollection Einträge besitze. Wenn ich jedoch auf diese in latex verweisen will kommt nur ein [?]. Bei anderen Bib einträgen wie z.B. @article passiert dieser fehler nicht. Ich hab das ganze mal auf ein Minimalbeispiel reduziert. Ich benutze Bibdesk und texmaker. Die bibstyle datei is eine selbst modifizierte die ich so bekommen habe und mit der es eigentlich funktionieren sollte (das sagen zumindest meine kollegen). Bei den standard bibstyle dateien ist auch KEIN Fehler da.
Mein tex file:
\documentclass[12pt, a4paper, twoside, bibliography=totoc] {scrreprt} \begin{document} \cite{Kraus} \cite{Datta} \bibliographystyle{tc} \bibliography{teeeeest.bib} \end{document}
@ARTICLE{Datta, author = {Rathin Datta and Michael Henry}, title = {Lactic Acid: Recent Advandes in Products, Processes and Technologies - a Review}, journal = {J. Chem. Techn. Biotechn.}, year = {2006}, volume = {81}, pages = {1119-1129}, } @INCOLLECTION{Kraus, author = {Milos Kraus and Helmut Kn{\"o}zinger}, title = {Elimination and Addition Reactions}, booktitle = {Handbook of Heterogenous Catalysis}, publisher = {Wiley-VCH}, year = {2008}, editor = {G. Ertl and H. Kn{\"o}zinger and F. Sch{\"u}th and J. Weitkamp}, volume = {7}, chapter = {14.15}, pages = {3592-3603}, address = {Weinheim}, edition = {2}, }
ENTRY { address author booktitle edition editor institution journal month pages publisher school title type volume year } {} { label } INTEGERS { output.state before.all mid.sentence after.sentence after.block } FUNCTION {init.state.consts} { #0 'before.all := #1 'mid.sentence := #2 'after.sentence := #3 'after.block := } STRINGS { s t} FUNCTION {output.nonnull} { 's := output.state mid.sentence = { ", " * write$ } { output.state after.block = { add.period$ write$ newline$ "\newblock " write$ } { output.state before.all = 'write$ { add.period$ " " * write$ } if$ } if$ mid.sentence 'output.state := } if$ s } FUNCTION {output.nonnull.nostate} { 's := output.state after.block = { add.period$ write$ newline$ "\newblock " write$ } 'write$ if$ s } FUNCTION {output} { duplicate$ empty$ 'pop$ 'output.nonnull if$ } FUNCTION {output.check} { 't := duplicate$ empty$ { pop$ "empty " t * " in " * cite$ * warning$ } 'output.nonnull if$ } INTEGERS { nameptr namesleft numnames posothers showetal} FUNCTION {output.bibitem} { newline$ "\bibitem{" write$ cite$ write$ "}" write$ newline$ "" before.all 'output.state := } FUNCTION {bibinfo.check} { swap$ duplicate$ missing$ { pop$ pop$ "" } { duplicate$ empty$ { swap$ pop$ } { swap$ pop$ } if$ } if$ } FUNCTION {fin.entry} { add.period$ write$ newline$ } FUNCTION {new.block} { output.state before.all = 'skip$ { after.block 'output.state := } if$ } FUNCTION {new.sentence} { output.state after.block = 'skip$ { output.state before.all = 'skip$ { after.sentence 'output.state := } if$ } if$ } FUNCTION {add.blank} { " " * before.all 'output.state := } FUNCTION {add.colon} { duplicate$ empty$ 'skip$ { ":" * add.blank } if$ } FUNCTION {not} { { #0 } { #1 } if$ } FUNCTION {and} { 'skip$ { pop$ #0 } if$ } FUNCTION {or} { { pop$ #1 } 'skip$ if$ } FUNCTION {field.or.null} { duplicate$ empty$ { pop$ "" } 'skip$ if$ } FUNCTION {bolden} { duplicate$ empty$ { pop$ "" } { "\textbf{" swap$ * "}" * } if$ } FUNCTION {italize} { duplicate$ empty$ { pop$ "" } { "\textit{" swap$ * "}" * } if$ } FUNCTION {scaps} { duplicate$ empty$ { pop$ "" } { "\textsc{" swap$ * "}" * } if$ } FUNCTION {anglequote} { duplicate$ empty$ { pop$ "" } { "<<" swap$ * ">>" * } if$ } FUNCTION {singlequote} { duplicate$ empty$ { pop$ "" } { "'{}" swap$ * "'{}" * } if$ } FUNCTION {doublequote} { duplicate$ empty$ { pop$ "" } { "``{}" swap$ * "''{}" * } if$ } FUNCTION {format.names.author} { 's := #1 'nameptr := s num.names$ 'numnames := numnames 'namesleft := #0 'posothers := { namesleft #0 > } { s nameptr "{f{.}. }{ll}{vv}" format.name$ 't := t "others" = { nameptr 'posothers := } 'skip$ if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ #0 'showetal := numnames #13 > { #12 'numnames := #1 'showetal := } { numnames #13 = { posothers #0 > { #1 'showetal := #12 'numnames := } 'skip$ if$ } { posothers #0 > { #1 'showetal := #1 'numnames - } 'skip$ if$ } if$ } if$ #1 'nameptr := numnames 'namesleft := { namesleft #0 > } { s nameptr "{f{.}. }{ll}{vv}" format.name$ 't := nameptr #1 > { namesleft #1 > { ", " * t * } { showetal #0 > { ", " * t * } { ", " * t * } if$ } if$ } 't if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ showetal #0 > { " et~al." * } 'skip$ if$ } FUNCTION {format.names.editor} { 's := #1 'nameptr := s num.names$ 'numnames := numnames 'namesleft := #0 'posothers := { namesleft #0 > } { s nameptr "{f{.}. }{ll}{vv}" format.name$ 't := t "others" = { nameptr 'posothers := } 'skip$ if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ #0 'showetal := numnames #10 > { #9 'numnames := #1 'showetal := } { numnames #10 = { posothers #0 > { #1 'showetal := #9 'numnames := } 'skip$ if$ } { posothers #0 > { #1 'showetal := #1 'numnames - } 'skip$ if$ } if$ } if$ #1 'nameptr := numnames 'namesleft := { namesleft #0 > } { s nameptr "{f{.}. }{ll}{vv}" format.name$ 't := nameptr #1 > { namesleft #1 > { ", " * t * } { showetal #0 > { ", " * t * } { ", " * t * } if$ } if$ } 't if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ showetal #0 > { " et~al." * } 'skip$ if$ } FUNCTION {sortify} { purify$ "l" change.case$ } INTEGERS { len } FUNCTION {chop.word} { 's := 'len := s #1 len substring$ = { s len #1 + global.max$ substring$ } 's if$ } FUNCTION {format.title.short} { 't := "A " #2 "An " #3 "The " #4 t chop.word chop.word chop.word #1 #3 substring$ } FUNCTION {format.techreport.type} { type "type" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.techreport.month} { month "month" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.techreport.year} { year "year" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.techreport.institution} { institution "institution" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.techreport.author} { author duplicate$ empty$ 'skip$ { format.names.author } if$ "author" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {techreport} { output.bibitem type empty$ 'skip$ { format.techreport.type output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block month empty$ 'skip$ { format.techreport.month output.nonnull.nostate " " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block year empty$ 'skip$ { format.techreport.year output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block institution empty$ 'skip$ { format.techreport.institution output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block author empty$ 'skip$ { "(Erf.: " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate format.techreport.author output.nonnull.nostate ")." duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block fin.entry } FUNCTION {format.inbook.author} { author duplicate$ empty$ 'skip$ { format.names.author } if$ "author" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.inbook.title} { title "title" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.inbook.edition} { edition "edition" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.inbook.publisher} { publisher "publisher" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.inbook.year} { year "year" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.inbook.pages} { pages "pages" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {inbook} { output.bibitem author empty$ 'skip$ { format.inbook.author output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block title empty$ 'skip$ { "\dq " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate format.inbook.title output.nonnull.nostate "\dq, " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block edition empty$ 'skip$ { format.inbook.edition output.nonnull.nostate " Aufl., " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block publisher empty$ 'skip$ { format.inbook.publisher output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block year empty$ 'skip$ { format.inbook.year output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block pages empty$ 'skip$ { format.inbook.pages output.nonnull.nostate "." duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block fin.entry } FUNCTION {format.mastersthesis.author} { author duplicate$ empty$ 'skip$ { format.names.author } if$ "author" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.mastersthesis.type} { type "type" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.mastersthesis.school} { school "school" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.mastersthesis.year} { year "year" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {mastersthesis} { output.bibitem author empty$ 'skip$ { format.mastersthesis.author output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block type empty$ 'skip$ { format.mastersthesis.type output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block school empty$ 'skip$ { format.mastersthesis.school output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block year empty$ 'skip$ { format.mastersthesis.year output.nonnull.nostate "." duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block fin.entry } FUNCTION {format.article.author} { author duplicate$ empty$ 'skip$ { format.names.author } if$ "author" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.article.journal} { journal "journal" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.article.volume} { volume "volume" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.article.year} { year "year" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.article.pages} { pages "pages" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {article} { output.bibitem author empty$ 'skip$ { format.article.author output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block journal empty$ 'skip$ { format.article.journal output.nonnull.nostate " " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block volume empty$ 'skip$ { format.article.volume output.nonnull.nostate " " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block year empty$ 'skip$ { "(" duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate format.article.year output.nonnull.nostate ") " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block pages empty$ 'skip$ { format.article.pages output.nonnull.nostate "." duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block fin.entry } FUNCTION {format.book.author} { author duplicate$ empty$ 'skip$ { format.names.author } if$ "author" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.book.title} { title "title" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.book.editor} { editor duplicate$ empty$ 'skip$ { format.names.editor } if$ "editor" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.book.publisher} { publisher "publisher" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.book.address} { address "address" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.book.year} { year "year" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.book.pages} { pages "pages" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {book} { output.bibitem author empty$ 'skip$ { format.book.author output.nonnull.nostate ", in: " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block title empty$ 'skip$ { "\dq " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate format.book.title output.nonnull.nostate "\dq, " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block editor empty$ 'skip$ { format.book.editor output.nonnull.nostate " (Hrsg.), " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block publisher empty$ 'skip$ { format.book.publisher output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block address empty$ 'skip$ { format.book.address output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block year empty$ 'skip$ { format.book.year output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block pages empty$ 'skip$ { format.book.pages output.nonnull.nostate "." duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block fin.entry } FUNCTION {format.proceedings.author} { author duplicate$ empty$ 'skip$ { format.names.author } if$ "author" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.proceedings.title} { title "title" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.proceedings.editor} { editor duplicate$ empty$ 'skip$ { format.names.editor } if$ "editor" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.proceedings.booktitle} { booktitle "booktitle" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.proceedings.volume} { volume "volume" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.proceedings.publisher} { publisher "publisher" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.proceedings.address} { address "address" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.proceedings.year} { year "year" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.proceedings.pages} { pages "pages" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {proceedings} { output.bibitem author empty$ 'skip$ { format.proceedings.author output.nonnull.nostate ", in: " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block title empty$ 'skip$ { " " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate format.proceedings.title output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block editor empty$ 'skip$ { format.proceedings.editor output.nonnull.nostate " (Hrsg.), " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block booktitle empty$ 'skip$ { format.proceedings.booktitle output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block volume empty$ 'skip$ { "Bd. " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate format.proceedings.volume output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block publisher empty$ 'skip$ { format.proceedings.publisher output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block address empty$ 'skip$ { format.proceedings.address output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block year empty$ 'skip$ { format.proceedings.year output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block pages empty$ 'skip$ { "S. " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate format.proceedings.pages output.nonnull.nostate "." duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block fin.entry } FUNCTION {format.phdthesis.author} { author duplicate$ empty$ 'skip$ { format.names.author } if$ "author" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.phdthesis.type} { type "type" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.phdthesis.school} { school "school" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {format.phdthesis.year} { year "year" bibinfo.check duplicate$ empty$ 'skip$ { } if$ } FUNCTION {phdthesis} { output.bibitem author empty$ 'skip$ { format.phdthesis.author output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block type empty$ 'skip$ { format.phdthesis.type output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block school empty$ 'skip$ { format.phdthesis.school output.nonnull.nostate ", " duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block year empty$ 'skip$ { format.phdthesis.year output.nonnull.nostate "." duplicate$ empty$ 'skip$ { } if$ output.nonnull.nostate } if$ new.block fin.entry } READ STRINGS { longest.label } INTEGERS { longest.label.width } FUNCTION {initialize.longest.label} { "" 'longest.label := #0 'longest.label.width := } FUNCTION {longest.label.pass} { label width$ longest.label.width > { label 'longest.label := label width$ 'longest.label.width := } 'skip$ if$ } EXECUTE {initialize.longest.label} ITERATE {longest.label.pass} FUNCTION {begin.bib} { preamble$ empty$ 'skip$ { preamble$ write$ newline$ } if$ "\begin{thebibliography}{99}{" longest.label * "}" * write$ newline$ } EXECUTE {begin.bib} EXECUTE {init.state.consts} ITERATE {call.type$} FUNCTION {end.bib} { newline$ "\end{thebibliography}" write$ newline$ }EXECUTE {end.bib}
vielen Dank schonmal. Ich weiß wirklich nicht mehr weiter.... Google hat auch nichts gebracht

Moritz