bugGNU roff - Bugs: bug #64236, [eqn] rename chartypes...

 
 

bug #64236: [eqn] rename chartypes "letter" to "slanted" and "numeral" to "upright"

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Mon 22 May 2023 01:56:49 PM UTC
   
 
Category:  Preprocessor eqn Severity:  1 - Wish
Item Group:  Feature change Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 11 Jan 2024 09:06:47 AM UTC, comment #2: 

I raised this on the groff list.


Because eqn uses Greek letters as mathematical symbols rather than
linguistic text, I think it is reasonable for it to explicitly access,
without loss of generality, upright and slanted symbol faces for "Alpha"
and "alpha", respectively.  I claim that by defining these keywords
(really macros, in the eqn language, except in GNU eqn, out of
laziness or optimization their defaults are set up in the lexer[2][3]),
they acquire _semantics_.  For practical purposes, the lowercase Greek
letters become slanted.

In fact, I am tempted to rename the "character types" in GNU eqn from
"letter" and "digit" (the latter being unused) to "slanted" and
"upright", respectively.  (Recognizing the old names for backward
compatibility, yadda yadda yadda.)


G. Branden Robinson <gbranden>
Group administrator
Fri 23 Jun 2023 12:50:50 PM UTC, comment #1: 

This seems likely entangled with bug #64231 and bug #64232.

At this point I envision revamping the style (as opposed to the spacing) types.

upright (currently "digit")
slanted (currently "letter")
heavy (currently nonexistent)


G. Branden Robinson <gbranden>
Group administrator
Mon 22 May 2023 01:56:49 PM UTC, original submission:  

From my working copy:


+(The
+.RB \[lq] digit \[rq]
+type is not used by default,
+but is available for customization.)
+.\" XXX: How would you actually customize it, though?  There doesn't
+.\" seem to be a means of replacing the font associated with a type.
+.\" Is the "digit" type just cruft?


"digit" seems to really mean "non-letter".  Maybe "nonletter" would be a better name.  See the only test of its value.

https://git.savannah.gnu.org/cgit/groff.git/tree/src/preproc/eqn/text.cpp?h=1.23.0.rc4#n496

G. Branden Robinson <gbranden>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-11 gbranden Summary[eqn] &quot;digit&quot; type seems to have a bad name [eqn] rename chartypes "letter" to "slanted" and "numeral" to "upright"

    Back to the top

    Powered by Savane 3.13-6207.
    Corresponding source code