Lyx and Jurabib
I added a little info on the HumanitiesLyx page: Wanted features and Sectioned bibliographies. :-) akvik
Re: LyX and jurabib
On May 25, 2006, at 10:20 AM, Bennett Helm wrote: On May 25, 2006, at 6:06 AM, Charles de Miramon wrote: I have just created http://wiki.lyx.org/LyX/HumanitiesLyX Please add the information of this thread there. I will add my own tricks with jurabib when I find a little time. If we could have a wiki page of the qualiry of LinguisticLyx for humanities, it would be nice. Nice start. I've just added some hints (and a sample file) about the use of branches. The branches thing is brilliant. BTW, I've added an "idiot's guide" to setting up natbib bibliographies for linguists; feel free to crib/edit. http://wiki.lyx.org/LyX/LinguistLyX#toc17 Maria
Re: LyX and jurabib
On May 25, 2006, at 6:06 AM, Charles de Miramon wrote: I have just created http://wiki.lyx.org/LyX/HumanitiesLyX Please add the information of this thread there. I will add my own tricks with jurabib when I find a little time. If we could have a wiki page of the qualiry of LinguisticLyx for humanities, it would be nice. Nice start. I've just added some hints (and a sample file) about the use of branches. Bennett
Re: LyX and jurabib
On May 25, 2006, at 7:06 AM, Anders Dahnielson wrote: Just a question: Are there any smooth way to hide the reference/ bibliography list in LyX so it will not be included? My solution is to hide it in a Note block, once the bib file has been processed (if the citations become "?." I just "unhide" it and generate a temp output, then "hide" it and regenerate the proper output). You can use the jurabib option of \nobibliography: just add the following in ERT at the end of your document: \bibliographystyle{jox} \bibliography{Bibdatabase} Doing this alone won't allow you to insert citations from within LyX. So trick LyX by inserting a bibliography in a Note (and always leave it in the note). A bit messy, but once it's set up you won't need to mess with it. Bennett
Re: LyX and jurabib
On 5/25/06, Bennett Helm <[EMAIL PROTECTED]> wrote: If you're using LyX 1.4.x, don't add \usepackage{jurabib} to the preamble. If you want to add your own settings for jurabib, you can edit jurabib.cfg (in the same directory as jurabib.sty), which will change settings for *all* documents using jurabib; if you want to add or modify settings for a particular document, add the following to your document preamble: \jurabibsetup{...} (where "..." should be a comma separated options list, such as "citefull=chapter,opcit=chapter"). Thanks for pointing out that! Obviously a better way to do it. In my experience, it's best not to redefine \cite as \footcite. Rather, you can simply insert the citation in a footnote in the normal way. (That is, within LyX insert a footnote, then insert a citation.) Don't forget to follow your citation by a period inside the footnote. Yes, that's simple and obvious way to work with LyX and jurabib. Thanks! I'm writing a book (philosophy) with jurabib and LyX-1.4, and it works beautifully. Smashing! Just a question: Are there any smooth way to hide the reference/bibliography list in LyX so it will not be included? My solution is to hide it in a Note block, once the bib file has been processed (if the citations become "?." I just "unhide" it and generate a temp output, then "hide" it and regenerate the proper output). -- Anders Dahnielson <[EMAIL PROTECTED]>
Re: LyX and jurabib
Anders Dahnielson wrote: > Ooops, sorry for not CCing the list, thought it will be sent a copy when > hittng reply. > > :) > I have just created http://wiki.lyx.org/LyX/HumanitiesLyX Please add the information of this thread there. I will add my own tricks with jurabib when I find a little time. If we could have a wiki page of the qualiry of LinguisticLyx for humanities, it would be nice. Cheers, Charles -- http://www.kde-france.org
Re: LyX and jurabib
Ooops, sorry for not CCing the list, thought it will be sent a copy when hittng reply. :) -- Anders Dahnielson <[EMAIL PROTECTED]>
Re: LyX and jurabib
Thanks for your response, Bennett - Anders had already pointed out that I was trying to load jurabib twice, so I had worked that out, but your suggestions about how to use lyx and jurabib together are very helpful - particularly not using \footcite and globally defining jurabib options, rather than using the preamble. Cheers, Jacob Campbell. Quoting Bennett Helm <[EMAIL PROTECTED]>: > > This means that you're trying to load jurabib twice -- once with the > \usepackage[...]{jurabib} in the document preamble, and once by > selecting jurabib within Document > Settings > Bibliography. > > If you're using LyX 1.4.x, don't add \usepackage{jurabib} to the > preamble. If you want to add your own settings for jurabib, you can edit > jurabib.cfg (in the same directory as jurabib.sty), which will change > settings for *all* documents using jurabib; if you want to add or modify > settings for a particular document, add the following to your document > preamble: > > \jurabibsetup{...} > > (where "..." should be a comma separated options list, such as > "citefull=chapter,opcit=chapter"). > > In my experience, it's best not to redefine \cite as \footcite. Rather, > you can simply insert the citation in a footnote in the normal way. > (That is, within LyX insert a footnote, then insert a citation.) Don't > forget to follow your citation by a period inside the footnote. > > I'm writing a book (philosophy) with jurabib and LyX-1.4, and it works > beautifully. > > Bennett >
Re: LyX and jurabib
On Thu, 2006-05-25 at 06:58 +0800, [EMAIL PROTECTED] wrote: > Hi, > I was very happy to see this message - thanks for your instructions, Anders. > I came across the idea of using jurabib and lyx a couple of months ago and > really wanted to get it to work for my thesis. However, I wasn't able to work > it > out, so put it aside until I had more time to look into it. This message has > prompted me to look at it again. > Unfortunately I'm having problems, and I don't know enough to fix them. > I followed the instructions given, assuming it should work without changing > anything. I inserted the preamble text, exactly as below. I put those two > lines > into an ERT block and put the BibTex bibliography into a Lyx note. Then I > typed > some text and inserted a citation from my database (created in Pybliographer), > and attempted to view the document I had created as DVI (although I get the > same > problems if viewing as PDF as well). > I'm getting the following error: > >! LaTeX Error: Option clash for package jurabib. > > > >l.27 \renewcommand > > {\cite}{\footcite} > >The package jurabib has already been loaded with options: > > [] This means that you're trying to load jurabib twice -- once with the \usepackage[...]{jurabib} in the document preamble, and once by selecting jurabib within Document > Settings > Bibliography. If you're using LyX 1.4.x, don't add \usepackage{jurabib} to the preamble. If you want to add your own settings for jurabib, you can edit jurabib.cfg (in the same directory as jurabib.sty), which will change settings for *all* documents using jurabib; if you want to add or modify settings for a particular document, add the following to your document preamble: \jurabibsetup{...} (where "..." should be a comma separated options list, such as "citefull=chapter,opcit=chapter"). In my experience, it's best not to redefine \cite as \footcite. Rather, you can simply insert the citation in a footnote in the normal way. (That is, within LyX insert a footnote, then insert a citation.) Don't forget to follow your citation by a period inside the footnote. I'm writing a book (philosophy) with jurabib and LyX-1.4, and it works beautifully. Bennett
Re: LyX and jurabib
Hi, I was very happy to see this message - thanks for your instructions, Anders. I came across the idea of using jurabib and lyx a couple of months ago and really wanted to get it to work for my thesis. However, I wasn't able to work it out, so put it aside until I had more time to look into it. This message has prompted me to look at it again. Unfortunately I'm having problems, and I don't know enough to fix them. I followed the instructions given, assuming it should work without changing anything. I inserted the preamble text, exactly as below. I put those two lines into an ERT block and put the BibTex bibliography into a Lyx note. Then I typed some text and inserted a citation from my database (created in Pybliographer), and attempted to view the document I had created as DVI (although I get the same problems if viewing as PDF as well). I'm getting the following error: >! LaTeX Error: Option clash for package jurabib. > >l.27 \renewcommand > {\cite}{\footcite} >The package jurabib has already been loaded with options: > [] >There has now been an attempt to load it with options > [titleformat=italic,titleformat=commasep,commabeforerest,ibidem=strict,citefu >ll=first,lookat,oxford,pages=format,idem] >Adding the global options: > ,titleformat=italic,titleformat=commasep,commabeforerest,ibidem=strict,citefu >ll=first,lookat,oxford,pages=format,idem >to your \documentclass declaration may fix this. >Try typingto proceed. At the moment my document class is book. I'd follow the instructions in the error - but I'm not sure where to add the global options specified or how to format it correctly if I do. (Actually, in the Document>Settings dialogue, there's an extra field in the Document Class section for 'Extra Options'. I added the line under 'global options' (the one starting ,titleformat=) to this field, but this hasn't fixed the error.) I'm using Lyx 1.4.1, jurabib 0.6 on Ubuntu Linux 5.1. Could anyone please explain how to fix this issue - I feel that I am just a little bit closer to getting lyx and jurabib working together as I need them to. Thanks very much, Jacob Campbell. Quoting Anders Dahnielson <[EMAIL PROTECTED]>: > Hi folks! > > I'm new to the users list but not that new to LyX and LaTeX. > > While trying to figure out how to use jurabib [1] for humanities and LyX > this morning I found this > half-elegant-workaround-hackish-style-solution-thingy. I don't know if it > been reported before, tried to search the archives but couldn't find > anything similar, so I decided to write it up as a blog post [2]. > > Thought maybe also people on this list wanted to know about it, so here it > is. > > First I include the following in the preamble to control the citation style: > > > \usepackage{babel} > \usepackage[% > titleformat=italic,% > titleformat=commasep,% > commabeforerest,% > ibidem=strict,% > citefull=first,% > lookat,% > oxford,% > pages=format,% > idem% > ]{jurabib} > \renewcommand{\cite}{\footcite} > > This is just an example style using the latest version of jurabib ( v0.6). > > Because I'm not going to use the regular bibliography formating but jurabibs > footnotes I must insert the following code in the document, presumably last, > using Insert > TeX Code and put the following in the ERT block: > > \bibliographystyle{jox}% > \nobibliography{jbtest} > > But this alone will not make it possible to use the LyX support for looking > up and inserting citation. To enable that I must also insert a regular > BibTex Bibliograhy as usual and select the BibTex database to be used. Of > course this will give me a regular bibliography at the end of the document > (or wherever I decided to insert it). Since that bibliography is only a > concern for LyX and not the final LaTeX document I've come up with an rather > elegand solution: Put the BibTex Bibliography in a LyX Note block! That way > LyX will still find the BibTex database but the \bibliography code it > generate will never reach the LaTeX processor. > > The hiding only works in LyX 1.4! In LyX 1.3.6 you need to have the BibTeX > Bibliography block outside any notes. The problem is that you will end up > with an empty bibliography list and a header. To remove it I insert the > following code in an ERT block right before the BibTeX Bibliography: > > \renewcommand\refname{} > > For articles, or the following for reports and books: > > \renewcommand\bibname{} > > This remove the header, there is still an extra empty page. Less smooth but > it works too. Or just upgrade to LyX 1.4. > > [1] http://www.jurabib.org > > [2] http://www.dahnielson.com/2006/05/lyx-and-jurabib.html > > -- > Anders Dahnielson > <[EMAIL PROTECTED]> >
LyX and jurabib
Hi folks! I'm new to the users list but not that new to LyX and LaTeX. While trying to figure out how to use jurabib [1] for humanities and LyX this morning I found this half-elegant-workaround-hackish-style-solution-thingy. I don't know if it been reported before, tried to search the archives but couldn't find anything similar, so I decided to write it up as a blog post [2]. Thought maybe also people on this list wanted to know about it, so here it is. First I include the following in the preamble to control the citation style: \usepackage{babel} \usepackage[% titleformat=italic,% titleformat=commasep,% commabeforerest,% ibidem=strict,% citefull=first,% lookat,% oxford,% pages=format,% idem% ]{jurabib} \renewcommand{\cite}{\footcite} This is just an example style using the latest version of jurabib ( v0.6). Because I'm not going to use the regular bibliography formating but jurabibs footnotes I must insert the following code in the document, presumably last, using Insert > TeX Code and put the following in the ERT block: \bibliographystyle{jox}% \nobibliography{jbtest} But this alone will not make it possible to use the LyX support for looking up and inserting citation. To enable that I must also insert a regular BibTex Bibliograhy as usual and select the BibTex database to be used. Of course this will give me a regular bibliography at the end of the document (or wherever I decided to insert it). Since that bibliography is only a concern for LyX and not the final LaTeX document I've come up with an rather elegand solution: Put the BibTex Bibliography in a LyX Note block! That way LyX will still find the BibTex database but the \bibliography code it generate will never reach the LaTeX processor. The hiding only works in LyX 1.4! In LyX 1.3.6 you need to have the BibTeX Bibliography block outside any notes. The problem is that you will end up with an empty bibliography list and a header. To remove it I insert the following code in an ERT block right before the BibTeX Bibliography: \renewcommand\refname{} For articles, or the following for reports and books: \renewcommand\bibname{} This remove the header, there is still an extra empty page. Less smooth but it works too. Or just upgrade to LyX 1.4. [1] http://www.jurabib.org [2] http://www.dahnielson.com/2006/05/lyx-and-jurabib.html -- Anders Dahnielson <[EMAIL PROTECTED]>
Re: Lyx and jurabib : message to coders
Jade wrote: > > I saw that in lyx 1.2.0 there was some support for the natbib package. > > In the next version if someone would like to include other packages like > jurabib, it would be really really cool. [...] I agree completely. Lacking jurabib support is a shame. jurabib makes handlign citations in lawe and humanities a breeze. Unfortunately lyx is created by and therefore intended mainly for technically inclined people. > the jurabib package seems cool (all of those features included) if it > worked... I am currently using jurabib with lyx on my thesis and it works fine. Of course lyx does not support any of the cool features of jurabib, so I have to use ERT to cite commentaries. \cite[page ยง][author]{bibkey} All lyx would have to do is support a second optional argument for citations. How hard can it be? -- Moritz Moeller-Herrmann ICQ #3585990 (wiss. Mitarbeiter, IMGB, Mannheim)
Re: Lyx and jurabib : message to coders
I saw that in lyx 1.2.0 there was some support for the natbib package. In the next version if someone would like to include other packages like jurabib, it would be really really cool. This problem is really important for europeen users because not everyone uses US conventions for bibliographic style (to use [1] and the bibliography at the end). For a lot of persons specially in litterature or law fields we HAVE to put each time the correct bibliographic reference on a foot note (that means each time I quote someone I have to write : "author(s), book title, editor, page..." on a foot note ... and it's really boring without an automatic process). Maybe Lyx would be used in other fields (history, geographics, litterature, law...) if it supported such conventions. the jurabib package seems cool (all of those features included) if it worked... I have a few friends interested in Lyx for their thesis, but because of this US bibliographic style, it's not usable (and they are not technically competent enough to hack the code). By, Jade > >>>Anyone elese an idea ? > >> > >>Run LaTeX twice in the beginning, then BibTeX, then LaTeX again. > > > > I still got the same error : > > > > %bibtex jbtest.tex > > I couldn't open file name `jbtest.tex.aux' > > latex file.tex > latex file.tex > bibtex file > makeindex file.tex if needed > latex file.tex > > Herbert
Re: Lyx and jurabib
Jade wrote: > On Wednesday 14 August 2002 11:03, Andre Poenitz wrote: > >>On Wed, Aug 14, 2002 at 10:57:20AM +0200, Jade wrote: >> >>>The div file I can see, but I can't see any bibliographic reference. >>>They're replaced by "?", so it's useless... >>> >>>Anyone elese an idea ? >>> >>Run LaTeX twice in the beginning, then BibTeX, then LaTeX again. >> >> > > I still got the same error : > > %bibtex jbtest.tex > I couldn't open file name `jbtest.tex.aux' latex file.tex latex file.tex bibtex file makeindex file.tex if needed latex file.tex Herbert -- http://www.lyx.org/help/
Re: Lyx and jurabib
Jade wrote: > >>What happens if you type just >> >> 'bibtex jbtest' >> >>[without the .tex]? >> >>Andre' >> > > Here's what I've got ... > > > %bibtex jbtest > This is BibTeX, Version 0.99c (Web2C 7.2) > The top-level auxiliary file: jbtest.aux > The style file: jurabib.bst > Database file #1: jbtest.bib > Warning--Empty pages in broxja > Warning--Empty pages in eujenfrank > Warning--Empty pages in proelss > (There were 3 warnings) how does these three bibtex entries look? Herbert -- http://www.lyx.org/help/
Re: Lyx and jurabib
On Wednesday 14 August 2002 11:03, Andre Poenitz wrote: > On Wed, Aug 14, 2002 at 10:57:20AM +0200, Jade wrote: > > The div file I can see, but I can't see any bibliographic reference. > > They're replaced by "?", so it's useless... > > > > Anyone elese an idea ? > > Run LaTeX twice in the beginning, then BibTeX, then LaTeX again. > I still got the same error : %bibtex jbtest.tex I couldn't open file name `jbtest.tex.aux' % --- Th.
Re: Lyx and jurabib
On Wed, Aug 14, 2002 at 10:57:20AM +0200, Jade wrote: > The div file I can see, but I can't see any bibliographic reference. They're > replaced by "?", so it's useless... > > Anyone elese an idea ? Run LaTeX twice in the beginning, then BibTeX, then LaTeX again. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Lyx and jurabib
On Wednesday 14 August 2002 10:45, Andre Poenitz wrote: > On Wed, Aug 14, 2002 at 10:39:18AM +0200, Jade wrote: > > %bibtex jbtest > > This is BibTeX, Version 0.99c (Web2C 7.2) > > The top-level auxiliary file: jbtest.aux > > The style file: jurabib.bst > > Database file #1: jbtest.bib > > Warning--Empty pages in broxja > > Warning--Empty pages in eujenfrank > > Warning--Empty pages in proelss > > (There were 3 warnings) > > > > Any clue ? > > No. > > I would run latex again (or maybe even twice) and have a look at the .dvi > produced. > > Andre' The div file I can see, but I can't see any bibliographic reference. They're replaced by "?", so it's useless... Anyone elese an idea ?
Re: Lyx and jurabib
On Wed, Aug 14, 2002 at 10:39:18AM +0200, Jade wrote: > %bibtex jbtest > This is BibTeX, Version 0.99c (Web2C 7.2) > The top-level auxiliary file: jbtest.aux > The style file: jurabib.bst > Database file #1: jbtest.bib > Warning--Empty pages in broxja > Warning--Empty pages in eujenfrank > Warning--Empty pages in proelss > (There were 3 warnings) > > Any clue ? No. I would run latex again (or maybe even twice) and have a look at the .dvi produced. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Lyx and jurabib
Hello, Thaks for your quick answer ! > What happens if you type just > > 'bibtex jbtest' > > [without the .tex]? > > Andre' Here's what I've got ... %bibtex jbtest This is BibTeX, Version 0.99c (Web2C 7.2) The top-level auxiliary file: jbtest.aux The style file: jurabib.bst Database file #1: jbtest.bib Warning--Empty pages in broxja Warning--Empty pages in eujenfrank Warning--Empty pages in proelss (There were 3 warnings) Any clue ? ---
Re: Lyx and jurabib
On Wed, Aug 14, 2002 at 10:28:49AM +0200, Jade wrote: > LaTeX Warning: Citation `medicus' on page 1 undefined on input line 92. > LaTeX Warning: Citation `jbtesturl' on page 2 undefined on input line 106. > > [CUT, a lot of warnings...] > > [2] (jbtest.aux) > LaTeX Warning: There were undefined references. > ) > Output written on jbtest.dvi (2 pages, 1440 bytes). > Transcript written on jbtest.log. So everything is fine up to here. > %bibtex jbtest.tex > I couldn't open file name `jbtest.tex.aux' What happens if you type just 'bibtex jbtest' [without the .tex]? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Lyx and jurabib
Hello, I'm trying to get Jurabib to work with lyx (http://www.jurabib.org/) but there's no way to make it work. Has anyone an idea if similar package exists - but that can be installed ? I'm using freebsd 4.6 stable, here's what doesn't work : As said in the documentation I install the package : % latex jurabib.ins # cp ./*.sty /usr/local/share/texmf/tex/latex/jurabib # cp ./*.ldf /usr/local/share/texmf/tex/latex/jurabib # cp ./*.bst /usr/local/share/texmf/bibtex/bst/jurabib # cp ./*.bib /usr/local/share/texmf/bibtex/bib/jurabib # texhash texhash: Updating /usr/local/share/texmf/ls-R... texhash: Updating /var/tmp/texfonts/ls-R... texhash: Done. then : % latex jbtest.tex This is TeX, Version 3.14159 (Web2C 7.2) (jbtest.tex LaTeX2e <2000/06/01> (/usr/local/share/texmf/tex/latex/book.cls Document Class: book 2000/05/19 v1.4b Standard LaTeX document class (/usr/local/share/texmf/tex/latex/bk12.clo)) (/usr/local/share/texmf/tex/latex/inputenc.sty (/usr/local/share/texmf/tex/latex/latin1.def)) (jurabib.sty (/usr/local/share/texmf/tex/latex/ifthen.sty) (/usr/local/share/texmf/tex/latex/calc.sty) (/usr/local/share/texmf/tex/latex/keyval.sty) (/usr/local/share/texmf/tex/latex/misc/url.sty) (/usr/local/share/texmf/tex/latex/array.sty) Package jurabib Info: *** Local config file `jurabib.cfg' used *** (jurabib.cfg)) No file jbtest.aux. (enjbbib.ldf) No file jbtest.bbl. LaTeX Warning: Citation `medicus' on page 1 undefined on input line 92. LaTeX Warning: Citation `jbtesturl' on page 2 undefined on input line 106. [CUT, a lot of warnings...] [2] (jbtest.aux) LaTeX Warning: There were undefined references. ) Output written on jbtest.dvi (2 pages, 1440 bytes). Transcript written on jbtest.log. %bibtex jbtest.tex I couldn't open file name `jbtest.tex.aux' % - Has anyone a clue, why It doesn't work, neither with Lyx, neither by hand. If anyone knows a package that does the same thing that jurabib, thaks to drop me a mail. By, Jade