[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Styling xref in HTML output
Hi, have decided to wrap everything inside an <emphasis role="spec_func">...</emp..> construction. That at least solves the problem for now. But, if a smarter solution exists, please let me know. Best, Mads On Wed, 14 Feb 2007, Mads Ipsen wrote: > Hi, > > Among other things, I use xref to link to certain special functions and > classes that are documented in our manual pages. These particular anchors > should be styled differently via the CSS sheet. But I can't seem to figure > out how to get generate a class att. in the HTML output. What I'd like to > do is something like: > > <xref linkend="ref.foo" role="spec_func" xrefstyle="select: title"/> > > yielding > > <a href="foo.html" class="spec_func" title="foo()"><i>foo()</i></a> > > which would enable me to emphasize the special role of these programming > elements in our documentation. > > BTW: also when you do something like > > <filename class="directory">/usr/local/bin</filename>, I'd expect an HTML > output like such as > > <span class="directory">/usr/local/bin</span> to appear. This is > apparently not the case when I examine the HTML output. At least, that is > what I deduce when looking at > > http://www.docbook.org/tdg/en/html/filename.html > > In help is greatly appreciated. > > Best, Mads > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > +---------------------------------+-------------------------+ | Mads Ipsen | | | Dept. of Chemistry | phone: +45-35320220 | | H.C.Ørsted Institute | fax: +45-35320322 | | Universitetsparken 5 | | | DK-2100 Copenhagen Ø, Denmark | mpi@osc.kiku.dk | +---------------------------------+-------------------------+
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]