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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: adding to toc


davep <davep@dpawson.co.uk> writes:
> I have set phrases, plain text in para elements.
> I want to use these as targets for cross linking.
> What's the best markup pls?
>
> e.g.1.3.30
> Is <anchor xml:id="a.1.2.30"/>1.3.30
> suitable?
> I'm thinking of writing a macro to do this by hilighting
> the text.
> Then another to create the xref.

That's what anchor is for. But if they're actually phrases, I think I'd
be tempted to use phrase:

  <phrase xml:id="a.1.2.30">1.3.30 or whatever the phrase is</phrase>.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Men never do evil so completely
http://www.oasis-open.org/docbook/ | and cheerfully as when they do it
Chair, DocBook Technical Committee | from a religious
                                   | conviction.--Blaise Pascal

Attachment: signature.asc
Description: PGP signature



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