[tex4ht] [bug #403] tex4ht fails with scrartcl class when defining \rm command. Argument of \popthree has an extra
Nasser M. Abbasi
nma at 12000.org
Sat Oct 20 19:05:02 CEST 2018
URL:
<http://puszcza.gnu.org.ua/bugs/?403>
Summary: tex4ht fails with scrartcl class when defining \rm
command. Argument of \popthree has an extra
Project: tex4ht
Submitted by: nma123
Submitted on: Sat 20 Oct 2018 08:04:41 PM EEST
Category: None
Priority: 5 - Normal
Severity: 3 - Minor
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Posted at
https://tex.stackexchange.com/questions/455994/tex4ht-fails-with-scrartcl-class-when-defining-rm-command-argument-of-popthre
This MWE compiles OK with lualatex and pdflatex but fails with tex4ht. Why?
And this happens only when using scrartcl and not with article.
---------------------
\documentclass[11pt]{scrartcl}%{article}
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
\begin{document}
test
\end{document}
------------------
Now
------------------
make4ht -ulm draft foo.tex
....
(/usr/local/texlive/2018/texmf-dist/tex/generic/tex4ht/html5.4ht))
(/usr/local/texlive/2018/texmf-dist/tex/generic/tex4ht/scrartcl.4ht
! Argument of \popthree has an extra }.
<inserted text>
\par
l.33 \:temp{rm}
?
------------------------
I also tried
\documentclass[11pt,enabledeprecatedfontcommands]{scrartcl}
But make4ht still gave same error.
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?403>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the tex4ht
mailing list