| 1 |
dviout-util |
| 2 |
=========== |
| 3 |
|
| 4 |
This is a *partial* repackaging of elements of the DVIOUT package |
| 5 |
by Toshio OSHIMA, Yoshiki OTOBE, and Kazunori ASAYAMA. |
| 6 |
Here we don't include the main DVI previewer, but just want small utility |
| 7 |
programs. Small description: |
| 8 |
|
| 9 |
* chkdvifont[.exe] : A utility to check font in DVI/TFM/JFM/FONT files |
| 10 |
(formerly chkfont.exe; renamed due to name conflicts) |
| 11 |
* chkdvifont-ja.txt : Document of chkdvifont.exe (in Japanese) |
| 12 |
(formerly chkfont.txt) |
| 13 |
* dvispc[.exe] : A utility to correct the page-independence of DVI file |
| 14 |
using color specials or tpic specials and |
| 15 |
to transform between a DVI file and a text file |
| 16 |
* dvispc-ja.txt : A document of dvispc.exe (in Japanese) |
| 17 |
(formerly dvispc.txt) |
| 18 |
* dvispc-en.txt : A document of dvispc.exe |
| 19 |
(formerly dvispce.txt) |
| 20 |
|
| 21 |
The followings are not (currently) added. |
| 22 |
|
| 23 |
* propw[.exe] : A utility to make jfm files for Japanese proportional font |
| 24 |
* propw-ja.txt : Document of propw.exe (in Japanese) |
| 25 |
(formerly propw0.txt) |
| 26 |
|
| 27 |
|
| 28 |
### License |
| 29 |
|
| 30 |
This package is licensed under the Expat license. See COPYING for detail. |
| 31 |
(Similar to the original DVIOUT package.) |
| 32 |
|
| 33 |
|
| 34 |
### Repository |
| 35 |
|
| 36 |
This package is maintained on GitHub for development. |
| 37 |
https://github.com/texjporg/tex-jp-build |
| 38 |
(under source/texk/dviout-util) |
| 39 |
|
| 40 |
Please email any bug reports or problems to [email protected] mailing list. |
| 41 |
|
| 42 |
|
| 43 |
### Building dviout-util outside TeX Live |
| 44 |
|
| 45 |
You can visit the GitHub repository |
| 46 |
https://github.com/aminophen/dviout-util |
| 47 |
to obtain the standalone sources of dviout-util. |
| 48 |
|
| 49 |
The files in 00texjporg/ are encoded in UTF-8 (LF) for Unix. |
| 50 |
Other files are encoded in CP932 (LF) for Windows. |
| 51 |
|
| 52 |
For Unix (GNU C; gcc, clang): |
| 53 |
|
| 54 |
$ cd dviout-util/00texjporg |
| 55 |
$ gcc -o chkdvifont -I.. chkdvifont.c |
| 56 |
$ gcc -o dvispc -I.. dvispc.c |
| 57 |
$ gcc -o propw -I.. propw.c |
| 58 |
|
| 59 |
For Windows: |
| 60 |
|
| 61 |
$ cd dviout-util |
| 62 |
$ cl -O2 /MD -I. chkdvifont.c |
| 63 |
$ cl -O2 /MD -I. dvispc.c |
| 64 |
$ cl -O2 /MD -I. -DWIN32 propw.c /link gdi32.lib |
| 65 |
|
| 66 |
The only difference from TeX Live version is that dvispc does not use |
| 67 |
PTEXENC, which enables UTF-8 character printing. |
| 68 |
|
| 69 |
|
| 70 |
### Character Encodings |
| 71 |
|
| 72 |
The files in texlive subversion repository (under Build/source/texk/dviout-util) |
| 73 |
https://www.tug.org/svn/texlive/trunk/ |
| 74 |
are encoded in UTF-8 (LF). |
| 75 |
The files in dviout subversion repository |
| 76 |
https://www.tug.org/svn/dviout/trunk/ |
| 77 |
are encoded in CP932 (LF), except for files inside distribution/ directory. |
| 78 |
|
| 79 |
If you like to distribute the files (especially .txt documents) on |
| 80 |
Windows, it might be better to convert LF to CRLF (CP932 should be kept): |
| 81 |
|
| 82 |
$ nkf -s -Lw --overwrite propw0.txt |
| 83 |
|
| 84 |
The LF -> CRLF conversion is suggested in dviout subversion repository, |
| 85 |
under distribution/ directory. |
| 86 |
|
| 87 |
|
| 88 |
This README was written by Hironobu Yamashita. |
| 89 |
Public domain. (September 2018) |