Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 849 invoked from network); 2 Mar 2008 01:55:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2008 01:55:56 -0000 Received: (qmail 4422 invoked by uid 500); 2 Mar 2008 01:55:51 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 4366 invoked by uid 500); 2 Mar 2008 01:55:51 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 4350 invoked by uid 99); 2 Mar 2008 01:55:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2008 17:55:51 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 01:55:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 28962234C082 for ; Sat, 1 Mar 2008 17:54:51 -0800 (PST) Message-ID: <962016359.1204422891151.JavaMail.jira@brutus> Date: Sat, 1 Mar 2008 17:54:51 -0800 (PST) From: "David Crossley (JIRA)" To: dev@forrest.apache.org Subject: [jira] Commented: (FOR-1072) [PATCH] Bugfixes and improvements for PDF output plugin In-Reply-To: <2081193116.1204407771100.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FOR-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574173#action_12574173 ] David Crossley commented on FOR-1072: ------------------------------------- Ah, there are some problems. Please see forrest-dev list. > [PATCH] Bugfixes and improvements for PDF output plugin > ------------------------------------------------------- > > Key: FOR-1072 > URL: https://issues.apache.org/jira/browse/FOR-1072 > Project: Forrest > Issue Type: Improvement > Components: Plugin: output.pdf > Affects Versions: 0.9-dev > Reporter: Jeremias Maerki > Assignee: David Crossley > Fix For: 0.9-dev > > Attachments: forrest-pdf-touchup.patch > > > I've been playing with Forrest Trunk to get the FOP website to work. I found a number of problems which I've fixed with the attached patch. The changes in detail: > - PDFs generated from an FAQ page inserted the section number (1.1, 1.2 etc.) twice in front of the section title. I've just filtered it now. It may not be the best way to fix this. > - Added a bookmark entry for the table of contents if it is enabled. > - Added keep-with-next.within-column="always" for all section titles, header elements of note/warning/fixme boxes and table captions. The new FOP supports keeps so you should use them. Otherwise, page break decision can be really ugly. > - Added keep-with-previous.within-column="always" for note/warning/fixme boxes so the don't land on a new page as first elements. This preserves the context. > - table rows with th elements are now placed in the fo:table-header, so the headers are repeated on each page the table spans. > - Used proportional-column-width(1) instead of a fixed width calculation for the column widths which automatically makes use of the whole page width regardless of the page margin settings. > - Fixed placement of page number and document title depending on "double-sided" setting. --> Page number to the "outside" and document title to the "inside". > - Filtered out link elements with no href (which are created by html-to-document.xsl for " I'd appreciate a quick turn-around with this patch (if possible) as this would allow us to switch to Forrest Trunk for the FOP 0.95 release (we want to eat our own dogfood). Without this patch, our compliance PDF page fails due to the "