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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: DOCBOOK-APPS: indexterms with leading \


Using:
- DocBook XML 4.2.cr1-1
- DocBook XSL 1.50.1-EXP2
- xsltproc (libxml 20421, libxslt 10017, libexslt 708)
  OR
  saxon 6.4.4

Given the following minimal test file (processed with default
XSL stylesheets - not customized):

<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE article PUBLIC '-//OASIS//DTD DocBook XML V4.1.2//EN'
          "/var/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd" >

<article lang="en">

  <articleinfo>
    <title>Test Article</title>
  </articleinfo>

  <sect1>
    <title>\first</title>
    <indexterm><primary>\first</primary></indexterm>
    <indexterm><primary>\second</primary></indexterm>

    <para>foo foo foo</para>
  </sect1>

  <appendix>
    <title>Index</title>
    <para>bla bla bla</para>
    <index>
      <!-- index will be created by XSL stylesheet -->
    </index>
  </appendix>

</article>

If there is more than one <indexterm> with a leading \ (backslash)
only the first of these <indexterm>s shows up in the generated index.
It doesn't matter at which place the n'th <indexterm> appears in the 
source file.

Michael
-- 
mw@miwie.in-berlin.de                              http://www.miwie.org
mw@miwie.org



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


Powered by eList eXpress LLC