From 774695a67bc363bb27f393c0fcff335f347117c5 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 6 Apr 2015 14:58:54 +0000 Subject: On a new RS nesting level, the saved width starts from the default width, not from the saved width of the previous level. Improves xterm(1) and XSetEventQueueOwner(3); found in transcode_filter(1). --- regress/usr.bin/mandoc/man/RS/nested.in | 10 ++++++++++ regress/usr.bin/mandoc/man/RS/nested.out_ascii | 10 ++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'regress/usr.bin/mandoc/man') diff --git a/regress/usr.bin/mandoc/man/RS/nested.in b/regress/usr.bin/mandoc/man/RS/nested.in index ca440e3f295..7650e43f971 100644 --- a/regress/usr.bin/mandoc/man/RS/nested.in +++ b/regress/usr.bin/mandoc/man/RS/nested.in @@ -15,6 +15,16 @@ outer text .RE regular text +.IP tag 6n +tagged text (6n) +.RS +outer text (saved 6n) +.RS +inner text (default indent) +.RE +outer text +.RE +regular text .RS 4n outer text (4n) .RS 2n diff --git a/regress/usr.bin/mandoc/man/RS/nested.out_ascii b/regress/usr.bin/mandoc/man/RS/nested.out_ascii index cb599754e91..f64bc5afb6e 100644 --- a/regress/usr.bin/mandoc/man/RS/nested.out_ascii +++ b/regress/usr.bin/mandoc/man/RS/nested.out_ascii @@ -11,6 +11,12 @@ DDEESSCCRRIIPPTTIIOONN inner text (default indent) outer text regular text + + tag tagged text (6n) + outer text (saved 6n) + inner text (default indent) + outer text + regular text outer text (4n) inner text (2n) outer text @@ -25,10 +31,10 @@ DDEESSCCRRIIPPTTIIOONN outer text nesting HP and RS inside RS: - outer text + outer text - inner text + inner text -- cgit v1.2.3