summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * man/roff.man, src/roff/troff/troff.man, NEWS, doc/groff.texinfo:wlemb2000-10-244-14/+16
| | | | | | | | Updated and minor fixes. Rename font/devps/generate/dingbats[r]map to dingbats.[r]map. * font/devps/generate/Makefile.sub, arch/djgpp/README: Adjust.
* Add local tmac directory (groff/site-tmac).wlemb2000-10-248-16/+49
| | | | | | | | | * 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-237-59/+83
| | | | | | | * 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.
* *** empty log message ***wlemb2000-10-231-0/+0
|
* Move hyphen.us to tmac directory.wlemb2000-10-239-26/+50
| | | | | | | | | | | | | | | | * src/roff/troff/hyphen.us: Removed. * src/tmac/hyphen.us: Added. * src/roff/troff/Makefile.sub, tmac/Makefile.sub: Updated. Change installation structure for data files from .../groff/... to .../groff/<version><revision>/... to be conform with other GNU programs. * Makefile.in, Makefile.comm, src/utils/indxbib/Makefile.sub, doc/Makefile, src/xditview/Imakefile.in: Implement it. * NEWS: Document it. * NEWS, src/roff/nroff/nroff.man, src/roff/groff/groff.man,
* Implement $GROFF_BIN_PATH environment variable (which defaults towlemb2000-10-2214-13/+113
| | | | | | | | | | | | | | | | | $bindir) used for child programs of groff and similar wrappers. * gendefs.sh: Improve documentation. * Makefile.comm (,man.n), src/include/Makefile.sub (defs.h), src/preproc/eqn/Makefile.sub (neqn), src/roff/nroff/Makefile.sub (nroff): Add $(bindir). * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Implement $GROFF_BIN_PATH. * src/roff/groff/groff.cc (main): Implement $GROFF_BIN_PATH and $GROFF_PATH__ (the latter for communication with troff). * src/roff/troff/input.cc (main): Use $GROFF_PATH__ for $PATH if set. * src/roff/nroff/nroff.man, src/roff/groff/groff.man, doc/groff.texinfo: Document it.
* * src/roff/troff/node.cc: Fixed calculation of opminx and fixedwlemb2000-10-185-16/+67
| | | | | | | | | | | non-intrusive eol marker. (troff_output_file::determine_line_limits): New function. (troff_output_file::draw): Use it. * src/roff/troff/env.cc (environment::add_html_tag): Use output() + output_pending_lines() instead of output_line(). * src/preproc/eqn/main.cc (do_file): Fix graphic_end(). * src/preproc/html2/pre-html.cc (char_buffer::write_file_troff, createImage): Small fixes.
* * src/devices/grops/ps.cc (main), src/devices/grops/psrm.ccwlemb2000-10-143-3/+30
| | | | (resource_manager::output_prolog): Replace setenv() with putenv().
* Replace tmac.safer with a real secure solution.wlemb2000-10-1413-156/+135
| | | | | | | | | | * 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.
* internal updatewlemb2000-10-112-39/+17
|
* * src/libs/libbib/map.c, src/libs/libgroff/getcwd.c,wlemb2000-10-0910-32/+40
| | | | | | | | | | | | | 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 "..."..."'.
* internal updatewlemb2000-10-081-354/+181
|
* internal updatewlemb2000-10-081-254/+173
|
* internal updatewlemb2000-10-071-128/+118
|
* Adding a new escape sequence B'...': If the string betweenwlemb2000-10-076-11/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the delimiters is a valid numeric expression, return the character `1', and `0' otherwise. This is an analogon to A. * src/roff/troff/input.cc (do_expr_test): Implement it. (token::next): Use it. * src/roff/troff/troff.man, NEWS, man/groff.man: Document it. * tmac/tmac.trace: Made independent from escape character. Adding a new request .dei: define indirect. The first and second parameter of .dei are taken from string registers instead directly; this very special request is needed to make tmac.trace independent from the escape character (which might even be disabled). * src/roff/troff/input.cc (do_define_macro): Implement it. (define_macro_indirect): New function. (init_input_requests): Use it. Adding two requests .ecs and .ecr: Save and restore the escape character. These two requests are needed to make tmac.trace independent from the escape character (which might even be disabled). * src/roff/troff/input.cc (save_escape_char, restore_escape_char): Implement it. (init_input_requests): Use it. * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
* internal updatewlemb2000-10-051-413/+304
|
* internal updatewlemb2000-10-034-138/+169
|
* internal updatewlemb2000-10-013-218/+189
|
* internal updatewlemb2000-09-305-435/+556
|
* internal updateswlemb2000-09-254-8/+141
|
* internal updatewlemb2000-09-231-128/+146
|
* Internal update.wlemb2000-09-225-577/+646
|
* Adding a new option -P and new environment variable GROPS_PROLOGUEwlemb2000-09-225-9/+58
| | | | | | | | | | | to grops, selecting a different prologue file (minor modifications by WL). * src/devices/grops/psrm.cc (resource_manager::output_prolog), src/devices/grops/ps.cc (main): Implement it. * src/devices/grops/grops.man, NEWS: Document it. * INSTALL: Add info about selecting paper format.
* * INSTALL: Add info about selecting paper format.wlemb2000-09-222-0/+12
|
* Internal update.wlemb2000-09-222-27/+43
|
* * src/roff/troff/input.cc (main): Fixing compiler warning.wlemb2000-09-215-21/+52
| | | | | | | * src/include/{driver.h, lib.h}: Move inclusion of string.h and strings.h from the former to the latter. * src/devices/grolbp/lpb.cc, src/include/lib.h: Move strncasecmp() stuff from the former to the latter.
* internal results from conversion to new formatwlemb2000-09-195-483/+2004
|
* new versionwlemb2000-09-181-0/+4824
|
* * New Changelog-format, it will show changes better.jhaegg2000-09-141-1/+8
| | | | | | | | Easier for other to use. (Somehow I didn't really understand why the e-mail address was supposed to be 'jh at axis.com' in the Changelog. :-) path lists use the semicolon as a separator.
* * version 2.0jhaegg2000-09-141-0/+8
| | | | | | | | * Had to do something about my version numbering. The main CVS archive was not in sync with mine. So, now it is 2.0. :-) * MC had a bug in column calculation, (thanks to T. Kurt Bond)
* Sorry about this, 'commit' didn't allow -rjhaegg2000-09-1414-22/+41
|
* Implementing two new requests .tm1 and .tmc: The former is similarwlemb2000-09-118-14/+102
| | | | | | | | | | | | | | | | | | to .tm but can output leading spaces; its syntax is similar to defining a string, i.e., a `"' can be used to mark the beginning of the string to be written to stderr: `.tm1 " test'. The latter is similar to .tm1 but doesn't write out a final newline character. * src/roff/troff/input.cc (terminal1, terminal_continue, do_terminal): New functions. (init_input_requests): Use them. * src/roff/troff/troff.man, NEWS, man/groff.man: Updated. * tmac/groff_mdoc.samples.man: Small fixes. * tmac/groff_mdoc.man: Fixing typo.
* Implementing a .nop request which does nothing.wlemb2000-09-026-1/+59
| | | | | | | | | * src/roff/troff/input.cc (nop_request): New function. (init_input_requests): Use it. * src/roff/troff/troff.man, NEWS, man/groff.man: Updated. * doc/groff.texinfo: Added some comments.
* * src/roff/troff/TODO: Updated.wlemb2000-08-302-4/+12
|
* * contrib/mm/Makefile.sub: New target 'all', makes all prerequisiteswlemb2000-08-282-1/+9
| | | | of 'install'.
* * doc/groff.texinfo: Fix comment how to compile the DVI file.wlemb2000-08-262-4/+7
|
* * font/devps/generate/Makefile (SHELL): Define explicitly towlemb2000-08-254-3/+18
| | | | | | | | | | "/bin/sh", for non-Unix platforms. (extraclean): Use a more portable "" quoting instead of a backslash (which doesn't work on DOS/Windows). * font/devlj4/generate/Makefile (extraclean): Ditto. * font/devdvi/generate/Makefile (extraclean): Ditto.
* * NEWS, doc/groff.texinfo, tmac/groff_tmac.man, man/roff.man,wlemb2000-08-257-18/+97
| | | | | | | | 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/include/posix.h: Remove definition of FILENAME_MAX.wlemb2000-08-2522-54/+474
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/preproc/html2/pre-html.h, pre-html.cc: Add return type to `sys_fatal' and `stop' function(). * test-groff: Updated. Added the new troff command .output <arg> to suppress output (while still obeying motion) and also the opminx, opminy, opmaxx, opmaxy registers (for passing the output dimensions to the output device). * src/roff/troff/div.cc (top_level_diversion::output): Use `width' parameter. * src/roff/troff/node.h, src/roff/troff/node.cc (troff_output_file::really_print_line, ascii_output_file::really_print_line, supress_output_file::really_print_line): Use `width' parameter. (troff_output_file::really_on, troff_output_file::really_off, output_file::on, output_file::off, real_output_file::on, real_output_file::off, real_output_file::really_on, real_output_file::really_off): New functions. (real_output_file:public output_file): New variable `output_on'. (real_output_file::begin_page, real_output_file::copy_file, real_output_file::transparent_char, real_output_file::print_line): Use it. (real_output_file::print_line): Use check_output_limits. * src/roff/troff/reg.h, src/roff/troff/request.h, src/roff/troff/input.cc (assign_registers): New function to remove two `goto's. (do_ps_file): Use it. (check_output_limits, reset_output_registers, output_request, init_output_requests): New functions. (init_input_requests): Updated. Added new grohtml2 device and html2 preprocessor (coding not yet finished) which will eventually replace grohtml. * Makefile.in, tmac/Makefile.sub, tmac/eqnrc, tmac/troffrc-end: Updated. * src/include/htmlindicate.h, src/include/htmlindicate (html_begin_suppress, html_end_suppress): New functions. * src/preproc/tbl/main.cc: Use it. * src/roff/groff/groff.cc: Add support for html2 device (which will automatically invoke the html2 preprocessor). * src/roff/troff/input.cc (is_html2): New variable. * src/roff/troff/troff.h, src/roff/troff/env.h, src/roff/troff/env.cc (environment::add_html_tag): New function (uses `is_html2'). (environment::do_break): Use it. * font/devhtml2/*: New files. * src/devices/grohtml2: New device. * src/preproc/html2: New preprocessor. * tmac/tmac.html-tags, tmac/tmac.html2: New files.
* Initial revisionwlemb2000-08-2512-0/+2099
|
* * html.cc (char_translate_to_html): New function.wlemb2000-08-242-28/+49
| | | | (str_translate_to_html): Use it.
* * src/devices/grolbp/lbp.cc: Same workaround for sinix as for AIX.wlemb2000-08-232-2/+6
|
* * src/include/lib.h: Provide a fix for IRIX to not includewlemb2000-08-222-0/+9
| | | | groff-getopt.h.
* * MORE.STUFF: Added info about unroff and troffcvt.wlemb2000-08-182-0/+34
|
* * configure.in: Don't provide an empty value for SH_SCRIPT_SED_CMDwlemb2000-08-187-5/+20
| | | | | | | | | | since some non-GNU sed programs can't handle null regexps. * configure, src/preproc/eqn/Makefile.sub, src/roff/grog/Makefile.sub, src/roff/nroff/Makefile.sub: Updated. * src/devices/grolbp/lbp.cc: Add an AIX workaround for an autoconf bug (string.h and strings.h are both needed according to latest POSIX standard).
* * tmac/tmac.a4: Will now work with ms macros also; -ma4 should bewlemb2000-08-084-4/+17
| | | | | | | | used before -ms. * tmac/tmac.man.old: Remove unused number register. * tmac.doc: Minor documentation fix.
* * src/roff/groff/pipeline.c (is_system_shell):wlemb2000-08-082-4/+8
| | | | Fix typo: "monocased_shell" no longer exists.
* Remove FILENAME_MAX limits.wlemb2000-08-083-23/+26
| | | | | | | | | * src/roff/groff/pipeline.c (is_system_shell): Do not assume that the argument length is less than FILENAME_MAX. * src/libs/libgroff/tmpfile.cc (add_tmp_file): Likewise. Use struct hack to allocate and free file name. (struct xtmpfile_list): fname is now part of the structure, not a pointer to another string.
* * src/include/posix.h: Add a default value for FILENAME_MAX.wlemb2000-08-072-0/+8
|
* Add support for new BSD-style man pages (with ".Dd" instead ofwlemb2000-08-066-438/+464
| | | | | | | | | | | | | | | | | ".TH"), so that "groff -man" understands both styles, even when running "groff -man" on a host whose system man page macros don't support ".Dd". * tmac/Makefile.sub (NORMALFILES): Add tmac.an.old. (stamp-wrap): Source tmac.andoc first when wrapping man macros, in case the system man macros don't define Dd or TH. * tmac/tmac.an.old: Renamed from tmac/tmac.an. * tmac/tmac.an: New one-line file. * tmac/tmac.andoc (TH): Adjust to the tmac.an.old file renaming. * src/roff/troff/troff.man: Fixing typos.