2 * $Id: post.h,v 1.10 2005/07/18 18:24:00 sfeam Exp $
8 * Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
10 * Permission to use, copy, and distribute this software and its
11 * documentation for any purpose with or without fee is hereby granted,
12 * provided that the above copyright notice appear in all copies and
13 * that both that copyright notice and this permission notice appear
14 * in supporting documentation.
16 * Permission to modify the software is granted, but not the right to
17 * distribute the complete modified source code. Modifications are to
18 * be distributed as patches to the released version. Permission to
19 * distribute binaries produced by compiling modified sources is granted,
21 * 1. distribute the corresponding source modifications from the
22 * released version in the form of a patch file along with the binaries,
23 * 2. add special version identification to distinguish your version
24 * in addition to the base release version number,
25 * 3. provide your name and address as the primary contact for the
26 * support of your modified version, and
27 * 4. retain our contact information in regard to use of the base
29 * Permission to distribute the released version of the source code along
30 * with corresponding source modifications in the form of a patch file is
31 * granted with same provisions 2 through 4 for binary distributions.
33 * This software is provided "as is" without express or implied warranty
34 * to the extent permitted by applicable law.
40 /* Needed by terminals which output postscript
41 * (post.trm and pslatex.trm)
45 TERM_PUBLIC void PSTEX_common_init __PROTO((void));
46 TERM_PUBLIC void PSTEX_reopen_output __PROTO((void));
47 TERM_PUBLIC void EPSLATEX_common_init __PROTO((void));
48 TERM_PUBLIC void EPSLATEX_reopen_output __PROTO((void));
51 #define PS_POINT_TYPES 8
53 /* assumes landscape */
54 #define PS_XMAX (10*720)
55 #define PS_YMAX (7*720)
56 #define PS_YMAX_OLDSTYLE (6*720)
58 /* These seem to be unnecessary, thus commented out */
60 #define PS_XLAST (PS_XMAX - 1)
61 #define PS_YLAST (PS_YMAX - 1)
64 #define PS_VTIC (PS_YMAX/80)
65 #define PS_HTIC (PS_YMAX/80)
67 /* scale is 1pt = 10 units */
70 /* linewidth = 0.5 pts */
71 #define PS_LW (0.5*PS_SC)
73 /* character size defaults: */
74 /* 14 pt for postscript */
75 #define PS_VCHAR (14*PS_SC)
76 #define PS_HCHAR (14*PS_SC*6/10)
77 /* 10 pt for ps(la)tex */
78 #define PSTEX_VCHAR (10*PS_SC)
79 #define PSTEX_HCHAR (10*PS_SC*6/10)
80 /* 11 pt for epslatex */
81 #define EPSLATEX_VCHAR (11*PS_SC)
82 #define EPSLATEX_HCHAR (11*PS_SC*6/10)
84 /* additional LaTeX header information for epslatex terminal */
86 TERM_PUBLIC char *epslatex_header;
89 #endif /* TERM_POST_H */