70f43d63b9
Provided in PR 13059 by Ben Collver (collver@linuxfreemail.com) Texi2roff is an unmaintained program program to convert Texinfo to troff. Beverly Erlebacher wrote the program and made the last release in the late 1980's. William Bader produced a patch in 1996 adding numerous commands and other functionality. Alain Knaff added a translation table to generate man pages, and uses it to generate the manuals for mtools. Ben Collver integrated William Bader's and Alain Knaff's changes and made minor cleanups.
28 lines
891 B
Text
28 lines
891 B
Text
$NetBSD: patch-ae,v 1.1.1.1 2001/05/30 11:45:41 agc Exp $
|
|
|
|
--- texi2roff.h.orig Mon May 28 12:15:12 2001
|
|
+++ texi2roff.h Mon May 28 12:54:22 2001
|
|
@@ -13,6 +13,7 @@
|
|
#define MS 1
|
|
#define ME 2
|
|
#define MM 3
|
|
+#define MANDOC 4
|
|
|
|
/* useful confusion-reducing things */
|
|
#define STREQ(s,t) (*(s)==*(t) && strcmp(s, t)==0)
|
|
@@ -62,7 +63,14 @@
|
|
#define DISPLAY 10 /* text block of the kind called a 'display' */
|
|
#define INDEX 11 /* index entry */
|
|
#define INCLUDE 12 /* include file command */
|
|
-
|
|
+
|
|
+#define IFSET 13 /* test if a variable is set */
|
|
+#define IFCLEAR 14 /* test if a variable is not set */
|
|
+#define SET 15 /* set a variable */
|
|
+#define CLEAR 16 /* clear a variable */
|
|
+#define VALUE 17 /* lookup the value of a variable */
|
|
+#define DISCARDLINE 18 /* not supported -- discard to end of line */
|
|
+
|
|
/* portability */
|
|
#ifdef BSD
|
|
#include <strings.h>
|