|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 1984, 1985, 1986 Xerox Corp. ! 3: * ! 4: * configure the system here. ! 5: * The following table defines how each composition system that ipmetrics ! 6: * can generate for is called. ! 7: * ! 8: * ADDING A NEW COMPOSITION SYSTEM: ! 9: * fill out a line somewhere detailing the new system. ! 10: * ! 11: * HISTORY ! 12: * 08-Sep-86 Lee Moore (lee) at Xerox Webster Research Center ! 13: * Added entry for old troff. ! 14: * ! 15: * 18-Aug-86 Lee Moore (lee) at Xerox Webster Research Center ! 16: * Created. ! 17: * ! 18: * ! 19: */ ! 20: #include "conf.h" ! 21: ! 22: #define TRUE 1 ! 23: #define FALSE 0 ! 24: ! 25: extern int PerTroffFont(), CleanUpTroff(); ! 26: extern int PerOTroffFont(), CleanUpOTroff(); ! 27: extern int PerTeXFont(), CleanUpTeX(); ! 28: extern int InitTOC(), PerTOCFont(); ! 29: extern int PerGenericFont(), CleanUpGeneric(); ! 30: null() {} ! 31: ! 32: struct CompositionSwitch CompositionSwitch[] = { ! 33: "troff", TRUE, null, PerTroffFont, CleanUpTroff, ! 34: "otroff", TRUE, null, PerOTroffFont, CleanUpOTroff, ! 35: "TeX", TRUE, null, PerTeXFont, CleanUpTeX, ! 36: "toc", FALSE, InitTOC, PerTOCFont, null, ! 37: "generic", TRUE, null, PerGenericFont, CleanUpGeneric, ! 38: 0, ! 39: }; ! 40:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.