[tex4ht] failure with "Illegal storage address" error

Ulrike Fischer news3 at nililand.de
Sun Oct 22 20:31:58 CEST 2023


Hello all,

I have problems to create the html-documentation of hyperref with tex4ht. 

It fails sometimes at this step on windows 11 with a current texlive 2023:

(c:/texlive/2023/texmf-dist/tex4ht/ht-fonts/unicode/adobe/zapfding/pzdr.htf)
[1--- error --- Illegal storage address
----------------------------
t4ht.c (2018-07-04-14:25 kpathsea)
t4ht hyperref-doc
  -ewin32/tex4ht.env
(c:/texlive/2023/texmf-dist/tex4ht/base/unix/tex4ht.env)
Entering hyperref-doc.lg

When it works this place looks like this

(c:/texlive/2023/texmf-dist/tex4ht/ht-fonts/unicode/adobe/zapfding/pzdr.htf)
[1 file hyperref-doc.html
 file hyperref-doc.css
 file hyperref-doc.tmp
]
Execute script `hyperref-doc.lg'
----------------------------
t4ht.c (2018-07-04-14:25 kpathsea)
t4ht hyperref-doc
  -ewin32/tex4ht.env
(c:/texlive/2023/texmf-dist/tex4ht/base/unix/tex4ht.env)


After some investigation I found the following clues:

The error seems to have something to do with the length of pathes:
When I moved the failing document from the Documents folder into the shorter c:/home it worked. 

The error seems also to depend on the number of different fonts used and on their order. 
So the following fails but compiles if one moves the first use of \emph to the begin. 

\documentclass{article}
\usepackage[T1]{fontenc}%
\usepackage{lmodern}%
\renewcommand*{\ttdefault}{lmvtt}%
\usepackage{url}
\begin{document}
%\emph{blub} %compiles with this
\section{Preface}
\textsf{hyperref}

\texttt{hyperref}

\subsection{Restoring removed patches}
project, described at \url{http://xxx.lanl.gov/hypertex/}

{\footnotesize\url{https://ctan.org/tex-archive/support/hypertex/hypertex}}. 

\emph{ad hoc}
\textit{The  Web Companion}, where you will
{\footnotesize This is borrowed from an article by Arthur Smith.} 
\textbf{xxxx} 
\end{document}

It would be nice if that problem could be resolved, as it is not good if everything second upload to ctan the hyperref html manual is missing. 

Ulrike




More information about the tex4ht mailing list.