This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


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

programlisting and funcsynopsis problems


Hello,

I need to include Python script listings and funcsynopsis into my
document.

I found two problems I could not solve my own (and with help of
Michael ;-)

DocBook4.1 on Debian.

First with:

<programlisting>
X
Y
Z
</programlisting>

Produces in HTML and PDF:

----------------- grey box ----------------------
1 X
2 Y
3 Z
4
-------------------------------------------------

Line "4" is too much.


My second problem is that funcsynopsis produces a nice look in HTML
(bold and italic) but in PDF it is only a "Courier" font without any
bold or italics.

Michael pointed me to 

(define %funcsynopsis-decoration% #t) which I included to my print
style but which did not make any difference in the PDF.

I found two functions in print/dbsynop.dsl but have no clue what do
do... ;-)

Any hints (also maybe better ways to include (python) listings).

Thanks,
Carsten.

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


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