[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66251] different behaviour of options '-man' and '-mandoc' regardi
From: |
G. Branden Robinson |
Subject: |
[bug #66251] different behaviour of options '-man' and '-mandoc' regarding register 'IN' |
Date: |
Wed, 25 Sep 2024 10:44:04 -0400 (EDT) |
Update of bug #66251 (group groff):
Status: None => Fixed
Assigned to: None => gbranden
Open/Closed: Open => Closed
Planned Release: None => 1.24.0
_______________________________________________________
Follow-up Comment #1:
This was fixed a year ago.
The `IN` register no longer has meaning in the _mdoc_ macro package. Further,
the package lacks (and has always lacked) macros for relative insets of
material, so there is no reason for `IN` to be meaningful in the first place.
commit 5d2e49f8182afc9bf210b7f6dd18e465319fef7b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Wed Aug 9 19:41:31 2023 -0500
[man,mdoc]: Make base paragraph indent 5n (1/2).
Change base paragraph indentation to 5n. This corresponds to the amount
used by historical man(7) and mdoc(7) implementations going back to Unix
Version 7 and 4.3BSD-Reno, respectively.
* tmac/an.tmac: Introduce new interface register, `BP`, to control the
base paragraph indentation amount. Formerly, `IN` determined it _and_
the default relative inset amount.
(an-reset-margin-and-inset-level, SH, SS): Use it.
* tmac/doc.tmac: Introduce `BP` register, replacing `IN`.
* tmac/mdoc/doc-common (Sh): Use it.
* src/preproc/tbl/tests/save-and-restore-tab-stops.sh:
* tmac/tests/an-ext_SY-and-YS-work.sh:
* tmac/tests/an_TH-repairs-hy-damage.sh:
* tmac/tests/an_UE-breaks-before-long-URIs.sh:
* tmac/tests/an_adjust-link-text-correctly.sh:
* tmac/tests/an_link-macros-work-in-paragraph-tags.sh:
* tmac/tests/an_use-input-traps-correctly.sh:
* tmac/tests/andoc_flush-between-packages.sh:
* tmac/tests/doc_Mt-works.sh:
* tmac/tests/doc_indents-correctly.sh:
* tmac/tests/doc_synopsis_is_not_adjusted.sh: Update amount of
indentation expected in output.
Fixes <https://savannah.gnu.org/bugs/?64018>. Thanks to Thorsten Glaser
and Ingo Schwarze for the discussion.
ANNOUNCE: Credit Ingo and Thorsten.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66251>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature