Re: Biblatex and Lyx: Verbose Style
Julio Rojas writes: > > Dear all. I'm trying to use biblatex with lyx, using the verbose > style. I followed carefully the instructions in the wiki. Lyx compiles > the document, but instead of showing full citations for the first time > a reference is used, I only get the key for the reference in the PDF. [...] Hello, I have a very similar problem at the moment, but I'm afraid the solution specified in this thread doesn't work for me. My setup is: 1. I'm using Windows XP Service Pack 3, MikTeX 2.8 and Lyx 2.0. 2. As a backend to biblatex I use biber. I have tried to use a simple .bib file with one entry located at C:\Test\. I have followed the instructions for using biblatex in the LyX wiki (http://wiki.lyx.org/BibTeX/Biblatex#toc2). When I try to compile a file, the resulting PDF shows no bibliography and the cites are not formatted according by the options set in the preamble, but are simply the key printed in bold. I have tried out several things to make it work, but they all failed. Among them are: 1. Switching between \bibliography and \addbibresource. 2. Using "/" slashes and using "\" slashes. When using "/" slashes, the PDF output only shows the keys as explained above, when using "\" slashes LaTeX seems to interpret them as commands and shows an error message. Putting the path in quotes or in \string" doesn't change that. 3. Following the reccomendation in the wiki I tried to setup a texmf order in C:\texmf to put my .bib-file, but MikTeX won't accept it as a rootfile, showing an error message: "MiKTeX Problem Report Message: Not a TDS-compliant root directory. Data: C:\texmf Source: Programs\MiKTeX\MO\MFC\PropPageRoots.cpp Line: 365 MiKTeX: 2.8 OS: Microsoft Windows XP Home Edition Service Pack 3 (build 2600) SystemAdmin: yes PowerUser: no Root0: C:\Dokumente und Einstellungen\Thomas\Anwendungsdaten\MiKTeX\2.8 Root1: C:\Dokumente und Einstellungen\Thomas\Lokale Einstellungen\Anwendungsdaten\MiKTeX\2.8 Root2: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\MiKTeX\2.8 Root3: C:\Programme\MiKTeX 2.8 UserInstall: C:\Dokumente und Einstellungen\Thomas\Anwendungsdaten\MiKTeX\2.8 UserConfig: C:\Dokumente und Einstellungen\Thomas\Anwendungsdaten\MiKTeX\2.8 UserData: C:\Dokumente und Einstellungen\Thomas\Lokale Einstellungen\Anwendungsdaten\MiKTeX\2.8 CommonInstall: C:\Programme\MiKTeX 2.8 CommonConfig: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\MiKTeX \2.8 CommonData: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten \MiKTeX\2.8 I am fairly new to LaTeX and LyX, having begun to read about it a few months ago and trying to use it since about a week for a test chapter for my diploma thesis. Like any beginner I am encountering a load of problems, so I hope you will be lenient towards me if I did make some very silly mistake or if I have difficulties understanding something. Thank you very much! Kind regards Thomas PS. Below is the example I'm using: %% LyX 2.0.0 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[english]{article} \usepackage[T1]{fontenc} \makeatletter %% User specified LaTeX commands. % biblatex verwenden \usepackage[style=verbose,backend=biber]{biblatex} % Bibliographie einbinden \addbibresource{C:/Test/rechtswissenschaften.bib} \makeatother \usepackage{babel} \usepackage{xunicode} \begin{document} \printbibliography abc\cite{Deixler-Huebner2009} \end{document} PPS. The .bib-file rechtswissenschaften.bib looks like that: % This file was created with JabRef 2.7. % Encoding: UTF8 @BOOK{Deixler-Huebner2009, author = {Deixler-Hübner, Astrid}, title = {Scheidung, Ehe und Lebensgemeinschaft}, year = {2009}, edition = {10}, owner = {Thomas}, timestamp = {2011.10.01} } @comment{jabref-meta: selector_review:} @comment{jabref-meta: selector_publisher:} @comment{jabref-meta: selector_author:} @comment{jabref-meta: selector_journal:} @comment{jabref-meta: selector_keywords:}
Re: Biblatex and Lyx: Verbose Style
On 08/10/2009 12:11 PM, Piero wrote: http://www.lyx.org/trac/ticket/4065 Does this mean that direct BibLaTeX support isn't a priority? It's something that at least two of us have on our radar, but (a) until the package stabilizes, we won't directly support it and (b) there is a serious need for cleanup of how bibliography formats are handled before we can really do this properly. So there's work to be done and, as usual with open source projects, not nearly enough people to do it rh
Re: Biblatex and Lyx: Verbose Style
> > http://www.lyx.org/trac/ticket/4065 > Does this mean that direct BibLaTeX support isn't a priority?
Re: Biblatex and Lyx: Verbose Style
Piero wrote: > Julio Rojas writes: > > > Very nice package by the way. Specially since somebody took the job of > > translating it to spanish. Is LyX 1.7 going to support biblatex out of > > the box? http://www.lyx.org/trac/ticket/4065
Re: Biblatex and Lyx: Verbose Style
Julio Rojas writes: > Very nice package by the way. Specially since somebody took the job of > translating it to spanish. Is LyX 1.7 going to support biblatex out of > the box? Indeed, I simply love it. It will happen just when P.Lehman, the developer of BibLaTeX, will consider that it is stable. Then... LyX+BibLaTeX= what better can you imagine??? > > Again, thank you very much to this wonderful community. The best one > of them all!!! Yes, you're right. It's just wonderful. Welcome in!
Re: Biblatex and Lyx: Verbose Style
Ok, thanks to all. Weird behavior but it seems to be the one that is happening. I have completed the path and everything seems alright. Very nice package by the way. Specially since somebody took the job of translating it to spanish. Is LyX 1.7 going to support biblatex out of the box? Again, thank you very much to this wonderful community. The best one of them all!!! - Julio Rojas jcredbe...@gmail.com On Fri, Aug 7, 2009 at 10:10 PM, Stefano Franchi wrote: > On Friday 07 August 2009 02:58:32 pm Piero wrote: >> Julio Rojas writes: >> > Everything is in the same folder. Lyx can read the file and shows the >> > references when I select them, so no, I believe this is not the >> > problem. You can see the bibliography declared in the lines I >> > provided: >> > >> > \bibliography{biblatex-apa-test-references} >> > >> > I'm working right now in Ubuntu 9.04, but I also work in XP and Leopard. >> >> Ooops, didn't see the line, sorry. >> >> Anyway, BibLaTeX doesn't work with me without the FULL PATH, and PDF only >> show bibtex keys. Tried already? > > I had this problem a while ago, and solved it by always giving the full path > to the bib files in the preamble. If I remember correctly, the problem has to > do with LyX's compilation strategy. To produce a pdf file, Lyx first produces > a > .tex file in a temporary directory, and then runs (pdf)latex on it. At that > point, latex can no longer find the .bib database because it is no longer in > the same directory as the .tex file. > > Have you tried exporting your .lyx file to a latex (.tex) file and then > running (pdf)latex on it from the command line? If I am right, it should > produce correct references while the "View>PDF" command in Lyx (which uses the > strategy above) shouldn't. Looking at the full Latex log (Document>Latex log) > can be helfpul too. > > > Cheers, > > Stefano > > __ > Stefano Franchi > Department of Philosophy Ph: (979) 862-2211 > Texas A&M University Fax: (979) 845-0458 > 305B Bolton Hall fran...@philosophy.tamu.edu > College Station, TX 77843-4237 > >
Re: Biblatex and Lyx: Verbose Style
On Friday 07 August 2009 02:58:32 pm Piero wrote: > Julio Rojas writes: > > Everything is in the same folder. Lyx can read the file and shows the > > references when I select them, so no, I believe this is not the > > problem. You can see the bibliography declared in the lines I > > provided: > > > > \bibliography{biblatex-apa-test-references} > > > > I'm working right now in Ubuntu 9.04, but I also work in XP and Leopard. > > Ooops, didn't see the line, sorry. > > Anyway, BibLaTeX doesn't work with me without the FULL PATH, and PDF only > show bibtex keys. Tried already? I had this problem a while ago, and solved it by always giving the full path to the bib files in the preamble. If I remember correctly, the problem has to do with LyX's compilation strategy. To produce a pdf file, Lyx first produces a .tex file in a temporary directory, and then runs (pdf)latex on it. At that point, latex can no longer find the .bib database because it is no longer in the same directory as the .tex file. Have you tried exporting your .lyx file to a latex (.tex) file and then running (pdf)latex on it from the command line? If I am right, it should produce correct references while the "View>PDF" command in Lyx (which uses the strategy above) shouldn't. Looking at the full Latex log (Document>Latex log) can be helfpul too. Cheers, Stefano __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A&M University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Biblatex and Lyx: Verbose Style
Julio Rojas writes: > > Everything is in the same folder. Lyx can read the file and shows the > references when I select them, so no, I believe this is not the > problem. You can see the bibliography declared in the lines I > provided: > > \bibliography{biblatex-apa-test-references} > > I'm working right now in Ubuntu 9.04, but I also work in XP and Leopard. Ooops, didn't see the line, sorry. Anyway, BibLaTeX doesn't work with me without the FULL PATH, and PDF only show bibtex keys. Tried already?
Re: Biblatex and Lyx: Verbose Style
Everything is in the same folder. Lyx can read the file and shows the references when I select them, so no, I believe this is not the problem. You can see the bibliography declared in the lines I provided: \bibliography{biblatex-apa-test-references} I'm working right now in Ubuntu 9.04, but I also work in XP and Leopard. - Julio Rojas jcredbe...@gmail.com On Fri, Aug 7, 2009 at 4:14 PM, Piero wrote: > Julio Rojas writes: > >> >> Does anybody know about this problem? I have to work on a big document >> and I think biblatex is the way to go, but not at the cost of having >> to work directly on Latex. > > BibLaTeX IS your man. As LyX is. > just 1 question: did you put > > \bibliography{mybibfile} > > in the preamble, after the above lines? > In my case (WinXP) it works only if I insert the ENTIRE path (C:/MyFolder...) > > Anyway, it's funny: > I never have been able to have BibLaTeX work with plain LaTeX > without LyX. > Seems that LyX can show LaTeX the right .bib path. > > Tell me ifit works. > > Bye > HPiero > >
Re: Biblatex and Lyx: Verbose Style
Julio Rojas writes: > > Does anybody know about this problem? I have to work on a big document > and I think biblatex is the way to go, but not at the cost of having > to work directly on Latex. BibLaTeX IS your man. As LyX is. just 1 question: did you put \bibliography{mybibfile} in the preamble, after the above lines? In my case (WinXP) it works only if I insert the ENTIRE path (C:/MyFolder...) Anyway, it's funny: I never have been able to have BibLaTeX work with plain LaTeX without LyX. Seems that LyX can show LaTeX the right .bib path. Tell me ifit works. Bye HPiero
Biblatex and Lyx: Verbose Style
Dear all. I'm trying to use biblatex with lyx, using the verbose style. I followed carefully the instructions in the wiki. Lyx compiles the document, but instead of showing full citations for the first time a reference is used, I only get the key for the reference in the PDF. This is the preamble I'm using: \usepackage[natbib=true,style=verbose-note,autocite=footnote,sorting=nyt]{biblatex} \bibliography{biblatex-apa-test-references} \renewcommand\cite{\autocite} \renewcommand\citep{\autocite} I redefine the cite and citep commands to use footnote cites, but that's it. You can see the output in an attached PDF. The weird part is that if I export the document to latex and compile it by hand, the desired result is obtained. I believe that maybe LyX is not compiling the bibliography as it should and it only shows the results of a badly constructed bbl file. Does anybody know about this problem? I have to work on a big document and I think biblatex is the way to go, but not at the cost of having to work directly on Latex. - Julio Rojas jcredbe...@gmail.com biblatex_test.pdf Description: Adobe PDF document biblatex_test_latex.pdf Description: Adobe PDF document