# preview with lualatex dvipng replacement? [closed]

Maybe this is TexStudio related not the general question. preview with pdflatex comlier works fine. when i switched to lulalatex preview command fail. i use

lualatex --output-format=dvi -interaction=nonstopmode "\input" "test.tex"

font used is: Arial Unicode MS.

compilation error:

! LuaTeX error (DVI back-end): no output function for "pdf_literal" whatsit. \endgroup \set@typeset@protect l.31 \end{document}

and dvi file is empty (no fonts loaded/embeded) is there like pdf2png which can be used with lualatex?

-

## closed as unclear what you're asking by Joseph Wright♦Aug 17 '13 at 19:08

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

The preview screen of TeXStudio uses dvipng, which is based on the DVI format that doesn't support OpenType fonts. There's currently no replacement. –  egreg Jun 6 '13 at 16:29
Your document (or a package it loads) is using pdf/luatex commands to insert literal pdf into the output, that only works when generating pdf. Imagemagic convert can be used to convert pdf to png –  David Carlisle Jun 6 '13 at 16:29
Without an example of your input, we can't really tell what exactly the source of the issue is. However, as commented, it's at least possible that you are loading package(s) that need PDF-mode specials. Please edit in an example and we can reopen. –  Joseph Wright Aug 17 '13 at 19:09