Re: bibtex2lyx

2002-12-17 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> ??? Angus> There's nothing to parse. The script generates a .lyx file from Angus> a .bib one. Effectively it goes from a BibTeX database to a Angus> buffer that contains a bibliography environment. Ie a stack of Angus> BibKeys. So

Re: bibtex2lyx

2002-12-17 Thread Angus Leeming
On Tuesday 17 December 2002 1:26 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > >> > >> But then you have to write all the code that uses this hidden > >> buffer. > > Angus> Are you clearing out your mail tray ;-) > > Yes, down from 205 to 150 for ly

Re: bibtex2lyx

2002-12-17 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> But then you have to write all the code that uses this hidden >> buffer. Angus> Are you clearing out your mail tray ;-) Yes, down from 205 to 150 for lyx-devel. Angus> I don't get your point. However we handle the BibTeX file we Ang

Re: bibtex2lyx

2002-12-17 Thread Angus Leeming
On Tuesday 17 December 2002 11:48 am, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> On Thursday 28 November 2002 12:45 pm, Jean-Marc Lasgouttes > > Angus> wrote: > >> > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> The idea

Re: bibtex2lyx

2002-12-17 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> On Thursday 28 November 2002 12:45 pm, Jean-Marc Lasgouttes Angus> wrote: >> > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> Angus> The idea is to store this generated .lyx file in a database Angus> accessible through

Re: bibtex2lyx

2002-11-30 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > What are the warning/error messages in the bibtex log file again? Something like: [...] 0 is an integer literal, not a string, for entry Yang:Angliz90 while executing---line 1558 of file hempen.bst You can't pop an empty literal stack for entry Zizek92 while executing-

Re: bibtex2lyx

2002-11-30 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Juergen Spitzmueller) writes: | Angus Leeming wrote: | > * Run bibtex on this aux file and query the return value: | > $ bibtex juergen; echo Exit status =$? | | Exit status =2 What are the warning/error messages in the bibtex log file again? -- Lgb

Re: bibtex2lyx

2002-11-30 Thread Juergen Spitzmueller
Angus Leeming wrote: > * Run bibtex on this aux file and query the return value: > $ bibtex juergen; echo Exit status =$? Exit status =2 Jürgen (BTW I have fixed the errors in my bst-file in the meantime [reintroduced for this test ;-)]. Trying to understand this postfix bst language is

Re: bibtex2lyx

2002-11-29 Thread Angus Leeming
On Friday 29 November 2002 4:03 pm, Juergen Spitzmueller wrote: > Angus Leeming wrote: > > Presumably the returned value is different in these two cases. Could > > you investigate and tell me? > > I really have no idea and found no information. Sure you have. * Dump the LaTeX output from your LyX

Re: bibtex2lyx

2002-11-29 Thread Juergen Spitzmueller
Angus Leeming wrote: > Presumably the returned value is different in these two cases. Could > you investigate and tell me? I really have no idea and found no information. How does LyX do this? Does it only scan for LaTeX errors? Perhaps you should ask on comp.text.tex Jürgen.

Re: bibtex2lyx

2002-11-29 Thread Angus Leeming
Juergen Spitzmueller wrote: > Angus Leeming wrote: >> Ok, this works. Shove it in bib2lyx.sh between >> cat - > ${SEDFILE} <> and the following >> EOF > > Thanks, Angus, it works indeed now. But note that the script bails > out as soon as bibtex gives an error message. That should not > happen, b

Re: bibtex2lyx

2002-11-28 Thread Juergen Spitzmueller
Angus Leeming wrote: > Ok, this works. Shove it in bib2lyx.sh between > cat - > ${SEDFILE} < and the following > EOF Thanks, Angus, it works indeed now. But note that the script bails out as soon as bibtex gives an error message. That should not happen, because there are lots of bst-files out th

Re: bibtex2lyx

2002-11-28 Thread Angus Leeming
On Thursday 28 November 2002 4:14 pm, Juergen Spitzmueller wrote: > \begin{thebibliography}{510} > \expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi > \expandafter\ifx\csname url\endcsname\relax >   \def\url#1{{\tt #1}}\fi > \expandafter\ifx\csname urlprefix\endcsname\relax\def

Re: bibtex2lyx

2002-11-28 Thread Juergen Spitzmueller
Angus Leeming wrote: > Umm. Why does it /fail/ when run from the script and produce only > /warnings/ when run as part of a latex run? Note that my generated .aux > file is really very simple. Perhaps I need more in it? I forced it not to bail out and compared the *.bbl1 and *.bbl2 files. The *.

Re: bibtex2lyx

2002-11-28 Thread Angus Leeming
On Thursday 28 November 2002 3:34 pm, Juergen Spitzmueller wrote: > Angus Leeming wrote: > > Attached is a first go at a script to generate a LyX buffer from a BibTeX > > database. It seems to work really well, although I'm sure that you lot > > will find things that it fails with. > > Impressive!

Re: bibtex2lyx

2002-11-28 Thread Juergen Spitzmueller
Angus Leeming wrote: > Attached is a first go at a script to generate a LyX buffer from a BibTeX > database. It seems to work really well, although I'm sure that you lot will > find things that it fails with. Impressive! This is a feature I'd really like to have. I suppose it is not intended to cr

Re: bibtex2lyx

2002-11-28 Thread Angus Leeming
On Thursday 28 November 2002 12:45 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> The idea is to store this generated .lyx file in a database > Angus> accessible through the BibTeX inset. Ie, it won't be visible to > Angus> the user, but he'l

Re: bibtex2lyx

2002-11-28 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> The idea is to store this generated .lyx file in a database Angus> accessible through the BibTeX inset. Ie, it won't be visible to Angus> the user, but he'll get things like pretty formatting of his Angus> natbib labels, display of