[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: c/c++ to LaTeX?



On Sun, 21 Sep 1997, A. Paul Heely Jr. wrote:

> Some where I once saw a c/c++ to LaTex tool that would 
> take as input a source file and produce a .tex file.  
> 
> If I remember right it would do some pretty formatting of the
> syntax.

Hmm.  I don't have the tool you're looking for,  but you might be able to
do something similar with emacs' c-mode (select-whole-buffer,
indent-region), and then just throwing a \begin{document} \end{document}
pair (along with a few other basic things) on either end of the .c file
via a perl script or something ...

                     					Will

			        harpo@udel.edu
			       lowe@cis.udel.edu
			http://www.cis.udel.edu/~lowe/
*****************************************************************************
Good Idea: 	Feeding Stray Cats in the Park.
Bad Idea:	Feeding Stray Cats in the park ... to a bear.
***************************************************************************** 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: