Code Comments
Programming Forum and web based access to our favorite programming groups.Is there any free tool to pretty-print Fortran 90/95 source codes? I tryed lgrind; it works good for FORTRAN 77, but it seems to me that it cannot correctly manage F90/95 sources... Thanks in advance, Dan
Post Follow-up to this messageDanguard <danguard_robot@hotmail.com> wrote: >Is there any free tool to pretty-print Fortran 90/95 source codes? > >I tryed lgrind; it works good for FORTRAN 77, but it seems to me that it >cannot correctly manage F90/95 sources... There are some utilities for F90/95 by Michel Olagnon at http://www.ifremer.fr/ditigo/molagn...90/contenu.html . A2ps can generate PostScript files from fixed or free format Fortran code -- see http://www.inf.enst.fr/~demaille/a2....12/a2ps_7.html . ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==-- -- http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 News groups ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption = ---
Post Follow-up to this messageIf you use emacs, it is built in it. just type (M- stays for "Meta", C- for "Ctrl") M-x ps-print-buffer or M-x ps-print-buffer-with-faces If you want to output code to ps file then type C-u M-x ps-print-buffer-with-faces emacs will ask you for the name of the output postscript file. -- igor.
Post Follow-up to this messageDanguard <danguard_robot@hotmail.com> writes: > Is there any free tool to pretty-print Fortran 90/95 source codes? latex with the listings package. -- Brian (remove the sport for mail) http://www.et.dtu.dk/staff/be/be.html
Post Follow-up to this messageDanguard wrote: > Is there any free tool to pretty-print Fortran 90/95 source codes? Back in February, Dave Bowler submitted a style file for F90 to the enscript developers that does this with something like, enscript --color --highlight=f90 file.f90 I haven't tried it. Looking at http://people.ssh.fi/mtr/genscript/ makes me think that enscript's maintainers have not released a version that includes Dave's style file, f90.st. To get a copy of the style file, try pinging david dot bowler atchar ucl dot ac dot uk. Regards, -- Bil Kleb, Hampton, Virginia
Post Follow-up to this messageIn article <cnv8l3$kmv$1@news2.news.larc.nasa.gov>, Bil Kleb <Bil.Kleb@NASA.Gov> writes:[co lor=darkred] >Danguard wrote: > >Back in February, Dave Bowler submitted a style file for F90 >to the enscript developers that does this with something like, > > enscript --color --highlight=f90 file.f90 > >I haven't tried it. > >Looking at http://people.ssh.fi/mtr/genscript/ makes me think >that enscript's maintainers have not released a version that >includes Dave's style file, f90.st. > >To get a copy of the style file, try pinging david dot >bowler atchar ucl dot ac dot uk. > >Regards, >-- >Bil Kleb, Hampton, Virginia[/color] You may also note that together with the f90ppr tool, I wrote the f90tops one that prints Fortran source to PostScript. http://www.ifremer.fr/web-com/molagnon/utilsf90.html Michel
Post Follow-up to this message"Michel OLAGNON" wrote > > You may also note that together with the f90ppr tool, I wrote the f90tops > one that prints Fortran source to PostScript. Have you had occasion to see whether your utilities yet compile and run with gfortran and/or g95?
Post Follow-up to this messageIn article <aMJpd.63616$IQ.59344@bignews6.bellsouth.net>, "Charles Russell" <STOPworworSPAM@bellsouth.net> writes: > > "Michel OLAGNON" wrote > > > > Have you had occasion to see whether your utilities yet compile and run wi th > gfortran and/or g95? > Michel's f90split and f90tops bothe compile with gfortran. f90tops < f90tops.f90 > zzzz.ps produces a postscript file that can be rendered by ghostscript. I haven't f90split. His f90ppr utility triggers a bug with gfortran. -- Steve
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.