Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 51177 invoked by uid 500); 16 May 2003 02:34:26 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 51145 invoked from network); 16 May 2003 02:34:25 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 16 May 2003 02:34:25 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19GV15-0006ec-00 for ; Fri, 16 May 2003 04:32:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: forrest-dev@xml.apache.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19GV11-0006e1-00 for ; Fri, 16 May 2003 04:32:11 +0200 From: Jeff Turner Subject: Re: PDF generation with other than forrest-site skin? Date: Fri, 16 May 2003 12:30:38 +1000 Lines: 41 Message-ID: References: <20030516004526.28817.qmail@web41503.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@main.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030401 X-Accept-Language: en,pdf In-Reply-To: <20030516004526.28817.qmail@web41503.mail.yahoo.com> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Mark Eggers wrote: > Well I guess I have no clue, because I don't see where > to change things. I see stuff in the > document2html.xsl that refers to templates declared in > the common/xslt/html/document2html.xsl, but I don't > see anything in the site2xhtml.xsl that refers to pdf > except for the credits. document2html.xsl formats the page body. The PDF link is added in site2xhtml.xsl, which is responsible for the overall page formatting. > I've walked through sitemap.xmap a few times, but I > don't see where the parameter to trip the pdf regex > gets set. I wouldn't worry about PDF on/off buttons just yet. I'd suggest: - Playing with the $FORREST_HOME/context/skins/avalon-tigris/xslt/html/site2xhtml.xsl file. Any change to that should be immediately visible when next you do a 'forrest run' on your site. - Once you're sure modifications there work, copy that file to your project in the src/documentation/skins/avalon-tigris/xslt/html/site2xhtml.xsl directory, where it will override the Forrest default (that you were editing in the step above). Check that modifications there work when you do a 'forrest run'. - Then add a PDF link to your your overriding site2xhtml.xsl file. You can steal HTML and an image for this from the krysalis-site skin's site2xhtml.xsl file. --Jeff > I guess I'll just use the default skins until I have a > clue. > > Thanks for the attempt at helping, anyway. > > /mde/ > just my two cents