Age | Commit message (Collapse) | Author |
|
|
|
With roff_getstrn(), provide finer control which definitions
can be used for what:
* All definitions can be used for .if d tests and .am appending.
* User-defined for \* expansion, .dei expansion, and macro calling.
* Predefined for \* expansion.
* Standard macros, original or renamed, for macro calling.
Several related improvements while here:
* Do not return string table entries that have explicitly been removed.
* Do not create a rentab entry when trying to rename a non-existent macro.
* Clear an existing rentab entry when the external interface
roff_setstr() is called with its name.
* Avoid trailing blanks in macro lines generated from renamed
and from aliased macros.
* Delete the duplicate __m*_reserved[] tables, just use roff_name[].
|
|
|
|
both covered by mandoc now; OK jmc@
|
|
|
|
|
|
|
|
reused.
|
|
* Do not discard data that lacks a matching layout cell but remains
within the number of columns of the table as a whole.
* Do not insert dummy data rows for any layout row starting with a
horizontal line, but only for layout rows that would discard all
the data on a matching non-empty data row.
* Print horizontal lines specified in the layout even if there is
no matching data cell.
* Improve the logic for extending vertical lines to adjacent rows,
for choosing cross marks versus line segments, and some related details.
|
|
Help and direction millert@ espie@ anton@ deraadt@
ok espie@
|
|
|
|
used for example by zoem(1)
|
|
This clearly works when .po is called on the top level, but might
not be sophisticated enough if people call .po inside indentation-changing
contexts, but i haven't seen that in manual pages (yet :).
|
|
abused by mail/nmh; groff_char(7) confirms that this really exists
|
|
|
|
in horizontal orientation in the terminal formatter
|
|
|
|
|
|
Manuals autogenerated from reStructuredText are reckless enough
to peek at this non-portable, implementation-dependent, highly
groff-specific internal register - for no good reason, because the
man(7) language natively provides in a much simpler way what they
are trying to emulate here with much fragility.
A full implementation would be very hard because it would require
access to output-device-specific formatting data at the roff(7)
preprocessor stage, which mandoc doesn't support at all.
So hardcode a few magic numbers as reStructuredText expects them
for terminal output. For other output modes (like HTML), code using
this register is utterly broken anyway.
|
|
|
|
|
|
|
|
inside individual table cells that contain text blocks.
This cures overlong lines in various Xenocara manuals.
|
|
|
|
|
|
a while. Adjust wrong comments. Mention regress- in program name
to make clear where violations seen in process accounting happend.
|
|
process accounting with accton(8). Each test executes a command
with a unique name and checks the flags in the lastcomm(1) output.
Run tests with fork, su, core, xsig, pledge, trap accounting.
|
|
In practice, that message only matters inside .Bf, and even there, it
can occasionally be a false positive. In all other cases, it usually
is a false positive, so it is better to drop it outright.
Suggested by jmc@.
|
|
inspired by mdoclint(1), and jmc@ considers it useful
|
|
|
|
Improve width calculation of text blocks.
Reduces the groff/mandoc diff in Base+Xenocara by about 800 lines.
|
|
|
|
process accounting with accton(8). Each test executes a command
with a unique name and checks the flags in the lastcomm(1) output.
Run tests with fork, su, core, xsig, pledge, trap accounting.
|
|
changed. Then a "last message repeated" confused the test.
|
|
OK jmc@ wiz@
|
|
need an allow-opts. Otherwise pf blocks packets with option header.
|
|
|
|
|
|
|
|
that valid input does not cause writing invalid intermediate states
to the terminal, and that invalid input is not delayed waiting for
more input, but written through right away.
Currently failing, but expected to be fixed shortly.
|
|
Absent from my previous commit.
|
|
Instead of calling x_vi() directly, run ksh in a pseudo tty.
This makes the process of adding tests for emacs mode simpler since the code can
be shared.
With feedback and help from millert@ and schwarze@
|
|
strange groff edge case behaviour found in multimedia/mjpegtools
|
|
|
|
|
|
triggered by multimedia/mkvtoolnix mkvmerge(1) using \(S2
|
|
Good enough to cope with the average DocBook insanity.
|
|
OK jmc@ wiz@
|
|
|
|
allow-opts rule.
|