home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / cpp2tex.zip / C++2ltx.zip / README < prev   
Text File  |  1999-11-22  |  2KB  |  96 lines

  1. C++2ltx.awk: C/C++ to LaTeX convertor (version November, 1999 -- update 
  2. from August 1998)
  3.  
  4. Purpose:
  5. --------
  6. Program C++2ltx converts a C/C++ source code into a LaTeX file.
  7.  
  8. Features:
  9. ---------
  10.   - Good indentation
  11.   - TeX-enhanced and usual C/C++ comments separated (accepts both /* */ 
  12.     and // comments)
  13.   - output page layout like a2ps.
  14.  
  15. Distribution policy:
  16. --------------------
  17. This program is free, but copyrighted and it must be distributed with the 
  18.   whole accompanying stuff. 
  19.  
  20. Bug reports:
  21. ------------
  22. Feel free to report and correct and bugs found here. 
  23.  
  24.  
  25. Requirements:
  26. -------------
  27.  
  28.   awk program (tested using GNU awk 3.0 under IBM OS/2 Warp and Linux)
  29.  
  30.   GNU "ls" command (needed in order to get the time of the last writing to 
  31.   the input file by the command "ls -l --full-time". If you do not have this, 
  32.   comment this command out from within C++2ltx.awk (it is on two lines)).
  33.  
  34.  
  35. *****************************************************************************
  36.  
  37.  
  38. INSTALATION:
  39. ============
  40.  
  41. FIRSTLY, FOR ALL SYSTEMS:
  42. =========================
  43.  
  44. Move C++2ltx.sty to the directory where TeX searches for the styles 
  45. (e.g. \emtex\texinput under emTeX). 
  46.  
  47.  
  48. FURTHER, FOR EACH SYSTEM:
  49. =========================
  50.  
  51. OS/2
  52. ----
  53.  
  54. Move the files C++2ltx.cmd, C++2dvi.cmd and C++2ps.cmd somewhere in your PATH 
  55. (I prefer \CMD), and let the AWKPATH environmental variable point to this 
  56. directory too. 
  57.  
  58.  
  59. UNIX
  60. ----
  61.  
  62. Move the file C++2ltx, C++2dvi and C++2ps somewhere in your PATH (maybe your 
  63. own $HOME/bin or to the public /usr/local/bin). 
  64.  
  65.  
  66. DOS (and others)
  67. ----------------
  68.  
  69. Move the file Cpp2ltx.bat somewhere in your PATH, and move the file Cpp2ltx.awk 
  70. - either somewhere in your AWKPATH, 
  71. - to any other place, 
  72. and change Cpp2ltx.bat accordingly. 
  73.  
  74.  
  75. MS-Windows 3.1?/'9?/NoTechnology
  76. -----------------------------------
  77.  
  78. Like in DOS---that's what you have paid for. 
  79.  
  80.  
  81.  
  82. *****************************************************************************
  83.  
  84.  
  85. Author:
  86. -------
  87. Petr Mikulik
  88.  
  89. Address:
  90. --------
  91. Department of Solid State Physics, and 
  92. Laboratory of Thin Films and Nanostructures,
  93. Masaryk University, Brno, Czech Republic
  94.  
  95. mikulik@physics.muni.cz, http://www.sci.muni.cz/~mikulik/
  96.