diff options
author | Karl Berry <karl@freefriends.org> | 2019-03-21 20:57:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-03-21 20:57:24 +0000 |
commit | a5de2c33c167bd9438ec901fd013cbd3ded17861 (patch) | |
tree | d5153925188fec09cf1a15f83b658bccc89b1cbb /Master/texmf-dist/doc/support | |
parent | 042522d56eecc50b11be37d5284fc43d2a6b51fe (diff) |
tex4ebook (21mar19)
git-svn-id: svn://tug.org/texlive/trunk@50512 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support')
-rw-r--r-- | Master/texmf-dist/doc/support/tex4ebook/README | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/tex4ebook/changelog.tex | 36 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/tex4ebook/readme.tex | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf | bin | 72222 -> 73368 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.tex | 1 |
5 files changed, 59 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/support/tex4ebook/README b/Master/texmf-dist/doc/support/tex4ebook/README index 228fe58df6f..951dad5a573 100644 --- a/Master/texmf-dist/doc/support/tex4ebook/README +++ b/Master/texmf-dist/doc/support/tex4ebook/README @@ -152,19 +152,25 @@ or *setting image size in em units instead of pt*^[http://tex.stackexchange.com/ Every epub file should have unique identifier, like ISBN, DOI, URI etc. Default identifier is URI, with value `http://example.com/\jobname`. + \Configure{@author}{\let\footnote\@gobble} + +Local definitions of commands used in the `\author` command. As contents of +`\author` are used in XML files, it is necessary to strip away any information +which don't belongs here, such as `\footnote`. + \Configure{OpfScheme}{URI} Type of unique identifier, default type is URI. It is -used only in epub, it is deprecated for `epub3` +used only in `epub`, it is deprecated for `epub3` \Configure{resettoclevels}{list of section types in descending order} Configure section types which should be included in the `NCX` file. Default -value is the whole document hiearchy, from `\part` to `\paragraph`. +value is the whole document hierarchy, from `\part` to `\paragraph`. \Configure{DocumentLanguage}{language code} -Each epub must declare the document language. It is inferred from `babel` main +Each ePub file 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. diff --git a/Master/texmf-dist/doc/support/tex4ebook/changelog.tex b/Master/texmf-dist/doc/support/tex4ebook/changelog.tex index ebec6ca8175..d7743b1204f 100644 --- a/Master/texmf-dist/doc/support/tex4ebook/changelog.tex +++ b/Master/texmf-dist/doc/support/tex4ebook/changelog.tex @@ -3,6 +3,40 @@ \begin{itemize} \item + 2019/03/21 + + \begin{itemize} + \tightlist + \item + released version \texttt{0.2c} + \end{itemize} +\item + 2019/03/07 + + \begin{itemize} + \tightlist + \item + use \texttt{Luatexbase} package in the documentation because of + \texttt{Microtype} error + \item + remove \texttt{\textless{}guide\textgreater{}} element even in ePub + 2 + \item + added \texttt{encoding} attribute to XML declaration in the NCX and + OPF files + \item + clean the temporary directory (\texttt{filename-format}) before file + packing + \end{itemize} +\item + 2019/01/21 + + \begin{itemize} + \tightlist + \item + added \texttt{\textbackslash{}Configure\{@author\}} + \end{itemize} +\item 2019/01/10 \begin{itemize} @@ -25,7 +59,7 @@ \tightlist \item use the \texttt{uni-html4} option by default. It will convert some - math characters as Unicode chars. + math characters as Unicode chars \end{itemize} \item 13/11/2018 diff --git a/Master/texmf-dist/doc/support/tex4ebook/readme.tex b/Master/texmf-dist/doc/support/tex4ebook/readme.tex index 75db5437183..2a6110e03fc 100644 --- a/Master/texmf-dist/doc/support/tex4ebook/readme.tex +++ b/Master/texmf-dist/doc/support/tex4ebook/readme.tex @@ -166,25 +166,35 @@ Default identifier is URI, with value \texttt{http://example.com/\textbackslash{}jobname}. \begin{verbatim} +\Configure{@author}{\let\footnote\@gobble} +\end{verbatim} + +Local definitions of commands used in the +\texttt{\textbackslash{}author} command. As contents of +\texttt{\textbackslash{}author} are used in XML files, it is necessary +to strip away any information which don't belongs here, such as +\texttt{\textbackslash{}footnote}. + +\begin{verbatim} \Configure{OpfScheme}{URI} \end{verbatim} -Type of unique identifier, default type is URI. It is used only in epub, -it is deprecated for \texttt{epub3} +Type of unique identifier, default type is URI. It is used only in +\texttt{epub}, it is deprecated for \texttt{epub3} \begin{verbatim} \Configure{resettoclevels}{list of section types in descending order} \end{verbatim} Configure section types which should be included in the \texttt{NCX} -file. Default value is the whole document hiearchy, from +file. Default value is the whole document hierarchy, from \texttt{\textbackslash{}part} to \texttt{\textbackslash{}paragraph}. \begin{verbatim} \Configure{DocumentLanguage}{language code} \end{verbatim} -Each epub must declare the document language. It is inferred from +Each ePub file 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} diff --git a/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf b/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf Binary files differindex 42f18620c0a..6c7fd83af08 100644 --- a/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf +++ b/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf diff --git a/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.tex b/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.tex index 0486abec3d3..f76c038d2d3 100644 --- a/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.tex +++ b/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.tex @@ -8,6 +8,7 @@ \usepackage[utf8]{inputenc} \author{\href{mailto:michal.h21@gmail.com}{Michal Hoftich}} \else +\usepackage{luatexbase} \usepackage{fontspec} \setmainfont{TeX Gyre Schola} \author{Michal Hoftich\footnote{\url{michal.h21@gmail.com}}} |