Remove my index

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Edwin
Posts: 16

Remove my index

Tue Oct 18, 2016 3:06 pm

Hi,
For special publications I want to remove my index from the pdf output altogether without deleting all the

Code: Select all

<indexderm>
references. I have created a new customization setup for that.

In the layoutmaster.xsl i have commented out all index references:

Code: Select all

<!--INDEX simple masters--><!--
            <fo:simple-page-master master-name="index-first" xsl:use-attribute-sets="simple-page-master">
                <fo:region-body xsl:use-attribute-sets="region-body__index.odd"/>
                <fo:region-before region-name="odd-index-header" xsl:use-attribute-sets="region-before"/>
                <fo:region-after region-name="odd-index-footer" xsl:use-attribute-sets="region-after"/>
            </fo:simple-page-master>

            <xsl:if test="$mirror-page-margins">
              <fo:simple-page-master master-name="index-even" xsl:use-attribute-sets="simple-page-master">
                  <fo:region-body xsl:use-attribute-sets="region-body__index.even"/>
                  <fo:region-before region-name="even-index-header" xsl:use-attribute-sets="region-before"/>
                  <fo:region-after region-name="even-index-footer" xsl:use-attribute-sets="region-after"/>
              </fo:simple-page-master>
            </xsl:if>

            <fo:simple-page-master master-name="index-odd" xsl:use-attribute-sets="simple-page-master">
                <fo:region-body xsl:use-attribute-sets="region-body__index.odd"/>
                <fo:region-before region-name="odd-index-header" xsl:use-attribute-sets="region-before"/>
                <fo:region-after region-name="odd-index-footer" xsl:use-attribute-sets="region-after"/>
            </fo:simple-page-master>
            -->
And

Code: Select all

<!-- <xsl:call-template name="generate-page-sequence-master">
            <xsl:with-param name="master-name" select="'index-sequence'"/>
            <xsl:with-param name="master-reference" select="'index'"/>
            <xsl:with-param name="last" select="false()"/>
          </xsl:call-template> -->


Still the transformation fails,
System ID: Z:\en-US\temp\topic-pdf\oxygen_dita_temp\topic.fo
Scenario: LN Manual to PDF - no index
Input file: Z:\en-US\TP1 User Manual en-US.ditamap
Engine name: DITA-OT
Severity: error
Description: The master-reference "index-sequence" on fo:page-sequence matches no simple-page-master or page-sequence-master.
Start location: 5169:0

What am I missing here, is there another file that I should adapt?

Return to “Common Problems”

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests