summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/make4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-21 20:55:01 +0000
committerKarl Berry <karl@freefriends.org>2019-03-21 20:55:01 +0000
commit042522d56eecc50b11be37d5284fc43d2a6b51fe (patch)
tree2db37cb0741816116a1ce464676f8966b14f5c2d /Master/texmf-dist/doc/support/make4ht
parent15bbde433ae20973daca814631a22c558eaecd57 (diff)
make4ht (21mar19)
git-svn-id: svn://tug.org/texlive/trunk@50511 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/make4ht')
-rw-r--r--Master/texmf-dist/doc/support/make4ht/README11
-rw-r--r--Master/texmf-dist/doc/support/make4ht/changelog.tex48
-rw-r--r--Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdfbin111789 -> 112999 bytes
-rw-r--r--Master/texmf-dist/doc/support/make4ht/readme.tex8
4 files changed, 65 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/support/make4ht/README b/Master/texmf-dist/doc/support/make4ht/README
index 46b22e5b14f..a99a108d691 100644
--- a/Master/texmf-dist/doc/support/make4ht/README
+++ b/Master/texmf-dist/doc/support/make4ht/README
@@ -134,6 +134,10 @@ common\_domfilters
`common_filters`. Used DOM filters are `fixinlines`, `idcolons` and
`joincharacters`.
+join\_colors
+
+: load the `joincolors` domfilter for all HTML files.
+
mathjaxnode
: use [mathjax-node-page](https://github.com/pkra/mathjax-node-page/) to
@@ -441,6 +445,13 @@ joincharacters
: join consecutive `<span>` or `<mn>` elements.
+joincolors
+
+: many `<span>` elements with unique `id` attribute are created when \LaTeX\ colors are being used in the document.
+ CSS rule is added for each of these elements, which may result in
+ substantial grow of the CSS file. This filter replace these rules with a
+ common one for elements with the same color value.
+
odtimagesize
: set correct dimensions for images in the ODT format. It is loaded by default for the ODT output.
diff --git a/Master/texmf-dist/doc/support/make4ht/changelog.tex b/Master/texmf-dist/doc/support/make4ht/changelog.tex
index b8d6ea15a0b..0c70be59a7e 100644
--- a/Master/texmf-dist/doc/support/make4ht/changelog.tex
+++ b/Master/texmf-dist/doc/support/make4ht/changelog.tex
@@ -3,15 +3,59 @@
\begin{itemize}
\item
+ 2019/03/21
+
+ \begin{itemize}
+ \tightlist
+ \item
+ version 0.2f released
+ \end{itemize}
+\item
+ 2019/03/15
+
+ \begin{itemize}
+ \tightlist
+ \item
+ check for the image dimensions existence in the
+ \texttt{odtimagesize} domfilter.
+ \end{itemize}
+\item
+ 2019/03/13
+
+ \begin{itemize}
+ \tightlist
+ \item
+ don't use \texttt{odtimagesize} domfilter in the \texttt{ODT}
+ format, the issue it fixes had been resolved in \texttt{tex4ht}.
+ \end{itemize}
+\item
+ 2019/03/08
+
+ \begin{itemize}
+ \tightlist
+ \item
+ use \texttt{\%USERPROFILE} for home dir search on Windows.
+ \end{itemize}
+\item
+ 2019/01/28
+
+ \begin{itemize}
+ \tightlist
+ \item
+ added \texttt{joincolors} domfilter and \texttt{join\_colors}
+ extension. It can join CSS rules created for the LaTeX colors and
+ update the HTML file.
+ \end{itemize}
+\item
2019/01/22
\begin{itemize}
\tightlist
\item
+ version 0.2e released
+ \item
updated the \texttt{odttemplate} filter. It will use styles from the
generated ODT file that haven't been present in the template file.
- \item
- version 0.2e released
\end{itemize}
\item
2019/01/10
diff --git a/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf b/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf
index 9a767c9cc73..84653d3df82 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/readme.tex b/Master/texmf-dist/doc/support/make4ht/readme.tex
index bb4fa0e7803..c9fc0a2f3ed 100644
--- a/Master/texmf-dist/doc/support/make4ht/readme.tex
+++ b/Master/texmf-dist/doc/support/make4ht/readme.tex
@@ -168,6 +168,8 @@ clean the output HTML files using filters.
clean the HTML file using DOM filters. It is more powerful than
\texttt{common\_filters}. Used DOM filters are \texttt{fixinlines},
\texttt{idcolons} and \texttt{joincharacters}.
+\item[join\_colors]
+load the \texttt{joincolors} domfilter for all HTML files.
\item[mathjaxnode]
use \href{https://github.com/pkra/mathjax-node-page/}{mathjax-node-page}
to convert from MathML code to HTML + CSS or SVG. See
@@ -463,6 +465,12 @@ replace the colon (\texttt{:}) character in internal links and
\item[joincharacters]
join consecutive \texttt{\textless{}span\textgreater{}} or
\texttt{\textless{}mn\textgreater{}} elements.
+\item[joincolors]
+many \texttt{\textless{}span\textgreater{}} elements with unique
+\texttt{id} attribute are created when \LaTeX~colors are being used in
+the document. CSS rule is added for each of these elements, which may
+result in substantial grow of the CSS file. This filter replace these
+rules with a common one for elements with the same color value.
\item[odtimagesize]
set correct dimensions for images in the ODT format. It is loaded by
default for the ODT output.