SimpleTeX4ht icon

SimpleTeX4ht

LaTeX converter for macOS

What's new in the latest version?

Have a look at the release notes.

Frequently Asked Questions

Why the conversion results in a PDF file?

If your LaTeX preamble contains lines such as \usepackage[pdftex]{…}, remove the [pdftex] option before the conversion.

Another solution is to use the ifpdf package:

\usepackage{ifpdf}
\ifpdf
    \usepackage[pdftex]{}
\else
    \usepackage{…
}
\fi

Uninstall

If you wish to uninstall SimpleTeX4ht, drag the application icon to the Trash and delete the application preferences file found at ~/Library/Preferences/SimpleTeX4ht.plist where ~ is your home folder.

XeLaTeX

TeX4ht is incompatible with some XeLaTeX packages, for example xlxtra, so you must edit your preamble to not include them. See an example below.

%!TEX encoding = UTF-8 Unicode
%!TEX TS-program = xelatex
\documentclass{article}
\makeatletter
\@ifpackageloaded{tex4ht}{
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
}{
\usepackage{xltxtra}
\setmainfont{Zapfino}
}
\makeatother
\begin{document}
Do you like Zapfino?
\end{document}

LaTeX to Word?

You can to convert LaTeX to Microsoft Word using SimpleTeX4ht and OpenOffice.org.

latex To Word

  1. Drag and drop your LaTeX File to the SimpleTeX4ht window, select "Other formats" tab and verify that OpenDocument radio button is checked.

    OOo

  2. Click "Convert" button. SimpleTeX4ht converts your LaTeX file to OpenDocument (.odt).

    converting

  3. Open the .odt file with OpenOffice.org and choose "Save As…" in File menu. Select Microsoft Word 97/2000/XP (.doc) and click "Save" button.

    dialog