OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: Converting man page references to links

On Mon, Jul 24, 2000 at 03:24:43PM -0400, Norman Walsh wrote:
> / Nik Clayton <nik@nothing-going-on.demon.co.uk> was heard to say:
> | Ideally, I'd envisage something whereby you'd do something like
> | 
> |    (define $mancgi-template$ "http://www.FreeBSD.org/man.cgi?%s(%d)")
> There are functions in dblib.dsl for doing this sort of substitution.
> (I mean at the lowest level, substitute "x" for "%y".) That's how the
> localization does its job.

OK, I'll try looking at that.

Something I have been looking for is a way to tell whether or not we're
currently inside a certain element in the HTML output stream.

Specifically, suppose you've used <citerefentry> in a section title, which
has then appeared in the set of ToC links.  When that happens you have two
nested <a> elements (one for the ToC link, and inside it a link to the manpage
CGI).  Is there a way I can query the (make element ...) output stream, or do
I need to keep track of this in a global variable, and make sure that every
time I do a (make element gi: "a" ... ) that the variable's value is set

Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC