Herbert Voss wrote:

> try the following script. it looks for all files with fileNR.aux
> and starts bibtex, so you don't have to know how many bib-files
> you have.
> 
> 
> #!/bin/bash
> /usr/bin/bibtex $1                   # -- starts bibtex <file.aux>
> NEXT=1
> FILE=$1$NEXT
> while [ -a $FILE.aux ]; do
>   /usr/bin/bibtex $FILE              # -- starts bibtex <fileNR.aux>
>   NEXT=$(($NEXT+1))
>   FILE=$1$NEXT;
> done

Hello Herbert,

Your new script is, of course, much more effective than the previous one.
I tested it with both bibtopic and non bibtopic using LyX-files. It works with
no problems. Now it is usable for anyone who wants to produce a splitted
bibliography with LyX and the bibtopic-package, which is really very powerful
(it is fully compatible with natbib and one more feature is the possibility to
produce different bibliographies for chapters (like chapterbib) or seperate
topics for not-cited literature).

My experiences (in the arts, the human sciences) are, that splitting
bibliographies is a thing which can't be missed in a lot of 
sciences (e.g. in historiography, you have to split your bibliography into
at least two topics: sources and literature; the same in literary studies:
primary and secondary literature).
So I think, it is really a pitty, that LyX doesn't support this possibility by
itself (apart from this, it is by far the best document processing tool, as I
wrote before - I don't want to miss it).
Your script shows, that it is very easy to make LyX compatible with bibtopic,
which solves the problem.
I think, it would be a good idea to implement your script (or something like
this) to coming LyX versions - to make LyX even more powerful!

What do you think about it?

Greetings and thanks,

Juergen.

Reply via email to