I want to convert a (quite complex) LaTeX file to epub using pandoc with:
pandoc -S file.tex -o file.epub
I have not used markdown in the creation of the tex file, however. When I, now, check the generated epub file I see that all hyperlinks (made by hyperref) are broken and thinks like this appear instead:
Fig. [fig:initial_model], s. Table [tab:dis-advantages] or chapter [ch:findings].
A check of the epub file displays the following error message:
Non-registered URI scheme type found in href.
What can I do about it?
tex4ebook filename. it will create epub2 file by default. You shouldn't need to change your TeX file, unless you use some package which isn't supported bytex4ht(whichtex4ebookuses for LaTeX to html conversion) – michal.h21 Sep 01 '15 at 19:12Undefined control sequenceerror for\tightlistduringmake. Here seems to be a solution but I do not know if and how this would function with installingtex4ebookmanually. – Til Hund Sep 01 '15 at 21:30\tighlistseems to be included bypandoc. solution from the linked question should work, I think – michal.h21 Sep 02 '15 at 06:36\hyperdef{}{chap-one}{\chapter{One}}\label{chap-one}and\hyperref[chap-one]{One}as pandoc does when converting from Markdown, as described here. Maybe you can find some relevanthypersetupswitches in the default LaTeX template (pandoc -D latexas well. – Tobias Kienzler Dec 11 '15 at 11:48