Skip to content

Commit

Permalink
Documentation: asciidoc.conf: always use <literallayout> for [blocktext]
Browse files Browse the repository at this point in the history
Make the docbook-xsl-no-raw-roff variant match the
no-docbook-xsl-no-raw-roff variant in terms of which XML tag is
used to wrap listing block text (delimited with lines of dashes).

e920b56 (Tweak asciidoc output to work with broken docbook-xsl,
2006-03-05) says docbook-xsl 1.68 needs <literallayout>. This
<screen> usages was in the old, 1.72-only section. But since it
is now the "roff-less" section, it probably makes sense to make it
symmetric with the "roff-ful" section.

Testing done with asciidoc 8.3.1 and docbook-xsl 1.74.0.

Signed-off-by: Chris Johnsen <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
ChrisJohnsen authored and gitster committed Mar 27, 2009
1 parent 34c800b commit dad3211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/asciidoc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ ifdef::doctype-manpage[]
# The following two small workarounds insert a simple paragraph after screen
[listingblock]
<example><title>{title}</title>
<screen>
<literallayout>
|
</screen><simpara></simpara>
</literallayout><simpara></simpara>
{title#}</example>

[verseblock]
Expand Down

0 comments on commit dad3211

Please sign in to comment.