version 1.27, 2015/03/11 12:51:41 |
version 1.28, 2015/03/12 04:24:19 |
Line 373 struct teximacro { |
|
Line 373 struct teximacro { |
|
}; |
}; |
|
|
/* |
/* |
|
* A term is a word in an index. |
|
* For example "@cindex foo" adds the term "foo" to the "cp" index. |
|
* This occurs within a chapter ("nodes" in struct texi) |
|
*/ |
|
struct texiterm { |
|
char *term; |
|
size_t chapter; |
|
}; |
|
|
|
/* |
* Index tables. |
* Index tables. |
* These have a two or three letter name (usually) and any number of |
* These have a two or three letter name (usually) and any number of |
* terms that are associated with it. |
* terms that are associated with it. |
*/ |
*/ |
struct texidex { |
struct texidex { |
char *name; |
char *name; |
char **index; |
struct texiterm *index; |
size_t indexsz; |
size_t indexsz; |
}; |
}; |
|
|
|
|
size_t macrosz; /* entries in macros */ |
size_t macrosz; /* entries in macros */ |
char *copying; /* the @copying block */ |
char *copying; /* the @copying block */ |
size_t copyingsz; /* length of @copying */ |
size_t copyingsz; /* length of @copying */ |
|
char **nodes; |
|
size_t nodesz; |
/* |
/* |
* The following control what we output to the screen. |
* The following control what we output to the screen. |
* The complexity is required to accomodate for mdoc(7). |
* The complexity is required to accomodate for mdoc(7). |