Back to index

tetex-bin  3.0
manifests.h
Go to the documentation of this file.
00001 /* manifests.h: Various constants used everywhere.
00002 
00003 This file is part of Omega,
00004 which is based on the web2c distribution of TeX,
00005 
00006 Copyright (c) 1994--2001 John Plaice and Yannis Haralambous
00007 
00008 Omega is free software; you can redistribute it and/or modify
00009 it under the terms of the GNU General Public License as published by
00010 the Free Software Foundation; either version 2 of the License, or
00011 (at your option) any later version.
00012 
00013 Omega is distributed in the hope that it will be useful,
00014 but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 GNU General Public License for more details.
00017 
00018 You should have received a copy of the GNU General Public License
00019 along with Omega; if not, write to the Free Software Foundation, Inc.,
00020 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
00021 
00022 */
00023 
00024 /* Character measures */
00025 
00026 #define C_MIN                0
00027 
00028 #define C_WD                 0
00029 #define C_HT                 1 
00030 #define C_DP                 2
00031 #define C_IC                 3
00032 
00033 #define C_SECWD       4
00034 #define C_SECHT       5 
00035 #define C_SECDP       6
00036 #define C_SECIC       7
00037 
00038 #define C_P_TOPAXIS   8
00039 #define C_P_TOPAXISBIs       9
00040 #define C_P_BOTAXIS  10
00041 #define C_P_BOTAXISBIS      11
00042 #define C_P_MIDHOR   12
00043 #define C_P_MIDVERT  13
00044 #define C_P_BASESLANT       14
00045 
00046 #define C_S_TOPAXIS  16
00047 #define C_S_TOPAXISBIs      17
00048 #define C_S_BOTAXIS  18
00049 #define C_S_BOTAXISBIS      19
00050 #define C_S_MIDHOR   20
00051 #define C_S_MIDVERT  21
00052 #define C_S_BASESLANT       22
00053 
00054 #define C_MAX        22
00055 
00056 /* Extensible pieces */
00057 
00058 #define E_MIN  0
00059 
00060 #define E_TOP  0
00061 #define E_MID  1
00062 #define E_BOT  2
00063 #define E_REP  3
00064 
00065 #define E_MAX  3
00066 
00067 /* Ligature commands */
00068 
00069 #define L_MIN    0
00070 
00071 #define L_0      0   /*   LIG     */
00072 #define L_B      1   /*   LIG/    */
00073 #define L_A      2   /*  /LIG     */
00074 #define L_AB     3   /*  /LIG/    */
00075 #define L_Bx     5   /*   LIG/>   */
00076 #define L_Ax     6   /*  /LIG>    */
00077 #define L_ABx    7   /*  /LIG/>   */
00078 #define L_ABxx  11   /*  /LIG/>>  */
00079 
00080 #define L_MAX 11
00081 
00082 /* Xerox faces */
00083 
00084 #define F_MIN   0
00085 
00086 #define F_MRR   0
00087 #define F_MIR   1
00088 #define F_BRR   2
00089 #define F_BIR   3
00090 #define F_LRR   4
00091 #define F_LIR   5
00092 #define F_MRC   6
00093 #define F_MIC   7
00094 #define F_BRC   8
00095 #define F_BIC   9
00096 #define F_LRC  10
00097 #define F_LIC  11
00098 #define F_MRE  12
00099 #define F_MIE  13
00100 #define F_BRE  14
00101 #define F_BIE  15
00102 #define F_LRE  16
00103 #define F_LIE  17
00104 
00105 #define F_MAX  17
00106 
00107 /* Named parameters */
00108 
00109 #define P_MIN         1
00110 
00111 #define P_SLANT              1
00112 #define P_SPACE              2
00113 #define P_STRETCH     3
00114 #define P_SHRINK      4
00115 #define P_XHEIGHT     5
00116 #define P_QUAD               6
00117 #define P_EXTRASPACE  7
00118 
00119 #define P_MAX         7
00120 
00121 /* Named math symbol parameters */
00122 
00123 #define P_MATHSY_MIN  8
00124 
00125 #define P_NUM1               8
00126 #define P_NUM2               9
00127 #define P_NUM3              10
00128 #define P_DENOM1     11
00129 #define P_DENOM2     12
00130 #define P_SUP1              13
00131 #define P_SUP2              14
00132 #define P_SUP3              15
00133 #define P_SUB1              16
00134 #define P_SUB2              17
00135 #define P_SUPDROP    18
00136 #define P_SUBDROP    19
00137 #define P_DELIM1     20
00138 #define P_DELIM2     21
00139 #define P_AXISHEIGHT 22
00140 
00141 #define P_MATHSY_MAX 22
00142 
00143 /* Named math extension parameters */
00144 
00145 #define P_MATHEX_MIN         8
00146 
00147 #define P_DEFAULTRULETHICKNESS      8
00148 #define P_BIGOPSPACING1             9
00149 #define P_BIGOPSPACING2            10
00150 #define P_BIGOPSPACING3            11
00151 #define P_BIGOPSPACING4            12
00152 #define P_BIGOPSPACING5            13
00153 
00154 #define P_MATHEX_MAX        13
00155 
00156 /* Typesetting directions */
00157 
00158 #define DIR_MIN  0
00159 
00160 #define DIR_ORD  0
00161 #define DIR_NAT  8
00162 
00163 #define DIR_TL   0
00164 #define DIR_LT   1
00165 #define DIR_TR   2
00166 #define DIR_LB   3
00167 #define DIR_BL   4
00168 #define DIR_RT   5
00169 #define DIR_BR   6
00170 #define DIR_RB   7
00171 
00172 #define DIR_MAX  15
00173 
00174 /* Kinds of accent */
00175 
00176 #define ACC_NONE 0
00177 #define ACC_TOP  1
00178 #define ACC_MID  2
00179 #define ACC_BOT  3
00180 
00181 /* Move directions */
00182 
00183 #define M_MIN    0
00184 
00185 #define M_RIGHT  0
00186 #define M_LEFT   1
00187 #define M_UP     2
00188 #define M_DOWN   3
00189 
00190 #define M_MAX    3
00191 
00192 /* Rule measures */
00193 
00194 #define RULE_MIN 0
00195 
00196 #define RULE_WD  0
00197 #define RULE_HT  1
00198 #define RULE_DP  2
00199 
00200 #define RULE_MAX 2
00201 
00202 /* Glue shrink or stretch */
00203 
00204 #define GLUE_MIN 0
00205 
00206 #define GLUE_SHRINK  0
00207 #define GLUE_STRETCH 1
00208 
00209 #define GLUE_MAX 1
00210 
00211 /* Glue orders */
00212 
00213 #define O_MIN 0
00214 
00215 #define O_UNIT       0
00216 #define O_FI  1
00217 #define O_FIL 2
00218 #define O_FILL       3
00219 #define O_FILLL      4
00220 
00221 #define O_MAX 4
00222 
00223 
00224 /* Glue kinds */
00225 
00226 #define K_MIN      0
00227 
00228 #define K_NORMAL   0
00229 #define K_ALEADERS 1
00230 #define K_CLEADERS 2
00231 #define K_XLEADERS 3
00232 
00233 #define K_MAX      3
00234 
00235 
00236 /* Font types */
00237 
00238 #define FT_MIN              0
00239 
00240 #define FT_VANILLA   0
00241 #define FT_MATHSY    1
00242 #define FT_MATHEX    2
00243 
00244 #define FT_MAX              2
00245 
00246 
00247 #define UNITY     0x100000
00248 #define INFINITY  0x7fffffff
00249 
00250 #define LEN_CODING_SCHEME  39
00251 #define LEN_FAMILY         19
00252 #define LEN_VTITLE        255
00253 #define LEN_FONT_NAME     255
00254 #define LEN_FONT_AREA     255
00255 
00256 #define TAG_NONE  0
00257 #define TAG_LIG   1
00258 #define TAG_LIST  2
00259 #define TAG_EXT   3
00260 
00261 #define CHAR_MINIMUM 0x0
00262 #define CHAR_MAXIMUM 0x7fffffff
00263 #define CHAR_BOUNDARY       0x80000000
00264 #define CHAR_ERROR   0x80000001
00265 
00266 #define LIG_SIMPLE      0       /* f(x,y) = z                 */
00267 #define LIG_LEFT_Z      1       /* f(x,y) = f(z,y)            */
00268 #define LIG_RIGHT_Z     2       /* f(x,y) = f(x,z)            */
00269 #define LIG_BOTH_Z      3       /* f(x,y) = f(f(x,z),y)       */
00270 #define LIG_PENDING     4       /* f(x,y) is being evaluated  */
00271 
00272 #define GLUEARG_NONE    0
00273 #define GLUEARG_CHAR    1
00274 #define GLUEARG_RULE    2
00275 
00276 #define OFM_NOLEVEL  0
00277 #define OFM_TFM             1
00278 #define OFM_LEVEL0   2
00279 #define OFM_LEVEL1   3
00280 #define OFM_LEVEL2   4