summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlemb <wlemb>2000-10-09 19:41:55 +0000
committerwlemb <wlemb>2000-10-09 19:41:55 +0000
commitf0219964287a8a2bad9ea96ba76e2269beee87b7 (patch)
treeb8d9751b15719d516d0e8be3a88a7c1d95d23ea2
parent53d489a42f2656d29d2978e99e248dd13f17728a (diff)
downloadgroff-f0219964287a8a2bad9ea96ba76e2269beee87b7.tar.gz
* src/libs/libbib/map.c, src/libs/libgroff/getcwd.c,
src/libs/libgroff/strtol.c, src/preproc/html2/image.cc, src/preproc/html2/pre-html.cc, src/preproc/html2/pushbackbuffer.cc, src/roff/groff/pipeline.c: Removing `#ifndef errno' to avoid compilation errors with some compilers. It seems that this code is no longer necessary -- if yes, it is easy to add some #ifdef's for that particular old-fashioned compiler. * MORE.STUFF: Added info about Meta-tbl. * doc/groff.texinfo: Added more info about `.if "..."..."'.
-rw-r--r--ChangeLog14
-rw-r--r--MORE.STUFF6
-rw-r--r--doc/groff.texinfo26
-rw-r--r--src/libs/libbib/map.c4
-rw-r--r--src/libs/libgroff/getcwd.c3
-rw-r--r--src/libs/libgroff/strtol.c3
-rwxr-xr-xsrc/preproc/html2/image.cc4
-rwxr-xr-xsrc/preproc/html2/pre-html.cc4
-rwxr-xr-xsrc/preproc/html2/pushbackbuffer.cc4
-rw-r--r--src/roff/groff/pipeline.c4
10 files changed, 40 insertions, 32 deletions
diff --git a/ChangeLog b/ChangeLog
index 2658bbff..b2f33c65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2000-10-09 Werner LEMBERG <wl@gnu.org>
+
+ * src/libs/libbib/map.c, src/libs/libgroff/getcwd.c,
+ src/libs/libgroff/strtol.c, src/preproc/html2/image.cc,
+ src/preproc/html2/pre-html.cc, src/preproc/html2/pushbackbuffer.cc,
+ src/roff/groff/pipeline.c: Removing `#ifndef errno' to avoid
+ compilation errors with some compilers. It seems that this code
+ is no longer necessary -- if yes, it is easy to add some #ifdef's
+ for that particular old-fashioned compiler.
+
+ * MORE.STUFF: Added info about Meta-tbl.
+
+ * doc/groff.texinfo: Added more info about `.if "..."..."'.
+
2000-10-07 Werner LEMBERG <wl@gnu.org>
Adding a new escape sequence \B'...': If the string between
diff --git a/MORE.STUFF b/MORE.STUFF
index 7dba3653..5b0b1dcf 100644
--- a/MORE.STUFF
+++ b/MORE.STUFF
@@ -112,6 +112,12 @@ miscellaneous
of AT&T, and so should be invoked with the UNIX troff -mm flag; they
should also work with the GNU troff -mm flag.
+. Thomas Baruchel <baruchel@libertysurf.fr> has developed Meta-tbl, a tbl
+ postprocessor to manipulate table cells (like adding gray shades). The
+ latest version can be found at
+
+ http://perso.libertysurf.fr/baruchel/
+
documentation
-------------
diff --git a/doc/groff.texinfo b/doc/groff.texinfo
index 3056cd1e..3cc259d2 100644
--- a/doc/groff.texinfo
+++ b/doc/groff.texinfo
@@ -6028,12 +6028,26 @@ True if the document is being processed in nroff mode.
@findex troff
True if the document is being processed in troff mode.
-@item '@var{xxx}'@var{yyy}'
+@item "@var{xxx}"@var{yyy}"
True if the string @var{xxx} is equal to the string @var{yyy}. Other
-characters can be used in place of the single quotes.
-@c XXX (Which?)
-The strings are ``formatted'' before being compared.
-@c XXX (?)
+characters can be used in place of the double quotes.
+@c XXX which characters?
+The strings are ``formatted'' before being compared; for example,
+
+@example
+.ie "|"\fR|\fP" \
+. tm true
+.el \
+. tm false
+@end example
+
+yields ``true''. The resulting motions, character sizes, and fonts
+have to match, and not the individual motion, size, and font requests.
+@Here, samp{|} and @samp{\fR|\fP} both result in a roman @samp{|}
+character with the same point size and at the same location on the
+page, so the strings are equal. If @samp{.ft@w{ }I} had been added
+before the @samp{.ie}, then the result would be ``false'' because
+@samp{|} produces an italic @samp{|} rather than a roman one.
@item r@var{xxx}
True if there is a number register named @var{xxx}.
@@ -6318,7 +6332,7 @@ name.
This would be called as
@example
-.vl $Id: groff.texinfo,v 1.44 2000/09/11 20:01:03 wlemb Exp $
+.vl $Id: groff.texinfo,v 1.45 2000/10/09 19:41:55 wlemb Exp $
@end example
@xref{Request Arguments}.
diff --git a/src/libs/libbib/map.c b/src/libs/libbib/map.c
index 3632a11e..ee5d0087 100644
--- a/src/libs/libbib/map.c
+++ b/src/libs/libbib/map.c
@@ -52,10 +52,6 @@ int unmap(p, len)
#include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
-
char *mapread(fd, nbytes)
int fd;
int nbytes;
diff --git a/src/libs/libgroff/getcwd.c b/src/libs/libgroff/getcwd.c
index 208e8111..ed1642fe 100644
--- a/src/libs/libgroff/getcwd.c
+++ b/src/libs/libgroff/getcwd.c
@@ -3,9 +3,6 @@
#include <sys/param.h>
#include <string.h>
#include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
char *getwd();
diff --git a/src/libs/libgroff/strtol.c b/src/libs/libgroff/strtol.c
index 071bade8..7858ba5c 100644
--- a/src/libs/libgroff/strtol.c
+++ b/src/libs/libgroff/strtol.c
@@ -20,9 +20,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <string.h>
#include <ctype.h>
#include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
diff --git a/src/preproc/html2/image.cc b/src/preproc/html2/image.cc
index 23708b64..cba34820 100755
--- a/src/preproc/html2/image.cc
+++ b/src/preproc/html2/image.cc
@@ -38,10 +38,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <unistd.h>
#endif
-#ifndef errno
-extern int errno;
-#endif
-
#ifdef _POSIX_VERSION
#include <sys/wait.h>
#define PID_T pid_t
diff --git a/src/preproc/html2/pre-html.cc b/src/preproc/html2/pre-html.cc
index 8824f3ac..872e7270 100755
--- a/src/preproc/html2/pre-html.cc
+++ b/src/preproc/html2/pre-html.cc
@@ -39,10 +39,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <unistd.h>
#endif
-#ifndef errno
-extern int errno;
-#endif
-
#ifdef _POSIX_VERSION
#include <sys/wait.h>
#define PID_T pid_t
diff --git a/src/preproc/html2/pushbackbuffer.cc b/src/preproc/html2/pushbackbuffer.cc
index d556c748..1e7ad8b9 100755
--- a/src/preproc/html2/pushbackbuffer.cc
+++ b/src/preproc/html2/pushbackbuffer.cc
@@ -37,10 +37,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <unistd.h>
#endif
-#ifndef errno
-extern int errno;
-#endif
-
#include "pushbackbuffer.h"
#include "pre-html.h"
diff --git a/src/roff/groff/pipeline.c b/src/roff/groff/pipeline.c
index 238b10c5..cf91bdd4 100644
--- a/src/roff/groff/pipeline.c
+++ b/src/roff/groff/pipeline.c
@@ -34,10 +34,6 @@ Compile options are:
#include <unistd.h>
#endif
-#ifndef errno
-extern int errno;
-#endif
-
extern char *strerror();
#ifdef _POSIX_VERSION