From owner-svn-doc-projects@FreeBSD.ORG Sat Jul 13 16:20:18 2013 Return-Path: Delivered-To: svn-doc-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A1C8A40E; Sat, 13 Jul 2013 16:20:18 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 93902182B; Sat, 13 Jul 2013 16:20:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6DGKIce088747; Sat, 13 Jul 2013 16:20:18 GMT (envelope-from gabor@svn.freebsd.org) Received: (from gabor@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6DGKIqR088746; Sat, 13 Jul 2013 16:20:18 GMT (envelope-from gabor@svn.freebsd.org) Message-Id: <201307131620.r6DGKIqR088746@svn.freebsd.org> From: Gabor Kovesdan Date: Sat, 13 Jul 2013 16:20:18 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org Subject: svn commit: r42272 - projects/db5/share/xsl X-SVN-Group: doc-projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for doc projects trees List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jul 2013 16:20:18 -0000 Author: gabor Date: Sat Jul 13 16:20:18 2013 New Revision: 42272 URL: http://svnweb.freebsd.org/changeset/doc/42272 Log: - Customize XSL FO stylesheets to render a more realistic handbook format: * B5 paper size * chapters always start on recto * the current chapter in indicated by the verso header and the current section by the recto header * render page numbers at the outer side of the foooter * sections are automatically labelled * bibliography entries are enumerated * captions of figures and equations are rendered after * captions of examples, tables and procedures are rendered before * admonitions are highlighted with an icon and a border * tables have a grey header with bold labels * programlistings and screen elements are rendered with a grey background * guibutton is also rendered with a grey background * manpage references are real links and it is indicated with the blue color Modified: projects/db5/share/xsl/freebsd-fo.xsl Modified: projects/db5/share/xsl/freebsd-fo.xsl ============================================================================== --- projects/db5/share/xsl/freebsd-fo.xsl Sat Jul 13 14:48:40 2013 (r42271) +++ projects/db5/share/xsl/freebsd-fo.xsl Sat Jul 13 16:20:18 2013 (r42272) @@ -14,27 +14,270 @@ - + + + + B5 + + + + + 3cm + 3cm + 2.5cm + 2.13cm + 0.5cm + 1.0cm + 0 + 0 + 0 + 0 + 2cm + 2.2cm + + + + + + 500 1 500 + 500 1 500 + + + + + + + + figure after + example before + equation after + table before + procedure before + + + + /usr/local/share/xsl/docbook-ns/images/ + .svg + + + hsides + rows - + + qanda - + + imagelib/callouts/ + .png + 300px + 1 + false - - 1 5 1 + + - imagelib/callouts/ - .png + + 9.5 - - 400px - 1 + + + 24pt + 6pt + 36pt + + + + 14pt + 24pt + 12pt + + + + 11pt + 12pt + 6pt + + + + 10pt + 6pt + 3pt + + + + + + + bold + always + start + + + + + 9.5pt + 12pt + + + + 12pt + + + + + + + 8pt + + + + 8pt + 10pt + 12pt + 0 + false + no-wrap + false + preserve + preserve + start + rgb(192,192,192) + wrap + + + + + 8pt + always + 13pt + 12pt + 3pt + + + + 9.5pt + retain + collapse + 0 + 0 + 0 + 0 + + + + 8pt + normal + always + 13pt + false + + + + solid + 1px + 0 + 12pt + 0 + 12pt + 0.5cm + 0.5cm + 0.5cm + 0.5cm + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + always + 12pt + 3pt + + + + always + 3pt + 12pt + + + + + + + + + + + http://www.FreeBSD.org/cgi/man.cgi?query= + + &amp;sektion= + + + + + + + + + @@ -82,5 +325,97 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.5pt + solid + black + + + +