Skip to Content.
Sympa Menu

texmacs-users - [TeXmacs] Re: Bibliography keys (BibTeX) are looked up with a prepended bib-

Subject: mailing-list for TeXmacs Users

List archive

[TeXmacs] Re: Bibliography keys (BibTeX) are looked up with a prepended bib-


Chronological Thread 
  • 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: Thu, 23 Jun 2011 21:45:26 +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=wjjgBPRlmR6J2J+efXpY1h69MxenxopeOrEUF9Pt4gHkwqDzixj96Ls4cVpDjVSAOI Kpkok2ofBkNRkxLGwhCmcGcWFllkfn4Z/bUiONvccJOY58/pPJ4UEw5KdI/SalUDOxQb EGD6EW8CzSrgCCT/lVZdjWD/jX8yIqppmRADA=

Dear all,

The issue is solved.

First of all, a svn update fixed the problem. (I was lagging the svn
version by a couple of months).

Second, I was kindly pointed to the fact that the bib- prefix is
probably for the /internal reference/ in the document to the
bibliographic key, and not for the key itself. The relevant file is
src/Typeset/Env/env_exec.cpp, where you can uncomment a line (1586)
that will cause the citation number to be printed to the console.

Third, I don't get the package cite-author-year to fully work
(question marks appear in the reference (2, ?), even after three
updates), and I didn't find documentation for it, but I'll eventually
find out what's wrong from the style file.

Many thanks to Marc Mezzarroba for the bib- hint and to Miguel de
Benito for general assistance,


-á.



On Wed, Jun 22, 2011 at 11:32, Alvaro Tejero Cantero <address@hidden> wrote:
> 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.

Top of Page