Re: most lyx-friendly bibtex-format?

2005-07-20 Thread Sven Schreiber
Georg Baum wrote:

 Sven Schreiber wrote:
 
 
afaik the weaknesses of the used simple bibtex parser are known, but not
to me, so please what are recommendations for the bibtex file format so
that the parser won't get confused?
 
 
 I never had any problems with .bib files that were sanitized by BibTool -
 see http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html. BibTool can
 read almost every .bib file and make something usable out of it, and it is
 highly customizable.

Ok, thanks for the suggestion. Because I didn't find a binary of
bibtool, in the end I stuck with the JabRef bib manager, used it to
auto-generate many missing bitex-keys and clean up some other things. I
hope that that solves my problems.
-sven


Re: most lyx-friendly bibtex-format?

2005-07-20 Thread Sven Schreiber
Georg Baum wrote:

 Sven Schreiber wrote:
 
 
afaik the weaknesses of the used simple bibtex parser are known, but not
to me, so please what are recommendations for the bibtex file format so
that the parser won't get confused?
 
 
 I never had any problems with .bib files that were sanitized by BibTool -
 see http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html. BibTool can
 read almost every .bib file and make something usable out of it, and it is
 highly customizable.

Ok, thanks for the suggestion. Because I didn't find a binary of
bibtool, in the end I stuck with the JabRef bib manager, used it to
auto-generate many missing bitex-keys and clean up some other things. I
hope that that solves my problems.
-sven


Re: most lyx-friendly bibtex-format?

2005-07-20 Thread Sven Schreiber
Georg Baum wrote:

> Sven Schreiber wrote:
> 
> 
>>afaik the weaknesses of the used simple bibtex parser are known, but not
>>to me, so please what are recommendations for the bibtex file format so
>>that the parser won't get confused?
> 
> 
> I never had any problems with .bib files that were sanitized by BibTool -
> see http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html. BibTool can
> read almost every .bib file and make something usable out of it, and it is
> highly customizable.

Ok, thanks for the suggestion. Because I didn't find a binary of
bibtool, in the end I stuck with the JabRef bib manager, used it to
auto-generate many missing bitex-keys and clean up some other things. I
hope that that solves my problems.
-sven


Re: most lyx-friendly bibtex-format?

2005-07-19 Thread Martin A. Hansen
i dont know much about how lyx handles bibtex underneath the hood - but
recently i wrote some tools to keep track of my own reference
collection. these are some of my experiences:

bibtex is inherently difficult to parse - because the format is very
flexible. i dont think a simple parser will do - i picked up somewhere
one should use a YACC compiler (yet another compiler compiler) for
making a proper parser.

there do, however, exists different parsers in the public domain.

google for btparse (powerfull parser written in c).

also, i think dana jacobsen may have some hints:

http://www.ecst.csuchico.edu/~jacobsd/bib/bp/

at least he got the availible BibTeX format description:

http://www.ecst.csuchico.edu/~jacobsd/bib/formats/bibtex.html

(and the references therein looks promising)


perhaps a parser upgrade will be worth while?


best regards


martin




On Tue, Jul 19, 2005 at 03:56:06PM +0200, Sven Schreiber wrote:
 Recently I seem to be having more problems than usual with the bibtex
 database access in the insert citation dialog (obvious parsing errors,
  the lower-left info area often shows a relatively wild combination of
 different entries). So it is getting annoying and I want to do something
 about it.
 
 afaik the weaknesses of the used simple bibtex parser are known, but not
 to me, so please what are recommendations for the bibtex file format so
 that the parser won't get confused?
 
 thanks for any hints,
 sven


Re: most lyx-friendly bibtex-format?

2005-07-19 Thread Georg Baum
Sven Schreiber wrote:

 afaik the weaknesses of the used simple bibtex parser are known, but not
 to me, so please what are recommendations for the bibtex file format so
 that the parser won't get confused?

