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 27 Aug 2019 09:53:54 PM EEST  
Category: NonePriority: 5 - Normal
Severity: 7 - ImportantStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Tue 27 Aug 2019 09:53:54 PM EEST, original submission:


This MWE compiles OK with lualatex but fails in tex4ht using TL 2019 on Linux


\adjustbox{max width=\textwidth}{%
y \left( x \right) &={x}^{2}+x+3\\


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)) (./foo.aux)
! Missing } inserted.
<inserted text>
l.8 $


Is there a workaround?

Thank you


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 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):



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray