comp.lang.ada
 help / color / mirror / Atom feed
From: stephane@_delete_this_rochebrune.org (Stephane Riviere)
Subject: Re: Literate Programming in Ada, AdaDoc, AdaBrowse
Date: Sun, 10 Oct 2004 08:21:19 GMT
Date: 2004-10-10T10:21:39+02:00	[thread overview]
Message-ID: <4168e585.146011813@news.free.fr> (raw)
In-Reply-To: 2sqmccF1oit5sU1@uni-berlin.de

Hi Nick & all,

There is an alternative to your needs which has the merit to exist and
does not need an ASIS compiler : AdaDoc with its new Texinfo module
(not yet include in official AdaDoc release but available from me).

AdaDoc is french made but full english doc exist. It is known to work
reliably with any Ada compiler under Win or Linux.

AdaDoc can output HTML, TeX and now Texinfo !

Texinfo is (to my taste) a very important document format because you
can output to standart HTML, INFO, PS, PDF, TXT, and, believe or not,
even it is out of my scope of interest, win HLP format, plus some
unfamiliar ones. Texinfo has also a very simple, well designed, format
(much much simpler than TeX). 

>Mode do something like this? My favourite editor is PFE (for Windows). It 
>has a limited macro capability, but it's too limited for something like this.

By the way, PFE is a very good editor, I used it for years. Too bad
its author dropped it.

Under AIDE (for Windows but AIDE use ONLY free cross-platform tools),
I've a complete documentation tools suite.

Inputs :

Emacs/Glide (Texinfo aware) for texts
DIA and Gimp for diagrams and figures
Dia2code for UML diagrams and Ada gen code
AdaDoc (with new texinfo module, it's the corner stone of the whole)
for automatic specs inclusion in texinfo document...

output :

HTML, PS and PDF (with graphics)
INFO and TXT (no graphics)

FYI, AdaDoc is not dead. It is a very interesting project because it
does not need ASIS. It uses AFLEX and AYACC and XMLAda (XML is the
intermediate common format) . I've recompile the whole without any
problem with AIDE (under Windows) with the makelinux bash file ;)

The resulting docs are very impressive : beautiful output with almost
no manual work at all !

To "beautify" the output, as my texinfo module for AdaDoc accepts
additional texinfo tags inside Ada comments, I use to include @i{}
tags to format some words in italic :

example : 

-- @i{Description} : Put a text on the console at given coordinates
with specified colors attributes followed by a new line.
-- @i{Row} : Row coordinate.
-- @i{Col} : Column coordinate.
-- @i{Fore} : Foreground color.
-- @i{Back} : Background color.
Procedure Put_Lc(Row  : Line := 1;
                 Col  : Column :=1;
                 Text : String;
                 Fore : in Color_Type := Gray;
                 Back : in Color_Type := Black);

But this is only to beautify : you do not need any special character
in your source to use AdaDoc : just put your text before the
procedure, function, etc...to comment...

In this case, the parameters are of course extracted and ordered in
tables, with types and initializations...

You can also use TeX inside a Texinfo


I can sent to you some ADS with PDF results (even the TOC is
automatically generated, and so on for the PDFhierarchical bookmarks),
with the modified AdaDoc sources with samples. 

With this documentation tool suite, I can now create multi format and
consistent (allways up to date, no sync problems)  :

user docs,
technical docs,
reference manual,

Regards,

-- 
Stephane Riviere
Oleron Island - France
http://stephane.rochebrune.org
OpenPgp Key <5fd6a1e6> available on the web site above



  parent reply	other threads:[~2004-10-10  8:21 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-09 17:44 Literate Programming in Ada, AdaDoc, AdaBrowse Nick Roberts
2004-10-09 18:39 ` Wes Groleau
2004-10-09 21:04   ` Nick Roberts
2004-10-09 21:39     ` stephane richard
2004-10-09 23:40     ` Wes Groleau
2004-10-10 16:39     ` Simon Wright
2004-10-12  0:42       ` Georg Bauhaus
2004-10-11  7:33     ` Ole-Hjalmar Kristensen
2004-10-09 19:21 ` Pascal Obry
2004-10-09 21:47   ` Nick Roberts
2004-10-09 23:20     ` Björn Persson
2004-10-10  8:28       ` Oliver Kellogg
2004-10-10 10:03         ` Björn Persson
2004-10-10 15:27           ` Stephen Leake
2004-10-09 23:49     ` Wes Groleau
2004-10-10 10:36     ` Pascal Obry
2004-10-10 11:26       ` Marius Amado Alves
2004-10-18  8:17         ` Jacob Sparre Andersen
2004-10-18 11:15           ` Marius Amado Alves
2004-10-18 12:46             ` Björn Persson
2004-10-18 15:39               ` Marius Amado Alves
2004-10-18 13:47             ` Jacob Sparre Andersen
2004-10-09 22:54 ` Lionel Draghi
2004-10-09 22:56 ` Björn Persson
2004-10-09 23:55   ` Wes Groleau
2004-10-10  1:02     ` Björn Persson
2004-10-10 14:02       ` Wes Groleau
2004-10-10  3:29 ` Steve
2004-10-10 14:08   ` Wes Groleau
2004-10-10 15:06     ` Steve
2004-10-10 15:20   ` Stephen Leake
     [not found]   ` <rlsfz4jdjuj.fsf@jacob.crs4.it>
2004-10-15 13:33     ` Marius Amado Alves
2004-10-16  1:50     ` Steve
2004-10-16 19:46       ` Jacob Sparre Andersen
2004-10-17  3:46         ` Steve
2004-10-10  8:21 ` Stephane Riviere [this message]
2004-10-11 23:02   ` Björn Persson
2004-10-11 23:31     ` Missing features in NaturalAdaBrowseDoc Lionel Draghi
2004-10-12  0:14       ` tmoran
2004-10-12 12:58       ` Marc A. Criley
2004-10-12 21:20         ` Lionel Draghi
2004-10-12 17:49       ` Stephane Riviere
     [not found]         ` <416c48a7$0$28918$636a15ce@news.free.fr>
2004-10-12 21:18           ` Lionel Draghi
2004-10-13 16:38           ` Stephane Riviere
2004-10-14 19:56             ` Lionel Draghi
2004-10-15 16:59               ` Stephane Riviere
2004-10-12 17:29     ` Literate Programming in Ada, AdaDoc, AdaBrowse Stephane Riviere
2004-10-10  9:34 ` Andre
2004-10-10 15:24   ` Stephen Leake
2004-10-10 18:04     ` Andre
2004-10-11 23:32     ` Lionel Draghi
2004-10-12  0:13       ` Björn Persson
2004-10-10 15:13 ` Stephen Leake
2004-10-11 20:28 ` Nick Roberts
2004-10-11 22:26   ` Björn Persson
2004-10-12 14:09     ` Nick Roberts
2004-10-13  5:01       ` Pylinius
2004-10-13 16:06         ` Nick Roberts
2004-10-13 17:17     ` Pascal Obry
2004-10-17 18:47   ` Bernhard Mulder
2004-10-18 18:06     ` Nick Roberts
2004-10-19  4:41       ` Bernhard Mulder
2004-10-19  9:52         ` Peter Hermann
2004-10-19 10:01         ` Nick Roberts
2004-10-23 21:39           ` Bernhard Mulder
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox