bugtex4ht - Bugs: bug #258, mathml and info options make error

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #258: mathml and info options make error

Submitted by:  Nicolas Richard <youngfrog>
Submitted on:  Mon 20 Jul 2015 12:35:09 PM EEST  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Mon 03 Aug 2015 02:49:08 PM EEST, comment #1:

It seems that this issue is known, this is a code comment from common-info.tex:

% 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
%#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.

tex4ht-info-mml.tex contains only few lines, it is a question whether it isn't better to incorporate the information into other info files, or remove it completely.

I also tried to fix the problem, but it is one of these really esoteric areas, and I wasn't successful.

Michal Hoftich <michal_h21>
Project Member
Mon 20 Jul 2015 12:35:09 PM EEST, original submission:

Doing "htlatex xhtml,mathml,info" on even the most trivial file the following error:

/usr/local/texlive/2014/texmf-dist/tex/generic/tex4ht/infomml.4ht:3: Missing number, treated as zero.
<to be read again>
l.3 ...F\def\infoIVht#1//{}\fi\infoIVht[ml]90...//

Nicolas Richard <youngfrog>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by youngfrog (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray