home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / s / stex2-18.zip / SeeTeX / Xtex / mark.h < prev    next >
C/C++ Source or Header  |  1991-02-19  |  2KB  |  56 lines

  1. /*
  2.  * Copyright 1989 Dirk Grunwald
  3.  * 
  4.  * Permission to use, copy, modify, distribute, and sell this software
  5.  * and its documentation for any purpose is hereby granted without fee,
  6.  * provided that the above copyright notice appear in all copies and that
  7.  * both that copyright notice and this permission notice appear in
  8.  * supporting documentation, and that the name of Dirk Grunwald or M.I.T.
  9.  * not be used in advertising or publicity pertaining to distribution of
  10.  * the software without specific, written prior permission.  Dirk
  11.  * Grunwald and M.I.T. makes no representations about the suitability of
  12.  * this software for any purpose.  It is provided "as is" without express
  13.  * or implied warranty.
  14.  * 
  15.  * DIRK GRUNWALD AND M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
  16.  * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  17.  * FITNESS, IN NO EVENT SHALL M.I.T.  BE LIABLE FOR ANY SPECIAL, INDIRECT
  18.  * OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
  19.  * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  20.  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  21.  * OR PERFORMANCE OF THIS SOFTWARE.
  22.  * 
  23.  * Author:
  24.  *     Dr. Dirk Grunwald
  25.  *     Dept. of Computer Science
  26.  *     Campus Box 430
  27.  *     Univ. of Colorado, Boulder
  28.  *     Boulder, CO 80309
  29.  * 
  30.  *     grunwald@colorado.edu
  31.  *     
  32.  */ 
  33.  
  34. typedef enum {printAll, printMarked, printUnmarked } PrintDirective;
  35. typedef enum {markNone,markSet, markClear, markToggle} MarkDirective;
  36.  
  37. extern char *printProgram;
  38.  
  39. #ifdef _STDC_
  40.   void TeXMarkNewFile();
  41.   void TeXMarkPush();
  42.   void TeXMarkPop();
  43.   Bool TeXMark( MarkDirective, int );
  44.   void TeXMarkAll( MarkDirective );
  45.   void TeXMarkPrint(PrintDirective);
  46.   void TeXMarkPrintUsing(char *, PrintDirective);
  47. #else
  48.   void TeXMarkNewFile();
  49.   void TeXMarkPush();
  50.   void TeXMarkPop();
  51.   Bool TeXMark();
  52.   void TeXMarkAll();
  53.   void TeXMarkPrint();
  54.   void TeXMarkPrintUsing();
  55. #endif
  56.