Tue Aug 27 18:53:54 2019, original submission:
Hello
This MWE compiles OK with lualatex but fails in tex4ht using TL 2019 on Linux
--------------------------
\documentclass{article}%
\usepackage{amsmath}
\usepackage{adjustbox}
\begin{document}
\begin{equation*}
\adjustbox{max width=\textwidth}{%
$
\begin{aligned}
y \left( x \right) &={x}^{2}+x+3\\
\end{aligned}
$}
\end{equation*}
\end{document}
------------------
Error is
>make4ht -ulm default foo.tex 'htm,3,pic-align,notoc*,p-width,charset=utf-8,svg' '-cmozhtf -utf8'
Output dir:
Compiler: dvilualatex
Latex options: -jobname=foo
tex4ht.sty : xhtml,htm,3,pic-align,notoc*,p-width,charset=utf-8,svg,charset=utf-8
tex4ht -cmozhtf -utf8
build_file foo.mk4
Output format html5
Cannot open config file foo.mk4
setting param correct_exit
setting param correct_exit
setting param correct_exit
setting param ext
Adding: ext dvi
LaTeX call: dvilualatex -jobname=foo '\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@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 xhtml,htm,3,pic-align,notoc*,p-width,charset=utf-8,svg,charset=utf-8,html5.a.b.c.\input "\detokenize{foo.tex}"'
This is LuaTeX, Version 1.10.0 (TeX Live 2019)
restricted system commands enabled.
LaTeX2e <2018-12-01>
.
.
.
luaotfload | main : initialization completed in 0.088 seconds
(./foo.tex (/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls
Document Class: article 2018/09/03 v1.4i Standard LaTeX
(/usr/local/texlive/2019/texmf-dist/tex/generic/tex4ht/html5.4ht))
(/usr/local/texlive/2019/texmf-dist/tex/generic/tex4ht/html4.4ht)
(/usr/local/texlive/2019/texmf-dist/tex/generic/tex4ht/unicode.4ht)
(/usr/local/texlive/2019/texmf-dist/tex/generic/tex4ht/html4-math.4ht)
(/usr/local/texlive/2019/texmf-dist/tex/generic/tex4ht/svg-option.4ht)
(/usr/local/texlive/2019/texmf-dist/tex/generic/tex4ht/html5.4ht)) (./foo.aux)
! Missing } inserted.
<inserted text>
}
l.8 $
Related:
https://tex.stackexchange.com/questions/505743/why-tex4ht-fails-to-compile-this-file-error-from-ot1lmtt-fd
Is there a workaround?
Thank you
--Nasser
|