Re: Including bibliographies ....

2003-02-09 Thread Dekel Tsur
On Sat, Feb 08, 2003 at 01:17:22AM -0500, [EMAIL PROTECTED] wrote:
> But no, the code did not work ... when I used the term with 'the' in them
> I got a lot of error messages saying \relax could not be used after \the 
> when
> referring to bibitem{wright-63} 

It should work if you follows my instructions exactly.
If you can't make it work, give an example file.



Re: Including bibliographies ....

2003-02-07 Thread [EMAIL PROTECTED]
Thanks Dekel,

But no, the code did not work ... when I used the term with 'the' in them
I got a lot of error messages saying \relax could not be used after \the 
when
referring to bibitem{wright-63} 


Regards
Goffredo


Dekel Tsur wrote:

On Fri, Feb 07, 2003 at 11:36:15AM -0500, [EMAIL PROTECTED] wrote:
 

I know this has been answered previously, but I can't seem to find the 
reference,
and the tips and tricks discussion of it doesn't seem to work in my case.

My problem is this ... I have one main document which has a number of
chapters. Each chapter contains bibliographic references (bibtex 
references),
and the main document also contains a bibliographic environment at the
end. Now I want the bibliographic data to print only at the end in the main
document, once all the chapters are collated, and I don't want 
bibliographic
matter at the end of each chapter. How can I do this?
   


Write the following in the preamble,

\let\oldthebibliography=\thebibliography
\def\thebibliography#1{}

Also, before the bibliography in the master file (before the bibtex inset)
write
\let\thebibliography=\oldthebibliography
in latex mode.

 







Re: Including bibliographies ....

2003-02-07 Thread Dekel Tsur
On Fri, Feb 07, 2003 at 11:36:15AM -0500, [EMAIL PROTECTED] wrote:
> I know this has been answered previously, but I can't seem to find the 
> reference,
> and the tips and tricks discussion of it doesn't seem to work in my case.
> 
> My problem is this ... I have one main document which has a number of
> chapters. Each chapter contains bibliographic references (bibtex 
> references),
> and the main document also contains a bibliographic environment at the
> end. Now I want the bibliographic data to print only at the end in the main
> document, once all the chapters are collated, and I don't want 
> bibliographic
> matter at the end of each chapter. How can I do this?

Write the following in the preamble,
 
 \let\oldthebibliography=\thebibliography
 \def\thebibliography#1{}
 
Also, before the bibliography in the master file (before the bibtex inset)
write
 \let\thebibliography=\oldthebibliography
in latex mode.



chapterbib example fails also: Re: Including bibliographies ....

2003-02-07 Thread [EMAIL PROTECTED]
Hi,

Thanks for suggestion, but it did not work.
I am using Lyx 1.2.0 on two machines ... Wintel and Linux.
On neither machine does the procedure of multi-part document files
produce the correct bibliographic entries.

Case 1:  If each chapter is compiled separately, then the bib entries
are numbered according to their sort order in the chapter bibliographic list
When the parent document is re-compiled (using dvi-view), then there is a
bibliography at the end of each chapter but there is NOT one at the end of
the complete document unless there is an explicit inclusion of a bib 
list reference.
(This does NOT come with the chapterbib example from Herbert's site)
Once the bib list is included, yes I get now bib lists at end of each 
chapter
and at end of book. BUT the reference numbers from the chapters do NOT
refer to the entries at the back of the book but to the sort order for 
the chapters,
that is, in different chapters the reference [1] will refer to different 
documents,
and they will NOT match the reference [1] at the end.

Case 2: If I try to simply add a bib list at end of main document and delete
them from chapters, then I get nothing in the main bib list.

It seems to me the example provided in Tips'n Tricks is no longer 
applicable,
at least to LyX 1.2.0. And that the process for including bib files in 
multi-part
documents does not work very well.

I tried removing temporary .tex files, I have disabled the /tmp 
directory and
so on ... nothing seems to help.

How should this work?
Regards
Goffredo










I Wayan Warmada wrote:

On Fri, 7 Feb 2003, [EMAIL PROTECTED] wrote:

| My problem is this ... I have one main document which has a number of
| chapters. Each chapter contains bibliographic references (bibtex
| references), and the main document also contains a bibliographic
| environment at the end. Now I want the bibliographic data to print only
| at the end in the main document, once all the chapters are collated, and
| I don't want bibliographic matter at the end of each chapter. How can I
| do this?

I have made my thesis as following (with report class)
the main document --> i.e. thesis.lyx which contain:

Input: ch0-cover.lyx
Input: ch1-intro.lyx
Input: ch2-etc
..
..
--breakpage--
BibTeX reference

Input: appendixA.lyx
Input: appendixB.lyx

I don't put the bibtex references in each chapter, but only in the main
document. Note: the all lyx file should have similar document style (I
think). This way works as I will without any error...

| I have tried doing a dvi on the main document, and then on each chapter,
| and then removing the bib references in the chapters, but nothing seems
| to help in getting the bib references at the end of the main document.
| This seems to be very ricky to get right, and I don't know how. (As I
| said the instructions in Herbert's page does not work for me ... )

sometimes LyX/LaTeX (I don't know) did not recompile the new editing
results, but just viewed/or compiled an old *.tex from the /tmp/
directory. I have normally done was to remove the *.tex file in the
/tmp/-directory...

Wayan

 







Re: Including bibliographies ....

2003-02-06 Thread I Wayan Warmada

On Fri, 7 Feb 2003, [EMAIL PROTECTED] wrote:

| My problem is this ... I have one main document which has a number of
| chapters. Each chapter contains bibliographic references (bibtex
| references), and the main document also contains a bibliographic
| environment at the end. Now I want the bibliographic data to print only
| at the end in the main document, once all the chapters are collated, and
| I don't want bibliographic matter at the end of each chapter. How can I
| do this?

I have made my thesis as following (with report class)
the main document --> i.e. thesis.lyx which contain:

Input: ch0-cover.lyx
Input: ch1-intro.lyx
Input: ch2-etc
..
..
--breakpage--
BibTeX reference

Input: appendixA.lyx
Input: appendixB.lyx

I don't put the bibtex references in each chapter, but only in the main
document. Note: the all lyx file should have similar document style (I
think). This way works as I will without any error...

| I have tried doing a dvi on the main document, and then on each chapter,
| and then removing the bib references in the chapters, but nothing seems
| to help in getting the bib references at the end of the main document.
| This seems to be very ricky to get right, and I don't know how. (As I
| said the instructions in Herbert's page does not work for me ... )

sometimes LyX/LaTeX (I don't know) did not recompile the new editing
results, but just viewed/or compiled an old *.tex from the /tmp/
directory. I have normally done was to remove the *.tex file in the
/tmp/-directory...

Wayan



Including bibliographies ....

2003-02-06 Thread [EMAIL PROTECTED]
Hi All,

I know this has been answered previously, but I can't seem to find the 
reference,
and the tips and tricks discussion of it doesn't seem to work in my case.

My problem is this ... I have one main document which has a number of
chapters. Each chapter contains bibliographic references (bibtex 
references),
and the main document also contains a bibliographic environment at the
end. Now I want the bibliographic data to print only at the end in the main
document, once all the chapters are collated, and I don't want 
bibliographic
matter at the end of each chapter. How can I do this?

I have tried doing a dvi on the main document, and then on each chapter,
and then removing the bib references in the chapters, but nothing seems
to help in getting the bib references at the end of the main document. This
seems to be very ricky to get right, and I don't know how. (As I said the
instructions in Herbert's page does not work for me ... )

Thanks for help
Regards
Goffredo