Bibtex: empty reference and reference-title / -data
![](https://secure.gravatar.com/avatar/39878104d249b83e3060a01b37f22d2d.jpg?s=120&d=mm&r=g)
Hi, maybe this is a stupid question, but I am "deadlocked" in this case. In the text I always getting an empty reference «()» and the listOfReferences has no title and looks also a little bit discontenting: 3 (2001). Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen. Spiegel Verlag und Stiftungs Lesen, Mainz, Hamburg, Deutschland I would like to get following results: A. Quellen Stiftung Lesen (Hrsg.): Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen aus: Schriftenreihe «Lesewelten», Band 3, Stiftung Lesen und Spiegel Verlag, Mainz, Hamburg 2001 Here is my tex-file (studie.tex) ------------------------------------------------------------- \mainlanguage[de] \usemodule[bib] \setupbibtex[database=studie,bibtex=bibtex8] \setupheadtext[de][pubs=Quellen] text text \cite[stl] text text \placepublications Here is my bbl-file (one book for the begining: but no author - only an editor)(studie.bbl): ------------------------------------------------------------- \setuppublicationlist[ criterium=all, totalnumber=1] \startpublication[ k=stl, y=2001, n=1, s=StL2001, t=book] \lang{de} \title{Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen} \series{Schriftenreihe: «Lesewelten»} \volumne{3} \pubyear{2001} \city{Mainz, Hamburg} \country{Deutschland} \edition{1.} \pubname{Spiegel Verlag und Stiftungs Lesen} \stoppublication Both files are in the same directory. When I am running texexec --xtx studie.tex it is showing stuff like this: hapter : 2 Textrepräsentation section : 2.1 Der Text ! Undefined control sequence. \pbdd-stl ...iftenreihe: «Lesewelten»} \volumne {3} \pubyear {2001} \city ... \dotypesetapublication ...mpty \getvalue {pbdd-#1} \ifcsname pbdt-#1\endcsnam... <argument> ...}\strut \dotypesetapublication {stl} \strut \outdented #1->\hskip -\hangindent #1 \doattributes ...sname #1#2\@EA \endcsname \fi {#4 }\dostopattributes <argument> ...dotypesetapublication {stl}\strut }} \egroup \ifdim \wd 4=\zero... ... l.49 ? and is waiting for input. Here I am answering with an return I it continues. I am happy for any hint. Thanks, H.
![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
Henning Haeske wrote:
Hi,
maybe this is a stupid question, but I am "deadlocked" in this case.
In the text I always getting an empty reference «()» and the listOfReferences has no title and looks also a little bit discontenting:
3 (2001). Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen. Spiegel Verlag und Stiftungs Lesen, Mainz, Hamburg, Deutschland
I would like to get following results:
A. Quellen
Stiftung Lesen (Hrsg.): Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen aus: Schriftenreihe «Lesewelten», Band 3, Stiftung Lesen und Spiegel Verlag, Mainz, Hamburg 2001
Here is my tex-file (studie.tex) ------------------------------------------------------------- \mainlanguage[de] \usemodule[bib] \setupbibtex[database=studie,bibtex=bibtex8] \setupheadtext[de][pubs=Quellen]
text text \cite[stl] text text
\placepublications
Here is my bbl-file (one book for the begining: but no author - only an editor)(studie.bbl): ------------------------------------------------------------- \setuppublicationlist[ criterium=all, totalnumber=1]
\startpublication[ k=stl, y=2001, n=1, s=StL2001, t=book] \lang{de} \title{Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen} \series{Schriftenreihe: «Lesewelten»} \volumne{3}
\volumnr (?) just guessing, as i don't use bibtex
\pubyear{2001} \city{Mainz, Hamburg} \country{Deutschland} \edition{1.} \pubname{Spiegel Verlag und Stiftungs Lesen} \stoppublication
Both files are in the same directory. When I am running texexec --xtx studie.tex it is showing stuff like this:
hapter : 2 Textrepräsentation section : 2.1 Der Text ! Undefined control sequence. \pbdd-stl ...iftenreihe: «Lesewelten»} \volumne ^^^^
this one is undefined (see above) HTH, Peter
{3} \pubyear {2001} \city ...
\dotypesetapublication ...mpty \getvalue {pbdd-#1} \ifcsname pbdt-#1\endcsnam... <argument> ...}\strut \dotypesetapublication {stl} \strut \outdented #1->\hskip -\hangindent #1
\doattributes ...sname #1#2\@EA \endcsname \fi {#4 }\dostopattributes <argument> ...dotypesetapublication {stl}\strut }} \egroup \ifdim \wd 4=\zero... ... l.49
? and is waiting for input. Here I am answering with an return I it continues. I am happy for any hint.
Thanks, H. _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Hi Henning, Henning Haeske wrote:
Hi,
maybe this is a stupid question, but I am "deadlocked" in this case.
TeX hangs because of a typo in the bbl file. Did you by chance edit the bbl file manually? \volumne should be \volume (extra 'n').
In the text I always getting an empty reference «()» and the listOfReferences has no title and looks also a little bit discontenting:
These two problems are likely caused by that same error.
3 (2001). Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen. Spiegel Verlag und Stiftungs Lesen, Mainz, Hamburg, Deutschland
I would like to get following results:
A. Quellen
Stiftung Lesen (Hrsg.): Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen aus: Schriftenreihe «Lesewelten», Band 3, Stiftung Lesen und Spiegel Verlag, Mainz, Hamburg 2001
This is where it gets problematic. The 'Stiftung Lesen' does not appear in the bbl file at all. But even if it would, the 'apa' style is not ok for your use. I guess you need something closer to the 'num' style. Good luck, Taco
![](https://secure.gravatar.com/avatar/39878104d249b83e3060a01b37f22d2d.jpg?s=120&d=mm&r=g)
Thanks Peter and Ralf, your were right... i misspelled volume. I changed that and the publicationlist looks a little bit better. Sorry that I bothered you with that stupid mistake. I also added a editior field. But the reference in the text is still empty :-( How can I make this reference work? Also the publicationlist is in English: Stiftung Lesen, editor (2001). ... Number 3 in... but I need it in German - I thought \mainlanguage[de] is enough. What else I have to add? And last but not least: How can I make the \setupheadtext[pubs=NeuerTitel] work with \chapter (appendix) behavior? Ciao, H. Je Ĵaŭdo, 1. Marto 2007 19:23, Taco Hoekwater skribis:
Hi Henning,
Henning Haeske wrote:
Hi,
maybe this is a stupid question, but I am "deadlocked" in this case.
TeX hangs because of a typo in the bbl file. Did you by chance edit the bbl file manually? \volumne should be \volume (extra 'n').
In the text I always getting an empty reference «()» and the listOfReferences has no title and looks also a little bit discontenting:
These two problems are likely caused by that same error.
3 (2001). Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen. Spiegel Verlag und Stiftungs Lesen, Mainz, Hamburg, Deutschland
I would like to get following results:
A. Quellen
Stiftung Lesen (Hrsg.): Leseverhalten in Deutschland im neuen Jahrtausend: Eine Studie der Stiftung Lesen aus: Schriftenreihe «Lesewelten», Band 3, Stiftung Lesen und Spiegel Verlag, Mainz, Hamburg 2001
This is where it gets problematic. The 'Stiftung Lesen' does not appear in the bbl file at all. But even if it would, the 'apa' style is not ok for your use. I guess you need something closer to the 'num' style.
Good luck, Taco
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Henning Haeske wrote:
Thanks Peter and Ralf,
your were right... i misspelled volume. I changed that and the publicationlist looks a little bit better. Sorry that I bothered you with that stupid mistake. I also added a editior field. But the reference in the text is still empty :-( How can I make this reference work?
The information for the citation is taken from the one-letter keys in \startpublication. In your case, you need to add an 'a=' key containing the author information you want to see referenced. I take you are not using bibtex. It may help if you create a dummy test file *with* bibtex, just to see what comes out of that.
Also the publicationlist is in English:
Stiftung Lesen, editor (2001). ... Number 3 in...
but I need it in German - I thought \mainlanguage[de] is enough. What else I have to add?
The bibliographic style needs to be translated to german. For the APA style, this is done already (I believe by Peter Münster, but it is possible I remember wrong). You have to start with \setuppublications[alternative=apa-de] to use that file (bibl-apa-de.tex). If you are unhappy with the output, you can (have to) copy bibl-apa-de.tex to some other name starting with bibl- and edit that file.
And last but not least: How can I make the \setupheadtext[pubs=NeuerTitel] work with \chapter (appendix) behavior?
I wouldn't give this much thought. Just use \chapter{Neurtitel} \placepublications instead. That is all that \completepublications does, anyway. Cheers, Taco
![](https://secure.gravatar.com/avatar/39878104d249b83e3060a01b37f22d2d.jpg?s=120&d=mm&r=g)
The information for the citation is taken from the one-letter keys in \startpublication. In your case, you need to add an 'a=' key containing the author information you want to see referenced.
I take you are not using bibtex. It may help if you create a dummy test file *with* bibtex, just to see what comes out of that.
Ui... I thought I am (trying) using bibtex. Ok, I add two example-files to this email: studie.tex studie.bbl To create my pdf I am runing: texexec --xtx studie.tex Unfortunatly to reference inside the text is empty. When I am changing the reference in the text to \cite[apa][stl] the resulting reference in the pdf looks like [stl] - at least not empty. But if I am changing the reference stl to a not existing one - e.g. stla - I am getting an empty publicationlist and the reference inside the text look like: [stla]. What am I doing wrong? Ciao, H.
participants (3)
-
Henning Haeske
-
Peter Rolf
-
Taco Hoekwater