Instructions for getting OOoLatex to work with all components of OpenOffice 3 on a modern linux system (e.g. Ubuntu 10.04 / Lucid)
-compile libemf (downloaded separately; version packaged with OOoLatex doesn't compile as-is with gcc 4.4). Might need to install libtool if not already on system.
-run ldconfig to update shared library cache
-compile latex2emf (downloaded separately from OOoLatex extension)
-unzip OOolatex package (OOoLatex-4.0.0-beta-2-linux.oxt) and perform following edits:
*Addons.xcu: replace all lines like:
com.sun.star.text.TextDocument,com.sun.star.presentation.PresentationDocument
with a line like:
com.sun.star.text.TextDocument,com.sun.star.presentation.PresentationDocument,com.sun.star.drawing.DrawingDocument
*remove libEMF under lib/ (by default, OOoLatex scripts will use this over the system library you just installed)
*replace latex2emf under bin/ with the version you just compiled
-rezip up package w/ command like:
zip -r OOoLatex-4.0.0-beta-3-linux.oxt *
-install OOolatex extension (using menu in OO)
-manually add keyboard shortcut to OODraw (tools/customize)
-unzip OOoLatexFonts.zip and place contents in or under /usr/local/share/fonts
-rebuild font cache (sudo fc-cache -v /usr/local/share/fonts)