summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-09-23 23:35:39 +0000
committerKarl Berry <karl@freefriends.org>2015-09-23 23:35:39 +0000
commitf2c1bd0a1a94f92d81946cb9195117f87f5d2471 (patch)
tree5f9c3c98d8816b002e1e12c7b74769062ce3866d
parentf44d23890f4f6a6499a51c0a6ad1828abb6751c4 (diff)
make4ht (23sep15)
git-svn-id: svn://tug.org/texlive/trunk@38446 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/support/make4ht/README (renamed from Master/texmf-dist/doc/support/make4ht/README.md)12
-rw-r--r--Master/texmf-dist/doc/support/make4ht/changelog.tex19
-rw-r--r--Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdfbin61644 -> 62996 bytes
-rw-r--r--Master/texmf-dist/doc/support/make4ht/make4ht-doc.tex2
-rw-r--r--Master/texmf-dist/doc/support/make4ht/readme.tex10
-rwxr-xr-xMaster/texmf-dist/scripts/make4ht/mkparams.lua2
6 files changed, 38 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/support/make4ht/README.md b/Master/texmf-dist/doc/support/make4ht/README
index 13840cd2e58..ab25739d857 100644
--- a/Master/texmf-dist/doc/support/make4ht/README.md
+++ b/Master/texmf-dist/doc/support/make4ht/README
@@ -94,6 +94,11 @@ latex_par
: parameters to `latex`
+packages
+
+: insert additionl LaTeX code which is inserted before `\documentclass`.
+ useful for passing options to packages or additional packages loading
+
tex4ht_sty_par
: parameters to `tex4ht.sty`
@@ -143,9 +148,10 @@ matches which may be called on the generated files:
Make:match("html$", "tidy -m -xml -utf8 -q -i ${filename}")
It tests filenames with `Lua` pattern matching and on matched items will
-execute command or function, specified in the second argument. Parameters are
-the same as in previous section, except `filename`, which contains generated
-output name.
+execute command or function, specified in the second argument. For functions,
+two arguments are passed, first one is the current filename, the second one
+table with parameters. These parameters are the same as in previous section,
+except for `filename`, which contains generated output name.
### Filters
diff --git a/Master/texmf-dist/doc/support/make4ht/changelog.tex b/Master/texmf-dist/doc/support/make4ht/changelog.tex
index 8687ad10ec9..77fffc0a8dd 100644
--- a/Master/texmf-dist/doc/support/make4ht/changelog.tex
+++ b/Master/texmf-dist/doc/support/make4ht/changelog.tex
@@ -1,5 +1,24 @@
\section{Changelog}\label{changelog}
+\subsection{2015/09/23 version 0.1a}\label{version-0.1a}
+
+\begin{itemize}
+\itemsep1pt\parskip0pt\parsep0pt
+\item
+ various documentation updates
+\item
+ \texttt{mozhtf} profile for unicode output is used, this should
+ prevent ligatures in the output files
+\end{itemize}
+
+\subsection{2015/06/29 version 0.1}\label{version-0.1}
+
+\begin{itemize}
+\itemsep1pt\parskip0pt\parsep0pt
+\item
+ major README file update
+\end{itemize}
+
\subsection{2015/06/26}\label{section}
\begin{itemize}
diff --git a/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf b/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf
index cca309660e2..028c505ad49 100644
--- a/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf
+++ b/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/make4ht/make4ht-doc.tex b/Master/texmf-dist/doc/support/make4ht/make4ht-doc.tex
index e89626c7a96..b2af0201069 100644
--- a/Master/texmf-dist/doc/support/make4ht/make4ht-doc.tex
+++ b/Master/texmf-dist/doc/support/make4ht/make4ht-doc.tex
@@ -14,7 +14,7 @@
\title{The \texttt{make4ht} build system}
\author{Michal Hoftich\footnote{\url{michal.h21@gmail.com}}}
-\date{Version 0.1\\29/06/2015}
+\date{Version 0.1a\\23/09/2015}
\begin{document}
\maketitle
\tableofcontents
diff --git a/Master/texmf-dist/doc/support/make4ht/readme.tex b/Master/texmf-dist/doc/support/make4ht/readme.tex
index fc2f72727f3..c47517c8840 100644
--- a/Master/texmf-dist/doc/support/make4ht/readme.tex
+++ b/Master/texmf-dist/doc/support/make4ht/readme.tex
@@ -107,6 +107,10 @@ used compiler
input file
\item[latex\_par]
parameters to \texttt{latex}
+\item[packages]
+insert additionl LaTeX code which is inserted before
+\texttt{\textbackslash{}documentclass}. useful for passing options to
+packages or additional packages loading
\item[tex4ht\_sty\_par]
parameters to \texttt{tex4ht.sty}
\item[tex4ht\_par]
@@ -150,8 +154,10 @@ Make:match("html$", "tidy -m -xml -utf8 -q -i ${filename}")
It tests filenames with \texttt{Lua} pattern matching and on matched
items will execute command or function, specified in the second
-argument. Parameters are the same as in previous section, except
-\texttt{filename}, which contains generated output name.
+argument. For functions, two arguments are passed, first one is the
+current filename, the second one table with parameters. These parameters
+are the same as in previous section, except for \texttt{filename}, which
+contains generated output name.
\subsubsection{Filters}\label{filters}
diff --git a/Master/texmf-dist/scripts/make4ht/mkparams.lua b/Master/texmf-dist/scripts/make4ht/mkparams.lua
index 5b614192029..04b2827e102 100755
--- a/Master/texmf-dist/scripts/make4ht/mkparams.lua
+++ b/Master/texmf-dist/scripts/make4ht/mkparams.lua
@@ -93,7 +93,7 @@ local function process_args(args)
if args[2] and args[2] ~="" then
tex4ht = args[2]
else
- tex4ht = args.utf8 and " -cunihtf -utf8" or ""
+ tex4ht = args.utf8 and " -cmozhtf -utf8" or ""
local xdv = args.xetex and " -.xdv" or ""
tex4ht = tex4ht .. xdv
end