bugtex4ht - Bugs: bug #601, babel spanish and htlatex mathml...

 
 
Show feedback again

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

bug #601: babel spanish and htlatex mathml have bad ineraction

Submitted by:  Matteo Gamboz <gamboz>
Submitted on:  Fri May 19 21:15:14 2023  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed Oct 4 12:27:04 2023, comment #2:

This should be fixed in the sources.

Michal Hoftich <michal_h21>
Project Member
Fri May 19 21:37:38 2023, comment #1:

Thanks for the report. It seems to be caused by redefinition of math operators by the Spanish definition file for Babel. You can try this file to disable that:

\Preamble{xhtml}
\makeatletter
\let\es@operators\relax
\makeatother
\begin{document}
\EndPreamble

Michal Hoftich <michal_h21>
Project Member
Fri May 19 21:15:14 2023, original submission:

Compiling the following source with
`htlatex x.tex xhtml,mathml`

gives error
`! TeX capacity exceeded, sorry [parameter stack size=20000].`

```latex
%% File x.tex
\documentclass{article}
\usepackage[spanish]{babel}
\begin{document}
\selectlanguage{spanish}
La desinformaciĆ³n
\end{document}

The problem seems related to some interaction between "mathml" and "spanish".

It happens compiling with
htlatex x.tex xhtml,mathml
htlatex x.tex html,mathml

It does not happen compiling with
htlatex x.tex xhtml
htlatex x.tex html

and it does not happen for many other languages.
E.g. it does not happen if the tex source contains:
\usepackage[LANGUAGE]{babel}
...
\selectlanguage{LANGUAGE}
for LANGUAGE in british, french, brazil, portugese, italian, german

Matteo Gamboz <gamboz>

 

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 gamboz (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
    Wed Oct 4 12:27:04 2023michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray