aboutsummaryrefslogtreecommitdiffstats
path: root/externs.h
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:37:27 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:37:27 +0000
commit7db8921aac3a0e1223af269ec7092bdd91a7c7a2 (patch)
tree4336d04fbb26c26d23f6d5a3d572b474dd1f70af /externs.h
parenta9f9ae0efa326dc2edc7f2d92ce270f5fdc15b60 (diff)
downloadlout-7db8921aac3a0e1223af269ec7092bdd91a7c7a2.tar.gz
Lout 3.24.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@17 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'externs.h')
-rw-r--r--externs.h304
1 files changed, 147 insertions, 157 deletions
diff --git a/externs.h b/externs.h
index 3552e7a..7e050bd 100644
--- a/externs.h
+++ b/externs.h
@@ -1,6 +1,6 @@
/*@externs.h:External Declarations:Directories and file conventions@**********/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.23) */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.24) */
/* COPYRIGHT (C) 1991, 2000 Jeffrey H. Kingston */
/* */
/* Jeffrey H. Kingston (jeff@cs.usyd.edu.au) */
@@ -35,7 +35,7 @@
#if LOCALE_ON
#include <nl_types.h>
extern nl_catd MsgCat;
-#define condcatgets(cat, set, msg, s) catgets(cat, set, msg, s)
+#define condcatgets(cat, set, msg, s) (cat ? catgets(cat, set, msg, s) : s)
#else
#define condcatgets(cat, set, msg, s) s
#endif
@@ -95,7 +95,7 @@ extern nl_catd MsgCat;
/* */
/*****************************************************************************/
-#define LOUT_VERSION AsciiToFull("Basser Lout Version 3.23 (June 2000)")
+#define LOUT_VERSION AsciiToFull("Basser Lout Version 3.24 (October 2000)")
#define CROSS_DB AsciiToFull("lout")
#define SOURCE_SUFFIX AsciiToFull(".lt")
#define INDEX_SUFFIX AsciiToFull(".li")
@@ -1126,13 +1126,6 @@ typedef union
/* children The objects on the mark */
/* parents The parents of the children (one-to-one) */
/* */
-/* FIXED_COL_THR (FIXED_ROW_THR) - object representing one object that used */
-/* to be on a thread but has now been fixed and removed from the thread */
-/* */
-/* SIZED The horizontal (vertical) size only */
-/* first child The object that has been fixed */
-/* parent The sole parent of this object */
-/* */
/* ACAT - a paragraph (sequence of objects separated by & or white space) */
/* */
/* SIZED The size of the object */
@@ -1953,142 +1946,140 @@ typedef struct back_end_rec {
#define VSPANNER 14 /* o a vertical spanner */
#define ROW_THR 15 /* o a row thread */
#define COL_THR 16 /* o a column thread */
-#define FIXED_ROW_THR 17 /* o a fixed row thread */
-#define FIXED_COL_THR 18 /* o a fixed column thread */
-#define ACAT 19 /* to s a sequence of &-ed objs */
-#define HCAT 20 /* to s a sequence of |-ed objs */
-#define VCAT 21 /* to s a sequence of /-ed objs */
-#define BEGIN_HEADER 22 /* to s @BeginHeaderComponent */
-#define END_HEADER 23 /* to s @EndHeaderComponent */
-#define SET_HEADER 24 /* to s @SetHeaderComponent */
-#define CLEAR_HEADER 25 /* to s @ClearHeaderComponent */
-#define ONE_COL 26 /* to s @OneCol */
-#define ONE_ROW 27 /* to s @OneRow */
-#define WIDE 28 /* to s @Wide */
-#define HIGH 29 /* to s @High */
-#define HSHIFT 30 /* to s @HShift */
-#define VSHIFT 31 /* to s @VShift */
-#define HSCALE 32 /* to s @HScale */
-#define VSCALE 33 /* to s @VScale */
-#define HCOVER 34 /* to s @HCover */
-#define VCOVER 35 /* to s @VCover */
-#define SCALE 36 /* to s @Scale */
-#define KERN_SHRINK 37 /* to s @KernShrink */
-#define HCONTRACT 38 /* to s @HContract */
-#define VCONTRACT 39 /* to s @VContract */
-#define HLIMITED 40 /* to s @HLimited */
-#define VLIMITED 41 /* to s @VLimited */
-#define HEXPAND 42 /* to s @HExpand */
-#define VEXPAND 43 /* to s @VExpand */
-#define START_HSPAN 44 /* to s @StartHSpan */
-#define START_VSPAN 45 /* to s @StartVSpan */
-#define START_HVSPAN 46 /* to s @StartHVSpan */
-#define HSPAN 47 /* to s @HSpan */
-#define VSPAN 48 /* to s @VSpan */
-#define PADJUST 49 /* to s @PAdjust */
-#define HADJUST 50 /* to s @HAdjust */
-#define VADJUST 51 /* to s @VAdjust */
-#define ROTATE 52 /* to s @Rotate */
-#define BACKGROUND 53 /* to s @Background */
-#define CASE 54 /* to s @Case */
-#define VERBATIM 55 /* to s @Verbatim */
-#define RAW_VERBATIM 56 /* to s @RawVerbatim */
-#define YIELD 57 /* to s @Yield */
-#define BACKEND 58 /* to s @BackEnd */
-#define FILTERED 59 /* to s filtered object (no name) */
-#define XCHAR 60 /* to s @Char */
-#define FONT 61 /* to s @Font */
-#define SPACE 62 /* to s @Space */
-#define YUNIT 63 /* to s @YUnit */
-#define ZUNIT 64 /* to s @ZUnit */
-#define BREAK 65 /* to s @Break */
-#define UNDERLINE 66 /* to s @Underline */
-#define COLOUR 67 /* to s @SetColour and @SetColor */
-#define OUTLINE 68 /* to s @Outline */
-#define LANGUAGE 69 /* to s @Language */
-#define CURR_LANG 70 /* to s @CurrLang */
-#define CURR_FAMILY 71 /* to s @CurrFamily */
-#define CURR_FACE 72 /* to s @CurrFace */
-#define CURR_YUNIT 73 /* to s @CurrYUnit */
-#define CURR_ZUNIT 74 /* to s @CurrZUnit */
-#define COMMON 75 /* to s @Common */
-#define RUMP 76 /* to s @Rump */
-#define MELD 77 /* to s @Meld */
-#define INSERT 78 /* to s @Insert */
-#define ONE_OF 79 /* to s @OneOf */
-#define NEXT 80 /* to s @Next */
-#define PLUS 81 /* to s @Plus */
-#define MINUS 82 /* to s @Minus */
-#define ENV_OBJ 83 /* to s object with envt (no name) */
-#define ENV 84 /* to s @LEnv */
-#define ENVA 85 /* to s @LEnvA */
-#define ENVB 86 /* to s @LEnvB */
-#define ENVC 87 /* to s @LEnvC */
-#define ENVD 88 /* to s @LEnvD */
-#define CENV 89 /* to s @LCEnv */
-#define CLOS 90 /* to s @LClos */
-#define LVIS 91 /* to s @LVis */
-#define LUSE 92 /* to s @LUse */
-#define LEO 93 /* to s @LEO */
-#define OPEN 94 /* to s @Open */
-#define TAGGED 95 /* to s @Tagged */
-#define INCGRAPHIC 96 /* to s @IncludeGraphic */
-#define SINCGRAPHIC 97 /* to s @SysIncludeGraphic */
-#define PLAIN_GRAPHIC 98 /* to s @PlainGraphic */
-#define GRAPHIC 99 /* to s @Graphic */
-#define LINK_SOURCE 100 /* to s @LinkSource */
-#define LINK_DEST 101 /* to s @LinkDest */
-#define TSPACE 102 /* t a space token, parser only */
-#define TJUXTA 103 /* t a juxta token, parser only */
-#define LBR 104 /* t s left brace token */
-#define RBR 105 /* t s right brace token */
-#define BEGIN 106 /* t s @Begin token */
-#define END 107 /* t s @End token */
-#define USE 108 /* t s @Use */
-#define NOT_REVEALED 109 /* t s @NotRevealed */
-#define GSTUB_NONE 110 /* t a galley stub, no rpar */
-#define GSTUB_INT 111 /* t galley stub internal rpar */
-#define GSTUB_EXT 112 /* t galley stub external rpar */
-#define UNEXPECTED_EOF 113 /* t unexpected end of file */
-#define INCLUDE 114 /* s @Include */
-#define SYS_INCLUDE 115 /* s @SysInclude */
-#define PREPEND 116 /* s @Prepend */
-#define SYS_PREPEND 117 /* s @SysPrepend */
-#define DATABASE 118 /* s @Database */
-#define SYS_DATABASE 119 /* s @SysDatabase */
-/* #define START 120 */ /* s \Start */
-#define DEAD 121 /* i a dead galley */
-#define UNATTACHED 122 /* i an inner, unsized galley */
-#define RECEPTIVE 123 /* i a receptive object index */
-#define RECEIVING 124 /* i a receiving object index */
-#define RECURSIVE 125 /* i a recursive definite obj. */
-#define PRECEDES 126 /* i an ordering constraint */
-#define FOLLOWS 127 /* i other end of ordering c. */
-#define CROSS_LIT 128 /* i literal word cross-ref */
-#define CROSS_FOLL 129 /* i following type cross-ref */
-#define CROSS_FOLL_OR_PREC 130 /* i follorprec type cross-ref */
-#define GALL_FOLL 131 /* i galley with &&following */
-#define GALL_FOLL_OR_PREC 132 /* i galley with &&following */
-#define CROSS_TARG 133 /* i value of cross-ref */
-#define GALL_TARG 134 /* i target of these galleys */
-#define GALL_PREC 135 /* i galley with &&preceding */
-#define CROSS_PREC 136 /* i preceding type cross-ref */
-#define PAGE_LABEL_IND 137 /* i index of PAGE_LABEL */
-#define SCALE_IND 138 /* i index of auto SCALE */
-#define COVER_IND 139 /* i index of HCOVER or VCOVER */
-#define EXPAND_IND 140 /* i index of HEXPAND or VEXPD */
-#define THREAD 141 /* a sequence of threads */
-#define CROSS_SYM 142 /* cross-ref info */
-#define CR_ROOT 143 /* RootCross */
-#define MACRO 144 /* a macro symbol */
-#define LOCAL 145 /* a local symbol */
-#define LPAR 146 /* a left parameter */
-#define NPAR 147 /* a named parameter */
-#define RPAR 148 /* a right parameter */
-#define EXT_GALL 149 /* an external galley */
-#define CR_LIST 150 /* a list of cross references */
-#define SCOPE_SNAPSHOT 151 /* a scope snapshot */
-#define DISPOSED 152 /* a disposed record */
+#define ACAT 17 /* to s a sequence of &-ed objs */
+#define HCAT 18 /* to s a sequence of |-ed objs */
+#define VCAT 19 /* to s a sequence of /-ed objs */
+#define BEGIN_HEADER 20 /* to s @BeginHeaderComponent */
+#define END_HEADER 21 /* to s @EndHeaderComponent */
+#define SET_HEADER 22 /* to s @SetHeaderComponent */
+#define CLEAR_HEADER 23 /* to s @ClearHeaderComponent */
+#define ONE_COL 24 /* to s @OneCol */
+#define ONE_ROW 25 /* to s @OneRow */
+#define WIDE 26 /* to s @Wide */
+#define HIGH 27 /* to s @High */
+#define HSHIFT 28 /* to s @HShift */
+#define VSHIFT 29 /* to s @VShift */
+#define HSCALE 30 /* to s @HScale */
+#define VSCALE 31 /* to s @VScale */
+#define HCOVER 32 /* to s @HCover */
+#define VCOVER 33 /* to s @VCover */
+#define SCALE 34 /* to s @Scale */
+#define KERN_SHRINK 35 /* to s @KernShrink */
+#define HCONTRACT 36 /* to s @HContract */
+#define VCONTRACT 37 /* to s @VContract */
+#define HLIMITED 38 /* to s @HLimited */
+#define VLIMITED 39 /* to s @VLimited */
+#define HEXPAND 40 /* to s @HExpand */
+#define VEXPAND 41 /* to s @VExpand */
+#define START_HSPAN 42 /* to s @StartHSpan */
+#define START_VSPAN 43 /* to s @StartVSpan */
+#define START_HVSPAN 44 /* to s @StartHVSpan */
+#define HSPAN 45 /* to s @HSpan */
+#define VSPAN 46 /* to s @VSpan */
+#define PADJUST 47 /* to s @PAdjust */
+#define HADJUST 48 /* to s @HAdjust */
+#define VADJUST 49 /* to s @VAdjust */
+#define ROTATE 50 /* to s @Rotate */
+#define BACKGROUND 51 /* to s @Background */
+#define CASE 52 /* to s @Case */
+#define VERBATIM 53 /* to s @Verbatim */
+#define RAW_VERBATIM 54 /* to s @RawVerbatim */
+#define YIELD 55 /* to s @Yield */
+#define BACKEND 56 /* to s @BackEnd */
+#define FILTERED 57 /* to s filtered object (no name) */
+#define XCHAR 58 /* to s @Char */
+#define FONT 59 /* to s @Font */
+#define SPACE 60 /* to s @Space */
+#define YUNIT 61 /* to s @YUnit */
+#define ZUNIT 62 /* to s @ZUnit */
+#define BREAK 63 /* to s @Break */
+#define UNDERLINE 64 /* to s @Underline */
+#define COLOUR 65 /* to s @SetColour and @SetColor */
+#define OUTLINE 66 /* to s @Outline */
+#define LANGUAGE 67 /* to s @Language */
+#define CURR_LANG 68 /* to s @CurrLang */
+#define CURR_FAMILY 69 /* to s @CurrFamily */
+#define CURR_FACE 70 /* to s @CurrFace */
+#define CURR_YUNIT 71 /* to s @CurrYUnit */
+#define CURR_ZUNIT 72 /* to s @CurrZUnit */
+#define COMMON 73 /* to s @Common */
+#define RUMP 74 /* to s @Rump */
+#define MELD 75 /* to s @Meld */
+#define INSERT 76 /* to s @Insert */
+#define ONE_OF 77 /* to s @OneOf */
+#define NEXT 78 /* to s @Next */
+#define PLUS 79 /* to s @Plus */
+#define MINUS 80 /* to s @Minus */
+#define ENV_OBJ 81 /* to s object with envt (no name) */
+#define ENV 82 /* to s @LEnv */
+#define ENVA 83 /* to s @LEnvA */
+#define ENVB 84 /* to s @LEnvB */
+#define ENVC 85 /* to s @LEnvC */
+#define ENVD 86 /* to s @LEnvD */
+#define CENV 87 /* to s @LCEnv */
+#define CLOS 88 /* to s @LClos */
+#define LVIS 89 /* to s @LVis */
+#define LUSE 90 /* to s @LUse */
+#define LEO 91 /* to s @LEO */
+#define OPEN 92 /* to s @Open */
+#define TAGGED 93 /* to s @Tagged */
+#define INCGRAPHIC 94 /* to s @IncludeGraphic */
+#define SINCGRAPHIC 95 /* to s @SysIncludeGraphic */
+#define PLAIN_GRAPHIC 96 /* to s @PlainGraphic */
+#define GRAPHIC 97 /* to s @Graphic */
+#define LINK_SOURCE 98 /* to s @LinkSource */
+#define LINK_DEST 99 /* to s @LinkDest */
+#define TSPACE 100 /* t a space token, parser only */
+#define TJUXTA 101 /* t a juxta token, parser only */
+#define LBR 102 /* t s left brace token */
+#define RBR 103 /* t s right brace token */
+#define BEGIN 104 /* t s @Begin token */
+#define END 105 /* t s @End token */
+#define USE 106 /* t s @Use */
+#define NOT_REVEALED 107 /* t s @NotRevealed */
+#define GSTUB_NONE 108 /* t a galley stub, no rpar */
+#define GSTUB_INT 109 /* t galley stub internal rpar */
+#define GSTUB_EXT 110 /* t galley stub external rpar */
+#define UNEXPECTED_EOF 111 /* t unexpected end of file */
+#define INCLUDE 112 /* s @Include */
+#define SYS_INCLUDE 113 /* s @SysInclude */
+#define PREPEND 114 /* s @Prepend */
+#define SYS_PREPEND 115 /* s @SysPrepend */
+#define DATABASE 116 /* s @Database */
+#define SYS_DATABASE 117 /* s @SysDatabase */
+/* #define START 118 */ /* s \Start */
+#define DEAD 119 /* i a dead galley */
+#define UNATTACHED 120 /* i an inner, unsized galley */
+#define RECEPTIVE 121 /* i a receptive object index */
+#define RECEIVING 122 /* i a receiving object index */
+#define RECURSIVE 123 /* i a recursive definite obj. */
+#define PRECEDES 124 /* i an ordering constraint */
+#define FOLLOWS 125 /* i other end of ordering c. */
+#define CROSS_LIT 126 /* i literal word cross-ref */
+#define CROSS_FOLL 127 /* i following type cross-ref */
+#define CROSS_FOLL_OR_PREC 128 /* i follorprec type cross-ref */
+#define GALL_FOLL 129 /* i galley with &&following */
+#define GALL_FOLL_OR_PREC 130 /* i galley with &&following */
+#define CROSS_TARG 131 /* i value of cross-ref */
+#define GALL_TARG 132 /* i target of these galleys */
+#define GALL_PREC 133 /* i galley with &&preceding */
+#define CROSS_PREC 134 /* i preceding type cross-ref */
+#define PAGE_LABEL_IND 135 /* i index of PAGE_LABEL */
+#define SCALE_IND 136 /* i index of auto SCALE */
+#define COVER_IND 137 /* i index of HCOVER or VCOVER */
+#define EXPAND_IND 138 /* i index of HEXPAND or VEXPD */
+#define THREAD 139 /* a sequence of threads */
+#define CROSS_SYM 140 /* cross-ref info */
+#define CR_ROOT 141 /* RootCross */
+#define MACRO 142 /* a macro symbol */
+#define LOCAL 143 /* a local symbol */
+#define LPAR 144 /* a left parameter */
+#define NPAR 145 /* a named parameter */
+#define RPAR 146 /* a right parameter */
+#define EXT_GALL 147 /* an external galley */
+#define CR_LIST 148 /* a list of cross references */
+#define SCOPE_SNAPSHOT 149 /* a scope snapshot */
+#define DISPOSED 150 /* a disposed record */
#define is_indefinite(x) ((x) >= CLOSURE && (x) <= HEAD)
#define is_header(x) ((x) >= BEGIN_HEADER && (x) <= CLEAR_HEADER)
@@ -2154,9 +2145,9 @@ typedef struct back_end_rec {
#define SMALL_CAPS_ON 1 /* small capitals */
/* sides of a mark */
-#define BACK 153 /* means lies to left of mark */
-#define ON 154 /* means lies on mark */
-#define FWD 155 /* means lies to right of mark */
+#define BACK 151 /* means lies to left of mark */
+#define ON 152 /* means lies on mark */
+#define FWD 153 /* means lies to right of mark */
/* statuses of thread objects */
#define NOTSIZED 0 /* this thread object is not sized */
@@ -2164,15 +2155,15 @@ typedef struct back_end_rec {
#define FINALSIZE 2 /* thread object size is now final */
/* constraint statuses */
-#define PROMOTE 156 /* this component may be promoted */
-#define CLOSE 157 /* must close dest before promoting */
-#define BLOCK 158 /* cannot promote this component */
-#define CLEAR 159 /* this constraint is now satisfied */
+#define PROMOTE 154 /* this component may be promoted */
+#define CLOSE 155 /* must close dest before promoting */
+#define BLOCK 156 /* cannot promote this component */
+#define CLEAR 157 /* this constraint is now satisfied */
/* gap increment types */
-#define GAP_ABS 160 /* absolute, e.g. 3p */
-#define GAP_INC 161 /* increment, e.g. +3p */
-#define GAP_DEC 162 /* decrement, e.g. -3p */
+#define GAP_ABS 158 /* absolute, e.g. 3p */
+#define GAP_INC 159 /* increment, e.g. +3p */
+#define GAP_DEC 160 /* decrement, e.g. -3p */
/* file types */
#define SOURCE_FILE 0 /* input file from command line */
@@ -2980,7 +2971,6 @@ extern OBJECT Parse(OBJECT *token, OBJECT encl, BOOLEAN defs_allowed,
/***** z07.c Object Service **************************************/
extern BOOLEAN SplitIsDefinite(OBJECT x);
extern int DisposeObject(OBJECT x);
-extern void DisposeSplitObject(OBJECT x);
extern OBJECT MakeWord(unsigned typ, FULL_CHAR *str, FILE_POS *pos);
extern OBJECT MakeWordTwo(unsigned typ, FULL_CHAR *str1, FULL_CHAR *str2,
FILE_POS *pos);