I'm not able to make tex4ebook to work with even the simplest document.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\begin{document}
\section{section 1}
this is a test
\end{document}
when I run tex4ebook filename.tex I get:
filename.tex:1: unexpected symbol near '\'
What is wrong?
Some further information
I have installed make4ht into the main texmf tree:
~/texlive/2014/texmf-dist/scripts/lua/make4ht/
then linked the make4ht file into the PATH directory so that it can be invoked.
Now if I try make4ht filename.tex I get:
~/texlive/2014/bin/x86_64-linux/make4ht:11: module 'make4ht-lib' not found:
no field package.preload['make4ht-lib']
[kpse lua searcher] file not found: 'make4ht-lib'
[kpse C searcher] file not found: 'make4ht-lib'
While if I issue tex4ebook filename I get the same result as before.
tex4ebook? your sample compiles fine for me. Could you post here complete terminal output? – michal.h21 Oct 20 '14 at 10:40make4htinstalled? do you get the same error withmake4ht filename.tex? – michal.h21 Oct 20 '14 at 10:58ln -s \kpsewhich -var-value TEXMFHOME`/scripts/lua/make4ht/make4ht /usr/bin/make4ht` – michal.h21 Oct 20 '14 at 11:39~/texmf– michal.h21 Oct 20 '14 at 11:41texhashcommand to update TeX name database? it is not needed in local texmf, but in system texmf it is – michal.h21 Oct 20 '14 at 12:18make4ht filenameI get ano field package.preload['make4ht-lib']etc. error. – skey Oct 20 '14 at 12:42ldd make4ht? – Oct 20 '14 at 13:20make4htand thentex4ebook, then run your MWE -- there were no problems, so I can't reproduce your problems, sorry – Oct 20 '14 at 13:52module 'make4ht-lib' not found:that you got. – Nasser Jun 21 '15 at 07:53