summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* fix compatibility issues with man and mdocwlemb2001-05-083-6/+18
|
* The .ns and .rs requests are now honoured not only in the top-levelwlemb2001-05-077-55/+64
| | | | | | | | | | | | | | | | | | | but in all diversions (similar to UNIX troff). This change is based on a patch from Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>. * src/roff/troff/div.h (diversion): Add `no_space_mode' member. (top_level_diversion): Remove `no_space_mode' member. * src/roff/troff/div.cc (diversion::diversion, top_level_diversion::top_level_diversion): Updated. (macro_diversion::output): Reset `no_space_mode'. (no_space, restore_spacing): Use `curdiv' unconditionally. (space_request, blank_line): Check `curdiv->no_space_mode'. (no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use `curdiv' unconditionally. * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo: Updated.
* Added two new requests `de1' and `am1' which are similar to `de' andwlemb2001-05-068-40/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `am' with the difference that compatibility mode is saved on entry, switched off during macro execution, and restored on exit. * src/roff/troff/input.h: Added two new special characters (COMPATIBLE_SAVE, COMPATIBLE_RESTORE). * src/roff/troff/input.cc (input_iterator): Added two member functions `save_compatible_flag' and `get_compatible_flag'. (input_stack): Ditto. (string_iterator): Ditto. Also add private member `saved_compatible_flag'. (token::next): Use COMPATIBLE_SAVE and COMPATIBLE_RESTORE. (calling_mode): New enumeration. (do_define_macro): Use it. Insert COMPATIBLE_SAVE and COMPATIBLE_RESTORE at the beginning and end of macro, respectively. (define_macro, define_indirect_macro, append_macro, ignore): Use `calling_mode'. (define_nocomp_macro, append_nocomp_macro): New functions. (init_input_requests): Updated. (do_request): Rename local variable `saved_compatible_flag' to `old_compatible_flag'. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it. * tmac/an-old.tmac: Use `de1' instead of `de' request for all public and trap-invoked macros. As a consequence, the man macros work in compatibility mode also. * Makefile.in: Use $(mandir).
* * src/utils/afmtodit/afmtodit.pl: Fix serious typo.wlemb2001-05-053-20/+24
|
* Rename register .q to .nswlemb2001-05-056-15/+15
|
* Added `.q' number register: Returns 1 if in no-space mode (if inwlemb2001-05-056-2/+51
| | | | | | | | | top-level diversion), 0 otherwise. * src/roff/troff/div.cc (no_space_mode_reg): New class. (init_div_requests): Updated. * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo: Document it.
* * src/roff/nroff/nroff.man: Improved documentation (especiallywlemb2001-05-042-17/+40
| | | | locales).
* * REVISION: Increased to 1.wlemb2001-05-024-6/+7
| | | | * win32-diffs: Updated.
* Added `brp' request: This is p as a request.wlemb2001-05-029-28/+79
| | | | | | | | | | | | | | | | | * src/roff/troff/env.cc (environment::do_break): Add parameter `spread'. (do_break_request): New function (was `break_request'). (break_request): Calls `do_break_request'. (break_spread_request): New; calls `do_break_request'. (init_env_requests): Updated. * src/roff/troff/env.h: Updated. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it. * VERSION: Increased to 1.17.1. * tmac/an-old.tmac: Fix minor compatibility mode issue. * tmac/troffrc-end: Make it really work in compatibility mode.
* * src/utils/lkbib/lkbib.cc: Switch inclusion order of stdio.h andwlemb2001-04-273-17/+44
| | | | | | | | stdlib.h. * MORE.STUFF: Updated, using a patch from Kees Zeelenberg <c.zeelenberg@hccnet.nl>.
* * src/libs/libgroff/getopt.c, src/include/getopt.h: Updating towlemb2001-04-223-9/+32
| | | | latest versions from glibc CVS archive.
* * src/devices/grohtml/html-chars.h: Removed. It isn't used.wlemb2001-04-214-29/+4
| | | | | * src/devices/grohtml/Makefile.sub, src/devices/grohtml/post-html.cc: Updated.
* *** empty log message ***wlemb2001-04-201-0/+4
|
* * configure.in: Move check for mkstemp() to...wlemb2001-04-2010-47/+159
| | | | | | | | | | | | | | | | * aclocal.m4 (GROFF_MKSTEMP): This new function. * configure: Regenerated. * src/include/groff-getopt.h: Don't use variable names in declarations. * configure.in: Add special check for mkstemp(). * src/libs/libgroff/tmpfile.cc: Use it. * src/utils/indxbib/indxbib.cc: Ditto. * src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style. * src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use `const'.
* `Version_string' as C++ object was not visible to linker from Cwlemb2001-04-2028-34/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object files. Add `const' to `Version_string'. * src/utils/pfbtops/pfbtops.c (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc (main), src/preproc/tbl/main.cc (main), src/preproc/pic/main.cc (main), src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc (main), src/preproc/html/pre-html.cc (scanArguments), src/preproc/refer/refer.cc (main), src/preproc/soelim/soelim.cc (main), src/devices/grotty/tty.cc (main), src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc (main), src/devices/grohtml/post-html.cc (main), src/devices/grolbp/lbp.cc (main), src/utils/tfmtodit/tfmtodit.cc (main), src/utils/hpftodit/hpftodit.cc (main), src/utils/lookbib/lookbib.cc (main), src/utils/indxbib/indxbib.cc (main), src/utils/lkbib/lkbib.cc (main), src/utils/addftinfo/addftinfo.cc (main): Implement it. * src/roff/groff/pipeline.c: Add _UWIN. * src/include/nonposix.h: Ditto. * src/include/lib.h: Use HAVE_STRERROR. * src/roff/groff/pipeline.c: Ditto. * src/preproc/html/pre-html.cc: Remove declaration of `strerror'. * src/libs/libgroff/Makefile.sub (version.cc): Add `extern "C"'. * src/utils/pfbtops/pfbtops.c: Add copyright notice. * win32-diffs: Updated. * src/utils/hpftodit/hpftodit.cc (read_map): Fix compiler warning.
* * src/preproc/html/pre-html.cc (scanArguments): Use `troff_command'wlemb2001-04-1934-110/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of hardwired `"troff"'. (char_buffer::read_file): Remove unused variables. (char_buffer::write_file_troff): Ditto. (char_buffer::write_file_html): Ditto. (generateImages): Ditto. (abs): Removed. * src/utils/addftinfo/addftinfo.cc (main): Fix compilation problem. * src/include/lib.h: Don't include `groff-getopt.h' for UWIN. * src/libs/libgroff/font.cc (font::load_desc): Fix compiler warning. * src/libs/libbib/index.cc (index_search_item_iterator::get_tag, index_search_item::search1): Ditto. * src/roff/troff/node.h (width_list): Reorder members. * src/roff/troff/input.cc (do_define_macro): Fix compiler warning. (lookup_warning): Ditto. (prepend_string): Commented out. * src/roff/troff/dictionary.cc (is_good_size): Fix compiler warning. * src/roff/troff/reg.cc (number_value_to_ascii): Ditto. * src/preproc/tbl/main.cc (process_format): Ditto. * src/preproc/pic/pic.y (define_variable, reset, reset_all): Fix compiler warnings. * src/preproc/pic/pic.cc: Updated. * src/preproc/eqn/lex.cc (init_table): Fix compiler warnings. * src/preproc/eqn/over.cc (over_box::compute_metrics): Ditto. * src/preproc/refer/command.cc (execute_command): Ditto. * src/preproc/refer/ref.cc (sortify_title, find_month): Ditto. * src/preproc/refer/token.cc (lookup_token): Ditto. * src/preproc/soelim/soelim.cc: Ditto. * src/preproc/html/pushbackbuffer.cc (ERROR): Ditto. (isHexDigit): Commented out. (pushBackBuffer::isString): Remove unused variable. * src/devices/grops/ps.cc (ps_printer::special): Fix compiler warning. * src/devices/grops/psrm.cc (resource_manager::lookup_font, resource_manager::read_resource_arg, read_one_of, parse_extensions): Ditto. * src/devices/grodvi/dvi.cc (dvi_printer::draw): Ditto. * src/devices/grolj4/lj4.cc (lj4_font::handle_unknown_font_command, lookup_paper_size): Ditto. * src/devices/grohtml/post-html.cc (is_subsection): Commented out. (text_glob, element_list): Reorder members. * src/devices/grohtml/html-text.cc (html_text::do_pre): Remove compiler warning. * src/devices/grohtml/html-text.h (html_text::emit_space): Change return value to `void'. * src/devices/grohtml/output.cc (word_list::word_list): Fix order of initializers. * src/devices/grohtml/html.h (simple_output::check_newline, simple_output::space_or_newline, simple_output::enable_newlines): Add return value. * src/devices/grolbp/lbp.cc (wp54charset, set_papersize): Remove compiler warnings. * src/utils/tfmtodit/tfmtodit.cc (tfm::load, gf::load, main): Ditto. * src/utils/hpftodit/hpftodit.cc (File::seek, read_symbol_sets, output_ligatures, output_charset, read_map): Ditto. * src/utils/lookbib/lookbib.cc (main): Ditto. * src/utils/indxbib/indxbib.cc (main, fwrite_or_die): Ditto. (do_file): Fix typo (`=' -> `=='). * src/utils/lkbib/lkbib.cc (main): Remove compiler warning. * src/utils/addftinfo/addftinfo.cc (main): Ditto.
* * src/roff/nroff/nroff.sh: Adding -p (pic) and -t (tbl) options.wlemb2001-04-184-17/+36
| | | | | | | | | Fix usage of GROFF_BIN_PATH. * src/roff/nroff/nroff.man: Updated. * NEWS: Fixing typos. Updated.
* *** empty log message ***groff-1_17awlemb2001-04-171-0/+8
|
* minor installation fixwlemb2001-04-171-1/+1
|
* * doc/groff.texinfo: More info on conditionals.groff-1_17wlemb2001-04-162-579/+703
|
* * src/roff/troff/node.cc (make_glyph_node): Emit warning messagewlemb2001-04-152-1/+4
| | | | about missing special character only if the name is non-null.
* * doc/groff.texinfo: Added some info about groff internals.wlemb2001-04-152-65/+261
|
* Removing the grohtml-old device driver which is now obsolete.wlemb2001-04-1449-13336/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/devices/grohtml-old/*: Removed. * font/devhtml-old/*: Removed. * src/libgroff/htmlindicate.cc (graphic_start, graphic_end): Remove comments. * Makefile.in (CCPROGDIRS, DEVDIRS): Updated. * test-groff (PATH): Updated. * tmac/Makefile.sub (NORMALFILES): Updated. * tmac/an-old.tmac: Remove special code for html-old device. Replace `html-or-html-old' register with `an-html'. * tmac/eqnrc: Updated. * tmac/html-old.tmac: Removed. * tmac/troffrc, tmac/troffrc-end: Updated. * tmac/www.tmac: Remove special code for html-old device. Replace `html-or-html-old' register with `www-html'. * src/libgroff/tmpfile.cc (remove_tmp_files), src/libgroff/htmlindicate.cc (graphic_end), include/htmlindicate.h, src/preproc/grn/*.cc, src/roff/groff/env.{cc,h}: Remove `void' parameter if used as a single argument for consistency with rest of source code. * aclocal.m4, tmac/an-old.tmac: Fix copyright. * src/roff/troff/troff.man: Fixing typos.
* * doc/pic.ms: Fixing many font switches.wlemb2001-04-134-76/+122
| | | | | * doc/groff.texinfo: Fixes, additions. * MORE.STUFF: Updated.
* * src/devices/grohtml/grohtml.man: Updated manual page regardingwlemb2001-04-1320-220/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simple anchor. * src/preproc/html/pre-html.cc (createImage): Fixed right hand cropping of images. (removeTempFiles): New function to tidy up temporary files. * src/preproc/html/pre-html.cc (main): Calls `removeTempFiles()'. Many fixes to do with the new inline suppress node and image regions are much tighter. * src/devices/grohtml/post-html.cc: New method `is_auto_img'. (generate_img_src): New function. (html_printer::do_auto_image): Utilizes it. (do_heading, do_title): Include inline images within their contents. (html_printer::begin_page): Tidied up comments that are issued to the html output file. (html_printer::do_fill): Fixed so that `.nf' works with fonts other than courier. (text_glob::is_br): New method used by do_heading. * tmac/s.tmac: If -Thtml then emit $1 in .IP rather than its equivalent diversion. * src/include/html-strings.h: Altered image tags to reflect the inline image node. * src/include/htmlindicate.h (html_end_suppress): Added `is_inline' parameter. * src/preproc/eqn/main.cc: Will suppress generation of image tags if it is already inside a pic image. Only emit tags if the argument `-Tps:html' is present. * src/preproc/tbl/main.cc: Changes to reflect additional `html_end_suppress' parameter. * src/roff/troff/env.cc: Only emit eol tag if a node has been emitted since the last eol tag was written. * src/roff/troff/env.h: New boolean `emitted_node'. * src/roff/troff/input.cc (do_suppress): Handles extra suppress nodes O3, O4, O5. No longer use `output_low_mark_miny'. * src/roff/troff/node.cc (check_charinfo): New method. (troff_output_file::determine_line_limits): Alterations to limit checking. * tmac/www.tmac: Changes to reflect new suppress nodes. * src/devices/grohtml/post-html.cc (html_printer::add_to_sbuf): Escape the html_glyph in the buffer. (str_translate_to_html): Output the unescaped escaped_char. * src/devices/grohtml/html-text.cc (issue_table_begin): Set `frame=void', not `frame=none'. Add `border=0'. * contrib/mm/groff_mm.man: Fixing some typos. * PROBLEMS: Add some words on how to avoid wrapper macros. * doc/groff.texinfo: Improve documentation of troff's -a option. Documentation for pic added (doc/pic.ms).
* * src/include/nonposix.h (fileno) [_MSC_VER]: Removed.wlemb2001-04-1110-15/+37
| | | | | | | | | | | | | | | | | | | | * font/devlbp/Makefile.sub (CLEANADD): Set it. * tmac/Makefile.sub (CLEANADD): Add tmac.local-s. * Makefile.in (dist): Don't remove src/xditview/Imakefile, but ... * Makefile.sub (DISTCLEANFILES): Here. * libs/libgroff/new.cc: Include `nonposix.h'. * win32-diffs: Updated. When inside displays, an empty input line warning should be suppressed. If another macro call is put inside a display, all subsequent empty lines found in that display caused a warning to be emitted. (doc-empty-line): Check the `doc-display-depth' register to determine whether we are inside display or not. the only change is that `.Fn' and `.Fc' put a final semicolon after a function declaration in the SYNOPSIS section).
* Added skeleton macro for defunct macros.wlemb2001-04-104-88/+73
| | | | | | | | | | | | | | | Updated documentation. * tmac/doc.tmac (doc-defunct-macro): New macro. (Db, Ds, Ex, Or, Sf): Reimplemented using this macro. (doc-restore-global-vars): Fixed typo. * tmac/doc-common: Removed `Or' and `Sf' registers. Moved obsolete `Ds' macro to doc.tmac. * tmac/groff_mdoc.man: Bump document date. Document `.Vt' under ``Variable Types''. Removed documentation for obsolete `.Or' macro.
* * NEWS: Updated.wlemb2001-04-1029-458/+1008
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/groff.texinfo: Many fixes, additions, clarifications, etc. * src/devices/grodvi/dvi.cc (main): Accept --help and --version. (usage): Add stream argument. Don't exit. * src/devices/grohtml/post-html.cc (main): Accept --help and --version. Write --version output to stdout, not stderr. (usage): Add stream argument. Don't exit. * src/devices/grohtml-old/html.cc (main): Accept --help and --version. (usage): Add stream argument. Don't exit. * src/devices/grolbp/lbp.cc (long_options): Use symbolic getopt.h constants. (usage): Add stream argument. Don't exit. (main): Write --help output to stdout, not stderr. * src/devices/grolj4/lj4.cc (main): Accept --help and --version. (usage): Add stream argument. Don't exit. * src/devices/grops/ps.cc (main): Accept --help and --version. (usage): Add stream argument. Don't exit. * src/devices/grotty/tty.cc (main): Accept --help and --version. (usage): Add stream argument. Don't exit. * src/preproc/eqn/main.cc (usage): Add stream argument. Don't exit. (main): Accept --help and --version. * src/preproc/grn/main.cc (usage): Add stream argument. Don't exit. (main): Accept --help and --version. * src/preproc/html/pre-html.cc (usage): Add stream argument. (scanArguments): Accept --help and --version. * src/preproc/pic/main.cc (usage): Add stream argument. Don't exit. (main): Accept --help and --version. * src/preproc/refer/refer.cc (main): Accept --help and --version. (usage): Add stream argument. Don't exit. * src/preproc/soelim/soelim.cc (usage): Add stream argument. Don't exit. (main): Accept --help and --version. * src/preproc/tbl/main.cc (usage): Add stream argument. Don't exit. (main): Accept --help and --version. * src/roff/groff/groff.cc (main): Accept --help and --version. (synopsis): Add stream argument. (help): Write --help output to stdout, not stderr. (usage): Add stream argument. Don't exit. * src/roff/grog/grog.pl: Accept --help and --version. (help): New sub. * src/roff/grog/grog.sh: Accept --help and --version. * src/roff/nroff/nroff.sh: Accept --help and --version. * src/roff/troff/input.cc (USAGE_EXIT_CODE): Remove macro. (usage): Add stream argument. Don't exit. (main): Accept --help and --version. * src/utils/addftinfo/addftinfo.cc (main): Accept --help and --version. (usage): New function with stream argument, doesn't exit. * src/utils/hpftodit/hpftodit.cc (main): Accept --help and --version. (usage): New function with stream argument, doesn't exit. * src/utils/indxbib/indxbib.cc (main): Accept --help and --version. (usage): Add stream argument. Don't exit. * src/utils/lkbib/lkbib.cc (usage): Add stream argument. Don't exit. (main): Accept --help and --version. * src/utils/lookbib/lookbib.cc (usage): Add stream argument. Don't exit. (main): Accept --help and --version. * src/utils/pfbtops/pfbtops.c (usage): Add stream argument. Don't exit. (main): Accept --help and --version. * src/utils/tfmtodit/tfmtodit.cc (main): Accept --help and --version. (usage): Add stream argument. Don't exit.
* Fix indentation in SYNOPSIS.wlemb2001-04-097-103/+139
| | | | | | | | | | | | | | | | | | | | | | | | Updated to include changes of latest BSD mdoc version (basically, `.Fn' and `.Fc' put a final semicolon after a function declaration in the SYNOPSIS section. * tmac/doc.tmac (doc-in-synopsis-count): Replaced with ... (doc-in-synopsis-section): New variable. Updated all related functions. (doc-indent-synopsis-active): New register. (Nd, Fn, Fo): Use it. (Cd): It requires manipulation of n[doc-indent-synopsis] so that `.Cd' with long argument line produces indented wrapped lines. Also, the misplaced `.nop *[doc-Nm-font]c'' caused extra undesirable line break to be output. (doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to `.rs'. (Fn, Fc): Add final `;' to output. (doc-save-global-vars, doc-restore-global-vars): Updated. * tmac/doc-common: Remove `Ex' register. Updated. * tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated copyright.
* * tmac/doc.tmac (Cd): Simplify code.wlemb2001-04-073-31/+20
| | | | * tmac/groff_mdoc.man: Document some behaviour of `Cd' request.
* typoswlemb2001-04-061-4/+3
|
* Implement continuous underlining for nroff mode. To do that, a newwlemb2001-04-0617-55/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | request in the ditroff language has been added: `x u N' (N is 0 or 1). X and Y are now transparent to end-of-sentence recognition. * src/include/printer.h (printer): Add `type' parameter to `special' method. * src/libs/libdriver/printer.cc (printer::special): Updated. * src/libs/libdriver/input.cc (do_file): Handle `x u N'. * src/devices/dvi/dvi.cc (dvi_printer::special): Handle only specials of type `p'. * src/devices/grohtml/post-html.cc (html_printer::special): Ditto. * src/devices/grohtml-old/html.cc (html_printer::special): Ditto. * src/devices/grops/ps.cc (ps_printer::special): Ditto. * src/devices/grotty/tty.cc: Add new enum CU_MODE. (glyph::order): New method. (tty_printer::add_char): Use it. (tty_printer::special): New method. (tty_printer::end_page): Implement it. * src/roff/troff/node.h (special_node): Add `no_init_string' member. * src/roff/troff/node.cc (special_node::special_node): Add parameter to set `no_init_string'. (special_node::tprint_start): Use it. (special_node::same, special_node::copy): Updated. (special_node::ends_sentence): New method. (troff_output_file::start_special): Add parameter to include inititialization of special conditionally. * src/roff/troff/env.h (environment): New member `underline_spaces'. * src/roff/troff/env.cc (do_underline_special): New function. (environment::set_font): Use it. (do_underline): Use it. This was `underline()'. (underline): Call `do_underline()'. (continuous_underline): New function which calls `do_underline()'. (environment::newline): Use `do_underline_special()'. (init_env_requests): Updated. * NEWS, man/troff_out.man: Updated. * font/devutf8/R.proto: Fix code of 'shc'.
* Fix typo.wlemb2001-04-062-1/+31
|
* Fixes from Ruslan. See ChangeLog.wlemb2001-04-063-96/+66
|
* Remove .Ld from mdoc package; replace it with special handling ofwlemb2001-03-307-250/+294
| | | | | | | | | | | | | | | | | `...'. * tmac/doc-common: Remove `Ld' register. Uncomment `doc-volume-ds-*' strings. Remove `doc-operating-system-default'. (Os): Updated. * tmac/doc-syms (Ld): Removed. * tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle `...' specially. * NEWS: Updated. * tmac/groff_mdoc.man: Many fixes and updates. * tmac/www.tmac: Save compatibility mode.
* * tmac/troffrc-end: Protect data with `.do'. Reported by T. Kurtwlemb2001-03-293-26/+32
| | | | Bond <tkb@tkb.mpl.com>.
* * tmac/groff_mdoc.man: Many fixes.wlemb2001-03-283-79/+98
| | | | | * src/preproc/soelim/soelim.man: Document that `.<whitespace>so' isn't recognized.
* * tmac/an-old.tmac (TP, an-do-tag): Reduce line length while inwlemb2001-03-273-5/+16
| | | | | | | diversion. This fixes overlong tags. * tmac/doc-syms: Fix error messages. * tmac/an-old.tmac: Remove incorrect double backslashes.
* * doc/groff.texinfo: Fixed and improved documentation of fonts.wlemb2001-03-262-48/+83
|
* * tmac/Makefile.sub: Strip mdoc.local alsowlemb2001-03-243-6/+11
| | | | * tmac/strip.sed: Fixed.
* * tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch forwlemb2001-03-247-4292/+3881
| | | | | | | | | | selecting the font size. * tmac/groff_mdoc.man, NEWS: Document it. * tmac/groff_mdoc.reference.man: Small updates and renamed to ... * tmac/groff_mdoc.man: This. The quick reference has been removed. * tmac/Makefile.sub, NEWS: Updated.
* * src/roff/troff/div.cc (save_vertical_space): Add default argumentwlemb2001-03-237-177/+291
| | | | | | | | | | to `sv' request. * src/roff/troff/env.cc (family_change): Make `.fam' accept no argument to restore previous font family. * src/roff/troff/troff.man, man/groff.man, NEWS: Updated. * doc/groff.texinfo: More fixes and additions (mainly for font manipulating commands).
* fixing subfile postfixeswlemb2001-03-231-4/+4
|
* Replaced mdoc implementation. The new version is `state of thewlemb2001-03-2318-15828/+8376
| | | | | | | | | | | | | | | | | | | art', using almost all new features of groff 1.17 -- it won't run with older versions. * tmac/doc.tmac: Completely rewritten. * tmac/doc-common: Ditto. * tmac/doc-nroff: Ditto. * tmac/doc-ditroff: Ditto. * tmac/doc-syms: Ditto. * tmac/mdoc.local: New file. * tmac/groff_mdoc.samples.man: Replaced with ... * tmac/groff_mdoc.reference.man: New file, covering mdoc completely. * tmac/strip.sed: Updated. * tmac/Makefile.sub: Updated. * INSTALL: Updated. * tmac/groff_man.man: Add `man.local' to the FILES section.
* * doc/groff.texinfo: Added many @noindent.wlemb2001-03-222-799/+867
| | | | | | Replaced @end_Example -> @endExample. Added info whether registers are r/o. Many other additions and fixes.
* * doc/groff.texinfo: Added macro @Var (and some hacks due to bugswlemb2001-03-212-269/+363
| | | | | | | | in makeinfo of texinfo 4.0) to be used in @Def* macros. Improved @Def* macros: Now the exact syntax of request, register, and escapes is shown. Added macros for parentheses and brackets to be used in @Def*. Many fixes and improvements of the documentation.
* * doc/groff.texinfo: Added new index: `st' (for strings).wlemb2001-03-203-531/+578
| | | | | | | | | | Added macros @Defstr(x). Added macro @Example (adding @group). Other minor improvements. * tmac/an-old.tmac (an-p-footer): If `cR' is set, replace page number with name of man page.
* * doc/groff.texinfo: Added two new indices: `es' (for escapes) andwlemb2001-03-192-1416/+1747
| | | | | | | | | | `rq' for requests. `fn' is no longer used. Added macros @Defreq(x), @Defreg(x), and @Defesc(x). Removed @Deffn(x). * doc/groff.texinfo: Complete revision. Added many @Deffn to gain consistency.
* * man/groff_font.man: Document `prepro', `postpro', and `print'.wlemb2001-03-1910-22/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/roff/groff/groff.man: Improve documentation of `-l' and `-L'. * src/devices/grohtml/grohtml.man: Fixing typos. * tmac/s.tmac (@IP): Pass `.ip' html tag. * tmac/groff_mwww.man: Remove .LINE macro * tmac/www.tmac (LINE): Add `.ti'. * src/devices/grohtml/post-html.cc (html_printer): New member `indent'. (html_printer::emit_raw): Use it. (html_printer::do_linelength): Ditto. (html_printer::do_pageoffset): Ditto. (html_printer::do_indentation): Ditto. (html_printer::do_tempindent): Ditto. (html_printer::do_break): Ditto. (html_printer::begin_page): Ditto. (html_printer::do_indentedparagraph): New function. (html_printer::troff_tag): Handle `.ip'. * src/devices/grohtml/html-text.cc (html_text::issue_table_begin): Add `<td width=...>' handling. (html_text::do_table): Add parameter. (html_text::do_indent): Updated. * src/devices/groohtml/html-text.h: Updated.
* internal updatewlemb2001-03-171-0/+3
|