[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 04/09: doc/groff.texi: Relocate material.
From: |
G. Branden Robinson |
Subject: |
[groff] 04/09: doc/groff.texi: Relocate material. |
Date: |
Thu, 8 Oct 2020 07:54:37 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit e0653b086207f7e34c7e8ac3c479ef24055f10ac
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Oct 3 01:50:26 2020 +1000
doc/groff.texi: Relocate material.
Rearrange list of conditional operators to be in lexicographical order.
The original ordering was AT&T troff operators first, followed by GNU
extensions in no obvious order, but possibly chronologically by date of
implementation. Either way, frustrating to the reader scanning the
list.
Relocation-only commit; no text changes.
---
doc/groff.texi | 60 +++++++++++++++++++++++++++++-----------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
diff --git a/doc/groff.texi b/doc/groff.texi
index eb7ddf8..226557e 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -10932,10 +10932,31 @@ In @code{if}, @code{ie}, and @code{while} requests,
in addition to ordinary
@ref{Expressions}, there are several more operators available:
@table @code
+@item c @var{g}
+True if a glyph @var{g} is available, where @var{g} is a Unicode basic
+Latin character; a GNU @code{troff} special character @samp{\(@var{xx}}
+or @samp{\[@var{xxx}]}; @samp{\N'@var{xxx}'}; or has been defined by the
+@code{char} request.
+
+@item d @var{name}
+True if there is a string, macro, diversion, or request called
+@var{name}.
+
@item e
@itemx o
True if the current page is even or odd numbered (respectively).
+@item F @var{font}
+True if a font called @var{font} exists. @var{font} is handled as if it
+were opened with the @code{ft} request (that is, font translation and
+styles are applied), without actually mounting it.
+
+This test doesn't load the complete font but only its header to verify
+its validity.
+
+@item m @var{color}
+True if there is a color called @var{color}.
+
@item n
@cindex conditional output for terminal (TTY)
@cindex TTY, conditional output for
@@ -10943,6 +10964,13 @@ True if the current page is even or odd numbered
(respectively).
True if the document is being processed in nroff mode (i.e., the
@code{nroff} request has been issued). @xref{Troff and Nroff Mode}.
+@item r @var{reg}
+True if there is a number register called @var{reg}.
+
+@item S @var{style}
+True if a style called @var{style} has been registered. Font
+translation is applied.
+
@item t
True if the document is being processed in troff mode (i.e., the
@code{troff} request has been issued). @xref{Troff and Nroff Mode}.
@@ -11009,34 +11037,6 @@ true
false
@result{} true
@endExample
-
-@item r @var{reg}
-True if there is a number register called @var{reg}.
-
-@item d @var{name}
-True if there is a string, macro, diversion, or request called
-@var{name}.
-
-@item m @var{color}
-True if there is a color called @var{color}.
-
-@item c @var{g}
-True if a glyph @var{g} is available, where @var{g} is a Unicode basic
-Latin character; a GNU @code{troff} special character @samp{\(@var{xx}}
-or @samp{\[@var{xxx}]}; @samp{\N'@var{xxx}'}; or has been defined by the
-@code{char} request.
-
-@item F @var{font}
-True if a font called @var{font} exists. @var{font} is handled as if it
-were opened with the @code{ft} request (that is, font translation and
-styles are applied), without actually mounting it.
-
-This test doesn't load the complete font but only its header to verify
-its validity.
-
-@item S @var{style}
-True if a style called @var{style} has been registered. Font
-translation is applied.
@end table
Note that these operators can't be combined with other operators like
@@ -11110,6 +11110,8 @@ first request is the `if' part and the latter is the
`else' part.
@endExample
@endDefreq
+@xref{Expressions}.
+
@c there is a bug in makeinfo <= 4.1a: you can't have `@{' as an argument
@c to @deffn
@c
@@ -11144,8 +11146,6 @@ start the first line) and @code{\@}} (which must end
the last line).
@c @endDefesc
@end deffn
-@xref{Expressions}.
-
@c ---------------------------------------------------------------------
@node while, , if-else, Conditionals and Loops
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 04/09: doc/groff.texi: Relocate material.,
G. Branden Robinson <=