[tex4ht] Problem with mathjax mode rendering \noalign{\medskip} inside math

Nasser M. Abbasi nma at 12000.org
Tue Jan 22 22:47:26 CET 2019


> Have to run to class now but will try to see if I can make a MWE
> for this. If not, I'll switch back to SVG to compile this file.
> 

I can't figure what the problem is. But it has to do with
some file(s) in the  folder itself.  I get the error on
this MWE

===========================
\documentclass[11pt,notitlepage]{report}%
\begin{document}
test
\end{document}
==============================

WHich makes no sense.  Using the command

make4ht -ulm default -c ./nma_mathjax.cfg index.tex
    "htm,0,mathjax,notoc*,p-width,charset=utf-8" " -cunihtf -utf8"

It gives

=========================
Output dir:
Compiler:       dvilualatex
Latex options:   -jobname=index
tex4ht.sty :    ./nma_mathjax.cfg,htm,0,mathjax,notoc*,p-width,charset=utf-8,charset=utf-8
tex4ht   -cunihtf -utf8
build_file      index.mk4
Output format   html5
Cannot open config file index.mk4
setting param correct_exit
setting param correct_exit
setting param correct_exit
setting param ext
Adding:         ext     dvi
LaTeX call: dvilualatex  -jobname=index  '\makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g at addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode ./nma_mathjax.cfg,htm,0,mathjax,notoc*,p-width,charset=utf-8,charset=utf-8,html5.a.b.c.\input "\detokenize{index.tex}"'
This is LuaTeX, Version 1.07.0 (TeX Live 2018)
  restricted system commands enabled.
LaTeX2e <2018-04-01> patch level 5
........
(/usr/local/texlive/2018/texmf-dist/tex/generic/tex4ht/html5.4ht)) (./index.aux
)) [1] (./index.aux))
  438 words of node memory still in use:
    3 hlist, 1 vlist, 1 rule, 2 glue, 3 kern, 1 glyph, 6 attribute, 53 glue_spec
, 6 attribute_list, 1 write nodes
    avail lists: 1:1,2:310,3:178,4:3,5:111,6:4,7:30,8:1,9:14,10:2
Output written on index.dvi (1 page, 14236 bytes).
Transcript written on index.log.
Make4ht: tex4ht  -cunihtf -utf8 "index.dvi"
----------------------------
tex4ht.c (2012-07-25-19:36 kpathsea)
tex4ht -cunihtf
   -utf8
   index.dvi
(/usr/local/texlive/2018/texmf-dist/tex4ht/base/unix/tex4ht.env)
(/usr/local/texlive/2018/texmf-dist/tex4ht/ht-fonts/unicode/charset/unicode.4hf)
(/usr/local/texlive/2018/texmf-dist/fonts/tfm/public/lm/rm-lmr10.tfm)
(/usr/local/texlive/2018/texmf-dist/tex4ht/ht-fonts/unicode/lm/rm-lm.htf)
--- error --- Illegal storage address
Make4ht: Fatal error. Command tex4ht returned exit code 256
====================================

If I remove random files from the same folder my index.tex is in,
which is not related at all, the error can go away.

I am running this on ubuntu under windows 10 subsystem.

I need to try this again Linux under virtual machine. But need more
time.

May be it is windows 10 linux subsystem is doing some tricks.

Could someome please try this?  I put the folder itself which
contains index.tex and my current nma_mathjax.cfg in it.

All what you have to do is download the zip file, unzip it and
cd to the folder strange_error/ it creates and just type the
command I show above.

Here is the zip file, it is in this folder

https://www.12000.org/tmp/012119/

Again, the error goes away when I delete some unrelated files from the
folder itself. I kept them all in there for now, since I could not
find out which specific file(s) causing this. And I have no idea why this
happens as all the other files are not related to index.tex at all.

Thanks
--Nasser


More information about the tex4ht mailing list