TeX in C
Explore TeX with modern c compiler.
PART 49: Mode-independent processing

宏定义

#define chardefcode   0
 [p438#1222] 更多...
 
#define mathchardefcode   1
 
#define countdefcode   2
 
#define dimendefcode   3
 
#define skipdefcode   4
 
#define muskipdefcode   5
 
#define toksdefcode   6
 
#define showcode   0
 [p452#1291] 更多...
 
#define showboxcode   1
 
#define showthecode   2
 
#define showlists   3
 

函数

void giveerrhelp (void)
 [#1284] 更多...
 
void mode_indep_init ()
 [#1267, #1282] 更多...
 
void mode_indep_init_once ()
 [#1216] 更多...
 
Static void getrtoken (void)
 
Static void trapzeroglue (void)
 
Static void doregistercommand (SmallNumber a)
 [#1236] 更多...
 
Static void alteraux (void)
 
Static void alterprevgraf (void)
 
Static void alterpagesofar (void)
 
Static void alterinteger (void)
 
Static void alterboxdimen (void)
 
Static void newfont (SmallNumber a)
 
Static void newinteraction (void)
 
void prefixedcommand (void)
 [#1211] If the user says, e.g., \\global\\global, the redundancy is silently accepted. 更多...
 
void doassignments (void)
 
void openorclosein (void)
 
void issuemessage (void)
 
void shiftcase (void)
 
void showwhatever (void)
 

变量

HalfWord aftertoken
 
Static Boolean longhelpseen
 

详细描述

宏定义说明

◆ chardefcode

#define chardefcode   0

[p438#1222]

◆ countdefcode

#define countdefcode   2

◆ dimendefcode

#define dimendefcode   3

◆ mathchardefcode

#define mathchardefcode   1

◆ muskipdefcode

#define muskipdefcode   5

◆ showboxcode

#define showboxcode   1

◆ showcode

#define showcode   0

[p452#1291]

◆ showlists

#define showlists   3

◆ showthecode

#define showthecode   2

◆ skipdefcode

#define skipdefcode   4

◆ toksdefcode

#define toksdefcode   6

函数说明

◆ alteraux()

Static void alteraux ( void  )

◆ alterboxdimen()

Static void alterboxdimen ( void  )

◆ alterinteger()

Static void alterinteger ( void  )

◆ alterpagesofar()

Static void alterpagesofar ( void  )

◆ alterprevgraf()

Static void alterprevgraf ( void  )

◆ doassignments()

void doassignments ( void  )

◆ doregistercommand()

Static void doregistercommand ( SmallNumber  a)

[#1236]

[#1237] Compute the register location l and its type p; but return if invalid.

[#1238] Compute result of register or advance, put it in cur_val.

[#1239] Compute the sum of two glue specs.

[#1240] Compute result of multiply or divide, put it in cur_val.

◆ getrtoken()

Static void getrtoken ( void  )

◆ giveerrhelp()

void giveerrhelp ( void  )

[#1284]

◆ issuemessage()

void issuemessage ( void  )

◆ mode_indep_init()

void mode_indep_init ( )

[#1267, #1282]

[#1267]

[#1282]

◆ mode_indep_init_once()

void mode_indep_init_once ( )

[#1216]

◆ newfont()

Static void newfont ( SmallNumber  a)

◆ newinteraction()

Static void newinteraction ( void  )

◆ openorclosein()

void openorclosein ( void  )

◆ prefixedcommand()

void prefixedcommand ( void  )

[#1211] If the user says, e.g., \\global\\global, the redundancy is silently accepted.

< accumulated prefix codes so far.

< identifies a font.

< index into a \parshape specification.

< index into font_info.

< for temporary short-term use.

< ditto.

< should a definition be expanded? or was \let not done?

[#1212] Discard erroneous prefixes and return.

end [#1212]

[#1213] Discard the prefixes \long and \outer if they are irrelevant.

[#1214] Adjust for the setting of \globaldefs.

[#1217] Assignments.

[#1218]

[#1221]

[#1224]

[#1225]

[#1226]

[#1227] If the right-hand side is a token parameter or token register, finish the assignment and goto done

[#1228]

[#1232]

[#1233] Let n be the largest legal code value, based on cur_chr.

[#1234]

[#1235]

[#1241]

[#1242]

[#1248]

[#1252]

#1252

[#1253]

[#1256]

[#1264]

[#1269] Insert a token saved by \afterassignment, if any.

◆ shiftcase()

void shiftcase ( void  )

◆ showwhatever()

void showwhatever ( void  )

◆ trapzeroglue()

Static void trapzeroglue ( void  )

变量说明

◆ aftertoken

HalfWord aftertoken

◆ longhelpseen

Static Boolean longhelpseen