diff options
Diffstat (limited to 'support/tex4ebook/tex4ebook.sty')
-rw-r--r-- | support/tex4ebook/tex4ebook.sty | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/support/tex4ebook/tex4ebook.sty b/support/tex4ebook/tex4ebook.sty index 3ce94dd203..0470d9114a 100644 --- a/support/tex4ebook/tex4ebook.sty +++ b/support/tex4ebook/tex4ebook.sty @@ -1,6 +1,6 @@ % Package tex4ebook. Author Michal Hoftich <michal.h21@gmail.com> % This package is subject of LPPL license, version 1.3 -\ProvidesPackage{tex4ebook}[2016/03/31 version 0.1d] +\ProvidesPackage{tex4ebook}[2024-02-23 version v0.4] \RequirePackage{etoolbox} \RequirePackage{kvoptions} \RequirePackage{graphicx} @@ -144,12 +144,12 @@ \let\tf@orig@author\author \newcommand\tf@author[1]{% \tf@orig@author{#1}% - \def\Author{#1}% + \gdef\Author{#1}% } \newcommand\tf@optauthor[2][]{% \tf@orig@author[#1]{#2}% - \def\Author{#2}% + \gdef\Author{#2}% } % support optiona argument for \author as well @@ -162,7 +162,7 @@ \let\origdate\date \renewcommand\date[1]{% \origdate{#1}% - \let\Date\@date% + \global\let\Date\@date% } %} @@ -177,3 +177,7 @@ } \newcommand\coverimage[2][]{\includegraphics[#1]{#2}} + +\newcommand\epubpage{\clearpage} + +\endinput |