This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: programlisting and funcsynopsis problems
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: programlisting and funcsynopsis problems
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Sat, 24 Mar 2001 21:49:59 -0800
- References: <15023.59104.209152.237453@localhost>
/ Carsten Wartmann <c.wartmann@gmx.net> was heard to say:
| 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.
In a program listing, whitespace counts. You've got a linefeed after
the Z in your programlisting, so you get a linefeed in your output.
Also, there are some bugs in HTML browsers that sometimes put an extra
blank line after a pre (especially, for example, inside a table).
| 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... ;-)
Hmm...it looks like it should work. Can you send me a sample document
that demonstrates your problem?
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | "Bother", said Pooh, as he deleted
http://www.oasis-open.org/docbook/ | his root directory.
Chair, DocBook Technical Committee |
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org