Re: One bibliography, separated by chapter?

2006-08-14 Thread Rainer M Krug
So I have to change back from bibtexall to bibtex when I am not using
chapterbib or can I always use bibtexall?

Rainer

Juergen Spitzmueller wrote:
 Juergen Spitzmueller wrote:
 I just tried myself, and I couldn't get it to work as well. My guess is
 that you have to export your files to latex and run latex/bibtex manually.
 LyX doesn't seem to run bibtex on the different aux files, as needed.
 
 OK, I found a way to make it work with the help of a wrapper script. The 
 script and the description can be found here:
 http://wiki.lyx.org/BibTeX/Tips#toc4
 
 You have to use 
 \usepackage[gather]{chapterbib}
 and place a bibtex inset in the master as well as in every child document 
 (not 
 commented out).
 
 The wrapper script is written in python. It works for me, but I don't know 
 python very much, so it might be not the most elegant solution.
 
 HTH,
 Jürgen


-- 
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: One bibliography, separated by chapter?

2006-08-14 Thread Juergen Spitzmueller
Rainer M Krug wrote:
 So I have to change back from bibtexall to bibtex when I am not using
 chapterbib or can I always use bibtexall?

You can always use it, basically. Some drawbacks perhaps:
- it is probably slower than bibtex, because it searches all aux files in the 
temp dir and runs bibtex on them (normally that's just the one you use).
- if you need bibtex with arguments (like min-crossref), you will have to 
adapt the script.

Jürgen


Re: One bibliography, separated by chapter?

2006-08-14 Thread Rainer M Krug
So I have to change back from bibtexall to bibtex when I am not using
chapterbib or can I always use bibtexall?

Rainer

Juergen Spitzmueller wrote:
 Juergen Spitzmueller wrote:
 I just tried myself, and I couldn't get it to work as well. My guess is
 that you have to export your files to latex and run latex/bibtex manually.
 LyX doesn't seem to run bibtex on the different aux files, as needed.
 
 OK, I found a way to make it work with the help of a wrapper script. The 
 script and the description can be found here:
 http://wiki.lyx.org/BibTeX/Tips#toc4
 
 You have to use 
 \usepackage[gather]{chapterbib}
 and place a bibtex inset in the master as well as in every child document 
 (not 
 commented out).
 
 The wrapper script is written in python. It works for me, but I don't know 
 python very much, so it might be not the most elegant solution.
 
 HTH,
 Jürgen


-- 
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: One bibliography, separated by chapter?

2006-08-14 Thread Juergen Spitzmueller
Rainer M Krug wrote:
 So I have to change back from bibtexall to bibtex when I am not using
 chapterbib or can I always use bibtexall?

You can always use it, basically. Some drawbacks perhaps:
- it is probably slower than bibtex, because it searches all aux files in the 
temp dir and runs bibtex on them (normally that's just the one you use).
- if you need bibtex with arguments (like min-crossref), you will have to 
adapt the script.

Jürgen


Re: One bibliography, separated by chapter?

2006-08-14 Thread Rainer M Krug
So I have to change back from bibtexall to bibtex when I am not using
chapterbib or can I always use bibtexall?

Rainer

Juergen Spitzmueller wrote:
> Juergen Spitzmueller wrote:
>> I just tried myself, and I couldn't get it to work as well. My guess is
>> that you have to export your files to latex and run latex/bibtex manually.
>> LyX doesn't seem to run bibtex on the different aux files, as needed.
> 
> OK, I found a way to make it work with the help of a wrapper script. The 
> script and the description can be found here:
> http://wiki.lyx.org/BibTeX/Tips#toc4
> 
> You have to use 
> \usepackage[gather]{chapterbib}
> and place a bibtex inset in the master as well as in every child document 
> (not 
> commented out).
> 
> The wrapper script is written in python. It works for me, but I don't know 
> python very much, so it might be not the most elegant solution.
> 
> HTH,
> Jürgen


-- 
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)21 808 3304
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: One bibliography, separated by chapter?

2006-08-14 Thread Juergen Spitzmueller
Rainer M Krug wrote:
> So I have to change back from bibtexall to bibtex when I am not using
> chapterbib or can I always use bibtexall?

You can always use it, basically. Some drawbacks perhaps:
- it is probably slower than bibtex, because it searches all aux files in the 
temp dir and runs bibtex on them (normally that's just the one you use).
- if you need bibtex with arguments (like min-crossref), you will have to 
adapt the script.

Jürgen


Re: One bibliography, separated by chapter?

2006-08-10 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
 It works for me on a minimal test file; I'll
 report whether it works on a large, multi-multipart document.

Good. If you encounter any experiences which you thin are important, feel free 
to enhance the instructions on the wiki.

Jürgen


Re: One bibliography, separated by chapter?

2006-08-10 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
 It works for me on a minimal test file; I'll
 report whether it works on a large, multi-multipart document.

Good. If you encounter any experiences which you thin are important, feel free 
to enhance the instructions on the wiki.

Jürgen


Re: One bibliography, separated by chapter?

2006-08-10 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
> It works for me on a minimal test file; I'll
> report whether it works on a large, multi-multipart document.

Good. If you encounter any experiences which you thin are important, feel free 
to enhance the instructions on the wiki.

Jürgen


Re: One bibliography, separated by chapter?

2006-08-09 Thread Curtis Osterhoudt

 original message(s) below =

Juergen Spitzmueller wrote:

I just tried myself, and I couldn't get it to work as well. My guess is
that you have to export your files to latex and run latex/bibtex manually.
LyX doesn't seem to run bibtex on the different aux files, as needed.


OK, I found a way to make it work with the help of a wrapper script. The
script and the description can be found here:
http://wiki.lyx.org/BibTeX/Tips#toc4

You have to use
\usepackage[gather]{chapterbib}
and place a bibtex inset in the master as well as in every child document 
(not

commented out).

The wrapper script is written in python. It works for me, but I don't know
python very much, so it might be not the most elegant solution.

HTH,
Jürgen

 original message(s) above =


  I just wanted to (finally!) write and say Thank You to Juergen for 
putting up with my questions, and for providing that script (or the link to 
it) in the email quoted above. It works for me on a minimal test file; I'll 
report whether it works on a large, multi-multipart document.


Best wishes,
 Curtis O.




Re: One bibliography, separated by chapter?

2006-08-09 Thread Curtis Osterhoudt

 original message(s) below =

Juergen Spitzmueller wrote:

I just tried myself, and I couldn't get it to work as well. My guess is
that you have to export your files to latex and run latex/bibtex manually.
LyX doesn't seem to run bibtex on the different aux files, as needed.


OK, I found a way to make it work with the help of a wrapper script. The
script and the description can be found here:
http://wiki.lyx.org/BibTeX/Tips#toc4

You have to use
\usepackage[gather]{chapterbib}
and place a bibtex inset in the master as well as in every child document 
(not

commented out).

The wrapper script is written in python. It works for me, but I don't know
python very much, so it might be not the most elegant solution.

HTH,
Jürgen

 original message(s) above =


  I just wanted to (finally!) write and say Thank You to Juergen for 
putting up with my questions, and for providing that script (or the link to 
it) in the email quoted above. It works for me on a minimal test file; I'll 
report whether it works on a large, multi-multipart document.


Best wishes,
 Curtis O.




Re: One bibliography, separated by chapter?

2006-08-09 Thread Curtis Osterhoudt

 original message(s) below =

Juergen Spitzmueller wrote:

I just tried myself, and I couldn't get it to work as well. My guess is
that you have to export your files to latex and run latex/bibtex manually.
LyX doesn't seem to run bibtex on the different aux files, as needed.


OK, I found a way to make it work with the help of a wrapper script. The
script and the description can be found here:
http://wiki.lyx.org/BibTeX/Tips#toc4

You have to use
\usepackage[gather]{chapterbib}
and place a bibtex inset in the master as well as in every child document 
(not

commented out).

The wrapper script is written in python. It works for me, but I don't know
python very much, so it might be not the most elegant solution.

HTH,
Jürgen

 original message(s) above =


  I just wanted to (finally!) write and say Thank You to Juergen for 
putting up with my questions, and for providing that script (or the link to 
it) in the email quoted above. It works for me on a minimal test file; I'll 
report whether it works on a large, multi-multipart document.


Best wishes,
 Curtis O.




Re: One bibliography, separated by chapter?

2006-08-05 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:
 I just tried myself, and I couldn't get it to work as well. My guess is
 that you have to export your files to latex and run latex/bibtex manually.
 LyX doesn't seem to run bibtex on the different aux files, as needed.

OK, I found a way to make it work with the help of a wrapper script. The 
script and the description can be found here:
http://wiki.lyx.org/BibTeX/Tips#toc4

You have to use 
\usepackage[gather]{chapterbib}
and place a bibtex inset in the master as well as in every child document (not 
commented out).

The wrapper script is written in python. It works for me, but I don't know 
python very much, so it might be not the most elegant solution.

HTH,
Jürgen


Re: One bibliography, separated by chapter?

2006-08-05 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:
 I just tried myself, and I couldn't get it to work as well. My guess is
 that you have to export your files to latex and run latex/bibtex manually.
 LyX doesn't seem to run bibtex on the different aux files, as needed.

OK, I found a way to make it work with the help of a wrapper script. The 
script and the description can be found here:
http://wiki.lyx.org/BibTeX/Tips#toc4

You have to use 
\usepackage[gather]{chapterbib}
and place a bibtex inset in the master as well as in every child document (not 
commented out).

The wrapper script is written in python. It works for me, but I don't know 
python very much, so it might be not the most elegant solution.

HTH,
Jürgen


Re: One bibliography, separated by chapter?

2006-08-05 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:
> I just tried myself, and I couldn't get it to work as well. My guess is
> that you have to export your files to latex and run latex/bibtex manually.
> LyX doesn't seem to run bibtex on the different aux files, as needed.

OK, I found a way to make it work with the help of a wrapper script. The 
script and the description can be found here:
http://wiki.lyx.org/BibTeX/Tips#toc4

You have to use 
\usepackage[gather]{chapterbib}
and place a bibtex inset in the master as well as in every child document (not 
commented out).

The wrapper script is written in python. It works for me, but I don't know 
python very much, so it might be not the most elegant solution.

HTH,
Jürgen


Re: One bibliography, separated by chapter?

2006-08-04 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
 If I use chapterbib and do NOT
 use the [gather] option, then all of the bibliographies are gathered at the
 end of the document. The effect (as far as I can see) is equivalent to
 including each of the bibliographies at the end of the chapters, in comment
 boxes, and then having one bibliography at the end of the master file, not
 in a comment box.

Is it really a bibliography by chapter then? I think it's just an ordinary 
bibliography, and the fact that you are using an unsrt bib style lets it look 
as if it is divided by chapters.

    If I use the [gather] option, the same thing happens, and the master
 bibliography is listed in the TOC (and is listed as falling on the correct
 page), but NEVER SHOWS UP. The text goes directly from the end of the last
 chapter to the Index.

    I suppose my next trick will be to repeat these experiments with a
 minimal raw latex file and see if that's any different (I suspect it won't
 be; probably this is more of a problem with chapterbib playing nice than
 anything else).

I just tried myself, and I couldn't get it to work as well. My guess is that 
you have to export your files to latex and run latex/bibtex manually. LyX 
doesn't seem to run bibtex on the different aux files, as needed.

Jürgen


Re: One bibliography, separated by chapter?

2006-08-04 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
 If I use chapterbib and do NOT
 use the [gather] option, then all of the bibliographies are gathered at the
 end of the document. The effect (as far as I can see) is equivalent to
 including each of the bibliographies at the end of the chapters, in comment
 boxes, and then having one bibliography at the end of the master file, not
 in a comment box.

Is it really a bibliography by chapter then? I think it's just an ordinary 
bibliography, and the fact that you are using an unsrt bib style lets it look 
as if it is divided by chapters.

    If I use the [gather] option, the same thing happens, and the master
 bibliography is listed in the TOC (and is listed as falling on the correct
 page), but NEVER SHOWS UP. The text goes directly from the end of the last
 chapter to the Index.

    I suppose my next trick will be to repeat these experiments with a
 minimal raw latex file and see if that's any different (I suspect it won't
 be; probably this is more of a problem with chapterbib playing nice than
 anything else).

