summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwlemb <wlemb>2000-08-25 13:14:29 +0000
committerwlemb <wlemb>2000-08-25 13:14:29 +0000
commit512a33317e665fdf724615e514984574c21193e0 (patch)
tree0b33fca5d8aac730baae604628426b9b66c14b44 /doc
parent3dae0e3967da084830d4a22f322f550144e3b54c (diff)
downloadgroff-512a33317e665fdf724615e514984574c21193e0.tar.gz
* NEWS, doc/groff.texinfo, tmac/groff_tmac.man, man/roff.man,
src/roff/troff/troff.man: Document Eli's latest changes. * src/roff/troff/input.cc (open_mac_file, macro_source): Support macro file names of the form NAME.tmac as well as tmac.NAME.
Diffstat (limited to 'doc')
-rw-r--r--doc/groff.texinfo18
1 files changed, 11 insertions, 7 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo
index ca13abb7..c72bac91 100644
--- a/doc/groff.texinfo
+++ b/doc/groff.texinfo
@@ -1226,7 +1226,9 @@ Use @var{fam} as the default font family.
@item -m@var{name}
Read in the file @file{tmac.@var{name}}. Normally this will be searched
-for in the library directory of @code{groff}.
+for in the library directory of @code{groff}. If it isn't found,
+@file{@var{name}.tmac} will be tried (and searched in the same
+directories).
@item -n@var{num}
Number the first page @var{num}.
@@ -4100,8 +4102,9 @@ The hyphenation character is associated with the current environment
@cindex patterns for hyphenation
@Deffn{Request, hpf, pattern_file}
Read in a file of hyphenation patterns. This file will be searched for
-in the same way as @file{tmac.@var{name}} is searched for if the
-@option{-m@var{name}} option is specified.
+in the same way as @file{tmac.@var{name}} (resp.@:
+@file{@var{name}.tmac}) is searched for if the @option{-m@var{name}}
+option is specified.
It should have the same format as the argument to the @code{\patterns}
primitive in @TeX{} (without using @TeX{}'s macro expansion); the
@@ -6301,7 +6304,7 @@ name.
This would be called as
@example
-.vl $Id: groff.texinfo,v 1.40 2000/06/18 10:13:51 wlemb Exp $
+.vl $Id: groff.texinfo,v 1.41 2000/08/25 13:14:31 wlemb Exp $
@end example
@xref{Request Arguments}.
@@ -7106,9 +7109,10 @@ large documents, i.e.@: keeping each chapter in a separate file.
@findex mso
The @code{mso} request is the same as the @code{so} request except that
-the file is searched for in the same directories as
-@file{tmac.@var{name}} is searched for when the @option{-m@var{name}}
-option is specified.
+the file is searched for in the same directories as macro files for the
+the @option{-m} command line option. If the file name to be included
+has the form @file{tmac.@var{name}} and it isn't found, @code{mso} tries
+to include @file{@var{name}.tmac}.
@findex cf
@cindex transparent output