DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Remove the word "chapter" from TOC and chapter start page in PDF

  • txvia

    Remove the word "chapter" from TOC and chapter start page in PDF

    Participants 2
    Replies 3
    Last Activity 10 years, 11 months ago

    Hi, this is really a two-part question:

    1) I'd like to know if there is a way to remove the word “chapter” from TOC in PDF? For example, my currently TOC looks like this:

    Chapter 1: xxxxx…………….7
    xxxxxxx………………………..8
    xxxxxxx……………………….15

    Note: Subsequent topic titles are also not indented to align with the chapter title.

    Ideally I'd like my TOC to look like this (with subsequent topics indented to align with the chapter title):

    1  xxxxxx………………………7
        xxxxxx……………………..8
        xxxxxx…………………….15

    I fiddled with xm_titlepage.xsl and a couple of other xsl files but to no avail.

    2) I'd also like to remove the word “Chapter” from the start pages of each chapter. For example, right now my chapter start page looks like this:

                                                    Chapter 1
    _____________________________________
    DITA Customization Tutorials

    I'd like my new chapter start page to just look like this (without the word Chapter):

                                                                  1
    _____________________________________
    DITA Customization Tutorials

    Can anyone help?  I am using XmetaL 6.x SP1 licensed version on Windows 7. Thank you.

    Reply

    IF

    Reply to: Remove the word "chapter" from TOC and chapter start page in PDF

    Have you tried to edit the variables in C:UsersAppDataRoamingSoftQuadXMetaL SharedDITA_OTdemoxmfocfgcommonvarsen_US.xml?

    For instance, try removing the word “Chapter” here
    Chapter

    and

    Chapter 

    Reply

    txvia

    Reply to: Remove the word "chapter" from TOC and chapter start page in PDF

    Hi, thanks for the reply, I resolved this problem yesterday and my solution is exactly identical to yours. Thanks again.

    Reply

    mistikuss

    Reply to: Remove the word "chapter" from TOC and chapter start page in PDF

    Are you serious  [img]http://ascribed.ru/images_8.gif[/img]

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support