You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Patrick Ohly (JIRA)" <ji...@apache.org> on 2007/06/18 20:19:26 UTC

[jira] Updated: (FOR-355) Improved PDF configurability (e.g., TOC, Page Numbers, logo)

     [ https://issues.apache.org/jira/browse/FOR-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Ohly updated FOR-355:
-----------------------------

    Attachment: pdf-toc.patch

With this patch the table of content can be disabled via the skinconf.xml
like this:

    ...
    <!--
      Disable the generation of the table of content on the first page
      of the PDF. By default the TOC is generated.
    -->
    <disable-toc>true</disable-toc>
  </pdf>

In contrast to the first version of this patch posted to the users
mailing list this revision produces the TOC if <disable-toc> is not
set in the skinconf.xml because it uses the "string()" function; that
always seems to properly initialize the "disable-toc" variable.

Note that the patch does not change the skinconf.xml generated by
"forrest seed".


> Improved PDF configurability (e.g., TOC, Page Numbers, logo)
> ------------------------------------------------------------
>
>                 Key: FOR-355
>                 URL: https://issues.apache.org/jira/browse/FOR-355
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Plugin: output.pdf
>    Affects Versions: 0.7
>            Reporter: Clay Leeds
>            Priority: Minor
>         Attachments: patchPageNumberingFormat.txt, pdf-toc.patch
>
>
> This change would probably involve skinconf.xml changes, as well as document2fo.xsl changes.
> It would be great to be able to configure the PDF output for the following options:
> - page numbers (ON/OFF)
> - more control over information in footer (ON/OFF, copyright info, credits)
> - Table of Contents generation (on a 1-page xdoc, it seems silly to generate a TOC page)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.