Mirsad Todorovac wrote:
On Sat, 3 May 2003, Frank Heckenbach wrote:
BTW, I thought of making [Example]s follow-able in "Highlights" section. Can this be done without much hassle?
They are in the HTML output (via `examplehref'). I don't think there's any way to link to external (plain-text, or Pascal) files from Info, DVI, PS or PDF.
Frank
BTW, Frank, have you seen the HTML-ized listings (done by their LXR) at http://lxr.mozilla.org/ ??
What do you think -- I think generating cross-refs and line numbers is a piece of cake, such as seen at
http://lxr.nozilla.org/mozilla1.0/source/jpeg/example.c
Also I had dillemas about generating and including texinfo source for all examples mentioned as examples or something else. Especially since source may not always be available, and users are sometimes l@zy ...
Even not that. I.e. at home, at my mandrake box, I had gpc docs only, and alas no internet connection -- this sort of situation can happen to people who are not online.
I'm not sure if I understand exactly what you mean.
Anyway, the examples mentioned in about.texi are included in source and binary distributions in a demos/ directory, so one should always have them if one has GPC.
The "docdemos" are part of the texi source (within `@example') and are extracted when installing GPC (and therefore part of binary distributions), so also "everyone" should have them.
If you have the GPC sources (and a number of tools, which should be no problem on GNU/Linux), you can even build a local copy of the home page (`make pascal.html'), with all the examples etc. included.
Frank