Bibtex Problem
--- Begin Message --- Hi, I've got a problem inserting bibtex entries into my masterthesis. I added a new entry into my bibtex database (using kbibtex). Within the program it shows up, but in the citation insert dialogue inside lyx it won't . It's a standard entry, and i already have a literature list added in the end of my document (that lists the other inserted citations beautifully) - is there maybe a database limit that lyx can handle? (my database has about a hundred entries, that shouldn't be too much) thanks in advance, daniel --- End Message ---
BibTeX problem
I think I am doing a stupid error in my bibtex files. I cannot use crossref. Both from within Lyx and from running direct LaTeX, the "missing" fields are not added -- regardless the style I use. I followed the instructions given in the standard manuals regarding order of entries. Example (partially faked): @InBook{Ludwig:Musik, Author = {Ludwig, Friedrich}, Title = {Die geistliche nichtliturgische {M}usik}, Pages = {157-295}, crossref = {Adler:Handbuch}, } should be crossreferenced to: @Book{Adler:Handbuch, Author = {Adler, Guido}, Title = {Handbuch der {M}usikgeschichte}, Publisher = {Keller}, Address= {Berlin}, Note = {2 voll.}, booktitle = {Handbuch der {M}usikgeschichte}, year = 1930, } In the output, the booktitle (Handbuch der {M}usikgeschichte) is missing. What am I doing wrong? Thanks! Guido, Italy -- E-Mail: Guido Milanese <[EMAIL PROTECTED]> Vocal Ensemble Ars Antiqua, Genova, Italia Homepage: http://www.arsantiqua.org + + + + + + NON NOBIS DOMINE + + + + + + + --
BibTeX problem
Guido Milanese writes: > In the output, the booktitle (Handbuch der {M}usikgeschichte) is > missing. > > What am I doing wrong? > You may change the record to @incollection and add a booktitle feature with the title of the book. Regards, --Nabil -- Nabil Hathout [EMAIL PROTECTED] Équipe de Recherche en Syntaxe et Sémantique Tél (+33) 561-50-36-03 CNRS & Université Toulouse le Mirail Fax (+33) 561-50-46-77 Maison de la Recherche. F-31058 Toulouse cedex 1. France
Bibtex problem
Howdy! I downloaded the apacite style fron CTAN and found a small but nasty buglet: When there are a couple of authors there is a colon too much in the citation before the '&', e.g. (Hahlweg, Klann, & Hank, 1992). Unfortunately the email that the authour gives in the manual isn't valid anymore . Is this something that I can correct myself easily? Cheers, Ragnar
Bibtex Problem
Hello folks! I have a little Problem with my bibligraphy (using bibtex with Jabref). I am using Lyx 1.3.3 for Windows and would like to include my bibligraphy as ususal, but since I have upgraded form 1.3.2 it´s not working anymore. The log file says that the "bibtex" command could not be found but I know it is in the Miktex folder as usual. Do I have to set a path anywhere in the Lyx frontend? If it is a problem like that, could anybody tell me where to set it? Or could it be another problem? thank, martin
Lyx Bibtex Problem
Hello! I actually have a problem with Lyx 1.4.1 and Bibtex (running on Windows XP) similar to one reported few days ago. But I couldn´t manage to solve it. I included a Bibtex Bibliography in my Document and chose Natbib Style for Citations. Everything worked fine for almost 2 months. Unfortunately something went wrong. I still can cite in Lyx, Lyx itself displays my citations properly, so everything is fine, the path therefore seems to be correct. However, when I try to convert to DVI, all citations are lost and replaced by a [?]. The Reference section at the end of the document is completely missing. When I try to convert a recent file, everything works properly. I haven´t changed any configurations since then. Actually, the current file has worked properly before, I haven´t changed anything, not even a single letter. I tried the files on another computer, same problem. The recent files work, the new one fails. I observed that the old file is converted the following: Latex Run 1, Bibtex, Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are missing. The Temporary file however contains the .bib database, at least, I cannot find any discrepancy between the Temps of the recent files and the new files. So what is going on with my document. There aren´t any Latex errors. Thanks a lot in advance Karin
Re: Bibtex Problem
On Saturday 11 October 2008 09:51:39 am Daniel Herzig wrote: > I've got a problem inserting bibtex entries into my masterthesis. > I added a new entry into my bibtex database (using kbibtex). Within the > program it shows up, but in the citation insert dialogue inside lyx it > won't . It's a standard entry, and i already have a literature list added in > the end of my document (that lists the other inserted citations > beautifully) - is there maybe a database limit that lyx can handle? > (my database has about a hundred entries, that shouldn't be too much) I'm using kbibtex (0.2.1) and lyx (1.5.6) for my thesis and it works fine with 178 entries. I have experienced the situation you described, but only when I've added an entry to kbibtex, but not saved it. If I then save bibtex file in kbibtex, the next time I open the insert-citation dialog, then it's there. Hope your problem is this simple. Cameron. === History is written by the victor. Cameron Stone<[EMAIL PROTECTED]> ===
Solved: Bibtex Problem
Hi, I just solved my problem regarding the bibtex citations. There seems to be a limit of entries, that lyx can read from the database. I didn't count the number of entries completely (as said the database is about a hundred entries). Now I opened a new database, that include the references, which lyx didn't see in the "insert citation" dialogue so far. This one I linked with the literature list in the end of the document - and they are listed! Daniel PS: if somehow possible, this problem resolved would be a great improvement for this really good program (maybe next version - I'm using 1.5.3 linux, kbibtex 0.1.5, kubuntu 7.10) --- Begin Message --- Hi, I've got a problem inserting bibtex entries into my masterthesis. I added a new entry into my bibtex database (using kbibtex). Within the program it shows up, but in the citation insert dialogue inside lyx it won't . It's a standard entry, and i already have a literature list added in the end of my document (that lists the other inserted citations beautifully) - is there maybe a database limit that lyx can handle? (my database has about a hundred entries, that shouldn't be too much) thanks in advance, daniel --- End Message ---
RE: Bibtex Problem
Thank you, the problem was a syntax error... using a diacritic latex command not properly! Daniel Hi, I've got a problem inserting bibtex entries into my masterthesis. I added a new entry into my bibtex database (using kbibtex). Within the program it shows up, but in the citation insert dialogue inside lyx it won't . It's a standard entry, and i already have a literature list added in the end of my document (that lists the other inserted citations beautifully) - is there maybe a database limit that lyx can handle? (my database has about a hundred entries, that shouldn't be too much) thanks in advance, daniel --- Begin Message --- Hi, I've got a problem inserting bibtex entries into my masterthesis. I added a new entry into my bibtex database (using kbibtex). Within the program it shows up, but in the citation insert dialogue inside lyx it won't . It's a standard entry, and i already have a literature list added in the end of my document (that lists the other inserted citations beautifully) - is there maybe a database limit that lyx can handle? (my database has about a hundred entries, that shouldn't be too much) thanks in advance, daniel --- End Message ---
Re: BibTeX problem
Just making sure-- the item you are crossrefing must appear -after- the crossrefing entry in your database file. Thus: your @book must appear after your @inbook. On Fri, 26 Jan 2001, you wrote: > I think I am doing a stupid error in my bibtex files. > I cannot use crossref. Both from within Lyx and from running direct > LaTeX, the "missing" fields are not added -- regardless the style I use. > I followed the instructions given in the standard manuals regarding > order of entries. > > Example (partially faked): > > @InBook{Ludwig:Musik, > Author = {Ludwig, Friedrich}, > Title = {Die geistliche nichtliturgische {M}usik}, > Pages = {157-295}, > crossref = {Adler:Handbuch}, > } > > should be crossreferenced to: > > @Book{Adler:Handbuch, > Author = {Adler, Guido}, > Title = {Handbuch der {M}usikgeschichte}, > Publisher = {Keller}, > Address= {Berlin}, > Note = {2 voll.}, > booktitle = {Handbuch der {M}usikgeschichte}, > year = 1930, > } > > In the output, the booktitle (Handbuch der {M}usikgeschichte) is > missing. > > What am I doing wrong? > > Thanks! > > Guido, Italy > > > -- > E-Mail: Guido Milanese <[EMAIL PROTECTED]> > Vocal Ensemble Ars Antiqua, Genova, Italia > Homepage: http://www.arsantiqua.org > + + + + + + NON NOBIS DOMINE + + + + + + + > --
Re: BibTeX problem
Die ven, 26 gen 2001, Christopher Jones haec scripsit: > Just making sure-- the item you are crossrefing must appear -after- > the crossrefing entry in your database file. Thus: your @book must > appear after your @inbook. Yes, thanks. I checked it -- I followed the standard instructions. All the other fields, in fact, are correctly filled, but not the title. thanks, gm -- E-Mail: Guido Milanese <[EMAIL PROTECTED]> Vocal Ensemble Ars Antiqua, Genova, Italia Homepage: http://www.arsantiqua.org + + + + + + NON NOBIS DOMINE + + + + + + + --
Re: BibTeX problem
On Fri, Jan 26, 2001 at 10:55:14PM +0100, Guido Milanese wrote: > I think I am doing a stupid error in my bibtex files. > I cannot use crossref. Both from within Lyx and from running direct > LaTeX, the "missing" fields are not added -- regardless the style I use. > I followed the instructions given in the standard manuals regarding > order of entries. > > Example (partially faked): > > @InBook{Ludwig:Musik, > Author = {Ludwig, Friedrich}, > Title = {Die geistliche nichtliturgische {M}usik}, > Pages = {157-295}, > crossref = {Adler:Handbuch}, > } I think that you need to use @InCollection instead of @InBook.
Re: Bibtex problem
Ragnar Beer wrote: > > I downloaded the apacite style fron CTAN and found a small but nasty buglet: > When there are a couple of authors there is a colon too much in the citation > before the '&', e.g. (Hahlweg, Klann, & Hank, 1992). Unfortunately the email > that the authour gives in the manual isn't valid anymore . Is this something > that I can correct myself easily? yes, you can, but it's not easy. have a look at the apacite.bst. there is a function format.names. otherwise write to tex users list comp.text.tex Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Bibtex problem
On Fri, Jun 08, 2001 at 10:12:15AM +0200, Ragnar Beer wrote: > Howdy! > > I downloaded the apacite style fron CTAN and found a small but nasty buglet: > When there are a couple of authors there is a colon too much in the citation > before the '&', e.g. (Hahlweg, Klann, & Hank, 1992). Unfortunately the email > that the authour gives in the manual isn't valid anymore . Is this something > that I can correct myself easily? As far as I know, the '&' should be preceded by a comma, so this is not a bug!
Re: Bibtex problem
>> Howdy! >> >> I downloaded the apacite style fron CTAN and found a small but nasty buglet: >> When there are a couple of authors there is a colon too much in the citation >> before the '&', e.g. (Hahlweg, Klann, & Hank, 1992). Unfortunately the email >> that the authour gives in the manual isn't valid anymore . Is this something >> that I can correct myself easily? > >As far as I know, the '&' should be preceded by a comma, so this is not a bug! I looked it up and you're right. So this is a problem only when I want to use this style for a german article. I hope I can fix it. Ragnar
Re: Bibtex problem
Thanks a lot! looking at format.names I got the idea that the colon could simply be defined in a variable that I didn't see before and I was right. So a \renewcommand{\BCBL}{} in the preamble did the trick. Ragnar >Ragnar Beer wrote: >> >> I downloaded the apacite style fron CTAN and found a small but nasty buglet: >> When there are a couple of authors there is a colon too much in the citation >> before the '&', e.g. (Hahlweg, Klann, & Hank, 1992). Unfortunately the email >> that the authour gives in the manual isn't valid anymore . Is this something >> that I can correct myself easily? > >yes, you can, but it's not easy. have a look at >the apacite.bst. there is a function format.names. > >otherwise write to tex users list >comp.text.tex > >Herbert > >-- >http://www.educat.hu-berlin.de/~voss/lyx/
Another Bibtex Problem
Hi friends, Another newbie problem. I now have bibtex working so that I can enter citations. However, when I "view" the document, where the citation numbers should be there are only question marks, and the citations do not appear at the bottom of the page. How can I correct this? Louis
Re: Bibtex Problem
Martin Pischler wrote: Hello folks! I have a little Problem with my bibligraphy (using bibtex with Jabref). I am using Lyx 1.3.3 for Windows and would like to include my bibligraphy as ususal, but since I have upgraded form 1.3.2 it´s not working anymore. The log file says that the "bibtex" command could not be found but I know it is in the Miktex folder as usual. Do I have to set a path anywhere in the Lyx frontend? No, you do not have to set anything manually. If it is a problem like that, could anybody tell me where to set it? Or could it be another problem? You should probably verify first that it still works and is on your command path (by running bibtex --version in a command window). Then have a look at the setup notes for Windows at http://wiki.lyx.org/pmwiki.php/LyX/Windows. The native port has some known problems with helper utilities that can cause the installation scripts to backfire. Does Help -> LaTeX configuration correctly find installed packages? -- Paul ** Paul A. RubinPhone: (517) 432-3509 Department of ManagementFax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) ** Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re: Lyx Bibtex Problem
Hi, 2006-10-24 11:50 +, Karin Eichele: > Hello! > > I actually have a problem with Lyx 1.4.1 and Bibtex (running on Windows XP) > similar to one reported few days ago. But I couldn´t manage to solve it. > > I included a Bibtex Bibliography in my Document and chose Natbib Style for > Citations. Everything worked fine for almost 2 months. Unfortunately something > went wrong. I still can cite in Lyx, Lyx itself displays my citations > properly, > so everything is fine, the path therefore seems to be correct. However, when I > try to convert to DVI, all citations are lost and replaced by a [?]. The > Reference section at the end of the document is completely missing. > When I try to convert a recent file, everything works properly. I haven´t > changed any configurations since then. Actually, the current file has worked > properly before, I haven´t changed anything, not even a single letter. I tried > the files on another computer, same problem. The recent files work, the new > one > fails. > I observed that the old file is converted the following: Latex Run 1, Bibtex, > Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are > missing. > The Temporary file however contains the .bib database, at least, I cannot find > any discrepancy between the Temps of the recent files and the new files. So > what > is going on with my document. There aren´t any Latex errors. > > Thanks a lot in advance Do you use a natbib compatible bibtex style? Please compare the bibliography styles in Your older, correctly working files and the new one (which is not working). I have had a similar problem and the problem was an incompatible bibtex style. Hope this helps, Kimmo
Re: Lyx Bibtex Problem
K. Elo <[EMAIL PROTECTED]> writes: > > Hi, > > 2006-10-24 11:50 +, Karin Eichele: > > > > Do you use a natbib compatible bibtex style? Please compare the > bibliography styles in Your older, correctly working files and the new > one (which is not working). I have had a similar problem and the problem > was an incompatible bibtex style. > > Hope this helps, > Kimmo > > Thanks for your answer, the style itself is working, its the same in my old and new documents. Actually it is the same document, the old file is a backup I saved few days before. I have neither changed the style nor the path since then. Greets, Karin
Re: Lyx Bibtex Problem
Karin Eichele wrote: I observed that the old file is converted the following: Latex Run 1, Bibtex, Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are missing. The Temporary file however contains the .bib database, at least, I cannot find any discrepancy between the Temps of the recent files and the new files. So what is going on with my document. There aren´t any Latex errors. What happens if you try the following: View->DVI the new file, to get the first two latex runs and the bibtex run in between; with LyX still open, go to the temp directory and do the third and if necessary fourth latex runs manually (from a command prompt)? Does this work, or do you get error messages? Also, does the bibtex run successfully produce a .aux file? /Paul
Re: Lyx Bibtex Problem
Paul A. Rubin <[EMAIL PROTECTED]> writes: > > Karin Eichele wrote: > > > I observed that the old file is converted the following: Latex Run 1, Bibtex, > > Latex 2,3,4 and buffer write. With the new file, Latex runs 3 and 4 are missing. > > The Temporary file however contains the .bib database, at least, I cannot find > > any discrepancy between the Temps of the recent files and the new files. So what > > is going on with my document. There aren´t any Latex errors. > > > > What happens if you try the following: View->DVI the new file, to get > the first two latex runs and the bibtex run in between; with LyX still > open, go to the temp directory and do the third and if necessary fourth > latex runs manually (from a command prompt)? Does this work, or do you > get error messages? > > Also, does the bibtex run successfully produce a .aux file? > > /Paul > > Hello, Sorry for asking,but how exactly can I start the third and fourth run manually? What do I hace to do? The Bibtex .aux file should have the same file name as my .bib file? If yes, I don´t have such a file in the Temp. Thanks a lot Karin
Re: Lyx Bibtex Problem
> Sorry, I forgot to mention that I have one .aux file named the same as the lyx file itself. Karin
Re: Lyx Bibtex Problem
Karin Eichele wrote: Sorry, I forgot to mention that I have one .aux file named the same as the lyx file itself. That's what you should have. Richard
Re: Lyx Bibtex Problem
Richard Heck <[EMAIL PROTECTED]> writes: > > Karin Eichele wrote: > > Sorry, I forgot to mention that I have one .aux file named the same as the lyx > > file itself. > That's what you should have. > > Richard > > Ok, thanks. Sorry again for asking, but how can I manage to figure out where the problem is. The .bbl file in the temp obviously is empty, so how can I fix that? Karin
Re: Lyx Bibtex Problem
Ok, thanks. Sorry again for asking, but how can I manage to figure out where the problem is. The .bbl file in the temp obviously is empty, so how can I fix that? My default technique here is as follows: Export to LaTeX and do everything manually. If that works, then, well, it works, and you can at least deal with it that way. If not, then I would hope to figure out thereby what's wrong. And if you're not getting LaTeX runs after the first, then I'm guessing you're getting an error during the BibTeX run. Why, I don't know, but doing it all manually should show you. The other option, suggested earlier, is to go to the temporary LyX directory and run everything manually there. Since I'm not on Windows, I don't know exactly how you'd do that. On Linux, it'd be: #latex filename #bibtex filename #latex filename #<..repeat as necessary...> from the shell. Presumably, it's something similar in Windows. Richard
Re: Lyx Bibtex Problem
Richard Heck wrote: My default technique here is as follows: Export to LaTeX and do everything manually. If that works, then, well, it works, and you can at least deal with it that way. If not, then I would hope to figure out thereby what's wrong. And if you're not getting LaTeX runs after the first, then I'm guessing you're getting an error during the BibTeX run. Why, I don't know, but doing it all manually should show you. The other option, suggested earlier, is to go to the temporary LyX directory and run everything manually there. Since I'm not on Windows, I don't know exactly how you'd do that. On Linux, it'd be: #latex filename #bibtex filename #latex filename #<..repeat as necessary...> from the shell. Presumably, it's something similar in Windows. Yes. Assuming that we're in the temp directory, with LyX still open, after View->DVI has failed, there should already be a .tex file containing the exported document. Call it mydoc.tex. Assuming that the MikTeX bin directory (or the bin directory for whatever LaTeX distribution Karin has) is on the system command path, she should run latex mydoc bibtex mydoc latex mydoc (repeated as needed). If the bin directory is not on the system path, supply a full path to each command (e.g., "C:\Program Files\MikTeX\bin\latex.exe" mydoc, etc.). Again, View->DVI appears to be doing the first two runs, so it might be worthwhile to start with the third run (second latex run). If that does not provide useful information, Karin should run the entire sequence above. If Karin's .bbl file exists but is empty, chances are that BibTeX has failed. This sometimes happens if a defective bibliographic entry (meaning one that is incorrectly formatted in the .bib file) is used. When that happens, the easiest way to track it down is bisection search. Remove half the citations and try to compile. If the document compiles, add in half the omitted citations; if it fails, remove half the remaining citations. Keep doing this until the offending citation is identified. /Paul
Natbib without Bibtex Problem.
Dear all, I am using Natbib (lyx 1.5.4) for my bibliography. I have a problem with how bibliography appear not in the text citation, but in the reference space at the end of the paper. I loaded the packages: natbib, citeref, hyperref,... Then in the reference space I use the common tool from LYX: first, I set the key, then the mark, finally my biblio elements. In text the quote appears fine, using citet and citep, but the reference do not. At the end of each element does appear the number [1], even though I have selected authoryear in the biblio settings in document. Example References Author, 2002, Title, Journal. [1] Author, Author, 2003, Title, Journal. [1] Do you know how to fix this? -- View this message in context: http://n2.nabble.com/Natbib-without-Bibtex-Problem.-tp664009p664009.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Solved: Bibtex Problem
I agree with Jurgen: my bibtex database contains now 600 references and I don't have any problem in using it with LyX. On the contrary: being a LyX users for just a few months, I am always amazed by realizing how it is easy and aeffective to insert references in papers using LyX. Obviously it would be a great problem if LyX coun't use a big database for managing references so as that LyX users would be compelled to split their database in several smaller dtabases. So I would say that there is no such a limit to entries that lyx can read from the database as Daniel says. Pierfranco 2008/10/11 Jürgen Spitzmüller <[EMAIL PROTECTED]>: > Daniel Herzig wrote: >> I just solved my problem regarding the bibtex citations. There seems to be >> a limit of entries, that lyx can read from the database. >> I didn't count the number of entries completely (as said the database is >> about a hundred entries). Now I opened a new database, that include the >> references, which lyx didn't see in the "insert citation" dialogue so far. >> This one I linked with the literature list in the end of the document - >> and they are listed! > > I've used LyX with bibtex databases of several thousand entries, so the > problem must be something else (maybe a syntax error somewhere in the bibtex > database). > > Jürgen >
Re: Solved: Bibtex Problem
Daniel Herzig wrote: > I just solved my problem regarding the bibtex citations. There seems to be > a limit of entries, that lyx can read from the database. > I didn't count the number of entries completely (as said the database is > about a hundred entries). Now I opened a new database, that include the > references, which lyx didn't see in the "insert citation" dialogue so far. > This one I linked with the literature list in the end of the document - > and they are listed! I've used LyX with bibtex databases of several thousand entries, so the problem must be something else (maybe a syntax error somewhere in the bibtex database). Jürgen
Re: Solved: Bibtex Problem
Jürgen Spitzmüller wrote: Daniel Herzig wrote: I just solved my problem regarding the bibtex citations. There seems to be a limit of entries, that lyx can read from the database. I didn't count the number of entries completely (as said the database is about a hundred entries). Now I opened a new database, that include the references, which lyx didn't see in the "insert citation" dialogue so far. This one I linked with the literature list in the end of the document - and they are listed! I've used LyX with bibtex databases of several thousand entries, so the problem must be something else (maybe a syntax error somewhere in the bibtex database). That's what I'd guess, too. A syntax error somewhere will throw off the parser. rh
RE: Solved: Bibtex Problem
Thank you for your quick answers! Tracing the problem I really found a syntax error in my database. Somehow confused by diacritic latex commands I used \.v{S} instead of \v{S} in one of the new entries, what somehow stopped lyx reading this and the following references. I removed it and now happily use all the references re-copied from my second database with only one. works perfectly. Daniel --- Begin Message --- Hi, I've got a problem inserting bibtex entries into my masterthesis. I added a new entry into my bibtex database (using kbibtex). Within the program it shows up, but in the citation insert dialogue inside lyx it won't . It's a standard entry, and i already have a literature list added in the end of my document (that lists the other inserted citations beautifully) - is there maybe a database limit that lyx can handle? (my database has about a hundred entries, that shouldn't be too much) thanks in advance, daniel --- End Message ---
Re: Another Bibtex Problem
Check the format of your bibilography file. That happens when Bibtex is confused what to put where. On Saturday 03 November 2001 03:35 am, you wrote: > Hi friends, > > Another newbie problem. I now have bibtex working so that I can enter > citations. However, when I "view" the document, where the citation numbers > should be there are only question marks, and the citations do not appear at > the bottom of the page. > > How can I correct this? > > Louis
Re: Another Bibtex Problem
On Sat, Nov 03, 2001 at 03:35:56AM -0600, Dr. Louis A. Turk wrote: > Hi friends, > > Another newbie problem. I now have bibtex working so that I can enter > citations. However, when I "view" the document, where the citation numbers > should be there are only question marks, and the citations do not appear at > the bottom of the page. > > How can I correct this? Perhaps you need to do Insert->List&TOC->bibtex in the place you want the bibliography to appear (usually, at the end of the document).
BibTex problem with Lyx 1.4.3
Hello. I'm running the Linux version 1.4.3 on Fedora 5 (64 bit). I'm having trouble with the usual tried and true method of inserting references with BibTex. My addition of citations seems to work fine when I look at the lyx file itself, but the output to DVI or PDF just gives [?] for the citations, and the References section is blank. Here's what I did... At the end of my document I did this: Insert --> List/TOC --> BibTex bibliography I added a .bib file to the Database (specifying the full path), I chose the "plain" style, and clicked the "Add bibliography to TOC" box. For the Bibliography document setting I'm using the "Natbib" citation style. Here are some of the error messages that appear when I try to look at the DVI output. It seems to complain that it can't "find" or "open" database files, yet I can still add citations within the lyx environment as if everything is fine. That is, it seems that lyx itself recognizes the .bib file just fine. What's going on? - ERROR MESSAGES (some of them) - I couldn't open database file 0_home_latex_bibfiles__refs_BibEdit_2.bib ---line 20 of file my_lyx_file.aux \bibdata{0_home_arc_latex_bibfiles_neurosci_refs_BibEdit_2} I'm skipping whatever remains of this command -- NOTE: The "bibdata" path looks funny to me. What's with the leading zero? Is this the source of the problem? Thanks for any help. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Natbib without Bibtex Problem.
econkramer wrote: Dear all, I am using Natbib (lyx 1.5.4) for my bibliography. I have a problem with how bibliography appear not in the text citation, but in the reference space at the end of the paper. I loaded the packages: natbib, citeref, hyperref,... Then in the reference space I use the common tool from LYX: first, I set the key, then the mark, finally my biblio elements. In text the quote appears fine, using citet and citep, but the reference do not. At the end of each element does appear the number [1], even though I have selected authoryear in the biblio settings in document. I don't think author-year citations work with the LyX-internal bibliography stuff. The problem is that LyX (better, LaTeX) has no way of telling what the author and year are. You need to use BibTeX if you want author-year citations. Richard
Re: Natbib without Bibtex Problem.
rgheck wrote: > I don't think author-year citations work with the LyX-internal > bibliography stuff. The problem is that LyX (better, LaTeX) has no way > of telling what the author and year are. You need to use BibTeX if you > want author-year citations. No, natbib works very well without bibtex (you have to put the author/year information in the "label" part of the bibitem inset dialog, and you have to use parens but no spaces, because natbib uses the parens as delimiters, e.g. "Heck(2008)"). I cannot reproduce the reported problem. Econ, could you post a minimal example? Jürgen
Re: BibTex problem with Lyx 1.4.3
Alex Casti wrote: Hello. I'm running the Linux version 1.4.3 on Fedora 5 (64 bit). I'm having trouble with the usual tried and true method of inserting references with BibTex. My addition of citations seems to work fine when I look at the lyx file itself, but the output to DVI or PDF just gives [?] for the citations, and the References section is blank. Here's what I did... At the end of my document I did this: Insert --> List/TOC --> BibTex bibliography I added a .bib file to the Database (specifying the full path), I chose the "plain" style, and clicked the "Add bibliography to TOC" box. For the Bibliography document setting I'm using the "Natbib" citation style. Here are some of the error messages that appear when I try to look at the DVI output. It seems to complain that it can't "find" or "open" database files, yet I can still add citations within the lyx environment as if everything is fine. That is, it seems that lyx itself recognizes the .bib file just fine. What's going on? - ERROR MESSAGES (some of them) - I couldn't open database file 0_home_latex_bibfiles__refs_BibEdit_2.bib ---line 20 of file my_lyx_file.aux \bibdata{0_home_arc_latex_bibfiles_neurosci_refs_BibEdit_2} I'm skipping whatever remains of this command -- NOTE: The "bibdata" path looks funny to me. What's with the leading zero? Is this the source of the problem? Not likely. LyX deliberately mangles path names to prevent spaces in paths (on Windoze) from breaking things. There may be other reasons as well for the mangling, but that's the one I know. The leading digit in the file name has something to do, I think, with having multiple documents open (or multiple parts of a document). I'm a bit fuzzy there, but I've seen leading digits on my files with no harm done. If you open the document in LyX, try to view it, and then (without closing LyX) peek into the LyX temp directory, is 0_home_latex_bibfiles__refs_BibEdit_2.bib there? What about 0_home_arc_latex_bibfiles_neurosci_refs_BibEdit_2.bib? (Am I right that you have listed two different bibliography files in your document?) My initial guess would be that LyX failed to copy one or both bibliography files over to the temp directory. I think that the symptom in the DVI file ("?" where you expect a reference) can occur if the bib files contain indigestible references (a misplaced brace or something), but the "couldn't open" error sounds more like a missing file (or one with a permissions problem). /Paul
Re: BibTex problem with Lyx 1.4.3
Insert --> List/TOC --> BibTex bibliography I added a .bib file to the Database (specifying the full path), I chose the "plain" style, and clicked the "Add bibliography to TOC" box. For the Bibliography document setting I'm using the "Natbib" citation style. plain style may not work with natbib citation style. Choose plainnat and try again. Bo
Re: BibTex problem with Lyx 1.4.3
--- Bo Peng <[EMAIL PROTECTED]> wrote: > > For the Bibliography document setting I'm using > the > > "Natbib" citation style. > > plain style may not work with natbib citation style. > Choose plainnat > and try again. Thanks Bo. I managed to do my own fix before trying out your suggestion, so I don't know if what you suggest would've done the trick. But, after a reinstallation I did try using the "plain" style with natbib and it worked fine (this was after I fixed the problem; see below). For the interested, I was also having this exact same bibtex woes using the "apalike" style. My fix was of the hammering eggshells variety. Since I'm running 64-bit Fedora 5, I decided to wipe out every lyx related package and reinstall using the 32-bit versions. Specifically, the packages I removed and installed are: REMOVED (64-bit fedora core 5 versions) lyx lyx-qt lyx-debuginfo mathml-fonts aspell aspell-en INSTALLED (32-bit fedora core 5 versions) lyx-1.4.3-3.fc5.i386.rpm lyx-qt-1.4.3-3.fc5.i386.rpm qt-3.3.6-0.4.fc5.i386.rpm lyx-debuginfo-1.4.3-3.fc5.i386.rpm mathml-fonts-1.0-21.fc5.noarch.rpm aiksaurus-1.2.1-13.i386.rpm aspell-0.60.3-5.i386.rpm After the smoke cleared, my bibtex problem disappeared. Voila. It's conceivable, I guess, that wiping out the 64-bit versions and reinstalling them might've had the same effect. I just don't know. Maybe it's a glitch in one of the packages of the Fedora repositories. Also, Richard Heck suggested the following (which did not cure the bibtex problem, unfortunately). I mention it here for future browsers: --- > LyX copies your .bib files into its temporary > directory when it compiles > the LaTeX, and in doing so it re-writes the names of > the files. So this > is normal. The problem appears to be that LyX isn't > finding the .bib > file and so isn't copying it into the temporary > directory and so you're > getting this error message. Check the path > information and, if > necessary, check the permissions on the .bib file > and, for that matter, > the temporary directory LyX is creating. > > Richard --- __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: BibTex problem with Lyx 1.4.3
Alex Casti wrote: > Hello. I'm running the Linux version 1.4.3 on Fedora > 5 (64 bit). I'm having trouble with the usual tried > and true method of inserting references with BibTex. > My addition of citations seems to work fine when I > look at the lyx file itself, but the output to DVI or > PDF just gives [?] for the citations, and the > References section is blank. > Hi I have been trying to get the bibtex referencing to work with a very simple documents in Linux but my problems looks similar than described here for the windows. Reference looks good when writing the text in Lyx, but in the PDF document the references are replaced with [?]. I have myself tested both with the Mandriva 2007 and Debian Etch (updated 2006.12.25 date) both using the Lyx 1.4.2 I have attached both of the example lyx documents, bibtex files and generated pdf files as an attachment. Mandriva 2007 Test with Lyx 1.4.2 - - test2.lyx - ref.bif (created with kbibtex) - test2.pdf Debian Etch Test with Lyx 1.4.2 - - test.lyx - master_thesis_ref.bib (created with gbib) - test.pdf My ultimate goal is to use lyx for writing my master thesis in a way where the text would only show the references number ([3], [21], ...) and in the end of the document would be a list of all referenced material (sorted by using authors last name as a key) I have attached the example files within this document in tar.bz2 package. (also available from http://aragorn.kortex.jyu.fi:8080/lyx_bibtex_problem.tar.bz2) Here are also some of the output I am seeing in the Lyx console when using Mandriva. The top-level auxiliary file: test2.aux The style file: plain.bst White space in argument---line 4 of file test2.aux : \citation{Embedded :Systems Architecture} I'm skipping whatever remains of this command I found no cite keys---while reading file test2.aux Database file #1: 0_home_lamikr_own_h6300_docs_writings_master_thesis_1_ref.bib I was expecting a `,' or a `}'---line 1 of file 0_home_lamikr_own_h6300_docs_writings_master_thesis_1_ref.bib : @book{ Embedded : Systems Architecture, I'm skipping whatever remains of this entry (There were 3 error messages) OkCancelPolicy: No transition for input SMI_RESTORE from state INITIAL This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: test.aux White space in argument---line 2 of file test.aux : \citation{Levy :Steven Hackers} I'm skipping whatever remains of this command The style file: plain.bst Mika
Re: BibTex problem with Lyx 1.4.3
lamikr wrote: > White space in argument---line 4 of file test2.aux > : \citation{Embedded > : Systems Architecture} > I'm skipping whatever remains of this command As the error message states: you are using invalid white space in the argument of the citation entry. Change the bibliography key from "Embedded Systems Architecture" to "EmbeddedSystemsArchitecture", and you're done (I'm actually surprised that kbibtex lets you create such a key; pybliographer here complains that it is invalid; I'd suggest to write a big report to the kbibtex author). Jürgen
Re: BibTex problem with Lyx 1.4.3
Jürgen Spitzmüller wrote: > lamikr wrote: > >> White space in argument---line 4 of file test2.aux >> : \citation{Embedded >> :Systems Architecture} >> I'm skipping whatever remains of this command >> > > As the error message states: you are using invalid white space in the > argument > of the citation entry. Change the bibliography key from "Embedded Systems > Architecture" to "EmbeddedSystemsArchitecture", and you're done (I'm actually > surprised that kbibtex lets you create such a key; pybliographer here > complains that it is invalid; I'd suggest to write a big report to the > kbibtex author). > That was it, thank you very much. Actually I need to fill a bug both to the gbib and kbibtex as both of them allowed me to make the same mistake. Would there be any changes that Lyx could catch errors like these and give some kind of warning in a situations like this? Mika
Re: BibTex problem with Lyx 1.4.3
lamikr wrote: > That was it, thank you very much. Actually I need to fill a bug both to > the gbib and kbibtex as both of them allowed me to make the same mistake. > Would there be any changes that Lyx could catch errors like these and > give some kind of warning in a situations like this? I think LyX should catch bibtex errors in the same way it catches LaTeX errors and report them via the LaTeX error dialog. This is a request we are aware of (I think there's also a report on bugzilla). Jürgen
Re: BibTex problem with Lyx 1.4.3
Jürgen Spitzmüller wrote: > lamikr wrote: > >> That was it, thank you very much. Actually I need to fill a bug both to >> the gbib and kbibtex as both of them allowed me to make the same mistake. >> Would there be any changes that Lyx could catch errors like these and >> give some kind of warning in a situations like this? >> > > I think LyX should catch bibtex errors in the same way it catches LaTeX > errors > and report them via the LaTeX error dialog. This is a request we are aware of > (I think there's also a report on bugzilla). > Yes, actually I think that it would be nice if Lyx could check some of the errors like "invalid keyword" even earlier when the bibtex database is added to Lyx document or when the references with invalid keyword are itself created. Mika
Bibtex problem: Question marks instead of citations
Hi, I'm writing a scrreport with LyX 1.5.1 (Mac) and have a problem with Bibtex. I have a lot of citations, and until yesterday evening, everything went smoothly. Then all of a sudden LyX started complaining about a "Misplaced alignment tab character &". Bibtex stopped formatting any citations in the text -- question marks appear instead --, but it does still produce the bibliography at the end of the PDF output. I exported to LateX and checked the file -- no misplaced & (instead of \&) anywhere. I've spend hours now and cannot get it back to work. Does anyone know how to debug this? Many thanks, -- Christian
Re: Bibtex problem: Question marks instead of citations [RESOLVED]
... well, well ... I found it. I had several citations with the ampersand '&' in the journal's title. Replacing this with '\&' did the trick: My document output is fine now. Silly me. -- Christian Christian Liesen wrote: Hi, I'm writing a scrreport with LyX 1.5.1 (Mac) and have a problem with Bibtex. I have a lot of citations, and until yesterday evening, everything went smoothly. Then all of a sudden LyX started complaining about a "Misplaced alignment tab character &". Bibtex stopped formatting any citations in the text -- question marks appear instead --, but it does still produce the bibliography at the end of the PDF output. I exported to LateX and checked the file -- no misplaced & (instead of \&) anywhere. I've spend hours now and cannot get it back to work. Does anyone know how to debug this? Many thanks, -- Christian
Re: Bibtex problem: Question marks instead of citations [RESOLVED]
On Sun, 30 Sep 2007, Christian Liesen shared this with us all: >--} ... well, well ... >--} >--} I found it. I had several citations with the ampersand '&' in the >--} journal's title. Replacing this with '\&' did the trick: My document >--} output is fine now. >--} >--} Silly me. >--} >--} -- Christian >--} >--} >--} >--} Christian Liesen wrote: >--} > Hi, >--} > >--} > I'm writing a scrreport with LyX 1.5.1 (Mac) and have a problem with >--} > Bibtex. >--} > >--} > I have a lot of citations, and until yesterday evening, everything >--} > went smoothly. Then all of a sudden LyX started complaining about a >--} > "Misplaced alignment tab character &". Bibtex stopped formatting any >--} > citations in the text -- question marks appear instead --, but it does >--} > still produce the bibliography at the end of the PDF output. >--} > >--} > I exported to LateX and checked the file -- no misplaced & (instead of >--} > \&) anywhere. >--} > >--} > I've spend hours now and cannot get it back to work. Does anyone know >--} > how to debug this? >--} > >--} > Many thanks, >--} > -- Christian Clever you Christian, and thanks for bringing this to our attention so we may not try the same thing. Thank you, Charlie -- Registered Linux User:- 329524 +++ What is to give light must endure burning. ---VIKTOR FRANKL <<<> Debian - Just the best way to do magic.