I just tried myself, and I couldn't get it to work as well. My guess is that 
you have to export your files to latex and run latex/bibtex manually. LyX 
doesn't seem to run bibtex on the different aux files, as needed.

Jürgen


Re: One bibliography, separated by chapter?

2006-08-04 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
> If I use chapterbib and do NOT
> use the [gather] option, then all of the bibliographies are gathered at the
> end of the document. The effect (as far as I can see) is equivalent to
> including each of the bibliographies at the end of the chapters, in comment
> boxes, and then having one bibliography at the end of the master file, not
> in a comment box.

Is it really a bibliography by chapter then? I think it's just an ordinary 
bibliography, and the fact that you are using an unsrt bib style lets it look 
as if it is divided by chapters.

>    If I use the [gather] option, the same thing happens, and the master
> bibliography is listed in the TOC (and is listed as falling on the correct
> page), but NEVER SHOWS UP. The text goes directly from the end of the last
> chapter to the Index.
>
>    I suppose my next trick will be to repeat these experiments with a
> minimal raw latex file and see if that's any different (I suspect it won't
> be; probably this is more of a problem with chapterbib playing nice than
> anything else).

I just tried myself, and I couldn't get it to work as well. My guess is that 
you have to export your files to latex and run latex/bibtex manually. LyX 
doesn't seem to run bibtex on the different aux files, as needed.

