MAJOR=4 MINOR=4 DEVNAME=tty4 7ˆl–Ü4ý(&ÔÜZÔ‚nàS�ÿ�þY£Y²G�•—Àùüÿ „ OºÁÀ¿:z% $Id: dvips.cfg 4 2020-06-09 08:32:19Z herbert $ %% BEGIN: pstricks.con (for dvips driver) %% %% Configuration file for PSTricks %% %% Version 1.00 (2010/01/16) %% %% For use with Rokicki's dvips (tested with v5.74 and older) \def\pstdriver{Rokicki's dvips} {\catcode`\"=12\gdef\pstverb#1{\special{" #1}}} % Check catcode of " \def\pstunit{1bp}% \def\pstVerb#1{\special{ps:#1}}% hv write it without a preceding space \def\pstverbscale{SDict begin normalscale end}% \def\pstnodescale{}% not needed for pdftex % DG/SR modification begin - Apr. 28, 1997 (D. Carlisle + S. Rahtz) % \def\pstheader#1{\special{header=#1}} % We used to check for |\AtBeginDvi|, but that was broken in early release % so we now check for the existence of |\textsuperscript| (added 1995/05/16) \ifx\textsuperscript\@undefined \def\pstheader#1{\special{header=#1}} \else \ifx\Gin@PS@file@header\@undefined \def\pstheader#1{\AtBeginDvi{\special{header=#1}}} \else \let\pstheader\Gin@PS@file@header \fi \fi % DG/SR modification end %% %% In the following, CP is short for currentpoint. %% The neg is necessary because dvips scales the coordinates by 1 -1. %% \tx@NET means neg exch neg exch translate. \def\pstrotate{CP CP translate 3 -1 roll neg rotate \tx@NET} %% %% ****************** END Rokicki's dvips ***************************** %%%%%%%%%%%%%%%%%%% !! CUSTOMIZATION STUFF GOES HERE: !! %%%%%%%%%%%%%%%%%% %% If you want to include your own customizations to pstricks.tex, then %% uncomment the \pstcustomize command, and include your modifications %% after \pstcustomize. These will be read in after pstricks.tex. %\pstcustomize \endinput %% %%%%%%%%%%%%%%%%%%% !! GENERAL INSTRUCTIONS !! %%%%%%%%%%%%%%%%%%%%%%%%%%%% Because there are no standards for dvi-to-PS driver \special's, some driver-dependent commands must be defined in this file. Possibly correct definitions for some dvi drivers are given below. Copy the section for the driver you want to use to the indicated place near the beginning of the file, replacing any other definitions you might find there. When changing drivers, you may need to remake the header file. See the PSTricks read-me file for further installation instructions. Please report good and bad experiences with dvi-to-PS drivers, along with the definitions of these commands that worked for you, to tvz@Princeton.EDU. Thanks. %%%%%%%%%%%%%%%% DESCRIPTION OF CONFIGURATION DEFINITIONS %%%%%%%%%%%%%%% Here are the commands that must be defined in this file: \pstverb{} - The argument is included as verbatim PostScript, grouped by save and restore. The coordinate system should be square, not rotated, and with the origin at TeX's currentpoint. \pstVerb{} - The argument is included as verbatim PostScript, not grouped by (g)save and (g)restore. The currentpoint should be TeX's currentpoint. \pstunit - The units used by driver for graphics included with \pstverb. Probably 1bp or 1sp. \pstverbscale - The PostScript code that scales the coordinate system from that in effect with \pstVerb to that in effect with \pstverb. Should not translate to the currentpoint. \pstrotate - The PostScript code that takes a number off the stack and rotates the axes properly. I.e., \pstVerb{angle \pstrotate} is used to begin rotations. \pstheader{} - The argument is a header file (e.g., .pro file). If your driver does not support such a special, then the command might just remind you to include the header when printing. You can use PSTricks without a header, in which case it does not matter how you define \pstheader. See read-me.pst for details. If you cannot change the default directory where your driver looks for header files, and you