Skip to content

Commit 8ebae4a

Browse files
committed
Merge branch 'jk/docs-docbook-monospace-display'
The documentation in the TeXinfo format was using indented output for materials meant to be examples that are better typeset in monospace. * jk/docs-docbook-monospace-display: docs: monospace listings in docbook output
2 parents de54ef2 + c2a7f5d commit 8ebae4a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Documentation/asciidoc.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ifndef::git-asciidoc-no-roff[]
3636
# v1.72 breaks with this because it replaces dots not in roff requests.
3737
[listingblock]
3838
<example><title>{title}</title>
39-
<literallayout>
39+
<literallayout class="monospaced">
4040
ifdef::doctype-manpage[]
4141
&#10;.ft C&#10;
4242
endif::doctype-manpage[]
@@ -53,7 +53,7 @@ ifdef::doctype-manpage[]
5353
# The following two small workarounds insert a simple paragraph after screen
5454
[listingblock]
5555
<example><title>{title}</title>
56-
<literallayout>
56+
<literallayout class="monospaced">
5757
|
5858
</literallayout><simpara></simpara>
5959
{title#}</example>

Documentation/user-manual.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ifdef::backend-docbook[]
1414
# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
1515
[listingblock]
1616
<example><title>{title}</title>
17-
<literallayout>
17+
<literallayout class="monospaced">
1818
|
1919
</literallayout>
2020
{title#}</example>

0 commit comments

Comments
 (0)