[tex4ht-commits] [SCM] tex4ht updated: r633 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Fri Dec 13 21:57:04 CET 2019
Author: michal_h21
Date: 2019-12-13 22:57:04 +0200 (Fri, 13 Dec 2019)
New Revision: 633
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-html4.tex
Log:
Added p-indent and p-space options for the HTML output
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2019-12-13 15:29:19 UTC (rev 632)
+++ trunk/lit/ChangeLog 2019-12-13 20:57:04 UTC (rev 633)
@@ -1,5 +1,9 @@
2019-12-13 Michal Hoftich <michal.h21 at gmail.com>
+ * tex4ht-html4.tex (html4.4ht): added p-indent and p-space options. First
+ one disables blank spaces between paragraphs, the second keeps blank spaces
+ and disables indents.
+
* tex4ht-html4.tex (html4.4ht): fixed font size problem with monospaced
fonts.
http://code.iamkate.com/html-and-css/fixing-browsers-broken-monospace-font-handling/
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2019-12-13 15:29:19 UTC (rev 632)
+++ trunk/lit/tex4ht-html4.tex 2019-12-13 20:57:04 UTC (rev 633)
@@ -19311,6 +19311,15 @@
\NewConfigure{!P}[1]{\expandafter\concat:config\csname a:!P\endcsname{#1}}
\expandafter\let\csname a:!P\endcsname|=\relax
\Configure{!P}{}
+\ifOption{p-indent}{%
+\Css{p{margin-top:0;margin-bottom:0}}
+\Css{p.noindent + p.noindent{margin-top:1em;}}
+}{}
+\ifOption{p-space}{%
+\Css{p{margin-top:0;margin-bottom:0}}
+\Css{p.indent{text-indent:0;}}
+\Css{p + p{margin-top:1em;}}
+}{}
>>>
\<global HtmlPar\><<<
More information about the tex4ht-commits
mailing list