3 <!-- =============================================================== -->
5 <!-- stylesheet.sgml -->
7 <!-- Customize the nwalsh modular stylesheets. -->
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. -->
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 -->
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. -->
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. -->
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. -->
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. -->
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#### -->
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 -->
51 <!-- ####DESCRIPTIONEND#### -->
52 <!-- =============================================================== -->
56 <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
57 <!ENTITY % html "IGNORE">
59 <!ENTITY % print "IGNORE">
60 <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
62 <!ENTITY % print "INCLUDE">
64 <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
69 <style-specification id="print" use="docbook">
70 <style-specification-body>
72 ;; ====================
73 ;; customize the print (PDF) A4 stylesheet
74 ;; ====================
76 ;; Set the paper parameters as per other eCos documentation
77 (define %page-width% 210mm)
78 (define %page-height% 297mm)
79 (define %left-margin% 0.75in)
80 (define %right-margin% 0.75in)
82 ;; Assume that we are only producing books, a reasonable assumption
83 ;; given the primary author :-)
84 (define %two-side% #t)
87 ;;(define %visual-acuity% "presbyopic")
89 ;; Do not use graphics in admonitions, our documentation is supposed
91 (define %admon-graphics% #f)
93 ;; Justified text please.
94 (define %default-quadding% 'justify)
96 ;; A separate page for each man page please.
97 (define %refentry-new-page% #t)
99 ;; The component writer's guide man pages do not describe functions
100 (define %refentry-functions% #f)
102 ;; Program listings should use smaller font to fit on page width
103 (define %verbatim-size-factor% 0.84)
106 </style-specification-body>
107 </style-specification>
108 <external-specification id="docbook" document="docbook.dsl">