Re: Using bibtopic.sty with LyX?
Hello Herbert, Thank you very much for your instructions to modify the miniscript: /usr/bin/bibtex $1"1.aux" /usr/bin/bibtex $1"2.aux" /usr/bin/bibtex $1"3.aux" /usr/bin/bibtex $1"4.aux" ... usw Now the script works excellent and everything is fine -- bibtopic works with LyX !!! I modified the script by myself a little bit: 1.) I added a bibtex run without the bibtopic extensions (on file.aux without the numerical extensions), so that the script can handle other files with "normal" bibliographies (without the use of bibtopic). I tested the script with non-bibtopic files and there were no problems. Bibtopic by itself suppresses the standard bibliography environment (it doesn't use file.aux) 2.) I left the ".aux" extensions, because you don't need them. So the miniscript to use bibtopic with LyX (saved as "bibtex" in ~/bin) looks like this (for four bibliography topics): #!/bin/bash /usr/bin/bibtex $1%% -- starts bibtex file /usr/bin/bibtex $1"1"%% -- starts bibtex file1 /usr/bin/bibtex $1"2"%% -- starts bibtex file2 /usr/bin/bibtex $1"3"%% -- ... /usr/bin/bibtex $1"4" Well. I'm very grateful to your help - Thanks again! Now I don't have to miss LyX --- by far the best document processing tool I ever used --- for my work :-) Best wishes, Juergen. P.S.: I changed to English again and added some explains about our discussion, because I sent a copy to the LyX mailing list --- maybe there will be other users who want to use the excellent bibtopic package for their bibliography.
Re: Using bibtopic.sty with LyX?
"Jürgen Spitzmüller" wrote: So the miniscript to use bibtopic with LyX (saved as "bibtex" in ~/bin) looks like this (for four bibliography topics): #!/bin/bash /usr/bin/bibtex $1%% -- starts bibtex file /usr/bin/bibtex $1"1"%% -- starts bibtex file1 /usr/bin/bibtex $1"2"%% -- starts bibtex file2 /usr/bin/bibtex $1"3"%% -- ... /usr/bin/bibtex $1"4" 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 Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: Using bibtopic.sty with LyX?
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.
Re: Using bibtopic.sty with LyX?
Hello Herbert, Thank you very much for your instructions to modify the miniscript: /usr/bin/bibtex $1"1.aux" /usr/bin/bibtex $1"2.aux" /usr/bin/bibtex $1"3.aux" /usr/bin/bibtex $1"4.aux" ... usw Now the script works excellent and everything is fine -- bibtopic works with LyX !!! I modified the script by myself a little bit: 1.) I added a bibtex run without the bibtopic extensions (on file.aux without the numerical extensions), so that the script can handle other files with "normal" bibliographies (without the use of bibtopic). I tested the script with non-bibtopic files and there were no problems. Bibtopic by itself suppresses the standard bibliography environment (it doesn't use file.aux) 2.) I left the ".aux" extensions, because you don't need them. So the miniscript to use bibtopic with LyX (saved as "bibtex" in ~/bin) looks like this (for four bibliography topics): #!/bin/bash /usr/bin/bibtex $1%% -- starts bibtex file /usr/bin/bibtex $1"1"%% -- starts bibtex file1 /usr/bin/bibtex $1"2"%% -- starts bibtex file2 /usr/bin/bibtex $1"3"%% -- ... /usr/bin/bibtex $1"4" Well. I'm very grateful to your help - Thanks again! Now I don't have to miss LyX --- by far the best document processing tool I ever used --- for my work :-) Best wishes, Juergen. P.S.: I changed to English again and added some explains about our discussion, because I sent a copy to the LyX mailing list --- maybe there will be other users who want to use the excellent bibtopic package for their bibliography.
Re: Using bibtopic.sty with LyX?
"Jürgen Spitzmüller" wrote: So the miniscript to use bibtopic with LyX (saved as "bibtex" in ~/bin) looks like this (for four bibliography topics): #!/bin/bash /usr/bin/bibtex $1%% -- starts bibtex file /usr/bin/bibtex $1"1"%% -- starts bibtex file1 /usr/bin/bibtex $1"2"%% -- starts bibtex file2 /usr/bin/bibtex $1"3"%% -- ... /usr/bin/bibtex $1"4" 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 Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: Using bibtopic.sty with LyX?
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.
Re: Using bibtopic.sty with LyX?
Hello Herbert, Thank you very much for your instructions to modify the miniscript: > /usr/bin/bibtex $1"1.aux" > /usr/bin/bibtex $1"2.aux" > /usr/bin/bibtex $1"3.aux" > /usr/bin/bibtex $1"4.aux" > ... usw Now the script works excellent and everything is fine -- bibtopic works with LyX !!! I modified the script by myself a little bit: 1.) I added a bibtex run without the bibtopic extensions (on file.aux without the numerical extensions), so that the script can handle other files with "normal" bibliographies (without the use of bibtopic). I tested the script with non-bibtopic files and there were no problems. Bibtopic by itself suppresses the standard bibliography environment (it doesn't use file.aux) 2.) I left the ".aux" extensions, because you don't need them. So the miniscript to use bibtopic with LyX (saved as "bibtex" in ~/bin) looks like this (for four bibliography topics): #!/bin/bash /usr/bin/bibtex $1%% -- starts bibtex /usr/bin/bibtex $1"1"%% -- starts bibtex /usr/bin/bibtex $1"2"%% -- starts bibtex /usr/bin/bibtex $1"3"%% -- ... /usr/bin/bibtex $1"4" Well. I'm very grateful to your help - Thanks again! Now I don't have to miss LyX --- by far the best document processing tool I ever used --- for my work :-) Best wishes, Juergen. P.S.: I changed to English again and added some explains about our discussion, because I sent a copy to the LyX mailing list --- maybe there will be other users who want to use the excellent bibtopic package for their bibliography.
Re: Using bibtopic.sty with LyX?
"Jürgen Spitzmüller" wrote: > So the miniscript to use bibtopic with LyX (saved as "bibtex" in ~/bin) looks > like this (for four bibliography topics): > > #!/bin/bash > /usr/bin/bibtex $1%% -- starts bibtex > /usr/bin/bibtex $1"1"%% -- starts bibtex > /usr/bin/bibtex $1"2"%% -- starts bibtex > /usr/bin/bibtex $1"3"%% -- ... > /usr/bin/bibtex $1"4" 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 NEXT=1 FILE=$1$NEXT while [ -a $FILE.aux ]; do /usr/bin/bibtex $FILE # -- starts bibtex NEXT=$(($NEXT+1)) FILE=$1$NEXT; done Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: Using bibtopic.sty with LyX?
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 > NEXT=1 > FILE=$1$NEXT > while [ -a $FILE.aux ]; do > /usr/bin/bibtex $FILE # -- starts bibtex > 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.