PageRenderTime 68ms CodeModel.GetById 48ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 1ms

/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 files are truncated, but you can click here to view the full file

   1
   2Version 1.18.1 released
   3=======================
   4
   52002-10-08  Werner LEMBERG  <wl@gnu.org>
   6
   7	* doc/webpage.ms, NEWS: Updated.
   8
   92002-10-07  Werner LEMBERG  <wl@gnu.org>
  10
  11	* tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to
  12	suppress additional whitespace after the header.
  13
  14	* tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync
  15	with NetBSD.
  16
  17	* src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated.
  18
  192002-10-07  Ruslan Ermilov  <ru@FreeBSD.org>
  20
  21	* tmac/doc-common(doc-volume-operating-system-ateol): New flag.
  22	(Dt): Use it to improve language localization (especially Russian
  23	and French).
  24
  252002-10-07  Daniel Senderowicz  <daniel@synchrods.com>
  26
  27	* src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros.
  28	* src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier
  29	drawing commands.
  30	* src/preproc/grn/hgraph.cc (drawwig): Add parameter to control
  31	curve type.
  32	Call `picurve' for BSPLINE.
  33	(HGPrintElt): Handle BSPLINE.
  34	* src/preproc/grn/README: Document it.
  35
  362002-10-03  Werner LEMBERG  <wl@gnu.org>
  37
  38	* src/roff/troff/node.cc (break_char_node::col): New variable.
  39	Updated constructor.
  40	(space_node::tprint, word_space_node::tprint): Call `fill_color'
  41	unconditionally.
  42	(space_node::space_node): Remove assertion.
  43	(break_char_node::add_self): Pass color argument to space node.
  44	* src/roff/troff/input.cc (token::add_to_node_list, token::process):
  45	Ditto.
  46	* src/roff/troff/env.cc (environment::do_break,
  47	environment::add_padding): Ditto.
  48
  492002-10-02  Werner LEMBERG  <wl@gnu.org>
  50
  51	Redesigning color support in troff.  Colors are no longer
  52	represented as separate nodes but are now part of glyph nodes and
  53	friends.  This fixes the current formatting misbehaviour due to the
  54	changes introduced on 2002-09-20.  Some extra code is necessary for
  55	proper grotty support: Without adding color variables to
  56	space-related nodes, the background color would be changed too late.
  57
  58	* src/roff/troff/node.h, src/roff/troff/node.cc:
  59	s/current_pagecolor/current_fill_color/.
  60	s/current_glyphcolor/current_glyph_color/.
  61	(glyph_color_node, fill_color_node): Removed.
  62	(node::get_glyph_color, node::get_fill_color): New virtual member
  63	functions.
  64	(space_node::col): New variable.
  65	Updated constructors of space_node and derived classes accordingly.
  66	(hmotion_node::col): New variable.
  67	Updated constructors of hmotion_node and space_char_hmotion_node
  68	accordingly.
  69	(vmotion_node::col): New variable.
  70	Updated constructor accordingly.
  71	(draw_node::gcol, draw_node::fcol): New variables.
  72	Updated constructor accordingly.
  73	(special_node::gcol, special_node::fcol): New variables.
  74	Updated constructors accordingly.
  75	(troff_output_file::put_char, troff_output_file::put_charwidth,
  76	troff_output_file::draw): Set glyph and fill color.
  77	(troff_output_file::start_special): Set glyph and fill color.
  78	Always set current font.
  79	(troff_output_file::fill_color, troff_output_file::glyph_color):
  80	Don't call `do_motion'.
  81	(glyph_node::gcol, glyph_node::fcol): New variables.
  82	Updated constructors of glyph_node and ligature_node accordingly.
  83	(glyph_node::get_glyph_color, glyph_node::get_fill_color): New
  84	member functions.
  85	(glyph_node::merge_glyph_node,
  86	kern_pair_node::add_discretionary_hyphen,
  87	node::add_discretionary_hyphen): Updated.
  88	(break_char_node::merge_self): Updated.
  89	(word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
  90	vmotion_node::tprint): Handle color.
  91	(make_glyph_node, make_node, node::add_char): Updated.
  92
  93	* src/roff/troff/env.cc (environment::space_newline,
  94	environment::space, environment::output_line, environment::do_break,
  95	environment::make_tab_node, environment::add_padding, title):
  96	Updated.
  97	(environment_switch, environment_copy): Don't add color nodes.
  98
  99	* src/roff/troff/input.cc (do_glyph_color, do_fill_color): Return
 100	nothing.
 101	(token::next): Updated.
 102	\m and \M now are as transparent as \s.
 103	(process_input_stack, token::add_to_node_list, token::process,
 104	read_draw_node): Updated.
 105	(charinfo_to_node_list): Don't add color nodes.
 106
 107	* doc/groff.texinfo: Updated.
 108
 1092002-09-27  Ruslan Ermilov  <ru@FreeBSD.org>
 110
 111	* tmac/doc-common (ds-operating-system-FreeBSD-4.*): New version
 112	strings.
 113
 1142002-09-27  Colin Watson  <cjwatson@debian.org>
 115
 116	* src/roff/troff/node.cc (bracket_node::copy): Check `list' != 0.
 117
 1182002-09-23  Werner LEMBERG  <wl@gnu.org>
 119
 120	* src/devices/grolbp/lbp.cc: Replace `300' with `font::res' where
 121	appropriate.
 122	(DEFAULT_LINEWIDTH_FACTOR): New macro.
 123	(linewidth_factor): New global variable.
 124	(lbp_printer::set_line_thickness): Fix case for size < 0, using
 125	linewidth_factor.
 126	(long_options): Add -w/--linewidth option.
 127	(usage): Updated.
 128	(main): Handle -w option to set linewidth_factor.
 129	(lbp_printer::lbp_printer): Initialize req_linethickness, not
 130	line_thickness.
 131
 132	* src/devices/grolbp/grolbp.man, NEWS, doc/webpage.ms: Updated.
 133
 1342002-09-22  Paco Andrés Verdú  <pandres@dragonet.es>
 135
 136	Fixed a bug in the line thickness setting code.
 137
 138	* src/devices/grolbp/lbp.cc (lbp_printer::req_linethickness): New
 139	variable.
 140	(lbp_printer::set_line_thickness): Pass environment as second
 141	parameter.
 142	Implement it actually.
 143	(lpb_printer::set_char, lbp_printer::draw): Use `req_linethickness'
 144	and `set_line_thickness, depending on the current font size.
 145
 1462002-09-21  Werner LEMBERG  <wl@gnu.org>
 147
 148	Some Debian patches.
 149
 150	* src/roff/groff/pipeline.h (MAX_COMMANDS): Increase to 12.
 151	* src/roff/troff/node.cc (bracket_node::copy): Initialize
 152	`list->last'.
 153
 1542002-09-20  Werner LEMBERG  <wl@gnu.org>
 155
 156	* configure: Regenerated with autoconf 2.54.
 157
 1582002-09-20  Werner LEMBERG  <wl@gnu.org>
 159
 160	* src/roff/troff/env.h (environment): Rename cur_glyph_color to
 161	glyph_color.
 162	Rename cur_fill_color to fill_color.
 163	* src/roff/troff/env.cc: Updated.
 164
 1652002-09-20  Werner LEMBERG  <wl@gnu.org>
 166
 167	* src/roff/troff/env.cc (title): Copy color status after processing
 168	title.
 169	* src/roff/troff/input.cc (charinfo_to_node_list): Emit glyph and
 170	fill color nodes to reset colors properly.
 171
 172	* tmac/www.tmac (DC): Fix color handling.
 173
 174	* src/preproc/pic/pic.man, doc/pic.ms: Document some color issues.
 175	* doc/groff.texinfo: Fixing documentation of `tl' request.
 176	* doc/webpage.ms: Updated.
 177
 1782002-09-19  Werner LEMBERG  <wl@gnu.org>
 179
 180	* src/roff/troff/env.cc (environent_switch, environment_copy):
 181	Emit glyph and fill color nodes to initialize colors properly.
 182
 1832002-09-17  Colin Watson  <cjwatson@debian.org>
 184
 185	* src/roff/troff/env.cc (environment::set_glyph_color,
 186	environment::set_fill_color): Fix typo which prevented \m[] work
 187	correctly.
 188
 1892002-09-17  Werner LEMBERG  <wl@gnu.org>
 190
 191	Add left and right italic correction to non-slanted PS fonts.  This
 192	is an experimental feature to improve image rendering of grohtml.
 193
 194	* font/devps/generate/Makefile (RFLAG): New variable, set to `-i 0'.
 195	({T,H,C,P,N,BM,A,HN}{R,B}, ZD, S, ZDR): Use it.
 196	* font/devps/*: All non-slanted fonts regenerated.
 197	* NEWS: Updated.
 198
 1992002-09-16  Werner LEMBERG  <wl@gnu.org>
 200
 201	Add a site-specific font directory.
 202
 203	* Makefile.in (localfontdir, legacyfontdir): New variables.
 204	(fontpath): Use them.
 205	(MDEFINES, uninstall_dirs): Updated.
 206	* Makefile.comm (.man.n): Add `LOCALFONTDIR' and `LEGACYFONTDIR'.
 207	Remove `FONTPATH' and `MACROPATH'.
 208
 209	* src/roff/troff/troff.man, NEWS: Updated.
 210	* doc/groff.texinfo (Font Directories): New section.
 211	Other minor fixes.
 212
 213	* src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
 214	src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
 215	src/preproc/grn/grn.man: Minor fixes.
 216
 217	* src/devices/grohtml/post-html.cc (html_printer::do_tab_ts):
 218	Remove unused variable.
 219
 2202002-09-11  Werner LEMBERG  <wl@gnu.org>
 221
 222	* doc/groff.texinfo, man/groff_font.man: Clarify argument of \N.
 223	* man/groff_out.man: Fix documentation of 'N'.
 224
 2252002-09-09  Gaius Mulley  <gaius@glam.ac.uk>
 226
 227	* doc/Makefile.in (webpage.html): Depend on gnu.eps also.
 228	* src/roff/troff/env.cc (indent): Emit html tag only if break_flag is
 229	set.
 230	* src/devices/grohtml/post-html.cc (text_glob::is_br_ni): Removed.
 231	(text_glob::is_br, html_printer::lookahead_for_tables): Updated.
 232	(html_printer::do_tab_ts): Call `emit_table_header' with `FALSE'.
 233	* src/devices/grohtml/html-text.cc (html_text::start_tag) <P_TAG,
 234	PRE_TAG>: Call `begin' with `FALSE'.
 235
 2362002-09-09  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
 237
 238	* src/libs/libgroff/string.cc (string::extract): Fix position of
 239	terminating null byte.
 240
 2412002-09-08  Werner LEMBERG  <wl@gnu.org>
 242
 243	Add global option `nospaces' to tbl so that leading and trailing
 244	spaces in data items are ignored.
 245
 246	* src/libs/libgroff/string.cc (string::remove_spaces): New member
 247	function to remove leading and trailing spaces.
 248	* src/include/stringclass.h: Updated.
 249
 250	* src/preproc/tbl/table.h (table): Add flag `NOSPACES'.
 251
 252	* src/preproc/tbl/main.cc (process_options): Handle `nospaces'
 253	option.
 254	Fix typo in error messages.
 255	(process_data): Implement `nospaces' option.
 256	* src/preproc/tbl/tbl.man, NEWS, doc/webpage.ms: Updated.
 257
 2582002-09-07  Werner LEMBERG  <wl@gnu.org>
 259
 260	* src/include/config.hin: Add `HAVE_ISATTY'.
 261	* src/libs/libgroff/tmpfile.cc (xtmpfile_list): Drop `const' for
 262	`fname' member.
 263	* src/libs/libgroff/tmpname.cc: Include `time.h'.
 264	* src/libs/libdriver/input.cc (Char): Add `operator==' and
 265	`operator!=' for `char'.
 266	* doc/groff.texinfo: Replace @ifnottex block for top node with
 267	@ifhtml block.
 268
 2692002-09-06  Werner LEMBERG  <wl@gnu.org>
 270
 271	* doc/Makefile.in (.texinfo.html): Add -I switch.
 272	* doc/groff.texinfo: Add @ifnottex block for top node to make
 273	translation to HTML work.
 274
 2752002-09-05  Gaius Mulley  <gaius@glam.ac.uk>
 276
 277	* src/preproc/html/pre-html.cc (LETTER_LENGTH): Removed.
 278	(get_papersize, determine_vertical_offset): Removed.
 279	(char_buffer::do_image): Always specify letter size.
 280	(main): Updated.
 281	(imageList::createPage): Use -dDEVICEHEIGHTPOINTS instead of
 282	-sPAPERSIZE.
 283
 2842002-09-05  Werner LEMBERG  <wl@gnu.org>
 285
 286	* doc/groff.texinfo, tmac/groff_man.man: Improve documentation of
 287	default indentation.
 288
 2892002-09-04  Gaius Mulley  <gaius@glam.ac.uk>
 290
 291	* src/preproc/html/pre-html.cc (imageList::createPage): Use
 292	-sPAPERSIZE for gs.
 293	(generateImages): Clean up push-back buffer.
 294
 2952002-09-04  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
 296
 297	* doc/groff.texinfo: Minor fixes.
 298
 2992002-08-21  Gaius Mulley  <gaius@glam.ac.uk>
 300
 301	* src/preproc/html/pre-html.cc (DEFAULT_LINE_LENGTH): New macro.
 302	(MAX_WIDTH, A4_LENGTH, A4_OFFSET, LETTER_OFFSET): Removed.
 303	(gsPaper): Removed.
 304	(determine_vertical_offset): Use LETTER_LENGTH.
 305	(createPage): Moved to ...
 306	(imageList::createPage): This.
 307	Call gs with -dDEVICEWIDTHPOINTS to avoid cropping.
 308	(imageList::getMaxX): New function.
 309	(createImage): Moved to ...
 310	(imageList::createImage): This.
 311	(imageList::createImages): New function.
 312	(generateImages): Read `maxx' directly.
 313	Updated.
 314	(scanArguments): Don't specify `gsPaper' for `-o'.
 315	(makeTempFiles): Call `xtmpfile' with the last argument set to
 316	`TRUE'.
 317
 3182002-08-24  Werner LEMBERG  <wl@gnu.org>
 319
 320	* src/include/nonposix.h (mkdir, WAIT, creat) [_MSC_VER]: Define.
 321	(WAIT, _WAIT_CHILD) [!_MSC_VER]: Define.
 322	* src/preproc/html/pre-html.cc (waitForChild): Use WAIT.
 323	* src/preproc/html/pushback.cc: Include nonposix.h.
 324	* src/roff/groff/pipeline.c: Define strcasecmp and strncasecmp
 325	conditionally.
 326
 3272002-08-23  Werner LEMBERG  <wl@gnu.org>
 328
 329	Use $(OBJEXT) for the object file extension.
 330
 331	* Makefile.comm (.SUFFIXES): Add .obj.
 332	(.cc.obj, .c.obj): New implicit rules.
 333	* Makefile.in (OBJEXT): New variable, initialized from autoconf.
 334	(MDEFINES): Add EXEEXT and OBJEXT.
 335	* */Makefile.sub: s/.o/.$(OBJEXT)/.
 336
 3372002-08-22  Werner LEMBERG  <wl@gnu.org>
 338
 339	* INSTALL: Mention texinfo 4.2 as a prerequisite.
 340
 3412002-08-21  Gaius Mulley  <gaius@glam.ac.uk>
 342
 343	* src/devices/grohtml/post-html.cc (colType): Make enum global to
 344	the file.
 345	(html_printer::update_min_max, html_printer::add_table_end): New
 346	methods.
 347	(html_printer::lookahead_for_tables): Use them.
 348	Reset page offset correctly.
 349	(html_printer::~html_printer): Add creation of creator comment up.
 350
 3512002-08-20  Werner LEMBERG  <wl@gnu.org>
 352
 353	* tmac/an-old.tmac (T&): New dummy macro to avoid warning.
 354	* man/groff_tmac.man: Fix typos.
 355	* man/groff_font.man: Minor reordering.
 356	* contrib/eqn2graph/eqn2graph.man (Tp): New macro.
 357
 3582002-08-18  Gaius Mulley  <gaius@glam.ac.uk>
 359
 360	Avoid endless loops while scanning for tables.
 361
 362	* src/devices/grohtml/post-html.cc (list::insert): Set
 363	ptr->right->left.
 364	(html_printer::next_horiz_pos): Add `text_glob' argument; update
 365	all callers.
 366	Return immediately if that argument is NULL.
 367	(html_printer::calc_nf): Don't test if `g' is NULL.
 368	(html_printer::lookahead_for_tables): Use
 369	`glyphs.move_right_get_data'.
 370	Don't test if `g' is NULL.
 371
 3722002-08-18  Gaius Mulley  <gaius@glam.ac.uk>
 373
 374	A better fix, replacing fix 2002-08-15, for increasing SIZE.
 375
 376	* src/devices/grohtml/post-html.cc (char_block): Make `buffer'
 377	a pointer.
 378	(char_block::char_block): Allocate `buffer'.
 379	(char_buffer::add_string): Use it.
 380
 3812002-08-15  Werner LEMBERG  <wl@gnu.org>
 382
 383	* src/devices/grops/grops.man, src/devices/grolj4/grolj4.man,
 384	src/devices/grodvi/grodvi.man: Document default line thickness.
 385
 3862002-08-15  Gaius Mulley  <gaius@glam.ac.uk>
 387
 388	* src/devices/grohtml/post-html.cc (char_block): Increase SIZE to
 389	8192.
 390
 3912002-08-14  Werner LEMBERG  <wl@gnu.org>
 392
 393	* doc/webpage.ms: Updated.
 394
 3952002-08-09  Werner LEMBERG  <wl@gnu.org>
 396
 397	* src/roff/troff/node.cc (node::add_char): Call `freeze_space' for
 398	unbreakable space.
 399
 4002002-08-08  Aaron Campbell  <aaron@monkey.org>
 401
 402	* src/preproc/pic/object.cc (object_spec::make_move): Fix typo
 403	(&& -> &).
 404
 4052002-08-08  Werner LEMBERG  <wl@gnu.org>
 406
 407	* src/roff/troff/input.cc (read_rgb, read_cmy, read_cmyk): Call
 408	tok.next().
 409	(read_gray): Ditto.
 410	Don't push back a space but a newline onto the stack.
 411
 4122002-08-07  Gaius Mulley  <gaius@glam.ac.uk>
 413
 414	Add fonts `CI', `CB', and `CBI' to grohtml which have been omitted
 415	inadvertently.
 416
 417	* src/devices/grohtml/post-html.cc (html_printer::end_font,
 418	html_printer::start_font): Handle them.
 419	* src/devices/grohtml/html-text.cc (html_text::do_italic): Don't
 420	reset bold and tt.
 421	(html_text::do_bold): Don't reset italic and tt.
 422	(html_text::do_tt, html_text::do_pre): Don't reset bold and italic.
 423	* font/devhtml/DESC.proto: Add those fonts.
 424	* font/devhtml/Makefile.sub (PROTOFONTS): Updated.
 425
 4262002-08-07  Werner LEMBERG  <wl@gnu.org>
 427
 428	* MORE.STUFF: Added gpresent.
 429
 430	* tmac/trace.tmac: Show nesting level by a corresponding amount of
 431	whitespace before printing the logging message.
 432
 4332002-07-31  Colin Watson  <cjwatson@debian.org>
 434
 435	* src/devices/grohtml/html-table.cc (html_table::finish_row):
 436	Initialize `n' to zero.  This fixes a segfault on ARM.
 437
 4382002-07-30  Werner LEMBERG  <wl@gnu.org>
 439
 440	* doc/grnexmpl.me: Remove calls to .st and .sc which are undefined.
 441
 4422002-07-29  Werner LEMBERG  <wl@gnu.org>
 443
 444	* src/preproc/pic/pic.y (print_arg, relative_path): Add missing
 445	final semicolon.
 446
 4472002-07-28  Colin Watson  <cjwatson@debian.org>
 448
 449	* src/devices/grohtml/post-html (html_printer::troff_tag): Handle
 450	`.ps'.
 451	(html_printer::html_printer): Initialize `pointsize'.
 452
 4532002-07-26  Werner LEMBERG  <wl@gnu.org>
 454
 455	* doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Remove gnu.eps and
 456	gnu.png.
 457	(CLEANNOTSRCDIRADD): Add gnu.eps and gnu.png.
 458	(gnu.eps): Add -rle switch to pnmtops.
 459	(distfiles): Add gnu.eps and gnu.png.
 460
 4612002-07-25  Petter Reinholdtsen  <pere@hungry.com>
 462
 463	* src/libs/libdriver/input.cc (Char): Add const to `operator=='.
 464	Add `operator!='.
 465
 4662002-07-24  Werner LEMBERG  <wl@gnu.org>
 467
 468	* doc/Makefile.in, doc/Makefile.sub (groff_bin_path): Don't use
 469	' \+' but '  *' for sed.
 470	(GROFF): Set GROFF_COMMAND_PREFIX to empty value.
 471
 4722002-07-23  Werner LEMBERG  <wl@gnu.org>
 473
 474	* doc/groff.texinfo: Document `papersize' keyword.
 475	* NEWS, man/groff_font.man: Updated.
 476
 4772002-07-23  Colin Watson  <cjwatson@debian.org>
 478
 479	Extend papersize keyword to accept more than a single entry.  The
 480	first valid will be used.
 481
 482	* src/libs/libgroff/font.cc (font::load_desc): Implement it.
 483	(font::scan_papersize): Really skip final newline.
 484	* src/preproc/html/pre-html.cc (get_papersize): Ditto.
 485
 4862002-07-23  Werner LEMBERG  <wl@gnu.org>
 487
 488	* configure.ac: Test for isatty.
 489	* configure: Regenerated.
 490	* src/include/posix.h: Check HAVE_ISATTY.
 491	* src/roff/troff/input.cc [ISATTY_MISSING]: Removed.
 492	* src/utils/lookbib/lookbib.cc: Include posix.h.
 493	Don't declare isatty.
 494
 4952002-07-21  Werner LEMBERG  <wl@gnu.org>
 496
 497	* NEWS: Add `output' request.
 498
 499	* REVISION: Increased to 1.
 500
 501Version 1.18.0 released
 502=======================
 503
 5042002-07-19  Gaius Mulley  <gaius@glam.ac.uk>
 505
 506	Allow internal glyph indices > 0xFF in grohtml for input characters.
 507
 508	* src/devices/grohtml/post-html.cc (to_unicode): Use `unsigned int'
 509	as parameter.
 510	(html_printer::add_to_sbuf): Use `unsigned int' as first parameter.
 511	Updated all callers.
 512	(html_printer::sbuf_continuation, html_printer::overstrike): Ditto.
 513	(html_printer): Updated.
 514
 5152002-07-19  Werner LEMBERG  <wl@gnu.org>
 516
 517	* font/devhtml/R.proto: Updated to HTML 4, adding many glyphs.
 518	* font/devutf8/R.proto: Adding some missing glyphs.
 519	* font/devutf8/NOTES: Updated.
 520
 521	* tmac/dvi.tmac: Add more composite glyphs.
 522	* tmac/html.tmac: Updated.
 523
 524	* man/groff_char.man: Add `sum' and `product' entities.
 525
 526	* NEWS: Updated.
 527
 5282002-07-18  Gaius Mulley  <gaius@glam.ac.uk>
 529
 530	Improved table, tab, and indenting support.
 531
 532	* src/roff/troff/input.cc (file_iterator::suppress_newline_flag,
 533	string_iterator::suppress_newline_flag): Removed.  Updated all
 534	function which have used it.
 535
 536	* src/roff/troff/env.cc: Include `input.h'.
 537	(environment::add_node): Accept 0 as parameter.
 538	(environment::add_html_tag): Add `force' parameter.
 539	Updated all callers.
 540	(environment::add_html_tag_tabs): Ditto.
 541	For the moment, support left-aligned tabs only.
 542	(environment::make_html_tag): New function.
 543	(fill, no_fill): Set .br html tag additionally.
 544	(environment::newline): Emit `eol.ce' or `eol' tag for html.
 545	(environment::add_html_tag_eol): Removed.
 546	(tab_stops::distance_to_next_tab): Add variant for handling
 547	nextpos'.
 548	(environment::distance_to_next_tab): Ditto.
 549	Updated all callers.
 550	(environment::handle_tab): Handle tabs for html.
 551	
 552	* src/roff/troff/env.h: Updated.
 553
 554	* src/roff/troff/div.cc: Updated all callers of
 555	`environment::add_html_tag'.
 556
 557	* src/devices/grohtml/html-table.cc,
 558	src/devices/grohtml/html-table.h: New files.
 559
 560	* src/devices/grohtml/html-text.cc (html_text): New members
 561	`blank_para' and `start_space'.
 562	(html_text::issue_tag): Don't emit TABLE_TAG.
 563	Handle indentation for PRE_TAG and P_TAG.
 564	(html_text::end_tag): Updated.
 565	(html_text::table_is_void, html_text::issue_table_begin,
 566	html_text::issue_table_end): Removed.
 567	(html_text::do_push): Simplified.
 568	[DEBUGGING]: Small fix.
 569	(html_text::push_para): Add new parameter for indentation; updated
 570	all callers.
 571	Handle PRE_TAG.
 572	(html_text::do_indent, html_text::do_table, html_text::done_table,
 573	html_text::is_in_table): Removed.
 574	(html_text::do_pre): Handle P_TAG also.
 575	(html_text::shutdown): Handle p->indent.
 576	(html_text::check_emit_text): Simplified.
 577	(html_text::do_emittext): Reset `blank_para'.
 578	(html_text::do_para): Add new parameter for indentation; updated
 579	all callers.
 580	(html_text::remove_indent): New function.
 581	(html_text::do_space): Handle verbatim text properly.
 582	(html_text::ever_emitted_text, html_text::starts_with_space,
 583	html_text::remove_para_align): New functions.
 584	(html_text::dump_stack_element, html_text::dump_stack): Updated.
 585
 586	* src/devices/grohtml/html_text.h (HTML_TAG): Remove TABLE_TAG.
 587	Updated.
 588
 589	* src/devices/grohtml/post-html.cc: Include html-table.h.
 590	(INDENTATION): Removed.
 591	(text_glob): Added many `is_<foo>' functions.
 592	Added table description `tab'.
 593	Added `get_arg',`get_tab_args', `remember_table', and `get_table'
 594	member functions.
 595	(list): Add `insert' and `move_to' member functions.
 596	(page): Add `insert_tag' member function.
 597	(page::dump_page) [DEBUG_TABLES]: Improved.
 598	(html_printer): Add `table' and `max_linelength' elements.
 599	Add many `do_<foo>', `insert_<foo>', `next_horiz_pos',
 600	`lookahead_for_tables', `shutdown_table', `calc_nf', `calc_po_in',
 601	`remove_tabs', `remove_courier_tabs'.
 602	(html_printer::emit_raw): Handle indentation.
 603	(html_printer::do_center, html_printer::write_header): Updated.
 604	(html_printer::is_courier_until_eol): Check for tag.
 605	(html_printer::do_linelength): Handle max_linelength.
 606	(html_printer::do_page_offset, html_printer::do_indentation): Handle
 607	fill_on.
 608	(html_printer::do_tempindent): Updated.
 609	(html_printer::do_indentedparagraph): Removed.
 610	(html_printer::do_indent): Simplified.
 611	(html_printer::do_eol): Use `ever_emitted_text'.
 612	(html_printer::do_flush, html_printer::do_links): Don't call
 613	done_table.
 614	(html_printer::do_break): Handle end_tempindent.
 615	(html_printer::troff_tag): Get argument.
 616	Don't handle `.ip'.
 617	Handle `.tab-ts', `.tab-te', `.col', `tab', and `tab0' tags.
 618	(html_printer::flush_page): Call `lookahead_for_tables'.
 619	Don't call `done_table'.
 620	(html_printer::add_to_sbuf): Always call do_indent.
 621
 622	* src/devices/grohtml/Makefile.sub: Updated.
 623
 624	* tmac/an-old.tmac (TP): Don't handle html device specially.
 625	(an-do-tag-html): New function which will be used instead of
 626	`an-do-tag' if html device is used.
 627
 628	* tmac/html.tmac: Call .po to pass default page offset to grohtml.
 629
 630	* tmac/s.tmac (@IP): Don't handle html device specially.
 631	(@IP-html): New function which will be used instead of `@IP' if
 632	html device is used.
 633
 634	* tmac/www.tmac (HTML-NS, HTML-TAG-NS): New auxiliary macros -- this
 635	is a hack which will eventually vanish again.
 636	(PIMG): Handle `-C' option correctly if not html.
 637	(HR): Use HTML-NS.
 638
 6392002-07-17  Werner LEMBERG  <wl@gnu.org>
 640
 641	* src/utils/afmtodit/afmtodit.pl: Don't use `-P-' for invoking perl.
 642
 6432002-07-14  Eric S. Raymond  <esr@thyrsus.com>
 644
 645	* contrib/pic2graph/pic2graph.*: Use convert(1).
 646	* contrib/eqn2graph/eqn2graph.*: Minor fixes.
 647
 6482002-07-14  Bernd Warken  <bwarken@mayn.de>
 649
 650	* tmac/groff_trace.man: New file.
 651	* tmac/Makefile.sub: Updated.
 652	* NEWS: Updated.
 653
 6542002-07-13  Werner LEMBERG  <wl@gnu.org>
 655
 656	* src/roff/groff/groff.man: Add some cross references.
 657
 6582002-07-12  Werner LEMBERG  <wl@gnu.org>
 659
 660	* src/roff/troff/input.cc (substring_request): Add warnings for
 661	string indices out of range.
 662
 6632002-07-11  Werner LEMBERG  <wl@gnu.org>
 664
 665	* font/devdvi/generate/ec.map: Fix typo (`(l' -> `/l').
 666	* font/devdvi/*EC: Regenerated.
 667
 6682002-07-10  Bernd Warken  <bwarken@mayn.de>
 669
 670	* man/groff_char.man: Updated and extended.
 671
 6722002-07-10  Werner LEMBERG  <wl@gnu.org>
 673
 674	* src/roff/troff/input.cc (length_macro): Renamed to...
 675	(length_request): This.
 676	Move call of `tok.next()' to the very end, otherwise the register
 677	value hasn't been updated yet.
 678	(init_input_requests): Updated.
 679
 6802002-07-09  Werner LEMBERG  <wl@gnu.org>
 681
 682	* src/roff/troff/input.cc (substring_macro): Renamed to...
 683	(substring_request): This.
 684	(init_input_requests): Updated.
 685	* src/roff/troff/request.h: Updated.
 686
 6872002-07-08  Robert D. Goulding  <goulding@Princeton.EDU>
 688
 689	* src/roff/grog/grog.sh: Fix typo.
 690
 6912002-07-08  Werner LEMBERG  <wl@gnu.org>
 692
 693	* win32-diffs: Updated.
 694
 695	Handle `papersize' keyword properly in DESC.
 696
 697	* src/libs/libgroff/font.cc (font::scan_papersize): Fix argument
 698	type.
 699	Updated all callers.
 700	* src/libs/libgroff/paper.cc: Add four more paper formats used by
 701	grolj4.
 702	* src/include/paper.h: Updated.
 703
 704	* src/devices/grolbp/lbp.cc: Remove unnecessary semicolons.
 705	Other minor C syntax fixes.
 706	(papersize, paperlength, paperwidth): Renamed to `user_*'.
 707	(lbp_printer): Add `papersize', `paperlength', and `paperwidth'
 708	members.
 709	(lbp_printer::lbp_printer): Pass three arguments.
 710	Set paper dimensions properly.
 711	(make_printer, main): Updated.
 712	(handle_unknown_desc_command): Fix error messages.
 713	(main): Handle papersize keyword in DESC properly.
 714
 715	* src/devices/grolj4/lj4.cc (paper_size): Renamed to
 716	`user_paper_size'.
 717	(lbp_printer::lbp_printer): Pass an argument.
 718	Set paper_size properly.
 719	(handle_unknown_desc_command): Removed.
 720	(make_printer, main): Updated.
 721	* src/devices/grolj4/grolj4.man: Minor documentation fix.
 722
 723	* man/groff_font.man, NEWS: Updated.
 724
 7252002-07-07  Werner LEMBERG  <wl@gnu.org>
 726
 727	Integrated eqn2graph, contributed by Eric S. Raymond.
 728
 729	* contrib/eqn2graph/{Makefile.sub, eqn2graph.sh, eqn2graph.man}: New
 730	files.
 731	* Makefile.in, NEWS: Updated.
 732
 7332002-06-04  Werner LEMBERG  <wl@gnu.org>
 734
 735	Changing the substring request to make it fit better with other
 736	string manipulation functions in other programming languages:
 737	Index 0 is now the first character in the string, and index -1
 738	indicates the last character.  Since this request didn't work
 739	properly anyway in the last release, it doesn't harm too much to
 740	change the syntax.
 741
 742	* src/roff/troff/input.cc (substring_macro): Use loops to get
 743	the real string length (ignoring COMPATIBLE_SAVE and
 744	COMPATIBLE_RESTORE) and offsets.
 745	Implement change described above.
 746
 747	* man/groff_char.man, tmac/doc-common (doc-header), tmac/doc.tmac
 748	(doc-do-Bd-args, doc-do-Bl-args): Changed accordingly.
 749
 750	* NEWS, doc/groff.texinfo, man/groff_diff.man: Updated.
 751
 7522002-06-03  Werner LEMBERG  <wl@gnu.org>
 753
 754	Make .chop work with .de1 and friends.  COMPATIBLE_SAVE and
 755	COMPATIBLE_RESTORE are completely ignored.
 756
 757	* src/roff/troff/input.cc (char_list::set, char_list::get): New
 758	functions.
 759	(macro): `length' field renamed to `len'.
 760	Added new field `empty_macro' (1 if macro is empty), to be used
 761	instead of checking `len'.
 762	Updated all callers.
 763	(macro::empty): Updated.
 764	(macro::length, macro::set, macro::get): New functions.
 765	(macro::append): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
 766	Set `empty_macro'.
 767	(chop_macro): Check and remove trailing COMPATIBLE_SAVE/
 768	COMPATIBLE_RESTORE pairs.
 769	(asciify): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
 770	* src/roff/troff/request.h: Updated.
 771
 772	* doc/groff.texinfo: Document .chop's behaviour better.
 773
 7742002-06-02  Werner LEMBERG  <wl@gnu.org>
 775
 776	* doc/pic.ms: Fix documentation for the addition of positions.
 777
 778	* tmac/doc.tmac, tmac/an-old.tmac: Need groff version 1.18.
 779
 7802002-06-29  Werner LEMBERG  <wl@gnu.org>
 781
 782	Implementation of string arguments of the form \*[foo arg1 arg2 ...]
 783
 784	* src/roff/troff/input.cc (have_string_arg): New global variable.
 785	(read_mode): New enumeration.
 786	(read_escape_name): Use it.  Update all calls.
 787	(read_long_escape_name): Use it.  Update all calls.
 788	Set have_string_arg if appropriate.
 789	(get_char_for_escape_name): Add parameter for handling space
 790	character.
 791	(interpolate_string_with_args, decode_string_args): New functions.
 792	(get_copy, token::next): Call it if necessary.
 793	(interpolate_string): Fix error message.
 794
 795	* NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
 796	Document it.
 797
 7982002-06-24  Bernd Warken  <bwarken@mayn.de>
 799
 800	* man/groff_tmac.man: Updated and extended.
 801
 8022002-06-24  Werner LEMBERG  <wl@gnu.org>
 803
 804	* doc/pic.ms, src/preproc/pic/pic.man: Fix description of `:='.
 805
 8062002-06-23  Werner LEMBERG  <wl@gnu.org>
 807
 808	* doc/pic.ms: Improve documentation of composite block objects.
 809
 8102002-06-22  Werner LEMBERG  <wl@gnu.org>
 811
 812	* src/roff/troff/input.cc (init_registers): Add three registers
 813	`seconds', `minutes', and `hours' to hold the current time.
 814
 815	* NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
 816	Updated.
 817
 8182002-06-20  Werner LEMBERG  <wl@gnu.org>
 819
 820	Make \X accept both `\ ' and `\~', converting them to single space
 821	characters.
 822
 823	* src/roff/troff/token.h (token): Add TOKEN_UNSTRETCHABLE_SPACE.
 824	(token::unstretchable_space): New inline function.
 825	* src/roff/troff/input.cc (token::next, token::delimiter,
 826	token::description, token::add_to_node_list, token::process): Handle
 827	TOKEN_UNSTRETCHABLE_NODE.
 828	(encode_char): Handle tok.stretchable_space and
 829	tok.unstretchable_space.
 830
 831	* NEWS, doc/groff.texinfo: Document it..
 832
 8332002-06-19  Werner LEMBERG  <wl@gnu.org>
 834
 835	* src/devices/grops/ps.cc (ps_printer::special): Fix error message.
 836
 837	* src/devices/grotty/tty.cc (tty_printer::special): Add `sgr'
 838	keyword to enable/disable SGR output.
 839	(tty_printer::change_fill_color): New function.
 840	* NEWS, src/devices/grotty/grotty.man: Document `sgr' special.
 841
 842	* src/roff/troff/input.cc (output_request): Add missing `tok.next()'
 843	call.
 844
 8452002-06-18  Werner LEMBERG  <wl@gnu.org>
 846
 847	Add a `color' request and a `.color' register to control usage of
 848	colours.
 849
 850	* src/roff/troff/input.cc (disable_color_flag): Replaced with...
 851	(color_flag): This (which is the inverse).
 852	(activate_color): New function.
 853	(main, init_input_requests): Updated.
 854	* src/roff/troff/troff.h, src/roff/troff/node.cc
 855	(troff_output_file::fill_color, troff_output_file::glyph_color):
 856	Updated.
 857
 858	* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
 859	Document the changes.
 860
 8612002-06-17  Colin Watson  <cjwatson@debian.org>
 862
 863	Circumvent bug in autoconf 2.53 regarding top_builddir.
 864
 865	* aclocal.m4 (GROFF_BUILDDIR): s/top_builddir/groff_top_builddir/.
 866	* Makefile.in, doc/Makefile.in:
 867	s/@top_builddir@/@groff_top_builddir@/.
 868	* configure: Regenerated (with autoconf 2.53).
 869
 8702002-06-17  Werner LEMBERG  <wl@gnu.org>
 871
 872	* src/libs/libgroff/font.cc (font::load_desc): Fix computation of
 873	`paperwidth' and `paperlength' for the `papersize' keyword.
 874
 8752002-06-16  P. Alejandro Lopez-Valencia  <dradul@007mundo.com>
 876
 877	* src/devices/grops/grops.man: Add info about Type 42 fonts.
 878
 8792002-06-15  Gaius Mulley  <gaius@glam.ac.uk>
 880
 881	* src/devices/grohtml/post-html.cc (html_printer::emit_raw,
 882	html_printer::do_linelength, html_printer::do_pageoffset,
 883	html_printer::do_indentation, html_printer::do_tempindent,
 884	html_printer::do_break, html_printer::begin_page): Clear indented
 885	text.
 886	* tmac/html.tmac: Disable hyphenation.
 887
 8882002-06-15  Werner LEMBERG  <wl@gnu.org>
 889
 890	Don't produce HTML files if utility programs are missing.
 891
 892	* Makefile.in (make_html, make_install_html): New variables.
 893	(MDEFINES): Updated.
 894
 895	* aclocal.m4 (GROFF_HTML_PROGRAMS): New function to test for HTML
 896	utility programs.
 897	* configure.ac: Use it.
 898	* configure: Regenerated.
 899
 900	* doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Move webpage.html to...
 901	(HTMLEXAMPLESFILES): This new variable.
 902	(EXAMPLESIMAGEFILES): Renamed to...
 903	(HTMLEXAMPLEIMAGEFILES): This.
 904	(CLEANADD): Add HTMLEXAMPLEFILES.
 905	(all): Use `make_html'.
 906	(html): New target.
 907	(install_data): Use `make_install_html'.
 908	Move html stuff to...
 909	(install_html): This new target.
 910	(uninstall_sub): Updated.
 911
 9122002-06-14  Bernd Warken  <bwarken@mayn.de>
 913
 914	* src/roff/grog/Makefile.sub (grog): Renamed to...
 915	(grog.old): This.
 916	(grog): New rule to always install grog.sh as grog.
 917
 9182002-06-08  Bernd Warken  <bwarken@mayn.de>
 919
 920	* src/roff/grog/grog.pl: Fix typo.
 921
 9222002-06-07  Werner LEMBERG  <wl@gnu.org>
 923
 924	* doc/groff.texinfo: Add more info on .tr arguments.
 925
 9262002-06-05  Werner LEMBERG  <wl@gnu.org>
 927
 928	* NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
 929
 930	* aclocal.m4 (GROFF_MKSTEMP): Include unistd.h.
 931	* configure: Regenerated.
 932
 9332002-06-05  Ralph Corderoy  <ralph@inputplus.demon.co.uk>
 934
 935	* src/roff/troff/symbol.cc (table_sizes): Add more values.
 936
 937	* src/roff/grog/grog.pl, src/roff/grog/grog.sh: Recognize mom.
 938
 9392002-06-04  Werner LEMBERG  <wl@gnu.org>
 940
 941	* aclocal.m4 (GROFF_PAGE): Don't use `prefix' directly since it
 942	is not initialized at the time we need it in case `--prefix' hasn't
 943	been set.  Check for `ac_default_prefix' also.
 944	Test for `papersize' keyword also and generalize allowed whitespace.
 945	* configure: Regenerated.
 946
 947	* font/devps/Makefile.sub (DESC): Use `papersize' instead of
 948	`paperlength'.
 949
 950	* src/libs/libgroff/Makefile.sub (version, revision): Replaced
 951	with...
 952	(src_version, src_revision): New variables to avoid overwriting
 953	from parent make process.
 954	(version.cc): Updated.
 955
 956	* src/preproc/html/pre-html.cc: Include paper.h and font.h.
 957	(linebuf, linebufsize): New global variables.
 958	(sys_fatal): Use `fatal' to abort properly.
 959	(get_line): New function.
 960	(get_resolution): Use it.
 961	Improve error messages.
 962	(get_papersize): Check `papersize' also.
 963	Use `get_line'.
 964	Improve error messages.
 965
 9662002-06-03  Werner LEMBERG  <wl@gnu.org>
 967
 968	* Makefile.comm (CLEANNOTSRCDIRADD): New target for files which
 969	should be removed only if builddir is not srcdir.
 970	(mostlyclean): Handle `CLEANNOTSRCDIRADD'.
 971	(clean): Depend on `mostlyclean'.
 972	(distclean): Depend on `clean'.
 973	(realclean, extraclean): Depend on `distclean'.
 974	(.y.cc, .y.o): Simplified.  The output files are no longer written
 975	to srcdir but to builddir.
 976	* Makefile.in (MDEFINES): Add `version' and `revision'.
 977	(uninstall_dirs): Fix order of directories.
 978	* doc/Makefile.sub (version, revision): Removed.
 979	(CLEANADD): Removed grnexmpl.g, groff, groff-*.
 980	Added `HTMLDOCFILES'.
 981	(CLEANNOTSRCDIRADD): New target for grnexmpl.h, groff, groff-*.
 982	* src/preproc/eqn/Makefile.sub, src/preproc/pic/Makefile.sub,
 983	src/preproc/refer/Makefile.sub (YTABC, YTABH): Don't use `srcdir'
 984	as prefix.
 985
 986	* doc/texinfo.tex (\authortt): New macro.
 987	(\shortcontt): Define.
 988	(\titlepage): Set \tt to \authortt while defining \authorfont.
 989	(\appendixbox): New macro.
 990	(\chapmacro, \appendixentry): Use \appendixbox to get even
 991	indentation for letters.
 992	(\summarycontents): Set \tt.
 993	(\internalpagesize): Add two arguments for real paper width and
 994	height as needed by pdfTeX.
 995	(\letterpaper, \smallbook, \afourpaper, \afivepaper, \afourlatex):
 996	Updated.
 997	(\tempdima, \tempdimb): New temporary dimensions.
 998	(\pagesizesyyy): Updated.
 999
10002002-06-02  Werner LEMBERG  <wl@gnu.org>
1001
1002	Adding a new keyword `papersize' to the DESC file format (similar
1003	but not completely identical to grolbp's extension).  grops now has
1004	a -p command line option to override `papersize'.  Finally, grolbp
1005	has been adapted to the new syntax.
1006
1007	* src/libs/libgroff/paper.cc, src/include/paper.h: New files.  It
1008	defines and initializes the `papersizes[]' array with NUM_PAPERSIZES
1009	elements.
1010	* src/libs/libgroff/Makefile.sub (OBJS): Add `paper.o'.
1011	(CCSRCS): Add `paper.cc'.
1012
1013	* src/include/font.h (font): Add `papersize' element.
1014	* src/libs/libgroff/font.cc (font::unit_scale): New helper function.
1015	(font::scan_papersize): New function.
1016	(font::load_desc): Use it for handling `papersize' keyword.
1017	* src/libs/libgroff/fontfile.cc: Initialize `font::papersize'.
1018
1019	* src/devices/grops/ps.cc: Include paper.h.
1020	(user_paper_length): New global variable.
1021	(ps_printer): Use paper length as initializer.
1022	(make_printer): Updated.
1023	(main): Handle new `-p' option.
1024	* src/devices/grops/grops.man: Updated.
1025
1026	* src/devices/grolbp/lbp.cc: Include paper.h.
1027	s/papersizes/lbp_papersizes/.
1028	(set_papersize): Use new `papersizes' array.
1029	(handle_unknown_desc_command): Don't handle `papersize'.
1030	(main): Use `font::scan_papersize' for handling `-p' option.
1031	* src/devices/grolbp/grolbp.man: Updated.
1032
1033	* man/groff_font.man: Document `papersize'.
1034	* NEWS: Updated.
1035
10362002-05-30  Werner LEMBERG  <wl@gnu.org>
1037
1038	* src/devices/grops/TODO: Updated.
1039	* src/devices/grops/grops.man: More info on paper formats.
1040	* man/groff_font.man: Document `paperheight' and `paperwidth'.
1041
10422002-05-29  Werner LEMBERG  <wl@gnu.org>
1043
1044	* doc/Makefile.sub (CLEANADD): Add grnexmpl.g, groff, and groff-*
1045	to list only if srcdir != currdir.
1046	(distfiles): New target.
1047
1048	* Makefile.in (EXTRADIRS): Add font/devlj4/generate.
1049	(NOMAKEDIRS): New variable.
1050	(DISTDIRS): Use it.
1051
10522002-05-26  Werner LEMBERG  <wl@gnu.org>
1053
1054	Add .output request, similar to \! at top-level.
1055
1056	* src/roff/troff/input.cc (transparent): Remove unused declaration.
1057	(output_request): New function.
1058	(init_input_requests): Add it.
1059	Sorted.
1060	* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
1061	Document it.
1062
1063	* Makefile.in (MDEFINES): Add INSTALL_INFO.
1064	(prepare_examples): Fix typo.
1065	* doc/groff.texinfo (@direntry): Fix it.
1066
10672002-05-25  Werner LEMBERG  <wl@gnu.org>
1068
1069	Including the doc subdir into groff's Makefile system.
1070
1071	* aclocal.m4 (GROFF_INSTALL_INFO): New function.
1072	* configure.ac: Use it.
1073	Generate `doc/Makefile'.
1074	* configure: Regenerated.
1075
1076	* Makefile.in (infodir, INSTALL_INFO): New variables.
1077	(MDEFINES, uninstall_dirs): Updated.
1078	(OTHERDIRS): Add `doc'.
1079	* Makefile.comm (CLEANDIRADD): New variable.
1080	(mostlyclean): Use it.
1081
1082	* doc/Makefile.sub, doc/Makefile.in: New files.
1083	* doc/Makefile: Removed.
1084
1085	* NEWS, INSTALL: Updated.
1086
10872002-05-24  Werner LEMBERG  <wl@gnu.org>
1088
1089	* doc/homepage.ms: Renamed to ...
1090	* doc/webpage.ms: This.
1091	Use `.NHR'.
1092
10932002-05-23  Werner LEMBERG  <wl@gnu.org>
1094
1095	Integrating the `mom' macro package, contributed by Peter Schaffter
1096	<df191@ncf.ca>.
1097
1098	* contrib/mom/*: New subdirectory tree.
1099	* Makefile.in (docdir, exampledir, htmldocdir): New variables to
1100	be used for documentation files.
1101	(MDEFINES, uninstall_dirs): Use them.
1102	(OTHERDIRS): Add contrib/mom.
1103	* Makefile.comm (.man.n): Add @DOCDIR@, @EXAMPLEDIR@, and
1104	@HTMLDOCDIR@.
1105	* MANIFEST, NEWS: Updated.
1106
11072002-05-22  Gaius Mulley  <gaius@glam.ac.uk>
1108
1109	Change syntax of \O: \O[0] suppresses output, \O[1] enables output
1110	if at outer level; at start-up we are at outer level.
1111
1112	* src/roff/troff/input.cc (do_suppress): Implement it.
1113	Simplify \O[3].
1114
1115	Add option -p to show progress information.
1116	pre-grohtml will now render only one page at a time, reducing the
1117	size of needed disk resources enormously.
1118
1119	* src/preproc/html/pre-html.cc (imagePageStem): Replaced with...
1120	(imagePageName): New global variable.
1121	(psPageName, show_progress, currentPageNo): New global variables.
1122	(html_system): Close saved stderr and stdout handles.
1123	(write_end_image): Accept a parameter to control \O escape.
1124	(write_start_image): Adapted to new \O meaning.
1125	(char_buffer::write_upto_newline): Updated.
1126	(createAllPages): Replaced with...
1127	(createPage): This new function to create a single page for images.
1128	It uses `psselect' from the psutils package.
1129	(removeAllPages): Removed.
1130	(createImage): Updated.
1131	Handle progress display.
1132	(char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Removed.
1133	(scanArguments): Add option -p.
1134	(makeTempFiles): Updated to create temp files for psPageName and
1135	imagePageName.
1136	(removeTempFiles): Removed.
1137	(main): Updated.
1138
1139	* src/devices/grohtml/post-html.cc (header_desc::write_headings,
1140	html_printer::write_header): Append `\0' to `buffer'.
1141	(html_printer::do_eol): Depend on `current_paragraph->emitted_text'.
1142	(main): Handle -p.
1143	* src/devices/grohtml/html-text.cc (html_text::dump_stack_element):
1144	Handle `text_emitted'.
1145	(html_text::table_is_void): Slightly rewritten.
1146	(stop): New external symbol.
1147	(html_text::do_push) [DEBUGGING]: Use it and simplify.
1148	(html_text::shutdown): Call `dump_stack'.
1149	(html_text::do_space): Rewritten.
1150	* src/devices/grohtml/grohtml.man: Document -p and the need of
1151	`psselect'.
1152
1153	* tmac/www.tmac (DC, HTML-DO-IMAGE, HTML-IMAGE-END): Updated to
1154	new \O syntax.
1155	Call \O[0] if `ps4html' is active.
1156	* tmac/s.tmac (@EQ, @EN): Handle html better.
1157	(@TS, TE): Ditto.
1158	* tmac/html.tmac: Don't use black for background colour.
1159
1160	* src/roff/troff/node.cc: Include `div.h'.
1161	(troff_output_file::really_print_line): Don't use `is_on'.
1162	(troff_output_file::word_marker, troff_output_file::flush_tbuf
1163	troff_output_file::check_charinfo,
1164	troff_output_file::put_char_width, troff_output_file::put_char,
1165	troff_output_file::determine_line_limits, troff_output_file::draw,
1166	real_output_file::begin_page, glyph_color_node::tprintf,
1167	fill_color_node::tprint, hline_node::tprint, vline_node::tprint):
1168	Use `is_on'.
1169	(troff_output_file::really_on): Call `do_motion'.
1170	(suppress_node::tprint): Use `get_page_number' instead of `%'
1171	register.
1172	Call `reset_output_registers' conditionally on `is_on'.
1173
1174	* doc/groff.texinfo: Document new syntax of \O.
1175	* NEWS, man/groff_diff.man: Updated.
1176
11772002-05-22  Werner LEMBERG  <wl@gnu.org>
1178
1179	* MORE.STUFF: Add info about David Frey's deroff implementation.
1180	Mention troff.org.
1181
11822002-05-16  Werner LEMBERG  <wl@gnu.org>
1183
1184	Pic's `with' attribute now accepts positions.
1185
1186	* src/preproc/pic/pic.y: Make `.', BOX, CIRCLE, ELLIPSE, ARC, LINE,
1187	ARROW, SPLINE, and `[' left-associative tokens to fix shift/reduce
1188	conflicts.
1189	(object_spec): Add rule for `WITH' and `position'.
1190	(relative_path): Give `corner' the precedence of `CHOP'.
1191	* src/preproc/pic/object.h (path): New members `pos' and
1192	`is_position'.
1193	* src/preproc/pic/object.cc: Updated initializers of `path'.
1194	(path::follow): Handle `is_position'.
1195
1196	* doc/pic.ms: Completely updated grammar description.
1197	Many typographical improvements.
1198
11992002-05-15  Werner LEMBERG  <wl@gnu.org>
1200
1201	* src/roff/troff/env.cc(hyphen_trie::hpf_getc): Accept ^^x (char
1202	code of x in range 0-127) also.
1203	* doc/groff.texinfo, man/groff_diff.man: Updated.
1204
1205	Added keywords `north', `south', `east', and `west' for corners
1206	in pic.
1207
1208	* src/preproc/pic/lex.cc (lookup_keyword): Add NORTH, SOUTH, EAST,
1209	and WEST.
1210	(yylex): Handle them.
1211	* src/preproc/pic/pic.y: Add tokens NORTH, SOUTH, EAST, and WEST.
1212	(corner): Handle them.
1213
12142002-05-14  Werner LEMBERG  <wl@gnu.org>
1215
1216	* src/devices/grops/grops.man: Clarify handling of `download' file.
1217
12182002-05-11  Werner LEMBERG  <wl@gnu.org>
1219
1220	Adding `warnscale' and `spreadwarn' requests, based on a patch from
1221	Jeffrey Friedl <jfriedl@yahoo.com>.
1222
1223	* src/roff/troff/input.cc (spread_limit, warn_scale,
1224	warn_scaling_indicator): New global variables.
1225	(warnscale_request, spreadwarn_requests): New functions.
1226	(main): Initialize `warn_scale' and `warn_scaling_indicator'.
1227	(init_input_requests): Updated.
1228	(error_type): Add `OUTPUT_WARNING'.
1229	(do_error): Handle it.
1230	(output_warning): New warning function which shows output location.
1231	* src/roff/troff/env.h (spread_limit): New external variable.
1232	* src/roff/troff/env.cc (environment::choose_breakpoint): Use
1233	`output_warning'.
1234	(distribute_space): Emit warning if added space is larger than
1235	`spread_limit'.
1236	(environment::possibly_break_line): Emit warning if a line can't
1237	be adjusted on both sides.
1238
1239	* doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document it.
1240
12412002-05-08  Werner LEMBERG  <wl@gnu.org>
1242
1243	* src/roff/troff/node.cc (special_node::special_node): Use
1244	env_definite_font(curenv) instead of curenv->get_font().  Otherwise
1245	\X''\% crashes, for example.
1246
1247	* doc/groff.texinfo: Document \! and \? used at top-level.
1248
12492002-05-06  Werner LEMBERG  <wl@gnu.org>
1250
1251	* src/preproc/pic/pic.man: Fix some keyword syntax.
1252	Other minor typographical fixes.
1253
1254	* src/roff/groff/groff.man: Fix typos.
1255
12562002-05-04  Werner LEMBERG  <wl@gnu.org>
1257
1258	* src/roff/groff/groff.man ([ShortOpt]): Renamed to...
1259	(ShortOpt[]): This to avoid problems with refer.
1260
1261	* doc/pic.ms: Fix typo.
1262	Fix pic grammar description.
1263
1264	* tmac/an-old.tmac (ne): Use de1, not de.
1265
12662002-05-03  Werner LEMBERG  <wl@gnu.org>
1267
1268	* doc/groff.texinfo: Finished separation of glyphs and characters.
1269	Don't use the string `Appendix' for appendix headers (both in
1270	the text and the table of contents).
1271	* man/groff_tmac.man, src/roff/troff/troff.man: Fix order of tmac
1272	directories.
1273
1274	Use registers LL and LT (similar to -ms) for controlling the
1275	length of title and line, respectively, in the -man and -mdoc
1276	macro packages.
1277
1278	* tmac/doc-ditroff (doc-setup-page-layout), tmac/doc-nroff
1279	(doc-setup-page-layout): Use \n[LL] and \n[LT].
1280	* tmac/an-old.tmac: Set \n[LL] and \n[LT] if not defined.
1281	(TH): Use \n[LL].
1282	(an-header, an-p-footer): Use \n[LT].
1283	* NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
1284	doc/groff.texinfo: Document it.
1285
12862002-05-02  Werner LEMBERG  <wl@gnu.org>
1287
1288	* doc/fdl.texi: New file.
1289	* doc/groff.texinfo: Include it.
1290	Define and use @copying.
1291	Starting with separating glyph, symbol, and character.
1292
12932002-04-27  Werner LEMBERG  <wl@gnu.org>
1294
1295	* Makefile.in (EXEEXT): Set it.
1296	* src/*/Makefile.sub (PROG): Add $(EXEEXT) for all non-script
1297	programs.
1298
1299	* src/include/nonposix.h: Define GS_NAME.
1300	* src/preproc/html/pre-html.cc (createAllPages): Use GS_NAME.
1301
1302	Some preliminary changes for EMX support under OS/2.
1303
1304	* src/preproc/pic/main.cc (main), src/roff/groff/pipeline.c: Add
1305	__EMX__ similar to __MSDOS__.
1306	* src/utils/indxbib/indxbib.cc (main) [__EMX__]: Use `unlink'.
1307
13082002-04-25  Werner LEMBERG  <wl@gnu.org>
1309
1310	* doc/groff.texinfo: Integrated groff_out.man.
1311	Some macro fixes.
1312
13132002-04-23  Werner LEMBERG  <wl@gnu.org>
1314
1315	* man/groff_out.man: Minor fixes.
1316
13172002-04-23  Werner LEMBERG  <wl@gnu.org>
1318
1319	* doc/groff.texinfo: Moving @cindex entries after @Def* to get
1320	correct page references.
1321	Fixed many index entries.
1322
13232002-04-23  Bernd Warken  <bwarken@mayn.de>
1324
1325	* man/roff.man: Enlarged.
1326
13272002-04-22  Werner LEMBERG  <wl@gnu.org>
1328
1329	* doc/groff.texinfo: More examples, other fixes.
1330
13312002-04-20  Werner LEMBERG  <wl@gnu.org>
1332
1333	* src/roff/troff/input.cc (pipe_output): Multiple calls to `pi'
1334	will now form a chain, e.g.
1335
1336	  .pi foo
1337	  .pi bar
1338
1339	is now the same as
1340
1341	  .pi foo | bar
1342
1343	This is for compatibility with plan 9's troff.
1344
1345	* tmac/tty.tmac: Set default tab values to 0.8i to be compatible
1346	with UNIX troff.
1347	* NEWS: Updated.
1348
1349	* doc/groff.texinfo: Add documentation of remaining requests and
1350	registers.
1351
13522002-04-19  Werner LEMBERG  <wl@gnu.org>
1353
1354	* doc/groff.texinfo: Add documentation of remaining escapes.
1355
1356	* font/devdvi/generate/tc.map: Remove entry for `sr'.
1357	* font/devdvi/*TC: Regenerated.
1358
13592002-04-18  Werner LEMBERG  <wl@gnu.org>
1360
1361	* src/roff/troff/input.cc (token::next): Make \H behave consistently
1362	if not in compatibility mode, i.e., increment relative to the
1363	previous height.
1364	* doc/groff.texinfo: Updated accordingly.
1365
13662002-04-17  Werner LEMBERG  <wl@gnu.org>
1367
1368	* doc/groff.texinfo: Document \\, \e, \E, \., and \c.
1369
13702002-04-16  Bernd Warken  <bwarken@mayn.de>
1371
1372	* src/roff/groff/groff.man: Improve documentation of -P option.
1373	Other minor fixes.
1374
13752002-04-15  Werner LEMBERG  <wl@gnu.org>
1376
1377	Add new escape \F to switch font family.
1378
1379	* src/roff/troff/input.cc (token::next): Handle \F.
1380	* src/roff/troff/env.cc (environment::set_family): Handle
1381	`interrupted' flag.
1382	* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
1383	Document it.
1384
13852002-04-14  Werner LEMBERG  <wl@gnu.org>
1386
1387	* tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of
1388	spaces in tags.
1389
13902002-04-13  Werner LEMBERG  <wl@gnu.org>
1391
1392	Implement \f[] as an alternative to \fP.  Change \mP and \MP to
1393	\m[] and \M[], respectively.
1394
1395	* src/roff/troff/symbol.cc (EMPTY_SYMBOL): New global variable.
1396	(symbol::symbol): Handle NULL string and empty string differently.
1397	* src/roff/troff/symbol.h (symbol::is_empty): New inline function.
1398	* src/roff/troff/input.cc (read_escape_name, read_long_escape_name):
1399	Add optional parameter.
1400	Updated calling functions.
1401	(get_copy, do_glyph_color, do_fill_color, token::next): Use
1402	`symbol::is_empty'.
1403	* src/roff/troff/env.cc (environment::set_font): Ditto.
1404
1405	* src/preproc/pic/troff.cc (troff_output::set_fill,
1406	troff_output::reset_color: Updated.
1407
1408	* tmac/www.tmac: Updated.
1409
1410	* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo,
1411	doc/homepage.ms, src/devices/grotty/grotty.man, tmac/groff_www.man:
1412	Updated.
1413
1414	* tmac/Xps.tmac: Remove some redundant code.
1415
1416	* tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac,
1417	tmac/dvi.tmac, man/roff.man, man/groff_out.man, man/groff.man,
1418	man/groff_diff.man, src/roff/groff/groff.man: Replace \f[P] with
1419	\f[].
1420
14212002-04-13  Bernd Warken  <bwarken@mayn.de>
1422
1423	* src/include/printer.h, src/libs/libdriver/printer.cc
1424	(printer::change_fill_color): New member function.
1425	* src/libs/libdriver/input.cc (parse_D_command): Use it.
1426
14272002-04-12  Werner LEMBERG  <wl@gnu.org>
1428
1429	* doc/groff.texinfo: Completed pass on gtroff reference.
1430
14312002-04-11  Werner LEMBERG  <wl@gnu.org>
1432
1433	* doc/groff.texinfo: More fixes.
1434
14352002-04-11  Bernd Warken  <bwarken@mayn.de>
1436
1437	* src/include/color.h: Decorate with `const'.
1438	Use `size_t'.
1439	Include `stddef.h'.
1440	* src/libs/libgroff.color.cc: Decorate with `const'.
1441	Use `size_t'.
1442	(color::color): Initialize members.
1443	* src/libs/libdriver/input.cc (parse_D_command): Handle `f'
1444	command according to the documentation.
1445
1446	* man/groff_out.man: Updated.
1447	Minor fixes.
1448
14492002-04-11  Gaius Mulley  <gaius@glam.ac.uk>
1450
1451	* src/preproc/html/pre-html.cc (write_start_image): Remove
1452	redundant output.
1453	* tmac/www.tmac (DC, HTML-DO-IMAGE): Ditto.
1454
1455	* src/devices/grohtml/post-html.cc (page::add_and_encode): Using
1456	\C'hy' caused an assertion failure.
1457
1458	* src/roff/troff/env.cc (environment::environment): Initialize
1459	`emitted_node'.
1460	(environment::copy): Handle `ignore_next_eol' and `emitted_node'.
1461
14622002-04-10  Werner LEMBERG  <wl@gnu.org>
1463
1464	* man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
1465	Document pvs request and .pvs register.
1466
14672002-04-09  Werner LEMBERG  <wl@gnu.org>
1468
1469	* doc/groff.texinfo: Improve and fix documentation of diversions
1470	and environments.
1471
14722002-04-08  Werner LEMBERG  <wl@gnu.org>
1473
1474	* doc/groff.texinfo: Fix documentation of drawing functions.
1475	Other minor fixes.
1476
14772002-04-07  Werner LEMBERG  <wl@gnu.org>
1478
1479	* doc/groff.texinfo: Better documentation of double quotes as
1480	arguments.
1481	Other minor fixes.
1482
14832002-04-06  Werner LEMBERG  <wl@gnu.org>
1484
1485	* man/groff_font.man: Document names of special characters better.
1486	* doc/groff.texinfo: Minor improvements.
1487
1488	* tmac/lbp.tmac: Load latin1.tmac.
1489	* tmac/X.tmac, tmac/Xps.tmac: Load latin1.tmac or cp1047.tmac.
1490
1491	* font/devX*/*: Regenerated (all chars > 0x80 removed).
1492
14932002-04-05  Werner LEMBERG  <wl@gnu.org>
1494
1495	* tmac/tty.tmac: Don't use shc request.
1496	* tmac/latin1.tmac, tmac/cp1047.tmac: Translate soft hyphen to `\%'.
1497	* NEWS: Updated.
1498
1499	* man/groff_diff.man: Minor fixes.
1500
1501	* font/devlbp/*: Remove all `charXXX' entities.
1502
1503	* src/libs/libgroff/font.cc (font::~font): Deallocate
1504	`special_device_coding'.
1505	(font::load): Use `new' for allocating `special_device_coding'.
1506	* src/libs/libgroff/nametoindex.cc (character_indexer::lookup_char):
1507	Removed unused member.
1508
15092002-04-05  Werner LEMBERG  <wl@gnu.org>
1510
1511	* src/drivers/grops/psrm.cc (skip_possible_newline): New function.
1512	(resource_manager::do_begin_binary,
1513	resource_manager::do_begin_data): Use it.
1514
1515	* doc/texinfo.tex: Updated to version 4.2.
1516
1517	* src/roff/troff/token.h: Add TOKEN_ZERO_WIDTH_BREAK for `\:'.
1518	(token::zero_width_break): New inline function.
1519	* src/roff/troff/input.cc (token::next): Use it.
1520	(token::description): Updated.
1521	(e…

Large files files are truncated, but you can click here to view the full file