groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/07: tmac/s.tmac: Add comments.


From: G. Branden Robinson
Subject: [groff] 02/07: tmac/s.tmac: Add comments.
Date: Sat, 2 Oct 2021 14:14:26 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 14ba81bb0f905835e729de07b124a0666a9484f6
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]