[tex4ht] Too many DVI errors. stack empty at pop command, conficts, bm package, siunitx, dvilualatex
Nasser M. Abbasi
nma at 12000.org
Fri Jan 1 21:03:27 CET 2016
On 1/1/2016 5:31 AM, Michal Hoftich wrote:
> Hi Nasser,
>
> it seems that it is caused by the xfrac package. A really minimal
> example is following:
>
> ------------
> \documentclass[12pt]{report}%
> \usepackage[T1]{fontenc}
> \usepackage{xfrac}
>
> \begin{document}
> \[ \sfrac{a}{b} \]
> \end{document}
> ------------
>
> compiled with
>
> latex minimal.tex
> dvisvgm minimal.dvi
>
> we got:
>
> processing page 1
> page size: 12.0124pt x 548.966pt (4.22189mm x 192.94mm)
> page written to minimal.svg
> 1 of 1 page converted in 0.34971 seconds
> Neoprávněný přístup do paměti (SIGSEGV) (core dumped [obraz paměti uložen])
>
> (yes that Czech message is about unauthorized memory access)
>
> In this simple case the svg file seems fine, but in your more
> complicated case it is really garbage. So I think it should be
> reported to dvisvgm maintainers.
>
> To temporarily fix your code, I would add something like:
>
> \renewcommand\sfrac[2]{#1/#2}
>
> until it's fixed.
>
> Best regards,
> Michal
>
Thanks but I am not getting the core dump on my end? TL 2015
fresh update.
---------------------------------
>cat foo.tex
\documentclass[12pt]{report}%
\usepackage[T1]{fontenc}
\usepackage{xfrac}
\begin{document}
\[ \sfrac{a}{b} \]
\end{document}
>latex foo.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
.....
Output written on foo.dvi (1 page, 700 bytes).
>dvisvgm foo.dvi
pre-processing DVI file (format 2)
processing page 1
page size: 12.0124pt x 548.966pt (4.22189mm x 192.94mm)
page written to foo.svg
1 of 1 page converted in 0.272353 seconds
>ls -l foo.dvi
-rwxrwxrwx 1 me me 700 Jan 1 13:54 foo.dvi
---------------------------
Here is the file listing
*File List*
report.cls 2014/09/29 v1.4h Standard LaTeX document class
size12.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
xfrac.sty 2015/12/20 v6326 L3 Experimental split-level fractions
expl3.sty 2015/12/20 v6326 L3 programming layer (loader)
expl3-code.tex 2015/12/20 v6326 L3 programming layer
l3dvips.def 2015/11/11 v6250 L3 Experimental driver: dvips
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
graphicx.sty 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
graphics.sty 2014/10/28 v1.0p Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
dvips.def 2014/10/14 v3.0j Driver-dependent file (DPC,SPQR)
l3keys2e.sty 2015/12/20 v6326 LaTeX2e option processing using LaTeX3 keys
textcomp.sty 2005/09/27 v1.99g Standard LaTeX package
ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
xparse.sty 2015/12/20 v6326 L3 Experimental document command parser
xtemplate.sty 2015/12/20 v6326 L3 Experimental prototype document functions
ts1cmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
***********
>which dvisvgm
/usr/local/texlive/2015/bin/x86_64-linux/dvisvgm
If you like me to try something else, please let me know.
btw, there is new version of dvisvgm by Martin Gieseking just
annouced. Current version we are using on TL 2015 is 1.9.2,
but the new versio is 1.14 2015-12-28. But TL will not
update to new one until TL 2016. So it needs to be manually
build for TL 2015 if we to use it now. Binaries only for
windows and mac. I might have some bug fixes also.
--Nasser
More information about the tex4ht
mailing list