This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Converting man page references to links


/ Nik Clayton <nik@nothing-going-on.demon.co.uk> was heard to say:
| 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.

No, you can't do that, alas.

| 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).

Don't do the citrefentry links in toc-mode. Hmmm. I see that there
isn't a toc-mode. Uh. Hmmm.

| 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
| correctly?

No can do. No mutating variables in DSSSL.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Things work out best for those who
http://www.oasis-open.org/docbook/ | make the best of the way things
Chair, DocBook Technical Committee | work out.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]