This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

CVS docs PDF patch


This is a simple patch to the stylesheet affecting only the pdf output. It 
eliminates most of the /hbox (page with) overflows in program output and code 
snippets.

Sorry, this seems the only parameter that the display-verbatim function in the 
print docbook stylesheet takes. It does not seem to take care for WIDTH 
attribute as the one in the html stylesheet takes.

Regards
Iztok
diff -C2 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/pkgconf/stylesheet.dsl ./pkgconf/stylesheet.dsl
*** ecoscvs/orig/ecos/packages/pkgconf/stylesheet.dsl	2002-10-28 21:14:06.000000000 +0100
--- ./pkgconf/stylesheet.dsl	2002-05-23 23:08:00.000000000 +0200
@@ -100,6 +100,10 @@
 ;; The component writer's guide man pages do not describe functions
 (define %refentry-functions% #f)
 
+;; Program listings should use smaller font to fit on page width
+(define %verbatim-size-factor% 0.7)
+
+
 </style-specification-body>
 </style-specification>
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]