Franco T. wrote:
I have been using internal links as you suggested and all is ok. Only one thing
doesn’t work: such internal links are working perfectly in the epub version of
the output document, but they are not in the pdf version. Is this a fault of
mine or a known limitation? If such is the case is there any plan to fix it?
In principle, if it works OK in the EPUB, it should also work OK in any
other formats including PDF.
This is not a known problem. I mean, it has not already been reported by
any of our users. Moreover we routinely create dozens of internal links
for our own DocBook documents and it works fine.
Three suggestions though:
1) Make sure to use linkend="TARGET_ID" and not xlink:href="#TARGET_ID".
XMLmind XML Editor is definitely not designed to work with
xlink:href="#TARGET_ID".
2) The target of an internal link is an element having an "xml:id"
attribute ("id" attribute for DocBook v4). This element must be a
chapter, section, figure, table and NOT the *title* of a chapter,
section, figure, table.
3) Some PDF readers do not follow internal links, either because they
are buggy or because you have to explicitly select this option. For
example, in Linux's okular you must select "Browse" and not "Selection"
in okular's toolbar.
The second question is: I see the “Insert indexterm” command and I believe it
is the command to use to prepare for analytic indexes. But I do not see any
command to build such analytic indexes. Is it there and I do not see it?
All you have to do is:
A) Insert some <indexterm> elements in your document See
http://tdg.docbook.org/tdg/5.0/indexterm.singular.html
B) Add one EMPTY <index> element --a placeholder-- somewhere at the end
of your document. See http://tdg.docbook.org/tdg/5.0/index.html
Just like the Table of Contents, the Index will be automatically built
by the DocBook XSL stylesheets.
More information about indexes in "DocBook XSL: The Complete Guide",
"Chapter 19. Indexes", http://www.sagehill.net/docbookxsl/GenerateIndex.html
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support