diff options
-rw-r--r-- | ChangeLog | 21 | ||||
-rw-r--r-- | MANIFEST | 150 | ||||
-rw-r--r-- | src/preproc/grn/grn.man | 2 | ||||
-rw-r--r-- | src/preproc/grn/hdb.cc | 7 | ||||
-rw-r--r-- | tmac/an-old.tmac | 1 | ||||
-rw-r--r-- | tmac/doc-common | 3 | ||||
-rw-r--r-- | tmac/doc-syms | 2 |
7 files changed, 183 insertions, 3 deletions
@@ -1,3 +1,24 @@ +2001-12-22 Ruslan Ermilov <ru@FreeBSD.org> + + * tmac/doc-common, tmac/doc-syms: Small updates. + +2001-12-22 Colin Watson <cjwatson@debian.org> + + * tmac/an-old.tmac (an-p-footer): Set title length in environment 1. + +2001-12-22 Bernd Warken <bwarken@mayn.de> + + * MANIFEST: New file. + +2001-12-22 Werner LEMBERG <wl@gnu.org> + + * src/preproc/grn/grn.man: Updated. + +2001-12-22 Solar Designer <solar@openwall.com> + + * src/preproc/grn/hdb.cc (MAXSTRING_S): New macro. + (DBRead): Use it. + 2001-12-19 Werner LEMBERG <wl@gnu.org> Implement a fallback character request `.fchar'. diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 00000000..041c62e0 --- /dev/null +++ b/MANIFEST @@ -0,0 +1,150 @@ +MANIFEST + +Last update: 21 Dec 2001 + +This file is part of groff, the GNU roff type-setting system. + +Copyright (C) 2001 Free Software Foundation, Inc. +written by Bernd Warken <bwarken@mayn.de> +maintained by Werner Lemberg <wl@gnu.org> + +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.1 or +any later version published by the Free Software Foundation; with the +Invariant Sections being this .ig-section and AUTHORS, with no +Front-Cover Texts, and with no Back-Cover Texts. + +A copy of the Free Documentation License is included as a file called +FDL in the main directory of the groff source package. + +######################################################################## + +This file gives an overview of the directories and the main files of +the groff source distribution. + + +1) The top directory. + + BUG-REPORT A template for bug-reports. + ChangeLog Log of the changes in the different groff versions. + COPYING The GNU General Public License (GPL). + FDL The Free Documentation License (FDL). + INSTALL Information on compiling and installing groff. + INSTALL.gen Generic information on configuration and compiling. + MANIFEST The file you are reading. + MORE.STUFF Useful stuff in other packages. + NEWS Recent user-visible changes in groff. + PROBLEMS Tips to handle known critical situations. + PROJECTS Long-term additions to groff. + README Availability and contact information for groff. + README.WIN32 Documentation of the Win32 port of groff. + TODO Things planned for future groff versions. + + All other files in the top directory are related to the configuration, + compilation, and install processes. + + +2) The directory structure + +./arch Data that is special for different architectures. + djgpp Data special for the 32-bit DOS compiler djgpp. + +./contrib Part of groff, but maintained by other people. + mm The groff mm macro package. + pic2graph Convert PIC diagrams into different graphical formats. + +./doc Manuals and tutorials to groff aspects. + +./font Device information and fonts. + devX100 100dpi device for X Window System. + devX100-12 100dpi device with narrower font (for 12pt base font). + devX75 75dpi device for X Window System. + devX75-12 75dpi device with narrower font (for 12pt base font). + devascii Text device for ASCII output. + devcp1047 EBCDIC device. + devdvi TeX DVI device. + devhtml HTML device. + devlatin1 Text device for latin-1 (ISO 8859-1) output. + devlbp Device for Canon CAPSL laser printers. + devlj4 Device for HP Laserjet 4, PCL 5, and compatible printers. + devps PostScript device. + devutf8 Text device for Unicode output. + +./man Some groff manual pages of more general character. + +./src Everything written in programming languages. + +./src/devices The postprocessors. + grodvi TeX DVI output. + grohtml HTML output. + grolbp Canon printers. + grolj4 HP Laserjet 4, PCL 5, and compatible printers. + grops PostScript output. + grotty Text output. + +./src/include The *.h C/C++ include files. + +./src/libs C++ code common to several parts of the groff sources. + libbib Library of bibliographic functions. + libdriver Parser for intermediate output and postprocessor code. + libgroff Library for general support functions used everywhere. + snprintf An implementation of snprintf() and friends. + +./src/preproc Preprocessors. + eqn Mathematical formulae. + grn Gremlin pictures. + html The preprocessor part of grohtml. + pic Diagram drawer. + refer Bibliographic references. + soelim File inclusion using tmac path. + tbl Tables. + +./src/roff Front-end programs. + groff Wrapper around troff. This is the main user program. + grog Guess groff command line options. + nroff Emulate classical nroff text formatter. + troff Main roff formatter program. + +./src/xditview A groff (pre)viewer for the X Window System. + +./src/utils Utility programs around groff. + addftinfo Add information to old troff font files for use with groff. + afmtodit Create font description files for the PostScript device. + hpftodit Create font description files for the LJ4 device. + indxbib Make inverted index for bibliographic databases. + lkbib Search bibliographic databases. + lookbib Interactively search bibliographic databases. + pfbtops Translate a PostScript font in .pfb format to ASCII. + tfmtodit Create font description files for TeX DVI device. + +./tmac Macro files. + + +3) Documentation + +The groff documentation is scattered upon several places. + +- The main directory contains documents related to the groff source. + The README file contains the information needed to get the groff + package, report bugs, and contact the developers. + +- The man-page of each program (section 1) is kept in the source + directory of the program. + +- The man-pages for the other sections are found in `src/man'. + +- Documentation in other formats are located in the `doc' directory, + including the groff info file, tutorials, and manuals. + + +4) The roff parser + +The parsing of the roff language is done by troff. The input is +transformed into "nodes" by `src/roff/troff/node.cc'. From these, the +intermediate output is generated. + + +5) Postprocessing + +The parser for the intermediate output and the postprocessing is in +`src/libs/libdriver/input.cc'. This is used by all postprocessors. diff --git a/src/preproc/grn/grn.man b/src/preproc/grn/grn.man index 82e43cf9..72aab1d3 100644 --- a/src/preproc/grn/grn.man +++ b/src/preproc/grn/grn.man @@ -479,6 +479,8 @@ The stuff on this line really isn't all that important; a value of ``1 0.00 .IP \(bu The rest of the file consists of zero or more element specifications. After the last element specification is a line containing the string ``-1''. +.IP \(bu +Lines longer than 127 characters are chopped to this limit. .SH ELEMENT SPECIFICATIONS .IP \(bu The first line of each element contains a single decimal number giving the diff --git a/src/preproc/grn/hdb.cc b/src/preproc/grn/hdb.cc index fd5bb48a..53f967c6 100644 --- a/src/preproc/grn/hdb.cc +++ b/src/preproc/grn/hdb.cc @@ -15,6 +15,7 @@ #include "error.h" #define MAXSTRING 128 +#define MAXSTRING_S "127" /* imports from main.cc */ @@ -89,7 +90,7 @@ DBRead(register FILE *file) SUNFILE = FALSE; elist = DBInit(); - (void) fscanf(file, "%s\n", string); + (void) fscanf(file, "%" MAXSTRING_S "s\n", string); if (strcmp(string, "gremlinfile")) { if (strcmp(string, "sungremlinfile")) { error("`%1' is not a gremlin file", gremlinfile); @@ -103,10 +104,10 @@ DBRead(register FILE *file) done = FALSE; while (!done) { - /* if (fscanf(file,"%s\n", string) == EOF) */ + /* if (fscanf(file,"%" MAXSTRING_S "s\n", string) == EOF) */ /* I changed the scanf format because the element */ /* can have two words (e.g. CURVE SPLINE) */ - if (fscanf(file, "\n%[^\n]\n", string) == EOF) { + if (fscanf(file, "\n%" MAXSTRING_S "[^\n]\n", string) == EOF) { error("`%1', error in file format", gremlinfile); return (elist); } diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac index 5b7ad7cc..357d88c3 100644 --- a/tmac/an-old.tmac +++ b/tmac/an-old.tmac @@ -201,6 +201,7 @@ . ev 1 . ps \\n[PS]u . vs \\n[VS]u +. lt \\n[LT]u . ie \\n[an-html] \{\ . ds an-page-string . ds an-extra1 diff --git a/tmac/doc-common b/tmac/doc-common index 5730ce65..8e6a737f 100644 --- a/tmac/doc-common +++ b/tmac/doc-common @@ -390,6 +390,7 @@ .ds doc-operating-system-NetBSD-1.3a 1.3A .ds doc-operating-system-NetBSD-1.4 1.4 .ds doc-operating-system-NetBSD-1.5 1.5 +.ds doc-operating-system-NetBSD-1.6 1.6 . .ds doc-operating-system-FreeBSD-1.0 1.0 .ds doc-operating-system-FreeBSD-1.1 1.1 @@ -419,6 +420,8 @@ .ds doc-operating-system-FreeBSD-4.1.1 4.1.1 .ds doc-operating-system-FreeBSD-4.2 4.2 .ds doc-operating-system-FreeBSD-4.3 4.3 +.ds doc-operating-system-FreeBSD-4.4 4.4 +.ds doc-operating-system-FreeBSD-4.5 4.5 .ds doc-operating-system-FreeBSD-5.0 5.0 . .de Os diff --git a/tmac/doc-syms b/tmac/doc-syms index 5cf30ee9..f4d3d6e7 100644 --- a/tmac/doc-syms +++ b/tmac/doc-syms @@ -562,6 +562,8 @@ .als doc-str-St--iso9945-1-96 doc-str-St--p1003.1-96 .ds doc-str-St--p1003.1g-2000 \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1g-2000 .as doc-str-St--p1003.1g-2000 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq]) +.ds doc-str-St--p1003.1-2001 \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-2001 +.as doc-str-St--p1003.1-2001 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq]) . .\" POSIX Part 2: Shell and Utilities .ds doc-str-St--p1003.2 \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2 |