summaryrefslogtreecommitdiff
path: root/test-groff
Commit message (Collapse)AuthorAgeFilesLines
* * test-groff: Don't use PATH but GROFF_BIN_PATH.wlemb2001-06-111-4/+3
|
* Removing the grohtml-old device driver which is now obsolete.wlemb2001-04-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* troff's `box' and `boxa' requests didn't preserve temporarywlemb2001-01-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indentation. * src/roff/troff/div.h (diversion): Add `saved_saved_indent' and `saved_target_text_length' members. * src/roff/troff/div.cc (do_divert): Use them. Tabs (but not yet leaders and fields) are now handled correctly by `asciify' request. * node.h (hmotion_node): Add field `was_tab'. * env.cc (environment::make_tab_node): Set it. * node.cc (hmotion_node::copy, hmotion_node::asciify): Use it. Added new request `unformat' which will, contrary to `asciify', preserve font information after unformatting (i.e., only nodes dealing with horizontal space are converted back to input characters). * input.cc (asciify_macro): Renamed to ... (do_asciify_macro): this, having a new parameter `unformat_only'. (asciify_macro, unformat_macro): New; using do_asciify_macro. (init_input_requests): Added `unformat'. * node.cc (*_node::asciify), asciify_reverse_node_list: Added parameter to control asciification process. * node.h (*_node::asciify): Ditto. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it. * doc/groff.texinfo: Minor improvement of `.in' documentation. * test-groff: Updated.
* Invert current behaviour: Search first FOOBAR.tmac, thenwlemb2000-10-251-1/+1
| | | | | | | | | | | | | | | | | 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.
* * src/include/posix.h: Remove definition of FILENAME_MAX.wlemb2000-08-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * Makefile.in: Fixing $(subdir).wlemb2000-03-031-0/+1
| | | | | | | | | | * README, NEWS: Small fixes. * test-groff: Adding path to grolbp. * configure.in: The (new) file src/xditview/Imakefile.in will be also configured -- it is now possible to build gxditview in a directory different from $srcdir.
* * README, INSTALL, PROJECT, PROBLEMS, BUGREPORT: Updated.wlemb2000-02-211-0/+1
| | | | | | | | | | * test-groff: Added grn subdir to path. * doc/groff.texinfo: Some restructing and other small improvements. * Makefile.in: Added subdirectory entry for grn.
* Initial revisionwlemb2000-02-061-0/+39