[tex4ht-commits] [SCM] tex4ht updated: r873 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Sun Jan 24 22:26:53 CET 2021
Author: michal_h21
Date: 2021-01-24 23:26:53 +0200 (Sun, 24 Jan 2021)
New Revision: 873
Modified:
trunk/lit/ChangeLog
trunk/lit/Makefile
trunk/lit/tex4ht-html5.tex
Log:
added more sections and chapters
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2021-01-24 21:17:09 UTC (rev 872)
+++ trunk/lit/ChangeLog 2021-01-24 21:26:53 UTC (rev 873)
@@ -10,6 +10,8 @@
* tex4ht-html4.tex (html4.4ht),
* tex4ht-html5.tex (html5.4ht): added support for abstracts in Memoir.
https://tex.stackexchange.com/a/579953/2891
+ * tex-html5.tex (html5.4ht): added more sections and chapters to make the
+ source more readable.
2021-01-21 Michal Hoftich <michal.h21 at gmail.com>
Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile 2021-01-24 21:17:09 UTC (rev 872)
+++ trunk/lit/Makefile 2021-01-24 21:26:53 UTC (rev 873)
@@ -99,7 +99,8 @@
tex4ht_cond4ht_derived = cond4ht.4ht mktex4ht.4ht
derived += $(tex4ht_4ht_derived)
tex4ht_4ht_derived = \
- adjustbox.4ht algorithmic.4ht amsmath.4ht animate.4ht authblk.4ht appendix.4ht \
+ abstract.4ht adjustbox.4ht algorithmic.4ht amsmath.4ht \
+ animate.4ht authblk.4ht appendix.4ht \
biblatex.4ht biblatex-chicago.4ht book.4ht bussproofs.4ht \
caption.4ht cleveref.4ht color.4ht colortbl.4ht \
fontspec.4ht fontspec-4ht.lua fontspec-luatex.4ht fontspec-xetex.4ht \
Modified: trunk/lit/tex4ht-html5.tex
===================================================================
--- trunk/lit/tex4ht-html5.tex 2021-01-24 21:17:09 UTC (rev 872)
+++ trunk/lit/tex4ht-html5.tex 2021-01-24 21:26:53 UTC (rev 873)
@@ -35,10 +35,15 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\chapter{Start Here}
+\chapter{Basic configurations}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{HTML5 structure}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
\<configure html5 tex4ht\><<<
|<patch charset|>
\Configure{VERSION}{}
@@ -64,6 +69,10 @@
\fi
>>>
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Language and charset setting}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
Charset can be set using charset=charsetcode option for tex4ht.sty. It is saved in \verb|\a:charset| macro.
If charset oprion isn't used, \verb|\A:charset| is used instead. Bot of these macros store the charset information
in charset=name form. We need to add quotes around name in html5, thus the following macro.
@@ -204,6 +213,11 @@
}
>>>
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\chapter{LaTeX and classes configurations}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
\section{LaTeX}
\<configure html5 latex\><<<
@@ -282,7 +296,15 @@
|<abstract|>
>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\chapter{Logical structure configurations}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Tables}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
cellspacing and cellpading attributes are prohibited in html5
\<tabular fixes\><<<
@@ -291,7 +313,9 @@
\Css{table.tabular{border-collapse: collapse; border-spacing: 0;}}
>>>
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Figures}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Configure HTML5 figures. Floats are converted as captions too.
@@ -324,7 +348,9 @@
\Css{figcaption.caption span.id{font-weight: bold; white-space: nowrap; }}
>>>
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Abstracts}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -336,7 +362,10 @@
\Css{.abstract{margin:1em;}}
>>>
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Utilities}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
\<try env inline par\><<<
\ShowPar
>>>
More information about the tex4ht-commits
mailing list.