version 1.26, 2015/03/05 08:35:35 |
version 1.27, 2015/03/11 12:51:41 |
|
|
# endif |
# endif |
#endif |
#endif |
|
|
|
#define HAVE_INDEX 1 |
|
|
/* |
/* |
* This defines each one of the Texinfo commands that we understand. |
* This defines each one of the Texinfo commands that we understand. |
* Obviously this only refers to native commands; overriden names are a |
* Obviously this only refers to native commands; overriden names are a |
|
|
TEXICMD_TITLEFONT, |
TEXICMD_TITLEFONT, |
TEXICMD_TITLEPAGE, |
TEXICMD_TITLEPAGE, |
TEXICMD_TOP, |
TEXICMD_TOP, |
|
TEXICMD_TPINDEX, |
TEXICMD_U, |
TEXICMD_U, |
TEXICMD_UBARACCENT, |
TEXICMD_UBARACCENT, |
TEXICMD_UDOTACCENT, |
TEXICMD_UDOTACCENT, |
|
|
TEXICMD_VERBATIM, |
TEXICMD_VERBATIM, |
TEXICMD_VERBATIMINCLUDE, |
TEXICMD_VERBATIMINCLUDE, |
TEXICMD_VINDEX, |
TEXICMD_VINDEX, |
|
TEXICMD_VRINDEX, |
TEXICMD_VSKIP, |
TEXICMD_VSKIP, |
TEXICMD_VTABLE, |
TEXICMD_VTABLE, |
TEXICMD_W, |
TEXICMD_W, |
Line 369 struct teximacro { |
|
Line 373 struct teximacro { |
|
}; |
}; |
|
|
/* |
/* |
|
* Index tables. |
|
* These have a two or three letter name (usually) and any number of |
|
* terms that are associated with it. |
|
*/ |
|
struct texidex { |
|
char *name; |
|
char **index; |
|
size_t indexsz; |
|
}; |
|
|
|
/* |
* The main parse structure. |
* The main parse structure. |
* This keeps any necessary information handy. |
* This keeps any necessary information handy. |
*/ |
*/ |
|
|
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() */ |
char **indexs; /* @defindex indices */ |
struct texidex *indexs; /* index entries */ |
size_t indexsz; /* entries in indexs */ |
size_t indexsz; /* entries in indexs */ |
struct texivalue *vals; /* @value entries */ |
struct texivalue *vals; /* @value entries */ |
size_t valsz; /* entries in vals */ |
size_t valsz; /* entries in vals */ |
|
|
texicmd(const struct texi *, size_t, size_t *, struct teximacro **); |
texicmd(const struct texi *, size_t, size_t *, struct teximacro **); |
enum texicmd |
enum texicmd |
peekcmd(const struct texi *, size_t); |
peekcmd(const struct texi *, size_t); |
|
enum texicmd |
|
peeklinecmd(const struct texi *, size_t); |
void texierr(struct texi *, const char *, ...) |
void texierr(struct texi *, const char *, ...) |
__attribute__((format(printf, 2, 3))) |
__attribute__((format(printf, 2, 3))) |
__attribute__((noreturn)); |
__attribute__((noreturn)); |
Line 450 void teximacroclose(struct texi *); |
|
Line 467 void teximacroclose(struct texi *); |
|
void teximacroopen(struct texi *, const char *); |
void teximacroopen(struct texi *, const char *); |
void teximdocopen(struct texi *, size_t *); |
void teximdocopen(struct texi *, size_t *); |
void teximdocclose(struct texi *, int); |
void teximdocclose(struct texi *, int); |
|
void texindex(struct texi *, const char *, |
|
size_t, const char *, size_t); |
|
void texindex_add(struct texi *, const char *, size_t); |
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); |