[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61157] [ms]: Add support for user-defined styling of TOC leaders
From: |
Keith Marshall |
Subject: |
[bug #61157] [ms]: Add support for user-defined styling of TOC leaders |
Date: |
Tue, 14 Sep 2021 17:33:26 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 |
URL:
<https://savannah.gnu.org/bugs/?61157>
Summary: [ms]: Add support for user-defined styling of TOC
leaders
Project: GNU troff
Submitted by: keithmarshall
Submitted on: Tue 14 Sep 2021 09:33:25 PM UTC
Category: Macro - ms
Severity: 3 - Normal
Item Group: New feature
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
ms defines the leader character, for use within tables of contents generated
by XS/XA, as:
.char \[toc*leader-char] .\h'1m'
Personally, (and this is, strictly, just my opinion), I think that 1em of
space between the leader dots is too much. Unfortunately, that definition of
'toc*leader-char' appears within the body of the PX macro, (which is used to
emit the collected table of contents), so even knowing the (undocumented)
internal name, I cannot easily override the hard-wired definition.
I would like to apply a patch, such as the attached, so that users will have
an opportunity to adjust the leader style, and the width of the width of the
following right-hand margin, (in which the page number is placed), by defining
TC-LEADER and TC-MARGIN respectively, (both of which we can document),
_before_ invoking PX; (in the event of neither being predefined, the behaviour
would remain _identically_ as at present).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 14 Sep 2021 09:33:25 PM UTC Name: ms-toc-leader.patch Size: 912B
By: keithmarshall
Patch to support TOC leader styling
<http://savannah.gnu.org/bugs/download.php?file_id=51912>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61157>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #61157] [ms]: Add support for user-defined styling of TOC leaders,
Keith Marshall <=