summaryrefslogtreecommitdiff
path: root/man/groff_tmac.man
diff options
context:
space:
mode:
authorwl <wl>2006-11-19 09:56:49 +0000
committerwl <wl>2006-11-19 09:56:49 +0000
commitb9045517d4e8d55470d40cd36da231165e92db38 (patch)
treee727e20e2810bd91e881fa1a93b0a32a018fae64 /man/groff_tmac.man
parente6841d8379d5576dc99e12f4601b7942a906653c (diff)
downloadgroff-b9045517d4e8d55470d40cd36da231165e92db38.tar.gz
* man/roff.man, doc/groff.texinfo: Improve history of roff, based on
information from Tom Van Vleck <thvv@multicians.org>. * tmac/62bit.tmac: New macro package. * tmac/Makefile.sub (NORMALFILES): Add it. * NEWS: Document it. * tmac/trace.tmac: Protect against being loaded again. (nr): Always show result. * doc/groff.texinfo (Input Encodings): Document latin-5. * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
Diffstat (limited to 'man/groff_tmac.man')
-rw-r--r--man/groff_tmac.man104
1 files changed, 97 insertions, 7 deletions
diff --git a/man/groff_tmac.man b/man/groff_tmac.man
index 0bad8b7c..18b395e1 100644
--- a/man/groff_tmac.man
+++ b/man/groff_tmac.man
@@ -14,7 +14,7 @@ groff_tmac.5
File position: <groff-source>/man/groff_tmac.man
-Last update: 02 Jul 2006
+Last update: 16 Nov 2006
This file is part of groff, the GNU roff type-setting system.
@@ -404,24 +404,21 @@ macro package; see
.
.
.\" --------------------------------------------------------------------
-.SS "Special Packages"
+.SS "Language-specific Packages"
.\" --------------------------------------------------------------------
.
-The macro packages in this section are not intended for stand-alone
-usage, but can be used to add special functionality to any other
-macro package or to plain groff.
-.
.
.TP
.B fr
This file adds support for French localization of the main macro packages
(me, mom, mm, and ms).
.
-It should be used as the last macro package on the command line.
.
Example:
+.RS
.IP
.Shell_cmd "groff -ms -mfr foo.ms > foo.ps"
+.RE
.
.IP
Note that
@@ -431,6 +428,95 @@ ligature.
.
.
.TP
+.B sv
+Swedish localization support for the me, mom, and ms macro packages.
+.
+Note that Swedish for the mm macros is handled separately; see
+.BR groff_mmse (@MAN7EXT@).
+.
+It should be used as the last macro package on the command line.
+.
+.
+.\" --------------------------------------------------------------------
+.SS "Input Encodings"
+.\" --------------------------------------------------------------------
+.
+.
+.TP
+.B latin1
+.TP+
+.B latin2
+.TP+
+.B latin5
+.TP+
+.B 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.
+.
+.B @g@roff
+loads latin1 by default at start-up.
+.
+Note that these macro packages don't work on EBCDIC hosts.
+.
+.
+.TP
+.B cp1047
+Encoding support for EBCDIC.
+.
+On those platforms it is loaded automatically at start-up.
+.
+Due to different character ranges used in
+.B @g@roff
+it doesn't work on architectures which are based on ASCII.
+.
+.
+.P
+Note that it can happen that some input encoding characters are not
+available for a particular output device.
+.
+For example, saying
+.
+.P
+.Example
+. Text groff -Tlatin1 -mlatin9 ...
+./Example
+.
+.P
+fails if you use the Euro character in the input.
+.
+Usually, this limitation is present only for devices which have a
+limited set of output glyphs
+.RB ( \-Tascii ,
+.BR \-Tlatin1 );
+for other devices it is usually sufficient to install proper
+fonts which contain the necessary glyphs.
+.
+.
+.\" --------------------------------------------------------------------
+.SS "Special Packages"
+.\" --------------------------------------------------------------------
+.
+The macro packages in this section are not intended for stand-alone
+usage, but can be used to add special functionality to any other
+macro package or to plain groff.
+.
+.
+.TP
+.B 60bit
+Provide some macros for addition, multiplication, and division of 60bit
+integers (allowing safe multiplication of 30bit integers, for example).
+.
+.
+.TP
+.B ec
+Switch to the EC and TC font families. To be used with
+.BR \%grodvi (@MAN1EXT@)
+\[en] this man page also gives more details how to use it.
+.
+.
+.TP
.B papersize
This macro file is already loaded at start-up by
.B @g@troff
@@ -1101,6 +1187,7 @@ Start every line with a dot, for example, by using the groff request
for text lines, or write your own macro that handles also text lines
with a leading dot.
.
+.RS
.IP
.Example
. Text .de Text
@@ -1109,6 +1196,7 @@ with a leading dot.
. Text .\ nop\ \[rs])\[rs]\[rs]$*[rs]\)
. Text ..
./Example
+.RE
.
.Topic
Write a comment macro that works both for copy-in and draft mode; for
@@ -1118,12 +1206,14 @@ comments are used.
For example, the following macro just ignores its arguments, so it
acts like a comment line:
.
+.RS
.IP
.Example
. Text .de\ c
. Text ..
. Text .c\ This\ is\ like\ a\ comment\ line.
./Example
+.RE
.
.Topic
In long macro definitions, make ample use of comment lines or empty