Jürgen


Re: One bibliography, separated by chapter?

2006-08-03 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
 I am using a master document, with several \included sub-documents. All of
 these are of the report (koma-script) class. At the end of each of the
 sub-documents (generally chapters), I have placed a \bibliography (through
 the Insert  List/TOC  BibTeX Bibliography command) *within* a comment
 box. Then, at the end of the Master document, I have again a bibliography,
 but not in a comment box.

The instructions in chapterbib.sty read:
To have a bibliography-by-chapter at the end instead of separate bibs
in the chapters, use \usepackage[gather]{chapterbib}, put \bibliography
commands in each file, and at the end of the main file.

So why do you comment them out?

Jürgen


Re: One bibliography, separated by chapter?

2006-08-03 Thread Curtis Osterhoudt



From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: One bibliography, separated by chapter?
Date: Thu, 3 Aug 2006 10:50:17 +0200

Curtis Osterhoudt wrote:
 I am using a master document, with several \included sub-documents. All 
of

 these are of the report (koma-script) class. At the end of each of the
 sub-documents (generally chapters), I have placed a \bibliography 
(through
 the Insert  List/TOC  BibTeX Bibliography command) *within* a 
comment
 box. Then, at the end of the Master document, I have again a 
bibliography,

 but not in a comment box.

