help with ulink in xml file
Adam Sommer
asommer70 at gmail.com
Tue Dec 4 13:35:21 UTC 2007
Hello,
> Use xref when linking to a section in the same document (as in this
> case), but ulink when linking to a section in another document.
>
> xref tags should be relatively straightforward (the only thing to
> remember is never to use the xreflabel attribute - as you've done in
> the patch - because this is untranslatable. Instead just leave them
> out and the link will use the title of the section you're linking to).
>
> ulink tags should be used with ghelp urls (in the case of documents to
> be viewed in yelp) or other "language-neutral" urls (in the case of
> documents to be viewed with other file viewers). After we convert the
> xml to html, we have a custom script (fix-urls.sh) that goes through
> all the documents and substitutes the ".xml" links with ".html" links.
> In the case of your bug, we missed one...
>
>
>
Ah... that makes sense. Thanks Matt for the explanation. I think there are
other <xrefs> linking to other chapters throughout the Server Guide (some I
may have added) so I'll go through and convert them. That should take care
of the bug as well.
--
Party On,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20071204/31487b9a/attachment.html>
More information about the ubuntu-doc
mailing list