home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
cpp2tex.zip
/
C++2ltx.zip
/
README
< prev
Wrap
Text File
|
1999-11-22
|
2KB
|
96 lines
C++2ltx.awk: C/C++ to LaTeX convertor (version November, 1999 -- update
from August 1998)
Purpose:
--------
Program C++2ltx converts a C/C++ source code into a LaTeX file.
Features:
---------
- Good indentation
- TeX-enhanced and usual C/C++ comments separated (accepts both /* */
and // comments)
- output page layout like a2ps.
Distribution policy:
--------------------
This program is free, but copyrighted and it must be distributed with the
whole accompanying stuff.
Bug reports:
------------
Feel free to report and correct and bugs found here.
Requirements:
-------------
awk program (tested using GNU awk 3.0 under IBM OS/2 Warp and Linux)
GNU "ls" command (needed in order to get the time of the last writing to
the input file by the command "ls -l --full-time". If you do not have this,
comment this command out from within C++2ltx.awk (it is on two lines)).
*****************************************************************************
INSTALATION:
============
FIRSTLY, FOR ALL SYSTEMS:
=========================
Move C++2ltx.sty to the directory where TeX searches for the styles
(e.g. \emtex\texinput under emTeX).
FURTHER, FOR EACH SYSTEM:
=========================
OS/2
----
Move the files C++2ltx.cmd, C++2dvi.cmd and C++2ps.cmd somewhere in your PATH
(I prefer \CMD), and let the AWKPATH environmental variable point to this
directory too.
UNIX
----
Move the file C++2ltx, C++2dvi and C++2ps somewhere in your PATH (maybe your
own $HOME/bin or to the public /usr/local/bin).
DOS (and others)
----------------
Move the file Cpp2ltx.bat somewhere in your PATH, and move the file Cpp2ltx.awk
- either somewhere in your AWKPATH,
- to any other place,
and change Cpp2ltx.bat accordingly.
MS-Windows 3.1?/'9?/NoTechnology
-----------------------------------
Like in DOS---that's what you have paid for.
*****************************************************************************
Author:
-------
Petr Mikulik
Address:
--------
Department of Solid State Physics, and
Laboratory of Thin Films and Nanostructures,
Masaryk University, Brno, Czech Republic
mikulik@physics.muni.cz, http://www.sci.muni.cz/~mikulik/