The instructions in chapterbib.sty read:
To have a bibliography-by-chapter at the end instead of separate bibs
in the chapters, use \usepackage[gather]{chapterbib}, put \bibliography
commands in each file, and at the end of the main file.

So why do you comment them out?

Jürgen


Jürgen,

 Ah, good question. I was thinking that if I *didn't* comment them out, 
they would each show up at the end of the chapters, as they do if I don't 
use the chapterbib package. But I was wrong. If I use chapterbib and do NOT 
use the [gather] option, then all of the bibliographies are gathered at the 
end of the document. The effect (as far as I can see) is equivalent to 
including each of the bibliographies at the end of the chapters, in comment 
boxes, and then having one bibliography at the end of the master file, not 
in a comment box.


  HOWEVER, the TOC has the master bibliography listed (good!). It's listed 
there as being on the correct page, but the hyperlink (I use those, too) 
sends the reader to the wrong page. I've figured out that   the page numbers 
in the TOC are listed correctly (for everything). However, the hyperlinks 
send you to the wrong spot, and the difference is due to the sum of the 
pages that the intervening bibliographies would have taken up. In other 
words, if the TOC has Ch. 4 starting on page 45, then that's where it'll be. 
However, if you click on the link for Ch. 4 in the TOC, you're sent to 
page 42 or so, since there would normally be 3 approximately 1-page-long 
bibliographies before Ch. 4 started.
  One weird thing is that the *index* entries show up as on the correct 
pages, AND their hyperlinks take you to the right spot. So it must be 
something having to do with different ways that things are processed.


  If I use the [gather] option, the same thing happens, and the master 
bibliography is listed in the TOC (and is listed as falling on the correct 
page), but NEVER SHOWS UP. The text goes directly from the end of the last 
chapter to the Index.


  I suppose my next trick will be to repeat these experiments with a 
minimal raw latex file and see if that's any different (I suspect it won't 
be; probably this is more of a problem with chapterbib playing nice than 
anything else).


   Thank you,
  Curtis O.




Re: One bibliography, separated by chapter?

2006-08-03 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
 I am using a master document, with several \included sub-documents. All of
 these are of the report (koma-script) class. At the end of each of the
 sub-documents (generally chapters), I have placed a \bibliography (through
 the Insert  List/TOC  BibTeX Bibliography command) *within* a comment
 box. Then, at the end of the Master document, I have again a bibliography,
 but not in a comment box.

