I really like OpenOffice.org. Until now, it satisfied any of my needs quite fine. But since I am writing a book using OpenOffice.org, I found some really annoying stuff. Most annoying by now, is the problem of cross references. It happens almost in every text section, that I need to add a reference to another section of the book. For example, while writing about securing user data I want to point to the section of a database chapter, where prevention of SQL injection is explained. I basically want to add a reference like 'See section X.Y.Z, "SQL injection"'.
Just adding a simple reference, which points to another headline of the same document and automatically gets updated if the headline text or number changes, is already a pain in OpenOffice.org. Headlines are not referenceable by default, which means, that you manually need to add a reference target to each of the headlines you want to reference. If you did so, you can make openoffice insert a reference to this target.
At this point the next issue comes into place: OpenOffice.org only allows to use a very limited set of formatings for the reference to be displayed. While you can use the chapter number as a reference, it seems not to be possible to use the headline text in addition or to create your own format, like I need it. Therefore, the basic reference handling of OpenOffice.org is kinda useless for me.
Searching the web left me with 2 solutions: a) Wait for OpenOffice.org 3.0, where enhanced reference handling planned as part of the bibliographic enhancements. Sure, I just need to postpone my project for some years... b) Make use of a custom macro. The latter solution sounds much more practical to me. While I first thought this problem must be very common for authors, Google tought me the opposite. So far I only found 1 macro (see OutlineCrossRef3.sxw), which was written in 2003 and last updated in 2004. The macro at least solves parts of my problems: It provides a list of all headings in a document and, on demand, creates a reference target to one of them and inserts a reference at the current cursor position. Still remaining here: The formatting functionality does not satisfy my needs. You can specify some characters to be placed between different parts of the reference (like between the headline number and text), but still no real custom format.
I'm quite shocked that this feature, for me absolutly essentiell for writing larger documents, is almost not realized in OpenOffice.org. Or did I miss something? Is there anyone out there, who solved the issues? Or do I really have to dig into a macro language of OpenOffice.org and implement the feature on my own? Any hint welcome! Thanks in advance!
If you liked this blog post or learned something, please consider using flattr to contribute back: .
Fields with bold names are mandatory.
Thomas Koch
I felt the same pain when I wrote a document which should include a glossary at the end. I didn't found any nice and easy solution and so I went back to write the short thing in ReST.
Link to commentI'm only wondering, why you choosed OpenOffice in the first place. As you're a geek, I thought you'd use LaTex or Docbook.
OpenOffice can save as DocBook and export to LaTex though I've not yet used it.
Toby
As you might have noticed, this post is about writing a book. Therefore the publisher defines the formats to use. If I would have decided to use Latex, which was my preference at first, I would need to do all the composing work on my own, which would be much too time consuming and enoying. Therefore I decided for OpenOffice.org, since M$ Office was not an option for me.
Link to commentjeroen
Hi, same here. However now we have OOO 3.0 and you can cross link to chapters directly, but it does not work :( After generating a master doc, a lot of (some do, some don't) links loose source "chapter reference not found open office'". :( Still I think it is great software :)
Link to commentWittyblogger.com
Beware of this site, that may be linked on popular websites (search engines), Emails and stuff! Seems like they are collecting Orkut user data
Link to commentCrashBlogging.com
XML and its related technologies are ubiquitous in todays web development. PHP offers many ways to create and process XML content. This workshop will give you an overview on the most important XML extensions for PHP, focusing on the use of XPath in cooperation with them. Do you still scrape web content using regular expressions? Ever wondered you people do all those nifty operations in their XSLTs? Don't know, what axis are in terms of XPath? If you can answer any of the questions ab
Link to commentThe Sleepy Blogger
I am exploring this subject as part of a report I need to do on possible careers I might choose. Thank you for your post it has valuable information on this topic.
Link to commentGronk Crumpshaw
Has this been fixed in the OpenOffice?
Link to commentSo far, no can do this worky,
bad bad bad software malwares