groff-commit
[Top][All Lists]
Advanced

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

[groff] 02/02: groff_char(7): Revise introduction.


From: G. Branden Robinson
Subject: [groff] 02/02: groff_char(7): Revise introduction.
Date: Fri, 28 Aug 2020 07:34:30 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit c4f2617cfebdd87a3073f0a85ac6a9deed2517ce
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Aug 26 21:45:20 2020 +1000

    groff_char(7): Revise introduction.
    
    Identify ISO 8859-1 and IBM code page 1047 as standards (because not
    everybody knows that).
    
    Say only "special character escapes", never "special character names".
    groff documentation is fairly scrupulous in following the Unicode
    distinction between characters and glyphs.  Special character escapes
    can be tricky to discuss because they take a parameter that is a (groff)
    name for a glyph.
    
    Clarify that groff predefines glyph names used in special character
    escapes; it doesn't merely "support" them.
    
    Add paragraph regarding standards documents so that we can talk simply
    about "ISO" and "EBCDIC" systems for short.  The construction
    "non-EBCDIC" was odd, and too general.  (Admittedly, "ISO" is broad
    as well, but it at least logically affords an excluded middle.)
    
    Add comments indicating plans for further document expansion and
    rewriting.
    
    Also bump copyright year because my rewrite of the introductory
    paragraphs in 6353ceb8b92e8e9fe927e5c93ceef1be6f54067c (25 July) was
    non-trivial.  Or so one hopes.
---
 man/groff_char.7.man | 38 ++++++++++++++++++++++++++++----------
 1 file changed, 28 insertions(+), 10 deletions(-)

diff --git a/man/groff_char.7.man b/man/groff_char.7.man
index ab9027c..98c00ba 100644
--- a/man/groff_char.7.man
+++ b/man/groff_char.7.man
@@ -8,7 +8,7 @@ groff_char \- GNU roff special character and glyph repertoire
 .\" Legal Terms
 .\" ====================================================================
 .\"
-.\" Copyright (C) 1989-2018 Free Software Foundation, Inc.
+.\" Copyright (C) 1989-2020 Free Software Foundation, Inc.
 .\"
 .\" This file is part of groff (GNU roff), which is a free software
 .\" project.
@@ -42,10 +42,11 @@ technical,
 and mathematical documents.
 .
 However,
-its input encoding is restricted to
-Latin-1
-(ISO\~8859-1)
-or EBCDIC code page 1047.
+its input encoding is restricted to those defined by the standards
+ISO Latin-1
+(ISO 8859-1)
+and IBM code page 1047
+(an arrangement of EBCDIC).
 .
 For ease of document maintenance in UTF-8 environments,
 it is advisable to use only the Unicode basic Latin code points,
@@ -59,7 +60,8 @@ printable code points.
 .
 .
 .P
-.RI AT&T\~ troff
+AT&T
+.I troff
 in the 1970s faced a similar problem of typesetter devices with a glyph
 repertoire differing from that of the computers that controlled them.
 .
@@ -85,18 +87,18 @@ As in other respects,
 .I groff
 has removed historical
 .I roff
-limitations on the name lengths of special characters,
+limitations on the lengths of special character escapes,
 but recognizes and retains compatibility with the historical names.
 .
 .I groff
 expands the lexicon of glyphs available by name and permits users to
-define their own special character names with the
+define their own special character escapes with the
 .B .char
 request.
 .
 .
 .P
-This document lists all of the special characters supported by
+This document lists all of the glyph names predefined by
 .I groff
 and describes the systematic notation by which it enables access to
 arbitrary Unicode code points and construction of composite glyphs.
@@ -166,13 +168,29 @@ did you get the Wehrmacht helmet or the Death Star?\e}
 .
 .
 .P
+For brevity in the remainder of this document,
+we shall refer to systems conforming to the
+ISO 646:1991 IRV,
+ISO 8859,
+or
+ISO 10646 (\[lq]Unicode\[rq])
+character encoding standards as \[lq]ISO\[rq] systems,
+and those employing IBM code page 1047 as \[lq]EBCDIC\[rq] systems.
+.
+That said,
+EBCDIC systems that support
+.I groff
+are known to also support UTF-8.
+.
+.
+.P
 While
 .I groff
 accepts eight-bit encoded input,
 not all such code points are valid as input.
 .
 .\" src/libs/libgroff/invalid.cpp
-On non-EBCDIC platforms,
+On ISO platforms,
 character codes
 0,
 11,



reply via email to

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