[tex4ht-commits] [SCM] tex4ht updated: r69 - trunk/lit

karl at gnu.org.ua karl at gnu.org.ua
Thu Dec 23 19:30:35 CET 2010


Author: karl
Date: 2010-12-23 20:30:35 +0200 (Thu, 23 Dec 2010)
New Revision: 69

Modified:
   trunk/lit/ChangeLog
   trunk/lit/common-info.tex
   trunk/lit/tex4ht-info-mml.tex
Log:
try and fail to make the info option work with mzlatex

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2010-12-17 00:02:54 UTC (rev 68)
+++ trunk/lit/ChangeLog	2010-12-23 18:30:35 UTC (rev 69)
@@ -1,3 +1,12 @@
+2010-12-23  Karl Berry  <karl at gnu.org>
+
+	* common-info.tex (\CleanComment): lengthy comment about ultimate
+	failure trying to make the info option work with mzlatex.
+
+	* tex4ht-info-mml.tex (configure infomml tex4ht): use \Configure,
+	not the undefined \Contribution, add plain text heading
+	like the others.
+
 2010-12-16  Peter Breitenlohner  <peb at mppmu.mpg.de>
 
 	* tex4ht-t4ht.tex: missed <<<.

Modified: trunk/lit/common-info.tex
===================================================================
--- trunk/lit/common-info.tex	2010-12-17 00:02:54 UTC (rev 68)
+++ trunk/lit/common-info.tex	2010-12-23 18:30:35 UTC (rev 69)
@@ -26,7 +26,40 @@
 \else
     \let\saveCd=\<
     \def\<{\edef\FIRST{\the\inputlineno}\let\<\saveCd \saveCd}
-    \def\CleanComment#1tex4ht-info#2#3#4.#5>#6//{[#4%     <--jobname
+    %
+    % Eitan's commented-out definition started like this (and doesn't work):
+    %\def\CleanComment#1tex4ht-info#2#3#4.#5>#6//{[\eatIV#4%     <--jobname
+    %
+    % Eitan's active definition started like this:
+    %\def\CleanComment#1tex4ht-info#2#3#4.#5>#6//{[#4%     <--jobname
+    %
+    % However, that didn't work either.  #4 is not the jobname. 
+    % The arguments when running htlatex tex4ht-info-mml.tex are these:
+    % %#1<-
+    %\CleanComment #1tex4ht-info#2#3#4.#5>#6//->
+    %[\if ,\ifnum \FIRST =#6 .\else ,0\fi
+    %#1<-
+    %#2<--
+    %#3<-m
+    %#4<-ml
+    %#5<-html#QPrTx1"\<infomml\
+    %#6<-92\ifx \CodeId \:gobbleii \else ...\fi 
+    %
+    % As a result, when running  mzlatex hello.tex xhtml,info  there was
+    % an error on the first line of infomml.4ht, which looked like this:
+    % \ifx\infoIVht\UnDeF\def\infoIVht#1//{}\fi\infoIVht[ml0]28...//
+    % That "ml" is not a number, so \ifnum fails.  This only happens
+    % mzlatex and the info option, not htlatex.  We don't understand.
+    %
+    % This version avoids the spurious "ml" but mzlatex hello.tex still
+    % fails, trying to process the \ConfigureHinput blocks as text.
+    % Changing the bracketed number in infomml.4ht to small values seems
+    % to make it pass, but can't see how to generate it.  The number
+    % after the brackets (#6) changes also.
+    % 
+    % Since all this is only about the info option with mzlatex,
+    % just leaving it failing for now.  Other things to do.
+    \def\CleanComment#1tex4ht-info#2#3#4.#5>#6//{[1\empty %
                   \if,\ifnum \FIRST=#6 .\else ,0\fi\fi]#6//}
     \def\eatIV#1#2#3#4{}
 \fi

Modified: trunk/lit/tex4ht-info-mml.tex
===================================================================
--- trunk/lit/tex4ht-info-mml.tex	2010-12-17 00:02:54 UTC (rev 68)
+++ trunk/lit/tex4ht-info-mml.tex	2010-12-23 18:30:35 UTC (rev 69)
@@ -71,7 +71,9 @@
 \chapter{The Code}
 
 \<configure infomml tex4ht\><<<
-\Contribution{math}.........................1
+math
+----
+\Configure{math}.........................1
 
    Contribution for the <math>  tag
 >>>



More information about the tex4ht-commits mailing list