diff options
author | Karl Berry <karl@freefriends.org> | 2023-02-24 21:33:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-02-24 21:33:48 +0000 |
commit | 9668d7af73978ef4f35305fef6788411da9db46e (patch) | |
tree | ce26d92681e19e56db990815887e6d6011c9856e /Master/texmf-dist/doc/support | |
parent | 177a37a680764ab3656cb80500c0bf5c1b4e7436 (diff) |
make4ht (24feb23)
git-svn-id: svn://tug.org/texlive/trunk@66130 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support')
-rw-r--r-- | Master/texmf-dist/doc/support/make4ht/README | 14 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/make4ht/changelog.tex | 177 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf | bin | 154182 -> 156343 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/make4ht/readme.tex | 12 |
4 files changed, 198 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/support/make4ht/README b/Master/texmf-dist/doc/support/make4ht/README index bdb5e173c3d..0675e1d0ce1 100644 --- a/Master/texmf-dist/doc/support/make4ht/README +++ b/Master/texmf-dist/doc/support/make4ht/README @@ -278,9 +278,13 @@ dvisvgm\_hashes : efficient generation of SVG pictures using Dvisvgm. It can utilize multiple processor cores and generates only changed images. +inlinecss + +: load the `inlinecss` DOM filter. + join\_colors -: load the `joincolors` domfilter for all HTML files. +: load the `joincolors` DOM filter for all HTML files. latexmk\_build @@ -646,6 +650,11 @@ idcolons : replace the colon (`:`) character in internal links and `id` attributes. They cause validation issues. +inlinecss + +: remove CSS rules that target elements with unique attributes, such as color boxes, table rules, or inline math pictures, + and insert their properties as a inline `style` attribute in the HTML document. + joincharacters : join consecutive `<span>` or `<mn>` elements. This DOM filter supersedes the `cleanspan` filter. @@ -655,7 +664,8 @@ joincolors : many `<span>` elements with unique `id` attributes are created when \LaTeX\ colors are being used in the document. A CSS rule is added for each of these elements, which may result in substantial growth of the CSS file. This filter replaces these rules with a - common one for elements with the same color value. + common one for elements with the same color value. See also the `inlinecss` DOM filter and extension, which provides an + alternative using inline styles. odtfonts diff --git a/Master/texmf-dist/doc/support/make4ht/changelog.tex b/Master/texmf-dist/doc/support/make4ht/changelog.tex index 1d579d45149..4516805f3ad 100644 --- a/Master/texmf-dist/doc/support/make4ht/changelog.tex +++ b/Master/texmf-dist/doc/support/make4ht/changelog.tex @@ -3,7 +3,182 @@ \begin{itemize} \item - 2022/02/22 + 2023/02/24 + + \begin{itemize} + \tightlist + \item + version \texttt{0.3k} released. + \end{itemize} +\item + 2023/01/09 + + \begin{itemize} + \tightlist + \item + fixed detection of image file names in \texttt{mkutils.parse\_lg()} + \end{itemize} +\item + 2022/11/25 + + \begin{itemize} + \tightlist + \item + reverted change of index page numbers, it was buggy + \item + test if the \texttt{.idx} file exists. + \end{itemize} +\item + 2022/11/24 + + \begin{itemize} + \tightlist + \item + \texttt{make4ht-indexing}: fixed handling of numbers in index + entries text. + \end{itemize} +\item + 2022/11/01 + + \begin{itemize} + \tightlist + \item + remove empty last rows in MathML tables. + \end{itemize} +\item + 2022/10/21 + + \begin{itemize} + \tightlist + \item + added the \texttt{inlinecss} DOM filter and extension with the same + name. + \end{itemize} +\item + 2022/09/29 + + \begin{itemize} + \tightlist + \item + the \texttt{join\_characters} DOM filter now shouldn't produce extra + \texttt{\textless{}span\textgreater{}} elements after white space. + \end{itemize} +\item + 2022/09/16 + + \begin{itemize} + \tightlist + \item + use the \texttt{no\^{}} option to compile the \texttt{make4ht} HTML + docs, to prevent clash with the Doc package. + \end{itemize} +\item + 2022/07/22 + + \begin{itemize} + \tightlist + \item + \texttt{mathmlfixes} DOM filter: + + \begin{itemize} + \tightlist + \item + don't change \texttt{\textless{}mo\textgreater{}} to + \texttt{\textless{}mtext\textgreater{}} if the element contain the + \texttt{stretchy} attribute. + \item + add \texttt{\textless{}mtext\textgreater{}} to + \texttt{\textless{}mstyle\textgreater{}} if it contains only plain + text + \end{itemize} + \end{itemize} +\item + 2022/07/08 + + \begin{itemize} + \tightlist + \item + configure elements used in \texttt{join\_characters} DOM filter. + \item + added support for the \texttt{mml:} prefix in \texttt{mathml\_fixes} + DOM filter. + \end{itemize} +\item + 2022/06/28 + + \begin{itemize} + \tightlist + \item + handle \texttt{\textbackslash{}maketitle} in JATS. + \end{itemize} +\item + 2022/06/24 + + \begin{itemize} + \tightlist + \item + handle internal and external links in the JATS output. + \item + better detection of empty paragraphs. + \end{itemize} +\item + 2022/06/16 + + \begin{itemize} + \tightlist + \item + use DOM filters to fix JATS output. + \end{itemize} +\item + 2022/04/22 + + \begin{itemize} + \tightlist + \item + use more explicit options for \texttt{latexmk}. + \end{itemize} +\item + 2022/04/19 + + \begin{itemize} + \tightlist + \item + remove all \texttt{htlatex} calls from the build sequence when the + \texttt{latexmk\_build} extension is used. + \item + fixed other issues that caused spurious executions of + \texttt{latexmk}. + \end{itemize} +\item + 2022/04/01 + + \begin{itemize} + \tightlist + \item + don't copy files to the output dir if it wasn't requested + \item + fixed copying of the ODT file to the output dir. + \end{itemize} +\item + 2022/03/29 + + \begin{itemize} + \tightlist + \item + check if tidy return non-empty string in the \texttt{tidy} + extension. + \end{itemize} +\item + 2022/03/24 + + \begin{itemize} + \tightlist + \item + don't use totally random names in the \texttt{preprocess\_input} + extension, in order to support images correctly. + \end{itemize} +\item + 2022/03/22 \begin{itemize} \tightlist diff --git a/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf b/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf Binary files differindex bf3b9a47952..207f7135a83 100644 --- a/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf +++ b/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf diff --git a/Master/texmf-dist/doc/support/make4ht/readme.tex b/Master/texmf-dist/doc/support/make4ht/readme.tex index db45e582d56..98a07128999 100644 --- a/Master/texmf-dist/doc/support/make4ht/readme.tex +++ b/Master/texmf-dist/doc/support/make4ht/readme.tex @@ -358,8 +358,10 @@ It supports also Plain \TeX, use for example \texttt{tex} or \item[dvisvgm\_hashes] efficient generation of SVG pictures using Dvisvgm. It can utilize multiple processor cores and generates only changed images. +\item[inlinecss] +load the \texttt{inlinecss} DOM filter. \item[join\_colors] -load the \texttt{joincolors} domfilter for all HTML files. +load the \texttt{joincolors} DOM filter for all HTML files. \item[latexmk\_build] use \href{https://ctan.org/pkg/latexmk?lang=en}{Latexmk} for the \LaTeX~compilation. @@ -724,6 +726,10 @@ put all inline elements which are direct children of the \item[idcolons] replace the colon (\texttt{:}) character in internal links and \texttt{id} attributes. They cause validation issues. +\item[inlinecss] +remove CSS rules that target elements with unique attributes, such as +color boxes, table rules, or inline math pictures, and insert their +properties as a inline \texttt{style} attribute in the HTML document. \item[joincharacters] join consecutive \texttt{\textless{}span\textgreater{}} or \texttt{\textless{}mn\textgreater{}} elements. This DOM filter @@ -733,7 +739,9 @@ many \texttt{\textless{}span\textgreater{}} elements with unique \texttt{id} attributes are created when \LaTeX~colors are being used in the document. A CSS rule is added for each of these elements, which may result in substantial growth of the CSS file. This filter replaces these -rules with a common one for elements with the same color value. +rules with a common one for elements with the same color value. See also +the \texttt{inlinecss} DOM filter and extension, which provides an +alternative using inline styles. \item[odtfonts] fix styles for fonts that were wrongly converted by \texttt{Xtpipes} in the ODT format. |