This question should be of general interest. It is triggered by the Japanese edition of my free physics text (see http://www.motionmountain.net/japanese.html ), where lualatex (from TexLive 2017) would be better than pdflatex. Because in the latex code I use

  • pstricks,
  • dozens of psfrags,
  • hundreds of eps figures,
  • dozens of \specials, and
  • many embedded films with movie15,
  • and a large .cls files with more than 4000 lines of code,

I need to use the tex-dvi-ps-pdf conversion sequence. Can this sequence be used with lua(la)tex?

In pdflatex, the tex-dvi-ps-pdf route can be enforced by setting \pdfoutput=0 and using dvips and then a ps to pdf converter such as ps2pdf or Distiller.

Is this also possible in lua(la)tex? Lualatex does not recognize the command \pdfoutput=0 .

  • Does lualatex --output-format=dvi help?
    – TeXnician
    Aug 27, 2017 at 8:52
  • When using TeX Live, there might be a command named "dvilualatex". (\outputmode=0 of LuaTeX is equivalent of \pdfoutput=0.) And, one more thing: The most recent version of LuaLaTeX requires luaotfload (and the fone encoding is set to TU not OT1), and the usage of its extended font selection scheme is not recognized by dvips. You should add \usepackage[OT1]{fontenc} to avoid errors of dvips. Aug 27, 2017 at 9:32
  • 3
    Why do you want to use LuaTeX? OpenType fonts? Afaik, they are not supported by dvips. Aug 27, 2017 at 9:38
  • Btw: Have you tried auto-pst-pdf etc.?
    – TeXnician
    Aug 27, 2017 at 9:40
  • 1
    I think it's probably worth noting that LuaTeX development is very much PDF-focussed: I would be wary of using DVI mode for new projects with this engine. (That doesn't of course prevent you using it in the case in hand.)
    – Joseph Wright
    Aug 27, 2017 at 12:12

1 Answer 1


The answer is, as given by TeXnician, to use

lualatex --output-format=dvi 
  • 3
    Just a note on our usual etiquette: tex.meta.stackexchange.com/questions/1731/… :)
    – TeXnician
    Aug 27, 2017 at 9:35
  • 1
    One might also use just dvilualatex (which is the same thing, really).
    – Joseph Wright
    Aug 27, 2017 at 12:10
  • You could also use \outputmode=0 in the document, but I don't see what you would gain by using lualatex. As Heiko mentioned in its comment: Open type fonts won't work in dvi-mode, and so you don't simplify the japanese. Aug 27, 2017 at 15:27
  • 1
    this is at best a partial answer as you were suggested luatex in the earlier question so as to use japanese opentype fonts and if you use dvi output from luatex then you will not be able to process such fonts with any standard dvi driver,. Aug 27, 2017 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy