- From: Alvaro Tejero Cantero <address@hidden>
- To: TeXmacs users <address@hidden>
- Subject: [TeXmacs] Re: Bibliography keys (BibTeX) are looked up with a prepended bib-
- Date: Wed, 22 Jun 2011 11:32:46 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=VZadADGVCZYeKrwFb6n1wGlZbFKLFxbWFrmnicWJLrWRagq4Vampn8Cg16wcO0Jcwm iroIXXhDUY3iKKRTShbyLrFCjY96/SRZF5OWzR7Py+5iUQChAL0mcMAQ5+qW5UCChxxW RjU24p34dyYAWxMdZvTRtKAgLrFnXi3n6sIjM=
Dear all,
How do you manage your BibTex citations?
I made some progress, but still don't have them working. I managed to
locate a package file, cite-author-year.ts where macros prepend bib-
to every BibTeX key:
<assign|cite-data|<macro|key|<get-binding|<merge|bib-|<arg|key>>>>>
<assign|cite-link|<macro|key|text|<style-with|src-compact|none|<locus|<id|<hard-id|<arg|key>>>|<link|hyperlink|<id|<hard-id|<arg|key>>>|<url|<merge|#bib-|<arg|key>>>>|<arg|text>>>>>
If I change bib- or eventually remove it altogether from the merge
function calls above, and if I add the package to my current document,
then TeXmacs seems to look for the correct reference, i.e. Brunel2008
and not bib-Brunel2008. I also tried removing the merge call entirely.
The problem is: it still complains that it doesn't find it ->
TeXmacs] Warning: Undefined reference Brunel2008
I am at a loss as to what to do - the reference IS contained in the
BibTeX file.
If this lookup worked, my roadmap would be to create a package that
exclusively redefines cite-data and cite-link and load it every time
for my document.
Comments and help certainly welcome!
-á.
On Tue, Jun 21, 2011 at 16:42, Alvaro Tejero Cantero <address@hidden> wrote:
>
Hello,
>
>
It's been a while since I've used TeXmacs with a BibTeX bibliography
>
(last time 2006).
>
>
My last attempt is with a bib file in the same directory as the tm
>
file, the style 'plain' (note: not tm-plain) and a cite key
>
>
<cite|Brunel2008>
>
>
which I have verified to have indeed an entry in the bib file.
>
>
Every time I try to generate the citations via
>
Document->Update->Bibliography I receive the following error message:
>
>
>
TeXmacs] Generating bibliography [bib, plain,
>
/home/tejero/W/Thesis/library.bib]
>
TeXmacs] BibTeX command: cd $TEXMACS_HOME_PATH/system/bib;
>
BIBINPUTS=/home/tejero/W/Thesis:$BIBINPUTS
>
BSTINPUTS=/home/tejero/W/Thesis:$BSTINPUTS bibtex temp
>
TeXmacs] Warning: Undefined reference bib-Brunel2008
>
TeXmacs] Warning: Undefined reference bib-Brunel2008
>
>
i.e. TeXmacs prepends 'bib' to every citation. I don't know the
>
reasons for this but there must be some, since the TODO file asks
>
>
* Should BibTeX labels really be prefixed by "bib-"?
>
>
This e-mail wants to answer 'please, don't do that' and ask if
>
somebody knows a workaround / where to eliminate this by hand.
>
>
Best regards,
>
>
Álvaro.
>
Archive powered by MHonArc 2.6.19.