gbranden pushed a commit to branch master
in repository groff.
commit 14ba81bb0f905835e729de07b124a0666a9484f6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Oct 2 15:16:13 2021 +1000
tmac/s.tmac: Add comments.
Annotate an empty string definition and a possible design issue now that
the page number field in tables of contents is exposed to customization.
---
tmac/s.tmac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 7bdbfdd..186951f 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -1712,14 +1712,14 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
.ie '\\n(.z'toc*div' \{\
. if d toc*num .toc*end-entry
. ie \\n[.$] \{\
-. ie '\\$1'no' .ds toc*num
+. ie '\\$1'no' .ds toc*num \" empty
. el .ds toc*num "\\$1
. \}
. el .ds toc*num \\n[%]\"
. br
. par@reset
. na
-. ll -8n
+. ll -8n \" XXX: take TC-MARGIN into account?
. in (n;0\\$2)
.\}
.el .@error .XA without .XS
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit