Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LaTeX environment for Java?

1 view
Skip to first unread message

Michael Philippsen

unread,
Nov 27, 1996, 3:00:00 AM11/27/96
to

Does anyone have a LaTeX environment for
pretty printing of Java programs in LaTeX
documents.

Any hint would be appreciated,

Michael Philippsen.

Marc van Leeuwen

unread,
Nov 27, 1996, 3:00:00 AM11/27/96
to

In article <57h1c6$h...@nz12.rz.uni-karlsruhe.de>, phl...@ira.uka.de (Michael
Philippsen) writes:

|> Does anyone have a LaTeX environment for
|> pretty printing of Java programs in LaTeX
|> documents.

According to Don Knuths WWW pages, CWEB works for Java as well as for C.
Joachim Schrod has written cweb-sty, which allows you to use CWEB with
LaTeX, and is available from the archives. You may want to try the
combination.

--
Marc van Leeuwen | What has man wrought
CWI, Amsterdam | for the year naughty-naught?
http://www.cwi.nl/~maavl/ | '00-programming will get its revenge!

Jens Lippmann

unread,
Dec 6, 1996, 3:00:00 AM12/6/96
to

phl...@ira.uka.de (Michael Philippsen) writes:
> Does anyone have a LaTeX environment for
> pretty printing of Java programs in LaTeX
> documents.

You could use CWEB, it works with C and C++, so it might work with
JAVA.
Put
@
@p
in front of your JAVA file, and run cweave with it.
Then tex the output, or \input it from a top-level file.
You really should give it a try...

Bye then.
Jens Lippmann.


# Jens Lippmann http://www-jb.cs.uni-sb.de/~www/people/lippmann
# lipp...@cdc.informatik.th-darmstadt.de
#
# Technische Hochschule Darmstadt http://www.th-darmstadt.de


Thomas Herter

unread,
Dec 7, 1996, 3:00:00 AM12/7/96
to

Marc van Leeuwen (ma...@cwi.nl) wrote:
: In article <57h1c6$h...@nz12.rz.uni-karlsruhe.de>, phl...@ira.uka.de (Michael
: Philippsen) writes:

: |> Does anyone have a LaTeX environment for
: |> pretty printing of Java programs in LaTeX
: |> documents.

: According to Don Knuths WWW pages, CWEB works for Java as well as for C.
[...]

Could you give the URL for these pages?
Thank you.

Thomas.

--
Thomas Herter email: her...@pyramid.com tel: +1 (408) 428-7377
ThHe...@aol.com fax: +1 (408) 428-7460

Marc van Leeuwen

unread,
Dec 9, 1996, 3:00:00 AM12/9/96
to

In article <58amfg$q4j$3...@stealth.eng.pyramid.com>, her...@pyramid.com

(Thomas Herter) writes:
|> Marc van Leeuwen (ma...@cwi.nl) wrote:
|> ...

|> : According to Don Knuths WWW pages, CWEB works for Java as well as for C.
|> ...

|> Could you give the URL for these pages?

Knuth's home page happens to be on my hotlist, it is

http://www-cs-faculty.Stanford.EDU/~knuth/

However, you could have find that out yourself. Connect to AltaVista

http://altavista.digital.com/

and type into the query line:

title:"Don Knuth"

and presto, you will get two references to his home page, and two other ones
that might interest you as well.

Thomas Herter

unread,
Dec 13, 1996, 3:00:00 AM12/13/96
to

Thomas Herter (her...@pyramid.com) wrote:
: Marc van Leeuwen (ma...@cwi.nl) wrote:
: : In article <57h1c6$h...@nz12.rz.uni-karlsruhe.de>, phl...@ira.uka.de (Michael
: : Philippsen) writes:

: : |> Does anyone have a LaTeX environment for
: : |> pretty printing of Java programs in LaTeX
: : |> documents.

: : According to Don Knuths WWW pages, CWEB works for Java as well as for C.
: [...]

: Could you give the URL for these pages?

: Thank you.

Thank you for _not_ giving any information about these pages.
But fortunately somebody else give them to me. Here the
information for all interested readers:

http://www-cs-faculty.stanford.edu/~knuth

Thomas.

--
Thomas Herter email: her...@pyramid.com tel: +1 (408) 428-7377

her...@acm.org fax: +1 (408) 428-7460

0 new messages