From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA20622; Sun, 12 May 2002 22:50:35 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA20709 for ; Sun, 12 May 2002 22:50:34 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g4CKoRn06217; Sun, 12 May 2002 22:50:27 +0200 (MET DST) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA20655; Sun, 12 May 2002 22:50:23 +0200 (MET DST) From: Pierre Weis Message-Id: <200205122050.WAA20655@pauillac.inria.fr> Subject: Re: [Caml-list] Graphics without open_graph? In-Reply-To: from Oliver Bandel at "May 3, 102 00:13:55 am" To: oliver@first.in-berlin.de (Oliver Bandel) Date: Sun, 12 May 2002 22:50:23 +0200 (MET DST) Cc: info@gerd-stolpmann.de, Jun.Furuse@inria.fr, Jose.deAbreuNunes@anthro.unige.ch, caml-list@inria.fr X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Interesting in the Graphics-Lib is, that the names of the > graphics-functions are the same as in PostScript. > It would be nice to have the possibility to directly > write PostScript-Files with that Library too. :) > > Ciao, > Oliver Hi, This possibility exists since 1 or 2 years with the Graphps module which is distributed in the Caml bazar. Furthermore this library has a (tiny) website of its own! (Have a look to http://pauillac.inria.fr/graphps/) It is fully documented and can be used as a replacement of the Graphics module; then your program will generate a postscript (or encapsulated postscript file) instead of drawing on the screen. Get the library at the used place, file graphps-1.0.tgz: ftp.inria.fr/lang/caml-light/bazar-ocaml/ (Caml Light users may find it in .../bazar-cl/graphps/graphps-1.0.tgz) Hence, with Graphps, a program using the Graphics library not only can work without any window manager, but it can even work on a computer without screen! (Not a crazy idea by the way: I've done it once to generate images from home, telneting on an INRIA destop that was running a program using graphps :) The library is mature, but any new idea, remark, enhancement, or, even better, any code contribution is warmly welcomed. Enjoy! PS: Sorry for the late answer, I don't have time to read the Caml-list these days! Pierre Weis INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners