Re: docbook: link [was: Bug 455400]

Thanks, Thomas. That was way too easy! I've been doing a lot of work on the documentation. I've added sections for entering text, aligning objects, moving lines. I've
also added a lot of screenshots and expanded the basic objects area. I'm currently reworking the selecting objects section, again with more screen shots.
I'm probably not going to finish this morning. Unfortunately, I'm going out of town for a few days, so it will be about a week before I can upload the diff file. I hope that's ok.
Thanks again. Mark Dexter

On 8/1/07, Thomas Harding <thomas harding laposte net> wrote:
On Tue, Jul 31, 2007 at 05:01:49PM -0700, Mark Dexter wrote:
> Hi. I'm try to link to a specific section in a different xml file in
> DocBook. The specific example is: I'm inside usage-objects-basic.xml and am
> trying to link to a specific section in usage-objects.xml.
> I can link to the top of the document with the following:
> For tips on editing text, see
>    <link linkend="objects-chapter"> Entering Text</link>.
> where usage-objects.xml has <chapter label="4" id="objects-chapter">
> I can't figure out how to link to a specific section in usage-obejcts.xml,
> and I can't find any examples on the web. If anyone knows, please let me
> know. Thanks. Mark

Links are done on "id" attributes, (hopefully) not matter what element
it is.

Simply give an id to the specifific element you want to link to,
eg <sect3 id="my-section">; then do the link as typed above.

Thomas Harding
Dia-list mailing list
Dia-list gnome org
FAQ at
Main page at

Mark Dexter

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]