/contrib/groff/ChangeLog.118
https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 3794 lines · 2794 code · 1000 blank · 0 comment · 0 complexity · 1769b737e87bfacd5259f7c0267c0183 MD5 · raw file
Large files are truncated click here to view the full file
- Version 1.18.1 released
- =======================
- 2002-10-08 Werner LEMBERG <wl@gnu.org>
- * doc/webpage.ms, NEWS: Updated.
- 2002-10-07 Werner LEMBERG <wl@gnu.org>
- * tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to
- suppress additional whitespace after the header.
- * tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync
- with NetBSD.
- * src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated.
- 2002-10-07 Ruslan Ermilov <ru@FreeBSD.org>
- * tmac/doc-common(doc-volume-operating-system-ateol): New flag.
- (Dt): Use it to improve language localization (especially Russian
- and French).
- 2002-10-07 Daniel Senderowicz <daniel@synchrods.com>
- * src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros.
- * src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier
- drawing commands.
- * src/preproc/grn/hgraph.cc (drawwig): Add parameter to control
- curve type.
- Call `picurve' for BSPLINE.
- (HGPrintElt): Handle BSPLINE.
- * src/preproc/grn/README: Document it.
- 2002-10-03 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/node.cc (break_char_node::col): New variable.
- Updated constructor.
- (space_node::tprint, word_space_node::tprint): Call `fill_color'
- unconditionally.
- (space_node::space_node): Remove assertion.
- (break_char_node::add_self): Pass color argument to space node.
- * src/roff/troff/input.cc (token::add_to_node_list, token::process):
- Ditto.
- * src/roff/troff/env.cc (environment::do_break,
- environment::add_padding): Ditto.
- 2002-10-02 Werner LEMBERG <wl@gnu.org>
- Redesigning color support in troff. Colors are no longer
- represented as separate nodes but are now part of glyph nodes and
- friends. This fixes the current formatting misbehaviour due to the
- changes introduced on 2002-09-20. Some extra code is necessary for
- proper grotty support: Without adding color variables to
- space-related nodes, the background color would be changed too late.
- * src/roff/troff/node.h, src/roff/troff/node.cc:
- s/current_pagecolor/current_fill_color/.
- s/current_glyphcolor/current_glyph_color/.
- (glyph_color_node, fill_color_node): Removed.
- (node::get_glyph_color, node::get_fill_color): New virtual member
- functions.
- (space_node::col): New variable.
- Updated constructors of space_node and derived classes accordingly.
- (hmotion_node::col): New variable.
- Updated constructors of hmotion_node and space_char_hmotion_node
- accordingly.
- (vmotion_node::col): New variable.
- Updated constructor accordingly.
- (draw_node::gcol, draw_node::fcol): New variables.
- Updated constructor accordingly.
- (special_node::gcol, special_node::fcol): New variables.
- Updated constructors accordingly.
- (troff_output_file::put_char, troff_output_file::put_charwidth,
- troff_output_file::draw): Set glyph and fill color.
- (troff_output_file::start_special): Set glyph and fill color.
- Always set current font.
- (troff_output_file::fill_color, troff_output_file::glyph_color):
- Don't call `do_motion'.
- (glyph_node::gcol, glyph_node::fcol): New variables.
- Updated constructors of glyph_node and ligature_node accordingly.
- (glyph_node::get_glyph_color, glyph_node::get_fill_color): New
- member functions.
- (glyph_node::merge_glyph_node,
- kern_pair_node::add_discretionary_hyphen,
- node::add_discretionary_hyphen): Updated.
- (break_char_node::merge_self): Updated.
- (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
- vmotion_node::tprint): Handle color.
- (make_glyph_node, make_node, node::add_char): Updated.
- * src/roff/troff/env.cc (environment::space_newline,
- environment::space, environment::output_line, environment::do_break,
- environment::make_tab_node, environment::add_padding, title):
- Updated.
- (environment_switch, environment_copy): Don't add color nodes.
- * src/roff/troff/input.cc (do_glyph_color, do_fill_color): Return
- nothing.
- (token::next): Updated.
- \m and \M now are as transparent as \s.
- (process_input_stack, token::add_to_node_list, token::process,
- read_draw_node): Updated.
- (charinfo_to_node_list): Don't add color nodes.
- * doc/groff.texinfo: Updated.
- 2002-09-27 Ruslan Ermilov <ru@FreeBSD.org>
- * tmac/doc-common (ds-operating-system-FreeBSD-4.*): New version
- strings.
- 2002-09-27 Colin Watson <cjwatson@debian.org>
- * src/roff/troff/node.cc (bracket_node::copy): Check `list' != 0.
- 2002-09-23 Werner LEMBERG <wl@gnu.org>
- * src/devices/grolbp/lbp.cc: Replace `300' with `font::res' where
- appropriate.
- (DEFAULT_LINEWIDTH_FACTOR): New macro.
- (linewidth_factor): New global variable.
- (lbp_printer::set_line_thickness): Fix case for size < 0, using
- linewidth_factor.
- (long_options): Add -w/--linewidth option.
- (usage): Updated.
- (main): Handle -w option to set linewidth_factor.
- (lbp_printer::lbp_printer): Initialize req_linethickness, not
- line_thickness.
- * src/devices/grolbp/grolbp.man, NEWS, doc/webpage.ms: Updated.
- 2002-09-22 Paco Andrés Verdú <pandres@dragonet.es>
- Fixed a bug in the line thickness setting code.
- * src/devices/grolbp/lbp.cc (lbp_printer::req_linethickness): New
- variable.
- (lbp_printer::set_line_thickness): Pass environment as second
- parameter.
- Implement it actually.
- (lpb_printer::set_char, lbp_printer::draw): Use `req_linethickness'
- and `set_line_thickness, depending on the current font size.
- 2002-09-21 Werner LEMBERG <wl@gnu.org>
- Some Debian patches.
- * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase to 12.
- * src/roff/troff/node.cc (bracket_node::copy): Initialize
- `list->last'.
- 2002-09-20 Werner LEMBERG <wl@gnu.org>
- * configure: Regenerated with autoconf 2.54.
- 2002-09-20 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/env.h (environment): Rename cur_glyph_color to
- glyph_color.
- Rename cur_fill_color to fill_color.
- * src/roff/troff/env.cc: Updated.
- 2002-09-20 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/env.cc (title): Copy color status after processing
- title.
- * src/roff/troff/input.cc (charinfo_to_node_list): Emit glyph and
- fill color nodes to reset colors properly.
- * tmac/www.tmac (DC): Fix color handling.
- * src/preproc/pic/pic.man, doc/pic.ms: Document some color issues.
- * doc/groff.texinfo: Fixing documentation of `tl' request.
- * doc/webpage.ms: Updated.
- 2002-09-19 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/env.cc (environent_switch, environment_copy):
- Emit glyph and fill color nodes to initialize colors properly.
- 2002-09-17 Colin Watson <cjwatson@debian.org>
- * src/roff/troff/env.cc (environment::set_glyph_color,
- environment::set_fill_color): Fix typo which prevented \m[] work
- correctly.
- 2002-09-17 Werner LEMBERG <wl@gnu.org>
- Add left and right italic correction to non-slanted PS fonts. This
- is an experimental feature to improve image rendering of grohtml.
- * font/devps/generate/Makefile (RFLAG): New variable, set to `-i 0'.
- ({T,H,C,P,N,BM,A,HN}{R,B}, ZD, S, ZDR): Use it.
- * font/devps/*: All non-slanted fonts regenerated.
- * NEWS: Updated.
- 2002-09-16 Werner LEMBERG <wl@gnu.org>
- Add a site-specific font directory.
- * Makefile.in (localfontdir, legacyfontdir): New variables.
- (fontpath): Use them.
- (MDEFINES, uninstall_dirs): Updated.
- * Makefile.comm (.man.n): Add `LOCALFONTDIR' and `LEGACYFONTDIR'.
- Remove `FONTPATH' and `MACROPATH'.
- * src/roff/troff/troff.man, NEWS: Updated.
- * doc/groff.texinfo (Font Directories): New section.
- Other minor fixes.
- * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
- src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
- src/preproc/grn/grn.man: Minor fixes.
- * src/devices/grohtml/post-html.cc (html_printer::do_tab_ts):
- Remove unused variable.
- 2002-09-11 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo, man/groff_font.man: Clarify argument of \N.
- * man/groff_out.man: Fix documentation of 'N'.
- 2002-09-09 Gaius Mulley <gaius@glam.ac.uk>
- * doc/Makefile.in (webpage.html): Depend on gnu.eps also.
- * src/roff/troff/env.cc (indent): Emit html tag only if break_flag is
- set.
- * src/devices/grohtml/post-html.cc (text_glob::is_br_ni): Removed.
- (text_glob::is_br, html_printer::lookahead_for_tables): Updated.
- (html_printer::do_tab_ts): Call `emit_table_header' with `FALSE'.
- * src/devices/grohtml/html-text.cc (html_text::start_tag) <P_TAG,
- PRE_TAG>: Call `begin' with `FALSE'.
- 2002-09-09 Ralph Corderoy <ralph@inputplus.demon.co.uk>
- * src/libs/libgroff/string.cc (string::extract): Fix position of
- terminating null byte.
- 2002-09-08 Werner LEMBERG <wl@gnu.org>
- Add global option `nospaces' to tbl so that leading and trailing
- spaces in data items are ignored.
- * src/libs/libgroff/string.cc (string::remove_spaces): New member
- function to remove leading and trailing spaces.
- * src/include/stringclass.h: Updated.
- * src/preproc/tbl/table.h (table): Add flag `NOSPACES'.
- * src/preproc/tbl/main.cc (process_options): Handle `nospaces'
- option.
- Fix typo in error messages.
- (process_data): Implement `nospaces' option.
- * src/preproc/tbl/tbl.man, NEWS, doc/webpage.ms: Updated.
- 2002-09-07 Werner LEMBERG <wl@gnu.org>
- * src/include/config.hin: Add `HAVE_ISATTY'.
- * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Drop `const' for
- `fname' member.
- * src/libs/libgroff/tmpname.cc: Include `time.h'.
- * src/libs/libdriver/input.cc (Char): Add `operator==' and
- `operator!=' for `char'.
- * doc/groff.texinfo: Replace @ifnottex block for top node with
- @ifhtml block.
- 2002-09-06 Werner LEMBERG <wl@gnu.org>
- * doc/Makefile.in (.texinfo.html): Add -I switch.
- * doc/groff.texinfo: Add @ifnottex block for top node to make
- translation to HTML work.
- 2002-09-05 Gaius Mulley <gaius@glam.ac.uk>
- * src/preproc/html/pre-html.cc (LETTER_LENGTH): Removed.
- (get_papersize, determine_vertical_offset): Removed.
- (char_buffer::do_image): Always specify letter size.
- (main): Updated.
- (imageList::createPage): Use -dDEVICEHEIGHTPOINTS instead of
- -sPAPERSIZE.
- 2002-09-05 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo, tmac/groff_man.man: Improve documentation of
- default indentation.
- 2002-09-04 Gaius Mulley <gaius@glam.ac.uk>
- * src/preproc/html/pre-html.cc (imageList::createPage): Use
- -sPAPERSIZE for gs.
- (generateImages): Clean up push-back buffer.
- 2002-09-04 Ralph Corderoy <ralph@inputplus.demon.co.uk>
- * doc/groff.texinfo: Minor fixes.
- 2002-08-21 Gaius Mulley <gaius@glam.ac.uk>
- * src/preproc/html/pre-html.cc (DEFAULT_LINE_LENGTH): New macro.
- (MAX_WIDTH, A4_LENGTH, A4_OFFSET, LETTER_OFFSET): Removed.
- (gsPaper): Removed.
- (determine_vertical_offset): Use LETTER_LENGTH.
- (createPage): Moved to ...
- (imageList::createPage): This.
- Call gs with -dDEVICEWIDTHPOINTS to avoid cropping.
- (imageList::getMaxX): New function.
- (createImage): Moved to ...
- (imageList::createImage): This.
- (imageList::createImages): New function.
- (generateImages): Read `maxx' directly.
- Updated.
- (scanArguments): Don't specify `gsPaper' for `-o'.
- (makeTempFiles): Call `xtmpfile' with the last argument set to
- `TRUE'.
- 2002-08-24 Werner LEMBERG <wl@gnu.org>
- * src/include/nonposix.h (mkdir, WAIT, creat) [_MSC_VER]: Define.
- (WAIT, _WAIT_CHILD) [!_MSC_VER]: Define.
- * src/preproc/html/pre-html.cc (waitForChild): Use WAIT.
- * src/preproc/html/pushback.cc: Include nonposix.h.
- * src/roff/groff/pipeline.c: Define strcasecmp and strncasecmp
- conditionally.
- 2002-08-23 Werner LEMBERG <wl@gnu.org>
- Use $(OBJEXT) for the object file extension.
- * Makefile.comm (.SUFFIXES): Add .obj.
- (.cc.obj, .c.obj): New implicit rules.
- * Makefile.in (OBJEXT): New variable, initialized from autoconf.
- (MDEFINES): Add EXEEXT and OBJEXT.
- * */Makefile.sub: s/.o/.$(OBJEXT)/.
- 2002-08-22 Werner LEMBERG <wl@gnu.org>
- * INSTALL: Mention texinfo 4.2 as a prerequisite.
- 2002-08-21 Gaius Mulley <gaius@glam.ac.uk>
- * src/devices/grohtml/post-html.cc (colType): Make enum global to
- the file.
- (html_printer::update_min_max, html_printer::add_table_end): New
- methods.
- (html_printer::lookahead_for_tables): Use them.
- Reset page offset correctly.
- (html_printer::~html_printer): Add creation of creator comment up.
- 2002-08-20 Werner LEMBERG <wl@gnu.org>
- * tmac/an-old.tmac (T&): New dummy macro to avoid warning.
- * man/groff_tmac.man: Fix typos.
- * man/groff_font.man: Minor reordering.
- * contrib/eqn2graph/eqn2graph.man (Tp): New macro.
- 2002-08-18 Gaius Mulley <gaius@glam.ac.uk>
- Avoid endless loops while scanning for tables.
- * src/devices/grohtml/post-html.cc (list::insert): Set
- ptr->right->left.
- (html_printer::next_horiz_pos): Add `text_glob' argument; update
- all callers.
- Return immediately if that argument is NULL.
- (html_printer::calc_nf): Don't test if `g' is NULL.
- (html_printer::lookahead_for_tables): Use
- `glyphs.move_right_get_data'.
- Don't test if `g' is NULL.
- 2002-08-18 Gaius Mulley <gaius@glam.ac.uk>
- A better fix, replacing fix 2002-08-15, for increasing SIZE.
- * src/devices/grohtml/post-html.cc (char_block): Make `buffer'
- a pointer.
- (char_block::char_block): Allocate `buffer'.
- (char_buffer::add_string): Use it.
- 2002-08-15 Werner LEMBERG <wl@gnu.org>
- * src/devices/grops/grops.man, src/devices/grolj4/grolj4.man,
- src/devices/grodvi/grodvi.man: Document default line thickness.
- 2002-08-15 Gaius Mulley <gaius@glam.ac.uk>
- * src/devices/grohtml/post-html.cc (char_block): Increase SIZE to
- 8192.
- 2002-08-14 Werner LEMBERG <wl@gnu.org>
- * doc/webpage.ms: Updated.
- 2002-08-09 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/node.cc (node::add_char): Call `freeze_space' for
- unbreakable space.
- 2002-08-08 Aaron Campbell <aaron@monkey.org>
- * src/preproc/pic/object.cc (object_spec::make_move): Fix typo
- (&& -> &).
- 2002-08-08 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/input.cc (read_rgb, read_cmy, read_cmyk): Call
- tok.next().
- (read_gray): Ditto.
- Don't push back a space but a newline onto the stack.
- 2002-08-07 Gaius Mulley <gaius@glam.ac.uk>
- Add fonts `CI', `CB', and `CBI' to grohtml which have been omitted
- inadvertently.
- * src/devices/grohtml/post-html.cc (html_printer::end_font,
- html_printer::start_font): Handle them.
- * src/devices/grohtml/html-text.cc (html_text::do_italic): Don't
- reset bold and tt.
- (html_text::do_bold): Don't reset italic and tt.
- (html_text::do_tt, html_text::do_pre): Don't reset bold and italic.
- * font/devhtml/DESC.proto: Add those fonts.
- * font/devhtml/Makefile.sub (PROTOFONTS): Updated.
- 2002-08-07 Werner LEMBERG <wl@gnu.org>
- * MORE.STUFF: Added gpresent.
- * tmac/trace.tmac: Show nesting level by a corresponding amount of
- whitespace before printing the logging message.
- 2002-07-31 Colin Watson <cjwatson@debian.org>
- * src/devices/grohtml/html-table.cc (html_table::finish_row):
- Initialize `n' to zero. This fixes a segfault on ARM.
- 2002-07-30 Werner LEMBERG <wl@gnu.org>
- * doc/grnexmpl.me: Remove calls to .st and .sc which are undefined.
- 2002-07-29 Werner LEMBERG <wl@gnu.org>
- * src/preproc/pic/pic.y (print_arg, relative_path): Add missing
- final semicolon.
- 2002-07-28 Colin Watson <cjwatson@debian.org>
- * src/devices/grohtml/post-html (html_printer::troff_tag): Handle
- `.ps'.
- (html_printer::html_printer): Initialize `pointsize'.
- 2002-07-26 Werner LEMBERG <wl@gnu.org>
- * doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Remove gnu.eps and
- gnu.png.
- (CLEANNOTSRCDIRADD): Add gnu.eps and gnu.png.
- (gnu.eps): Add -rle switch to pnmtops.
- (distfiles): Add gnu.eps and gnu.png.
- 2002-07-25 Petter Reinholdtsen <pere@hungry.com>
- * src/libs/libdriver/input.cc (Char): Add const to `operator=='.
- Add `operator!='.
- 2002-07-24 Werner LEMBERG <wl@gnu.org>
- * doc/Makefile.in, doc/Makefile.sub (groff_bin_path): Don't use
- ' \+' but ' *' for sed.
- (GROFF): Set GROFF_COMMAND_PREFIX to empty value.
- 2002-07-23 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: Document `papersize' keyword.
- * NEWS, man/groff_font.man: Updated.
- 2002-07-23 Colin Watson <cjwatson@debian.org>
- Extend papersize keyword to accept more than a single entry. The
- first valid will be used.
- * src/libs/libgroff/font.cc (font::load_desc): Implement it.
- (font::scan_papersize): Really skip final newline.
- * src/preproc/html/pre-html.cc (get_papersize): Ditto.
- 2002-07-23 Werner LEMBERG <wl@gnu.org>
- * configure.ac: Test for isatty.
- * configure: Regenerated.
- * src/include/posix.h: Check HAVE_ISATTY.
- * src/roff/troff/input.cc [ISATTY_MISSING]: Removed.
- * src/utils/lookbib/lookbib.cc: Include posix.h.
- Don't declare isatty.
- 2002-07-21 Werner LEMBERG <wl@gnu.org>
- * NEWS: Add `output' request.
- * REVISION: Increased to 1.
- Version 1.18.0 released
- =======================
- 2002-07-19 Gaius Mulley <gaius@glam.ac.uk>
- Allow internal glyph indices > 0xFF in grohtml for input characters.
- * src/devices/grohtml/post-html.cc (to_unicode): Use `unsigned int'
- as parameter.
- (html_printer::add_to_sbuf): Use `unsigned int' as first parameter.
- Updated all callers.
- (html_printer::sbuf_continuation, html_printer::overstrike): Ditto.
- (html_printer): Updated.
- 2002-07-19 Werner LEMBERG <wl@gnu.org>
- * font/devhtml/R.proto: Updated to HTML 4, adding many glyphs.
- * font/devutf8/R.proto: Adding some missing glyphs.
- * font/devutf8/NOTES: Updated.
- * tmac/dvi.tmac: Add more composite glyphs.
- * tmac/html.tmac: Updated.
- * man/groff_char.man: Add `sum' and `product' entities.
- * NEWS: Updated.
- 2002-07-18 Gaius Mulley <gaius@glam.ac.uk>
- Improved table, tab, and indenting support.
- * src/roff/troff/input.cc (file_iterator::suppress_newline_flag,
- string_iterator::suppress_newline_flag): Removed. Updated all
- function which have used it.
- * src/roff/troff/env.cc: Include `input.h'.
- (environment::add_node): Accept 0 as parameter.
- (environment::add_html_tag): Add `force' parameter.
- Updated all callers.
- (environment::add_html_tag_tabs): Ditto.
- For the moment, support left-aligned tabs only.
- (environment::make_html_tag): New function.
- (fill, no_fill): Set .br html tag additionally.
- (environment::newline): Emit `eol.ce' or `eol' tag for html.
- (environment::add_html_tag_eol): Removed.
- (tab_stops::distance_to_next_tab): Add variant for handling
- nextpos'.
- (environment::distance_to_next_tab): Ditto.
- Updated all callers.
- (environment::handle_tab): Handle tabs for html.
-
- * src/roff/troff/env.h: Updated.
- * src/roff/troff/div.cc: Updated all callers of
- `environment::add_html_tag'.
- * src/devices/grohtml/html-table.cc,
- src/devices/grohtml/html-table.h: New files.
- * src/devices/grohtml/html-text.cc (html_text): New members
- `blank_para' and `start_space'.
- (html_text::issue_tag): Don't emit TABLE_TAG.
- Handle indentation for PRE_TAG and P_TAG.
- (html_text::end_tag): Updated.
- (html_text::table_is_void, html_text::issue_table_begin,
- html_text::issue_table_end): Removed.
- (html_text::do_push): Simplified.
- [DEBUGGING]: Small fix.
- (html_text::push_para): Add new parameter for indentation; updated
- all callers.
- Handle PRE_TAG.
- (html_text::do_indent, html_text::do_table, html_text::done_table,
- html_text::is_in_table): Removed.
- (html_text::do_pre): Handle P_TAG also.
- (html_text::shutdown): Handle p->indent.
- (html_text::check_emit_text): Simplified.
- (html_text::do_emittext): Reset `blank_para'.
- (html_text::do_para): Add new parameter for indentation; updated
- all callers.
- (html_text::remove_indent): New function.
- (html_text::do_space): Handle verbatim text properly.
- (html_text::ever_emitted_text, html_text::starts_with_space,
- html_text::remove_para_align): New functions.
- (html_text::dump_stack_element, html_text::dump_stack): Updated.
- * src/devices/grohtml/html_text.h (HTML_TAG): Remove TABLE_TAG.
- Updated.
- * src/devices/grohtml/post-html.cc: Include html-table.h.
- (INDENTATION): Removed.
- (text_glob): Added many `is_<foo>' functions.
- Added table description `tab'.
- Added `get_arg',`get_tab_args', `remember_table', and `get_table'
- member functions.
- (list): Add `insert' and `move_to' member functions.
- (page): Add `insert_tag' member function.
- (page::dump_page) [DEBUG_TABLES]: Improved.
- (html_printer): Add `table' and `max_linelength' elements.
- Add many `do_<foo>', `insert_<foo>', `next_horiz_pos',
- `lookahead_for_tables', `shutdown_table', `calc_nf', `calc_po_in',
- `remove_tabs', `remove_courier_tabs'.
- (html_printer::emit_raw): Handle indentation.
- (html_printer::do_center, html_printer::write_header): Updated.
- (html_printer::is_courier_until_eol): Check for tag.
- (html_printer::do_linelength): Handle max_linelength.
- (html_printer::do_page_offset, html_printer::do_indentation): Handle
- fill_on.
- (html_printer::do_tempindent): Updated.
- (html_printer::do_indentedparagraph): Removed.
- (html_printer::do_indent): Simplified.
- (html_printer::do_eol): Use `ever_emitted_text'.
- (html_printer::do_flush, html_printer::do_links): Don't call
- done_table.
- (html_printer::do_break): Handle end_tempindent.
- (html_printer::troff_tag): Get argument.
- Don't handle `.ip'.
- Handle `.tab-ts', `.tab-te', `.col', `tab', and `tab0' tags.
- (html_printer::flush_page): Call `lookahead_for_tables'.
- Don't call `done_table'.
- (html_printer::add_to_sbuf): Always call do_indent.
- * src/devices/grohtml/Makefile.sub: Updated.
- * tmac/an-old.tmac (TP): Don't handle html device specially.
- (an-do-tag-html): New function which will be used instead of
- `an-do-tag' if html device is used.
- * tmac/html.tmac: Call .po to pass default page offset to grohtml.
- * tmac/s.tmac (@IP): Don't handle html device specially.
- (@IP-html): New function which will be used instead of `@IP' if
- html device is used.
- * tmac/www.tmac (HTML-NS, HTML-TAG-NS): New auxiliary macros -- this
- is a hack which will eventually vanish again.
- (PIMG): Handle `-C' option correctly if not html.
- (HR): Use HTML-NS.
- 2002-07-17 Werner LEMBERG <wl@gnu.org>
- * src/utils/afmtodit/afmtodit.pl: Don't use `-P-' for invoking perl.
- 2002-07-14 Eric S. Raymond <esr@thyrsus.com>
- * contrib/pic2graph/pic2graph.*: Use convert(1).
- * contrib/eqn2graph/eqn2graph.*: Minor fixes.
- 2002-07-14 Bernd Warken <bwarken@mayn.de>
- * tmac/groff_trace.man: New file.
- * tmac/Makefile.sub: Updated.
- * NEWS: Updated.
- 2002-07-13 Werner LEMBERG <wl@gnu.org>
- * src/roff/groff/groff.man: Add some cross references.
- 2002-07-12 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/input.cc (substring_request): Add warnings for
- string indices out of range.
- 2002-07-11 Werner LEMBERG <wl@gnu.org>
- * font/devdvi/generate/ec.map: Fix typo (`(l' -> `/l').
- * font/devdvi/*EC: Regenerated.
- 2002-07-10 Bernd Warken <bwarken@mayn.de>
- * man/groff_char.man: Updated and extended.
- 2002-07-10 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/input.cc (length_macro): Renamed to...
- (length_request): This.
- Move call of `tok.next()' to the very end, otherwise the register
- value hasn't been updated yet.
- (init_input_requests): Updated.
- 2002-07-09 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/input.cc (substring_macro): Renamed to...
- (substring_request): This.
- (init_input_requests): Updated.
- * src/roff/troff/request.h: Updated.
- 2002-07-08 Robert D. Goulding <goulding@Princeton.EDU>
- * src/roff/grog/grog.sh: Fix typo.
- 2002-07-08 Werner LEMBERG <wl@gnu.org>
- * win32-diffs: Updated.
- Handle `papersize' keyword properly in DESC.
- * src/libs/libgroff/font.cc (font::scan_papersize): Fix argument
- type.
- Updated all callers.
- * src/libs/libgroff/paper.cc: Add four more paper formats used by
- grolj4.
- * src/include/paper.h: Updated.
- * src/devices/grolbp/lbp.cc: Remove unnecessary semicolons.
- Other minor C syntax fixes.
- (papersize, paperlength, paperwidth): Renamed to `user_*'.
- (lbp_printer): Add `papersize', `paperlength', and `paperwidth'
- members.
- (lbp_printer::lbp_printer): Pass three arguments.
- Set paper dimensions properly.
- (make_printer, main): Updated.
- (handle_unknown_desc_command): Fix error messages.
- (main): Handle papersize keyword in DESC properly.
- * src/devices/grolj4/lj4.cc (paper_size): Renamed to
- `user_paper_size'.
- (lbp_printer::lbp_printer): Pass an argument.
- Set paper_size properly.
- (handle_unknown_desc_command): Removed.
- (make_printer, main): Updated.
- * src/devices/grolj4/grolj4.man: Minor documentation fix.
- * man/groff_font.man, NEWS: Updated.
- 2002-07-07 Werner LEMBERG <wl@gnu.org>
- Integrated eqn2graph, contributed by Eric S. Raymond.
- * contrib/eqn2graph/{Makefile.sub, eqn2graph.sh, eqn2graph.man}: New
- files.
- * Makefile.in, NEWS: Updated.
- 2002-06-04 Werner LEMBERG <wl@gnu.org>
- Changing the substring request to make it fit better with other
- string manipulation functions in other programming languages:
- Index 0 is now the first character in the string, and index -1
- indicates the last character. Since this request didn't work
- properly anyway in the last release, it doesn't harm too much to
- change the syntax.
- * src/roff/troff/input.cc (substring_macro): Use loops to get
- the real string length (ignoring COMPATIBLE_SAVE and
- COMPATIBLE_RESTORE) and offsets.
- Implement change described above.
- * man/groff_char.man, tmac/doc-common (doc-header), tmac/doc.tmac
- (doc-do-Bd-args, doc-do-Bl-args): Changed accordingly.
- * NEWS, doc/groff.texinfo, man/groff_diff.man: Updated.
- 2002-06-03 Werner LEMBERG <wl@gnu.org>
- Make .chop work with .de1 and friends. COMPATIBLE_SAVE and
- COMPATIBLE_RESTORE are completely ignored.
- * src/roff/troff/input.cc (char_list::set, char_list::get): New
- functions.
- (macro): `length' field renamed to `len'.
- Added new field `empty_macro' (1 if macro is empty), to be used
- instead of checking `len'.
- Updated all callers.
- (macro::empty): Updated.
- (macro::length, macro::set, macro::get): New functions.
- (macro::append): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
- Set `empty_macro'.
- (chop_macro): Check and remove trailing COMPATIBLE_SAVE/
- COMPATIBLE_RESTORE pairs.
- (asciify): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
- * src/roff/troff/request.h: Updated.
- * doc/groff.texinfo: Document .chop's behaviour better.
- 2002-06-02 Werner LEMBERG <wl@gnu.org>
- * doc/pic.ms: Fix documentation for the addition of positions.
- * tmac/doc.tmac, tmac/an-old.tmac: Need groff version 1.18.
- 2002-06-29 Werner LEMBERG <wl@gnu.org>
- Implementation of string arguments of the form \*[foo arg1 arg2 ...]
- * src/roff/troff/input.cc (have_string_arg): New global variable.
- (read_mode): New enumeration.
- (read_escape_name): Use it. Update all calls.
- (read_long_escape_name): Use it. Update all calls.
- Set have_string_arg if appropriate.
- (get_char_for_escape_name): Add parameter for handling space
- character.
- (interpolate_string_with_args, decode_string_args): New functions.
- (get_copy, token::next): Call it if necessary.
- (interpolate_string): Fix error message.
- * NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
- Document it.
- 2002-06-24 Bernd Warken <bwarken@mayn.de>
- * man/groff_tmac.man: Updated and extended.
- 2002-06-24 Werner LEMBERG <wl@gnu.org>
- * doc/pic.ms, src/preproc/pic/pic.man: Fix description of `:='.
- 2002-06-23 Werner LEMBERG <wl@gnu.org>
- * doc/pic.ms: Improve documentation of composite block objects.
- 2002-06-22 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/input.cc (init_registers): Add three registers
- `seconds', `minutes', and `hours' to hold the current time.
- * NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
- Updated.
- 2002-06-20 Werner LEMBERG <wl@gnu.org>
- Make \X accept both `\ ' and `\~', converting them to single space
- characters.
- * src/roff/troff/token.h (token): Add TOKEN_UNSTRETCHABLE_SPACE.
- (token::unstretchable_space): New inline function.
- * src/roff/troff/input.cc (token::next, token::delimiter,
- token::description, token::add_to_node_list, token::process): Handle
- TOKEN_UNSTRETCHABLE_NODE.
- (encode_char): Handle tok.stretchable_space and
- tok.unstretchable_space.
- * NEWS, doc/groff.texinfo: Document it..
- 2002-06-19 Werner LEMBERG <wl@gnu.org>
- * src/devices/grops/ps.cc (ps_printer::special): Fix error message.
- * src/devices/grotty/tty.cc (tty_printer::special): Add `sgr'
- keyword to enable/disable SGR output.
- (tty_printer::change_fill_color): New function.
- * NEWS, src/devices/grotty/grotty.man: Document `sgr' special.
- * src/roff/troff/input.cc (output_request): Add missing `tok.next()'
- call.
- 2002-06-18 Werner LEMBERG <wl@gnu.org>
- Add a `color' request and a `.color' register to control usage of
- colours.
- * src/roff/troff/input.cc (disable_color_flag): Replaced with...
- (color_flag): This (which is the inverse).
- (activate_color): New function.
- (main, init_input_requests): Updated.
- * src/roff/troff/troff.h, src/roff/troff/node.cc
- (troff_output_file::fill_color, troff_output_file::glyph_color):
- Updated.
- * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
- Document the changes.
- 2002-06-17 Colin Watson <cjwatson@debian.org>
- Circumvent bug in autoconf 2.53 regarding top_builddir.
- * aclocal.m4 (GROFF_BUILDDIR): s/top_builddir/groff_top_builddir/.
- * Makefile.in, doc/Makefile.in:
- s/@top_builddir@/@groff_top_builddir@/.
- * configure: Regenerated (with autoconf 2.53).
- 2002-06-17 Werner LEMBERG <wl@gnu.org>
- * src/libs/libgroff/font.cc (font::load_desc): Fix computation of
- `paperwidth' and `paperlength' for the `papersize' keyword.
- 2002-06-16 P. Alejandro Lopez-Valencia <dradul@007mundo.com>
- * src/devices/grops/grops.man: Add info about Type 42 fonts.
- 2002-06-15 Gaius Mulley <gaius@glam.ac.uk>
- * src/devices/grohtml/post-html.cc (html_printer::emit_raw,
- html_printer::do_linelength, html_printer::do_pageoffset,
- html_printer::do_indentation, html_printer::do_tempindent,
- html_printer::do_break, html_printer::begin_page): Clear indented
- text.
- * tmac/html.tmac: Disable hyphenation.
- 2002-06-15 Werner LEMBERG <wl@gnu.org>
- Don't produce HTML files if utility programs are missing.
- * Makefile.in (make_html, make_install_html): New variables.
- (MDEFINES): Updated.
- * aclocal.m4 (GROFF_HTML_PROGRAMS): New function to test for HTML
- utility programs.
- * configure.ac: Use it.
- * configure: Regenerated.
- * doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Move webpage.html to...
- (HTMLEXAMPLESFILES): This new variable.
- (EXAMPLESIMAGEFILES): Renamed to...
- (HTMLEXAMPLEIMAGEFILES): This.
- (CLEANADD): Add HTMLEXAMPLEFILES.
- (all): Use `make_html'.
- (html): New target.
- (install_data): Use `make_install_html'.
- Move html stuff to...
- (install_html): This new target.
- (uninstall_sub): Updated.
- 2002-06-14 Bernd Warken <bwarken@mayn.de>
- * src/roff/grog/Makefile.sub (grog): Renamed to...
- (grog.old): This.
- (grog): New rule to always install grog.sh as grog.
- 2002-06-08 Bernd Warken <bwarken@mayn.de>
- * src/roff/grog/grog.pl: Fix typo.
- 2002-06-07 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: Add more info on .tr arguments.
- 2002-06-05 Werner LEMBERG <wl@gnu.org>
- * NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
- * aclocal.m4 (GROFF_MKSTEMP): Include unistd.h.
- * configure: Regenerated.
- 2002-06-05 Ralph Corderoy <ralph@inputplus.demon.co.uk>
- * src/roff/troff/symbol.cc (table_sizes): Add more values.
- * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Recognize mom.
- 2002-06-04 Werner LEMBERG <wl@gnu.org>
- * aclocal.m4 (GROFF_PAGE): Don't use `prefix' directly since it
- is not initialized at the time we need it in case `--prefix' hasn't
- been set. Check for `ac_default_prefix' also.
- Test for `papersize' keyword also and generalize allowed whitespace.
- * configure: Regenerated.
- * font/devps/Makefile.sub (DESC): Use `papersize' instead of
- `paperlength'.
- * src/libs/libgroff/Makefile.sub (version, revision): Replaced
- with...
- (src_version, src_revision): New variables to avoid overwriting
- from parent make process.
- (version.cc): Updated.
- * src/preproc/html/pre-html.cc: Include paper.h and font.h.
- (linebuf, linebufsize): New global variables.
- (sys_fatal): Use `fatal' to abort properly.
- (get_line): New function.
- (get_resolution): Use it.
- Improve error messages.
- (get_papersize): Check `papersize' also.
- Use `get_line'.
- Improve error messages.
- 2002-06-03 Werner LEMBERG <wl@gnu.org>
- * Makefile.comm (CLEANNOTSRCDIRADD): New target for files which
- should be removed only if builddir is not srcdir.
- (mostlyclean): Handle `CLEANNOTSRCDIRADD'.
- (clean): Depend on `mostlyclean'.
- (distclean): Depend on `clean'.
- (realclean, extraclean): Depend on `distclean'.
- (.y.cc, .y.o): Simplified. The output files are no longer written
- to srcdir but to builddir.
- * Makefile.in (MDEFINES): Add `version' and `revision'.
- (uninstall_dirs): Fix order of directories.
- * doc/Makefile.sub (version, revision): Removed.
- (CLEANADD): Removed grnexmpl.g, groff, groff-*.
- Added `HTMLDOCFILES'.
- (CLEANNOTSRCDIRADD): New target for grnexmpl.h, groff, groff-*.
- * src/preproc/eqn/Makefile.sub, src/preproc/pic/Makefile.sub,
- src/preproc/refer/Makefile.sub (YTABC, YTABH): Don't use `srcdir'
- as prefix.
- * doc/texinfo.tex (\authortt): New macro.
- (\shortcontt): Define.
- (\titlepage): Set \tt to \authortt while defining \authorfont.
- (\appendixbox): New macro.
- (\chapmacro, \appendixentry): Use \appendixbox to get even
- indentation for letters.
- (\summarycontents): Set \tt.
- (\internalpagesize): Add two arguments for real paper width and
- height as needed by pdfTeX.
- (\letterpaper, \smallbook, \afourpaper, \afivepaper, \afourlatex):
- Updated.
- (\tempdima, \tempdimb): New temporary dimensions.
- (\pagesizesyyy): Updated.
- 2002-06-02 Werner LEMBERG <wl@gnu.org>
- Adding a new keyword `papersize' to the DESC file format (similar
- but not completely identical to grolbp's extension). grops now has
- a -p command line option to override `papersize'. Finally, grolbp
- has been adapted to the new syntax.
- * src/libs/libgroff/paper.cc, src/include/paper.h: New files. It
- defines and initializes the `papersizes[]' array with NUM_PAPERSIZES
- elements.
- * src/libs/libgroff/Makefile.sub (OBJS): Add `paper.o'.
- (CCSRCS): Add `paper.cc'.
- * src/include/font.h (font): Add `papersize' element.
- * src/libs/libgroff/font.cc (font::unit_scale): New helper function.
- (font::scan_papersize): New function.
- (font::load_desc): Use it for handling `papersize' keyword.
- * src/libs/libgroff/fontfile.cc: Initialize `font::papersize'.
- * src/devices/grops/ps.cc: Include paper.h.
- (user_paper_length): New global variable.
- (ps_printer): Use paper length as initializer.
- (make_printer): Updated.
- (main): Handle new `-p' option.
- * src/devices/grops/grops.man: Updated.
- * src/devices/grolbp/lbp.cc: Include paper.h.
- s/papersizes/lbp_papersizes/.
- (set_papersize): Use new `papersizes' array.
- (handle_unknown_desc_command): Don't handle `papersize'.
- (main): Use `font::scan_papersize' for handling `-p' option.
- * src/devices/grolbp/grolbp.man: Updated.
- * man/groff_font.man: Document `papersize'.
- * NEWS: Updated.
- 2002-05-30 Werner LEMBERG <wl@gnu.org>
- * src/devices/grops/TODO: Updated.
- * src/devices/grops/grops.man: More info on paper formats.
- * man/groff_font.man: Document `paperheight' and `paperwidth'.
- 2002-05-29 Werner LEMBERG <wl@gnu.org>
- * doc/Makefile.sub (CLEANADD): Add grnexmpl.g, groff, and groff-*
- to list only if srcdir != currdir.
- (distfiles): New target.
- * Makefile.in (EXTRADIRS): Add font/devlj4/generate.
- (NOMAKEDIRS): New variable.
- (DISTDIRS): Use it.
- 2002-05-26 Werner LEMBERG <wl@gnu.org>
- Add .output request, similar to \! at top-level.
- * src/roff/troff/input.cc (transparent): Remove unused declaration.
- (output_request): New function.
- (init_input_requests): Add it.
- Sorted.
- * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
- Document it.
- * Makefile.in (MDEFINES): Add INSTALL_INFO.
- (prepare_examples): Fix typo.
- * doc/groff.texinfo (@direntry): Fix it.
- 2002-05-25 Werner LEMBERG <wl@gnu.org>
- Including the doc subdir into groff's Makefile system.
- * aclocal.m4 (GROFF_INSTALL_INFO): New function.
- * configure.ac: Use it.
- Generate `doc/Makefile'.
- * configure: Regenerated.
- * Makefile.in (infodir, INSTALL_INFO): New variables.
- (MDEFINES, uninstall_dirs): Updated.
- (OTHERDIRS): Add `doc'.
- * Makefile.comm (CLEANDIRADD): New variable.
- (mostlyclean): Use it.
- * doc/Makefile.sub, doc/Makefile.in: New files.
- * doc/Makefile: Removed.
- * NEWS, INSTALL: Updated.
- 2002-05-24 Werner LEMBERG <wl@gnu.org>
- * doc/homepage.ms: Renamed to ...
- * doc/webpage.ms: This.
- Use `.NHR'.
- 2002-05-23 Werner LEMBERG <wl@gnu.org>
- Integrating the `mom' macro package, contributed by Peter Schaffter
- <df191@ncf.ca>.
- * contrib/mom/*: New subdirectory tree.
- * Makefile.in (docdir, exampledir, htmldocdir): New variables to
- be used for documentation files.
- (MDEFINES, uninstall_dirs): Use them.
- (OTHERDIRS): Add contrib/mom.
- * Makefile.comm (.man.n): Add @DOCDIR@, @EXAMPLEDIR@, and
- @HTMLDOCDIR@.
- * MANIFEST, NEWS: Updated.
- 2002-05-22 Gaius Mulley <gaius@glam.ac.uk>
- Change syntax of \O: \O[0] suppresses output, \O[1] enables output
- if at outer level; at start-up we are at outer level.
- * src/roff/troff/input.cc (do_suppress): Implement it.
- Simplify \O[3].
- Add option -p to show progress information.
- pre-grohtml will now render only one page at a time, reducing the
- size of needed disk resources enormously.
- * src/preproc/html/pre-html.cc (imagePageStem): Replaced with...
- (imagePageName): New global variable.
- (psPageName, show_progress, currentPageNo): New global variables.
- (html_system): Close saved stderr and stdout handles.
- (write_end_image): Accept a parameter to control \O escape.
- (write_start_image): Adapted to new \O meaning.
- (char_buffer::write_upto_newline): Updated.
- (createAllPages): Replaced with...
- (createPage): This new function to create a single page for images.
- It uses `psselect' from the psutils package.
- (removeAllPages): Removed.
- (createImage): Updated.
- Handle progress display.
- (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Removed.
- (scanArguments): Add option -p.
- (makeTempFiles): Updated to create temp files for psPageName and
- imagePageName.
- (removeTempFiles): Removed.
- (main): Updated.
- * src/devices/grohtml/post-html.cc (header_desc::write_headings,
- html_printer::write_header): Append `\0' to `buffer'.
- (html_printer::do_eol): Depend on `current_paragraph->emitted_text'.
- (main): Handle -p.
- * src/devices/grohtml/html-text.cc (html_text::dump_stack_element):
- Handle `text_emitted'.
- (html_text::table_is_void): Slightly rewritten.
- (stop): New external symbol.
- (html_text::do_push) [DEBUGGING]: Use it and simplify.
- (html_text::shutdown): Call `dump_stack'.
- (html_text::do_space): Rewritten.
- * src/devices/grohtml/grohtml.man: Document -p and the need of
- `psselect'.
- * tmac/www.tmac (DC, HTML-DO-IMAGE, HTML-IMAGE-END): Updated to
- new \O syntax.
- Call \O[0] if `ps4html' is active.
- * tmac/s.tmac (@EQ, @EN): Handle html better.
- (@TS, TE): Ditto.
- * tmac/html.tmac: Don't use black for background colour.
- * src/roff/troff/node.cc: Include `div.h'.
- (troff_output_file::really_print_line): Don't use `is_on'.
- (troff_output_file::word_marker, troff_output_file::flush_tbuf
- troff_output_file::check_charinfo,
- troff_output_file::put_char_width, troff_output_file::put_char,
- troff_output_file::determine_line_limits, troff_output_file::draw,
- real_output_file::begin_page, glyph_color_node::tprintf,
- fill_color_node::tprint, hline_node::tprint, vline_node::tprint):
- Use `is_on'.
- (troff_output_file::really_on): Call `do_motion'.
- (suppress_node::tprint): Use `get_page_number' instead of `%'
- register.
- Call `reset_output_registers' conditionally on `is_on'.
- * doc/groff.texinfo: Document new syntax of \O.
- * NEWS, man/groff_diff.man: Updated.
- 2002-05-22 Werner LEMBERG <wl@gnu.org>
- * MORE.STUFF: Add info about David Frey's deroff implementation.
- Mention troff.org.
- 2002-05-16 Werner LEMBERG <wl@gnu.org>
- Pic's `with' attribute now accepts positions.
- * src/preproc/pic/pic.y: Make `.', BOX, CIRCLE, ELLIPSE, ARC, LINE,
- ARROW, SPLINE, and `[' left-associative tokens to fix shift/reduce
- conflicts.
- (object_spec): Add rule for `WITH' and `position'.
- (relative_path): Give `corner' the precedence of `CHOP'.
- * src/preproc/pic/object.h (path): New members `pos' and
- `is_position'.
- * src/preproc/pic/object.cc: Updated initializers of `path'.
- (path::follow): Handle `is_position'.
- * doc/pic.ms: Completely updated grammar description.
- Many typographical improvements.
- 2002-05-15 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/env.cc(hyphen_trie::hpf_getc): Accept ^^x (char
- code of x in range 0-127) also.
- * doc/groff.texinfo, man/groff_diff.man: Updated.
- Added keywords `north', `south', `east', and `west' for corners
- in pic.
- * src/preproc/pic/lex.cc (lookup_keyword): Add NORTH, SOUTH, EAST,
- and WEST.
- (yylex): Handle them.
- * src/preproc/pic/pic.y: Add tokens NORTH, SOUTH, EAST, and WEST.
- (corner): Handle them.
- 2002-05-14 Werner LEMBERG <wl@gnu.org>
- * src/devices/grops/grops.man: Clarify handling of `download' file.
- 2002-05-11 Werner LEMBERG <wl@gnu.org>
- Adding `warnscale' and `spreadwarn' requests, based on a patch from
- Jeffrey Friedl <jfriedl@yahoo.com>.
- * src/roff/troff/input.cc (spread_limit, warn_scale,
- warn_scaling_indicator): New global variables.
- (warnscale_request, spreadwarn_requests): New functions.
- (main): Initialize `warn_scale' and `warn_scaling_indicator'.
- (init_input_requests): Updated.
- (error_type): Add `OUTPUT_WARNING'.
- (do_error): Handle it.
- (output_warning): New warning function which shows output location.
- * src/roff/troff/env.h (spread_limit): New external variable.
- * src/roff/troff/env.cc (environment::choose_breakpoint): Use
- `output_warning'.
- (distribute_space): Emit warning if added space is larger than
- `spread_limit'.
- (environment::possibly_break_line): Emit warning if a line can't
- be adjusted on both sides.
- * doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document it.
- 2002-05-08 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/node.cc (special_node::special_node): Use
- env_definite_font(curenv) instead of curenv->get_font(). Otherwise
- \X''\% crashes, for example.
- * doc/groff.texinfo: Document \! and \? used at top-level.
- 2002-05-06 Werner LEMBERG <wl@gnu.org>
- * src/preproc/pic/pic.man: Fix some keyword syntax.
- Other minor typographical fixes.
- * src/roff/groff/groff.man: Fix typos.
- 2002-05-04 Werner LEMBERG <wl@gnu.org>
- * src/roff/groff/groff.man ([ShortOpt]): Renamed to...
- (ShortOpt[]): This to avoid problems with refer.
- * doc/pic.ms: Fix typo.
- Fix pic grammar description.
- * tmac/an-old.tmac (ne): Use de1, not de.
- 2002-05-03 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: Finished separation of glyphs and characters.
- Don't use the string `Appendix' for appendix headers (both in
- the text and the table of contents).
- * man/groff_tmac.man, src/roff/troff/troff.man: Fix order of tmac
- directories.
- Use registers LL and LT (similar to -ms) for controlling the
- length of title and line, respectively, in the -man and -mdoc
- macro packages.
- * tmac/doc-ditroff (doc-setup-page-layout), tmac/doc-nroff
- (doc-setup-page-layout): Use \n[LL] and \n[LT].
- * tmac/an-old.tmac: Set \n[LL] and \n[LT] if not defined.
- (TH): Use \n[LL].
- (an-header, an-p-footer): Use \n[LT].
- * NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
- doc/groff.texinfo: Document it.
- 2002-05-02 Werner LEMBERG <wl@gnu.org>
- * doc/fdl.texi: New file.
- * doc/groff.texinfo: Include it.
- Define and use @copying.
- Starting with separating glyph, symbol, and character.
- 2002-04-27 Werner LEMBERG <wl@gnu.org>
- * Makefile.in (EXEEXT): Set it.
- * src/*/Makefile.sub (PROG): Add $(EXEEXT) for all non-script
- programs.
- * src/include/nonposix.h: Define GS_NAME.
- * src/preproc/html/pre-html.cc (createAllPages): Use GS_NAME.
- Some preliminary changes for EMX support under OS/2.
- * src/preproc/pic/main.cc (main), src/roff/groff/pipeline.c: Add
- __EMX__ similar to __MSDOS__.
- * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Use `unlink'.
- 2002-04-25 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: Integrated groff_out.man.
- Some macro fixes.
- 2002-04-23 Werner LEMBERG <wl@gnu.org>
- * man/groff_out.man: Minor fixes.
- 2002-04-23 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: Moving @cindex entries after @Def* to get
- correct page references.
- Fixed many index entries.
- 2002-04-23 Bernd Warken <bwarken@mayn.de>
- * man/roff.man: Enlarged.
- 2002-04-22 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: More examples, other fixes.
- 2002-04-20 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/input.cc (pipe_output): Multiple calls to `pi'
- will now form a chain, e.g.
- .pi foo
- .pi bar
- is now the same as
- .pi foo | bar
- This is for compatibility with plan 9's troff.
- * tmac/tty.tmac: Set default tab values to 0.8i to be compatible
- with UNIX troff.
- * NEWS: Updated.
- * doc/groff.texinfo: Add documentation of remaining requests and
- registers.
- 2002-04-19 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: Add documentation of remaining escapes.
- * font/devdvi/generate/tc.map: Remove entry for `sr'.
- * font/devdvi/*TC: Regenerated.
- 2002-04-18 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/input.cc (token::next): Make \H behave consistently
- if not in compatibility mode, i.e., increment relative to the
- previous height.
- * doc/groff.texinfo: Updated accordingly.
- 2002-04-17 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: Document \\, \e, \E, \., and \c.
- 2002-04-16 Bernd Warken <bwarken@mayn.de>
- * src/roff/groff/groff.man: Improve documentation of -P option.
- Other minor fixes.
- 2002-04-15 Werner LEMBERG <wl@gnu.org>
- Add new escape \F to switch font family.
- * 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.
- 2002-04-14 Werner LEMBERG <wl@gnu.org>
- * tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of
- spaces in tags.
- 2002-04-13 Werner LEMBERG <wl@gnu.org>
- Implement \f[] as an alternative to \fP. Change \mP and \MP to
- \m[] and \M[], respectively.
- * src/roff/troff/symbol.cc (EMPTY_SYMBOL): New global variable.
- (symbol::symbol): Handle NULL string and empty string differently.
- * src/roff/troff/symbol.h (symbol::is_empty): New inline function.
- * src/roff/troff/input.cc (read_escape_name, read_long_escape_name):
- Add optional parameter.
- Updated calling functions.
- (get_copy, do_glyph_color, do_fill_color, token::next): Use
- `symbol::is_empty'.
- * src/roff/troff/env.cc (environment::set_font): Ditto.
- * src/preproc/pic/troff.cc (troff_output::set_fill,
- troff_output::reset_color: Updated.
- * tmac/www.tmac: Updated.
- * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo,
- doc/homepage.ms, src/devices/grotty/grotty.man, tmac/groff_www.man:
- Updated.
- * tmac/Xps.tmac: Remove some redundant code.
- * tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac,
- tmac/dvi.tmac, man/roff.man, man/groff_out.man, man/groff.man,
- man/groff_diff.man, src/roff/groff/groff.man: Replace \f[P] with
- \f[].
- 2002-04-13 Bernd Warken <bwarken@mayn.de>
- * src/include/printer.h, src/libs/libdriver/printer.cc
- (printer::change_fill_color): New member function.
- * src/libs/libdriver/input.cc (parse_D_command): Use it.
- 2002-04-12 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: Completed pass on gtroff reference.
- 2002-04-11 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: More fixes.
- 2002-04-11 Bernd Warken <bwarken@mayn.de>
- * src/include/color.h: Decorate with `const'.
- Use `size_t'.
- Include `stddef.h'.
- * src/libs/libgroff.color.cc: Decorate with `const'.
- Use `size_t'.
- (color::color): Initialize members.
- * src/libs/libdriver/input.cc (parse_D_command): Handle `f'
- command according to the documentation.
- * man/groff_out.man: Updated.
- Minor fixes.
- 2002-04-11 Gaius Mulley <gaius@glam.ac.uk>
- * src/preproc/html/pre-html.cc (write_start_image): Remove
- redundant output.
- * tmac/www.tmac (DC, HTML-DO-IMAGE): Ditto.
- * src/devices/grohtml/post-html.cc (page::add_and_encode): Using
- \C'hy' caused an assertion failure.
- * src/roff/troff/env.cc (environment::environment): Initialize
- `emitted_node'.
- (environment::copy): Handle `ignore_next_eol' and `emitted_node'.
- 2002-04-10 Werner LEMBERG <wl@gnu.org>
- * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
- Document pvs request and .pvs register.
- 2002-04-09 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: Improve and fix documentation of diversions
- and environments.
- 2002-04-08 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: Fix documentation of drawing functions.
- Other minor fixes.
- 2002-04-07 Werner LEMBERG <wl@gnu.org>
- * doc/groff.texinfo: Better documentation of double quotes as
- arguments.
- Other minor fixes.
- 2002-04-06 Werner LEMBERG <wl@gnu.org>
- * man/groff_font.man: Document names of special characters better.
- * doc/groff.texinfo: Minor improvements.
- * tmac/lbp.tmac: Load latin1.tmac.
- * tmac/X.tmac, tmac/Xps.tmac: Load latin1.tmac or cp1047.tmac.
- * font/devX*/*: Regenerated (all chars > 0x80 removed).
- 2002-04-05 Werner LEMBERG <wl@gnu.org>
- * tmac/tty.tmac: Don't use shc request.
- * tmac/latin1.tmac, tmac/cp1047.tmac: Translate soft hyphen to `\%'.
- * NEWS: Updated.
- * man/groff_diff.man: Minor fixes.
- * font/devlbp/*: Remove all `charXXX' entities.
- * src/libs/libgroff/font.cc (font::~font): Deallocate
- `special_device_coding'.
- (font::load): Use `new' for allocating `special_device_coding'.
- * src/libs/libgroff/nametoindex.cc (character_indexer::lookup_char):
- Removed unused member.
- 2002-04-05 Werner LEMBERG <wl@gnu.org>
- * src/drivers/grops/psrm.cc (skip_possible_newline): New function.
- (resource_manager::do_begin_binary,
- resource_manager::do_begin_data): Use it.
- * doc/texinfo.tex: Updated to version 4.2.
- * src/roff/troff/token.h: Add TOKEN_ZERO_WIDTH_BREAK for `\:'.
- (token::zero_width_break): New inline function.
- * src/roff/troff/input.cc (token::next): Use it.
- (token::description): Updated.
- (en…