bugtex4ht - Bugs: bug #436, tex4ht fails to compile valid...

 
 
Show feedback again

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

bug #436: tex4ht fails to compile valid latex using \adjustbox

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Tue Aug 27 18:53:54 2019  
 
Category: NonePriority: 5 - Normal
Severity: 7 - ImportantStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu Jun 2 11:19:44 2022, comment #1:

I think this issue had been fixed in the meantime, I don't get any error for this file now. So I think we can close this.

Michal Hoftich <michal_h21>
Project Member
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

Nasser M. Abbasi <nma123>

 

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 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 2 11:19:44 2022michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray