Skip to content

Commit

Permalink
Merge branch 'jk/docs-docbook-monospace-display'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Junio C Hamano committed Aug 27, 2012
2 parents de54ef2 + c2a7f5d commit 8ebae4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Documentation/asciidoc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ifndef::git-asciidoc-no-roff[]
# v1.72 breaks with this because it replaces dots not in roff requests.
[listingblock]
<example><title>{title}</title>
<literallayout>
<literallayout class="monospaced">
ifdef::doctype-manpage[]
&#10;.ft C&#10;
endif::doctype-manpage[]
Expand All @@ -53,7 +53,7 @@ ifdef::doctype-manpage[]
# The following two small workarounds insert a simple paragraph after screen
[listingblock]
<example><title>{title}</title>
<literallayout>
<literallayout class="monospaced">
|
</literallayout><simpara></simpara>
{title#}</example>
Expand Down
2 changes: 1 addition & 1 deletion Documentation/user-manual.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ifdef::backend-docbook[]
# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
[listingblock]
<example><title>{title}</title>
<literallayout>
<literallayout class="monospaced">
|
</literallayout>
{title#}</example>
Expand Down

0 comments on commit 8ebae4a

Please sign in to comment.