summaryrefslogtreecommitdiff
path: root/man/groff_char.man
diff options
context:
space:
mode:
authorwl <wl>2008-01-05 20:59:05 +0000
committerwl <wl>2008-01-05 20:59:05 +0000
commitebce2b4dcee160ca6a262e48eef09d620786c010 (patch)
tree10c69def4d5d9aa2132e1e28859d1f3a9a07a576 /man/groff_char.man
parent37f82fd3ee9abb091909bf9c89429478534629ca (diff)
downloadgroff-ebce2b4dcee160ca6a262e48eef09d620786c010.tar.gz
* man/groff_char.man, man/groff.man: Revised.
* src/preproc/eqn/lex.cpp (troff_defs): Fix typo.
Diffstat (limited to 'man/groff_char.man')
-rw-r--r--man/groff_char.man28
1 files changed, 11 insertions, 17 deletions
diff --git a/man/groff_char.man b/man/groff_char.man
index 8cbe457c..09256186 100644
--- a/man/groff_char.man
+++ b/man/groff_char.man
@@ -392,20 +392,12 @@ Note that some of the input characters are reserved by
either for internal use or for special input purposes.
.
On EBCDIC platforms, only code page
-.B cp1047
+.I cp1047
is supported (which contains the same characters as \%latin1; the
input encoding file is called \f(CWcp1047.tmac\fP).
.
Again, some input characters are reserved for internal and special purposes.
.
-It is rather straightforward (for the experienced user) to set up other
-\%8-bit encodings like
-.IR \%latin2 ;
-since
-.B groff
-uses Unicode in the next major version, no additional encodings
-are provided.
-.
.
.P
All roff systems provide the concept of named glyphs.
@@ -483,7 +475,7 @@ These are the basic glyphs having 7-bit ASCII code values assigned.
.
They are identical to the printable characters of the
character standards \%ISO-8859-1 (\%latin1) and Unicode (range
-.IR "C0 Controls and Basic Latin" ).
+.IR "Basic Latin" ).
.
The glyph names used in composite glyph names are `u0020' up to `u007E'.
.
@@ -604,7 +596,7 @@ They are interpreted as printable characters according to the
.I latin1
.RI ( ISO-8859-1 )
code set, being identical to the Unicode range
-.IR "C1 Controls and Latin1 Supplement" .
+.IR "Latin-1 Supplement" .
.
.
.P
@@ -753,12 +745,6 @@ ASCII or \%latin1 code set, not only alphanumeric characters.
Here some examples:
.
.TP
-\f(CW\e\fP\fIc\fP
-A glyph having the name
-.IR c ,
-which consists of a single character (length\ 1).
-.
-.TP
\f(CW\e(\fP\fIch\fP
A glyph having the 2-character name
.IR ch .
@@ -769,6 +755,14 @@ A glyph having the name
.I char_name
(having length 1, 2, 3, .\|.\|.).
.
+Note that `\fIc\fP' is not the same as
+`\f(CW\e[\fP\fIc\fP\f(CW]\fP' (\fIc\fP\ a single character):
+The latter is internally mapped to glyph name `\e\fIc\fP'.
+.
+By default, groff defines a single glyph name starting with a backslash,
+namely \%`\e-', which can be either accessed as `\f(CW\e\-\fP' or
+`\f(CW\e[-]\fP'.
+.
.TP
\f(CW\e[\fP\fIbase_glyph composite_1 composite_2 .\|.\|.\fP\f(CW]\fP
A composite glyph; see below for a more detailed description.