Signatures
|
External signatures |
File extension: dvi
|
Internal signatures |
Name |
TeX/LaTeX Device-Independent Document |
Description |
Opcode 0xF7, pre (the preamble) must be the first opcode in the DVI file. It takes at least fourteen bytes of parameters, plus an optional comment of up to 255 bytes. The first parameter is 1 byte that identifies DVI format; currently this byte is always set to 0x02. Opcode 0xF9, post_postamble is the last opcode of the dvi file. It is followed by a 4 byte pointer to the post command that started the postamble. An identification byte, comes next, which currently equals 0x02.
The identification byte is followed by four or more bytes that are all equal to 0xDF. TeX puts out four to seven of these trailing bytes, until the total length of the file is a multiple of four bytes. |
Byte sequences |
Position type |
Absolute from BOF |
Offset |
0 |
Byte order |
|
Value |
F702 |
Position type |
Absolute from EOF |
Offset |
0 |
Byte order |
|
Value |
F9{4}02{0-3}DFDFDFDF |
|
|
|