Article View: gnu.misc.discuss
Article #73324Using PostScript fonts for Texinfo
From: Garrett Wollman
Date: Fri, 04 Oct 1991 17:05
Date: Fri, 04 Oct 1991 17:05
178 lines
6662 bytes
6662 bytes
Recently, we upgraded to a new PostScript printer (an HP LaserJet
IIISi as it happens) which is capable of doing all the standard PS
fonts. Since we also have a recent version of dvips, we can now print
out Texinfo documents in nice fonts, like Palatino. Here are the
diffs to texinfo.tex to create pstexinfo.tex, which does most normal
text in Palatino, constant-width text in Courier, sans-serif text in
Helvetica, and the main title in Zapf Chancery.
Now can anyone tell me how to turn on the IIISi's duplexer from
PostScript, and then turn it back off again when I'm done?
-GAWollman
------------------------------------------------
*** texinfo.tex Sun Mar 31 19:34:40 1991
--- pstexinfo.tex Fri Oct 4 12:47:00 1991
***************
*** 345,393 ****
\def\inforefzzz #1,#2,#3,#4**{See Info file \file{\losespace#3{}}, node `\losespace#1{}'}
\def\losespace #1{#1}
! \message{fonts,}
% Font-change commands.
! %% Try out Computer Modern fonts at \magstephalf
! \font\tenrm=cmr10 scaled \magstephalf
! \font\tentt=cmtt10 scaled \magstephalf
! % Instead of cmb10, you many want to use cmbx10.
! % cmbx10 is a prettier font on its own, but cmb10
! % looks better when embedded in a line with cmr10.
! \font\tenbf=cmb10 scaled \magstephalf
! \font\tenit=cmti10 scaled \magstephalf
! \font\tensl=cmsl10 scaled \magstephalf
! \font\tensf=cmss10 scaled \magstephalf
\def\li{\sf}
\font\tensc=cmcsc10 scaled \magstephalf
% Fonts for @defun, etc.
! \font\defbf=cmbx10 scaled \magstep1 %was 1314
\let\deftt=\tentt
\def\df{\let\tt=\deftt \defbf}
% Font for title
! \font\titlerm = cmbx10 scaled \magstep5
% Fonts for indices
! \font\indit=cmti9 \font\indrm=cmr9
\def\indbf{\indrm} \def\indsl{\indit}
\def\indexfonts{\let\it=\indit \let\sl=\indsl \let\bf=\indbf \let\rm=\indrm}
% Fonts for headings
! \font\chaprm=cmbx10 scaled \magstep3
! \font\chapit=cmti10 scaled \magstep3
! \font\chapsl=cmsl10 scaled \magstep3
! \font\chaptt=cmtt10 scaled \magstep3
! \font\chapsf=cmss10 scaled \magstep3
\let\chapbf=\chaprm
! \font\secrm=cmbx10 scaled \magstep2
! \font\secit=cmti10 scaled \magstep2
! \font\secsl=cmsl10 scaled \magstep2
! \font\sectt=cmtt10 scaled \magstep2
! \font\secsf=cmss10 scaled \magstep2
\let\secbf=\secrm
% \font\ssecrm=cmbx10 scaled \magstep1 % This size an fontlooked bad.
--- 345,389 ----
\def\inforefzzz #1,#2,#3,#4**{See Info file \file{\losespace#3{}}, node `\losespace#1{}'}
\def\losespace #1{#1}
! \message{PostScript fonts,}
% Font-change commands.
! \font\tenrm=pplr scaled \magstephalf
! \font\tentt=pcrr scaled \magstephalf
! \font\tenbf=pplb scaled \magstephalf
! \font\tenit=pplri scaled \magstephalf
! \font\tensl=pplro scaled \magstephalf
! \font\tensf=phvr scaled \magstephalf
\def\li{\sf}
\font\tensc=cmcsc10 scaled \magstephalf
% Fonts for @defun, etc.
! \font\defbf=pplb scaled \magstep1 %was 1314
\let\deftt=\tentt
\def\df{\let\tt=\deftt \defbf}
% Font for title
! \font\titlerm = pzcmi scaled \magstep5
% Fonts for indices
! \font\indit=pplri at 9pt \font\indrm=pplr at 9pt
\def\indbf{\indrm} \def\indsl{\indit}
\def\indexfonts{\let\it=\indit \let\sl=\indsl \let\bf=\indbf \let\rm=\indrm}
% Fonts for headings
! \font\chaprm=pplb scaled \magstep3
! \font\chapit=pplri scaled \magstep3
! \font\chapsl=pplro scaled \magstep3
! \font\chaptt=pcrr scaled \magstep3
! \font\chapsf=phvr scaled \magstep3
\let\chapbf=\chaprm
! \font\secrm=pplb scaled \magstep2
! \font\secit=pplri scaled \magstep2
! \font\secsl=pplro scaled \magstep2
! \font\sectt=pcrr scaled \magstep2
! \font\secsf=phvr scaled \magstep2
\let\secbf=\secrm
% \font\ssecrm=cmbx10 scaled \magstep1 % This size an fontlooked bad.
***************
*** 396,406 ****
% \font\ssectt=cmtt10 scaled \magstep1
% \font\ssecsf=cmss10 scaled \magstep1
! \font\ssecrm=cmb10 at 13pt % Note the use of cmb rather than cmbx.
! \font\ssecit=cmti10 at 13pt % Also, the size is a little larger than
! \font\ssecsl=cmsl10 at 13pt % being scaled magstep1.
! \font\ssectt=cmtt10 at 13pt
! \font\ssecsf=cmss10 at 13pt
\let\ssecbf=\ssecrm
--- 392,402 ----
% \font\ssectt=cmtt10 scaled \magstep1
% \font\ssecsf=cmss10 scaled \magstep1
! \font\ssecrm=pplb at 13pt
! \font\ssecit=pplri at 13pt % Also, the size is a little larger than
! \font\ssecsl=pplro at 13pt % being scaled magstep1.
! \font\ssectt=pcrr at 13pt
! \font\ssecsf=phvr at 13pt
\let\ssecbf=\ssecrm
***************
*** 476,482 ****
\let\subtextrm = \tenrm
\def\subtextfont{\subtextrm \normalbaselineskip = 12pt \normalbaselines}%
%
! \font\authorrm = cmbx10 scaled \magstep2
\def\authorfont{\authorrm \normalbaselineskip = 16pt \normalbaselines}%
%
% The first paragraph should have some space before it, but all
--- 472,478 ----
\let\subtextrm = \tenrm
\def\subtextfont{\subtextrm \normalbaselineskip = 12pt \normalbaselines}%
%
! \font\authorrm = pplb scaled \magstep2
\def\authorfont{\authorrm \normalbaselineskip = 16pt \normalbaselines}%
%
% The first paragraph should have some space before it, but all
***************
*** 2159,2165 ****
\global\pagewidth=\hsize
\global\pageheight=\vsize
! \global\font\ninett=cmtt9
\global\let\smalllisp=\smalllispx
\global\let\smallexample=\smalllispx
--- 2155,2161 ----
\global\pagewidth=\hsize
\global\pageheight=\vsize
! \global\font\ninett=pcrr at 9pt
\global\let\smalllisp=\smalllispx
\global\let\smallexample=\smalllispx
--
Garrett A. Wollman - wollman@emily.uvm.edu - uvm-gen!wollman
Disclaimer: I'm not even sure this represents *my* opinion, never
mind UVM's, EMBA's, EMBA-CF's, or indeed anyone else's.
Technical Details
Message-ID:
<1991Oct4.170536.17039@uvm.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!uvm-gen!emily!wollmanShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9e16,de12436a787dacc0,start X-Google-Attributes: gidf9e16,public X-Google-Thread: f62f2,de12436a787dacc0,start X-Google-Attributes: gidf62f2,public X-Google-Thread: 1025b4,de12436a787dacc0,start X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1991-10-05 03:49:37 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!uvm-gen!emily!wollman From: wollman@emily.uvm.edu (Garrett Wollman) Newsgroups: gnu.misc.discuss,comp.lang.postscript,comp.text.tex Subject: Using PostScript fonts for Texinfo Message-ID: <1991Oct4.170536.17039@uvm.edu> Date: 4 Oct 91 17:05:36 GMT Sender: news@uvm.edu Distribution: gnu Organization: University of Vermont - EMBA Computing Facility Lines: 178