The instructions in chapterbib.sty read:
To have a bibliography-by-chapter at the end instead of separate bibs
in the chapters, use \usepackage[gather]{chapterbib}, put \bibliography
commands in each file, and at the end of the main file.

So why do you comment them out?

Jürgen


Re: One bibliography, separated by chapter?

2006-08-03 Thread Curtis Osterhoudt



From: Juergen Spitzmueller [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: One bibliography, separated by chapter?
Date: Thu, 3 Aug 2006 10:50:17 +0200

Curtis Osterhoudt wrote:
 I am using a master document, with several \included sub-documents. All 
of

 these are of the report (koma-script) class. At the end of each of the
 sub-documents (generally chapters), I have placed a \bibliography 
(through
 the Insert  List/TOC  BibTeX Bibliography command) *within* a 
comment
 box. Then, at the end of the Master document, I have again a 
bibliography,

 but not in a comment box.

The instructions in chapterbib.sty read:
To have a bibliography-by-chapter at the end instead of separate bibs
in the chapters, use \usepackage[gather]{chapterbib}, put \bibliography
commands in each file, and at the end of the main file.

So why do you comment them out?

Jürgen


Jürgen,

 Ah, good question. I was thinking that if I *didn't* comment them out, 
they would each show up at the end of the chapters, as they do if I don't 
use the chapterbib package. But I was wrong. If I use chapterbib and do NOT 
use the [gather] option, then all of the bibliographies are gathered at the 
end of the document. The effect (as far as I can see) is equivalent to 
including each of the bibliographies at the end of the chapters, in comment 
boxes, and then having one bibliography at the end of the master file, not 
in a comment box.


  HOWEVER, the TOC has the master bibliography listed (good!). It's listed 
there as being on the correct page, but the hyperlink (I use those, too) 
sends the reader to the wrong page. I've figured out that   the page numbers 
in the TOC are listed correctly (for everything). However, the hyperlinks 
send you to the wrong spot, and the difference is due to the sum of the 
pages that the intervening bibliographies would have taken up. In other 
words, if the TOC has Ch. 4 starting on page 45, then that's where it'll be. 
However, if you click on the link for Ch. 4 in the TOC, you're sent to 
page 42 or so, since there would normally be 3 approximately 1-page-long 
bibliographies before Ch. 4 started.
  One weird thing is that the *index* entries show up as on the correct 
pages, AND their hyperlinks take you to the right spot. So it must be 
something having to do with different ways that things are processed.


  If I use the [gather] option, the same thing happens, and the master 
bibliography is listed in the TOC (and is listed as falling on the correct 
page), but NEVER SHOWS UP. The text goes directly from the end of the last 
chapter to the Index.


  I suppose my next trick will be to repeat these experiments with a 
minimal raw latex file and see if that's any different (I suspect it won't 
be; probably this is more of a problem with chapterbib playing nice than 
anything else).


   Thank you,
  Curtis O.




Re: One bibliography, separated by chapter?

2006-08-03 Thread Juergen Spitzmueller
Curtis Osterhoudt wrote:
> I am using a master document, with several \included sub-documents. All of
> these are of the report (koma-script) class. At the end of each of the
> sub-documents (generally chapters), I have placed a \bibliography (through
> the Insert > List/TOC > BibTeX Bibliography command) *within* a "comment"
> box. Then, at the end of the Master document, I have again a bibliography,
> but not in a "comment" box.

The instructions in chapterbib.sty read:
"To have a bibliography-by-chapter at the end instead of separate bibs
in the chapters, use \usepackage[gather]{chapterbib}, put \bibliography
commands in each file, and at the end of the main file."

So why do you comment them out?

Jürgen


Re: One bibliography, separated by chapter?

2006-08-03 Thread Curtis Osterhoudt



From: Juergen Spitzmueller <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Subject: Re: One bibliography, separated by chapter?
Date: Thu, 3 Aug 2006 10:50:17 +0200

Curtis Osterhoudt wrote:
> I am using a master document, with several \included sub-documents. All 
of

> these are of the report (koma-script) class. At the end of each of the
> sub-documents (generally chapters), I have placed a \bibliography 
(through
> the Insert > List/TOC > BibTeX Bibliography command) *within* a 
"comment"
> box. Then, at the end of the Master document, I have again a 
bibliography,

> but not in a "comment" box.

