TeX in C
Explore TeX with modern c compiler.
|
宏定义 | |
#define | INC_SCAN_H |
digest certain kinds of patterns in the input. 更多... | |
#define | INPUT_LINE_NO_CODE (GLUE_VAL + 1) |
[#416] \inputlineno 更多... | |
#define | BADNESS_CODE (GLUE_VAL + 2) |
[#416] \badness 更多... | |
#define | MAX_DIMEN 1073741823L |
[#421] \( 2^{30}-1 \) 更多... | |
#define | ZERO_TOKEN (othertoken + '0') |
[#445] zero, the smallest digit 更多... | |
#define | SCAN_NORMAL_DIMEN() scan_dimen(false, false, false) |
[#448] 更多... | |
枚举 | |
enum | TokenLevel { INT_VAL , DIMEN_VAL , GLUE_VAL , MU_VAL , IDENT_VAL , TOK_VAL } |
[#410] 更多... | |
函数 | |
void | skip_spaces (void) |
[#406] Get the next non-blank non-call token. 更多... | |
void | skip_spaces_or_relax (void) |
[#404] Get the next non-blank non-relax non-call token. 更多... | |
void | scan_left_brace (void) |
[#403] when a left brace is supposed to be the next non-blank token. 更多... | |
void | scan_optional_equals (void) |
[#405] looks for an optional = sign preceded by optional spaces. 更多... | |
Boolean | scankeyword (StrNumber s) |
[#407] look for a given string. 更多... | |
void | scan_something_internal (SmallNumber level, Boolean negative) |
[#413] fetch an internal parameter. 更多... | |
void | scan_eight_bit_int (void) |
[#433] scan register code = [0, 255] , use scan_int. 更多... | |
void | scan_char_num (void) |
[#434] scan character code = [0, 255] , use scan_int. 更多... | |
void | scan_four_bit_int (void) |
[#435] scan number = [0, 15] , use scan_int. 更多... | |
void | scan_fifteen_bit_int (void) |
[#436] scan mathchar = [0, 23767] , use scan_int. 更多... | |
void | scan_twenty_seven_bit_int (void) |
[#437] scan mathchar = \( [0, 2^{27}−1] \), use scan_int. 更多... | |
void | scan_int (void) |
[#440] sets cur_val to an integer. 更多... | |
void | scan_dimen (Boolean mu, Boolean inf, Boolean shortcut) |
[#448] sets cur_val to a dimension. 更多... | |
void | scan_glue (SmallNumber level) |
[#461] sets cur_val to a glue spec pointer. 更多... | |
HalfWord | scan_rule_spec (void) |
[#463] returns a pointer to a rule node. 更多... | |
void | scan_init () |
[#439] 更多... | |
变量 | |
Integer | cur_val |
[#410] value returned by numeric scanners. 更多... | |
SmallNumber | cur_val_level |
[#410] the "level" of this value. 更多... | |
SmallNumber | radix |
[#438] scan_int sets this to 8, 10, 16, or zero. 更多... | |
GlueOrd | cur_order |
[#447] order of INFINITY found by scan_dimen. 更多... | |
#define INC_SCAN_H |
digest certain kinds of patterns in the input.