From e106b6e821ced315588e20a20764c058d8245d73 Mon Sep 17 00:00:00 2001 From: Francis Russell Date: Tue, 29 Nov 2011 11:34:16 +0000 Subject: [PATCH] Update metadata after build. --- convert_tex4ht | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/convert_tex4ht b/convert_tex4ht index 3e30efd..6965df3 100755 --- a/convert_tex4ht +++ b/convert_tex4ht @@ -8,5 +8,8 @@ OPTIONS1="xhtml,charset=utf-8" # unicode support, generate unicode characters instead of escape codes, environment file. OPTIONS2=" -cunihtf -utf8 -e./tex4ht.env" +EBOOK_FILE="Einstein - Relativity.mobi" + mk4ht xhlatex ./relat10.tex "${OPTIONS1}" "${OPTIONS2}" -ebook-convert relat10.html "Einstein - Relativity.mobi" +ebook-convert relat10.html "${EBOOK_FILE}" +ebook-meta -a "Albert Einstein" -t "Relativity: The Special and General Theory" -d 01/12/1916 "${EBOOK_FILE}" -- 2.47.3