summaryrefslogtreecommitdiff
path: root/man/roff.man
Commit message (Collapse)AuthorAgeFilesLines
* Update FDL 1.1 to FDL 1.3.wl2009-01-051-3/+3
|
* Update copyright year.wl2009-01-051-1/+1
|
* * man/roff.man, doc/groff.texinfo: Improve the history part. Thiswl2008-10-101-152/+77
| | | | | | | | | | is based on input from Tom Van Vleck <thvv@multicians.org>. * src/preproc/eqn/sqrt.cpp (sqrt_box::compute_metrics): Assure that value of `rst' register is not zero, as can happen for the HTML output device. Otherwise, there are too many loops, and we get a stack overflow because of recursion.
* * src/preproc/html/pre-html.cpp (usage): Don't describe options butwl2008-01-191-24/+28
| | | | | | | | | | mention that it should never be called stand-alone. * tmac/groff_www.man, doc/groff.texinfo, man/groff_font.man, man/groff_tmac.man, man/groff_out.man, README, README.MinGW, src/roff/groff/groff.man: Mention -Txhtml. * man/groff_font.man, man/groff_tmac.man, man/roff.man: Revised.
* * */*: s/Osanna/Ossanna/.wl2008-01-041-11/+9
| | | | | | | | | | | * */*.man: Replace .URL with .UR/.UE (except in groff_www.tmac). Replace .MTO with .MT/.ME (except in groff_www.tmac). Insert `\:' in URLs where appropriate. Don't include www.tmac (except in groff_www.tmac). * man/groff.man (.ESC[]): Fix font of closing bracket. (.ESCq): Fix font of closing quote character. Many other improvements.
* Change .UR/.UE and .MT/.ME so the start macro no longer takesesr2007-02-061-22/+22
| | | | | a second argument that is pasted to the end of the generated text. Instead, the end macro takes an argument that does the same thing.
* Usewl2007-02-021-2/+2
| | | | | | | | | | '\" <word> not .\" <word> in first line to indicate the need for a preprocessor in man pages.
* * tmac/an-ext.tmac (\n[EX]): Rename to \n[mX].wl2007-01-301-232/+145
| | | | | | | | | | | | | | | | | | | (\n[mH]): New register (set if grohtml is used). (\n[SY]): Rename to \n[mS]. (\n[a]): Rename to \n[mA]. (\n[i]): Rename to \n[mI]. (mU): New auxiliary input trap macro. (UR, UE): Replace stub with real definition. (URL): Remove. (MT, ME): New macros. (MTO): Remove. (EX, EE): Don't insert vertical space. Use a register to store (and restore) the current font. * man/ditroff.man, man/groff_diff.man, man/roff.man: Revised, based on patches from Eric Raymond. Fix URL addresses. * contrib/pdfmark/pdfroff.man: Updated.
* * man/roff.man, doc/groff.texinfo: Improve history of roff, based onwl2006-11-191-67/+37
| | | | | | | | | | | | | | | | information from Tom Van Vleck <thvv@multicians.org>. * tmac/62bit.tmac: New macro package. * tmac/Makefile.sub (NORMALFILES): Add it. * NEWS: Document it. * tmac/trace.tmac: Protect against being loaded again. (nr): Always show result. * doc/groff.texinfo (Input Encodings): Document latin-5. * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
* * man/roff.man, src/roff/groff/groff.man: Add `chem', fix positionbwarken2006-10-281-169/+358
| | | | | | of groff development site, fix fonts. * News: Add information on `groffer'.
* * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.wlemb2004-06-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily. Add test for Xmu library. (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK, GROFF_APPRESDIR_DEFAULT): New macros. * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK, and GROFF_APPRESDIR_DEFAULT. * configure: Regenerated. * Makefile.in (appresdir): New variable. (MDEFINES): Add appresdir. * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and -Xt. (install_data, uninstall_sub): New targets to handle GXditview.ad. * src/utils/indxbib/Makefiles.ub (install_data): Depend on `$(srcdir)/eign', not `eign'. * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated. * man/groff_out.man, man/roff.man, src/devices/grops/grops.man, src/devices/xditview/gxditview.man, src/roff/groff/groff.man: Protect (g)xditview with `\%' to avoid hyphenation. Other minor formatting.
* * src/libs/libgroff/progname.cpp: Replaced with...wlemb2004-01-261-4/+4
| | | | | * src/libs/libgroff/progname.c: New file. * src/libs/libgroff/Makefile.sub: Updated accordingly.
* * LICENSE: Better wording.wlemb2003-12-111-2/+2
|
* * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),wlemb2003-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/roff/troff/input.cc (usage): Updated. * NEWS, doc/groff.texinfo: Updated. * src/libs/libgroff/searchpath.cpp (search_path::open_file_cautious): New function which also handles `-' as stdin and stdout depending on the access mode. * src/include/searchpath.h (search_path): Updated. * src/devices/grops/ps.cpp (main): Handle new `-I' switch. * src/devices/grops/ps.h: Include `searchpath.h'. * src/devices/grops/psrm.cpp (resource_manager::supply_resource): Open resource file with `include_search_path.open_file_cautious'. * src/devices/grops/grops.man: Document new `-I' switch. * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp (main), src/devices/grolj4/lj4.cpp (main), src/devices/grotty/tty.cpp (main): Ignore new `-I' switch. * src/preproc/soelim/soelim.cpp (include_list_length, include_list): Replaced with... (include_search_path): New global variable. (include_path_append): Removed. (main): Use `include_search_path.command_line_dir' to handle `-I'. (do_file): Simplify, using new `include_search_path.open_file_cautious'. * src/roff/groff/groff.cpp (print_commands): Accept file handle as parameter. (main): Pass arguments to `-I' to both troff and devices. Improve handling of `-V'. * src/roff/groff/groff.man: Document changes to -I and -V. * src/roff/troff/input.cpp (include_search_path): New global variable. (next_file, source, ps_bbox_request, transparent_file, process_input_file): Use new `include_search_path.open_file_cautious'. (main) Handle `-I' switch. * src/roff/troff/node.cpp (troff_output_file::really_copy_file): Use new `include_search_path.open_file_cautious'. * src/roff/troff/node.h: New extern symbol `include_search_path'. * src/roff/troff/troff.man: Document new `-I' switch.
* * *.man: Switch to non-compatibility mode temporarily if GNUwlemb2003-07-181-1/+5
| | | | | | syntax extensions are used in the particular man page. * PROBLEMS: Add solutions for SGR problems.
* Make groff independent from locale's numeric settings.wlemb2003-04-031-6/+3
| | | | | | | | | | | | | | | | | * configure.ac: Check for `setlocale'. * configure, src/include/config.hin: Regenerated. * src/include/lib.h: Handle HAVE_SETLOCALE. * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc (main), src/preproc/pic/main.cc (main): Call `setlocale'. * doc/groff.texinfo (Man font macros): Mention that there is no space between arguments of .BI and friends. * man/roff.man: Small fixes.
* * man/roff.man: Enlarged.wlemb2002-04-231-211/+492
|
* Add new escape \F to switch font family.wlemb2002-04-151-3/+3
| | | | | | | | | | | | | | | | | | * src/roff/troff/input.cc (token::next): Handle \F. * src/roff/troff/env.cc (environment::set_family): Handle `interrupted' flag. * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document it. * tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of spaces in tags. * tmac/Xps.tmac: Remove some redundant code. * tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac, tmac/dvi.tmac, contrib/groffer/groffer.man, man/roff.man, man/groff_out.man, man/groff.man, man/groff_diff.man, src/roff/groff/groff.man: Replace \f[P] with \f[].
* * src/include/lib.h [!HAVE_SNPRINTF]: Add declarations forwlemb2002-02-191-12/+12
| | | | | | | | | | | | | | | `snprintf' and `vsnprintf'. * src/include/htmlindicate.h: Renamed to... * src/include/htmlhint.h: This. * src/include/Makefile.sub: Updated. * src/preproc/eqn/main.cc: Updated. * man/roff.man, man/groff_out.man, man/groff.man, man/groff_diff.man, man/ditroff.man, src/roff/groff/groff.man, src/roff/troff/troff.man: Updated to latest changes in www.tmac. * win32-diffs: Updated.
* Adding options -C (compatibility mode) and -c (grotty's old outputwlemb2002-02-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scheme) to nroff. * src/roff/nroff/nroff.sh: Implement it. Remove `-Wall'. * NEWS, src/roff/nroff/nroff.man: Updated. Implementing color support in grotty. The new switch -c activates the old drawing scheme, disabling color at the same time. The new switch `-i' selects italic instead of underlining (SGR only). * src/devices/grotty/tty.cc (putstring): New define instead of `fputs'. Updated all callers. (old_drawing_scheme): New global variable. (COLOR_CHANGE): New enum value. (SGR_*): New defines containing color handling escape sequences. (TTY_MAX_COLORS, DEFAULT_COLOR_IDX): New defines. (glyph): New members `back_color_idx' and `fore_color_idx'. (glyph::order): Add COLOR_CHANGE. (tty_printer): New members `cur_fore_idx', `curr_back_idx', `is_underline', `is_bold', `cu_flag', `tty_colors'. New methods `make_underline', `make_bold', `color_to_idx', `change_color', `put_color'. (cu_flag): Moved into `tty_printer' class. (tty_printer::tty_printer): Initialize colors. (tty_printer::add_char, tty_printer::set_char, tty_printer::special, tty_printer::draw, tty_printer::end_page): Handle colors also. (main): Add options `-c' and `-i'. (usage): Updated. * NEWS, src/devices/grotty/grotty.man: Updated. * src/include/errarg.h (errarg): Add support for `unsigned int'. * src/libs/libgroff/errarg.c: Implement it. * src/include/printer.h (printer): Add `change_color' method (currently used by grotty only). * src/libs/libdriver/printer.cc: Implement it. * src/libs/libdriver/input.cc (parse_D_command, do_file): Add call to `pr->change_color'. * src/roff/troff/node.cc (troff_output_file::fill_color, troff_output_file::glyph_color): Call `do_motion'. * tmac/tty.tmac: Add color definitions. * src/roff/groff/groff.man: Minor fixes.
* * man/groff_out.man: Revised.wlemb2002-01-091-4/+4
| | | | | | | * man/roff.man: Minor fixes. * src/roff/troff/troff.man: Some reordering. * tmac/an-old.tmac: Add dummy macros for equation support.
* * man/groff_diff.man: Revised.wlemb2002-01-071-70/+62
|
* * doc/groff.texinfo: Added macros `@Defmpreg' and `@Defmpregx' forwlemb2002-01-051-424/+219
| | | | | | | | | | | | | | | | | | registers defined in macro packages. Revising the ms part. * doc/groff.texinfo: Add documentation for ms macros. First step in adding PS support for the Euro symbol. `eu' is the official Euro logo, `Eu' is a font-specific glyph variant. * font/devps/text.enc: Add `Euro' at position 9. * font/devps/generate/textmap: Add `Euro' as symbol `Eu'. * font/devps/symbolmap: Regenerated. * NEWS: Updated. * man/roff.man: Revised.
* * man/roff.man: Revised.wlemb2001-12-091-318/+983
| | | | | | | | | | | | * src/roff/groff/groff.man: Replace man page references with a pointer to roff.man. * man/roff.man: Completely rewritten. * Makefile.sim, groff_mm.man, groff_mmse.man: Minor fixes. * mmroff.man: This is a section 1 man page. Minor fixes. * Makefile.sub: Install mmroff.man in section 1.
* * man/roff.man: Fix typo.wlemb2001-12-011-1/+1
|
* * NEWS, man/Makefile.sub: Updated.wlemb2001-11-191-1/+1
| | | | * man/ditroff.man: New file.
* Fix problems with preprocessor string for `man' program.wlemb2001-06-271-4/+6
| | | | | | | * *.man: Don't use `s' in preprocessor string -- it doesn't exist. Updated/added copyright. Moved Emacs's local variable to identify nroff mode to the end of the file; add local variable if missing.
* * man/roff.man, mann/groff.man: Use '" instead of ." in the firstwlemb2001-06-111-1/+1
| | | | | | line to specify preprocessor options -- mandb 2.3.1 only recognizes the former. * src/preproc/grn/grn.man: Add proper '" string.
* Use safer path (except for config files) if -U isn't specified. Addwlemb2000-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a special macro path (without home and current directory) for config files. Add home directory to unsafe path for consistency. Don't include the home directory in the font path. * src/lib/libgroff/macropath.cc: Add `config_macro_path', change `macro_path'. * src/include/macropath.h: Add `config_macrp_path'. * src/lib/libgroff/fontfile.cc: Fix font path. * src/roff/troff/input.cc (process_startup_file): Use `config_macro_path'. (main): Select unsafe path if -U is given. * src/preproc/eqn/main.cc (main): Fixing search path for configuration file. * src/preproc/eqn/eqn.man: Updated. * src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man: Updated. * src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man, src/devices/grolj4/grolj4.man, src/devices/grops/grops.man, src/devices/grotty/grotty.man: Updated. * Makefile.in: Fix comments. src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
* For security reasons, don't use the current directory but the homewlemb2000-11-131-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directory while searching and scanning troffrc and troffrc-end. Similarly, replace the current directory with the home directory in the font path. * Makefile.in (fontpath, tmacpath): Remove current directory. * src/libs/libgroff/searchpath.cc (search_path::search_path): Add two parameters `add_home' and `add_current'. (search_path::~search_path, search_path::command_line_dir, search_path::open_file): Remove tests for `dirs' being zero. * src/include/searchpath.h: Adjust. * src/libs/libgroff/macropath.cc, src/include/macropath.h: Add `safer_macro_path'. * src/libs/libgroff/fontfile.cc: Adjust `font_path'. * src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'. * src/roff/troff/input.cc: Use `mac_path', initialized with `macro_path'. (process_startup_file): Set `mac_path' to `safer_macro_path'. * src/roff/troff/env.cc: Use `mac_path'. * src/preproc/eqn/main.cc (main): Use `safer_macro_path'. * NEWS, man/roff.man, src/roff/troff/troff.man, src/rof/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README: Updated. * src/include/lib.h: Don't include groff-getopt.h for OSF/1. * aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++. * configure.in: Fix typo in comment. * configure: Regenerated. * src/libgroff/*, src/include/*, src/roff/troff/*: Fixing copyright dates.
* Add system tmac directory (/usr/local/lib/groff/site-tmac).wlemb2000-11-081-3/+5
| | | | | | | | | | | | | | | | | | | | * Makefile.in: Add $(libdir), $(libprogramdir), and $(systemtmacdir). (uninstall_dirs): Add $(libdir), $(libprogramdir), and $(systemtmacdir). Use @libdir@. * Makefile.comm (.man.n): Add @SYSTEMMACRODIR@. * tmac/Makefile.sub (install_data): Create $(systemtmacdir) and $(localtmacdir). (uninstall_sub): Use $(systemtmacdir) for wrapper macros. * man/roff.man, src/roff/troff/troff.man, src/roff/groff/groff.man, NEWS, doc/groff.texinfo: Updated and minor fixes. * Makefile.comm, Makefile.in: Added tmac_{s,an}_prefix stuff again. * tmac/Makefile.sub: Added `wrap' stuff again, but installing into $(systemtmacdir) since the wrapper files are platform-dependent. * doc/groff.texinfo: Fix typo.
* Convert macros `tmac.XXX' to `XXX.tmac'. Special cases:wlemb2000-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tmac.doc.old -> doc-old.tmac tmac.an.old -> an-old.tmac * tmac/tmac.*: Moved to ... * tmac/*.tmac: this. * tmac/man.local: Fix comment. * tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man, tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated. Added some `FILES' sections. More use of @...@ directives. Other minor updates. * arch/djgpp/README, font/devutf8/NOTES: Updated. * doc/homepage.ms, doc/groff.texinfo: Updated. * man/groff.man, man/roff.man: Updated. * src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man, src/devices/grops/grops.man, src/devices/grotty/grotty.man: Updated. * src/preproc/pic/pic.man: Updated. * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old instead of -mdoc.old. * src/roff/grog/grog.man: Document -mdoc and -mdoc-old. * src/roff/nroff/nroff.man: Updated. * NEWS: Updated. * tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment. * tmac/mm.diff: Removed -- it has no use now since the mm package is part of groff. * tmac/*: Removed trailing spaces. * arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac subdirectory also).
* Invert current behaviour: Search first FOOBAR.tmac, thenwlemb2000-10-251-6/+6
| | | | | | | | | | | | | | | | | tmac.FOOBAR. * src/roff/troff/input.cc: Introduce MACRO_POSTFIX. (open_mac_file, macro_source): Implement it. * src/roff/troff/troff.man, tmac/groff_tmac.man, man/roff.man, doc/groff.texinfo, NEWS: Document it. * src/roff/nroff/nroff.man, src/roff/groff/groff.man, man/groff.man: Small documentation improvements. * test-groff: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac subdirectory also). * font/devps/Makefile.sub: Fix rules for dingbats.*map.
* Add local tmac directory (groff/site-tmac).wlemb2000-10-241-8/+15
| | | | | | | | | * Makefile.in: Add $(localtmacdir). (uninstall_dirs): Add $(localtmacdir). * Makefile.comm (.man.n): Add @LOCALMACRODIR@. * tmac/Makefile.sub (install_data, uninstall_sub): Handle man.local in $(localtmacdir). Create $(localtmacdir). * man/roff.man, src/roff/troff/troff.man, NEWS: Updated.
* * aclocal.m4 (GROFF_PAGE): Add test for new directory structure.wlemb2000-10-231-3/+5
| | | | | | | * configure: Updated. * arch/djgpp/README, font/devutf8/NOTES: Use it. * man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and @MACRODIR@ instead of hard-coded directories.
* Replace tmac.safer with a real secure solution.wlemb2000-10-141-2/+1
| | | | | | | | | | * src/roff/troff/input.cc (open_request, opena_request, pipe_source, system_request, pipe_output): Disable requests if in safer mode. * src/roff/groff/groff.cc (main): Remove reference to tmac.safer. * tmac/tmac.safer, tmac/groff_msafer.man: Removed. * tmac/Makefile.sub, NEWS, man/roff.man, tmac/groff_tmac.man, doc/groff.texinfo, src/roff/groff/groff.man, src/roff/troff/troff.man, arch/djgpp/README: Updated.
* * NEWS, doc/groff.texinfo, tmac/groff_tmac.man, man/roff.man,wlemb2000-08-251-1/+11
| | | | | | | | src/roff/troff/troff.man: Document Eli's latest changes. * src/roff/troff/input.cc (open_mac_file, macro_source): Support macro file names of the form NAME.tmac as well as tmac.NAME.
* * src/roff/nroff/nroff.sh: Fix infinite loop.wlemb2000-05-281-11/+0
| | | | | | | | | | | | * src/utils/indxbib/indxbib.cc: Add declaration of mkstemp(). * man/roff.man: Removed unused macro. * Makefile.in (dist): Remove src/xditview/Imakefile explicitly. This is needed e.g. if you do `make distclean; ./configure; make dist'.
* * tmac/tmac.an: Added a new command line option `-rSxx' (`xx' can bewlemb2000-05-221-148/+196
| | | | | | | | | | | | | | | | | | | | 10, 11, or 12) to support output with 11pt and 12pt base font sizes. `.SS' now produces a heading with a smaller size than `.SH'. Completely formatted. * doc/groff.texinfo, tmac/groff_man.man, NEWS: Document it. * man/groff.man: Improved table appearance. Use of `eo' request to reduce number of doubled backslashes in macro definitions. Replacing `e' with `(rs'. Other minor fixes. * src/preproc/tbl/main.cc: Insert HTML table end tag before `lf' to have correct line number. * INSTALL: Small improvement. * man/roff.man, tmac/groff_tmac.man: Updates (with corrections by WL).
* * man/groff.man, man/roff.man, tmac/groff_tmac.man: Minorwlemb2000-05-101-12/+11
| | | | | | | | | | | improvements. * doc/groff.texinfo: Extended history section. More conversion to @Deffn macros. More .tr documentation. * font/devcp1047/R.proto, font/devcp1047/Makefile.sub, font/devcp1047/DESC.proto: New files. * font/*/*: Change it.
* * tmac/groff_tmac.man, man/groff.man, man/roff.man: Fixing @MANxEXT@wlemb2000-05-021-46/+40
| | | | | | | | | | expansion. * NEWS: Document the three new man pages. * aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call. * configure: Updated. * font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).
* Added grap support to grog.wlemb2000-05-011-0/+490
* src/roff/grog/grog.sh, src/roff/grog/grog.pl: Implement it. * src/roff/grog/grog.man: Document it. * doc/groff.texinfo, NEWS: Add info about grap support. Add new man pages comptributed by Bernd Warken <bwarken@mayn.de> (with slight fixes by me). * tmac/groff_tmac.man: New file documenting tmac mechanism. * tmac/Makefile.sub: Add groff_tmac.man. * man/roff.man: New file giving overview of roff system. * man/troff.man: A short reference of troff. * man/Makefile.sub: Add roff.man and troff.man. Added grap support to groff. * src/roff/groff/groff.cc: Implement it. * src/roff/groff/groff.man: Document it.