]> granicus.if.org Git - docbook-dsssl/commitdiff
Preparing for new release, slightly improved appearance of long lines in verbatim
authorJirka Kosek <jirka@kosek.cz>
Tue, 16 Jun 2009 16:39:59 +0000 (16:39 +0000)
committerJirka Kosek <jirka@kosek.cz>
Tue, 16 Jun 2009 16:39:59 +0000 (16:39 +0000)
docbook/relaxng/docbook/howto/TODO
docbook/relaxng/docbook/howto/howto.css
docbook/relaxng/docbook/howto/howto.xml
docbook/relaxng/docbook/howto/images/oxygen4.png
docbook/relaxng/docbook/howto/images/oxygen5.png
docbook/relaxng/docbook/howto/stylesheets/fo.xsl

index 30c00c2932c8b4c9397a25d6e5e0cfe41a47301a..a69c49b074f0a6b1ef8ef1c2e6dc6a15bb6863d6 100644 (file)
@@ -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:
index 8df1626abb24223f96872dec07fadd6bda019956..46d1ff916505460f9959af49ad566007a776e201 100644 (file)
@@ -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; 
index 017cd5540acda767ffa6d40cfd8d4466a78cfd2f..090d1fa53eea8e31c416aa08396a497a2e019dc6 100644 (file)
@@ -33,6 +33,7 @@
 </othercredit>
 </authorgroup>
 
+<pubdate>2009-06-16</pubdate>
 <pubdate>2008-02-06</pubdate>
 <pubdate>2007-10-28</pubdate>
 <pubdate>2006-10-22</pubdate>
index 6e93bf9ceb2523c8f07ab10a6441a9e8b4b708f2..8a86a65e66e2576b7ea60029f9c8a29de8d70c49 100644 (file)
Binary files a/docbook/relaxng/docbook/howto/images/oxygen4.png and b/docbook/relaxng/docbook/howto/images/oxygen4.png differ
index 432f84be278924c610d81d245b345a4abd358f9a..5e767a28fc6ee7fad59ee602f43bea636e585236 100644 (file)
Binary files a/docbook/relaxng/docbook/howto/images/oxygen5.png and b/docbook/relaxng/docbook/howto/images/oxygen5.png differ
index 57daf83d302f03ef8009dbe732b807ceb69467ea..35d8dd14975b9e33e18473ce37e33569278123f8 100644 (file)
   <xsl:attribute name="font-stretch">narrower</xsl:attribute>
 </xsl:attribute-set>
 
+<xsl:param name="hyphenate.verbatim" select="1"/>
+<xsl:param name="hyphenate.verbatim.characters">=/.</xsl:param>
+
+<xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties">
+  <xsl:attribute name="wrap-option">wrap</xsl:attribute>
+  <xsl:attribute name="hyphenation-character">&#x25BA;</xsl:attribute>
+</xsl:attribute-set>
+
 <xsl:param name="draft.watermark.image" select="''"/>
 
 <xsl:param name="ulink.footnotes" select="1"/>