summaryrefslogtreecommitdiff
path: root/dviware/dvi2tty/README
blob: 0ef6770ac0569523637800f3b4ab5b9c95251038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
                DVI2TTY


dvi2tty is intended for previewing dvi-files on text-only
devices (terminals and lineprinters).
The program is basically an improved C version of the pascal
program written by Svante Lindahl (see README.ORG).
I translated it because I could not find a pascal compiler 
on our machine that could compile it.
The program runs under UNIX and MSDOS without problems
It should also run under VMS. 
(you may need some site dependend redefinitions, see below).


                DISDVI

Disdvi is a simple hack that dumps a dvi file in a more readable form.
It is not a spectacular program but use it and improve as you wish.
I'd appreciate any enhancements made, bug reports etc. mailed to me.
  

    COMPILING THE PROGRAMS

Disdvi is rather simple and does not need any modifications.
To compile under VMS, you might need to define an extra macro:
Add a -DVMS on the command line, or add a line
    #define VMS
in the dvi2tty.h file.
For dvi2tty you may find the following problems:

 function strchr() can not be found:
      Your are probably a BSD UNIX or alike.
      Solution: #define strchr index
 '/usr/bin/pg' program not found.
      Solution: change the DEFPAGER macro in dvi2tty.c

When set, just type:

	make

to build disdvi and dvi2tty

dvi2tty is licensed under the GPL version 2. It has had a history of many
authors, I am just one of the latest maintainers.

Thats all, good luck.


If you like this code and want to support is feel free to donate
at Paypal marcel@mesa.nl. Thanks

- Marcel 
#########################################
# Marcel J.E. Mol                       #
#                                       #
# MESA Consulting                       #
# email: marcel@mesa.nl                 #
# The Netherlands                       #
#                                       #
#########################################

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

                dvi2tty-6.0.0 (20160305)

  * Support TeX encodings in dvi:
      OT1, OML, OMS, T1, TS1, OT2, T2A, T2B, T2C, X2
  * Support plain text encodings in output:
      ASCII, LATIN1, UTF-8
  * Support Japanese TeX (NTT JTeX, ASCII pTeX, upTeX) dvi and
      plain text encodings ISO-2022-JP, EUC-JP, Shift_JIS, UTF-8
  * Work along with kpathea, ptexenc libraries


Since March 2016, dvi2tty has been maintained by
TANAKA Takuji  <ttk@t-lab.opal.ne.jp>
at
https://github.com/t-tk/dvi2tty

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-