have <screen> and <programlisting> blocks indented by two spaces
authorLee <ler762@users.sourceforge.net>
Sat, 10 Apr 2021 16:49:41 +0000 (12:49 -0400)
committerLee <ler762@users.sourceforge.net>
Sat, 10 Apr 2021 16:49:41 +0000 (12:49 -0400)
Define %indent-programlisting-lines% and %indent-screen-lines% to be
two spaces for both the print and html generated text styles
  <style-specification id="print|html"

after which I get a stack overflow when pulling in the GPL licence text,
so import into a <literallayout> section instead of a <screen>

doc/source/ldp.dsl.in
doc/source/user-manual.sgml

index 95dc16b..1dc9292 100644 (file)
 ;; see http://docbook.sourceforge.net/projects/dsssl/doc/print.html
 ;;
 
+(define %indent-programlisting-lines%
+  ;; Indent lines in a 'ProgramListing'?
+  ;; "#f" or string to be used as the indent on 'programlisting'
+  "  ")
+
 (define %indent-screen-lines%
   ;; Indent lines in a 'Screen'?
   ;; "#f" or string to be used as the indent on 'screen'
-  "")
+  "  ")
 
 (define %callout-fancy-bug%
   ;; Use fancy callout bugs?
   "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
   #t)
 
+(define %indent-programlisting-lines%
+  ;; Indent lines in a 'ProgramListing'?
+  ;; "#f" or string to be used as the indent on 'programlisting'
+  "  ")
+
+(define %indent-screen-lines%
+  ;; Indent lines in a 'Screen'?
+  ;; "#f" or string to be used as the indent on 'screen'
+  "  ")
+
 ;; put the legal notice in a separate file
 (define %generate-legalnotice-link%
   #t)
index e3a9558..2d16b83 100644 (file)
@@ -8116,11 +8116,11 @@ Requests</title>
 <sect2 id="license"><title>License</title>
 
 <sect3 id="gplv2"><title>GNU General Public License version 2</title>
- <screen><![ RCDATA [ &GPLv2; ]]></screen>
+ <literallayout class="Monospaced"><![ RCDATA [ &GPLv2; ]]></literallayout>
 </sect3>
 
 <sect3 id="gplv3"><title>GNU General Public License version 3</title>
- <screen><![ RCDATA [ &GPLv3; ]]></screen>
+ <literallayout class="Monospaced"><![ RCDATA [ &GPLv3; ]]></literallayout>
 </sect3>
 
 <sect3 id="third-party-licenses"><title>Third-party licenses and copyrights</title>