| 1 |
DVI2TTY |
| 2 |
|
| 3 |
|
| 4 |
dvi2tty is intended for previewing dvi-files on text-only |
| 5 |
devices (terminals and lineprinters). |
| 6 |
The program is basically an improved C version of the pascal |
| 7 |
program written by Svante Lindahl (see README.ORG). |
| 8 |
I translated it because I could not find a pascal compiler |
| 9 |
on our machine that could compile it. |
| 10 |
The program runs under UNIX and MSDOS without problems |
| 11 |
It should also run under VMS. |
| 12 |
(you may need some site dependend redefinitions, see below). |
| 13 |
|
| 14 |
|
| 15 |
DISDVI |
| 16 |
|
| 17 |
Disdvi is a simple hack that dumps a dvi file in a more readable form. |
| 18 |
It is not a spectacular program but use it and improve as you wish. |
| 19 |
I'd appreciate any enhancements made, bug reports etc. mailed to me. |
| 20 |
|
| 21 |
|
| 22 |
COMPILING THE PROGRAMS |
| 23 |
|
| 24 |
Disdvi is rather simple and does not need any modifications. |
| 25 |
To compile under VMS, you might need to define an extra macro: |
| 26 |
Add a -DVMS on the command line, or add a line |
| 27 |
#define VMS |
| 28 |
in the dvi2tty.h file. |
| 29 |
For dvi2tty you may find the following problems: |
| 30 |
|
| 31 |
function strchr() can not be found: |
| 32 |
Your are probably a BSD UNIX or alike. |
| 33 |
Solution: #define strchr index |
| 34 |
'/usr/bin/pg' program not found. |
| 35 |
Solution: change the DEFPAGER macro in dvi2tty.c |
| 36 |
|
| 37 |
When set, just type: |
| 38 |
|
| 39 |
make |
| 40 |
|
| 41 |
to build disdvi and dvi2tty |
| 42 |
|
| 43 |
dvi2tty is licensed under the GPL version 2. It has had a history of many |
| 44 |
authors, I am just one of the latest maintainers. |
| 45 |
|
| 46 |
Thats all, good luck. |
| 47 |
|
| 48 |
|
| 49 |
If you like this code and want to support is feel free to donate |
| 50 |
at Paypal [email protected]. Thanks |
| 51 |
|
| 52 |
- Marcel |
| 53 |
######################################### |
| 54 |
# Marcel J.E. Mol # |
| 55 |
# # |
| 56 |
# MESA Consulting # |
| 57 |
# email: [email protected] # |
| 58 |
# The Netherlands # |
| 59 |
# # |
| 60 |
######################################### |
| 61 |
|
| 62 |
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- |
| 63 |
|
| 64 |
dvi2tty-6.0.0 (20160305) |
| 65 |
|
| 66 |
* Support TeX encodings in dvi: |
| 67 |
OT1, OML, OMS, T1, TS1, OT2, T2A, T2B, T2C, X2 |
| 68 |
* Support plain text encodings in output: |
| 69 |
ASCII, LATIN1, UTF-8 |
| 70 |
* Support Japanese TeX (NTT JTeX, ASCII pTeX, upTeX) dvi and |
| 71 |
plain text encodings ISO-2022-JP, EUC-JP, Shift_JIS, UTF-8 |
| 72 |
* Work along with kpathea, ptexenc libraries |
| 73 |
|
| 74 |
|
| 75 |
Since March 2016, dvi2tty has been maintained by |
| 76 |
TANAKA Takuji <[email protected]> |
| 77 |
at |
| 78 |
https://github.com/t-tk/dvi2tty |
| 79 |
|
| 80 |
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- |