summaryrefslogtreecommitdiff
path: root/support/tex4ebook/tex4ebook.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'support/tex4ebook/tex4ebook.4ht')
-rw-r--r--support/tex4ebook/tex4ebook.4ht11
1 files changed, 7 insertions, 4 deletions
diff --git a/support/tex4ebook/tex4ebook.4ht b/support/tex4ebook/tex4ebook.4ht
index ce1cc86274..ade8f13ea2 100644
--- a/support/tex4ebook/tex4ebook.4ht
+++ b/support/tex4ebook/tex4ebook.4ht
@@ -146,6 +146,13 @@ href="#1" media-type="\a:CoverMimeType" />}}
\b:CoverImage%
}
+\renewcommand\epubpage{\a:epubpage}
+\NewConfigure{epubpage}{1}
+\Configure{epubpage}{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="newpage"></div>}}
+\Css{.newpage{page-break-before:always;}}
+
+
+
\NewConfigure{CoverMimeType}{1}
\Configure{CoverMimeType}{image/png}
@@ -190,13 +197,9 @@ href="#1" media-type="\a:CoverMimeType" />}}
% add explicit table of contents to OPF
\let\old:toc\a:tableofcontents
\def\a:tableofcontents{\old:toc\OpfRegisterFile}
-% Support for SVG isn't ready
-%\Configure{Picture}{.svg}
-\Configure{Picture}{.png}
\Configure{()}{$}{$}
\fi
\:CheckOption{kindle} \if:Option
-\Configure{Picture}{.png}
\fi
%%