From 9edfaa6ebaa5d0e7e3df5a822c675bbe565b96e4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 11 Dec 2015 23:15:40 +0000 Subject: tex4ebook (11dec15) git-svn-id: svn://tug.org/texlive/trunk@39076 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/support/tex4ebook/README | 13 ++++++++- .../texmf-dist/doc/support/tex4ebook/changelog.tex | 31 +++++++++++++++++++++ Master/texmf-dist/doc/support/tex4ebook/readme.tex | 14 +++++++++- .../doc/support/tex4ebook/tex4ebook-doc.pdf | Bin 65558 -> 67026 bytes .../doc/support/tex4ebook/tex4ebook-doc.tex | 2 +- 5 files changed, 57 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/support/tex4ebook/README b/Master/texmf-dist/doc/support/tex4ebook/README index 55ab0a0f7d2..2514a630aca 100644 --- a/Master/texmf-dist/doc/support/tex4ebook/README +++ b/Master/texmf-dist/doc/support/tex4ebook/README @@ -99,11 +99,15 @@ but it is optional. You shouldn't need to modify your \TeX\ files : Enable shell escape in htlatex run. This may be needed if you run external commands from your source files. -t,--tidy +-t,--tidy : process output html files with `HTML tidy` command^[It needs to be installed separately]. +-v,--version +: print version number + + # Configuration `tex4ebook` uses `tex4ht`^[\url{http://www.tug.org/tex4ht/}] for conversion from LaTeX @@ -147,6 +151,13 @@ Default identifier is URI, with value `http://example.com/\jobname`. Type of unique identifier, default type is URI. It is used only in epub, it is deprecated for `epub3` + \Configure{DocumentLanguage}{language code} + +Each epub must declare the document language. It is inferred from `babel` main +language by default, but you can configure it when it doesn't work correctly. +The `language code` should be in [ISO +639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) form. + \Configure{CoverImage}{before cover image}{after cover image} By default, cover image is inserted in `
` element, diff --git a/Master/texmf-dist/doc/support/tex4ebook/changelog.tex b/Master/texmf-dist/doc/support/tex4ebook/changelog.tex index 40c7e0afc40..eb45a1fd524 100644 --- a/Master/texmf-dist/doc/support/tex4ebook/changelog.tex +++ b/Master/texmf-dist/doc/support/tex4ebook/changelog.tex @@ -1,6 +1,37 @@ \section{Changes}\label{changes} \begin{itemize} +\item + 06/12/2015 Version 0.1c + + \begin{itemize} + \itemsep1pt\parskip0pt\parsep0pt + \item + added \texttt{-{}-help} and \texttt{-{}-version} command line + options + \end{itemize} +\item + 25/11/2015 + + \begin{itemize} + \itemsep1pt\parskip0pt\parsep0pt + \item + added missing language codes + \item + added \texttt{\textbackslash{}Configure\{DocumentLanguage\}} for the + cases when document language inferencing doesn't work + \end{itemize} +\item + 17/11/2015 + + \begin{itemize} + \itemsep1pt\parskip0pt\parsep0pt + \item + use mkparams for cli arguments handling. + \item + fixed inconsistencies between recent changes in make4ht and + tex4ebook + \end{itemize} \item 24/09/2015 Version 0.1b diff --git a/Master/texmf-dist/doc/support/tex4ebook/readme.tex b/Master/texmf-dist/doc/support/tex4ebook/readme.tex index 3dc7b94e96d..01ea98348c3 100644 --- a/Master/texmf-dist/doc/support/tex4ebook/readme.tex +++ b/Master/texmf-dist/doc/support/tex4ebook/readme.tex @@ -106,9 +106,11 @@ resolution of target devices, which is usually about 167 ppi. \item[-s,--shell-escape] Enable shell escape in htlatex run. This may be needed if you run external commands from your source files. -\item[t,--tidy] +\item[-t,--tidy] process output html files with \texttt{HTML tidy} command\footnote{It needs to be installed separately}. +\item[-v,--version] +print version number \end{description} \section{Configuration}\label{configuration} @@ -162,6 +164,16 @@ Default identifier is URI, with value Type of unique identifier, default type is URI. It is used only in epub, it is deprecated for \texttt{epub3} +\begin{verbatim} +\Configure{DocumentLanguage}{language code} +\end{verbatim} + +Each epub must declare the document language. It is inferred from +\texttt{babel} main language by default, but you can configure it when +it doesn't work correctly. The \texttt{language code} should be in +\href{https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes}{ISO 639-1} +form. + \begin{verbatim} \Configure{CoverImage}{before cover image}{after cover image} \end{verbatim} diff --git a/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf b/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf index ab8150d2e06..89000dc6dad 100644 Binary files a/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf and b/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf differ diff --git a/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.tex b/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.tex index a5f75c7122d..f2437dd4907 100644 --- a/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.tex +++ b/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.tex @@ -14,7 +14,7 @@ \title{The \texttt{tex4ebook} package} \author{Michal Hoftich\footnote{\url{michal.h21@gmail.com}}} -\date{Version 0.1a\\05/07/2015} +\date{Version 0.1c\\12/11/2015} \begin{document} \maketitle \tableofcontents -- cgit v1.2.3