[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Treatment of links in print
>to give >I would like to render ><para> >For an example of this procedure, refer to ><link linkend="foo">Foo</link> ></para> > >As > >"For an example of this procedure, refer to Foo (p. 29)" > >Where 29 is the page. I'd also be satisfied with > >"1.2.3 Foo" where 1.2.3 is the subsection. > You could use, for example <section id="foosection"> ... <para id="foopara">This is the part that talks about foo.</para> ... </section> ... <para> For an example of this procedure, refer to <link linkend="foopara">Foo</link>(<xref linkend="foosection">). </para> Unlike link, xref generates its own text, depending on its target. This markup should produce something like: For an example of this procedure, refer to Foo (Section 1.2.7). I don't know how to do page numbers. Gotta be possible, since the TOC does it. -- Kevin M. Dunn Professor of Chemistry Hampden-Sydney College --
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC