From dc1fc5c8663ff6cbb85e86bb8e2115d84521b0b5 Mon Sep 17 00:00:00 2001 From: Jirka Kosek Date: Tue, 16 Jun 2009 16:39:59 +0000 Subject: [PATCH] Preparing for new release, slightly improved appearance of long lines in verbatim --- docbook/relaxng/docbook/howto/TODO | 2 +- docbook/relaxng/docbook/howto/howto.css | 8 +++++++- docbook/relaxng/docbook/howto/howto.xml | 1 + .../relaxng/docbook/howto/images/oxygen4.png | Bin 63585 -> 63585 bytes .../relaxng/docbook/howto/images/oxygen5.png | Bin 62717 -> 62717 bytes .../relaxng/docbook/howto/stylesheets/fo.xsl | 8 ++++++++ 6 files changed, 17 insertions(+), 2 deletions(-) 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 6e93bf9ceb2523c8f07ab10a6441a9e8b4b708f2..8a86a65e66e2576b7ea60029f9c8a29de8d70c49 100644 GIT binary patch delta 41 vcmaF(f%)MF<_Wqo{OTM(|5*qzFfecyctjR6Fz_7)VaDV6D^fOkO8fu-IWP`= delta 41 vcmaF(f%)MF<_WqoJObRGwv``cU|`@Z@Q5sCV30cq!ijx2@@3=EtF9+AZi3~~oSnDKCCNbp9_Enff*T@5n; 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 + + + -- 2.40.0