The instructions in chapterbib.sty read:
"To have a bibliography-by-chapter at the end instead of separate bibs
in the chapters, use \usepackage[gather]{chapterbib}, put \bibliography
commands in each file, and at the end of the main file."

So why do you comment them out?

Jürgen


Jürgen,

 Ah, good question. I was thinking that if I *didn't* comment them out, 
they would each show up at the end of the chapters, as they do if I don't 
use the chapterbib package. But I was wrong. If I use chapterbib and do NOT 
use the [gather] option, then all of the bibliographies are gathered at the 
end of the document. The effect (as far as I can see) is equivalent to 
including each of the bibliographies at the end of the chapters, in comment 
boxes, and then having one bibliography at the end of the master file, not 
in a comment box.


  HOWEVER, the TOC has the master bibliography listed (good!). It's listed 
there as being on the correct page, but the hyperlink (I use those, too) 
sends the reader to the wrong page. I've figured out that   the page numbers 
in the TOC are listed correctly (for everything). However, the hyperlinks 
send you to the wrong spot, and the difference is due to the sum of the 
pages that the intervening bibliographies would have taken up. In other 
words, if the TOC has Ch. 4 starting on page 45, then that's where it'll be. 
However, if you click on the link for "Ch. 4" in the TOC, you're sent to 
page 42 or so, since there would normally be 3 approximately 1-page-long 
bibliographies before Ch. 4 started.
  One weird thing is that the *index* entries show up as on the correct 
pages, AND their hyperlinks take you to the right spot. So it must be 
something having to do with different ways that things are processed.


  If I use the [gather] option, the same thing happens, and the master 
bibliography is listed in the TOC (and is listed as falling on the correct 
page), but NEVER SHOWS UP. The text goes directly from the end of the last 
chapter to the Index.


  I suppose my next trick will be to repeat these experiments with a 
minimal raw latex file and see if that's any different (I suspect it won't 
be; probably this is more of a problem with chapterbib playing nice than 
anything else).


   Thank you,
  Curtis O.




One bibliography, separated by chapter?

2006-08-02 Thread Curtis Osterhoudt

Hi, all,

  I ended up sending this message in a reply to another message which it 
has nothing to do with, so I'm re-sending it. It could be that no one had 
anything to say in the first place -- I apologize for cluttering up the list 
with a reposting if that's the case!


At the end of my dissertation, I would like to include a bibliography which 
is divided into sections like References for Chapter 1, References for 
Chapter 2, etc. I do not want separate bibliographies at the end of each 
chapter. The package \chapterbib with the gather option seems just what I 
want, only I can't get it to work for my LyX document.


