groff-commit
[Top][All Lists]
Advanced

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

[groff] 66/72: groff_tmac(5): Revise input encodings discussion.


From: G. Branden Robinson
Subject: [groff] 66/72: groff_tmac(5): Revise input encodings discussion.
Date: Sun, 23 Oct 2022 22:25:46 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 55ddc275a55c84c068451fe4aedd9579e82d413b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Oct 23 19:02:13 2022 -0500

    groff_tmac(5): Revise input encodings discussion.
---
 man/groff_tmac.5.man | 54 +++++++++++++++++++++++-----------------------------
 1 file changed, 24 insertions(+), 30 deletions(-)

diff --git a/man/groff_tmac.5.man b/man/groff_tmac.5.man
index f5baa79d2..8def5aa26 100644
--- a/man/groff_tmac.5.man
+++ b/man/groff_tmac.5.man
@@ -417,48 +417,42 @@ Chinese.
 .I latin5
 .TQ
 .I latin9
-Various input encodings supported directly by groff.
-.
-Normally, this macro is loaded at the very beginning of a document or
-specified as the first macro argument on the command line.
+are various ISO\~8859 input encodings supported by
+.IR groff .
 .
+On systems using ISO character encodings,
 .I groff
-loads latin1 by default at startup.
+loads
+.I latin1.tmac
+automatically at startup.
 .
-These macro packages don't work on EBCDIC hosts.
+A document that uses Latin-2,
+Latin-5,
+or Latin-9
+can specify one of these alternative encodings.
 .
 .
 .TP
 .I cp1047
-Encoding support for EBCDIC.
-.
-On those platforms it is loaded automatically at startup.
+provides support for EBCDIC-based systems.
 .
-Due to different character ranges used in
+On those platforms,
 .I groff
-it doesn't work on architectures which are based on ASCII.
-.
-.
-.P
-Some input encoding characters may not be available for a particular
-output device.
-.
-For example, saying
+loads
+.I cp1047.tmac
+automatically at startup.
 .
-.P
-.EX
-groff \-Tlatin1 \-mlatin9 ...
-.EE
 .
 .P
-fails if you use the Euro character in the input.
-.
-Usually, this limitation is present only for drivers which have a
-limited set of output glyphs
-.RB ( ascii ,
-.BR latin1 );
-for other drivers it is usually sufficient to install proper
-fonts which contain the necessary glyphs.
+Because different input character codes constitute valid GNU
+.I troff \" GNU
+input on ISO and EBCDIC systems,
+the
+.I latin
+macro files cannot be used on EBCDIC systems,
+and
+.I cp1047
+cannot be used on ISO systems.
 .
 .
 .\" ====================================================================



reply via email to

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