Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 58093 invoked from network); 17 Jun 2007 19:44:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jun 2007 19:44:33 -0000 Received: (qmail 56326 invoked by uid 500); 17 Jun 2007 19:44:36 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 56288 invoked by uid 500); 17 Jun 2007 19:44:36 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 56279 invoked by uid 99); 17 Jun 2007 19:44:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2007 12:44:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of patrick.ohly@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 17 Jun 2007 12:44:31 -0700 Received: (qmail invoked by alias); 17 Jun 2007 19:44:10 -0000 Received: from c-134-233-177.f.dsl.de.ignite.net (EHLO ip6-localhost) [62.134.233.177] by mail.gmx.net (mp027) with SMTP; 17 Jun 2007 21:44:10 +0200 X-Authenticated: #489940 X-Provags-ID: V01U2FsdGVkX18PzflV8aEPpcRIdbN0LwxtjZCYH+FHsKNlU8hdAy VDzxnIHLSuGBxH Received: from patrick by ip6-localhost with local (Exim 4.63) (envelope-from ) id 1I00fQ-0004rL-4S for user@forrest.apache.org; Sun, 17 Jun 2007 21:44:08 +0200 Subject: Re: Stop PDF Summary... From: Patrick Ohly To: user@forrest.apache.org In-Reply-To: <45CCDD24.1010704@apache.org> References: <28628751.1170943736827.JavaMail.root@eastrmwml09> <45CCDD24.1010704@apache.org> Content-Type: multipart/mixed; boundary="=-fCo8H+Kc2kJa52immkxv" Date: Sun, 17 Jun 2007 21:44:07 +0200 Message-Id: <1182109448.14818.58.camel@ip6-localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org --=-fCo8H+Kc2kJa52immkxv Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fr, 2007-02-09 at 20:44 +0000, Ross Gardler wrote: > greg.vaco@cox.net wrote: > > How do I turn off the summary that's being created above my table of > > contents in each of the page-level PDFs? It appears to be generated > > by the PDF Outline XSLT in common skins (src\documentation\skins > > \common\xslt\fo\pdfoutline.xsl), but I'm not positive. > > You are correct in that pdfoutline.xsl generates the outline. This is > called from the root document-2-fo.xsl. > > Currently there is no configuration option for removing this outline. > Adding one in is an easy job, just look at the way skinconf.xml values > are used elsewhere in document-2-fo.xsl. Of course, you could create > your own skin and provide your own XSL that does not call the outline. > But providing a patch to make it configurable would be well recieved here. I also wanted to turn off the TOC, so I patched the 0.8 main/webapp/skins/common/xslt/fo/document-to-fo.xsl - see attachement. I don't know where "forrest seed" takes the skinconf.xml from, so I didn't patch anything related to that. Here's what I added to my project's skinconf.xml: ... true There's one problem with the patch: if is not set in skinconf.xml, then the TOC is disabled nevertheless. I'm not sure why; what is the xsl:variable "disable-toc" set to in that case? If is present, then it works as expected: only "true" disables the TOC, any other string generates the TOC. -- Bye, Patrick Ohly -- Patrick.Ohly@gmx.de http://www.estamos.de/ --=-fCo8H+Kc2kJa52immkxv Content-Disposition: attachment; filename=pdf-toc.patch Content-Type: text/x-patch; name=pdf-toc.patch; charset=ISO-8859-1 Content-Transfer-Encoding: base64 SW5kZXg6IG1haW4vd2ViYXBwL3NraW5zL2NvbW1vbi94c2x0L2ZvL2RvY3VtZW50LXRvLWZvLnhz bA0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09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