diff options
author | wlemb <wlemb> | 2004-06-30 11:35:24 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2004-06-30 11:35:24 +0000 |
commit | 5f659ae16cbad14977838e9f8f0de74a3c26c7db (patch) | |
tree | dc243ed3d0fcd1c72eeafec77373b6014810ab34 /man/groff.man | |
parent | 6e5ac034c3358b9519d887aa71233ddba406d1f9 (diff) | |
download | groff-5f659ae16cbad14977838e9f8f0de74a3c26c7db.tar.gz |
Implement two new conditional operators `F <name>' and `S <name>'
which check whether <name> is a valid font or style, respectively.
* src/libs/libgroff/font.cpp (text_file): Add `silent' member.
(text_file::text_file): Updated.
(text_file::error): Don't emit message if `silent' is set.
(font::load_font): Add optional third argument (which is directly
passed to `load'.
(font::load): Add optional second argument to check the header of
a font only, without emitting warning or error messages.
* src/include/font.h (font): Updated.
* src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
conditionals.
* src/roff/troff/node.cpp (mount_font_no_translate): Add optional
fourth argument to check a font without mounting.
(check_font, check_style): New functions.
* src/roff/troff/node.h: Updated.
* man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
Updated.
Diffstat (limited to 'man/groff.man')
-rw-r--r-- | man/groff.man | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/man/groff.man b/man/groff.man index 0e08c332..6bd261d8 100644 --- a/man/groff.man +++ b/man/groff.man @@ -2,7 +2,7 @@ .ig groff.man -Last update: 27 Jun 2004 +Last update: 29 Jun 2004 This file is part of groff, the GNU roff type-setting system. @@ -1015,6 +1015,17 @@ True if there is a register named Formatter is .BR troff . . +.TPx +.BI F font +True if there exists a font named +.IR font . +. +.TPx +.BI S style +True if a style named +.I style +has been registered. +. .RE .PD . |