bugtex4ht - Bugs: bug #627, Bad register code (65536) on 200...

 
 
Show feedback again

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

bug #627: Bad register code (65536) on 200 lines code

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Thu Jun 20 04:24:12 2024  
 
Category: NonePriority: 5 - Normal
Severity: 7 - ImportantStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Thu Jun 20 15:36:45 2024, comment #1:

Hi Nasser, isn't is the sampe issue as here: https://puszcza.gnu.org.ua/bugs/?625 ?

The solution that I presented in that question suppresses the error:

\ExplSyntaxOn
\cs_set_protected:Npn \alteqtoks #1
{
\HCode{\detokenize{#1}}
}
\ExplSyntaxOff

Unfortunately, MathJax cannot render the result. I've found this error: MathJax internal buffer size exceeded; is there a recursive macro call? So, I guess it is so large that MathJax doesn't even try to render it. I don't know that much about MathJax to know if you can fix it other than by rewriting your code and making it smaller.

Michal Hoftich <michal_h21>
Project Member
Thu Jun 20 04:24:12 2024, original submission:

tex4ht fails with

make4ht -ulm default -a debug -c ./nma_mathjax.cfg index.tex 'mathjax,htm'

-----------------------------------

/usr/local/texlive/2023/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
(./index.aux) (/usr/local/texlive/2023/texmf-dist/tex/latex/base/ts1cmr.fd))
! Bad register code (65536).
\__regex_query_set_aux:nN ...__regex_curr_pos_int
{#1}\__kernel_intarray_gse...

l.209 \]

-----------------------------------

The code in index.tex is mostly Maple generated with few changes made by me. It compiles with no problem with Lualatex.

I can't figure the cause. Since it is little long (I did not want to change it, as not sure which line is the error coming from), I made ZIP file that contains everything needed to run it. The maple.sty file and my .cfg file.

The code is just one array

\[
\begin{array}{lll}
...
\end{array}
\]

The content of the ZIP file is

>ls -lrt

total 519
-rwxrwxrwx 1 me autologin 643 Jun 19 23:06 texput.log
-rwxrwxrwx 1 me autologin 135645 Jun 19 23:08 maple.sty
-rwxrwxrwx 1 me autologin 0 Jun 19 23:11 index.out
-rwxrwxrwx 1 me autologin 243929 Jun 19 23:11 index.pdf
-rwxrwxrwx 1 me autologin 77979 Jun 19 23:11 index.tex
-rwxrwxrwx 1 me autologin 17103 Jun 19 23:13 nma_mathjax.cfg
-rwxrwxrwx 1 me autologin 0 Jun 19 23:13 index.xref
-rwxrwxrwx 1 me autologin 21 Jun 19 23:13 index.tmp
-rwxrwxrwx 1 me autologin 83 Jun 19 23:13 index.4ct
-rwxrwxrwx 1 me autologin 92 Jun 19 23:17 index.aux
-rwxrwxrwx 1 me autologin 76 Jun 19 23:17 index.4tc
-rwxrwxrwx 1 me autologin 36921 Jun 19 23:17 index.log

After unzipping, cd to the folder june_20_2024/ created and run the command make4ht above to see the error.

I am attaching the ZIP (if this does not work, will make link)

TL 2023

Thanks
--Nasser

Nasser M. Abbasi <nma123>

 

Attached Files
file #537:  june_20_2024.zip added by nma123 (281kB - application/zip)

 

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 nma123 (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):

     

     

    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Jun 20 04:24:12 2024nma123Attached File-=>Added june_20_2024.zip, #537
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray