mailing-list for TeXmacs Users

Text archives Help


Re: How to add preprints to bibliography properly in TeXmacs?


Chronological Thread 
  • From: Frank <address@hidden>
  • To: address@hidden
  • Subject: Re: How to add preprints to bibliography properly in TeXmacs?
  • Date: Mon, 24 Feb 2020 09:55:48 +0100

Yes, that is normal. These are not legit BibTeX fields, so they are ignored.
Non-standard fields will be ignored by all styles.
It is very difficult to tell decisively for the time being which are "standard" and which are "nonstandard". There are unfortunately many standards. However, it seems to me that biblatex is prevalent, and in the official document

http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf

the fields "eprint", "eprintclass", "eprinttype" are listed in several entry types, including "article" (Section 2.1.1). I do not suppose that TeXmacs should keep accordance with these ever changing standards (this might be too arduous), but given that references to preprints before publication seems to be usually unavoidable, I am looking for a convenient good solution for this.

Could be; but it might be that your BibTeX simply wasn't configured
in the right way. I would need very precise information about your setup:
which OS, which version of TeXmacs, how did you install BibTeX, ...
OS: Debian Buster

TeXmacs 1.99.12

bibtex is installed from texlive (Vanilla, not the one in Debian)

I set up a minimal working environment:

1. there is no error (along with obvious modifications) if I put the .bib file in the same directory as the .tm file (I captured the console output into success.log)

2. If test.tm is put in /tmp, and test.bib is put in /tmp/test-bib/, there will be errors. (error.log)

I compare the logs. One difference is remarkable. In the first case (with success), there is a line:

TeXmacs] debug-shell, cd $TEXMACS_HOME_PATH/system/bib; BIBINPUTS="/tmp":$BIBINPUTS BSTINPUTS="/tmp":$BSTINPUTS bibtex temp > $TEXMACS_HOME_PATH/system/bib/temp.log
while in the second case (with errors), the line becomes (note the wrong BIBINPUTS variable)

TeXmacs] debug-shell, cd $TEXMACS_HOME_PATH/system/bib; BIBINPUTS="xxx":$BIBINPUTS BSTINPUTS="xxx":$BSTINPUTS bibtex temp > $TEXMACS_HOME_PATH/system/bib/temp.log

Best wishes,
Frank

On 23/02/2020, TeXmacs wrote:
On Sun, Feb 23, 2020 at 09:32:44AM +0100, Frank wrote:
Thanks, I did not know the difference between 'tm-' and traditional
styles. I chose a 'tm-' style (by default). I find that although the
article title and author are parsed, the date and the eprint
identifier (arXiv:XXXX) or the classification (say math.DS) don't
show.
Yes, that is normal. These are not legit BibTeX fields, so they are ignored.

Now I tried 'alpha'. I don't know how to configure it properly.
Non-standard fields will be ignored by all styles.

I tried bibtex with 'alpha' style. It seems to me that the directory
is not configured correctly. I look at temp.aux at
$HOME/.TeXmacs/system/bib, which contains a line "\bibdata{all}"
without the correct path (I set up a database which collects all the
bibliography that I have used). As a result, bibtex ends up with "I
couldn't open database file all.bib". Seemingly I need to open a bug
report?
Could be; but it might be that your BibTeX simply wasn't configured
in the right way. I would need very precise information about your setup:
which OS, which version of TeXmacs, how did you install BibTeX, ...

Best wishes, --Joris

--
Best wishes!
Yours,

<TeXmacs|1.99.12>

<style|generic>

<\body>
  For a reference, see <cite|wassenberg>.

  <\bibliography|bib|alpha|test-bib/test>
    \;
  </bibliography>
</body>

<\initial>
  <\collection>
    <associate|font-base-size|12>
    <associate|page-height|auto>
    <associate|page-type|letter>
    <associate|page-width|auto>
  </collection>
</initial>

<\references>
  <\collection>
    <associate|auto-1|<tuple|?|?>>
  </collection>
</references>

<\auxiliary>
  <\collection>
    <\associate|bib>
      wassenberg
    </associate>
    <\associate|toc>
      <vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|Bibliography>
      <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
      <no-break><pageref|auto-1><vspace|0.5fn>
    </associate>
  </collection>
</auxiliary>
@article{wassenberg,
  author       = {Wassenberg, Jan and Sanders, Peter},
  title        = {Faster Radix Sort via Virtual Memory and Write-Combining},
  date         = {2010-08-17},
  version      = 1,
  eprinttype   = {arxiv},
  eprintclass  = {cs.DS},
  eprint       = {1008.2849v1},
}
TeXmacs] With linked TrueType support
TeXmacs] Generating bibliography [bib, alpha, test-bib/test]
TeXmacs] std-warning, Couldn't concretize test-bib
TeXmacs] debug-shell, cd $TEXMACS_HOME_PATH/system/bib; BIBINPUTS="xxx":$BIBINPUTS BSTINPUTS="xxx":$BSTINPUTS bibtex temp > $TEXMACS_HOME_PATH/system/bib/temp.log
TeXmacs] bibtex-error, This is BibTeX, Version 0.99d (TeX Live 2019)
TeXmacs] bibtex-error, The top-level auxiliary file: temp.aux
TeXmacs] bibtex-error, The style file: alpha.bst
TeXmacs] bibtex-error, I couldn't open database file test.bib
TeXmacs] bibtex-error, ---line 3 of file temp.aux
TeXmacs] bibtex-error,  : \bibdata{test
TeXmacs] bibtex-error,  :              }
TeXmacs] bibtex-error, I'm skipping whatever remains of this command
TeXmacs] bibtex-error, I found no database files---while reading file temp.aux
TeXmacs] bibtex-error, Warning--I didn't find a database entry for "wassenberg"
TeXmacs] bibtex-error, (There were 2 error messages)
TeXmacs] bibtex-error, 
TeXmacs] With linked TrueType support
TeXmacs] Generating bibliography [bib, alpha, test]
TeXmacs] debug-shell, cd $TEXMACS_HOME_PATH/system/bib; BIBINPUTS="/tmp":$BIBINPUTS BSTINPUTS="/tmp":$BSTINPUTS bibtex temp > $TEXMACS_HOME_PATH/system/bib/temp.log
TeXmacs] bibtex-warning, empty journal in wassenberg
TeXmacs] bibtex-warning, empty year in wassenberg



Archive powered by MHonArc 2.6.19.

Top of page