I am using a master document, with several \included sub-documents. All of 
these are of the report (koma-script) class. At the end of each of the 
sub-documents (generally chapters), I have placed a \bibliography (through 
the Insert  List/TOC  BibTeX Bibliography command) *within* a comment 
box. Then, at the end of the Master document, I have again a bibliography, 
but not in a comment box. They are all (especially in the Master document; 
I don't know if the others matter) of style plunsrt since I want them 
listed in the order in which they're cited in the text. In the Master file's 
preamble, I have \usepackage{chapterbib}, although at the moment, it doesn't 
seem to matter whether or not I have this (probably because the 
bibliographies are in comment boxes?). Things seem to work as expected (one 
big unsectioned bibliography at the end). However, if I use the gather 
option to chapterbib, the bibliography shows up in the TOC (if I have that 
option checked), but does not show up in the actual document.


I note that in this thread: 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12585.html from 2001, 
someone was having the same sort of problems. A work-around, by Dekel Tsur, 
was to not use chapterbib, and do some fancy legwork in the /bin/bibtex 
program, or recompile LyX with some things changed. I have not tried these 
things, although I might if I can't find another solution. Is there now an 
easier way to get a single end-of-document sectioned bibliography with LyX? 
It seems to me that the Sectioned bibliography checkbox isn't what I want, 
but I could be wrong.


 Regards,
 Curtis O.




One bibliography, separated by chapter?

2006-08-02 Thread Curtis Osterhoudt

Hi, all,

  I ended up sending this message in a reply to another message which it 
has nothing to do with, so I'm re-sending it. It could be that no one had 
anything to say in the first place -- I apologize for cluttering up the list 
with a reposting if that's the case!


At the end of my dissertation, I would like to include a bibliography which 
is divided into sections like References for Chapter 1, References for 
Chapter 2, etc. I do not want separate bibliographies at the end of each 
chapter. The package \chapterbib with the gather option seems just what I 
want, only I can't get it to work for my LyX document.


I am using a master document, with several \included sub-documents. All of 
these are of the report (koma-script) class. At the end of each of the 
sub-documents (generally chapters), I have placed a \bibliography (through 
the Insert  List/TOC  BibTeX Bibliography command) *within* a comment 
box. Then, at the end of the Master document, I have again a bibliography, 
but not in a comment box. They are all (especially in the Master document; 
I don't know if the others matter) of style plunsrt since I want them 
listed in the order in which they're cited in the text. In the Master file's 
preamble, I have \usepackage{chapterbib}, although at the moment, it doesn't 
seem to matter whether or not I have this (probably because the 
bibliographies are in comment boxes?). Things seem to work as expected (one 
big unsectioned bibliography at the end). However, if I use the gather 
option to chapterbib, the bibliography shows up in the TOC (if I have that 
option checked), but does not show up in the actual document.


I note that in this thread: 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12585.html from 2001, 
someone was having the same sort of problems. A work-around, by Dekel Tsur, 
was to not use chapterbib, and do some fancy legwork in the /bin/bibtex 
program, or recompile LyX with some things changed. I have not tried these 
things, although I might if I can't find another solution. Is there now an 
easier way to get a single end-of-document sectioned bibliography with LyX? 
It seems to me that the Sectioned bibliography checkbox isn't what I want, 
but I could be wrong.


 Regards,
 Curtis O.




One bibliography, separated by chapter?

2006-08-02 Thread Curtis Osterhoudt

Hi, all,

  I ended up sending this message in a "reply" to another message which it 
has nothing to do with, so I'm re-sending it. It could be that no one had 
anything to say in the first place -- I apologize for cluttering up the list 
with a reposting if that's the case!


At the end of my dissertation, I would like to include a bibliography which 
is divided into sections like "References for Chapter 1", "References for 
Chapter 2", etc. I do not want separate bibliographies at the end of each 
chapter. The package \chapterbib with the "gather" option seems just what I 
want, only I can't get it to work for my LyX document.


I am using a master document, with several \included sub-documents. All of 
these are of the report (koma-script) class. At the end of each of the 
sub-documents (generally chapters), I have placed a \bibliography (through 
the Insert > List/TOC > BibTeX Bibliography command) *within* a "comment" 
box. Then, at the end of the Master document, I have again a bibliography, 
but not in a "comment" box. They are all (especially in the Master document; 
I don't know if the others matter) of style "plunsrt" since I want them 
listed in the order in which they're cited in the text. In the Master file's 
preamble, I have \usepackage{chapterbib}, although at the moment, it doesn't 
seem to matter whether or not I have this (probably because the 
bibliographies are in comment boxes?). Things seem to work as expected (one 
big unsectioned bibliography at the end). However, if I use the "gather" 
option to chapterbib, the bibliography shows up in the TOC (if I have that 
option checked), but does not show up in the actual document.


I note that in this thread: 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12585.html from 2001, 
someone was having the same sort of problems. A work-around, by Dekel Tsur, 
was to not use chapterbib, and do some fancy legwork in the /bin/bibtex 
program, or recompile LyX with some things changed. I have not tried these 
things, although I might if I can't find another solution. Is there now an 
easier way to get a single end-of-document sectioned bibliography with LyX? 
It seems to me that the "Sectioned bibliography" checkbox isn't what I want, 
but I could be wrong.


 Regards,
 Curtis O.




One bibliography, separated by chapter

2006-07-31 Thread Curtis Osterhoudt

Hi, all,

 At the end of my dissertation, I would like to include a bibliography 
which is divided into sections like References for Chapter 1, References 
for Chapter 2, etc. I do not want separate bibliographies at the end of 
each chapter. The package \chapterbib with the gather option seems just 
what I want, only I can't get it to work for my LyX document.


  I am using a master document, with several \included sub-documents. All 
of these are of the report (koma-script) class. At the end of each of the 
sub-documents (generally chapters), I have placed a \bibliography (through 
the Insert  List/TOC  BibTeX Bibliography command) *within* a comment 
box. Then, at the end of the Master document, I have again a bibliography, 
but not in a comment box. They are all (especially in the Master document; 
I don't know if the others matter) of style plunsrt since I want them 
listed in the order in which they're cited in the text.
   In the Master file's preamble, I have \usepackage{chapterbib}, although 
at the moment, it doesn't seem to matter whether or not I have this 
(probably because the bibliographies are in comment boxes?). Things seem to 
work as expected (one big unsectioned bibliography at the end). However, if 
I use the gather option to chapterbib, the bibliography shows up in the 
TOC (if I have that option checked), but does not show up in the actual 
document.


  I note that in this thread: 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12585.html from 2001, 
someone was having the same sort of problems. A work-around, by Dekel Tsur, 
was to not use chapterbib, and do some fancy legwork in the /bin/bibtex 
program, or recompile LyX with some things changed. I have not tried these 
things, although I might if I can't find another solution.
   Is there now an easier way to get a single end-of-document sectioned 
bibliography with LyX? It seems to me that the Sectioned bibliography 
checkbox isn't what I want, but I could be wrong.


  Regards,
  Curtis Osterhoudt




One bibliography, separated by chapter

2006-07-31 Thread Curtis Osterhoudt

Hi, all,

 At the end of my dissertation, I would like to include a bibliography 
which is divided into sections like References for Chapter 1, References 
for Chapter 2, etc. I do not want separate bibliographies at the end of 
each chapter. The package \chapterbib with the gather option seems just 
what I want, only I can't get it to work for my LyX document.


  I am using a master document, with several \included sub-documents. All 
of these are of the report (koma-script) class. At the end of each of the 
sub-documents (generally chapters), I have placed a \bibliography (through 
the Insert  List/TOC  BibTeX Bibliography command) *within* a comment 
box. Then, at the end of the Master document, I have again a bibliography, 
but not in a comment box. They are all (especially in the Master document; 
I don't know if the others matter) of style plunsrt since I want them 
listed in the order in which they're cited in the text.
   In the Master file's preamble, I have \usepackage{chapterbib}, although 
at the moment, it doesn't seem to matter whether or not I have this 
(probably because the bibliographies are in comment boxes?). Things seem to 
work as expected (one big unsectioned bibliography at the end). However, if 
I use the gather option to chapterbib, the bibliography shows up in the 
TOC (if I have that option checked), but does not show up in the actual 
document.


  I note that in this thread: 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12585.html from 2001, 
someone was having the same sort of problems. A work-around, by Dekel Tsur, 
was to not use chapterbib, and do some fancy legwork in the /bin/bibtex 
program, or recompile LyX with some things changed. I have not tried these 
things, although I might if I can't find another solution.
   Is there now an easier way to get a single end-of-document sectioned 
bibliography with LyX? It seems to me that the Sectioned bibliography 
checkbox isn't what I want, but I could be wrong.


  Regards,
  Curtis Osterhoudt




One bibliography, separated by chapter

2006-07-31 Thread Curtis Osterhoudt

Hi, all,

 At the end of my dissertation, I would like to include a bibliography 
which is divided into sections like "References for Chapter 1", "References 
for Chapter 2", etc. I do not want separate bibliographies at the end of 
each chapter. The package \chapterbib with the "gather" option seems just 
what I want, only I can't get it to work for my LyX document.


  I am using a master document, with several \included sub-documents. All 
of these are of the report (koma-script) class. At the end of each of the 
sub-documents (generally chapters), I have placed a \bibliography (through 
the Insert > List/TOC > BibTeX Bibliography command) *within* a "comment" 
box. Then, at the end of the Master document, I have again a bibliography, 
but not in a "comment" box. They are all (especially in the Master document; 
I don't know if the others matter) of style "plunsrt" since I want them 
listed in the order in which they're cited in the text.
   In the Master file's preamble, I have \usepackage{chapterbib}, although 
at the moment, it doesn't seem to matter whether or not I have this 
(probably because the bibliographies are in comment boxes?). Things seem to 
work as expected (one big unsectioned bibliography at the end). However, if 
I use the "gather" option to chapterbib, the bibliography shows up in the 
TOC (if I have that option checked), but does not show up in the actual 
document.


  I note that in this thread: 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12585.html from 2001, 
someone was having the same sort of problems. A work-around, by Dekel Tsur, 
was to not use chapterbib, and do some fancy legwork in the /bin/bibtex 
program, or recompile LyX with some things changed. I have not tried these 
things, although I might if I can't find another solution.
   Is there now an easier way to get a single end-of-document sectioned 
bibliography with LyX? It seems to me that the "Sectioned bibliography" 
checkbox isn't what I want, but I could be wrong.


  Regards,
  Curtis Osterhoudt