aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-09-02 14:17:17 +0800
committerXi Ruoyao <xry111@xry111.site>2023-09-02 14:17:17 +0800
commit1ebfa8e664dfa4f2425036f37d7c563d1674b249 (patch)
treecaade7ca1602f29d824c2921d679708bc451fa8d
parent3182685f702025eacd6a437cf1dd0ade7e732742 (diff)
pdf: Allow breaking pages in version-check and kernel configuration
They are very long <screen> or <note>. By default they are attributed "keep-together.within-column = always", override it to allow line break. Fixes #5336. Link: http://www.sagehill.net/docbookxsl/PageBreaking.html
-rw-r--r--chapter02/hostreqs.xml2
-rw-r--r--chapter10/kernel.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml
index e2fbce07b..10c1bf16e 100644
--- a/chapter02/hostreqs.xml
+++ b/chapter02/hostreqs.xml
@@ -173,7 +173,7 @@
<para >To see whether your host system has all the appropriate versions, and
the ability to compile programs, run the following commands:</para>
-<screen role="nodump"><userinput>cat &gt; version-check.sh &lt;&lt; "EOF"
+<screen role="nodump"><?dbfo keep-together="auto"?><userinput>cat &gt; version-check.sh &lt;&lt; "EOF"
<literal>#!/bin/bash
# A script to list version numbers of critical development tools
diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml
index 8609b1474..52b2a3c39 100644
--- a/chapter10/kernel.xml
+++ b/chapter10/kernel.xml
@@ -122,6 +122,7 @@
<note>
+ <?dbfo keep-together="auto"?>
<para>A good starting place for setting up the kernel configuration is to
run <command>make defconfig</command>. This will set the base
configuration to a good state that takes your current system architecture