Bibliographic/Hints and Tips
- 1 How do I preserve my Bibliographic Table format settings ?
- 2 I edit my citations but the changes are not applied.
- 3 How do I correct the citations in my document?
- 4 Having your bibliography index automatically numbered
- 5 How can I Join multiple references?
- 6 Converting footnotes to endnotes
- 7 How can I import or export Bibliographic data?
- 8 How to use Zotero insert citation and to format your OOo Bibliography
- 9 How do I move my Bibliographic database
- 10 I want a better thesaurus
- 11 Your question is not answered here ?
- 12 You are invited to add more Hints and Tips
How do I preserve my Bibliographic Table format settings ?
When you have done all that hard work in setting up the bibliographic table with all the field entries and formatting set to your document style, I suggest that you select and copy the Bibliographic table and save it in a other document.
The reason I suggest this is that, if you accidentally delete the Bibliographic Table, then all your work in formatting the table will be deleted too. To use your Bibliographic Table formatting in an other document, just copy that table into new document, it does not matter that the references are different, just right click over the table and select 'Update Index/Table' for it to be regenerated with that documents' citations and your previously defined Bibliographic Table format.
I edit my citations but the changes are not applied.
When you modify a citation (Bibliography Entry) by double-clicking on the citation, and selecting edit and modifying the entry. You also need to click on the 'Modify' button to apply the changes before you select the 'Close' button.
How do I correct the citations in my document?
If you have inserted a citation (Bibliography Entry) may times in a document and need to correct it. Correcting it in the database is not enough. The changes are NOT automatically made in the document. In fact each citation has complete copy of the citation data and must be correct for each citation. You have several options:
1. DuSystems has produced some software which synchronizes the bibliographic references in a Writer document with those in the bibliographic database.
2. Find each citation, delete it and reinsert it (after correcting it in the database). If you need to synchronize all your citations in the document with the ones in the database, you can use a keystroke macro recorder supporting auto-repitition of macros (e.g. JitBit Macro Recorder). Record a macro for the "Insert Bibliography Entry" dialog to insert a single bibliography entry (and clicking "Yes", if it ought to be updated), finishing with progressing to the next entry. This macro can then be applied in a repetitive manner to the dialog to synchronize all citations. However, note, that this way you may pollute your document by adding all bibliography entries from the database.
3. Find each citation, double-clicking on the citation, select edit, make the corrections, close the edit panel, click the 'Modify' button to apply the changes before you select 'Close'.
4. If you have too many citations to change in this way then you can edit the save file. Make a backup of your file. Rename your xxx.odt file xxx.zip, open the zip archive and extract the contents.xml file, open that file in a writer. Very carefully do a global find and replace for your corrections. Save the contents.xml back into the zip archive. Rename xxx.zip xxx.odt. Hoping you have not destroyed your file, open it and check.
Having your bibliography index automatically numbered
To use numbered references like e.g. , which is common for scientific documents, you can change the formatting of the reference anchors / entries in the document by setting "Number entries" under Insert->Index and Tables->Index/Table. Your actual generated bibliography however will not be automatically numbered just by checking this field. This also cannot be activated in the "Entries" dialog (while the idea of inserting the "Number" Type in front of an entry looks tempting, this will not yield the correct result). Instead, you have to activate numbering on the corresponding bibliography style. In most cases this will be "Bibliography 1". Activate "Numbering" on the Paragraph Style pane.
How can I Join multiple references?
Is there any (automatic) way to coalesce multiple bibliographic references onto a single one? I mean, something like [1-3,56,99] instead of . As far as I have seen, there is no option in OOo to do that.CP 19:40, 22 May 2006 (CEST)
Answer Yes, but not as automatically as you may like. There is an option in Inset->Indexes and Tables->Indexes and Tables:Type=Bibliography an option under the heading 'Formatting the entries' a pick-list for 'Brackets'. You can select NONE.
If you select Brackets=NONE then  becomes 1 2 3 56 99 and you can then manually insert the brackets and the commas to get the desired [1,2,3,56,99]. However there is currently no automatic support for specifying a range of citations like [1-3]. The problem is that if you manually deleted the citation 2 and put in a dash, the citation 2 may disappear from the Bibliography list if there are no other references to it. However, you could place citation 2 in a 'Hidden Paragraph' to ensure it stays in the Bibliography list for that document. See some instructions on Hidden Paragraphs. David Wilson
Converting footnotes to endnotes
It is easy to convert footnotes on the same page to endnotes at the end of the document by changing the 'Position' option on the Tools->Foot notes..->Tab=Footnotes panel.
However, if you do this, there is some good advice from Judith Butcher, Copy-Editing, The Cambridge Handbook, (Cambridge: CUP, 1975)-
"More information may have to be given in the notes now that they will not appear on the same page as the relevant text. A book title and a page number - or just a publication place and date - may be sufficient in a footnote if the other details are mentioned in the text; but it is irritating to have to keep checking back to the text from the endnotes if one is looking through the notes for a book mentioned earlier." p156
How can I import or export Bibliographic data?
OpenOffice 2.0.4 and later versions of Writer include a BibTeX export filter for citations in a document. You can access it at
File->Export->File Format='Bibtex (.bib)'.
David Wilson has written a bibliographic database filter to export the data in RIS format OOoRISExport.py . It is my first python program so is not very good but seems to work. See the wiki page OOoRISExport.py for details
If you can download/export RIS (reference manager) format references from your data source, then the utility RISImport.py may work better than a BibTeX utility. It is a Python script for importing RIS format reference(s), RISImport.py. Possibly of some value as it hashes out some RIS details on mapping between fields, and suggests "sensitive" mapping for different reference types." For more hints see How to load Zotero reference data into Openoffice below.
If this is not suitable then an option is to use a third-party bibliographic application that will export to an OpenOffice Bibliographic database in the text bibliographic database CSV format. (OpenOffice looks for a database called Bibliography with the correct fields - it does not care what type of database it is.) I have used Jabref and B3. Bibus is another possibility. David Wilson
Avoiding duplicate bibliographic records in the database
The RISImport.py bibliographic data import program does not check for duplicates. If there is more than one bibliographic database entry with the same identifier the OOo bibliographic functions will only find the first occurrence. To avoid this confusion I suggest that you modify your database table to add unique index using the identifier as a key. This will prevent the adding of duplicate entries. Instructions on how to do this and how to increase the size of the database fields can found in HOWTO-increaseFieldSizes-V2.odt
Import from .odt-file
Q: I have an OOoWriter document containing large amount of citations and very big bibliographic table. Can I automatically add all bibliographic entries to my database? fLegmatik
A: There is no direct and simple mechanism. But there is a an indirect method - You can use the bibtex export filter mentioned below, to export the bibliographic data from you document. Then to import that BibTeX data into the database you could use the bibutils data conversion programs and method also described below. I have not tested this very well so I do not know how accurate the conversion process will be. David Wilson
Importing bibtex (or other) formats to the Bibliography manager using JabRef
This was a better solution for me than the scripts mentioned below (since I am on a windows machine and couldn't get them to work anyway). This is described in the JabRef documentation (http://jabref.sourceforge.net/help/OpenOfficeHelp.html) and works well. Note - I had a problem with exporting to the spreadsheet because of a random character having slipped into my bibtex file. If the export doesn't work - check the records for wierd chars and delete them.
See Documentation/Reference/Bibtex-Bibliography_Mappings for the mapping from BibTex record types to OpenOffice bibliographic types.
How to use Zotero insert citation and to format your OOo Bibliography
zotero [zoh-TAIR-oh] is a free, easy-to-use Firefox extension to help you collect, manage, and cite your research sources. It lives right where you do your work — in the web browser itself. It currently works with the development branch for Zotero (]). It is available from . Thanks to the University of Southern Queensland for financial assistance with this project. See Peter Sefton's article Zotero bibliographic plugin released for Word and OpenOffice.org Writer
How do I move my Bibliographic database
The data base file is called biblio.dbf and it is located on my linux system in the directory:
C:\Program Files\OpenOffice.org x.x.x\presets\database
So importing the bibliography is just a matter of copying the old biblio.dbf to the location of the new database.
To change the location of the bibliographic database, first, understand that the bibliographic application looks for a database called 'Bibliography' and a table called 'biblio' in that database. (This is why it is easy to set up the bibliographic database on an other database sever, it does not matter if it mySQL or postgres or even a text file, it is the names 'Bibliography' and 'biblio' that matter.)
In the case of the standard Xbase (.dbf) bibliographic database the "database" is actually a directory called /biblio and the "table" is a .dbf file in that directory called biblio.dbf
You can change the location of the database by using the File->New->Database wizard. Create a new database called, say 'Bibliography-new'
Then using the menu option-
You should now have at least two databases listed, the original Bibliography and Bibliography-new. In that Panel edit the original Bibliography to change its name to 'Bibliography-old' and change 'Bibliography-new' to 'Bibliography'.
I want a better thesaurus
Install wordnet and add a small shell script to set the WNHOME and working directory and to pass on the selected word as a parameter (that is what the $1 does).
#!/bin/bash # a small script file called my_wnb at /home/dnw/my_wnb WNHOME=/usr/local/WordNet-2.1 cd /usr/local/WordNet-2.1/bin /usr/local/WordNet-2.1/bin/wnb $1
add the following OOBasic macro into OpenOffice, this macro selects the word the cursor is on and passes it to wordnet for a lookup.
Sub wordnet Dim sel As String Dim oSelect As object oSelect = thiscomponent.CurrentController.Selection for i = 0 to oSelect.getCount() - 1 oRange = oSelect.getByIndex(i) sel = oRange.String next i Shell("/home/dnw/my_wnb",1,sel) End Sub
You can then assing the macro to a toolbar, shortcut-key or menu item.
Your question is not answered here ?
Try the Bibliographic/FAQ
I feel I am going around in circles and I can not find what I need.
You could post add a question to this page or send a question to the Bibliographic Project user's mail list at firstname.lastname@example.org