[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59106] mdoc: doesn't flush output at end of each file
From: |
G. Branden Robinson |
Subject: |
[bug #59106] mdoc: doesn't flush output at end of each file |
Date: |
Sun, 13 Sep 2020 00:26:44 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.gnu.org/bugs/?59106>
Summary: mdoc: doesn't flush output at end of each file
Project: GNU troff
Submitted by: gbranden
Submitted on: Sun 13 Sep 2020 04:26:43 AM UTC
Category: Macro - mdoc
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: Need Info
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
See attached reproducer script.
N.B., 'end-of-file' is not the same thing as 'end-of-input'. The end macro
set with .em in mdoc works fine. It's "interstital" pages that are the
problem.
Output of reproducer script follows.
mdoc-test(7) BSD Miscellaneous Information Manual
mdoc-test(7)
NAME
mdoc-test -- a correctness test for groff's mdoc implementation
Description
When rendering multiple man page documents, a partially-collected line
at
the end of an mdoc(7) page would not be flushed before rendering the
next
page, omitting that line and the page footer from the output. The next
man page would emit the partially-collected line from the previous page
between its header and summary.
mdoc-test(7) BSD Miscellaneous Information Manual
mdoc-test(7)
This is a short line.
NAME
mdoc-test -- a correctness test for groff's mdoc implementation
Description
When rendering multiple man page documents, a partially-collected line
at
the end of an mdoc(7) page would not be flushed before rendering the
next
page, omitting that line and the page footer from the output. The next
man page would emit the partially-collected line from the previous page
between its header and summary.
This is a short line.
BSD September 11, 2020
BSD
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 13 Sep 2020 04:26:43 AM UTC Name: doc-flush-on-new-man-page.sh
Size: 2KiB By: gbranden
<http://savannah.gnu.org/bugs/download.php?file_id=49792>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59106>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #59106] mdoc: doesn't flush output at end of each file,
G. Branden Robinson <=