#77 Verbatim text should be left aligned

closed-duplicate
nobody
XSL (122)
5
2002-11-17
2002-08-19
Simon Cozens
No

Currently, some processors render verbatim text as
justified; this means my program listings look really
horrid. Here's a fix.

--- docbook-xsl-1.53.0/fo/verbatim.xsl 2002-04-20 16:03:02.000000000 +0100
+++ fo/verbatim.xsl 2002-08-19 15:02:38.000000000 +0100
@@ -43,6 +43,7 @@
</xsl:variable>

<fo:block wrap-option='no-wrap'
+ text-align='left'
white-space-collapse='false'
linefeed-treatment="preserve"
xsl:use-attribute-sets="monospace.verbatim.properties">

Discussion

  • Simon Cozens
    Simon Cozens
    2002-08-19

    • status: open --> open-duplicate
     
  • Simon Cozens
    Simon Cozens
    2002-08-19

    Logged In: YES
    user_id=11933

    duplicate of 587636. Sorry.

     
  • Simon Cozens
    Simon Cozens
    2002-08-19

    • status: open-duplicate --> wont-fix-duplicate
     
  • Simon Cozens
    Simon Cozens
    2002-08-19

    Logged In: YES
    user_id=11933

    duplicate of 587636. Sorry.

     
  • Simon Cozens
    Simon Cozens
    2002-08-19

    • status: wont-fix-duplicate --> open-duplicate
     
  • Norman Walsh
    Norman Walsh
    2002-11-17

    • status: open-duplicate --> closed-duplicate