WV03: Test the typesetting of various kinds of macros.
First create an output file to keep the analyser happy.
|
1. File: wv03.out={}
This macro is attached to an output file.
1. Test macro never used.
|
2. Never Used[Z]={}
This macro is NEVER invoked.
2. Test a macro used once.
|
3. Used Once={}
This macro is invoked in definition 7.
3. Test a macro used twice.
|
4. Used Twice[M]={}
This macro is invoked in definitions 7 and 8.
4. Test a macro used three times.
|
5. Used Thrice[M]={}
This macro is invoked in definitions 7, 8 and 9.
5. Test a macro used five times.
|
6. Used Quice[M]={}
This macro is invoked in definitions 7, 8, 9, 10 and 11.
Here is the macro that does all the calling for the above.
|
7. Dummy1[Z]={Used Once
Used Twice
Used Thrice
Used Quice
}
This macro is NEVER invoked.
8. Dummy2[Z]={Used Twice
Used Thrice
Used Quice
}
This macro is NEVER invoked.
9. Dummy3[Z]={Used Thrice
Used Quice
}
This macro is NEVER invoked.
10. Dummy4[Z]={Used Quice
}
This macro is NEVER invoked.
11. Dummy5[Z]={Used Quice
}
This macro is NEVER invoked.
6. Test a macro with two body parts.
|
12. Two body parts[Z]+={Sloth
}
This macro is defined in definitions 12 and 13.
This macro is invoked in definition 21.
13. Two body parts[Z]+={Walrus
}
This macro is defined in definitions 12 and 13.
This macro is invoked in definition 21.
7. Test a macro with three body parts.
|
14. Three body parts[Z]+={Sloth
}
This macro is defined in definitions 14, 15 and 16.
This macro is invoked in definition 19.
15. Three body parts[Z]+={Walrus
}
This macro is defined in definitions 14, 15 and 16.
This macro is invoked in definition 19.
16. Three body parts[Z]+={Aardvaark
}
This macro is defined in definitions 14, 15 and 16.
This macro is invoked in definition 19.
8. Test a macro with five body parts.
|
17. Five body parts[Z]+={Sloth
}
This macro is defined in definitions 17, 18, 19, 20 and 21.
This macro is NEVER invoked.
18. Five body parts[Z]+={Walrus
}
This macro is defined in definitions 17, 18, 19, 20 and 21.
This macro is NEVER invoked.
19. Five body parts[Z]+={Three body parts}
This macro is defined in definitions 17, 18, 19, 20 and 21.
This macro is NEVER invoked.
20. Five body parts[Z]+={Aardvaark
}
This macro is defined in definitions 17, 18, 19, 20 and 21.
This macro is NEVER invoked.
21. Five body parts[Z]+={Two body parts}
This macro is defined in definitions 17, 18, 19, 20 and 21.
This macro is NEVER invoked.
End Of File