How do I get apalike (w/natbib) to display URLs in the Bibliography??
Hi, I am working with Lyx 1.6.2 on windows, and I am writing my thesis in the book (KOMA-script) - class. I have chosen natbib (author-year) in Documents settings and loaded the bib-file using apalike since this format seems to work best for me. Everything is working fine, except that I cannot get the Bibliography to display url's. I feel like there should be a simple solution I just can't find - maybe changing the field of urls in the bib-file or something like that...? As an example, my bib-file reads: @www{Hirsch.22010, author = {Hirsch, Barry and Macpherson, David}, year = {2/2010}, title = {{U}nion {M}embership and {C}overage {D}atabase from the {C}{P}{S}}, url = {www.unionstats.com}, urldate = {6/25/2010} } and the Bibliography output is: Hirsch, B. and Macpherson, D. (2/2010). Union Membership and Coverage Database from the CPS. Any ideas, please send. Thank you! Lea
How do I get apalike (w/natbib) to display URLs in the Bibliography??
Hi, I am working with Lyx 1.6.2 on windows, and I am writing my thesis in the book (KOMA-script) - class. I have chosen natbib (author-year) in Documents settings and loaded the bib-file using apalike since this format seems to work best for me. Everything is working fine, except that I cannot get the Bibliography to display url's. I feel like there should be a simple solution I just can't find - maybe changing the field of urls in the bib-file or something like that...? As an example, my bib-file reads: @www{Hirsch.22010, author = {Hirsch, Barry and Macpherson, David}, year = {2/2010}, title = {{U}nion {M}embership and {C}overage {D}atabase from the {C}{P}{S}}, url = {www.unionstats.com}, urldate = {6/25/2010} } and the Bibliography output is: Hirsch, B. and Macpherson, D. (2/2010). Union Membership and Coverage Database from the CPS. Any ideas, please send. Thank you! Lea
How do I get apalike (w/natbib) to display URLs in the Bibliography??
Hi, I am working with Lyx 1.6.2 on windows, and I am writing my thesis in the book (KOMA-script) - class. I have chosen natbib (author-year) in Documents settings and loaded the bib-file using apalike since this format seems to work best for me. Everything is working fine, except that I cannot get the Bibliography to display url's. I feel like there should be a simple solution I just can't find - maybe changing the field of urls in the bib-file or something like that...? As an example, my bib-file reads: @www{Hirsch.22010, author = {Hirsch, Barry and Macpherson, David}, year = {2/2010}, title = {{U}nion {M}embership and {C}overage {D}atabase from the {C}{P}{S}}, url = {www.unionstats.com}, urldate = {6/25/2010} } and the Bibliography output is: Hirsch, B. and Macpherson, D. (2/2010). Union Membership and Coverage Database from the CPS. Any ideas, please send. Thank you! Lea
Re: need in-text citations to line-break!
That was a good suggestion. I went back and checked, and the problem seems to appear in cases with more than one author. In fact, in those cases, instead of just giving Mishel et al.(2009), the in-text citation reads Mishel et al.(2009)Mishel, Bernstein, and Shierholz, which of course is not how it should be. I will see if I can tweek my bib file and experiment with other styles. If you have any other suggestions, please tell me. Thank you! Lea On Fri, Oct 15, 2010 at 2:19 PM, Richard Heck rgh...@comcast.net wrote: On 10/15/2010 04:55 AM, Lea Rennert wrote: Hi, I am working with Lyx 1.6.2 on windows, and I am writing my thesis in the book (KOMA-script) - class. I inserted my citations with Citavi, but I think that should not matter - I have a .bib file for the Bibliography (natbib-style) that I loaded. My bibliography works fine, and lyx cites the right sources, but if the short title for a source is long, then my in-text citations don't do a line break in my output file. Instead, they just continue towards the right side of the page up to the edge (and the rest is lost). What can I do? Of course, this comes at the last minute and my deadline is in two days... I would really appreciate some help on this! Please tell me if you need more information about my file. Does this happen in all cases, or only in some? Have you tried using a different citation style, to see if that makes a difference? Richard
Re: need in-text citations to line-break!
That was a good suggestion. I went back and checked, and the problem seems to appear in cases with more than one author. In fact, in those cases, instead of just giving Mishel et al.(2009), the in-text citation reads Mishel et al.(2009)Mishel, Bernstein, and Shierholz, which of course is not how it should be. I will see if I can tweek my bib file and experiment with other styles. If you have any other suggestions, please tell me. Thank you! Lea On Fri, Oct 15, 2010 at 2:19 PM, Richard Heck rgh...@comcast.net wrote: On 10/15/2010 04:55 AM, Lea Rennert wrote: Hi, I am working with Lyx 1.6.2 on windows, and I am writing my thesis in the book (KOMA-script) - class. I inserted my citations with Citavi, but I think that should not matter - I have a .bib file for the Bibliography (natbib-style) that I loaded. My bibliography works fine, and lyx cites the right sources, but if the short title for a source is long, then my in-text citations don't do a line break in my output file. Instead, they just continue towards the right side of the page up to the edge (and the rest is lost). What can I do? Of course, this comes at the last minute and my deadline is in two days... I would really appreciate some help on this! Please tell me if you need more information about my file. Does this happen in all cases, or only in some? Have you tried using a different citation style, to see if that makes a difference? Richard
Re: need in-text citations to line-break!
That was a good suggestion. I went back and checked, and the problem seems to appear in cases with more than one author. In fact, in those cases, instead of just giving "Mishel et al.(2009)", the in-text citation reads "Mishel et al.(2009)Mishel, Bernstein, and Shierholz", which of course is not how it should be. I will see if I can tweek my bib file and experiment with other styles. If you have any other suggestions, please tell me. Thank you! Lea On Fri, Oct 15, 2010 at 2:19 PM, Richard Heck <rgh...@comcast.net> wrote: > On 10/15/2010 04:55 AM, Lea Rennert wrote: >> >> Hi, >> >> I am working with Lyx 1.6.2 on windows, and I am writing my thesis in >> the book (KOMA-script) - class. I inserted my citations with Citavi, >> but I think that should not matter - I have a .bib file for the >> Bibliography (natbib-style) that I loaded. My bibliography works fine, >> and lyx cites the right sources, but if the short title for a source >> is long, then my in-text citations don't do a line break in my output >> file. Instead, they just continue towards the right side of the page >> up to the edge (and the rest is lost). What can I do? >> >> Of course, this comes at the last minute and my deadline is in two >> days... I would really appreciate some help on this! Please tell me if >> you need more information about my file. >> >> > > Does this happen in all cases, or only in some? Have you tried using a > different citation style, to see if that makes a difference? > > Richard > >
need in-text citations to line-break!
Hi, I am working with Lyx 1.6.2 on windows, and I am writing my thesis in the book (KOMA-script) - class. I inserted my citations with Citavi, but I think that should not matter - I have a .bib file for the Bibliography (natbib-style) that I loaded. My bibliography works fine, and lyx cites the right sources, but if the short title for a source is long, then my in-text citations don't do a line break in my output file. Instead, they just continue towards the right side of the page up to the edge (and the rest is lost). What can I do? Of course, this comes at the last minute and my deadline is in two days... I would really appreciate some help on this! Please tell me if you need more information about my file. Thank you! Lea
need in-text citations to line-break!
Hi, I am working with Lyx 1.6.2 on windows, and I am writing my thesis in the book (KOMA-script) - class. I inserted my citations with Citavi, but I think that should not matter - I have a .bib file for the Bibliography (natbib-style) that I loaded. My bibliography works fine, and lyx cites the right sources, but if the short title for a source is long, then my in-text citations don't do a line break in my output file. Instead, they just continue towards the right side of the page up to the edge (and the rest is lost). What can I do? Of course, this comes at the last minute and my deadline is in two days... I would really appreciate some help on this! Please tell me if you need more information about my file. Thank you! Lea
need in-text citations to line-break!
Hi, I am working with Lyx 1.6.2 on windows, and I am writing my thesis in the book (KOMA-script) - class. I inserted my citations with Citavi, but I think that should not matter - I have a .bib file for the Bibliography (natbib-style) that I loaded. My bibliography works fine, and lyx cites the right sources, but if the short title for a source is long, then my in-text citations don't do a line break in my output file. Instead, they just continue towards the right side of the page up to the edge (and the rest is lost). What can I do? Of course, this comes at the last minute and my deadline is in two days... I would really appreciate some help on this! Please tell me if you need more information about my file. Thank you! Lea
Problem with headings
Hi, I am working with Lyx 1.6.2 on windows, and I am writing my thesis in the book (KOMA-script) - class. It is a multi-part document. I wanted to use the headings style fancy (Document - Settings... - Page Layout), and got weird results: On the top left it states the right chapter (as I wanted), but on the top right it always inserts the word Contents. If I use the headings style plain, it inserts only the word Contents on the top, all throughout the document. (I inserted my TOC simply through the menu function, and have no other problems with it.) I am quite confused. Does anybody know why it might be doing that, and - mainly :-) - how I could fix it? I would be happy just to have the word contents deleted from my headings. Thank you! LR
Problem with headings
Hi, I am working with Lyx 1.6.2 on windows, and I am writing my thesis in the book (KOMA-script) - class. It is a multi-part document. I wanted to use the headings style fancy (Document - Settings... - Page Layout), and got weird results: On the top left it states the right chapter (as I wanted), but on the top right it always inserts the word Contents. If I use the headings style plain, it inserts only the word Contents on the top, all throughout the document. (I inserted my TOC simply through the menu function, and have no other problems with it.) I am quite confused. Does anybody know why it might be doing that, and - mainly :-) - how I could fix it? I would be happy just to have the word contents deleted from my headings. Thank you! LR
Problem with headings
Hi, I am working with Lyx 1.6.2 on windows, and I am writing my thesis in the book (KOMA-script) - class. It is a multi-part document. I wanted to use the headings style "fancy" (Document -> Settings... -> Page Layout), and got weird results: On the top left it states the right chapter (as I wanted), but on the top right it always inserts the word "Contents". If I use the headings style "plain", it inserts only the word "Contents" on the top, all throughout the document. (I inserted my TOC simply through the menu function, and have no other problems with it.) I am quite confused. Does anybody know why it might be doing that, and - mainly :-) - how I could fix it? I would be happy just to have the word "contents" deleted from my headings. Thank you! LR
Re: Problem with Bibliography author-year style in document class book (KOMA-script)
thank you very much for your reply! what style did you choose for the bibliography itself? (when you right click on BibTeX Generated Bibliography - Settings... to choose the bib-file and the citation style from the list) I ask because, unfortunately, the preamble produced two error messages for me (see below). but maybe it depends on what corresponding style you choose? (I did choose natbib in Document - Settings - Bibliography...) The error messages: Undefined control sequence. \bibpunct {(}{)}{,}{a}{,}{,} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. LaTeX Error: Missing \begin{document}. \bibpunct{( }{)}{,}{a}{,}{,} You're in trouble here. Try typing return to proceed. If that doesn't work, type X return to quit. 2009/6/26 李猛 albertlee...@gmail.com: The solution works for me. See http://wiki.lyx.org/LyX/HumanitiesLyX Using Natbib To set up LyX to use natbib, go to Document→Settings→Bibliography and check natbib. Add the following line to your LaTeX preamble: \bibpunct{(}{)}{,}{a}{,}{,} This specifies in-text punctuation options for citations, i.e., Author (Year), commas between citations, and so on. See the natbib documentation for details. -- Albert Lab of Complex System and Artificial Intelligence, Institute of Automation,Chinese Academy of Sciences(CASIA) Beijing, 100190,P.R.CHINA
Re: Problem with Bibliography author-year style in document class book (KOMA-script)
thank you! In the meantime, I fixed some of my problems and I'm pretty happy with the results. - part of my problem apparently was a bad bib-file, which I fixed now. - I found a good solution for deleting the short titles from my reference list: \renewcomma...@biblabel[1]{} in the LateX preamble did the trick. I found the suggestion here: http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=bibtex/bibtex#nolabel - I did manage to change the square brackets around the citations in the text to round ones with: \renewcomman...@cite}[2]{({#1...@tempswa , #2\fi})} in the preamble I am still looking for a way to get rid of the brackets around the year in my citations. Right now, they look like this: (Talos(2008)), and I want them to look like (Talos 2008). so, if anybody has suggestions, that would be great! apart from that though, I'm very happy with the results for now. 2009/7/1 李猛 albertlee...@gmail.com: I chose the elsarticle-harv and changed every citation using formatting -citation style in document. can you please provide a _small_ LyX example file to be able to reproduce the problem? 2009/7/1 Lea Rennert lea.renn...@gmail.com thank you very much for your reply! what style did you choose for the bibliography itself? (when you right click on BibTeX Generated Bibliography - Settings... to choose the bib-file and the citation style from the list) I ask because, unfortunately, the preamble produced two error messages for me (see below). but maybe it depends on what corresponding style you choose? (I did choose natbib in Document - Settings - Bibliography...) The error messages: Undefined control sequence. \bibpunct {(}{)}{,}{a}{,}{,} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. LaTeX Error: Missing \begin{document}. \bibpunct{( }{)}{,}{a}{,}{,} You're in trouble here. Try typing return to proceed. If that doesn't work, type X return to quit. 2009/6/26 李猛 albertlee...@gmail.com: The solution works for me. See http://wiki.lyx.org/LyX/HumanitiesLyX Using Natbib To set up LyX to use natbib, go to Document→Settings→Bibliography and check natbib. Add the following line to your LaTeX preamble: \bibpunct{(}{)}{,}{a}{,}{,} This specifies in-text punctuation options for citations, i.e., Author (Year), commas between citations, and so on. See the natbib documentation for details. -- Albert Lab of Complex System and Artificial Intelligence, Institute of Automation,Chinese Academy of Sciences(CASIA) Beijing, 100190,P.R.CHINA -- Albert Lab of Complex System and Artificial Intelligence, Institute of Automation,Chinese Academy of Sciences(CASIA) Beijing, 100190,P.R.CHINA
Re: Problem with Bibliography author-year style in document class book (KOMA-script)
thank you very much for your reply! what style did you choose for the bibliography itself? (when you right click on BibTeX Generated Bibliography - Settings... to choose the bib-file and the citation style from the list) I ask because, unfortunately, the preamble produced two error messages for me (see below). but maybe it depends on what corresponding style you choose? (I did choose natbib in Document - Settings - Bibliography...) The error messages: Undefined control sequence. \bibpunct {(}{)}{,}{a}{,}{,} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. LaTeX Error: Missing \begin{document}. \bibpunct{( }{)}{,}{a}{,}{,} You're in trouble here. Try typing return to proceed. If that doesn't work, type X return to quit. 2009/6/26 李猛 albertlee...@gmail.com: The solution works for me. See http://wiki.lyx.org/LyX/HumanitiesLyX Using Natbib To set up LyX to use natbib, go to Document→Settings→Bibliography and check natbib. Add the following line to your LaTeX preamble: \bibpunct{(}{)}{,}{a}{,}{,} This specifies in-text punctuation options for citations, i.e., Author (Year), commas between citations, and so on. See the natbib documentation for details. -- Albert Lab of Complex System and Artificial Intelligence, Institute of Automation,Chinese Academy of Sciences(CASIA) Beijing, 100190,P.R.CHINA
Re: Problem with Bibliography author-year style in document class book (KOMA-script)
thank you! In the meantime, I fixed some of my problems and I'm pretty happy with the results. - part of my problem apparently was a bad bib-file, which I fixed now. - I found a good solution for deleting the short titles from my reference list: \renewcomma...@biblabel[1]{} in the LateX preamble did the trick. I found the suggestion here: http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=bibtex/bibtex#nolabel - I did manage to change the square brackets around the citations in the text to round ones with: \renewcomman...@cite}[2]{({#1...@tempswa , #2\fi})} in the preamble I am still looking for a way to get rid of the brackets around the year in my citations. Right now, they look like this: (Talos(2008)), and I want them to look like (Talos 2008). so, if anybody has suggestions, that would be great! apart from that though, I'm very happy with the results for now. 2009/7/1 李猛 albertlee...@gmail.com: I chose the elsarticle-harv and changed every citation using formatting -citation style in document. can you please provide a _small_ LyX example file to be able to reproduce the problem? 2009/7/1 Lea Rennert lea.renn...@gmail.com thank you very much for your reply! what style did you choose for the bibliography itself? (when you right click on BibTeX Generated Bibliography - Settings... to choose the bib-file and the citation style from the list) I ask because, unfortunately, the preamble produced two error messages for me (see below). but maybe it depends on what corresponding style you choose? (I did choose natbib in Document - Settings - Bibliography...) The error messages: Undefined control sequence. \bibpunct {(}{)}{,}{a}{,}{,} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. LaTeX Error: Missing \begin{document}. \bibpunct{( }{)}{,}{a}{,}{,} You're in trouble here. Try typing return to proceed. If that doesn't work, type X return to quit. 2009/6/26 李猛 albertlee...@gmail.com: The solution works for me. See http://wiki.lyx.org/LyX/HumanitiesLyX Using Natbib To set up LyX to use natbib, go to Document→Settings→Bibliography and check natbib. Add the following line to your LaTeX preamble: \bibpunct{(}{)}{,}{a}{,}{,} This specifies in-text punctuation options for citations, i.e., Author (Year), commas between citations, and so on. See the natbib documentation for details. -- Albert Lab of Complex System and Artificial Intelligence, Institute of Automation,Chinese Academy of Sciences(CASIA) Beijing, 100190,P.R.CHINA -- Albert Lab of Complex System and Artificial Intelligence, Institute of Automation,Chinese Academy of Sciences(CASIA) Beijing, 100190,P.R.CHINA
Re: Problem with Bibliography author-year style in document class "book (KOMA-script)
thank you very much for your reply! what style did you choose for the bibliography itself? (when you right click on "BibTeX Generated Bibliography" -> Settings... to choose the bib-file and the citation style from the list) I ask because, unfortunately, the preamble produced two error messages for me (see below). but maybe it depends on what corresponding style you choose? (I did choose natbib in Document -> Settings -> Bibliography...) The error messages: Undefined control sequence. \bibpunct {(}{)}{,}{a}{,}{,} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. LaTeX Error: Missing \begin{document}. \bibpunct{( }{)}{,}{a}{,}{,} You're in trouble here. Try typingto proceed. If that doesn't work, type X to quit. 2009/6/26 李猛: > The solution works for me. > > See http://wiki.lyx.org/LyX/HumanitiesLyX > > Using Natbib > > To set up LyX to use natbib, go to Document→Settings→Bibliography and check > natbib. > > Add the following line to your LaTeX preamble: > > \bibpunct{(}{)}{,}{a}{,}{,} > > This specifies in-text punctuation options for citations, i.e., Author > (Year), commas between citations, and so on. See the natbib documentation > for details. > > -- > Albert > Lab of Complex System and Artificial Intelligence, > Institute of Automation,Chinese Academy of Sciences(CASIA) > Beijing, 100190,P.R.CHINA > > >
Re: Problem with Bibliography author-year style in document class "book (KOMA-script)
thank you! In the meantime, I fixed some of my problems and I'm pretty happy with the results. - part of my problem apparently was a bad bib-file, which I fixed now. - I found a good solution for deleting the short titles from my reference list: \renewcomma...@biblabel[1]{} in the LateX preamble did the trick. I found the suggestion here: http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=bibtex/bibtex#nolabel - I did manage to change the square brackets around the citations in the text to round ones with: \renewcomman...@cite}[2]{({#1...@tempswa , #2\fi})} in the preamble I am still looking for a way to get rid of the brackets around the year in my citations. Right now, they look like this: (Talos(2008)), and I want them to look like (Talos 2008). so, if anybody has suggestions, that would be great! apart from that though, I'm very happy with the results for now. 2009/7/1 李猛 <albertlee...@gmail.com>: > I chose the elsarticle-harv and changed every citation using formatting > ->citation style in document. > can you please provide a _small_ LyX example file to be able to reproduce > the problem? > > > 2009/7/1 Lea Rennert <lea.renn...@gmail.com> >> >> thank you very much for your reply! >> what style did you choose for the bibliography itself? (when you right >> click on "BibTeX Generated Bibliography" -> Settings... to choose the >> bib-file and the citation style from the list) >> >> I ask because, unfortunately, the preamble produced two error messages >> for me (see below). but maybe it depends on what corresponding style >> you choose? (I did choose natbib in Document -> Settings -> >> Bibliography...) >> >> The error messages: >> >> Undefined control sequence. >> \bibpunct >> {(}{)}{,}{a}{,}{,} >> The control sequence at the end of the top line >> of your error message was never \def'ed. If you have >> misspelled it (e.g., `\hobx'), type `I' and the correct >> spelling (e.g., `I\hbox'). Otherwise just continue, >> and I'll forget about whatever was undefined. >> >> LaTeX Error: Missing \begin{document}. >> \bibpunct{( >>}{)}{,}{a}{,}{,} >> You're in trouble here. Try typingto proceed. >> If that doesn't work, type X to quit. >> >> >> >> >> 2009/6/26 李猛 <albertlee...@gmail.com>: >> > The solution works for me. >> > >> > See http://wiki.lyx.org/LyX/HumanitiesLyX >> > >> > Using Natbib >> > >> > To set up LyX to use natbib, go to Document→Settings→Bibliography and >> > check >> > natbib. >> > >> > Add the following line to your LaTeX preamble: >> > >> > \bibpunct{(}{)}{,}{a}{,}{,} >> > >> > This specifies in-text punctuation options for citations, i.e., Author >> > (Year), commas between citations, and so on. See the natbib >> > documentation >> > for details. >> > >> > -- >> > Albert >> > Lab of Complex System and Artificial Intelligence, >> > Institute of Automation,Chinese Academy of Sciences(CASIA) >> > Beijing, 100190,P.R.CHINA >> > >> > >> > > > > > -- > Albert > Lab of Complex System and Artificial Intelligence, > Institute of Automation,Chinese Academy of Sciences(CASIA) > Beijing, 100190,P.R.CHINA > > >
Problem with Bibliography author-year style in document class book (KOMA-script)
Hi, I am writing my thesis in the book (KOMA-script) - class, and need my citations in author-year style in the text (e.g., xxx (Freud 1928, 15) xxx), and sorted by author (not numbered) in the bibliography. I am maintaining my literature-database in citavi, from where I can export the references into .bib documents. I am working with Lyx 1.6.2 on windows, and I did not use a bibtex-editor or anything like that. In Document Settings Bibliography I chose natbib with author-year style. I inserted the Bibliography through Insert List/TOC..., where I uploaded my .bib-file. When I choose the style plain, creating a pdf works without problems, but the Bibliography shows up using numbers, both in the Text - e.g.: [2, 192] - and in the Bibliography, which is not what I want. All the other styles I've tried (natbib, plainnat, apacite, ...) produce various error messages when I create a PDF, and in the PDF the Bibliography is all garbled up (Authors' names appear several times, the German Umlaut-Letters like ö/ä/ü are not printed, formatting is messed up, etc.). I have been looking for a solution for hours now, and I am just not sure where my problem lies or what to do next. Should I try changing the document settings in Lyx (in the Preamble, for example)? Or do I need a program to edit the bib-file? Which program would be easy to use on windows? Or could the problem be that my .bib-file is not configured right? I hope for someone with more experience it is easier to tell where I went wrong... :-) Thank you so much for your help! Lea
Re: Problem with Bibliography author-year style in document class book (KOMA-script)
Thank you! I fixed my bib-file (it did miss a year!), so that was certainly good advice. I also downloaded some additional packages through Miktex and tried out some other citation styles. Some of them work (such as apalike or plain), but the ones I would need don't. The citation styles that don't work all give me a lot of error messages saying Undefined control sequence. and the error descriptions look something like this (this one came when I used the style chicago): ...r{Aiginger}{Aiginger}{2007}]{Aiginger.2007} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. I do not know why the name of the author (Aiginger) is repeated so often, that is not the case in my bib-file. In other error messages, symbols like % suddenly appear in the text where there are non in the bibtex file. Does anybody know what the problem might be? I tried different encodings when I exported my references from citavi to bibtex (UTF-8, US-ASCII, Western European (ISO), ...) but nothing changed. Is there a specific encoding I should use? Thank you! Lea On Mon, Jun 15, 2009 at 8:07 PM, rgheckrgh...@bobjweil.com wrote: Lea Rennert wrote: In Document Settings Bibliography I chose natbib with author-year style. I inserted the Bibliography through Insert List/TOC..., where I uploaded my .bib-file. When I choose the style plain, creating a pdf works without problems, but the Bibliography shows up using numbers, both in the Text - e.g.: [2, 192] - and in the Bibliography, which is not what I want. This is almost always due to some sort of error in your bib file. A missing year in an entry, for example, will force BibTeX to use numerical citations rather than author-year citations. All the other styles I've tried (natbib, plainnat, apacite, ...) produce various error messages when I create a PDF, and in the PDF the Bibliography is all garbled up (Authors' names appear several times, the German Umlaut-Letters like ö/ä/ü are not printed, formatting is messed up, etc.). If these are written with umlauts in the bib file, that also could cause a problem. It depends very much upon encoding issues and the like. I have been looking for a solution for hours now, and I am just not sure where my problem lies or what to do next. Should I try changing the document settings in Lyx (in the Preamble, for example)? Or do I need a program to edit the bib-file? Which program would be easy to use on windows? Or could the problem be that my .bib-file is not configured right? A bib file is just a text file, so you can open it in notepad or whatever. But you might want to use something like JabRef, which will give you a nice interface to the file. Richard
Problem with Bibliography author-year style in document class book (KOMA-script)
Hi, I am writing my thesis in the book (KOMA-script) - class, and need my citations in author-year style in the text (e.g., xxx (Freud 1928, 15) xxx), and sorted by author (not numbered) in the bibliography. I am maintaining my literature-database in citavi, from where I can export the references into .bib documents. I am working with Lyx 1.6.2 on windows, and I did not use a bibtex-editor or anything like that. In Document Settings Bibliography I chose natbib with author-year style. I inserted the Bibliography through Insert List/TOC..., where I uploaded my .bib-file. When I choose the style plain, creating a pdf works without problems, but the Bibliography shows up using numbers, both in the Text - e.g.: [2, 192] - and in the Bibliography, which is not what I want. All the other styles I've tried (natbib, plainnat, apacite, ...) produce various error messages when I create a PDF, and in the PDF the Bibliography is all garbled up (Authors' names appear several times, the German Umlaut-Letters like ö/ä/ü are not printed, formatting is messed up, etc.). I have been looking for a solution for hours now, and I am just not sure where my problem lies or what to do next. Should I try changing the document settings in Lyx (in the Preamble, for example)? Or do I need a program to edit the bib-file? Which program would be easy to use on windows? Or could the problem be that my .bib-file is not configured right? I hope for someone with more experience it is easier to tell where I went wrong... :-) Thank you so much for your help! Lea
Re: Problem with Bibliography author-year style in document class book (KOMA-script)
Thank you! I fixed my bib-file (it did miss a year!), so that was certainly good advice. I also downloaded some additional packages through Miktex and tried out some other citation styles. Some of them work (such as apalike or plain), but the ones I would need don't. The citation styles that don't work all give me a lot of error messages saying Undefined control sequence. and the error descriptions look something like this (this one came when I used the style chicago): ...r{Aiginger}{Aiginger}{2007}]{Aiginger.2007} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. I do not know why the name of the author (Aiginger) is repeated so often, that is not the case in my bib-file. In other error messages, symbols like % suddenly appear in the text where there are non in the bibtex file. Does anybody know what the problem might be? I tried different encodings when I exported my references from citavi to bibtex (UTF-8, US-ASCII, Western European (ISO), ...) but nothing changed. Is there a specific encoding I should use? Thank you! Lea On Mon, Jun 15, 2009 at 8:07 PM, rgheckrgh...@bobjweil.com wrote: Lea Rennert wrote: In Document Settings Bibliography I chose natbib with author-year style. I inserted the Bibliography through Insert List/TOC..., where I uploaded my .bib-file. When I choose the style plain, creating a pdf works without problems, but the Bibliography shows up using numbers, both in the Text - e.g.: [2, 192] - and in the Bibliography, which is not what I want. This is almost always due to some sort of error in your bib file. A missing year in an entry, for example, will force BibTeX to use numerical citations rather than author-year citations. All the other styles I've tried (natbib, plainnat, apacite, ...) produce various error messages when I create a PDF, and in the PDF the Bibliography is all garbled up (Authors' names appear several times, the German Umlaut-Letters like ö/ä/ü are not printed, formatting is messed up, etc.). If these are written with umlauts in the bib file, that also could cause a problem. It depends very much upon encoding issues and the like. I have been looking for a solution for hours now, and I am just not sure where my problem lies or what to do next. Should I try changing the document settings in Lyx (in the Preamble, for example)? Or do I need a program to edit the bib-file? Which program would be easy to use on windows? Or could the problem be that my .bib-file is not configured right? A bib file is just a text file, so you can open it in notepad or whatever. But you might want to use something like JabRef, which will give you a nice interface to the file. Richard
Problem with Bibliography author-year style in document class "book (KOMA-script)"
Hi, I am writing my thesis in the book (KOMA-script) - class, and need my citations in author-year style in the text (e.g., xxx (Freud 1928, 15) xxx), and sorted by author (not numbered) in the bibliography. I am maintaining my literature-database in citavi, from where I can export the references into .bib documents. I am working with Lyx 1.6.2 on windows, and I did not use a bibtex-editor or anything like that. In Document > Settings > Bibliography I chose natbib with author-year style. I inserted the Bibliography through Insert > List/TOC..., where I uploaded my .bib-file. When I choose the style "plain", creating a pdf works without problems, but the Bibliography shows up using numbers, both in the Text - e.g.: [2, 192] - and in the Bibliography, which is not what I want. All the other styles I've tried (natbib, plainnat, apacite, ...) produce various error messages when I create a PDF, and in the PDF the Bibliography is all garbled up (Authors' names appear several times, the German Umlaut-Letters like ö/ä/ü are not printed, formatting is messed up, etc.). I have been looking for a solution for hours now, and I am just not sure where my problem lies or what to do next. Should I try changing the document settings in Lyx (in the Preamble, for example)? Or do I need a program to edit the bib-file? Which program would be easy to use on windows? Or could the problem be that my .bib-file is not configured right? I hope for someone with more experience it is easier to tell where I went wrong... :-) Thank you so much for your help! Lea
Re: Problem with Bibliography author-year style in document class "book (KOMA-script)"
Thank you! I fixed my bib-file (it did miss a year!), so that was certainly good advice. I also downloaded some additional packages through Miktex and tried out some other citation styles. Some of them work (such as apalike or plain), but the ones I would need don't. The citation styles that don't work all give me a lot of error messages saying "Undefined control sequence." and the error descriptions look something like this (this one came when I used the style chicago): " ...r{Aiginger}{Aiginger}{2007}]{Aiginger.2007} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined." I do not know why the name of the author (Aiginger) is repeated so often, that is not the case in my bib-file. In other error messages, symbols like % suddenly appear in the text where there are non in the bibtex file. Does anybody know what the problem might be? I tried different encodings when I exported my references from citavi to bibtex (UTF-8, US-ASCII, Western European (ISO), ...) but nothing changed. Is there a specific encoding I should use? Thank you! Lea On Mon, Jun 15, 2009 at 8:07 PM, rgheck<rgh...@bobjweil.com> wrote: > Lea Rennert wrote: >> >> In Document > Settings > Bibliography I chose natbib with author-year >> style. I inserted the Bibliography through Insert > List/TOC..., where >> I uploaded my .bib-file. >> When I choose the style "plain", creating a pdf works without >> problems, but the Bibliography shows up using numbers, both in the >> Text - e.g.: [2, 192] - and in the Bibliography, which is not what I >> want. >> >> > > This is almost always due to some sort of error in your bib file. A missing > year in an entry, for example, will force BibTeX to use numerical citations > rather than author-year citations. > >> All the other styles I've tried (natbib, plainnat, apacite, ...) >> produce various error messages when I create a PDF, and in the PDF the >> Bibliography is all garbled up (Authors' names appear several times, >> the German Umlaut-Letters like ö/ä/ü are not printed, formatting is >> messed up, etc.). >> >> > > If these are written with umlauts in the bib file, that also could cause a > problem. It depends very much upon encoding issues and the like. > >> I have been looking for a solution for hours now, and I am just not >> sure where my problem lies or what to do next. Should I try changing >> the document settings in Lyx (in the Preamble, for example)? Or do I >> need a program to edit the bib-file? Which program would be easy to >> use on windows? Or could the problem be that my .bib-file is not >> configured right? >> >> > > A bib file is just a text file, so you can open it in notepad or whatever. > But you might want to use something like JabRef, which will give you a nice > interface to the file. > > Richard > >