The structure of the DVI file format is documented by Donald Knuth in TEX: the Program, Addison-Wesley, 1986.
Although PDF is the primary output format, LuaTeX can also output DVI files. Are these DVI files different from what is found in the original specification?
XeTeX can output XDV files, which are an extension of the DVI format. Is the XDV format documented anywhere?
dvitype
program (texdoc dvitype
), with relevant parts of it (somewhat unnecessarily IMO) duplicated in “The DVI Driver Standard, Level 0”.