Index of /archives/text/CTAN/dviware/dvi2tty
Name Last modified Size Description
Parent Directory -
README.MAC 2016-03-04 22:17 249
dvi2tty.lsm 2016-03-04 22:17 487
disdvi.1 2016-03-04 22:17 542
Makefile 2016-03-04 22:17 795
README.ORG 2016-03-04 22:17 1.0K
dvi2tty.DCL 2016-03-04 22:17 1.3K
README.VMS 2016-03-04 22:17 1.6K
TODO 2016-03-04 22:17 1.7K
README 2016-03-25 22:46 2.5K
DVI.format 2016-03-04 22:17 3.4K
commands.h 2016-03-04 22:17 4.5K
dvi2tty.1 2016-03-04 22:27 5.2K
dvi2tty.h 2016-03-05 10:26 6.4K
Changelog 2016-03-05 10:23 8.8K
dvi2tty.tex 2016-03-01 14:00 9.2K
COPYING 2016-03-05 16:29 18K
tex2ucs.h 2016-03-05 10:35 19K
disdvi.c 2016-03-04 22:36 22K
dvi2tty.c 2016-03-05 16:44 29K
dvistuff.c 2016-03-01 14:28 89K
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
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-