version 1.20, 2015/02/28 13:16:44 |
version 1.21, 2015/03/01 00:25:07 |
Line 372 struct teximacro { |
|
Line 372 struct teximacro { |
|
* This keeps any necessary information handy. |
* This keeps any necessary information handy. |
*/ |
*/ |
struct texi { |
struct texi { |
|
const char *chapters; /* are we splitting chapters */ |
|
size_t chapnum; |
|
char **dirs; /* texi directories */ |
|
size_t dirsz; /* number of texi directories */ |
|
FILE *outfile; |
|
/* |
|
* Run-time parameters. |
|
*/ |
struct texifile files[64]; /* stack of open files */ |
struct texifile files[64]; /* stack of open files */ |
size_t filepos; /* number of open files */ |
size_t filepos; /* number of open files */ |
const char *valstack[64]; /* stack of opened values */ |
const char *valstack[64]; /* stack of opened values */ |
size_t valstackpos; /* position in valstack */ |
size_t valstackpos; /* position in valstack */ |
size_t outcol; /* column in output line */ |
|
char **dirs; /* texi directories */ |
|
size_t dirsz; /* number of texi directories */ |
|
char *title; /* title of document */ |
char *title; /* title of document */ |
char *subtitle; /* subtitle of document */ |
char *subtitle; /* subtitle of document */ |
int secoffs; /* see sectioner() */ |
int secoffs; /* see sectioner() */ |
|
|
*/ |
*/ |
enum texilist list; /* current list (set recursively) */ |
enum texilist list; /* current list (set recursively) */ |
int outmacro; /* if >0, output is in line macro */ |
int outmacro; /* if >0, output is in line macro */ |
|
size_t outcol; /* column in output line */ |
int seenws; /* ws has been seen (and ignored) */ |
int seenws; /* ws has been seen (and ignored) */ |
int seenvs; /* newline has been Pp'd */ |
int seenvs; /* newline has been Pp'd */ |
int ign; /* if >0, don't print anything */ |
int ign; /* if >0, don't print anything */ |
Line 438 void texifilepop(struct texi *); |
|
Line 444 void texifilepop(struct texi *); |
|
void teximacro(struct texi *, const char *); |
void teximacro(struct texi *, const char *); |
void teximacroclose(struct texi *); |
void teximacroclose(struct texi *); |
void teximacroopen(struct texi *, const char *); |
void teximacroopen(struct texi *, const char *); |
|
void teximdocopen(struct texi *); |
|
void teximdocclose(struct texi *, int); |
void texipunctuate(struct texi *, size_t *); |
void texipunctuate(struct texi *, size_t *); |
void texiputbuf(struct texi *p, size_t, size_t); |
void texiputbuf(struct texi *p, size_t, size_t); |
void texiputchar(struct texi *p, char); |
void texiputchar(struct texi *p, char); |