Re: c/c++ to LaTeX?

1997-09-23 Thread A. Paul Heely Jr.
First off thanks to everyone for there suggestions.  I have since
found what I was looking for.  It is a package called "listings".  
I got it from my local CTAN archive.  I have yet to use it but
the docs seem to show that it will do what I want.

The package is copyrighted and I see no mention that it is freely
distributable or I would consider making a package out of it.

A. Paul


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: c/c++ to LaTeX?

1997-09-23 Thread Benoit Goudreault-Emond
> 
> 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.
> 
> Does any one know what this package might be and where it might
> be found?  I have looked in a couple of archives and have not
> been able to find it.

There's lgrind and vgrind, but I found their output unsatisfactory.

There's C++2LaTeX, found on CTAN.  They're at v1.1.  I have a patched
version (the plain 1.1 didn't recognize // comments properly), and it
yields pretty nice output.  However, I haven't debianized it.  If
anyone is interested, I can try to figure out where the thing is on
CTAN so someone can debianize the thing, or I can try doing a
quick-and-dirty .deb with debmake.

Otherwise, if you're the only one interested, I can send you the
patched source or the binary, as you wish.

-- 
Benoit Goudreault-Emond
Reply to: [EMAIL PROTECTED]
My opinions are mine only and may not reflect those of my employer.
E-mail me to obtain my public PGP key.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: c/c++ to LaTeX?

1997-09-22 Thread David B. Teague
Paul Healey asked about C++/C to LaTeX ...

The Debian package vgrind works. It generates several outputs from
a code file, and understands several languages.  The default here is
to generate postscript. I don't know all its features, but you might
try it. 

--David
-
   LINUX: the FREE 32 bit OS for [345]86 PC's available NOW!
David B Teague | User interface copyrights & software patents make 
[EMAIL PROTECTED] | programing a dangerous business. Ask me or [EMAIL PROTECTED]

spy counter-intelligence wild porno sex gold bullion Soviet Bosnia clipper
National Security Council explosion Treasury terrorist Delta Force bomb Iran
Mossad data encryption munitions Serbian hydrazine ammonium nitrate fuel oil  


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.
> 
> Does any one know what this package might be and where it might
> be found?  I have looked in a couple of archives and have not
> been able to find it.
> 
> Thank You
> A. Paul
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> [EMAIL PROTECTED] . 
> Trouble?  e-mail to [EMAIL PROTECTED] .
> 
> 



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: c/c++ to LaTeX?

1997-09-22 Thread Carey Evans
"A. Paul Heely Jr." <[EMAIL PROTECTED]> writes:

> 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.

It's called lgrind.  I started packaging it but got discouraged when I
saw it was not free.

-- 
Carey Evans  <*>  http://home.clear.net.nz/pages/c.evans/  gc

kernel: Warning: possible SYN flooding. Sending cookies. 
kernel: validated probe(17f, 17f, 11557, 5010, -1645409555) 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: c/c++ to LaTeX?

1997-09-21 Thread Will Lowe
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

[EMAIL PROTECTED]
   [EMAIL PROTECTED]
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
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


c/c++ to LaTeX?

1997-09-21 Thread A. Paul Heely Jr.
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.

Does any one know what this package might be and where it might
be found?  I have looked in a couple of archives and have not
been able to find it.

Thank You
A. Paul


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .