#

Search | Home | Alpha | Brief | Topical | Hierarchical

c2latex

Simple conversion of C programs to LaTeX.

c2latex provides simple support for literate programming in C. Given a C source file in which the comments have been written in LaTeX, clatex converts the C source file into a LaTeX source file. It can be used to produce typeset listings of C programs and/or documentation associated with the program.

The C source given to c2latex usually has the following form. It starts with a large comment containing LaTeX commands that start a document along with any initial text. Then there is a sequence of comment and code pairs, with the comment explaining the code to follow. The source file is ended by a comment containing LaTeX commands that finish the document. The source of c2latex is distributed in this form.

The author is John D Ramsdell.

License: gpl Catalogued: 2004-11-23

- Visit
  - Visit a nearby CTAN:/support/c2latex. If this fails, try Cambridge.
  - Visit Cambridge:/support/c2latex
- Download
  - Download from a nearby CTAN (automatically identified).
  - Download from Cambridge.