2.1 LibreOffice

LibreOffice is not considered an end point as it does not provide any specific access benefits over other formats. For users requiring a standard font editable format, who are able to use mouse and keyboard and to select standard sized icons in the display BaKoMa (using the standard LaTeX  file) is recommended, see section 3.5. For users who require an editable format which is more flexible Microsoft Word paired with MathType is recommended. LibreOffice is required to import the output of TeX4ht and then export a docx format.

Installation

LibreOffice should be downloaded from:

Usage

Given a standard LaTeX  file file.tex one output of the processed described in section 1.2 is a file ODTfile.odt in LibreOffice format. Microsoft Word can open this format but the equations and structure would be lost. Instead we use LibreOffice to transform the file. If the input file has a substantial number of equations each step below may take a long time to complete and it may appear that LibreOffice is not responding. It will eventually finish if left!

  1. Open ODTfile.odt with LibreOffice.

  2. Correct headings styles:

    • File $\rightarrow $ Find and replace

    • Click on “More options”

    • Check the box “Search for styles”

    • In the first input box find “Heading-2”, in the second “Heading 2”; click “Replace all” and then “Yes”. Repeat this step for heading levels 3 and 4. Then click “Close”.

  3. Update contents page: Locate the contents page, right click and select “Update field”. If file.tex used the description environment it may appear that the contents page now contains incorrect entries. Word will correct this.

  4. File $\rightarrow $ save.

  5. File $\rightarrow $ save as. Select file type OpenOffice XML format (docx). Wait until saved then close.

  6. If your original contained images they will not have been correctly copied into the new format. Open the odt file again and repeat the “save as” step. This will now include the images.

The final processing of the docx file is described in the MathType section 2.2.