home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Tex / c++2l.zoo / README < prev    next >
Text File  |  1990-04-30  |  2KB  |  54 lines

  1. This is the README for C++2LaTeX Version 1.1 Patchlevel 0.
  2.  
  3. See ChangeLog for a list of changes from Version 1.0.
  4.  
  5. The program c++2latex converts ANSI-C/C++ programs into LaTeX source.
  6.  
  7. It requires flex which can be found on various ftp sites,
  8.  e.g. prep.ai.mit.edu. For those without flex and without the possibility
  9. to get one, I can email the flex'ed program.
  10.  
  11. Contrary to the manual, flex (2.1-beta and 2.2-alpha) doesn't ignore lines
  12. starting with '#' in the definition section. Either patch your flex with
  13. the unofficial patch flex-patch or first type `make workaround'. This will
  14. strip the comment lines from c++2latex.l.
  15.  
  16. There are three mutually exclusive compile options for c++2latex:
  17.  
  18.     C_PLUSPLUS generates a converter called c++2latex that expects
  19.                    C++ input.
  20.                    
  21.     ANSI_C     generates a converter called c2latex that expects
  22.                    ANSI-C input.
  23.  
  24.     USE_NAME   generates a converter called c++2latex that expects
  25.                    C++ input if the program name (i.e. the name under
  26.                    which the converter is called) contains a '+', else
  27.                    it expects ANSI-C input. This saves disk-space as
  28.                    you can 'ln c++2latex c2latex' and get virtually
  29.                    the same result as with the two other options
  30.                    (which create two independent binaries). However,
  31.                    this is not the default option as changing the
  32.                    behavior (even only the default behavoir) of a
  33.                    program by reaming it might be confusing.
  34.  
  35. Please note that these options only specify the default behavoir
  36. which can be overridden by the run-time options [-a,+ansi-c] and
  37. [-p,+c-plusplus].
  38.  
  39. The default option is C_PLUSPLUS. This can be changed by calling
  40. either ``make ANSI_C'' or make ``USE_NAME''. Simply calling ``make''
  41. is the same as calling ``make C_PLUSPLUS''.
  42.  
  43.  
  44. The resulting program c{,++}2latex is standalone and uses no environment
  45. variables. It can be installed in your default location without any
  46. problems.
  47.  
  48. Please notice that this program is under GNU Copyleft.
  49.  
  50. have fun
  51.  
  52.         Norbert
  53.  
  54.