Posts Tagged ‘OpenOffice’

LyXing the Problem

Wednesday, 16 March 2011

Last night and this morning, I used Writer2LAΤΕΧ to export the notes for my principal paper-in-progress from ODT format to a LAΤΕΧ file, imported that into LyX, and then spent some time cleaning things. This was in an attempt, which looks fairly successful, to overcome the problem that I now have of OpenOffice under RHEL failing to render various mathematical characters.

The results for the formulæ are not really WYSIWYG (nor does LyX seek to offer exactly a WYSIWYG display of formulæ), but they are close enough that, as I look at them, I don't have to spend most of my time thinking about the mark-up rather than thinking about the theoretical constructs that they are supposed to represent. (In fact, I'm one of those folk who prefers to word-process with the non-printing characters represented, and I'm quite comfortable with most of the extra stuff here in the representation of formulæ.) The symbols that I want are being rendered nicely, with the notable (but not egregious) exception of a symbol for definitional equality which is presently displayed as \defeq. (It's defined in a LAΤΕΧ document preamble as \stackrel{\mathrm{def}}{=}.)

I still have to learn more of my way around LyX but, barring some unexpected remedial action on the part of OpenOffice programmers, I will probably migrate to LyX for the production of technical documents.

Font Frustration

Friday, 11 February 2011

One or more persons have wandered to this 'blog searching with

openoffice weak preference symbol

which touches on the font-fallback problem that I mentioned in my previous entry.

The symbols that one would typically encounter or want to use when talking about preference are

symboltypical meaning
in decision theory
is strictly preferred to


is weakly preferred[1] to
is not less preferred than
is indifferent with
is not indifferent with
is not preferred to


is weakly less preferred[2] than
is strictly less desired than

[Up-Date (2011:04/05): I have since uploaded a more complete table, including symbols, Unicode values, and LAΤΕΧ code, in the form of a PDF file.]

Now, it used to be that, when running OpenOffice under Red Hat Enterprise Linux, I had no problem using the symbols of my choice from amongst those on the table above. But when I up-dated to RHEL 6.0, the OpenOffice formula editor stopped properly rendering any of the above except .[3]

For the formulæ that I'd previously entered, I'd specified a font either of Times New Roman or of Liberation Serif. The files for neither of these fonts actually contain the symbols above, but OpenOffice and RHEL are supposed to coöperate to effect font-fallback, and draw the characters from the files for some similar font or fonts. The software had been doing this, but with the up-date to RHEL 6.0 it is not.

This isn't a particulary great problem for new formula; I would just need to change the configuration of the formula editor to use some font that has the desired symbols; one could even play specifically with the formula editor's catalog, so that just those symbols would be rendered with that font, and some preferred font could be used for everything else.

But one of the serious, long-standing deficiencies of the OpenOffice formula editor is that there isn't a way to globally change the settings for all formulæ which have already been entered into a document. I have literally hundreds of preëxisting formulæ, for each of which the editor would have to be individually reconfigured, to fix things within OpenOffice. Right now, my best option seems to be to export the relevant documents to ΤΕΧ or to LAΤΕΧ, and to proceed with a plain-text editor!

Red Hat has responded to my bug-report as if it were a request for enhancement; since they hadn't planned any near-term enhancements in the versions that they distribute of OpenOffice or of fontconfig (with which OpenOffice would handle font-fallback), they refuse to address the bug. OpenOffice.org, meanwhile, is aware that OpenOffice doesn't handle font-fallback properly, and aware that it ought to be possible to reconfigure the formula editor globally within a document, but had invested its hopes in the editor's using a specific font, OpenSymbol, to provide mathematical characters. That font doesn't have any of the characters above, except perhaps .


[1] The relation of weak preference is one of being either more desirable or equally desirable, rather than one of necessarily being just a little more desirable. On the assumption that preferences are a complete ordering, weak preference is equivalent to being not less desirable.

[2] This relation is one of being either less desirable or equally desirable, rather than one of necessarily being just a little less desirable. On the assumption that preferences are a complete ordering, this relation is equivalent to being not more desirable.

[3] I'd not been getting that by entering , but by using the editor mark-up sim.

Installing OpenOffice 3.3.x under Red Hat Enterprise Linux 6.x

Friday, 11 February 2011

If you’re actually trying to install another version of OpenOffice or under a different version of RHEL, then click on the OpenOffice tag, as there may be an entry on that other version.

