# Set DVI version output in xelatex?

After upgrade to TeXLive 2015 I can no longer convert xdv output of xelatex to svg with dvisvgm.

MWE:

\documentclass{article}

\usepackage{fontspec}
\usepackage{polyglossia}

\begin{document}

$x^2$

\end{document}

Compilation:

$xelatex -no-pdf mwe.tex$ dvisvgm mwe.xdv
DVI error: DVI format 6 not supported

Is there a way to make xelatex output the previous DVI version 5? (which is supported by dvisvgm)

Note: dvisvgm support for DVI version 6 has already been requested.

• I think there is no way. Lets wait for the update of dvisvgm. Jul 11, 2015 at 21:36
• I've just added support for the new XDV format to dvisvgm. The code is available through the GitHub repository and will be part of the next release. Jul 12, 2015 at 16:23
• @Martin: great! It works. Thank you so much! Jul 12, 2015 at 16:33