Update of bug #61999 (group groff):

                  Status:             In Progress => Fixed
             Open/Closed:                    Open => Closed
         Planned Release:                    None => 1.25.0

    _______________________________________________________

Follow-up Comment #5:


commit 1eac1a70d3c6289be57302d476850dcf32bc6953
Author: G. Branden Robinson <[email protected]>
Date:   Sat Mar 28 15:20:56 2026 -0500

    [troff]: Unsupport AT&T's bespoke Roman numerals.
    
    ...except in AT&T compatibility mode.
    
    * src/roff/troff/reg.cpp (number_value_to_ascii): When not in
      compatibility mode, reduce acceptable range of register values when
      attempting to format them with Roman numerals to that expressible only
      with the numerals "MDCLXVI".  (In compatibility mode, retain support
      for AT&T troff's novelty of Roman numerals "W" for 5,000 and "Z" for
      10,000.)  Recast error diagnostic when register value is outside of
      the representable range.
    
    * doc/groff.texi.in (Assigning Register Formats):
    * NEWS: Document it.
    
    Fixes <https://savannah.gnu.org/bugs/?61999>.  Thanks to Dave Kemper for
    the report.
    
    ANNOUNCE: Acknowledge Dave.
    
    Illustration:
    
    $ printf '.nr a 3999\n.nr b 4000\n.af a i\n.af b i\n.tm \\na\n.tm \\nb\n'
\
        | ./build/test-groff
    mmmcmxcix
    troff:<standard input>:6: error: register value 4000 too large for 'i' or
'I' formats
    4000
    $ printf '.nr a 3999\n.nr b 4000\n.af a i\n.af b i\n.tm \\na\n.tm \\nb\n'
\
        | ./build/test-groff -C
    mmmcmxcix
    mw




    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to