From 6819369f12a2e0e02d2279528e4b73fef648b9a4 Mon Sep 17 00:00:00 2001 From: Francis Russell Date: Tue, 29 Nov 2011 11:10:40 +0000 Subject: [PATCH] Add TeX4ht build script. --- convert_tex4ht | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 convert_tex4ht diff --git a/convert_tex4ht b/convert_tex4ht new file mode 100755 index 0000000..b645b4e --- /dev/null +++ b/convert_tex4ht @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +# Output is XHTML, document character encoding will be UTF-8. +OPTIONS1="xhtml,charset=utf-8" + +# Yes, that first whitespace character is meant to be there. +# unicode support, generate unicode characters instead of escape codes, environment file. +OPTIONS2=" -cunihtf -utf8" + +mk4ht xhlatex ./relat10.tex "${OPTIONS1}" "${OPTIONS2}" +ebook-convert relat10.html "Einstein - Relativity.mobi" -- 2.47.3