Hi Hussein,

Thanks for the response!

I am using a version of the XSLTs and am modifying them directly (this
is temporary, until my company brings on an individual with a more
sophisticated skill set than I have in this area, so that they can focus
on this side of our workload. At that point we will start over using the
OOB scripts and will remove the numbering properly -- see below).

I was only able to get the numbers to go away when I removed the
numberList value (changed to "''"). They did indeed go away!

The changes I made to the default commonParams.xsl are here:

  <xsl:param name="number" select="''"/>
  <xsl:variable name="numberList" select="''"/>

  <!-- 'I', 'i', 'A', 'a', '1' -->
  <xsl:param name="part-number-format" select="'I'"/>
  <xsl:param name="appendix-number-format" select="'A'"/>

  <xsl:param name="prepend-chapter-to-section-number" select="'no'"/>

I tried various combinations of the values of number (including none),
prepend-chapter-to-section-number, and then removed the numberLlist
value itself.

No worries! They went away literally the first attempt after I sent you
this email. Which was very amusing.

james

-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Wednesday, September 01, 2010 1:14 AM
To: James Scott
Cc: [email protected]
Subject: Re: [ditac] Topic numbering in a PDF

James Scott wrote:
> 
> I would like to disable the topic-level, hierarchical numbering that
is
> occurring in the PDF output. For example, 1.1, 1.1.1, 1.1.1.1,
> 1.1.1.1.1. I have tried numerous options (including the *number*,
> *prepend-chapter-to-section-number* parameters).
> 
>  
> 
> I can change the number-separators to "xxxxx" and get "xxxxx" used as
> the separator. But what I really want is for the entire numbering
> sequence to not be there. I just want the topic title to appear in the
> TOC and the headers.
> 

I cannot reproduce the problem you describe. For example:

---
ditac -ignoreoptionsfile -xep /opt/xep/xep -filter print.ditaval \
                -p number all \
                -p use-note-icon yes \
                -p two-sided no \
                -p justified yes \
                -p hyphenate yes \
                manual.pdf manual.ditamap
---
gives me a manual.pdf where chapters and topics acting as sections
(manual.ditamap is a bookmap) are numbered.

While:

---
ditac -ignoreoptionsfile -xep /opt/xep/xep -filter print.ditaval \
                -p number none \
                -p use-note-icon yes \
                -p two-sided no \
                -p justified yes \
                -p hyphenate yes \
                manual.pdf manual.ditamap
---

gives me a manual.pdf where chapters and topics acting as sections are
*not* numbered (not in the TOC, nor in the headers).

Same behavior with a map instead of a bookmap.
 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to