Re: adding to toc

From
Norman Walsh <>
Date
2013-08-19T15:20:44+00:00
ID
Thread
Re: adding to toc
davep <> 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 <>      | 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