From ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../docbook/xsl/params/hyphenate.verbatim.xml | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 kdoctools/docbook/xsl/params/hyphenate.verbatim.xml (limited to 'kdoctools/docbook/xsl/params/hyphenate.verbatim.xml') diff --git a/kdoctools/docbook/xsl/params/hyphenate.verbatim.xml b/kdoctools/docbook/xsl/params/hyphenate.verbatim.xml new file mode 100644 index 000000000..35b295ebc --- /dev/null +++ b/kdoctools/docbook/xsl/params/hyphenate.verbatim.xml @@ -0,0 +1,42 @@ + + +hyphenate.verbatim +boolean + + +hyphenate.verbatim +Should verbatim environments be hyphenated on space characters? + + + + + + +Description + +If the lines of program listing are too long to fit into one +line it is quite common to split them at space and indicite by hook +arrow that code continues on the next line. You can turn on this +behaviour for programlisting, +screen and synopsis elements by +using this parameter. + +Note that you must also enable line wrapping for verbatim environments and +select appropriate hyphenation character (e.g. hook arrow). This can +be done using monospace.verbatim.properties +attribute set: + + + wrap + +]]> + +For a list of arrows available in Unicode see and and make sure that +selected character is available in the font you are using for verbatim +environments. + + + -- cgit v1.2.1