1 This file is public domain.
2 Originally written 1995, Geoffrey Tobin.
3 The author has expressed the hope that any modification will retain enough content to remain useful. He would also appreciate being acknowledged as the original author in the documentation.
4 This declaration added 2008/11/14 by Clea F. Rees with the permission of Geoffrey Tobin.
10 Correspondence between DTL and DVI files.
11 -----------------------------------------
13 DTL variety sequences-6, version 0.6.0
14 --------------------------------------
16 Note: `DTL' stands for `Device-Independent Text Language', and is an
17 ASCII text representation of a DVI file.
19 References for DVI file structure:
20 ----------------------------------
28 CTAN: dviware/driv-standard/level-0/dvistd0.tex
30 "The DVI Driver Standard, Level 0",
31 by The TUG DVI Driver Standards Committee (now defunct)
32 chaired by Joachim Schrod.
33 Appendix A, "Device-Independent File Format",
34 section A.2, "Summary of DVI commands".
39 variety <variety-name> Specifies name of DTL file type.
41 Naturally, `variety' has no DVI equivalent.
43 The other DTL commands correspond one-to-one with DVI commands, but I
44 have used briefer names (except for `special') than those used in the
45 DVI standards document.
49 (text) : series of set_char commands, for printable ASCII text
50 \( : literal ASCII left parenthesis in (text)
51 \) : literal ASCII right parenthesis in (text)
52 \\ : literal ASCII backslash in (text)
53 \" : literal ASCII double quote in (text)
54 \XY : set_char for character with hexadecimal code XY,
55 not in parentheses, but by itself for readability
56 s1, s2, s2, s3 : set, with (1,2,3,4)-byte charcodes
58 p1, p2, p2, p3 : put, with (1,2,3,4)-byte charcodes
60 nop : nop (do nothing)
61 bop : bop (beginning of page)
62 eop : eop (end of page)
65 r1, r2, r3, r4 : right, with (1,2,3,4)-byte argument
66 w0, w1, w2, w3, w4 : as in DVI
67 x0, x1, x2, x3, x4 : as in DVI
68 d1, d2, d3, d4 : down, with (1,2,3,4)-byte argument
69 y0, y1, y2, y3, y4 : as in DVI
70 z0, z1, z2, z3, z4 : as in DVI
71 fn : fnt_num (set current font to font number in 0 to 63)
72 f1, f2, f3, f4 : fnt (set current font to (1,2,3,4)-byte font number)
73 special : xxx (special commands with (1,2,3,4)-byte string length)
74 fd : fnt_def (assign a number to a named font)
76 post : post (begin postamble)
77 post_post : post_post (end postamble)
78 opcode : undefined DVI command (250 to 255)