[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[D-I] manual: bad pdf output


Some tags, like <classname>, <computeroutput>... are rendered 
with a mono font. I don't know where the bug exactly is, but the pdf output
is bad. See beginning of chapter 3, for instance.
I think we should avoid this font, even when output is right, it is ugly,
and use simply the current font in bold version.

I customize build/stylesheets/style-print.dsl for that.
I attach a diff.


Philippe Batailler

--- style-print.dsl	2005-01-16 18:29:00.000000000 +0100
+++ style-print.dsl.new	2005-01-16 16:59:46.000000000 +0100
@@ -5,6 +5,12 @@
 <style-specification use="docbook">
+(define ($mono-seq$ #!optional (sosofo (process-children)))
+   ;; no mono font, just bold.
+   (make sequence
+    font-weight: 'bold
+    sosofo))
 (define %section-autolabel% 
   ;; Are sections enumerated?
    #t )

Reply to: