[tex4ht] [bug #601] babel spanish and htlatex mathml have bad ineraction

Matteo Gamboz puszcza-hackers at gnu.org.ua
Fri May 19 23:15:14 CEST 2023


URL:
  <http://puszcza.gnu.org.ua/bugs/?601>

                 Summary: babel spanish and htlatex mathml have bad ineraction
                 Project: tex4ht
            Submitted by: gamboz
            Submitted on: Fri May 19 21:15:14 2023
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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






    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?601>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



More information about the tex4ht mailing list.