Re: bibliography-question
On 6/3/19 2:49 PM, M.B. Schiekel wrote: Am 02.06.19 um 20:40 schrieb Paul A. Rubin: On 6/2/19 12:53 PM, M.B. Schiekel wrote: ... Another case is still open for me. Can I have a part-bibliography at the end of part 1 and part 2 and a full document-bibliography at the document-end? ... Yes. One way is the following. 1. Repeat what you did before to generate a .bib file containing all references cited anywhere in the paper (and only those references). 2. Use the document bibliography settings to specify "subdivided bibliograph" "per part". 3. Put the LaTeX code from my previous suggestion ("\renewcommand{\btPrintCited}{\btPrintAll}") in a TeX inset (ERT) somewhere in the final part (after part 2) and do /not/ put it in the document preamble. ... Dear Paul, thank you very much for your patient support! Your suggestions worked fine and really helped me. Many thanks again to all LyX supporters for our wounderful LyX and our wounderful lyx-users community! Sincerely - bernhard Gern geschehen. Paul
Re: bibliography-question
Am 02.06.19 um 20:40 schrieb Paul A. Rubin: > On 6/2/19 12:53 PM, M.B. Schiekel wrote: >> ... >> Another case is still open for me. >> Can I have a part-bibliography at the end of part 1 and part 2 and a >> full document-bibliography at the document-end? >> ... > Yes. One way is the following. > > 1. Repeat what you did before to generate a .bib file containing all > references cited anywhere in the paper (and only those references). > 2. Use the document bibliography settings to specify "subdivided > bibliograph" "per part". > 3. Put the LaTeX code from my previous suggestion > ("\renewcommand{\btPrintCited}{\btPrintAll}") in a TeX inset (ERT) > somewhere in the final part (after part 2) and do /not/ put it in > the document preamble. > ... Dear Paul, thank you very much for your patient support! Your suggestions worked fine and really helped me. Many thanks again to all LyX supporters for our wounderful LyX and our wounderful lyx-users community! Sincerely - bernhard -- Homepage: https://www.mb-schiekel.de/ GnuPG: http://p80.pool.sks-keyservers.net/ signature.asc Description: OpenPGP digital signature
Re: bibliography-question
On 6/2/19 12:53 PM, M.B. Schiekel wrote: Thank Paul and all others, now I've learned, that 1. my LyX-document has to be open in LyX and has the document just exported to PDF, then I can find the .aux file in the Linux \tmp directory. 2. I have to make a copy of my physics.bib with name 0_home_myname_dir-A_dir-B_physics.bib and then I can run bibexport: bibexport -o mydoc.bib mydoc.aux Ok, now I have a complete document-bibliography and can use this at the end of each part of my multipart-document. Great :-) Another case is still open for me. Can I have a part-bibliography at the end of part 1 and part 2 and a full document-bibliography at the document-end? Thank you very much, bernhard Yes. One way is the following. 1. Repeat what you did before to generate a .bib file containing all references cited anywhere in the paper (and only those references). 2. Use the document bibliography settings to specify "subdivided bibliograph" "per part". 3. Put the LaTeX code from my previous suggestion ("\renewcommand{\btPrintCited}{\btPrintAll}") in a TeX inset (ERT) somewhere in the final part (after part 2) and do /not/ put it in the document preamble. I've attached a new MWE. Paul multibib2.lyx Description: application/lyx
Re: bibliography-question
>>> ... >>> You might have a look at >>> >>> https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file, >>> ... > Start by checking Tools > Preferences... > Paths. The "Temporary > directory" shown there will be your starting point. (On Linux, this is > normally /tmp.) In that directory, look for a directory named > "lyx_tmpdir." and move there. In that directory, look > for "lyx_tmpbuf0" if this is the only document you have open. > ... Thank Paul and all others, now I've learned, that 1. my LyX-document has to be open in LyX and has the document just exported to PDF, then I can find the .aux file in the Linux \tmp directory. 2. I have to make a copy of my physics.bib with name 0_home_myname_dir-A_dir-B_physics.bib and then I can run bibexport: bibexport -o mydoc.bib mydoc.aux Ok, now I have a complete document-bibliography and can use this at the end of each part of my multipart-document. Great :-) Another case is still open for me. Can I have a part-bibliography at the end of part 1 and part 2 and a full document-bibliography at the document-end? Thank you very much, bernhard -- Homepage: https://www.mb-schiekel.de/ GnuPG: http://p80.pool.sks-keyservers.net/ signature.asc Description: OpenPGP digital signature
Re: bibliography-question
On 6/1/19 3:50 AM, M.B. Schiekel wrote: Am 28.05.19 um 22:34 schrieb Paul A. Rubin: ... You might have a look at https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file, ... 2. Use the .aux file created by that to extract all entries cited anywhere in your paper (and only those entries) to a new .bib file, applying one of the methods in the StackExchange thread. ... Dear Paul and LyX-friends, good, but where do I find the LyX generated .aux file? Thank you very much again, bernhard Start by checking Tools > Preferences... > Paths. The "Temporary directory" shown there will be your starting point. (On Linux, this is normally /tmp.) In that directory, look for a directory named "lyx_tmpdir." and move there. In that directory, look for "lyx_tmpbuf0" if this is the only document you have open. If you have multiple documents open, there will be "lyx_tmpbuf1", "lyx_tmpbuf2" etc., and you'll need to figure out which is the right one. The .aux file will be in there. Paul
Re: bibliography-question
On 01.06.19 10:24, Wolfgang Engelmann wrote: On 01.06.19 09:50, M.B. Schiekel wrote: Am 28.05.19 um 22:34 schrieb Paul A. Rubin: ... You might have a look at https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file, ... 2. Use the .aux file created by that to extract all entries cited anywhere in your paper (and only those entries) to a new .bib file, applying one of the methods in the StackExchange thread. ... Dear Paul and LyX-friends, good, but where do I find the LyX generated .aux file? Thank you very much again, bernhard lyx > file > export >latex(plain). you get the .tex file run (on a terminal) latex your.tex 3 times run (on terminal) bibtex your (without .tex!) 2-3 times this gives you in the same folder the your.aux file. Wolfgang p.s. if you use a large bib file which contains more than the citations you are using in your document, you can strip the needed easily if you are using the Jabref Reference Manager by JabRef>tools>new sublibrary based on AUX file Ref library; your.bib latex AUX file; your.aux name this e,g, yourstriped.aux Wolfgang
Re: bibliography-question
On 01.06.19 09:50, M.B. Schiekel wrote: Am 28.05.19 um 22:34 schrieb Paul A. Rubin: ... You might have a look at https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file, ... 2. Use the .aux file created by that to extract all entries cited anywhere in your paper (and only those entries) to a new .bib file, applying one of the methods in the StackExchange thread. ... Dear Paul and LyX-friends, good, but where do I find the LyX generated .aux file? Thank you very much again, bernhard lyx > file > export >latex(plain). you get the .tex file run (on a terminal) latex your.tex 3 times run (on terminal) bibtex your (without .tex!) 2-3 times this gives you in the same folder the your.aux file. Wolfgang
Re: bibliography-question
Am 28.05.19 um 22:34 schrieb Paul A. Rubin: > ... > You might have a look at > https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file, > ... > 2. Use the .aux file created by that to extract all entries cited >anywhere in your paper (and only those entries) to a new .bib file, >applying one of the methods in the StackExchange thread. > ... Dear Paul and LyX-friends, good, but where do I find the LyX generated .aux file? Thank you very much again, bernhard -- Homepage: https://www.mb-schiekel.de/ GnuPG: http://p80.pool.sks-keyservers.net/ signature.asc Description: OpenPGP digital signature
Re: bibliography-question
Am Mittwoch, den 29.05.2019, 17:11 -0400 schrieb Benedict Holland: > I want to reiterate the ERT of \nocite{*} The LyX way of doing this would be to select "all references" in the BibTeX settings dialog (this automatically puts a \nocite* to the LaTeX output). Jürgen signature.asc Description: This is a digitally signed message part
Re: bibliography-question
Am Montag, den 27.05.2019, 17:15 -0400 schrieb Paul A. Rubin: > If every entry in the .bib file is cited somewhere (so that you want > the full contents of the .bib file in each part), you might try the > following: > In the Bibliography section, select "Subdivided bibliography" and set > the "Multiple bibliographies" choice to "per part". > In the LaTeX preamble, add the following: > "\renewcommand{\btPrintCited}{\btPrintAll}". Instead of that, why don't you simply select "All References" in the BibTeX settings dialog (instead of "all cited references")? Jürgen signature.asc Description: This is a digitally signed message part
Re: bibliography-question
I want to reiterate the ERT of \nocite{*} and you can probably put it in your preamble if you want it for all parts in your document. This is your answer: https://tex.stackexchange.com/questions/17653/how-to-list-all-bibliography-entries-without-citing Then you just have to create a references/bibliography section at the end of each part. This doesn't need JabRef. All JabRef does is create and manage your .bib file. Biblatex will read your .bib file and create your references. Lyx kicks off the biblatex command. BTW, I would not use bibtex to do it as biblatex has a lot more options and features than bibtex does. thanks, ~Ben On Tue, May 28, 2019 at 4:34 PM Paul A. Rubin wrote: > On 5/28/19 9:57 AM, M.B. Schiekel wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am 27.05.19 um 23:15 schrieb Paul A. Rubin: > > ... Now I would like to have a biography at the end of each part > - but each time the complete document biography, and not the > part dependent biography. Might be this is trivial, but I can't > see it. Any hint is wellcome. Thank you very much, bernhard > > ... > > Dear Paul, > > thank you for your answer, and well, you are right :-) > > I assume here that "biography" --> "bibliography". > > The next paragraph of your answer highlights my problem: > > /If/ every entry in the .bib file is cited somewhere (so that you > want the full contents of the .bib file in each part), you might > try the following: ... > > My .bib file is a bib-database of all my different papers, books, > So \btPrintAll seems not to be a very good idea :-) > > Vaguely I remember, that many years ago Herbert Voss, our LaTeX-guru, > suggested exporting the document-bibliography at the end and in a > second run importing it after after part 1 and part 2. How to manage thi > s? > > Might be a workaround for my wishes would be a part-based bibliography > after each part /plus/ a document-bibliography at the end of part 3. > Is this possible? > > Any suggestions? Again thank you very much! > bernhard > > > You might have a look at > https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file, > particularly if you use (or are willing to use JabRef). The approach would > be along the following lines: > >1. Do a sectioned bibliography without using my hack. This will >generate a file with only a partial bibliography in each part (which is >fine for now). >2. Use the .aux file created by that to extract all entries cited >anywhere in your paper (and only those entries) to a new .bib file, >applying one of the methods in the StackExchange thread. >3. Switch to the new .bib file in all sections of your paper, then add >my hack in the preamble. > > Paul > > >
Re: bibliography-question
On 5/28/19 9:57 AM, M.B. Schiekel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 27.05.19 um 23:15 schrieb Paul A. Rubin: ... Now I would like to have a biography at the end of each part - but each time the complete document biography, and not the part dependent biography. Might be this is trivial, but I can't see it. Any hint is wellcome. Thank you very much, bernhard ... Dear Paul, thank you for your answer, and well, you are right :-) I assume here that "biography" --> "bibliography". The next paragraph of your answer highlights my problem: /If/ every entry in the .bib file is cited somewhere (so that you want the full contents of the .bib file in each part), you might try the following: ... My .bib file is a bib-database of all my different papers, books, So \btPrintAll seems not to be a very good idea :-) Vaguely I remember, that many years ago Herbert Voss, our LaTeX-guru, suggested exporting the document-bibliography at the end and in a second run importing it after after part 1 and part 2. How to manage thi s? Might be a workaround for my wishes would be a part-based bibliography after each part /plus/ a document-bibliography at the end of part 3. Is this possible? Any suggestions? Again thank you very much! bernhard You might have a look at https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file, particularly if you use (or are willing to use JabRef). The approach would be along the following lines: 1. Do a sectioned bibliography without using my hack. This will generate a file with only a partial bibliography in each part (which is fine for now). 2. Use the .aux file created by that to extract all entries cited anywhere in your paper (and only those entries) to a new .bib file, applying one of the methods in the StackExchange thread. 3. Switch to the new .bib file in all sections of your paper, then add my hack in the preamble. Paul
Re: bibliography-question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 27.05.19 um 23:15 schrieb Paul A. Rubin: >> ... Now I would like to have a biography at the end of each part >> - but each time the complete document biography, and not the >> part dependent biography. Might be this is trivial, but I can't >> see it. Any hint is wellcome. Thank you very much, bernhard > ... Dear Paul, thank you for your answer, and well, you are right :-) > I assume here that "biography" --> "bibliography". The next paragraph of your answer highlights my problem: > /If/ every entry in the .bib file is cited somewhere (so that you > want the full contents of the .bib file in each part), you might > try the following: ... My .bib file is a bib-database of all my different papers, books, So \btPrintAll seems not to be a very good idea :-) Vaguely I remember, that many years ago Herbert Voss, our LaTeX-guru, suggested exporting the document-bibliography at the end and in a second run importing it after after part 1 and part 2. How to manage thi s? Might be a workaround for my wishes would be a part-based bibliography after each part /plus/ a document-bibliography at the end of part 3. Is this possible? Any suggestions? Again thank you very much! bernhard - -- Homepage: https://www.mb-schiekel.de/ GnuPG: http://p80.pool.sks-keyservers.net/ -BEGIN PGP SIGNATURE- iF0EARECAB0WIQR1oo94k6dUHpHERdOxOsCN/2xXCgUCXO0+KwAKCRCxOsCN/2xX ChugAJ9nQfQC9ORXHKUYcsvkGorR0MoizQCgrCu3bqTQJm9t/5tB3hX/2xF2kmo= =0XPy -END PGP SIGNATURE-
Re: bibliography-question
On 5/26/19 3:58 PM, M.B. Schiekel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello LyX-friends, here a stupid question :-) I'm working on an extensive 3-part document: PDF-options: Hyperref-support, backreferences, bibliography-option: Natbib (BibTeX) with bibtet8 with 'multiple bibliographies' no . Now I would like to have a biography at the end of each part - but each time the complete document biography, and not the part dependent biography. Might be this is trivial, but I can't see it. Any hint is wellcome. Thank you very much, bernhard - -- Homepage: https://www.mb-schiekel.de/ GnuPG: http://p80.pool.sks-keyservers.net/ -BEGIN PGP SIGNATURE- iF0EARECAB0WIQR1oo94k6dUHpHERdOxOsCN/2xXCgUCXOrv/AAKCRCxOsCN/2xX Cv3hAKC5jXQ604ruKY+o9m5T9v0WvkDZ6QCcCmPd3LHrD56swhypPBDGytTovNc= =w39r -END PGP SIGNATURE- I assume here that "biography" --> "bibliography". /If/ every entry in the .bib file is cited somewhere (so that you want the full contents of the .bib file in each part), you might try the following: * In the Bibliography section, select "Subdivided bibliography" and set the "Multiple bibliographies" choice to "per part". * In the LaTeX preamble, add the following: "\renewcommand{\btPrintCited}{\btPrintAll}". I've attached a MWE (using one of the built-in databases). Paul multibib.lyx Description: application/lyx
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: Do you know how I get `und' instead of `and' in the citations as well as in the Literaturverzeichnis of a German text? I use \usepackage[round,comma] {natbib} in the preamble and guess I have to change something in the natbib file, but don't know what and how. You need a german bibliography style file (*.bst) or edit a copy of the bst file you're using (search for the string and in the file and replace it by und ). A very recommendable approach to get your own style is to run latex makebst in the console (package custom-bib). Then you can chose the language and other settings interactively. Also cf: http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST Regards, Jürgen.
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: If I add your script to the preamble, I get, however over 100 errors of the type missing \item enclose the redefinition in \makeatletter [...] \makeatother P.S.: KOMA book does not have this bug. because of its captions (Figure 1 Legende legende legende legende legende legende legende against the book style with Figure 1 Legende legende legende legende legende legende legende ) which takes less space No problem: \setcapindent{1em} and because the chapter headers are not hyphenated and take therefore too much space \renewcommand*{\raggedsection}{} KOMA is highly flexible. Almost nothing that can not be achieved. It also has a very good german documentation. Regards, Jürgen Wolfgang
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: Do you know how I get `und' instead of `and' in the citations as well as in the Literaturverzeichnis of a German text? I use \usepackage[round,comma] {natbib} in the preamble and guess I have to change something in the natbib file, but don't know what and how. You need a german bibliography style file (*.bst) or edit a copy of the bst file you're using (search for the string and in the file and replace it by und ). A very recommendable approach to get your own style is to run latex makebst in the console (package custom-bib). Then you can chose the language and other settings interactively. Also cf: http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST Regards, Jürgen.
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: If I add your script to the preamble, I get, however over 100 errors of the type missing \item enclose the redefinition in \makeatletter [...] \makeatother P.S.: KOMA book does not have this bug. because of its captions (Figure 1 Legende legende legende legende legende legende legende against the book style with Figure 1 Legende legende legende legende legende legende legende ) which takes less space No problem: \setcapindent{1em} and because the chapter headers are not hyphenated and take therefore too much space \renewcommand*{\raggedsection}{} KOMA is highly flexible. Almost nothing that can not be achieved. It also has a very good german documentation. Regards, Jürgen Wolfgang
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: > Do you know how I get `und' instead of `and' in the citations as well as in > the Literaturverzeichnis of a German text? I use \usepackage[round,comma] > {natbib} in the preamble and guess I have to change something in the natbib > file, but don't know what and how. You need a german bibliography style file (*.bst) or edit a copy of the bst file you're using (search for the string " and " in the file and replace it by " und "). A very recommendable approach to get your own style is to run "latex makebst" in the console (package custom-bib). Then you can chose the language and other settings interactively. Also cf: http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST Regards, Jürgen.
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: > If I add your script to the preamble, I get, however over 100 errors of the > type > missing \item enclose the redefinition in \makeatletter [...] \makeatother > > P.S.: KOMA book does not have this bug. > > because of its captions > (Figure 1 Legende legende legende > legende legende legende > legende > against the book style with >Figure 1 Legende legende legende >legende legende legende legende ) > which takes less space No problem: \setcapindent{1em} > and because the chapter headers are not hyphenated and take therefore too > much space \renewcommand*{\raggedsection}{} KOMA is highly flexible. Almost nothing that can not be achieved. It also has a very good german documentation. Regards, Jürgen > Wolfgang
Re: bibliography-question 1 and 2
Thanks Jürgen, for your much appreciated help re twocolumn bibliography header and the additional tip: P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de} (package url.sty) for your references, then the URL#s will be broken correctly. If I add your script to the preamble, I get, however over 100 errors of the type missing \item \item[...] that makes 100 errors; please try again \item invalid in math mode you can't use \spacefactor in mathmode you can't use \spacefactor in vertical mode \begin{thebibliography}{59} (last one) Without the new addition to the preample I have no problems. I guess it has to do with some bib-items in my .bib file (which was created by pybliographic); but I am cueless as to the actual cause. I did not use P.S.: KOMA book does not have this bug. because of its captions (Figure 1 Legende legende legende legende legende legende legende against the book style with Figure 1 Legende legende legende legende legende legende legende ) which takes less space and because the chapter headers are not hyphenated and take therefore too much space Wolfgang
Re: bibliography-question 1 and 2
Thanks Jürgen, for your much appreciated help re twocolumn bibliography header and the additional tip: P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de} (package url.sty) for your references, then the URL#s will be broken correctly. If I add your script to the preamble, I get, however over 100 errors of the type missing \item \item[...] that makes 100 errors; please try again \item invalid in math mode you can't use \spacefactor in mathmode you can't use \spacefactor in vertical mode \begin{thebibliography}{59} (last one) Without the new addition to the preample I have no problems. I guess it has to do with some bib-items in my .bib file (which was created by pybliographic); but I am cueless as to the actual cause. I did not use P.S.: KOMA book does not have this bug. because of its captions (Figure 1 Legende legende legende legende legende legende legende against the book style with Figure 1 Legende legende legende legende legende legende legende ) which takes less space and because the chapter headers are not hyphenated and take therefore too much space Wolfgang
Re: bibliography-question 1 and 2
Thanks Jürgen, for your much appreciated help re twocolumn bibliography header and the additional tip: > P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de} > (package url.sty) for your references, then the URL#s will be broken > correctly. If I add your script to the preamble, I get, however over 100 errors of the type missing \item \item[...] that makes 100 errors; please try again \item invalid in math mode you can't use \spacefactor in mathmode you can't use \spacefactor in vertical mode \begin{thebibliography}{59} (last one) Without the new addition to the preample I have no problems. I guess it has to do with some bib-items in my .bib file (which was created by pybliographic); but I am cueless as to the actual cause. I did not use > P.S.: KOMA book does not have this bug. because of its captions (Figure 1 Legende legende legende legende legende legende legende against the book style with Figure 1 Legende legende legende legende legende legende legende ) which takes less space and because the chapter headers are not hyphenated and take therefore too much space Wolfgang
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: Dear Jürgen, sorry for a late reply. I am sending you a lyx testfile plus bib-file which shows the problem with the Bibliography header (takes the header of the last chapter instead) if LAYOUT PAPER twocolumn document is on, but not, if off. I did not put it into the lyx user list, because of its length. Perhaps you could answer in the list again, if it is of interest to the readers. Thanks for your help. AFAICS this seems to be indeed sort of a bug in the book.cls, as soon as twocolumn is selected. The following redefinition of \thebibliography environment fixes it. I don't know if there is some easier solution. Regards, Jürgen P.S.: KOMA book does not have this bug. P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de} (package url.sty) for your references, then the URL#s will be broken correctly. \renewenvironment{thebibliography}[1] {% %% --- THIS IS NEW [EMAIL PROTECTED] [EMAIL PROTECTED] \thispagestyle{plain} \else %% --- \chapter*{\bibname}% \fi [EMAIL PROTECTED] [EMAIL PROTECTED]@[EMAIL PROTECTED] [EMAIL PROTECTED] \leftmargin\labelwidth \advance\leftmargin\labelsep [EMAIL PROTECTED]@code \usecounter{enumiv}% [EMAIL PROTECTED]@empty [EMAIL PROTECTED]@enumiv}}% \sloppy \clubpenalty4000 [EMAIL PROTECTED] \clubpenalty \widowpenalty4000% [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]@warning{Empty `thebibliography' environment}}% \endlist}
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: Dear Jürgen, sorry for a late reply. I am sending you a lyx testfile plus bib-file which shows the problem with the Bibliography header (takes the header of the last chapter instead) if LAYOUT PAPER twocolumn document is on, but not, if off. I did not put it into the lyx user list, because of its length. Perhaps you could answer in the list again, if it is of interest to the readers. Thanks for your help. AFAICS this seems to be indeed sort of a bug in the book.cls, as soon as twocolumn is selected. The following redefinition of \thebibliography environment fixes it. I don't know if there is some easier solution. Regards, Jürgen P.S.: KOMA book does not have this bug. P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de} (package url.sty) for your references, then the URL#s will be broken correctly. \renewenvironment{thebibliography}[1] {% %% --- THIS IS NEW [EMAIL PROTECTED] [EMAIL PROTECTED] \thispagestyle{plain} \else %% --- \chapter*{\bibname}% \fi [EMAIL PROTECTED] [EMAIL PROTECTED]@[EMAIL PROTECTED] [EMAIL PROTECTED] \leftmargin\labelwidth \advance\leftmargin\labelsep [EMAIL PROTECTED]@code \usecounter{enumiv}% [EMAIL PROTECTED]@empty [EMAIL PROTECTED]@enumiv}}% \sloppy \clubpenalty4000 [EMAIL PROTECTED] \clubpenalty \widowpenalty4000% [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]@warning{Empty `thebibliography' environment}}% \endlist}
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: > Dear Jürgen, > sorry for a late reply. I am sending you a lyx testfile plus bib-file which > shows the problem with the Bibliography header (takes the header of the > last chapter instead) if LAYOUT > PAPER >twocolumn document is on, but not, > if off. I did not put it into the lyx user list, because of its length. > Perhaps you could answer in the list again, if it is of interest to the > readers. Thanks for your help. AFAICS this seems to be indeed sort of a bug in the book.cls, as soon as twocolumn is selected. The following redefinition of \thebibliography environment fixes it. I don't know if there is some easier solution. Regards, Jürgen P.S.: KOMA book does not have this bug. P.P.S.: You should use \url{http://bioclox.bot.biologie.uni-tuebingen.de} (package url.sty) for your references, then the URL#s will be broken correctly. \renewenvironment{thebibliography}[1] {% %% ---> THIS IS NEW [EMAIL PROTECTED] [EMAIL PROTECTED] \thispagestyle{plain} \else %% <--- \chapter*{\bibname}% \fi [EMAIL PROTECTED] [EMAIL PROTECTED]@[EMAIL PROTECTED] [EMAIL PROTECTED] \leftmargin\labelwidth \advance\leftmargin\labelsep [EMAIL PROTECTED]@code \usecounter{enumiv}% [EMAIL PROTECTED]@empty [EMAIL PROTECTED]@enumiv}}% \sloppy \clubpenalty4000 [EMAIL PROTECTED] \clubpenalty \widowpenalty4000% [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]@warning{Empty `thebibliography' environment}}% \endlist}
Re: bibliography-question 1 and 2
On Donnerstag 15 Juli 2004 09:11 vormittags, Juergen Spitzmueller wrote: Wolfgang Engelmann wrote: What document class is this? (This does not happen with standard book nor with KOMA book). I use standard book I cannot reproduce the problem with standard book and the settings you described. Jürgen. could this be a question of the version? I am using Lyx 1.3.3 (reminder: 1- how do I avoid getting the header from the last chapter of my book in the bibliography header? I asked this before, but forgot the answer and to note it down. Sorry. I am using in the preamble \usepackage{fancyhdr}\pagestyle{fancyplain} and \AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}} in the German version of the book, but I have the same problem in the English version without this. 2- I get in the German Version Author1 and Author2 instead of Author 1 und Author2 ^ in the Text- and Bibliography citations. I am using \usepackage[round,comma]{natbib} in the preamble Is there a style file which takes care of it?) Wolfgang
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: could this be a question of the version? I am using Lyx 1.3.3 No. This is LaTeX business, and I don't think the book class has been changed. I suspect that you are using a package or something which causes this. Anyway, it is getting hard to help you without an example file. Can you send a minimal example file showing this behaviour? Jürgen.
Re: bibliography-question 1 and 2
On Donnerstag 15 Juli 2004 09:11 vormittags, Juergen Spitzmueller wrote: Wolfgang Engelmann wrote: What document class is this? (This does not happen with standard book nor with KOMA book). I use standard book I cannot reproduce the problem with standard book and the settings you described. Jürgen. could this be a question of the version? I am using Lyx 1.3.3 (reminder: 1- how do I avoid getting the header from the last chapter of my book in the bibliography header? I asked this before, but forgot the answer and to note it down. Sorry. I am using in the preamble \usepackage{fancyhdr}\pagestyle{fancyplain} and \AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}} in the German version of the book, but I have the same problem in the English version without this. 2- I get in the German Version Author1 and Author2 instead of Author 1 und Author2 ^ in the Text- and Bibliography citations. I am using \usepackage[round,comma]{natbib} in the preamble Is there a style file which takes care of it?) Wolfgang
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: could this be a question of the version? I am using Lyx 1.3.3 No. This is LaTeX business, and I don't think the book class has been changed. I suspect that you are using a package or something which causes this. Anyway, it is getting hard to help you without an example file. Can you send a minimal example file showing this behaviour? Jürgen.
Re: bibliography-question 1 and 2
On Donnerstag 15 Juli 2004 09:11 vormittags, Juergen Spitzmueller wrote: > Wolfgang Engelmann wrote: > > > What document class is this? (This does not happen with standard book > > > nor with KOMA book). > > > > I use standard book > > I cannot reproduce the problem with standard book and the settings you > described. > > Jürgen. could this be a question of the version? I am using Lyx 1.3.3 (reminder: 1- how do I avoid getting the header from the last chapter of my book in the bibliography header? I asked this before, but forgot the answer and to note it down. Sorry. I am using in the preamble \usepackage{fancyhdr}\pagestyle{fancyplain} and \AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}} in the German version of the book, but I have the same problem in the English version without this. 2- I get in the German Version Author1 and Author2 instead of Author 1 und Author2 ^ in the Text- and Bibliography citations. I am using \usepackage[round,comma]{natbib} in the preamble Is there a style file which takes care of it?) Wolfgang
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: > could this be a question of the version? I am using Lyx 1.3.3 No. This is LaTeX business, and I don't think the book class has been changed. I suspect that you are using a package or something which causes this. Anyway, it is getting hard to help you without an example file. Can you send a minimal example file showing this behaviour? Jürgen.
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: What document class is this? (This does not happen with standard book nor with KOMA book). I use standard book I cannot reproduce the problem with standard book and the settings you described. Jürgen.
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: What document class is this? (This does not happen with standard book nor with KOMA book). I use standard book I cannot reproduce the problem with standard book and the settings you described. Jürgen.
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: > > What document class is this? (This does not happen with standard book nor > > with KOMA book). > > I use standard book I cannot reproduce the problem with standard book and the settings you described. Jürgen.
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: 1- how do I avoid getting the header from the last chapter of my book in the bibliography header? I asked this before, but forgot the answer and to note it down. Sorry. I am using in the preamble \usepackage{fancyhdr}\pagestyle{fancyplain} and \AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}} in the German version of the book, but I have the same problem in the English version without this. What document class is this? (This does not happen with standard book nor with KOMA book). Probably you have to redefine thebibliography. 2- I get in the German Version Author1 and Author2 instead of Author 1 und Author2 ^ in the Text- and Bibliography citations. I am using \usepackage[round,comma]{natbib} in the preamble Is there a style file which takes care of it? http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST Jürgen. Wolfgang
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: 1- how do I avoid getting the header from the last chapter of my book in the bibliography header? I asked this before, but forgot the answer and to note it down. Sorry. I am using in the preamble \usepackage{fancyhdr}\pagestyle{fancyplain} and \AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}} in the German version of the book, but I have the same problem in the English version without this. What document class is this? (This does not happen with standard book nor with KOMA book). Probably you have to redefine thebibliography. 2- I get in the German Version Author1 and Author2 instead of Author 1 und Author2 ^ in the Text- and Bibliography citations. I am using \usepackage[round,comma]{natbib} in the preamble Is there a style file which takes care of it? http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST Jürgen. Wolfgang
Re: bibliography-question 1 and 2
Wolfgang Engelmann wrote: > 1- > how do I avoid getting the header from the last chapter of my book in the > bibliography header? > I asked this before, but forgot the answer and to note it down. Sorry. > I am using in the preamble > \usepackage{fancyhdr}\pagestyle{fancyplain} > and > \AtBeginDocument{\renwcomand}{\bibname}{Literaturverzeichnis}} > in the German version of the book, but I have the same problem in the > English version without this. What document class is this? (This does not happen with standard book nor with KOMA book). Probably you have to redefine thebibliography. > 2- > I get in the German Version Author1 and Author2 > instead of Author 1 und Author2 > ^ > in the Text- and Bibliography citations. > I am using \usepackage[round,comma]{natbib} > in the preamble > Is there a style file which takes care of it? http://www.dante.de/faq/de-tex-faq/html/makros3.html#DEUTSCH-BST Jürgen. > Wolfgang
Re: Bibliography question
Tuesday 18 March 2003 10:08, skreiv Holger Lillqvist: I am new to lyx, and after a few weeks of use I'm delighted. What an ease to work, compared to word processors of the ordinary kind. Thanks to all lyx contributors. Now my question. Using the bibliography paragraph environment every item is numbered. Is there a way to turn off this numbering feature? I'm not totaly sure that this is what your looking for, but many bibliograpic styles needs to be declared in the preamble to function properly: \usepackage(apalike) or \usepackage(natbib) etc I. -- Ingar Pareliussen pgp0.pgp Description: signature
Re: Bibliography question
From: Ingar Pareliussen [EMAIL PROTECTED] To: Holger Lillqvist [EMAIL PROTECTED] Subject: Re: Bibliography question Date: Tue, 18 Mar 2003 14:36:44 +0100 Cc: [EMAIL PROTECTED] Tuesday 18 March 2003 10:08, skreiv Holger Lillqvist: I am new to lyx, and after a few weeks of use I'm delighted. What an ease to work, compared to word processors of the ordinary kind. Thanks to all lyx contributors. Now my question. Using the bibliography paragraph environment every item is numbered. Is there a way to turn off this numbering feature? I'm not totaly sure that this is what your looking for, but many bibliograpic styles needs to be declared in the preamble to function properly: \usepackage(apalike) or \usepackage(natbib) etc I. -- Ingar Pareliussen This makes sense if you use bibtex, I guess. I don't know a situation where it is better to type in directly the biblio info rather than creating a database, but this is not the point here. I don't see any other way than hacking the bibliography environment described in the class to wipe out the numbers. I guess also that it is needed in a situation where no citation command is issued, otherwise I don't see what can be printed at the ref point. Maybe natbib alloes to piut nothing at all ? -- Jean-Pierre -- Jean-Pierre
Re: Bibliography question
On Mar 18, Jean-Pierre.Chretien [EMAIL PROTECTED] wrote: From: Ingar Pareliussen [EMAIL PROTECTED] I'm not totaly sure that this is what your looking for, but many bibliograpic styles needs to be declared in the preamble to function properly: \usepackage(apalike) or \usepackage(natbib) etc I. -- Ingar Pareliussen This makes sense if you use bibtex, I guess. I don't know a situation where it is better to type in directly the biblio info rather than creating a database, but this is not the point here. Thanks for the suggestions, For future work I shall try out bibtex and these packages. I don't see any other way than hacking the bibliography environment described in the class to wipe out the numbers. Per email I got a suggestion which solves my problem with the document at hand: Try [EMAIL PROTECTED] {} in the preamble. Thanks again. Holger
Re: Bibliography question
Tuesday 18 March 2003 10:08, skreiv Holger Lillqvist: I am new to lyx, and after a few weeks of use I'm delighted. What an ease to work, compared to word processors of the ordinary kind. Thanks to all lyx contributors. Now my question. Using the bibliography paragraph environment every item is numbered. Is there a way to turn off this numbering feature? I'm not totaly sure that this is what your looking for, but many bibliograpic styles needs to be declared in the preamble to function properly: \usepackage(apalike) or \usepackage(natbib) etc I. -- Ingar Pareliussen pgp0.pgp Description: signature
Re: Bibliography question
From: Ingar Pareliussen [EMAIL PROTECTED] To: Holger Lillqvist [EMAIL PROTECTED] Subject: Re: Bibliography question Date: Tue, 18 Mar 2003 14:36:44 +0100 Cc: [EMAIL PROTECTED] Tuesday 18 March 2003 10:08, skreiv Holger Lillqvist: I am new to lyx, and after a few weeks of use I'm delighted. What an ease to work, compared to word processors of the ordinary kind. Thanks to all lyx contributors. Now my question. Using the bibliography paragraph environment every item is numbered. Is there a way to turn off this numbering feature? I'm not totaly sure that this is what your looking for, but many bibliograpic styles needs to be declared in the preamble to function properly: \usepackage(apalike) or \usepackage(natbib) etc I. -- Ingar Pareliussen This makes sense if you use bibtex, I guess. I don't know a situation where it is better to type in directly the biblio info rather than creating a database, but this is not the point here. I don't see any other way than hacking the bibliography environment described in the class to wipe out the numbers. I guess also that it is needed in a situation where no citation command is issued, otherwise I don't see what can be printed at the ref point. Maybe natbib alloes to piut nothing at all ? -- Jean-Pierre -- Jean-Pierre
Re: Bibliography question
On Mar 18, Jean-Pierre.Chretien [EMAIL PROTECTED] wrote: From: Ingar Pareliussen [EMAIL PROTECTED] I'm not totaly sure that this is what your looking for, but many bibliograpic styles needs to be declared in the preamble to function properly: \usepackage(apalike) or \usepackage(natbib) etc I. -- Ingar Pareliussen This makes sense if you use bibtex, I guess. I don't know a situation where it is better to type in directly the biblio info rather than creating a database, but this is not the point here. Thanks for the suggestions, For future work I shall try out bibtex and these packages. I don't see any other way than hacking the bibliography environment described in the class to wipe out the numbers. Per email I got a suggestion which solves my problem with the document at hand: Try [EMAIL PROTECTED] {} in the preamble. Thanks again. Holger
Re: Bibliography question
Tuesday 18 March 2003 10:08, skreiv Holger Lillqvist: > I am new to lyx, and after a few weeks of use I'm delighted. What an > ease to work, compared to word processors of the ordinary kind. Thanks > to all lyx contributors. > > Now my question. Using the bibliography paragraph environment every > item is numbered. Is there a way to turn off this numbering feature? I'm not totaly sure that this is what your looking for, but many bibliograpic styles needs to be declared in the preamble to function properly: \usepackage(apalike) or \usepackage(natbib) etc I. -- Ingar Pareliussen pgp0.pgp Description: signature
Re: Bibliography question
>>From: Ingar Pareliussen <[EMAIL PROTECTED]> >>To: Holger Lillqvist <[EMAIL PROTECTED]> >>Subject: Re: Bibliography question >>Date: Tue, 18 Mar 2003 14:36:44 +0100 >>Cc: [EMAIL PROTECTED] >> >>Tuesday 18 March 2003 10:08, skreiv Holger Lillqvist: >>> I am new to lyx, and after a few weeks of use I'm delighted. What an >>> ease to work, compared to word processors of the ordinary kind. Thanks >>> to all lyx contributors. >>> >>> Now my question. Using the bibliography paragraph environment every >>> item is numbered. Is there a way to turn off this numbering feature? >> >>I'm not totaly sure that this is what your looking for, but many bibliograpic >>styles needs to be declared in the preamble to function properly: >> >>\usepackage(apalike) >>or >>\usepackage(natbib) >>etc >> >>I. >>-- >>Ingar Pareliussen This makes sense if you use bibtex, I guess. I don't know a situation where it is better to type in directly the biblio info rather than creating a database, but this is not the point here. I don't see any other way than hacking the bibliography environment described in the class to wipe out the numbers. I guess also that it is needed in a situation where no citation command is issued, otherwise I don't see what can be printed at the ref point. Maybe natbib alloes to piut nothing at all ? -- Jean-Pierre -- Jean-Pierre
Re: Bibliography question
On Mar 18, Jean-Pierre.Chretien <[EMAIL PROTECTED]> wrote: > > >>From: Ingar Pareliussen <[EMAIL PROTECTED]> > >>I'm not totaly sure that this is what your looking for, but many bibliograpic > >>styles needs to be declared in the preamble to function properly: > >> > >>\usepackage(apalike) > >>or > >>\usepackage(natbib) > >>etc > >> > >>I. > >>-- > >>Ingar Pareliussen > > This makes sense if you use bibtex, I guess. > I don't know a situation where it is better to type in directly > the biblio info rather than creating a database, but this is not the point > here. Thanks for the suggestions, For future work I shall try out bibtex and these packages. > I don't see any other way than hacking the bibliography environment > described in the class to wipe out the numbers. Per email I got a suggestion which solves my problem with the document at hand: > Try [EMAIL PROTECTED] {} in the preamble. Thanks again. Holger
Re: Bibliography question
On Sun, Jan 21, 2001 at 01:05:51AM +0200, Dekel Tsur wrote: In previous versions, I had the option to type in the index of the citation (assuming that I know it) in sub-files. LaTex would find it and create the correct citation reference. In "Insert Citation Reference" of 1.1.6, I can't type anything in (it should be taken from the existing list). My question is: should I use Tex to insert citations or there is another way to do this? Copy the bibtex inset from the master file, and paste it into each of the included files, changing the paragraph layout to comment. Another option is to type 'M-x citation-insert the citation key' (in fact, instead of typing citation-insert, you can type ci and press Tab).
Re: Bibliography question
On Sun, Jan 21, 2001 at 01:05:51AM +0200, Dekel Tsur wrote: In previous versions, I had the option to type in the index of the citation (assuming that I know it) in sub-files. LaTex would find it and create the correct citation reference. In "Insert Citation Reference" of 1.1.6, I can't type anything in (it should be taken from the existing list). My question is: should I use Tex to insert citations or there is another way to do this? Copy the bibtex inset from the master file, and paste it into each of the included files, changing the paragraph layout to comment. Another option is to type 'M-x citation-insert the citation key' (in fact, instead of typing citation-insert, you can type ci and press Tab).
Re: Bibliography question
On Sun, Jan 21, 2001 at 01:05:51AM +0200, Dekel Tsur wrote: > > In previous versions, I had the option to type in the index of the citation > > (assuming that I know it) in sub-files. LaTex would find it and create the > > correct citation reference. In "Insert > Citation Reference" of 1.1.6, I can't > > type anything in (it should be taken from the existing list). My question is: > > should I use Tex to insert citations or there is another way to do this? > > Copy the bibtex inset from the master file, and paste it into each of the > included files, changing the paragraph layout to comment. Another option is to type 'M-x citation-insert ' (in fact, instead of typing citation-insert, you can type ci and press Tab).
Re: Bibliography question
On Fri, Jan 19, 2001 at 11:01:13AM -0800, Mohammad Reza Danesh wrote: I've recently upgraded my Lyx to 1.1.6 and I have the following problem with inserting bibliography citations. Let's say I have a master document with several chapters as sub-files inserted to it. I put the BibTex generated references in the master document. Now in sub-files, when I want to add a citation, I can't since the BibTex references are inserted in the master doc and aren't viewable by sub-files (all of the files are open). In previous versions, I had the option to type in the index of the citation (assuming that I know it) in sub-files. LaTex would find it and create the correct citation reference. In "Insert Citation Reference" of 1.1.6, I can't type anything in (it should be taken from the existing list). My question is: should I use Tex to insert citations or there is another way to do this? Copy the bibtex inset from the master file, and paste it into each of the included files, changing the paragraph layout to comment.
Re: Bibliography question
On Fri, Jan 19, 2001 at 11:01:13AM -0800, Mohammad Reza Danesh wrote: I've recently upgraded my Lyx to 1.1.6 and I have the following problem with inserting bibliography citations. Let's say I have a master document with several chapters as sub-files inserted to it. I put the BibTex generated references in the master document. Now in sub-files, when I want to add a citation, I can't since the BibTex references are inserted in the master doc and aren't viewable by sub-files (all of the files are open). In previous versions, I had the option to type in the index of the citation (assuming that I know it) in sub-files. LaTex would find it and create the correct citation reference. In "Insert Citation Reference" of 1.1.6, I can't type anything in (it should be taken from the existing list). My question is: should I use Tex to insert citations or there is another way to do this? Copy the bibtex inset from the master file, and paste it into each of the included files, changing the paragraph layout to comment.
Re: Bibliography question
On Fri, Jan 19, 2001 at 11:01:13AM -0800, Mohammad Reza Danesh wrote: > I've recently upgraded my Lyx to 1.1.6 and I have the following problem with > inserting bibliography citations. > > Let's say I have a master document with several chapters as sub-files inserted > to it. I put the BibTex generated references in the master document. Now in > sub-files, when I want to add a citation, I can't since the BibTex references > are inserted in the master doc and aren't viewable by sub-files (all of the > files are open). > > In previous versions, I had the option to type in the index of the citation > (assuming that I know it) in sub-files. LaTex would find it and create the > correct citation reference. In "Insert > Citation Reference" of 1.1.6, I can't > type anything in (it should be taken from the existing list). My question is: > should I use Tex to insert citations or there is another way to do this? Copy the bibtex inset from the master file, and paste it into each of the included files, changing the paragraph layout to comment.
Re: bibliography question
With the "Article" document class, the bibliography takes the largest label as indentation like such: \begin{thebibliography}{Glover and Laguna, 1997} I just want that: \begin{thebibliography}{} How do I do that without going into the Tex file to fix it and yet get all the nice benefits of Lyx? try \renewcommand\thebibliography[1]{} in latex preamble nope, that does not work. Shouldn't it be \renewenvironment? But even that gives errors. -- myriam Go Proverb: The semeai where only one player has an eye is a fight over nothing.
Re: bibliography question
With the "Article" document class, the bibliography takes the largest label as indentation like such: \begin{thebibliography}{Glover and Laguna, 1997} I just want that: \begin{thebibliography}{} How do I do that without going into the Tex file to fix it and yet get all the nice benefits of Lyx? try \renewcommand\thebibliography[1]{} in latex preamble nope, that does not work. Shouldn't it be \renewenvironment? But even that gives errors. -- myriam Go Proverb: The semeai where only one player has an eye is a fight over nothing.
Re: bibliography question
> > With the "Article" document class, the bibliography takes the largest > > label as indentation like such: > > > > \begin{thebibliography}{Glover and Laguna, 1997} > > > > I just want that: > > \begin{thebibliography}{} > > > > How do I do that without going into the Tex file to fix it and yet get > > all the nice benefits of Lyx? > > try > \renewcommand\thebibliography[1]{} > in latex preamble > nope, that does not work. Shouldn't it be \renewenvironment? But even that gives errors. -- myriam Go Proverb: The semeai where only one player has an eye is a fight over nothing.