Skip to main content

Bibliographic Software and Standards Information - OpenOffice...

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

Bookmark History

Saved by 17 people (8 private), first by anonymouse user on 2006-08-05


Public Sticky notes

OpenOffice/KBibTex/LyX/oolatex

The current way to create a bibliography in OOo makes it too difficult to produce a nicely formatted bibliography (at least it's too difficult for me). After trying a lot of the other alternatives, I found a way that works for me using KBibTex to create a BibTex database, LyX to create a nicely formatted bibliography, and oolatex to produce an OpenOffice .odt version of the LyX bibliography. First, use KBibTex to create the database (with your choice of formatting sytle) and export a BibTex database. Then open LyX and add a BibTex database. You have to add citations in order for the bibliographic entries to appear in the References or Bibliography. Export this to a latex file (either pdflatex or plain). Then we need to compile the latex - this takes several passes to resolve all the references. If the latex file is named "newfile1.tex", then use the following steps:


#Compiling Latex file with BibTex bibliography

#Takes several passes to resolve references

#Use LyX to create document, export to latex

latex newfile1.tex

bibtex newfile1

latex newfile1.tex

latex newfile1.tex

# Now convert to .odt

oolatex newfile1

# Open the .odt in OpenOffice

openoffice.org-2.1 --writer newfile1.odt &


At this point you should have a nicely formatted bibliography that you can paste into your OpenOffice document. An OpenOffice bibliographic database has been created using a user-defined format (thanks to oolatex).

Alternatively, you can use latex2rtf to create an .rtf version of the bibliography and open this in OpenOffice. My experience, however, is that it is not as nicely formatted:


latex2rtf newfile1


But of course, you can output an .rtf directly from KBibTex.

I did try to get LyX to export the .odt directly and I could swear I had it working (adding a new file format and a new converter in the Tools | Preferences) but I couldn't repeat it. LyX came with a set up for creating the older .swx format file - but this didn't seem to work. But the manual method outlined above works consistently.

--Rabil 19:35, 14 January 2007 (CET)

Highlighted by gibarian