Article View: comp.text
Article #6293New dvi2ps with on-line help and continuous font sizes
From: Jingbai Wang
Date: Tue, 02 May 1989 16:48
Date: Tue, 02 May 1989 16:48
103 lines
4834 bytes
4834 bytes
As I said, I have a version of dvi2ps to release. For those who can wait
I put it in ~/tmp anonymous (password=guest) june.cs.washington.edu for
ftp. It is in .arc format (sorry about that). To unarc it, use
$arc dvi2ps
$sh unarc.sh
This program has many features that never existed before this date. The
following is part of the dvi2ps.doc in the package.
_________________________
1. Description and Syntax
dvi2ps is a popular TeX dvi->PostScript device driver (or translator)
(PostScript is a trademark of Adobe Systems, Inc) for UNIX systems. This
program converts a TeX DVI file to PostScript, and writes the result to a
more standard output.
However, this particular version of dvi2ps is not the same as the ones that
are already in many sites. THIS dvi2ps IS ONE OF THE FEW PostScript
TRANSLATORS THAT DO THINGS THAT CAN BE CALLED PostScript. The following
features make this program unique.
- All the fonts, including raster-type bitmap fonts (like cmfonts)
and built-in Adobe fonts (like Times-Roman), can be scaled on
continuous basis. For instance,
\font\cmrforty=cmr17 at 40pt
\cmrforty{The font size is exacty 40 points.}
will give 40 points fonts of cmfonts in Roman.
- It has three \special features to allow you to include PostScript
files of any kind, such as well-behaved PostScript file with
bounding box (with \psfig), poor nonstandard PostScript files
(with \special{psfile filename}), and full-page/multi-page
PostScript image files (with \special{pspage filename}).
- You can use PostScript commands directly in your TeX/LaTeX with
\special{ps-string PostScript commands}.
- This dvi2ps is has a built-in on-line help viewer for ANSI
terminals. The help files available with the package are
dvi2ps.doc (this file) and texint.doc (Introduction to TeX/LaTeX).
To view the former, use
$dvi2ps -H
and for the latter, use,
$dvi2ps -H tex
- This program uses TeX fonts (like cmfonts) in PK format (such as
cmr10.300pk for cmr10, 300 dpi at mag=1000), and built-in Adobe
fonts that only need TFM files (such as t-rom.tfm for Times-Roman
font). They can all be used at any point size. When TeX fonts are
used, the closest PK file will be loaded and if the size is not
exactly the same as specified by TFM file, PostScript scaling is
used to scale the font. PXL files can also be used, but greatly
discouraged.
- It can look for PK files in predefined system directory and(not
or) user's directory.
- ...
Thus, even if there is only one mag set of *.*pk files, such as *.300pk in
your system, it can still give an acceptable output most of times (but, of
course, if scaled too much, bitmap fonts don't look good). Also, this dvi2ps
will make the existence of SliTeX redundant.
Example: the simplest syntax is,
$dvi2ps foo.dvi>foo.ps
1.1 SYNOPSIS
$dvi2ps [-=] [-H tex/latex/dvi2ps] [-a pxldirs] [-d] [-f n] [-h] [-i file]
[-m n] [-o str] [-q] [-r] [-s] [-t n] [-F n] [-x pages] [-K userfontpath]
[-M] dvifile[.dvi]
...
TABLE OF CONTENTS
1. Description and Syntax . . . . . . . . . . . . . . . . . . . 2
1.1 SYNOPSIS . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 ARGUMENTS . . . . . . . . . . . . . . . . . . . . . . 3
2. NOTES . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3. Adobe Fonts . . . . . . . . . . . . . . . . . . . . . . . . . 6
4. Specials . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5. Greek Letters . . . . . . . . . . . . . . . . . . . . . . . . 6
6. FILES . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
7. Bugs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
8. See Also . . . . . . . . . . . . . . . . . . . . . . . . . . 7
9. AUTHOR(s) . . . . . . . . . . . . . . . . . . . . . . . . . . 8
__________________________
JB Wang
p.s. A newer version with more features may be released soon.
Technical Details
Message-ID:
<17892@cisunx.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!rochester!pt.cs.cmu.edu!cadre!pitt!cisunx!jbwShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!rochester!pt.cs.cmu.edu!cadre!pitt!cisunx!jbw From: jbw@cisunx.UUCP (Jingbai Wang) Newsgroups: comp.text Subject: New dvi2ps with on-line help and continuous font sizes Message-ID: <17892@cisunx.UUCP> Date: 2 May 89 16:48:46 GMT Reply-To: jbw@cisunx.UUCP (Jingbai Wang) Distribution: usa Organization: Univ. of Pittsburgh, Comp & Info Sys Lines: 103