Monday, February 10, 2020

aborted attempt to create html / doc / rtf file from LaTEX

The recommended way to export LaTEX from overleaf to epub or such ebook formats is to create a html / doc / rtf file first. But both latex2rtf as well as htlatex failed to convert my document out of the box.

latex2rtf was easy to install with apt-get install, but it aborted the conversion with Error! Could not find <\end{refsection}>.

htlatex - gave a few errors, which were corrected by installing the required packages as below. But the final output html still had jumbled equations. Not prettily bitmapped ones. In short,

gave
which pointed to

"A command of the form ‘htlatex filename "html,word" "symbol/!" "-cvalidate"’ asks for HTML output tuned toward MicroSoft Word. Such a format, however, relies on bitmaps for mathematical formulas."

texlive-latex-base
LaTeX Error: File `etoolbox.sty' not found
sudo apt-get install texlive-latex-extra

sudo apt-get install texlive-science




sudo apt-get install texlive-fonts-recommended

Package minted Error: You must invoke LaTeX with the -shell-escape flag.




No comments:

Post a Comment