From: Jirka Kosek Date: Tue, 16 Jun 2009 16:39:59 +0000 (+0000) Subject: Preparing for new release, slightly improved appearance of long lines in verbatim X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc1fc5c8663ff6cbb85e86bb8e2115d84521b0b5;p=docbook-dsssl Preparing for new release, slightly improved appearance of long lines in verbatim --- diff --git a/docbook/relaxng/docbook/howto/TODO b/docbook/relaxng/docbook/howto/TODO index 30c00c293..a69c49b07 100644 --- a/docbook/relaxng/docbook/howto/TODO +++ b/docbook/relaxng/docbook/howto/TODO @@ -28,7 +28,7 @@ Tom ...and to other existing DB5 customizations * DONE Add more references (NVDL, ...) -* TODO Improve breaking of long lines +* DONE Improve breaking of long lines Gentlemen, I am trying to read the subject guide via html and find it most difficult because of the formatting. The problem is that the display is much too wide and causes horizontal scrolling. This is because the contents of the line: diff --git a/docbook/relaxng/docbook/howto/howto.css b/docbook/relaxng/docbook/howto/howto.css index 8df1626ab..46d1ff916 100644 --- a/docbook/relaxng/docbook/howto/howto.css +++ b/docbook/relaxng/docbook/howto/howto.css @@ -44,7 +44,13 @@ dl { margin-left: 3em; /* programlisting types */ .programlisting, .programlistingco, -.screen { padding-left: 14pt; } +.screen { padding-left: 14pt; + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ + } .rolelabel { position: absolute; diff --git a/docbook/relaxng/docbook/howto/howto.xml b/docbook/relaxng/docbook/howto/howto.xml index 017cd5540..090d1fa53 100644 --- a/docbook/relaxng/docbook/howto/howto.xml +++ b/docbook/relaxng/docbook/howto/howto.xml @@ -33,6 +33,7 @@ +2009-06-16 2008-02-06 2007-10-28 2006-10-22 diff --git a/docbook/relaxng/docbook/howto/images/oxygen4.png b/docbook/relaxng/docbook/howto/images/oxygen4.png index 6e93bf9ce..8a86a65e6 100644 Binary files a/docbook/relaxng/docbook/howto/images/oxygen4.png and b/docbook/relaxng/docbook/howto/images/oxygen4.png differ diff --git a/docbook/relaxng/docbook/howto/images/oxygen5.png b/docbook/relaxng/docbook/howto/images/oxygen5.png index 432f84be2..5e767a28f 100644 Binary files a/docbook/relaxng/docbook/howto/images/oxygen5.png and b/docbook/relaxng/docbook/howto/images/oxygen5.png differ diff --git a/docbook/relaxng/docbook/howto/stylesheets/fo.xsl b/docbook/relaxng/docbook/howto/stylesheets/fo.xsl index 57daf83d3..35d8dd149 100644 --- a/docbook/relaxng/docbook/howto/stylesheets/fo.xsl +++ b/docbook/relaxng/docbook/howto/stylesheets/fo.xsl @@ -134,6 +134,14 @@ narrower + +=/. + + + wrap + + +