Re: [NTG-context] Bibtex change short key
![](https://secure.gravatar.com/avatar/044c8a63f3f5f0173d96580aa6f23552.jpg?s=120&d=mm&r=g)
Dear Taco,
I use the excellent BibTex module with this setup: \setupbibtex[database=biblio,sort=author] \setuppublications[alternative=apa,refcommand=short,sorttype=bbl,criterium=cited] So if I have something like this @ARTICLE{Akimoto2005, author = {R. Akimoto and B. S. Li and K. Akita and T. Hasama}, ... } in my *.bib file, the \cite[Akimoto2005] results in [ALAH05]. Is there a way to get only the first author with three letters and the year ([Aki05]) in the citation?
Patch the generated .bbl file by hand. after its initial creation, it will not be modified by context itself anymore. May be I should have tried it first, before editting about 200 entries as you suggested. As far as I can judge from the timestamp, at my system the bbl file is generatet every time I run texexec. Have I missed something?
Thanks Hubertus
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Hubertus wrote:
Dear Taco,
I use the excellent BibTex module with this setup: \setupbibtex[database=biblio,sort=author] \setuppublications[alternative=apa,refcommand=short,sorttype=bbl,criterium=cited] So if I have something like this @ARTICLE{Akimoto2005, author = {R. Akimoto and B. S. Li and K. Akita and T. Hasama}, ... } in my *.bib file, the \cite[Akimoto2005] results in [ALAH05]. Is there a way to get only the first author with three letters and the year ([Aki05]) in the citation? Patch the generated .bbl file by hand. after its initial creation, it will not be modified by context itself anymore. May be I should have tried it first, before editting about 200 entries as you suggested. As far as I can judge from the timestamp, at my system the bbl file is generatet every time I run texexec. Have I missed something?
Oh boy, I am sorry! My fault! The *correct* recipe is: run once, so the bbl exists, then delete the \setupbibtex line from your source, then edit the bbl, then recompile. Feeling stupid, Taco
![](https://secure.gravatar.com/avatar/044c8a63f3f5f0173d96580aa6f23552.jpg?s=120&d=mm&r=g)
Oh boy, I am sorry! My fault! The *correct* recipe is: run once, so the bbl exists, then delete the \setupbibtex line from your source, then edit the bbl, then recompile. Thanks. This works now. I wrote a little python script now to save time and
Dear Taco, thought maybe someone else might need it as well. It works for me but it was just a quick shot. There was not much time to think about all possibilities, and may be the regular expressions need to be modified. I first need to get this thesis finished. So no guarantee. All the best Hubertus
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Fri, Mar 26, 2010 at 4:10 PM, Hubertus
Oh boy, I am sorry! My fault! The *correct* recipe is: run once, so the bbl exists, then delete the \setupbibtex line from your source, then edit the bbl, then recompile. Thanks. This works now. I wrote a little python script now to save time and
Dear Taco, thought maybe someone else might need it as well. It's better if it's in luatex .
-- luigi
participants (3)
-
Hubertus
-
luigi scarso
-
Taco Hoekwater