home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / tex / texsrc1 / Src / lib / common_def < prev    next >
Text File  |  1993-02-21  |  4KB  |  127 lines

  1. {This file is concatenated by ./convert to the beginning of the Pascal
  2.  code that tangle outputs.  The idea is to put all these symbols, which
  3.  can be defined as macros or functions, or as part of standard C, into
  4.  web2c's symbol table, so that we can access them from a change file.
  5.  Some are standard Pascal functions, others are simply used in our
  6.  implementation.
  7.  
  8.  web2c.yacc can parse these @define statements.}
  9.  
  10. {The fields in the memory_word structure, defined in
  11.  `mfware/gftodmem.h' and `common/texmf.h'.}
  12. @define @field qqqq;
  13. @define @field sc;
  14.  
  15. {These fields are the ones defined by the getopt library.}
  16. @define @field name;
  17. @define @field hasarg;
  18. @define @field flag;
  19. @define @field val;
  20.  
  21. @define const false;
  22. @define const BIBINPUTPATH;
  23. @define const BIBINPUTPATHBIT;
  24. @define const BSTINPUTPATH;
  25. @define const BSTINPUTPATHBIT;
  26. @define const GFFILEPATH;
  27. @define const GFFILEPATHBIT;
  28. @define const MFINPUTPATH;
  29. @define const MFINPUTPATHBIT;
  30. @define const PATHMAX;
  31. @define const PKFILEPATH;
  32. @define const PKFILEPATHBIT;
  33. @define const stderr;
  34. @define const stdin;
  35. @define const stdout;
  36. @define const TEXINPUTPATH;
  37. @define const TEXINPUTPATHBIT;
  38. @define const TEXPOOLNAME;
  39. @define const TFMFILEPATH;
  40. @define const TFMFILEPATHBIT;
  41. @define const true;
  42. @define const VFFILEPATH;
  43. @define const VFFILEPATHBIT;
  44.  
  45. @define function abs ();
  46. @define function addressofint ();
  47. @define function aopenin ();
  48. @define function aopenout ();
  49. @define function atof ();
  50. @define function atoi ();
  51. @define function casttobytepointer ();
  52. @define function chr ();
  53. @define function eof ();
  54. @define function eoln ();
  55. @define function extensionirrelevantp ();
  56. @define function fabs ();
  57. @define function feof ();
  58. @define function ftell ();
  59. @define function getc ();
  60. @define function getoptlongonly ();
  61. @define function inputint ();
  62. @define function maketexmf;
  63. @define function maketextex;
  64. @define function maketextfm;
  65. @define function odd ();
  66. @define function ord ();
  67. @define function round ();
  68. @define function strcmp ();
  69. @define function strlen ();
  70. @define function testreadaccess ();
  71. @define function toint ();
  72. @define function trunc ();
  73. @define function xmalloc ();
  74. @define function xrealloc ();
  75.  
  76. @define procedure aclose ();
  77. @define procedure argv ();
  78. @define procedure checkedfseek ();
  79. @define procedure decr ();
  80. @define procedure errprintpascalstring ();
  81. @define procedure extendfilename ();
  82. @define procedure flush ();
  83. @define procedure fprintreal ();
  84. @define procedure incr ();
  85. @define procedure input2ints ();
  86. @define procedure input3ints ();
  87. @define procedure parsearguments ();
  88. @define procedure printpascalstring ();
  89. @define procedure printreal();
  90. @define procedure putbyte ();
  91. @define procedure read ();
  92. @define procedure readln ();
  93. @define procedure reset ();
  94. @define procedure rewrite ();
  95. @define procedure setpaths ();
  96. @define procedure vstrcat ();
  97. @define procedure uexit ();
  98. @define procedure vgetc ();
  99. @define procedure vstrcpy ();
  100. @define procedure write ();
  101. @define procedure writechunk ();
  102. @define procedure writeln ();
  103.  
  104. @define type alphafile;
  105. @define type boolean = 0..1;
  106. @define type ccharpointer;
  107. @define type char = 0..255;
  108. @define type getoptstruct;
  109. @define type integer;
  110. @define type memoryword; {for gftodvi, TeX, and Metafont}
  111. @define type pointertobyte;
  112. @define type real;
  113. @define type text;
  114.  
  115. @define var argc;
  116. @define var gargv;
  117. @define var versionstring;
  118.  
  119. {These are all set by getopt.  optiontable is really _getopt_long_options.}
  120. @define var optarg;
  121. @define var optind;
  122. @define var optiontable;
  123.  
  124. {These two are needed in BibTeX; see bibtex.ch.}
  125. @define var standardinput;
  126. @define var standardoutput;
  127.