bug-groff
[Top][All Lists]
Advanced

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

[bug #59345] ms: can't use an alternative format for page numbers; brea


From: G. Branden Robinson
Subject: [bug #59345] ms: can't use an alternative format for page numbers; breaks .TC
Date: Sun, 25 Oct 2020 00:29:25 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?59345>

                 Summary: ms: can't use an alternative  format for page
numbers; breaks .TC
                 Project: GNU troff
            Submitted by: gbranden
            Submitted on: Sun 25 Oct 2020 04:29:23 AM UTC
                Category: Macro - ms
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: Confirmed
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Tables of contents in ms are hosed because they try to set an alternative
number format for the page number but this gets ignored, so the table of
contents shows up as another page "1".

I guess this has been broken for 20+ years.  Larry Kollar's ms.ms document
complains about it at the end--at least I _think_ this is what he was
referring to.


$ tail -n 12 doc/ms.ms
.
.\" ====================================================================
.\" Toc here at end...
.\" We need to fix the headers...
.TC
.
.
.\" Local Variables:
.\" fill-column: 72
.\" mode: nroff
.\" End:
.\" vim: set filetype=groff textwidth=72:


After much frustration today, I think I've fixed it.  Attached.

I'm seeing if it changes/regresses any of our other ms documents, and if it
doesn't, I'll write a regression test and commit.

Man, am I irritated!




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 25 Oct 2020 04:29:23 AM UTC  Name: s.tmac.diff  Size: 1004B   By:
gbranden

<http://savannah.gnu.org/bugs/download.php?file_id=50092>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59345>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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