we want pretty pdf docs
authorswa <swa@users.sourceforge.net>
Sat, 27 Apr 2002 08:24:15 +0000 (08:24 +0000)
committerswa <swa@users.sourceforge.net>
Sat, 27 Apr 2002 08:24:15 +0000 (08:24 +0000)
doc/source/ldp.dsl

index 743a325..0c7948e 100644 (file)
 ;; customize the print stylesheet\r
 ;; ==============================\r
 \r
+;;\r
+;; shamelessly stolen from the wine project.\r
+;;\r
+;; see http://docbook.sourceforge.net/projects/dsssl/doc/print.html\r
+;;\r
+\r
+\r
+;; I was hoping that this would take out the many blank pages in the\r
+;; PDF file, but it doesn't, it just slides the page numbers over.  \r
+;; (define %two-side% #f)\r
+\r
+(define %generate-article-titlepage% #t)\r
+\r
+;;;;Titlepage Not Separate\r
+;;(define (chunk-skip-first-element-list)\r
+;;  (list (normalize "sect1")\r
+;;     (normalize "section")))\r
+\r
+;;Titlepage Separate?\r
+;(define (chunk-skip-first-element-list) \r
+;  '())\r
+\r
+(define (list-element-list)\r
+  ;; fixes bug in Table of Contents generation\r
+  '())\r
+\r
+(define %generate-article-toc% \r
+  ;; Should a Table of Contents be produced for Articles?\r
+  ;; If true, a Table of Contents will be generated for each 'Article'.\r
+  #t)\r
+\r
+(define (toc-depth nd)\r
+  2)\r
+\r
+(define %shade-verbatim%\r
+  #t)\r
+\r
+;; This seems to have no affect\r
+(define %generate-article-titlepage-on-separate-page% #f)\r
+\r
+(define %body-start-indent%\r
+  ;; Default indent of body text\r
+  2pi)\r
+\r
+(define %para-indent-firstpara%\r
+  ;; First line start-indent for the first paragraph\r
+  0pt)\r
+\r
+(define %para-indent%\r
+  ;; First line start-indent for paragraphs (other than the first)\r
+  0pt)\r
+\r
+(define %block-start-indent%\r
+  ;; Extra start-indent for block-elements\r
+  2pt)\r
+\r
+;;Define distance between paragraphs\r
+(define %para-sep% \r
+ (/ %bf-size% 2.0))\r
+\r
+;;Define distance between block elements (figures, tables, etc.).\r
+(define %block-sep% \r
+ (* %para-sep% 1.0))\r
+;; (* %para-sep% 2.0))\r
+\r
+(define %hyphenation%\r
+  ;; Allow automatic hyphenation?\r
+  #t)\r
+\r
+(define %left-margin% 5pi)\r
+(define %right-margin% 5pi)\r
+(define %top-margin% 5pi)\r
+(define %bottom-margin% 5pi)\r
+\r
+(define %footer-margin% 2pi)\r
+(define %header-margin% 2pi)\r
+\r
+(define %line-spacing-factor% 1.3)\r
+  ;; Factor used to calculate leading\r
+  ;; The leading is calculated by multiplying the current font size by the \r
+  ;; '%line-spacing-factor%'. For example, if the font size is 10pt and\r
+  ;; the '%line-spacing-factor%' is 1.1, then the text will be\r
+  ;; printed "10-on-11".\r
+\r
+(define %head-before-factor% \r
+  ;; Factor used to calculate space above a title\r
+  ;; The space before a title is calculated by multiplying the font size\r
+  ;; used in the title by the '%head-before-factor%'.\r
+;;  0.75)\r
+  0.5)\r
+\r
+(define %head-after-factor% \r
+  ;; Factor used to calculate space below a title\r
+  ;; The space after a title is calculated by multiplying the font size used\r
+  ;; in the title by the '%head-after-factor%'.\r
+  0.5)\r
+\r
+(define %input-whitespace-treatment% 'collapse)\r
+\r
+(define ($generate-article-lot-list$)\r
+  ;; Which Lists of Titles should be produced for Articles?\r
+  (list ))\r
+\r
+;;(define tex-backend \r
+;;  ;; Are we using the TeX backend?\r
+;;  ;; This parameter exists so that '-V tex-backend' can be used on the\r
+;;  ;; command line to explicitly select the TeX backend.\r
+;;  #t)\r
+\r
 </style-specification-body>\r
 </style-specification>\r
 \r