Mercurial > ecos-v2_0-branch
comparison packages/pkgconf/ssletter.dsl @ 812:4f2c159357e1
* pkgconf/rules.doc: Use three stylesheets instead of one.
One for HTML the other for PDF-letter and the third one for PDF-A4
format. (Stylesheets do not support two printable targets in
same stylesheet). Added copyfiles to PDF targets.
* pkgconf/ssletter.dsl: New file.
* pkgconf/ssa4.dsl: New file.
* pkgconf/stylesheet.dsl: remove print stylesheet.
| author | jlarmour |
|---|---|
| date | Thu, 01 May 2003 19:05:49 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 811:b433b561c73f | 812:4f2c159357e1 |
|---|---|
| 1 <!-- {{{ Banner --> | |
| 2 | |
| 3 <!-- =============================================================== --> | |
| 4 <!-- --> | |
| 5 <!-- stylesheet.sgml --> | |
| 6 <!-- --> | |
| 7 <!-- Customize the nwalsh modular stylesheets. --> | |
| 8 <!-- --> | |
| 9 <!-- =============================================================== --> | |
| 10 <!-- ####ECOSGPLCOPYRIGHTBEGIN#### --> | |
| 11 <!-- This file is part of eCos, the Embedded Configurable Operating System. --> | |
| 12 <!-- Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. --> | |
| 13 <!-- --> | |
| 14 <!-- eCos is free software; you can redistribute it and/or modify it under --> | |
| 15 <!-- the terms of the GNU General Public License as published by the Free --> | |
| 16 <!-- Software Foundation; either version 2 or (at your option) any later --> | |
| 17 <!-- version. --> | |
| 18 <!-- --> | |
| 19 <!-- eCos is distributed in the hope that it will be useful, but WITHOUT ANY--> | |
| 20 <!-- WARRANTY; without even the implied warranty of MERCHANTABILITY or --> | |
| 21 <!-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --> | |
| 22 <!-- for more details. --> | |
| 23 <!-- --> | |
| 24 <!-- You should have received a copy of the GNU General Public License along--> | |
| 25 <!-- with eCos; if not, write to the Free Software Foundation, Inc., --> | |
| 26 <!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. --> | |
| 27 <!-- --> | |
| 28 <!-- As a special exception, if other files instantiate templates or use --> | |
| 29 <!-- macros or inline functions from this file, or you compile this file and--> | |
| 30 <!-- link it with other works to produce a work based on this file, this --> | |
| 31 <!-- file does not by itself cause the resulting work to be covered by the --> | |
| 32 <!-- GNU General Public License. However the source code for this file must --> | |
| 33 <!-- still be made available in accordance with section (3) of the GNU --> | |
| 34 <!-- General Public License. --> | |
| 35 <!-- --> | |
| 36 <!-- This exception does not invalidate any other reasons why a work based --> | |
| 37 <!-- on this file might be covered by the GNU General Public License. --> | |
| 38 <!-- --> | |
| 39 <!-- Alternative licenses for eCos may be arranged by contacting --> | |
| 40 <!-- Red Hat, Inc. at http://sources.redhat.com/ecos/ecos-license/ --> | |
| 41 <!-- ####ECOSGPLCOPYRIGHTEND#### --> | |
| 42 <!-- =============================================================== --> | |
| 43 <!-- #####DESCRIPTIONBEGIN#### --> | |
| 44 <!-- --> | |
| 45 <!-- Author(s): bartv --> | |
| 46 <!-- Based on cygnus-both.dsl by Mark Galassi --> | |
| 47 <!-- Contact(s): bartv --> | |
| 48 <!-- Date: 2000/03/15 --> | |
| 49 <!-- Version: 0.01 --> | |
| 50 <!-- --> | |
| 51 <!-- ####DESCRIPTIONEND#### --> | |
| 52 <!-- =============================================================== --> | |
| 53 | |
| 54 <!-- }}} --> | |
| 55 | |
| 56 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ | |
| 57 <!ENTITY % html "IGNORE"> | |
| 58 <![%html;[ | |
| 59 <!ENTITY % print "IGNORE"> | |
| 60 <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl> | |
| 61 ]]> | |
| 62 <!ENTITY % print "INCLUDE"> | |
| 63 <![%print;[ | |
| 64 <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl> | |
| 65 ]]> | |
| 66 ]> | |
| 67 | |
| 68 <style-sheet> | |
| 69 <style-specification id="print" use="docbook"> | |
| 70 <style-specification-body> | |
| 71 | |
| 72 ;; ==================== | |
| 73 ;; customize the print (PDF) US letter stylesheet | |
| 74 ;; ==================== | |
| 75 | |
| 76 ;; Set the paper parameters as per other eCos documentation | |
| 77 (define %page-width% 8.5in) | |
| 78 (define %page-height% 11in) | |
| 79 (define %left-margin% 0.75in) | |
| 80 (define %right-margin% 0.75in) | |
| 81 | |
| 82 ;; Assume that we are only producing books, a reasonable assumption | |
| 83 ;; given the primary author :-) | |
| 84 (define %two-side% #t) | |
| 85 | |
| 86 ;; Use 12pt | |
| 87 ;;(define %visual-acuity% "presbyopic") | |
| 88 | |
| 89 ;; Do not use graphics in admonitions, our documentation is supposed | |
| 90 ;; to look boring :-( | |
| 91 (define %admon-graphics% #f) | |
| 92 | |
| 93 ;; Justified text please. | |
| 94 (define %default-quadding% 'justify) | |
| 95 | |
| 96 ;; A separate page for each man page please. | |
| 97 (define %refentry-new-page% #t) | |
| 98 | |
| 99 ;; The component writer's guide man pages do not describe functions | |
| 100 (define %refentry-functions% #f) | |
| 101 | |
| 102 ;; Program listings should use smaller font to fit on page width | |
| 103 (define %verbatim-size-factor% 0.87) | |
| 104 | |
| 105 | |
| 106 </style-specification-body> | |
| 107 </style-specification> | |
| 108 <external-specification id="docbook" document="docbook.dsl"> | |
| 109 </style-sheet> | |
| 110 |
