From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f891f,9d58048b8113c00f X-Google-Attributes: gidf891f,public X-Google-Thread: 1014db,9d58048b8113c00f X-Google-Attributes: gid1014db,public X-Google-Thread: 10261c,2e71cf22768a124d X-Google-Attributes: gid10261c,public X-Google-Thread: 103376,2e71cf22768a124d X-Google-Attributes: gid103376,public From: berlich@pc66.mppmu.mpg.de (Ruediger Berlich) Subject: Re: Help making ada pretty Date: 1996/06/19 Message-ID: <4q8lqr$63n9@sat.ipp-garching.mpg.de>#1/1 X-Deja-AN: 161057036 references: <4p0fdd$4ml@news.atlantic.net> <4p1l65$35qi@info4.rus.uni-stuttgart.de> <31BE430F.52F8@adam.com.au> followup-to: comp.lang.pascal.misc,comp.lang.c,comp.lang.misc,comp.lang.ada organization: Rechenzentrum der Max-Planck-Gesellschaft in Garching newsgroups: comp.lang.pascal.misc,comp.lang.c,comp.lang.misc,comp.lang.ada Date: 1996-06-19T00:00:00+00:00 List-Id: CSC Trusted Systems Group (csctsg@adam.com.au) wrote: : Hi, : I am looking for any tools around to print ada-code in a more presentable : form, ie keywords bolded etc. apparently they sometimes go by the name : "pretty printers", however I do not want to rejustify the code in any : way, I only require the bolding type features. : Also am looking for any latex tools for typesetting ada. : as I rarely have time to read mews replies to csctsg@adam.com.au would : greatly be appreciated Hi, if you have xemacs (ver. 19.13) around , you could try to use the syntax-hilighting-function. Highlighting via different fonts (bold,italic, also possible via colours) is available from the menus by a simple mouse-click. Since xemacs is able to print postscript, you can print out the highlighted program. This is the way I usually print C/C++ and Fortran-programs. Since I only just started programming in Ada (yesterday :-) I haven't tried to print Ada-code from xemacs. I only know that there is an Ada-mode for xemacs and that it can highlight keywords, comments, ... Printing should be easy then. Use the command - ps-print-buffer-with-faces to print the higlighted buffer. Please be aware, that I'm not talking about the X-version of GNU-emacs but about the emacs-version formerly known as Lucid-emacs, which is now for some unknown reason called xemacs. This has a pretty nice X/Motif-Interface. It is available for free from the same places where you get GNU-emacs. Otherwise check out http://xemacs.cs.uiuc.edu/ It also does automatic indentation of the program, if you want that. Bye and have a nice day, Ruediger Berlich [berlich@pc66.mppmu.mpg.de]