bug-groff
[Top][All Lists]
Advanced

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

[bug #64155] [troff] specifying -fZD on command line generates warnings


From: G. Branden Robinson
Subject: [bug #64155] [troff] specifying -fZD on command line generates warnings
Date: Tue, 14 May 2024 09:24:26 -0400 (EDT)

Update of bug #64155 (group groff):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #41:

I'll follow up with a brief (I hope) recapitulation of my lost comment.

The following bug-closing context will help reduce the length of that.


commit 609d962fc02e517744ee4f68160648a78df3a020
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat May 11 09:54:35 2024 -0500

    [tmac]: Perform actual string comparisons.
    
    * tmac/fallbacks.tmac:
    * tmac/troffrc-end: Bracket comparands to formatted output comparison
      operator with `\?` escape sequences to perform a more elementary
      string comparison on them (cf. a comparison of _formatted text_).
      This way they continue to perform their function even if the default
      font family has no coverage of Basic Latin (not a bizarre choice when
      considering potential rendering of documents using Devanagari or East
      Asian languages).  Unfortunately this means of comparing strings,
      while long documented in the GNU troff Manual, is neither idiomatic
      for *roff macro programmers nor portable to AT&T troff.  (The *roff
      language historically _lacks_ a string comparison operator.)  Each
      macro package will have to decide for itself whether it wants to have
      portability at the expense of requiring Basic Latin coverage (possibly
      switching fonts before and after a formatted output comparison for the
      sole purpose of obtaining it).  These two files are unconditionally
      loaded by the stock `troffrc`, and therefore must be dealt with in any
      case.
    
    Fixes <https://savannah.gnu.org/bugs/?64155>.  Thanks to Dave Kemper for
    the report, and to him, Peter Schaffter, and Deri James for the
    discussion.
    
    Previously:
    
    $ echo | groff -fZD -a
    troff:/.../groff/1.23.0/tmac/fallbacks.tmac:14: warning: character 'p' not
defined
    troff:/.../groff/1.23.0/tmac/fallbacks.tmac:14: warning: character 's' not
defined
    troff:/.../groff/1.23.0/tmac/fallbacks.tmac:14: warning: character 'a' not
defined
    troff:/.../groff/1.23.0/tmac/fallbacks.tmac:14: warning: character 'c' not
defined
    troff:/.../groff/1.23.0/tmac/fallbacks.tmac:14: warning: character 'i' not
defined
    troff:/.../groff/1.23.0/tmac/fallbacks.tmac:16: warning: character 'l' not
defined
    troff:/.../groff/1.23.0/tmac/fallbacks.tmac:16: warning: character 't' not
defined
    troff:/.../groff/1.23.0/tmac/fallbacks.tmac:16: warning: character 'n' not
defined
    troff:/.../groff/1.23.0/tmac/fallbacks.tmac:17: warning: character 'u' not
defined
    troff:/.../groff/1.23.0/tmac/fallbacks.tmac:17: warning: character 'f' not
defined
    troff:/.../groff/1.23.0/tmac/troffrc-end:7: warning: character 'h' not
defined
    troff:/.../groff/1.23.0/tmac/troffrc-end:7: warning: character 'm' not
defined
    <beginning of page>
    
    Now:
    
    $ echo | ./build/test-groff -fZD -a
    <beginning of page>




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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