diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-09-02 14:17:17 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-09-02 14:17:17 +0800 |
commit | 1ebfa8e664dfa4f2425036f37d7c563d1674b249 (patch) | |
tree | caade7ca1602f29d824c2921d679708bc451fa8d | |
parent | 3182685f702025eacd6a437cf1dd0ade7e732742 (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.xml | 2 | ||||
-rw-r--r-- | chapter10/kernel.xml | 1 |
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 > version-check.sh << "EOF" +<screen role="nodump"><?dbfo keep-together="auto"?><userinput>cat > version-check.sh << "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 |