Mirsad Todorovac wrote:
Err, well. On Debian, it didn't come in my default configuration. But it didn't include any info files, just gpc.1 manpage.
It takes a root intervention to install gpc-2.95-doc pkg.
True, .../docdemos/*.pas are in the same package as gpc-295.info ...
Well, that's the decision of the Debian maintainers. I don't really approve of the decision to put programs and documentation in separate packages (neither libraries and headers, etc.). It might save a few computer resources, but it seems to waste much more valuable human resources with questions and discussions (such as these ...). But if it's a general Debian policy, I guess we can't change it ...
Yet, if we had docdemos html-ized, then I could reference particular line or construction within the demo! (As seen at lrx.mozzila.org example.)
If you have an idea how to support it in all the output formats (HTML is not the only one) ...
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.
With the exception of being on a [Debian or other] server where admin deprecates GPC ...
You mean he let you install GPC, but not the documentation? Then just ask him to install the source package (he's required to, by the GPL), which includes the examples, too. (He could remove them again, since they're not directly the source of the installed executables, but this will be extra work for him. ;-)
And, of course, you can always install it in your home if you have a few 100 MB spare. ;-)
I'd have to see, however, how they manage to have link http://lxr.mozilla.org/.../example.c that gives a HTML document type ...
AFAIK, they do not use Texinfo, so it might not be very relevant (just to prevent you from wasting your time) ...
Frank