[tex4ht-commits] [SCM] tex4ht updated: r307 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Wed May 10 15:32:30 CEST 2017
Author: michal_h21
Date: 2017-05-10 16:32:29 +0300 (Wed, 10 May 2017)
New Revision: 307
Modified:
trunk/lit/tex4ht-info-html4.tex
trunk/lit/tex4ht-info-mml.tex
trunk/lit/tex4ht-info-svg.tex
trunk/lit/tex4ht-info.tex
Log:
It seems we must redefine CleanComment macro in each info file, because it depends on filename
Modified: trunk/lit/tex4ht-info-html4.tex
===================================================================
--- trunk/lit/tex4ht-info-html4.tex 2017-05-10 13:29:41 UTC (rev 306)
+++ trunk/lit/tex4ht-info-html4.tex 2017-05-10 13:32:29 UTC (rev 307)
@@ -19,6 +19,11 @@
\input{common}
+\expandafter\ifx \csname YES\HTML\endcsname\relax
+\else
+ \def\CleanComment#1tex4ht-info-html4#2#3#4.#5>#6//{[#4% <--jobname
+ \if,\ifnum \FIRST=#6 .\else ,0\fi\fi]#6//}
+\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{INFO}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Modified: trunk/lit/tex4ht-info-mml.tex
===================================================================
--- trunk/lit/tex4ht-info-mml.tex 2017-05-10 13:29:41 UTC (rev 306)
+++ trunk/lit/tex4ht-info-mml.tex 2017-05-10 13:32:29 UTC (rev 307)
@@ -16,9 +16,14 @@
\expandafter\next
\fi
+% \input{tex4ht-cpright}
\input{common-info}
\input{common}
-\input{tex4ht-cpright}
+\expandafter\ifx \csname YES\HTML\endcsname\relax
+\else
+ \def\CleanComment#1tex4ht-info-mml#2#3#4.#5>#6//{[#4% <--jobname
+ \if,\ifnum \FIRST=#6 .\else ,0\fi\fi]#6//}
+\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Info MML}
Modified: trunk/lit/tex4ht-info-svg.tex
===================================================================
--- trunk/lit/tex4ht-info-svg.tex 2017-05-10 13:29:41 UTC (rev 306)
+++ trunk/lit/tex4ht-info-svg.tex 2017-05-10 13:32:29 UTC (rev 307)
@@ -16,10 +16,27 @@
\expandafter\next
\fi
+% \input{tex4ht-cpright}
\input{common-info}
\input{common}
-\input{tex4ht-cpright}
+\expandafter\ifx \csname YES\HTML\endcsname\relax
+\else
+ % \def\CleanComment#1tex4ht-info-svg#2#3#4.#5>#6//{[#4% <--jobname
+ % \if,\ifnum \FIRST=#6 .\else ,0\fi\fi]#6//}
+ % Michal 05/10/2017
+ % The following code works in other info files, but not in this one
+ % I don't really don't know why
+ \def\<{\edef\FIRST{\the\inputlineno}\let\<\saveCd \saveCd}
+ \def\CleanComment#1tex4ht-info-svg#2#3#4.#5>#6//{[#4% <--jobname
+ \if,\ifnum \FIRST=#6 .\else ,0\fi\fi]#6//}
+ \def\eatIV#1#2#3#4{}
+\fi
+
+
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Info SVG}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -66,6 +83,7 @@
\chapter{Options}
\<configure infosvg tex4ht\><<<
+
The output or pictures in SVG format can be requested using following command
line options:
Modified: trunk/lit/tex4ht-info.tex
===================================================================
--- trunk/lit/tex4ht-info.tex 2017-05-10 13:29:41 UTC (rev 306)
+++ trunk/lit/tex4ht-info.tex 2017-05-10 13:32:29 UTC (rev 307)
@@ -19,6 +19,11 @@
\input{common-info}
\input{common}
+\expandafter\ifx \csname YES\HTML\endcsname\relax
+\else
+ \def\CleanComment#1tex4ht-info#2#3#4.#5>#6//{[#4% <--jobname
+ \if,\ifnum \FIRST=#6 .\else ,0\fi\fi]#6//}
+\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list