Because of a font-fallback problem with the combination of RHEL 6.0 and OpenOffice 3.2 or 3.3, I am considerably less happy with OpenOffice and more unhappy with Red Hat. But a fair number of the visits to this 'blog are by people looking to install OpenOffice on RHEL, so this entry updates my suggested procedure for installing OpenOffice 3.2.x under RHEL 6.x:

  1. If you don't have a JRE installed, then install one. As I write, Sun is at update 23 (while OpenOffice is at update 22), but check with Sun for a more recent version when you are installing OpenOffice. (I suggest that one use jdk-6uxx-linux-xxx-rpm.bin or jre-6uxx-linux-xxx-rpm.bin, rather than jre-6uxx-linux-xxx.bin.) The remainder of these instructions assume that one has a JRE installed.

  2. Remove any earlier installation of OpenOffice. As root, enter these three commands:

    rpm -qa | grep openoffice | xargs rpm -e --nodeps
    rpm -qa | grep ooobasis | xargs rpm -e --nodeps
    rpm -qa | grep fake-db | xargs rpm -e --nodeps

  3. Unpack OOo_3.3.x_Linux_x86_install_wJRE_en-US.tar.gz or OOo_3.3.x_Linux_x86-64_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.

  4. Go into resulting OOO33x_mxx_native_packed-x_en-US.xxxx/RPMS/ (or to the OOO33x_mxx_native_packed-x_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).

  5. As root, run these three commands

    find . -maxdepth 1 -name "o*.rpm" | xargs rpm -U
    rpm -U desktop-integration/openoffice.org*-redhat-menus-*.noarch.rpm
    rpm -U userland/*.rpm

  6. Tell OpenOffice which JRE to use:

    • Launch OpenOffice:
      /usr/bin/openoffice.org3
    • Select
      Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
    • Choose one of the environments that is then listed.
    • Click the OK button.
    • Shut-down OpenOffice. (The selection of JRE will be in effect upon next launch.)

Installing OpenOffice 3.2.x under Red Hat Enterprise Linux 6.x

Friday, 12 November 2010

If you’re actually trying to install another version of OpenOffice or under a different version of RHEL, then click on the OpenOffice tag, as there may be an entry on that other version.

My suggested procedure for installing OpenOffice 3.2.x under RHEL 6.x is essentially the same, mutatis mutandis, as that for installing OpenOffice 3.2.x under RHEL 5.x.:

  1. If you don't have a JRE installed, then install one. As I write, Sun is at update 22 (while OpenOffice is at update 20), but check with Sun for a more recent version when you are installing OpenOffice. (I suggest that one use jdk-6uxx-linux-xxx-rpm.bin or jre-6uxx-linux-xxx-rpm.bin, rather than jre-6uxx-linux-xxx.bin.) The remainder of these instructions assume that one has a JRE installed.

  2. Remove any earlier installation of OpenOffice. As root, enter these three commands:

    rpm -qa | grep openoffice | xargs rpm -e --nodeps
    rpm -qa | grep ooobasis | xargs rpm -e --nodeps
    rpm -qa | grep fake-db | xargs rpm -e --nodeps

  3. Unpack OOo_3.2.x_LinuxIntel_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.

  4. Go into resulting OOO32x_mxx_native_packed-x_en-US.xxxx/RPMS/ (or to the OOO32x_mxx_native_packed-x_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).

  5. As root, run

    find . -maxdepth 1 -name "o*.rpm" | xargs rpm -U

  6. As root, run

    rpm -U desktop-integration/openoffice.org*-redhat-menus-*.noarch.rpm
    (NB: You may need to log-out and back-in for the Applications menu to be up-dated and list the latest OpenOffice components. Your previous version may continue to be listed on the menu.)

  7. As root, run

    rpm -U userland/*.rpm

  8. Tell OpenOffice which JRE to use:

    • Launch OpenOffice:
      /usr/bin/openoffice.org3
      (It may not be listed on the applications menu unless you have logged-out and back-in. Before then, you may be able to launch it from the menu by way of a listing for a previous version.)
    • Select
      Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
    • Choose one of the environments that is then listed.
    • Click the OK button.
    • Shut-down OpenOffice. (The selection of JRE will be in effect upon next launch.)

Installing OpenOffice 3.2.x under Red Hat Enterprise Linux 5.x

Tuesday, 16 March 2010

If you’re actually trying to install another version of OpenOffice, then click on the OpenOffice tag, as there may be an entry on that other version.

My suggested procedure for installing OpenOffice 3.2.x under RHEL 5.x is essentially the same, mutatis mutandis, as that for installing OpenOffice 3.1.x:

  1. If you don't have a JRE installed, then install one. As I write, OpenOffice and Sun are in-synch at update 18, but check with Sun for a more recent version when you are installing OpenOffice. (I suggest that one use jdk-6uxx-linux-xxx-rpm.bin or jre-6uxx-linux-xxx-rpm.bin, rather than jre-6uxx-linux-xxx.bin.) The remainder of these instructions assume that one has a JRE installed.

  2. Remove any earlier installation of OpenOffice. As root, enter these three commands:

    rpm -qa | grep openoffice | xargs rpm -e --nodeps
    rpm -qa | grep ooobasis | xargs rpm -e --nodeps
    rpm -qa | grep fake-db | xargs rpm -e --nodeps

  3. Unpack OOo_3.2.x_LinuxIntel_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.

  4. Go into resulting OOO32x_mxx_native_packed-x_en-US.xxxx/RPMS/ (or to the OOO32x_mxx_native_packed-x_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).

  5. As root, run

    find . -maxdepth 1 -name "o*.rpm" | xargs rpm -U

  6. As root, run

    rpm -U desktop-integration/openoffice.org*-redhat-menus-*.noarch.rpm
    (NB: You may need to log-out and back-in for the Applications menu to be up-dated and list the latest OpenOffice components. Your previous version may continue to be listed on the menu.)

  7. As root, run

    rpm -U userland/*.rpm

  8. Tell OpenOffice which JRE to use:

    • Launch OpenOffice:
      /usr/bin/openoffice.org3
      (It may not be listed on the applications menu unless you have logged-out and back-in. Before then, you may be able to launch it from the menu by way of a listing for a previous version.)
    • Select
      Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
    • Choose one of the environments that is then listed.
    • Click the OK button.
    • Shut-down OpenOffice. (The selection of JRE will be in effect upon next launch.)

Installing OpenOffice 3.1.x under Red Hat Enterprise Linux 5.x

Monday, 8 June 2009

If you’re actually trying to install another version of OpenOffice, then click on the OpenOffice tag, as there may be an entry on that other version.

My suggested procedure for installing OpenOffice 3.1.x under RHEL 5.x is essentially the same, mutatis mutandis, as that for installing OpenOffice 3.0.x:

  1. If you don't have a JRE installed, then install one. Version 1.6.0 update 13 of the JRE was distributed with OpenOffice 3.1.0 when Sun was already at update 14. As I write, OpenOffice and Sun are in-synch at update 16, but check with Sun for a more recent version when you are installing OpenOffice. (I suggest that one use jdk-6uxx-linux-xxx-rpm.bin or jre-6uxx-linux-xxx-rpm.bin, rather than jre-6uxx-linux-xxx.bin.) The remainder of these instructions assume that one has a JRE installed.

  2. Remove any earlier installation of OpenOffice. As root, enter these two commands:

    rpm -qa | grep openoffice | xargs rpm -e --nodeps
    rpm -qa | grep ooobasis | xargs rpm -e --nodeps

  3. Unpack OOo_3.1.x_LinuxIntel_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.

  4. Go into resulting OOO31x_mxx_native_packed-x_en-US.xxxx/RPMS/ (or to the OOO31x_mxx_native_packed-x_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).

  5. As root, run

    find . -maxdepth 1 -name "o*.rpm" | xargs rpm -U

  6. As root, run

    rpm -U desktop-integration/openoffice.org*-redhat-menus-*.noarch.rpm
    (NB: You may need to log-out and back-in for the Applications menu to be up-dated and list the latest OpenOffice components. Your previous version may continue to be listed on the menu.)

  7. As root, run

    rpm -U userland/*.rpm

  8. Tell OpenOffice which JRE to use:

    • Launch OpenOffice:
      /usr/bin/openoffice.org3
      (It may not be listed on the applications menu unless you have logged-out and back-in. Before then, you may be able to launch it from the menu by way of a listing for a previous version.)
    • Select
      Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
    • Choose one of the environments that is then listed.
    • Click the OK button.
    • Shut-down OpenOffice. (The change will be in effect upon next launch.)

NB: This entry was editted on 2009:09/13, to make it compatible with OpenOffice version 3.1.1, and otherwise to improve the instructions. One of the improvements reflects the discussion in the first two comments to this entry.

Launching OpenOffice under Red Hat Enterprise Linux

Monday, 20 October 2008

I notice that a number of people have found their ways to this 'blog because they've installed OpenOffice under RHEL, but OpenOffice doesn't seem to launch.

This is probably an SELinux issue. If so, then it should be resolved either if one goes to the directory containing libvclplug_gen680li.so.1.1 and (as root) runs

chcon -t textrel_shlib_t libvclplug_gen680li.so.1.1
to get SELinux to accept the interface, or if one up-dates to OpenOffice 3.0.0.

Installing OpenOffice 3.0.x under Red Hat Enterprise Linux 5.x

Monday, 20 October 2008

If you're actually trying to install another version of OpenOffice, then click on the OpenOffice tag, as there may be an entry on that other version.

Here's my suggested procedure for installing OpenOffice 3.0.x under RHEL 5.x:

  1. If you don't have a JRE installed, then install one. OpenOffice 3.0.0 is being distributed with JRE 1.6.0 update 7; Sun is already at update 10. (I suggest that one use jdk-6u10-linux-xxx-rpm.bin, rather than jre-6u10-linux-xxx.bin.) The remainder of these instructions assume that one has a JRE installed.

  2. Remove any earlier installation of OpenOffice. As root, enter these two commands:

    rpm -qa | grep openoffice | xargs rpm -e --nodeps
    rpm -qa | grep ooobasis | xargs rpm -e --nodeps

  3. Unpack OOo_3.0.0_LinuxIntel_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.

  4. Go into resulting OOO300_m9_native_packed-1_en-US.xxxx/RPMS/ (or to the OOO300_m9_native_packed-1_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).

  5. As root, run

    find . -maxdepth 1 -name "o*.rpm" | xargs rpm -U

  6. As root, run

    rpm -U desktop-integration/openoffice.org*-redhat-menus-*.noarch.rpm
    (NB: You will need to log-out and back-in for the Applications menu to be up-dated and list the OpenOffice components.)

  7. As root, run

    rpm -U userland/*.rpm

  8. Tell OpenOffice which JRE to use:

    • Launch OpenOffice:
      /usr/bin/openoffice.org3
      (It will not be listed on the applications menu unless you have logged-out and back-in.)
    • Select
      Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
    • Choose one of the environments that is then listed.
    • Click the OK button.
    • Shut-down OpenOffice. (The change will be in effect upon next launch.)

There do not appear to be any issues with SELinux this time. I didn't have to use chcon on anything to get OpenOffice working.

NB: This post was edited on 2009:09/13, to improve the procedure, though most readers should not be installing version 3.0.x, as version 3.1.1 is available.

Installing OpenOffice 2.4.x under Red Hat Enterprise Linux 5.x

Monday, 7 April 2008

If you’re actually trying to install another version of OpenOffice, then click on the OpenOffice tag, as there may be an entry on that other version.

OpenOffice 2.4 has been released. Users of Red Hat Enterprise Linux 5.x should not run the setup routine. Instead

  1. Uninstall any existing installation. If you have yum, then as root run
    yum remove openoffice.org-*
    If you must or would rather use rpm then use the command
    rpm -qa | grep openoffice | xargs rpm -e --nodeps
  2. Unpack OOo_2.4.0_LinuxIntel_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.
  3. Go into resulting OOH680_m12_native_packed-1_en-US.xxxx/RPMS/ (or to the OOH680_m12_native_packed-1_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).
  4. As root, if you don't have a more recent version of a JRE than 6u4, then run
    rpm -U *.rpm
    otherwise run
    rpm -U openoffice*.rpm
  5. As root, run
    rpm -U desktop-integration/openoffice.org-redhat-menus-2.4-*.noarch.rpm
    (NB: You will need to log-out and back-in for the Applications menu to be up-dated and list the OpenOffice components.)
  6. Go to the directory in which libvclplug_gen680li.so.1.1 is found:
    cd /opt/openoffice.org2.4/program
  7. As root, enter the following to get SELinux to accept the interface:
    chcon -t textrel_shlib_t libvclplug_gen680li.so.1.1
  8. If you did not install the JRE above, then
    • Launch OpenOffice.
      /usr/bin/openoffice.org2.4
      (It will not be listed on the applications menu unless you have logged-out and back-in.)
    • Select
      Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
    • Choose one of the environments that is then listed.
    • Click the OK button.
    • Shut-down OpenOffice. (The change will be in effect upon next launch.)