I never had any problems with .bib files that were sanitized by BibTool -
see http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html. BibTool can
read almost every .bib file and make something usable out of it, and it is
highly customizable.


Georg



Re: most lyx-friendly bibtex-format?

2005-07-19 Thread Martin A. Hansen
i dont know much about how lyx handles bibtex underneath the hood - but
recently i wrote some tools to keep track of my own reference
collection. these are some of my experiences:

bibtex is inherently difficult to parse - because the format is very
flexible. i dont think a simple parser will do - i picked up somewhere
one should use a YACC compiler (yet another compiler compiler) for
making a proper parser.

there do, however, exists different parsers in the public domain.

google for btparse (powerfull parser written in c).

also, i think dana jacobsen may have some hints:

http://www.ecst.csuchico.edu/~jacobsd/bib/bp/

at least he got the availible BibTeX format description:

http://www.ecst.csuchico.edu/~jacobsd/bib/formats/bibtex.html

(and the references therein looks promising)


perhaps a parser upgrade will be worth while?


best regards


martin




On Tue, Jul 19, 2005 at 03:56:06PM +0200, Sven Schreiber wrote:
 Recently I seem to be having more problems than usual with the bibtex
 database access in the insert citation dialog (obvious parsing errors,
  the lower-left info area often shows a relatively wild combination of
 different entries). So it is getting annoying and I want to do something
 about it.
 
 afaik the weaknesses of the used simple bibtex parser are known, but not
 to me, so please what are recommendations for the bibtex file format so
 that the parser won't get confused?
 
 thanks for any hints,
 sven


Re: most lyx-friendly bibtex-format?

2005-07-19 Thread Georg Baum
Sven Schreiber wrote:

 afaik the weaknesses of the used simple bibtex parser are known, but not
 to me, so please what are recommendations for the bibtex file format so
 that the parser won't get confused?

I never had any problems with .bib files that were sanitized by BibTool -
see http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html. BibTool can
read almost every .bib file and make something usable out of it, and it is
highly customizable.


Georg



Re: most lyx-friendly bibtex-format?

2005-07-19 Thread Martin A. Hansen
i dont know much about how lyx handles bibtex underneath the hood - but
recently i wrote some tools to keep track of my own reference
collection. these are some of my experiences:

bibtex is inherently difficult to parse - because the format is very
flexible. i dont think a "simple" parser will do - i picked up somewhere
one should use a YACC compiler (yet another compiler compiler) for
making a proper parser.

there do, however, exists different parsers in the public domain.

google for btparse (powerfull parser written in c).

also, i think dana jacobsen may have some hints:

http://www.ecst.csuchico.edu/~jacobsd/bib/bp/

at least he got the availible BibTeX format description:

http://www.ecst.csuchico.edu/~jacobsd/bib/formats/bibtex.html

(and the references therein looks promising)


perhaps a parser upgrade will be worth while?


best regards


martin




On Tue, Jul 19, 2005 at 03:56:06PM +0200, Sven Schreiber wrote:
> Recently I seem to be having more problems than usual with the bibtex
> database access in the "insert citation" dialog (obvious parsing errors,
>  the lower-left "info" area often shows a relatively wild combination of
> different entries). So it is getting annoying and I want to do something
> about it.
> 
> afaik the weaknesses of the used simple bibtex parser are known, but not
> to me, so please what are recommendations for the bibtex file format so
> that the parser won't get confused?
> 
> thanks for any hints,
> sven


Re: most lyx-friendly bibtex-format?

2005-07-19 Thread Georg Baum
Sven Schreiber wrote:

> afaik the weaknesses of the used simple bibtex parser are known, but not
> to me, so please what are recommendations for the bibtex file format so
> that the parser won't get confused?

I never had any problems with .bib files that were sanitized by BibTool -
see http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html. BibTool can
read almost every .bib file and make something usable out of it, and it is
highly customizable.


Georg