1151497Sru 2151497SruVersion 1.18.1 released 3151497Sru======================= 4151497Sru 5151497Sru2002-10-08 Werner LEMBERG <wl@gnu.org> 6151497Sru 7151497Sru * doc/webpage.ms, NEWS: Updated. 8151497Sru 9151497Sru2002-10-07 Werner LEMBERG <wl@gnu.org> 10151497Sru 11151497Sru * tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to 12151497Sru suppress additional whitespace after the header. 13151497Sru 14151497Sru * tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync 15151497Sru with NetBSD. 16151497Sru 17151497Sru * src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated. 18151497Sru 19151497Sru2002-10-07 Ruslan Ermilov <ru@FreeBSD.org> 20151497Sru 21151497Sru * tmac/doc-common(doc-volume-operating-system-ateol): New flag. 22151497Sru (Dt): Use it to improve language localization (especially Russian 23151497Sru and French). 24151497Sru 25151497Sru2002-10-07 Daniel Senderowicz <daniel@synchrods.com> 26151497Sru 27151497Sru * src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros. 28151497Sru * src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier 29151497Sru drawing commands. 30151497Sru * src/preproc/grn/hgraph.cc (drawwig): Add parameter to control 31151497Sru curve type. 32151497Sru Call `picurve' for BSPLINE. 33151497Sru (HGPrintElt): Handle BSPLINE. 34151497Sru * src/preproc/grn/README: Document it. 35151497Sru 36151497Sru2002-10-03 Werner LEMBERG <wl@gnu.org> 37151497Sru 38151497Sru * src/roff/troff/node.cc (break_char_node::col): New variable. 39151497Sru Updated constructor. 40151497Sru (space_node::tprint, word_space_node::tprint): Call `fill_color' 41151497Sru unconditionally. 42151497Sru (space_node::space_node): Remove assertion. 43151497Sru (break_char_node::add_self): Pass color argument to space node. 44151497Sru * src/roff/troff/input.cc (token::add_to_node_list, token::process): 45151497Sru Ditto. 46151497Sru * src/roff/troff/env.cc (environment::do_break, 47151497Sru environment::add_padding): Ditto. 48151497Sru 49151497Sru2002-10-02 Werner LEMBERG <wl@gnu.org> 50151497Sru 51151497Sru Redesigning color support in troff. Colors are no longer 52151497Sru represented as separate nodes but are now part of glyph nodes and 53151497Sru friends. This fixes the current formatting misbehaviour due to the 54151497Sru changes introduced on 2002-09-20. Some extra code is necessary for 55151497Sru proper grotty support: Without adding color variables to 56151497Sru space-related nodes, the background color would be changed too late. 57151497Sru 58151497Sru * src/roff/troff/node.h, src/roff/troff/node.cc: 59151497Sru s/current_pagecolor/current_fill_color/. 60151497Sru s/current_glyphcolor/current_glyph_color/. 61151497Sru (glyph_color_node, fill_color_node): Removed. 62151497Sru (node::get_glyph_color, node::get_fill_color): New virtual member 63151497Sru functions. 64151497Sru (space_node::col): New variable. 65151497Sru Updated constructors of space_node and derived classes accordingly. 66151497Sru (hmotion_node::col): New variable. 67151497Sru Updated constructors of hmotion_node and space_char_hmotion_node 68151497Sru accordingly. 69151497Sru (vmotion_node::col): New variable. 70151497Sru Updated constructor accordingly. 71151497Sru (draw_node::gcol, draw_node::fcol): New variables. 72151497Sru Updated constructor accordingly. 73151497Sru (special_node::gcol, special_node::fcol): New variables. 74151497Sru Updated constructors accordingly. 75151497Sru (troff_output_file::put_char, troff_output_file::put_charwidth, 76151497Sru troff_output_file::draw): Set glyph and fill color. 77151497Sru (troff_output_file::start_special): Set glyph and fill color. 78151497Sru Always set current font. 79151497Sru (troff_output_file::fill_color, troff_output_file::glyph_color): 80151497Sru Don't call `do_motion'. 81151497Sru (glyph_node::gcol, glyph_node::fcol): New variables. 82151497Sru Updated constructors of glyph_node and ligature_node accordingly. 83151497Sru (glyph_node::get_glyph_color, glyph_node::get_fill_color): New 84151497Sru member functions. 85151497Sru (glyph_node::merge_glyph_node, 86151497Sru kern_pair_node::add_discretionary_hyphen, 87151497Sru node::add_discretionary_hyphen): Updated. 88151497Sru (break_char_node::merge_self): Updated. 89151497Sru (word_space_node::tprint, space_node::tprint, hmotion_node::tprint, 90151497Sru vmotion_node::tprint): Handle color. 91151497Sru (make_glyph_node, make_node, node::add_char): Updated. 92151497Sru 93151497Sru * src/roff/troff/env.cc (environment::space_newline, 94151497Sru environment::space, environment::output_line, environment::do_break, 95151497Sru environment::make_tab_node, environment::add_padding, title): 96151497Sru Updated. 97151497Sru (environment_switch, environment_copy): Don't add color nodes. 98151497Sru 99151497Sru * src/roff/troff/input.cc (do_glyph_color, do_fill_color): Return 100151497Sru nothing. 101151497Sru (token::next): Updated. 102151497Sru \m and \M now are as transparent as \s. 103151497Sru (process_input_stack, token::add_to_node_list, token::process, 104151497Sru read_draw_node): Updated. 105151497Sru (charinfo_to_node_list): Don't add color nodes. 106151497Sru 107151497Sru * doc/groff.texinfo: Updated. 108151497Sru 109151497Sru2002-09-27 Ruslan Ermilov <ru@FreeBSD.org> 110151497Sru 111151497Sru * tmac/doc-common (ds-operating-system-FreeBSD-4.*): New version 112151497Sru strings. 113151497Sru 114151497Sru2002-09-27 Colin Watson <cjwatson@debian.org> 115151497Sru 116151497Sru * src/roff/troff/node.cc (bracket_node::copy): Check `list' != 0. 117151497Sru 118151497Sru2002-09-23 Werner LEMBERG <wl@gnu.org> 119151497Sru 120151497Sru * src/devices/grolbp/lbp.cc: Replace `300' with `font::res' where 121151497Sru appropriate. 122151497Sru (DEFAULT_LINEWIDTH_FACTOR): New macro. 123151497Sru (linewidth_factor): New global variable. 124151497Sru (lbp_printer::set_line_thickness): Fix case for size < 0, using 125151497Sru linewidth_factor. 126151497Sru (long_options): Add -w/--linewidth option. 127151497Sru (usage): Updated. 128151497Sru (main): Handle -w option to set linewidth_factor. 129151497Sru (lbp_printer::lbp_printer): Initialize req_linethickness, not 130151497Sru line_thickness. 131151497Sru 132151497Sru * src/devices/grolbp/grolbp.man, NEWS, doc/webpage.ms: Updated. 133151497Sru 134151497Sru2002-09-22 Paco Andr�s Verd� <pandres@dragonet.es> 135151497Sru 136151497Sru Fixed a bug in the line thickness setting code. 137151497Sru 138151497Sru * src/devices/grolbp/lbp.cc (lbp_printer::req_linethickness): New 139151497Sru variable. 140151497Sru (lbp_printer::set_line_thickness): Pass environment as second 141151497Sru parameter. 142151497Sru Implement it actually. 143151497Sru (lpb_printer::set_char, lbp_printer::draw): Use `req_linethickness' 144151497Sru and `set_line_thickness, depending on the current font size. 145151497Sru 146151497Sru2002-09-21 Werner LEMBERG <wl@gnu.org> 147151497Sru 148151497Sru Some Debian patches. 149151497Sru 150151497Sru * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase to 12. 151151497Sru * src/roff/troff/node.cc (bracket_node::copy): Initialize 152151497Sru `list->last'. 153151497Sru 154151497Sru2002-09-20 Werner LEMBERG <wl@gnu.org> 155151497Sru 156151497Sru * configure: Regenerated with autoconf 2.54. 157151497Sru 158151497Sru2002-09-20 Werner LEMBERG <wl@gnu.org> 159151497Sru 160151497Sru * src/roff/troff/env.h (environment): Rename cur_glyph_color to 161151497Sru glyph_color. 162151497Sru Rename cur_fill_color to fill_color. 163151497Sru * src/roff/troff/env.cc: Updated. 164151497Sru 165151497Sru2002-09-20 Werner LEMBERG <wl@gnu.org> 166151497Sru 167151497Sru * src/roff/troff/env.cc (title): Copy color status after processing 168151497Sru title. 169151497Sru * src/roff/troff/input.cc (charinfo_to_node_list): Emit glyph and 170151497Sru fill color nodes to reset colors properly. 171151497Sru 172151497Sru * tmac/www.tmac (DC): Fix color handling. 173151497Sru 174151497Sru * src/preproc/pic/pic.man, doc/pic.ms: Document some color issues. 175151497Sru * doc/groff.texinfo: Fixing documentation of `tl' request. 176151497Sru * doc/webpage.ms: Updated. 177151497Sru 178151497Sru2002-09-19 Werner LEMBERG <wl@gnu.org> 179151497Sru 180151497Sru * src/roff/troff/env.cc (environent_switch, environment_copy): 181151497Sru Emit glyph and fill color nodes to initialize colors properly. 182151497Sru 183151497Sru2002-09-17 Colin Watson <cjwatson@debian.org> 184151497Sru 185151497Sru * src/roff/troff/env.cc (environment::set_glyph_color, 186151497Sru environment::set_fill_color): Fix typo which prevented \m[] work 187151497Sru correctly. 188151497Sru 189151497Sru2002-09-17 Werner LEMBERG <wl@gnu.org> 190151497Sru 191151497Sru Add left and right italic correction to non-slanted PS fonts. This 192151497Sru is an experimental feature to improve image rendering of grohtml. 193151497Sru 194151497Sru * font/devps/generate/Makefile (RFLAG): New variable, set to `-i 0'. 195151497Sru ({T,H,C,P,N,BM,A,HN}{R,B}, ZD, S, ZDR): Use it. 196151497Sru * font/devps/*: All non-slanted fonts regenerated. 197151497Sru * NEWS: Updated. 198151497Sru 199151497Sru2002-09-16 Werner LEMBERG <wl@gnu.org> 200151497Sru 201151497Sru Add a site-specific font directory. 202151497Sru 203151497Sru * Makefile.in (localfontdir, legacyfontdir): New variables. 204151497Sru (fontpath): Use them. 205151497Sru (MDEFINES, uninstall_dirs): Updated. 206151497Sru * Makefile.comm (.man.n): Add `LOCALFONTDIR' and `LEGACYFONTDIR'. 207151497Sru Remove `FONTPATH' and `MACROPATH'. 208151497Sru 209151497Sru * src/roff/troff/troff.man, NEWS: Updated. 210151497Sru * doc/groff.texinfo (Font Directories): New section. 211151497Sru Other minor fixes. 212151497Sru 213151497Sru * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man, 214151497Sru src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man, 215151497Sru src/preproc/grn/grn.man: Minor fixes. 216151497Sru 217151497Sru * src/devices/grohtml/post-html.cc (html_printer::do_tab_ts): 218151497Sru Remove unused variable. 219151497Sru 220151497Sru2002-09-11 Werner LEMBERG <wl@gnu.org> 221151497Sru 222151497Sru * doc/groff.texinfo, man/groff_font.man: Clarify argument of \N. 223151497Sru * man/groff_out.man: Fix documentation of 'N'. 224151497Sru 225151497Sru2002-09-09 Gaius Mulley <gaius@glam.ac.uk> 226151497Sru 227151497Sru * doc/Makefile.in (webpage.html): Depend on gnu.eps also. 228151497Sru * src/roff/troff/env.cc (indent): Emit html tag only if break_flag is 229151497Sru set. 230151497Sru * src/devices/grohtml/post-html.cc (text_glob::is_br_ni): Removed. 231151497Sru (text_glob::is_br, html_printer::lookahead_for_tables): Updated. 232151497Sru (html_printer::do_tab_ts): Call `emit_table_header' with `FALSE'. 233151497Sru * src/devices/grohtml/html-text.cc (html_text::start_tag) <P_TAG, 234151497Sru PRE_TAG>: Call `begin' with `FALSE'. 235151497Sru 236151497Sru2002-09-09 Ralph Corderoy <ralph@inputplus.demon.co.uk> 237151497Sru 238151497Sru * src/libs/libgroff/string.cc (string::extract): Fix position of 239151497Sru terminating null byte. 240151497Sru 241151497Sru2002-09-08 Werner LEMBERG <wl@gnu.org> 242151497Sru 243151497Sru Add global option `nospaces' to tbl so that leading and trailing 244151497Sru spaces in data items are ignored. 245151497Sru 246151497Sru * src/libs/libgroff/string.cc (string::remove_spaces): New member 247151497Sru function to remove leading and trailing spaces. 248151497Sru * src/include/stringclass.h: Updated. 249151497Sru 250151497Sru * src/preproc/tbl/table.h (table): Add flag `NOSPACES'. 251151497Sru 252151497Sru * src/preproc/tbl/main.cc (process_options): Handle `nospaces' 253151497Sru option. 254151497Sru Fix typo in error messages. 255151497Sru (process_data): Implement `nospaces' option. 256151497Sru * src/preproc/tbl/tbl.man, NEWS, doc/webpage.ms: Updated. 257151497Sru 258151497Sru2002-09-07 Werner LEMBERG <wl@gnu.org> 259151497Sru 260151497Sru * src/include/config.hin: Add `HAVE_ISATTY'. 261151497Sru * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Drop `const' for 262151497Sru `fname' member. 263151497Sru * src/libs/libgroff/tmpname.cc: Include `time.h'. 264151497Sru * src/libs/libdriver/input.cc (Char): Add `operator==' and 265151497Sru `operator!=' for `char'. 266151497Sru * doc/groff.texinfo: Replace @ifnottex block for top node with 267151497Sru @ifhtml block. 268151497Sru 269151497Sru2002-09-06 Werner LEMBERG <wl@gnu.org> 270151497Sru 271151497Sru * doc/Makefile.in (.texinfo.html): Add -I switch. 272151497Sru * doc/groff.texinfo: Add @ifnottex block for top node to make 273151497Sru translation to HTML work. 274151497Sru 275151497Sru2002-09-05 Gaius Mulley <gaius@glam.ac.uk> 276151497Sru 277151497Sru * src/preproc/html/pre-html.cc (LETTER_LENGTH): Removed. 278151497Sru (get_papersize, determine_vertical_offset): Removed. 279151497Sru (char_buffer::do_image): Always specify letter size. 280151497Sru (main): Updated. 281151497Sru (imageList::createPage): Use -dDEVICEHEIGHTPOINTS instead of 282151497Sru -sPAPERSIZE. 283151497Sru 284151497Sru2002-09-05 Werner LEMBERG <wl@gnu.org> 285151497Sru 286151497Sru * doc/groff.texinfo, tmac/groff_man.man: Improve documentation of 287151497Sru default indentation. 288151497Sru 289151497Sru2002-09-04 Gaius Mulley <gaius@glam.ac.uk> 290151497Sru 291151497Sru * src/preproc/html/pre-html.cc (imageList::createPage): Use 292151497Sru -sPAPERSIZE for gs. 293151497Sru (generateImages): Clean up push-back buffer. 294151497Sru 295151497Sru2002-09-04 Ralph Corderoy <ralph@inputplus.demon.co.uk> 296151497Sru 297151497Sru * doc/groff.texinfo: Minor fixes. 298151497Sru 299151497Sru2002-08-21 Gaius Mulley <gaius@glam.ac.uk> 300151497Sru 301151497Sru * src/preproc/html/pre-html.cc (DEFAULT_LINE_LENGTH): New macro. 302151497Sru (MAX_WIDTH, A4_LENGTH, A4_OFFSET, LETTER_OFFSET): Removed. 303151497Sru (gsPaper): Removed. 304151497Sru (determine_vertical_offset): Use LETTER_LENGTH. 305151497Sru (createPage): Moved to ... 306151497Sru (imageList::createPage): This. 307151497Sru Call gs with -dDEVICEWIDTHPOINTS to avoid cropping. 308151497Sru (imageList::getMaxX): New function. 309151497Sru (createImage): Moved to ... 310151497Sru (imageList::createImage): This. 311151497Sru (imageList::createImages): New function. 312151497Sru (generateImages): Read `maxx' directly. 313151497Sru Updated. 314151497Sru (scanArguments): Don't specify `gsPaper' for `-o'. 315151497Sru (makeTempFiles): Call `xtmpfile' with the last argument set to 316151497Sru `TRUE'. 317151497Sru 318151497Sru2002-08-24 Werner LEMBERG <wl@gnu.org> 319151497Sru 320151497Sru * src/include/nonposix.h (mkdir, WAIT, creat) [_MSC_VER]: Define. 321151497Sru (WAIT, _WAIT_CHILD) [!_MSC_VER]: Define. 322151497Sru * src/preproc/html/pre-html.cc (waitForChild): Use WAIT. 323151497Sru * src/preproc/html/pushback.cc: Include nonposix.h. 324151497Sru * src/roff/groff/pipeline.c: Define strcasecmp and strncasecmp 325151497Sru conditionally. 326151497Sru 327151497Sru2002-08-23 Werner LEMBERG <wl@gnu.org> 328151497Sru 329151497Sru Use $(OBJEXT) for the object file extension. 330151497Sru 331151497Sru * Makefile.comm (.SUFFIXES): Add .obj. 332151497Sru (.cc.obj, .c.obj): New implicit rules. 333151497Sru * Makefile.in (OBJEXT): New variable, initialized from autoconf. 334151497Sru (MDEFINES): Add EXEEXT and OBJEXT. 335151497Sru * */Makefile.sub: s/.o/.$(OBJEXT)/. 336151497Sru 337151497Sru2002-08-22 Werner LEMBERG <wl@gnu.org> 338151497Sru 339151497Sru * INSTALL: Mention texinfo 4.2 as a prerequisite. 340151497Sru 341151497Sru2002-08-21 Gaius Mulley <gaius@glam.ac.uk> 342151497Sru 343151497Sru * src/devices/grohtml/post-html.cc (colType): Make enum global to 344151497Sru the file. 345151497Sru (html_printer::update_min_max, html_printer::add_table_end): New 346151497Sru methods. 347151497Sru (html_printer::lookahead_for_tables): Use them. 348151497Sru Reset page offset correctly. 349151497Sru (html_printer::~html_printer): Add creation of creator comment up. 350151497Sru 351151497Sru2002-08-20 Werner LEMBERG <wl@gnu.org> 352151497Sru 353151497Sru * tmac/an-old.tmac (T&): New dummy macro to avoid warning. 354151497Sru * man/groff_tmac.man: Fix typos. 355151497Sru * man/groff_font.man: Minor reordering. 356151497Sru * contrib/eqn2graph/eqn2graph.man (Tp): New macro. 357151497Sru 358151497Sru2002-08-18 Gaius Mulley <gaius@glam.ac.uk> 359151497Sru 360151497Sru Avoid endless loops while scanning for tables. 361151497Sru 362151497Sru * src/devices/grohtml/post-html.cc (list::insert): Set 363151497Sru ptr->right->left. 364151497Sru (html_printer::next_horiz_pos): Add `text_glob' argument; update 365151497Sru all callers. 366151497Sru Return immediately if that argument is NULL. 367151497Sru (html_printer::calc_nf): Don't test if `g' is NULL. 368151497Sru (html_printer::lookahead_for_tables): Use 369151497Sru `glyphs.move_right_get_data'. 370151497Sru Don't test if `g' is NULL. 371151497Sru 372151497Sru2002-08-18 Gaius Mulley <gaius@glam.ac.uk> 373151497Sru 374151497Sru A better fix, replacing fix 2002-08-15, for increasing SIZE. 375151497Sru 376151497Sru * src/devices/grohtml/post-html.cc (char_block): Make `buffer' 377151497Sru a pointer. 378151497Sru (char_block::char_block): Allocate `buffer'. 379151497Sru (char_buffer::add_string): Use it. 380151497Sru 381151497Sru2002-08-15 Werner LEMBERG <wl@gnu.org> 382151497Sru 383151497Sru * src/devices/grops/grops.man, src/devices/grolj4/grolj4.man, 384151497Sru src/devices/grodvi/grodvi.man: Document default line thickness. 385151497Sru 386151497Sru2002-08-15 Gaius Mulley <gaius@glam.ac.uk> 387151497Sru 388151497Sru * src/devices/grohtml/post-html.cc (char_block): Increase SIZE to 389151497Sru 8192. 390151497Sru 391151497Sru2002-08-14 Werner LEMBERG <wl@gnu.org> 392151497Sru 393151497Sru * doc/webpage.ms: Updated. 394151497Sru 395151497Sru2002-08-09 Werner LEMBERG <wl@gnu.org> 396151497Sru 397151497Sru * src/roff/troff/node.cc (node::add_char): Call `freeze_space' for 398151497Sru unbreakable space. 399151497Sru 400151497Sru2002-08-08 Aaron Campbell <aaron@monkey.org> 401151497Sru 402151497Sru * src/preproc/pic/object.cc (object_spec::make_move): Fix typo 403151497Sru (&& -> &). 404151497Sru 405151497Sru2002-08-08 Werner LEMBERG <wl@gnu.org> 406151497Sru 407151497Sru * src/roff/troff/input.cc (read_rgb, read_cmy, read_cmyk): Call 408151497Sru tok.next(). 409151497Sru (read_gray): Ditto. 410151497Sru Don't push back a space but a newline onto the stack. 411151497Sru 412151497Sru2002-08-07 Gaius Mulley <gaius@glam.ac.uk> 413151497Sru 414151497Sru Add fonts `CI', `CB', and `CBI' to grohtml which have been omitted 415151497Sru inadvertently. 416151497Sru 417151497Sru * src/devices/grohtml/post-html.cc (html_printer::end_font, 418151497Sru html_printer::start_font): Handle them. 419151497Sru * src/devices/grohtml/html-text.cc (html_text::do_italic): Don't 420151497Sru reset bold and tt. 421151497Sru (html_text::do_bold): Don't reset italic and tt. 422151497Sru (html_text::do_tt, html_text::do_pre): Don't reset bold and italic. 423151497Sru * font/devhtml/DESC.proto: Add those fonts. 424151497Sru * font/devhtml/Makefile.sub (PROTOFONTS): Updated. 425151497Sru 426151497Sru2002-08-07 Werner LEMBERG <wl@gnu.org> 427151497Sru 428151497Sru * MORE.STUFF: Added gpresent. 429151497Sru 430151497Sru * tmac/trace.tmac: Show nesting level by a corresponding amount of 431151497Sru whitespace before printing the logging message. 432151497Sru 433151497Sru2002-07-31 Colin Watson <cjwatson@debian.org> 434151497Sru 435151497Sru * src/devices/grohtml/html-table.cc (html_table::finish_row): 436151497Sru Initialize `n' to zero. This fixes a segfault on ARM. 437151497Sru 438151497Sru2002-07-30 Werner LEMBERG <wl@gnu.org> 439151497Sru 440151497Sru * doc/grnexmpl.me: Remove calls to .st and .sc which are undefined. 441151497Sru 442151497Sru2002-07-29 Werner LEMBERG <wl@gnu.org> 443151497Sru 444151497Sru * src/preproc/pic/pic.y (print_arg, relative_path): Add missing 445151497Sru final semicolon. 446151497Sru 447151497Sru2002-07-28 Colin Watson <cjwatson@debian.org> 448151497Sru 449151497Sru * src/devices/grohtml/post-html (html_printer::troff_tag): Handle 450151497Sru `.ps'. 451151497Sru (html_printer::html_printer): Initialize `pointsize'. 452151497Sru 453151497Sru2002-07-26 Werner LEMBERG <wl@gnu.org> 454151497Sru 455151497Sru * doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Remove gnu.eps and 456151497Sru gnu.png. 457151497Sru (CLEANNOTSRCDIRADD): Add gnu.eps and gnu.png. 458151497Sru (gnu.eps): Add -rle switch to pnmtops. 459151497Sru (distfiles): Add gnu.eps and gnu.png. 460151497Sru 461151497Sru2002-07-25 Petter Reinholdtsen <pere@hungry.com> 462151497Sru 463151497Sru * src/libs/libdriver/input.cc (Char): Add const to `operator=='. 464151497Sru Add `operator!='. 465151497Sru 466151497Sru2002-07-24 Werner LEMBERG <wl@gnu.org> 467151497Sru 468151497Sru * doc/Makefile.in, doc/Makefile.sub (groff_bin_path): Don't use 469151497Sru ' \+' but ' *' for sed. 470151497Sru (GROFF): Set GROFF_COMMAND_PREFIX to empty value. 471151497Sru 472151497Sru2002-07-23 Werner LEMBERG <wl@gnu.org> 473151497Sru 474151497Sru * doc/groff.texinfo: Document `papersize' keyword. 475151497Sru * NEWS, man/groff_font.man: Updated. 476151497Sru 477151497Sru2002-07-23 Colin Watson <cjwatson@debian.org> 478151497Sru 479151497Sru Extend papersize keyword to accept more than a single entry. The 480151497Sru first valid will be used. 481151497Sru 482151497Sru * src/libs/libgroff/font.cc (font::load_desc): Implement it. 483151497Sru (font::scan_papersize): Really skip final newline. 484151497Sru * src/preproc/html/pre-html.cc (get_papersize): Ditto. 485151497Sru 486151497Sru2002-07-23 Werner LEMBERG <wl@gnu.org> 487151497Sru 488151497Sru * configure.ac: Test for isatty. 489151497Sru * configure: Regenerated. 490151497Sru * src/include/posix.h: Check HAVE_ISATTY. 491151497Sru * src/roff/troff/input.cc [ISATTY_MISSING]: Removed. 492151497Sru * src/utils/lookbib/lookbib.cc: Include posix.h. 493151497Sru Don't declare isatty. 494151497Sru 495151497Sru2002-07-21 Werner LEMBERG <wl@gnu.org> 496151497Sru 497151497Sru * NEWS: Add `output' request. 498151497Sru 499151497Sru * REVISION: Increased to 1. 500151497Sru 501151497SruVersion 1.18.0 released 502151497Sru======================= 503151497Sru 504151497Sru2002-07-19 Gaius Mulley <gaius@glam.ac.uk> 505151497Sru 506151497Sru Allow internal glyph indices > 0xFF in grohtml for input characters. 507151497Sru 508151497Sru * src/devices/grohtml/post-html.cc (to_unicode): Use `unsigned int' 509151497Sru as parameter. 510151497Sru (html_printer::add_to_sbuf): Use `unsigned int' as first parameter. 511151497Sru Updated all callers. 512151497Sru (html_printer::sbuf_continuation, html_printer::overstrike): Ditto. 513151497Sru (html_printer): Updated. 514151497Sru 515151497Sru2002-07-19 Werner LEMBERG <wl@gnu.org> 516151497Sru 517151497Sru * font/devhtml/R.proto: Updated to HTML 4, adding many glyphs. 518151497Sru * font/devutf8/R.proto: Adding some missing glyphs. 519151497Sru * font/devutf8/NOTES: Updated. 520151497Sru 521151497Sru * tmac/dvi.tmac: Add more composite glyphs. 522151497Sru * tmac/html.tmac: Updated. 523151497Sru 524151497Sru * man/groff_char.man: Add `sum' and `product' entities. 525151497Sru 526151497Sru * NEWS: Updated. 527151497Sru 528151497Sru2002-07-18 Gaius Mulley <gaius@glam.ac.uk> 529151497Sru 530151497Sru Improved table, tab, and indenting support. 531151497Sru 532151497Sru * src/roff/troff/input.cc (file_iterator::suppress_newline_flag, 533151497Sru string_iterator::suppress_newline_flag): Removed. Updated all 534151497Sru function which have used it. 535151497Sru 536151497Sru * src/roff/troff/env.cc: Include `input.h'. 537151497Sru (environment::add_node): Accept 0 as parameter. 538151497Sru (environment::add_html_tag): Add `force' parameter. 539151497Sru Updated all callers. 540151497Sru (environment::add_html_tag_tabs): Ditto. 541151497Sru For the moment, support left-aligned tabs only. 542151497Sru (environment::make_html_tag): New function. 543151497Sru (fill, no_fill): Set .br html tag additionally. 544151497Sru (environment::newline): Emit `eol.ce' or `eol' tag for html. 545151497Sru (environment::add_html_tag_eol): Removed. 546151497Sru (tab_stops::distance_to_next_tab): Add variant for handling 547151497Sru nextpos'. 548151497Sru (environment::distance_to_next_tab): Ditto. 549151497Sru Updated all callers. 550151497Sru (environment::handle_tab): Handle tabs for html. 551151497Sru 552151497Sru * src/roff/troff/env.h: Updated. 553151497Sru 554151497Sru * src/roff/troff/div.cc: Updated all callers of 555151497Sru `environment::add_html_tag'. 556151497Sru 557151497Sru * src/devices/grohtml/html-table.cc, 558151497Sru src/devices/grohtml/html-table.h: New files. 559151497Sru 560151497Sru * src/devices/grohtml/html-text.cc (html_text): New members 561151497Sru `blank_para' and `start_space'. 562151497Sru (html_text::issue_tag): Don't emit TABLE_TAG. 563151497Sru Handle indentation for PRE_TAG and P_TAG. 564151497Sru (html_text::end_tag): Updated. 565151497Sru (html_text::table_is_void, html_text::issue_table_begin, 566151497Sru html_text::issue_table_end): Removed. 567151497Sru (html_text::do_push): Simplified. 568151497Sru [DEBUGGING]: Small fix. 569151497Sru (html_text::push_para): Add new parameter for indentation; updated 570151497Sru all callers. 571151497Sru Handle PRE_TAG. 572151497Sru (html_text::do_indent, html_text::do_table, html_text::done_table, 573151497Sru html_text::is_in_table): Removed. 574151497Sru (html_text::do_pre): Handle P_TAG also. 575151497Sru (html_text::shutdown): Handle p->indent. 576151497Sru (html_text::check_emit_text): Simplified. 577151497Sru (html_text::do_emittext): Reset `blank_para'. 578151497Sru (html_text::do_para): Add new parameter for indentation; updated 579151497Sru all callers. 580151497Sru (html_text::remove_indent): New function. 581151497Sru (html_text::do_space): Handle verbatim text properly. 582151497Sru (html_text::ever_emitted_text, html_text::starts_with_space, 583151497Sru html_text::remove_para_align): New functions. 584151497Sru (html_text::dump_stack_element, html_text::dump_stack): Updated. 585151497Sru 586151497Sru * src/devices/grohtml/html_text.h (HTML_TAG): Remove TABLE_TAG. 587151497Sru Updated. 588151497Sru 589151497Sru * src/devices/grohtml/post-html.cc: Include html-table.h. 590151497Sru (INDENTATION): Removed. 591151497Sru (text_glob): Added many `is_<foo>' functions. 592151497Sru Added table description `tab'. 593151497Sru Added `get_arg',`get_tab_args', `remember_table', and `get_table' 594151497Sru member functions. 595151497Sru (list): Add `insert' and `move_to' member functions. 596151497Sru (page): Add `insert_tag' member function. 597151497Sru (page::dump_page) [DEBUG_TABLES]: Improved. 598151497Sru (html_printer): Add `table' and `max_linelength' elements. 599151497Sru Add many `do_<foo>', `insert_<foo>', `next_horiz_pos', 600151497Sru `lookahead_for_tables', `shutdown_table', `calc_nf', `calc_po_in', 601151497Sru `remove_tabs', `remove_courier_tabs'. 602151497Sru (html_printer::emit_raw): Handle indentation. 603151497Sru (html_printer::do_center, html_printer::write_header): Updated. 604151497Sru (html_printer::is_courier_until_eol): Check for tag. 605151497Sru (html_printer::do_linelength): Handle max_linelength. 606151497Sru (html_printer::do_page_offset, html_printer::do_indentation): Handle 607151497Sru fill_on. 608151497Sru (html_printer::do_tempindent): Updated. 609151497Sru (html_printer::do_indentedparagraph): Removed. 610151497Sru (html_printer::do_indent): Simplified. 611151497Sru (html_printer::do_eol): Use `ever_emitted_text'. 612151497Sru (html_printer::do_flush, html_printer::do_links): Don't call 613151497Sru done_table. 614151497Sru (html_printer::do_break): Handle end_tempindent. 615151497Sru (html_printer::troff_tag): Get argument. 616151497Sru Don't handle `.ip'. 617151497Sru Handle `.tab-ts', `.tab-te', `.col', `tab', and `tab0' tags. 618151497Sru (html_printer::flush_page): Call `lookahead_for_tables'. 619151497Sru Don't call `done_table'. 620151497Sru (html_printer::add_to_sbuf): Always call do_indent. 621151497Sru 622151497Sru * src/devices/grohtml/Makefile.sub: Updated. 623151497Sru 624151497Sru * tmac/an-old.tmac (TP): Don't handle html device specially. 625151497Sru (an-do-tag-html): New function which will be used instead of 626151497Sru `an-do-tag' if html device is used. 627151497Sru 628151497Sru * tmac/html.tmac: Call .po to pass default page offset to grohtml. 629151497Sru 630151497Sru * tmac/s.tmac (@IP): Don't handle html device specially. 631151497Sru (@IP-html): New function which will be used instead of `@IP' if 632151497Sru html device is used. 633151497Sru 634151497Sru * tmac/www.tmac (HTML-NS, HTML-TAG-NS): New auxiliary macros -- this 635151497Sru is a hack which will eventually vanish again. 636151497Sru (PIMG): Handle `-C' option correctly if not html. 637151497Sru (HR): Use HTML-NS. 638151497Sru 639151497Sru2002-07-17 Werner LEMBERG <wl@gnu.org> 640151497Sru 641151497Sru * src/utils/afmtodit/afmtodit.pl: Don't use `-P-' for invoking perl. 642151497Sru 643151497Sru2002-07-14 Eric S. Raymond <esr@thyrsus.com> 644151497Sru 645151497Sru * contrib/pic2graph/pic2graph.*: Use convert(1). 646151497Sru * contrib/eqn2graph/eqn2graph.*: Minor fixes. 647151497Sru 648151497Sru2002-07-14 Bernd Warken <bwarken@mayn.de> 649151497Sru 650151497Sru * tmac/groff_trace.man: New file. 651151497Sru * tmac/Makefile.sub: Updated. 652151497Sru * NEWS: Updated. 653151497Sru 654151497Sru2002-07-13 Werner LEMBERG <wl@gnu.org> 655151497Sru 656151497Sru * src/roff/groff/groff.man: Add some cross references. 657151497Sru 658151497Sru2002-07-12 Werner LEMBERG <wl@gnu.org> 659151497Sru 660151497Sru * src/roff/troff/input.cc (substring_request): Add warnings for 661151497Sru string indices out of range. 662151497Sru 663151497Sru2002-07-11 Werner LEMBERG <wl@gnu.org> 664151497Sru 665151497Sru * font/devdvi/generate/ec.map: Fix typo (`(l' -> `/l'). 666151497Sru * font/devdvi/*EC: Regenerated. 667151497Sru 668151497Sru2002-07-10 Bernd Warken <bwarken@mayn.de> 669151497Sru 670151497Sru * man/groff_char.man: Updated and extended. 671151497Sru 672151497Sru2002-07-10 Werner LEMBERG <wl@gnu.org> 673151497Sru 674151497Sru * src/roff/troff/input.cc (length_macro): Renamed to... 675151497Sru (length_request): This. 676151497Sru Move call of `tok.next()' to the very end, otherwise the register 677151497Sru value hasn't been updated yet. 678151497Sru (init_input_requests): Updated. 679151497Sru 680151497Sru2002-07-09 Werner LEMBERG <wl@gnu.org> 681151497Sru 682151497Sru * src/roff/troff/input.cc (substring_macro): Renamed to... 683151497Sru (substring_request): This. 684151497Sru (init_input_requests): Updated. 685151497Sru * src/roff/troff/request.h: Updated. 686151497Sru 687151497Sru2002-07-08 Robert D. Goulding <goulding@Princeton.EDU> 688151497Sru 689151497Sru * src/roff/grog/grog.sh: Fix typo. 690151497Sru 691151497Sru2002-07-08 Werner LEMBERG <wl@gnu.org> 692151497Sru 693151497Sru * win32-diffs: Updated. 694151497Sru 695151497Sru Handle `papersize' keyword properly in DESC. 696151497Sru 697151497Sru * src/libs/libgroff/font.cc (font::scan_papersize): Fix argument 698151497Sru type. 699151497Sru Updated all callers. 700151497Sru * src/libs/libgroff/paper.cc: Add four more paper formats used by 701151497Sru grolj4. 702151497Sru * src/include/paper.h: Updated. 703151497Sru 704151497Sru * src/devices/grolbp/lbp.cc: Remove unnecessary semicolons. 705151497Sru Other minor C syntax fixes. 706151497Sru (papersize, paperlength, paperwidth): Renamed to `user_*'. 707151497Sru (lbp_printer): Add `papersize', `paperlength', and `paperwidth' 708151497Sru members. 709151497Sru (lbp_printer::lbp_printer): Pass three arguments. 710151497Sru Set paper dimensions properly. 711151497Sru (make_printer, main): Updated. 712151497Sru (handle_unknown_desc_command): Fix error messages. 713151497Sru (main): Handle papersize keyword in DESC properly. 714151497Sru 715151497Sru * src/devices/grolj4/lj4.cc (paper_size): Renamed to 716151497Sru `user_paper_size'. 717151497Sru (lbp_printer::lbp_printer): Pass an argument. 718151497Sru Set paper_size properly. 719151497Sru (handle_unknown_desc_command): Removed. 720151497Sru (make_printer, main): Updated. 721151497Sru * src/devices/grolj4/grolj4.man: Minor documentation fix. 722151497Sru 723151497Sru * man/groff_font.man, NEWS: Updated. 724151497Sru 725151497Sru2002-07-07 Werner LEMBERG <wl@gnu.org> 726151497Sru 727151497Sru Integrated eqn2graph, contributed by Eric S. Raymond. 728151497Sru 729151497Sru * contrib/eqn2graph/{Makefile.sub, eqn2graph.sh, eqn2graph.man}: New 730151497Sru files. 731151497Sru * Makefile.in, NEWS: Updated. 732151497Sru 733151497Sru2002-06-04 Werner LEMBERG <wl@gnu.org> 734151497Sru 735151497Sru Changing the substring request to make it fit better with other 736151497Sru string manipulation functions in other programming languages: 737151497Sru Index 0 is now the first character in the string, and index -1 738151497Sru indicates the last character. Since this request didn't work 739151497Sru properly anyway in the last release, it doesn't harm too much to 740151497Sru change the syntax. 741151497Sru 742151497Sru * src/roff/troff/input.cc (substring_macro): Use loops to get 743151497Sru the real string length (ignoring COMPATIBLE_SAVE and 744151497Sru COMPATIBLE_RESTORE) and offsets. 745151497Sru Implement change described above. 746151497Sru 747151497Sru * man/groff_char.man, tmac/doc-common (doc-header), tmac/doc.tmac 748151497Sru (doc-do-Bd-args, doc-do-Bl-args): Changed accordingly. 749151497Sru 750151497Sru * NEWS, doc/groff.texinfo, man/groff_diff.man: Updated. 751151497Sru 752151497Sru2002-06-03 Werner LEMBERG <wl@gnu.org> 753151497Sru 754151497Sru Make .chop work with .de1 and friends. COMPATIBLE_SAVE and 755151497Sru COMPATIBLE_RESTORE are completely ignored. 756151497Sru 757151497Sru * src/roff/troff/input.cc (char_list::set, char_list::get): New 758151497Sru functions. 759151497Sru (macro): `length' field renamed to `len'. 760151497Sru Added new field `empty_macro' (1 if macro is empty), to be used 761151497Sru instead of checking `len'. 762151497Sru Updated all callers. 763151497Sru (macro::empty): Updated. 764151497Sru (macro::length, macro::set, macro::get): New functions. 765151497Sru (macro::append): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE. 766151497Sru Set `empty_macro'. 767151497Sru (chop_macro): Check and remove trailing COMPATIBLE_SAVE/ 768151497Sru COMPATIBLE_RESTORE pairs. 769151497Sru (asciify): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE. 770151497Sru * src/roff/troff/request.h: Updated. 771151497Sru 772151497Sru * doc/groff.texinfo: Document .chop's behaviour better. 773151497Sru 774151497Sru2002-06-02 Werner LEMBERG <wl@gnu.org> 775151497Sru 776151497Sru * doc/pic.ms: Fix documentation for the addition of positions. 777151497Sru 778151497Sru * tmac/doc.tmac, tmac/an-old.tmac: Need groff version 1.18. 779151497Sru 780151497Sru2002-06-29 Werner LEMBERG <wl@gnu.org> 781151497Sru 782151497Sru Implementation of string arguments of the form \*[foo arg1 arg2 ...] 783151497Sru 784151497Sru * src/roff/troff/input.cc (have_string_arg): New global variable. 785151497Sru (read_mode): New enumeration. 786151497Sru (read_escape_name): Use it. Update all calls. 787151497Sru (read_long_escape_name): Use it. Update all calls. 788151497Sru Set have_string_arg if appropriate. 789151497Sru (get_char_for_escape_name): Add parameter for handling space 790151497Sru character. 791151497Sru (interpolate_string_with_args, decode_string_args): New functions. 792151497Sru (get_copy, token::next): Call it if necessary. 793151497Sru (interpolate_string): Fix error message. 794151497Sru 795151497Sru * NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man: 796151497Sru Document it. 797151497Sru 798151497Sru2002-06-24 Bernd Warken <bwarken@mayn.de> 799151497Sru 800151497Sru * man/groff_tmac.man: Updated and extended. 801151497Sru 802151497Sru2002-06-24 Werner LEMBERG <wl@gnu.org> 803151497Sru 804151497Sru * doc/pic.ms, src/preproc/pic/pic.man: Fix description of `:='. 805151497Sru 806151497Sru2002-06-23 Werner LEMBERG <wl@gnu.org> 807151497Sru 808151497Sru * doc/pic.ms: Improve documentation of composite block objects. 809151497Sru 810151497Sru2002-06-22 Werner LEMBERG <wl@gnu.org> 811151497Sru 812151497Sru * src/roff/troff/input.cc (init_registers): Add three registers 813151497Sru `seconds', `minutes', and `hours' to hold the current time. 814151497Sru 815151497Sru * NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man: 816151497Sru Updated. 817151497Sru 818151497Sru2002-06-20 Werner LEMBERG <wl@gnu.org> 819151497Sru 820151497Sru Make \X accept both `\ ' and `\~', converting them to single space 821151497Sru characters. 822151497Sru 823151497Sru * src/roff/troff/token.h (token): Add TOKEN_UNSTRETCHABLE_SPACE. 824151497Sru (token::unstretchable_space): New inline function. 825151497Sru * src/roff/troff/input.cc (token::next, token::delimiter, 826151497Sru token::description, token::add_to_node_list, token::process): Handle 827151497Sru TOKEN_UNSTRETCHABLE_NODE. 828151497Sru (encode_char): Handle tok.stretchable_space and 829151497Sru tok.unstretchable_space. 830151497Sru 831151497Sru * NEWS, doc/groff.texinfo: Document it.. 832151497Sru 833151497Sru2002-06-19 Werner LEMBERG <wl@gnu.org> 834151497Sru 835151497Sru * src/devices/grops/ps.cc (ps_printer::special): Fix error message. 836151497Sru 837151497Sru * src/devices/grotty/tty.cc (tty_printer::special): Add `sgr' 838151497Sru keyword to enable/disable SGR output. 839151497Sru (tty_printer::change_fill_color): New function. 840151497Sru * NEWS, src/devices/grotty/grotty.man: Document `sgr' special. 841151497Sru 842151497Sru * src/roff/troff/input.cc (output_request): Add missing `tok.next()' 843151497Sru call. 844151497Sru 845151497Sru2002-06-18 Werner LEMBERG <wl@gnu.org> 846151497Sru 847151497Sru Add a `color' request and a `.color' register to control usage of 848151497Sru colours. 849151497Sru 850151497Sru * src/roff/troff/input.cc (disable_color_flag): Replaced with... 851151497Sru (color_flag): This (which is the inverse). 852151497Sru (activate_color): New function. 853151497Sru (main, init_input_requests): Updated. 854151497Sru * src/roff/troff/troff.h, src/roff/troff/node.cc 855151497Sru (troff_output_file::fill_color, troff_output_file::glyph_color): 856151497Sru Updated. 857151497Sru 858151497Sru * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man: 859151497Sru Document the changes. 860151497Sru 861151497Sru2002-06-17 Colin Watson <cjwatson@debian.org> 862151497Sru 863151497Sru Circumvent bug in autoconf 2.53 regarding top_builddir. 864151497Sru 865151497Sru * aclocal.m4 (GROFF_BUILDDIR): s/top_builddir/groff_top_builddir/. 866151497Sru * Makefile.in, doc/Makefile.in: 867151497Sru s/@top_builddir@/@groff_top_builddir@/. 868151497Sru * configure: Regenerated (with autoconf 2.53). 869151497Sru 870151497Sru2002-06-17 Werner LEMBERG <wl@gnu.org> 871151497Sru 872151497Sru * src/libs/libgroff/font.cc (font::load_desc): Fix computation of 873151497Sru `paperwidth' and `paperlength' for the `papersize' keyword. 874151497Sru 875151497Sru2002-06-16 P. Alejandro Lopez-Valencia <dradul@007mundo.com> 876151497Sru 877151497Sru * src/devices/grops/grops.man: Add info about Type 42 fonts. 878151497Sru 879151497Sru2002-06-15 Gaius Mulley <gaius@glam.ac.uk> 880151497Sru 881151497Sru * src/devices/grohtml/post-html.cc (html_printer::emit_raw, 882151497Sru html_printer::do_linelength, html_printer::do_pageoffset, 883151497Sru html_printer::do_indentation, html_printer::do_tempindent, 884151497Sru html_printer::do_break, html_printer::begin_page): Clear indented 885151497Sru text. 886151497Sru * tmac/html.tmac: Disable hyphenation. 887151497Sru 888151497Sru2002-06-15 Werner LEMBERG <wl@gnu.org> 889151497Sru 890151497Sru Don't produce HTML files if utility programs are missing. 891151497Sru 892151497Sru * Makefile.in (make_html, make_install_html): New variables. 893151497Sru (MDEFINES): Updated. 894151497Sru 895151497Sru * aclocal.m4 (GROFF_HTML_PROGRAMS): New function to test for HTML 896151497Sru utility programs. 897151497Sru * configure.ac: Use it. 898151497Sru * configure: Regenerated. 899151497Sru 900151497Sru * doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Move webpage.html to... 901151497Sru (HTMLEXAMPLESFILES): This new variable. 902151497Sru (EXAMPLESIMAGEFILES): Renamed to... 903151497Sru (HTMLEXAMPLEIMAGEFILES): This. 904151497Sru (CLEANADD): Add HTMLEXAMPLEFILES. 905151497Sru (all): Use `make_html'. 906151497Sru (html): New target. 907151497Sru (install_data): Use `make_install_html'. 908151497Sru Move html stuff to... 909151497Sru (install_html): This new target. 910151497Sru (uninstall_sub): Updated. 911151497Sru 912151497Sru2002-06-14 Bernd Warken <bwarken@mayn.de> 913151497Sru 914151497Sru * src/roff/grog/Makefile.sub (grog): Renamed to... 915151497Sru (grog.old): This. 916151497Sru (grog): New rule to always install grog.sh as grog. 917151497Sru 918151497Sru2002-06-08 Bernd Warken <bwarken@mayn.de> 919151497Sru 920151497Sru * src/roff/grog/grog.pl: Fix typo. 921151497Sru 922151497Sru2002-06-07 Werner LEMBERG <wl@gnu.org> 923151497Sru 924151497Sru * doc/groff.texinfo: Add more info on .tr arguments. 925151497Sru 926151497Sru2002-06-05 Werner LEMBERG <wl@gnu.org> 927151497Sru 928151497Sru * NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated. 929151497Sru 930151497Sru * aclocal.m4 (GROFF_MKSTEMP): Include unistd.h. 931151497Sru * configure: Regenerated. 932151497Sru 933151497Sru2002-06-05 Ralph Corderoy <ralph@inputplus.demon.co.uk> 934151497Sru 935151497Sru * src/roff/troff/symbol.cc (table_sizes): Add more values. 936151497Sru 937151497Sru * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Recognize mom. 938151497Sru 939151497Sru2002-06-04 Werner LEMBERG <wl@gnu.org> 940151497Sru 941151497Sru * aclocal.m4 (GROFF_PAGE): Don't use `prefix' directly since it 942151497Sru is not initialized at the time we need it in case `--prefix' hasn't 943151497Sru been set. Check for `ac_default_prefix' also. 944151497Sru Test for `papersize' keyword also and generalize allowed whitespace. 945151497Sru * configure: Regenerated. 946151497Sru 947151497Sru * font/devps/Makefile.sub (DESC): Use `papersize' instead of 948151497Sru `paperlength'. 949151497Sru 950151497Sru * src/libs/libgroff/Makefile.sub (version, revision): Replaced 951151497Sru with... 952151497Sru (src_version, src_revision): New variables to avoid overwriting 953151497Sru from parent make process. 954151497Sru (version.cc): Updated. 955151497Sru 956151497Sru * src/preproc/html/pre-html.cc: Include paper.h and font.h. 957151497Sru (linebuf, linebufsize): New global variables. 958151497Sru (sys_fatal): Use `fatal' to abort properly. 959151497Sru (get_line): New function. 960151497Sru (get_resolution): Use it. 961151497Sru Improve error messages. 962151497Sru (get_papersize): Check `papersize' also. 963151497Sru Use `get_line'. 964151497Sru Improve error messages. 965151497Sru 966151497Sru2002-06-03 Werner LEMBERG <wl@gnu.org> 967151497Sru 968151497Sru * Makefile.comm (CLEANNOTSRCDIRADD): New target for files which 969151497Sru should be removed only if builddir is not srcdir. 970151497Sru (mostlyclean): Handle `CLEANNOTSRCDIRADD'. 971151497Sru (clean): Depend on `mostlyclean'. 972151497Sru (distclean): Depend on `clean'. 973151497Sru (realclean, extraclean): Depend on `distclean'. 974151497Sru (.y.cc, .y.o): Simplified. The output files are no longer written 975151497Sru to srcdir but to builddir. 976151497Sru * Makefile.in (MDEFINES): Add `version' and `revision'. 977151497Sru (uninstall_dirs): Fix order of directories. 978151497Sru * doc/Makefile.sub (version, revision): Removed. 979151497Sru (CLEANADD): Removed grnexmpl.g, groff, groff-*. 980151497Sru Added `HTMLDOCFILES'. 981151497Sru (CLEANNOTSRCDIRADD): New target for grnexmpl.h, groff, groff-*. 982151497Sru * src/preproc/eqn/Makefile.sub, src/preproc/pic/Makefile.sub, 983151497Sru src/preproc/refer/Makefile.sub (YTABC, YTABH): Don't use `srcdir' 984151497Sru as prefix. 985151497Sru 986151497Sru * doc/texinfo.tex (\authortt): New macro. 987151497Sru (\shortcontt): Define. 988151497Sru (\titlepage): Set \tt to \authortt while defining \authorfont. 989151497Sru (\appendixbox): New macro. 990151497Sru (\chapmacro, \appendixentry): Use \appendixbox to get even 991151497Sru indentation for letters. 992151497Sru (\summarycontents): Set \tt. 993151497Sru (\internalpagesize): Add two arguments for real paper width and 994151497Sru height as needed by pdfTeX. 995151497Sru (\letterpaper, \smallbook, \afourpaper, \afivepaper, \afourlatex): 996151497Sru Updated. 997151497Sru (\tempdima, \tempdimb): New temporary dimensions. 998151497Sru (\pagesizesyyy): Updated. 999151497Sru 1000151497Sru2002-06-02 Werner LEMBERG <wl@gnu.org> 1001151497Sru 1002151497Sru Adding a new keyword `papersize' to the DESC file format (similar 1003151497Sru but not completely identical to grolbp's extension). grops now has 1004151497Sru a -p command line option to override `papersize'. Finally, grolbp 1005151497Sru has been adapted to the new syntax. 1006151497Sru 1007151497Sru * src/libs/libgroff/paper.cc, src/include/paper.h: New files. It 1008151497Sru defines and initializes the `papersizes[]' array with NUM_PAPERSIZES 1009151497Sru elements. 1010151497Sru * src/libs/libgroff/Makefile.sub (OBJS): Add `paper.o'. 1011151497Sru (CCSRCS): Add `paper.cc'. 1012151497Sru 1013151497Sru * src/include/font.h (font): Add `papersize' element. 1014151497Sru * src/libs/libgroff/font.cc (font::unit_scale): New helper function. 1015151497Sru (font::scan_papersize): New function. 1016151497Sru (font::load_desc): Use it for handling `papersize' keyword. 1017151497Sru * src/libs/libgroff/fontfile.cc: Initialize `font::papersize'. 1018151497Sru 1019151497Sru * src/devices/grops/ps.cc: Include paper.h. 1020151497Sru (user_paper_length): New global variable. 1021151497Sru (ps_printer): Use paper length as initializer. 1022151497Sru (make_printer): Updated. 1023151497Sru (main): Handle new `-p' option. 1024151497Sru * src/devices/grops/grops.man: Updated. 1025151497Sru 1026151497Sru * src/devices/grolbp/lbp.cc: Include paper.h. 1027151497Sru s/papersizes/lbp_papersizes/. 1028151497Sru (set_papersize): Use new `papersizes' array. 1029151497Sru (handle_unknown_desc_command): Don't handle `papersize'. 1030151497Sru (main): Use `font::scan_papersize' for handling `-p' option. 1031151497Sru * src/devices/grolbp/grolbp.man: Updated. 1032151497Sru 1033151497Sru * man/groff_font.man: Document `papersize'. 1034151497Sru * NEWS: Updated. 1035151497Sru 1036151497Sru2002-05-30 Werner LEMBERG <wl@gnu.org> 1037151497Sru 1038151497Sru * src/devices/grops/TODO: Updated. 1039151497Sru * src/devices/grops/grops.man: More info on paper formats. 1040151497Sru * man/groff_font.man: Document `paperheight' and `paperwidth'. 1041151497Sru 1042151497Sru2002-05-29 Werner LEMBERG <wl@gnu.org> 1043151497Sru 1044151497Sru * doc/Makefile.sub (CLEANADD): Add grnexmpl.g, groff, and groff-* 1045151497Sru to list only if srcdir != currdir. 1046151497Sru (distfiles): New target. 1047151497Sru 1048151497Sru * Makefile.in (EXTRADIRS): Add font/devlj4/generate. 1049151497Sru (NOMAKEDIRS): New variable. 1050151497Sru (DISTDIRS): Use it. 1051151497Sru 1052151497Sru2002-05-26 Werner LEMBERG <wl@gnu.org> 1053151497Sru 1054151497Sru Add .output request, similar to \! at top-level. 1055151497Sru 1056151497Sru * src/roff/troff/input.cc (transparent): Remove unused declaration. 1057151497Sru (output_request): New function. 1058151497Sru (init_input_requests): Add it. 1059151497Sru Sorted. 1060151497Sru * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man: 1061151497Sru Document it. 1062151497Sru 1063151497Sru * Makefile.in (MDEFINES): Add INSTALL_INFO. 1064151497Sru (prepare_examples): Fix typo. 1065151497Sru * doc/groff.texinfo (@direntry): Fix it. 1066151497Sru 1067151497Sru2002-05-25 Werner LEMBERG <wl@gnu.org> 1068151497Sru 1069151497Sru Including the doc subdir into groff's Makefile system. 1070151497Sru 1071151497Sru * aclocal.m4 (GROFF_INSTALL_INFO): New function. 1072151497Sru * configure.ac: Use it. 1073151497Sru Generate `doc/Makefile'. 1074151497Sru * configure: Regenerated. 1075151497Sru 1076151497Sru * Makefile.in (infodir, INSTALL_INFO): New variables. 1077151497Sru (MDEFINES, uninstall_dirs): Updated. 1078151497Sru (OTHERDIRS): Add `doc'. 1079151497Sru * Makefile.comm (CLEANDIRADD): New variable. 1080151497Sru (mostlyclean): Use it. 1081151497Sru 1082151497Sru * doc/Makefile.sub, doc/Makefile.in: New files. 1083151497Sru * doc/Makefile: Removed. 1084151497Sru 1085151497Sru * NEWS, INSTALL: Updated. 1086151497Sru 1087151497Sru2002-05-24 Werner LEMBERG <wl@gnu.org> 1088151497Sru 1089151497Sru * doc/homepage.ms: Renamed to ... 1090151497Sru * doc/webpage.ms: This. 1091151497Sru Use `.NHR'. 1092151497Sru 1093151497Sru2002-05-23 Werner LEMBERG <wl@gnu.org> 1094151497Sru 1095151497Sru Integrating the `mom' macro package, contributed by Peter Schaffter 1096151497Sru <df191@ncf.ca>. 1097151497Sru 1098151497Sru * contrib/mom/*: New subdirectory tree. 1099151497Sru * Makefile.in (docdir, exampledir, htmldocdir): New variables to 1100151497Sru be used for documentation files. 1101151497Sru (MDEFINES, uninstall_dirs): Use them. 1102151497Sru (OTHERDIRS): Add contrib/mom. 1103151497Sru * Makefile.comm (.man.n): Add @DOCDIR@, @EXAMPLEDIR@, and 1104151497Sru @HTMLDOCDIR@. 1105151497Sru * MANIFEST, NEWS: Updated. 1106151497Sru 1107151497Sru2002-05-22 Gaius Mulley <gaius@glam.ac.uk> 1108151497Sru 1109151497Sru Change syntax of \O: \O[0] suppresses output, \O[1] enables output 1110151497Sru if at outer level; at start-up we are at outer level. 1111151497Sru 1112151497Sru * src/roff/troff/input.cc (do_suppress): Implement it. 1113151497Sru Simplify \O[3]. 1114151497Sru 1115151497Sru Add option -p to show progress information. 1116151497Sru pre-grohtml will now render only one page at a time, reducing the 1117151497Sru size of needed disk resources enormously. 1118151497Sru 1119151497Sru * src/preproc/html/pre-html.cc (imagePageStem): Replaced with... 1120151497Sru (imagePageName): New global variable. 1121151497Sru (psPageName, show_progress, currentPageNo): New global variables. 1122151497Sru (html_system): Close saved stderr and stdout handles. 1123151497Sru (write_end_image): Accept a parameter to control \O escape. 1124151497Sru (write_start_image): Adapted to new \O meaning. 1125151497Sru (char_buffer::write_upto_newline): Updated. 1126151497Sru (createAllPages): Replaced with... 1127151497Sru (createPage): This new function to create a single page for images. 1128151497Sru It uses `psselect' from the psutils package. 1129151497Sru (removeAllPages): Removed. 1130151497Sru (createImage): Updated. 1131151497Sru Handle progress display. 1132151497Sru (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Removed. 1133151497Sru (scanArguments): Add option -p. 1134151497Sru (makeTempFiles): Updated to create temp files for psPageName and 1135151497Sru imagePageName. 1136151497Sru (removeTempFiles): Removed. 1137151497Sru (main): Updated. 1138151497Sru 1139151497Sru * src/devices/grohtml/post-html.cc (header_desc::write_headings, 1140151497Sru html_printer::write_header): Append `\0' to `buffer'. 1141151497Sru (html_printer::do_eol): Depend on `current_paragraph->emitted_text'. 1142151497Sru (main): Handle -p. 1143151497Sru * src/devices/grohtml/html-text.cc (html_text::dump_stack_element): 1144151497Sru Handle `text_emitted'. 1145151497Sru (html_text::table_is_void): Slightly rewritten. 1146151497Sru (stop): New external symbol. 1147151497Sru (html_text::do_push) [DEBUGGING]: Use it and simplify. 1148151497Sru (html_text::shutdown): Call `dump_stack'. 1149151497Sru (html_text::do_space): Rewritten. 1150151497Sru * src/devices/grohtml/grohtml.man: Document -p and the need of 1151151497Sru `psselect'. 1152151497Sru 1153151497Sru * tmac/www.tmac (DC, HTML-DO-IMAGE, HTML-IMAGE-END): Updated to 1154151497Sru new \O syntax. 1155151497Sru Call \O[0] if `ps4html' is active. 1156151497Sru * tmac/s.tmac (@EQ, @EN): Handle html better. 1157151497Sru (@TS, TE): Ditto. 1158151497Sru * tmac/html.tmac: Don't use black for background colour. 1159151497Sru 1160151497Sru * src/roff/troff/node.cc: Include `div.h'. 1161151497Sru (troff_output_file::really_print_line): Don't use `is_on'. 1162151497Sru (troff_output_file::word_marker, troff_output_file::flush_tbuf 1163151497Sru troff_output_file::check_charinfo, 1164151497Sru troff_output_file::put_char_width, troff_output_file::put_char, 1165151497Sru troff_output_file::determine_line_limits, troff_output_file::draw, 1166151497Sru real_output_file::begin_page, glyph_color_node::tprintf, 1167151497Sru fill_color_node::tprint, hline_node::tprint, vline_node::tprint): 1168151497Sru Use `is_on'. 1169151497Sru (troff_output_file::really_on): Call `do_motion'. 1170151497Sru (suppress_node::tprint): Use `get_page_number' instead of `%' 1171151497Sru register. 1172151497Sru Call `reset_output_registers' conditionally on `is_on'. 1173151497Sru 1174151497Sru * doc/groff.texinfo: Document new syntax of \O. 1175151497Sru * NEWS, man/groff_diff.man: Updated. 1176151497Sru 1177151497Sru2002-05-22 Werner LEMBERG <wl@gnu.org> 1178151497Sru 1179151497Sru * MORE.STUFF: Add info about David Frey's deroff implementation. 1180151497Sru Mention troff.org. 1181151497Sru 1182151497Sru2002-05-16 Werner LEMBERG <wl@gnu.org> 1183151497Sru 1184151497Sru Pic's `with' attribute now accepts positions. 1185151497Sru 1186151497Sru * src/preproc/pic/pic.y: Make `.', BOX, CIRCLE, ELLIPSE, ARC, LINE, 1187151497Sru ARROW, SPLINE, and `[' left-associative tokens to fix shift/reduce 1188151497Sru conflicts. 1189151497Sru (object_spec): Add rule for `WITH' and `position'. 1190151497Sru (relative_path): Give `corner' the precedence of `CHOP'. 1191151497Sru * src/preproc/pic/object.h (path): New members `pos' and 1192151497Sru `is_position'. 1193151497Sru * src/preproc/pic/object.cc: Updated initializers of `path'. 1194151497Sru (path::follow): Handle `is_position'. 1195151497Sru 1196151497Sru * doc/pic.ms: Completely updated grammar description. 1197151497Sru Many typographical improvements. 1198151497Sru 1199151497Sru2002-05-15 Werner LEMBERG <wl@gnu.org> 1200151497Sru 1201151497Sru * src/roff/troff/env.cc(hyphen_trie::hpf_getc): Accept ^^x (char 1202151497Sru code of x in range 0-127) also. 1203151497Sru * doc/groff.texinfo, man/groff_diff.man: Updated. 1204151497Sru 1205151497Sru Added keywords `north', `south', `east', and `west' for corners 1206151497Sru in pic. 1207151497Sru 1208151497Sru * src/preproc/pic/lex.cc (lookup_keyword): Add NORTH, SOUTH, EAST, 1209151497Sru and WEST. 1210151497Sru (yylex): Handle them. 1211151497Sru * src/preproc/pic/pic.y: Add tokens NORTH, SOUTH, EAST, and WEST. 1212151497Sru (corner): Handle them. 1213151497Sru 1214151497Sru2002-05-14 Werner LEMBERG <wl@gnu.org> 1215151497Sru 1216151497Sru * src/devices/grops/grops.man: Clarify handling of `download' file. 1217151497Sru 1218151497Sru2002-05-11 Werner LEMBERG <wl@gnu.org> 1219151497Sru 1220151497Sru Adding `warnscale' and `spreadwarn' requests, based on a patch from 1221151497Sru Jeffrey Friedl <jfriedl@yahoo.com>. 1222151497Sru 1223151497Sru * src/roff/troff/input.cc (spread_limit, warn_scale, 1224151497Sru warn_scaling_indicator): New global variables. 1225151497Sru (warnscale_request, spreadwarn_requests): New functions. 1226151497Sru (main): Initialize `warn_scale' and `warn_scaling_indicator'. 1227151497Sru (init_input_requests): Updated. 1228151497Sru (error_type): Add `OUTPUT_WARNING'. 1229151497Sru (do_error): Handle it. 1230151497Sru (output_warning): New warning function which shows output location. 1231151497Sru * src/roff/troff/env.h (spread_limit): New external variable. 1232151497Sru * src/roff/troff/env.cc (environment::choose_breakpoint): Use 1233151497Sru `output_warning'. 1234151497Sru (distribute_space): Emit warning if added space is larger than 1235151497Sru `spread_limit'. 1236151497Sru (environment::possibly_break_line): Emit warning if a line can't 1237151497Sru be adjusted on both sides. 1238151497Sru 1239151497Sru * doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document it. 1240151497Sru 1241151497Sru2002-05-08 Werner LEMBERG <wl@gnu.org> 1242151497Sru 1243151497Sru * src/roff/troff/node.cc (special_node::special_node): Use 1244151497Sru env_definite_font(curenv) instead of curenv->get_font(). Otherwise 1245151497Sru \X''\% crashes, for example. 1246151497Sru 1247151497Sru * doc/groff.texinfo: Document \! and \? used at top-level. 1248151497Sru 1249151497Sru2002-05-06 Werner LEMBERG <wl@gnu.org> 1250151497Sru 1251151497Sru * src/preproc/pic/pic.man: Fix some keyword syntax. 1252151497Sru Other minor typographical fixes. 1253151497Sru 1254151497Sru * src/roff/groff/groff.man: Fix typos. 1255151497Sru 1256151497Sru2002-05-04 Werner LEMBERG <wl@gnu.org> 1257151497Sru 1258151497Sru * src/roff/groff/groff.man ([ShortOpt]): Renamed to... 1259151497Sru (ShortOpt[]): This to avoid problems with refer. 1260151497Sru 1261151497Sru * doc/pic.ms: Fix typo. 1262151497Sru Fix pic grammar description. 1263151497Sru 1264151497Sru * tmac/an-old.tmac (ne): Use de1, not de. 1265151497Sru 1266151497Sru2002-05-03 Werner LEMBERG <wl@gnu.org> 1267151497Sru 1268151497Sru * doc/groff.texinfo: Finished separation of glyphs and characters. 1269151497Sru Don't use the string `Appendix' for appendix headers (both in 1270151497Sru the text and the table of contents). 1271151497Sru * man/groff_tmac.man, src/roff/troff/troff.man: Fix order of tmac 1272151497Sru directories. 1273151497Sru 1274151497Sru Use registers LL and LT (similar to -ms) for controlling the 1275151497Sru length of title and line, respectively, in the -man and -mdoc 1276151497Sru macro packages. 1277151497Sru 1278151497Sru * tmac/doc-ditroff (doc-setup-page-layout), tmac/doc-nroff 1279151497Sru (doc-setup-page-layout): Use \n[LL] and \n[LT]. 1280151497Sru * tmac/an-old.tmac: Set \n[LL] and \n[LT] if not defined. 1281151497Sru (TH): Use \n[LL]. 1282151497Sru (an-header, an-p-footer): Use \n[LT]. 1283151497Sru * NEWS, tmac/groff_man.man, tmac/groff_mdoc.man, 1284151497Sru doc/groff.texinfo: Document it. 1285151497Sru 1286151497Sru2002-05-02 Werner LEMBERG <wl@gnu.org> 1287151497Sru 1288151497Sru * doc/fdl.texi: New file. 1289151497Sru * doc/groff.texinfo: Include it. 1290151497Sru Define and use @copying. 1291151497Sru Starting with separating glyph, symbol, and character. 1292151497Sru 1293151497Sru2002-04-27 Werner LEMBERG <wl@gnu.org> 1294151497Sru 1295151497Sru * Makefile.in (EXEEXT): Set it. 1296151497Sru * src/*/Makefile.sub (PROG): Add $(EXEEXT) for all non-script 1297151497Sru programs. 1298151497Sru 1299151497Sru * src/include/nonposix.h: Define GS_NAME. 1300151497Sru * src/preproc/html/pre-html.cc (createAllPages): Use GS_NAME. 1301151497Sru 1302151497Sru Some preliminary changes for EMX support under OS/2. 1303151497Sru 1304151497Sru * src/preproc/pic/main.cc (main), src/roff/groff/pipeline.c: Add 1305151497Sru __EMX__ similar to __MSDOS__. 1306151497Sru * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Use `unlink'. 1307151497Sru 1308151497Sru2002-04-25 Werner LEMBERG <wl@gnu.org> 1309151497Sru 1310151497Sru * doc/groff.texinfo: Integrated groff_out.man. 1311151497Sru Some macro fixes. 1312151497Sru 1313151497Sru2002-04-23 Werner LEMBERG <wl@gnu.org> 1314151497Sru 1315151497Sru * man/groff_out.man: Minor fixes. 1316151497Sru 1317151497Sru2002-04-23 Werner LEMBERG <wl@gnu.org> 1318151497Sru 1319151497Sru * doc/groff.texinfo: Moving @cindex entries after @Def* to get 1320151497Sru correct page references. 1321151497Sru Fixed many index entries. 1322151497Sru 1323151497Sru2002-04-23 Bernd Warken <bwarken@mayn.de> 1324151497Sru 1325151497Sru * man/roff.man: Enlarged. 1326151497Sru 1327151497Sru2002-04-22 Werner LEMBERG <wl@gnu.org> 1328151497Sru 1329151497Sru * doc/groff.texinfo: More examples, other fixes. 1330151497Sru 1331151497Sru2002-04-20 Werner LEMBERG <wl@gnu.org> 1332151497Sru 1333151497Sru * src/roff/troff/input.cc (pipe_output): Multiple calls to `pi' 1334151497Sru will now form a chain, e.g. 1335151497Sru 1336151497Sru .pi foo 1337151497Sru .pi bar 1338151497Sru 1339151497Sru is now the same as 1340151497Sru 1341151497Sru .pi foo | bar 1342151497Sru 1343151497Sru This is for compatibility with plan 9's troff. 1344151497Sru 1345151497Sru * tmac/tty.tmac: Set default tab values to 0.8i to be compatible 1346151497Sru with UNIX troff. 1347151497Sru * NEWS: Updated. 1348151497Sru 1349151497Sru * doc/groff.texinfo: Add documentation of remaining requests and 1350151497Sru registers. 1351151497Sru 1352151497Sru2002-04-19 Werner LEMBERG <wl@gnu.org> 1353151497Sru 1354151497Sru * doc/groff.texinfo: Add documentation of remaining escapes. 1355151497Sru 1356151497Sru * font/devdvi/generate/tc.map: Remove entry for `sr'. 1357151497Sru * font/devdvi/*TC: Regenerated. 1358151497Sru 1359151497Sru2002-04-18 Werner LEMBERG <wl@gnu.org> 1360151497Sru 1361151497Sru * src/roff/troff/input.cc (token::next): Make \H behave consistently 1362151497Sru if not in compatibility mode, i.e., increment relative to the 1363151497Sru previous height. 1364151497Sru * doc/groff.texinfo: Updated accordingly. 1365151497Sru 1366151497Sru2002-04-17 Werner LEMBERG <wl@gnu.org> 1367151497Sru 1368151497Sru * doc/groff.texinfo: Document \\, \e, \E, \., and \c. 1369151497Sru 1370151497Sru2002-04-16 Bernd Warken <bwarken@mayn.de> 1371151497Sru 1372151497Sru * src/roff/groff/groff.man: Improve documentation of -P option. 1373151497Sru Other minor fixes. 1374151497Sru 1375151497Sru2002-04-15 Werner LEMBERG <wl@gnu.org> 1376151497Sru 1377151497Sru Add new escape \F to switch font family. 1378151497Sru 1379151497Sru * src/roff/troff/input.cc (token::next): Handle \F. 1380151497Sru * src/roff/troff/env.cc (environment::set_family): Handle 1381151497Sru `interrupted' flag. 1382151497Sru * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man: 1383151497Sru Document it. 1384151497Sru 1385151497Sru2002-04-14 Werner LEMBERG <wl@gnu.org> 1386151497Sru 1387151497Sru * tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of 1388151497Sru spaces in tags. 1389151497Sru 1390151497Sru2002-04-13 Werner LEMBERG <wl@gnu.org> 1391151497Sru 1392151497Sru Implement \f[] as an alternative to \fP. Change \mP and \MP to 1393151497Sru \m[] and \M[], respectively. 1394151497Sru 1395151497Sru * src/roff/troff/symbol.cc (EMPTY_SYMBOL): New global variable. 1396151497Sru (symbol::symbol): Handle NULL string and empty string differently. 1397151497Sru * src/roff/troff/symbol.h (symbol::is_empty): New inline function. 1398151497Sru * src/roff/troff/input.cc (read_escape_name, read_long_escape_name): 1399151497Sru Add optional parameter. 1400151497Sru Updated calling functions. 1401151497Sru (get_copy, do_glyph_color, do_fill_color, token::next): Use 1402151497Sru `symbol::is_empty'. 1403151497Sru * src/roff/troff/env.cc (environment::set_font): Ditto. 1404151497Sru 1405151497Sru * src/preproc/pic/troff.cc (troff_output::set_fill, 1406151497Sru troff_output::reset_color: Updated. 1407151497Sru 1408151497Sru * tmac/www.tmac: Updated. 1409151497Sru 1410151497Sru * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo, 1411151497Sru doc/homepage.ms, src/devices/grotty/grotty.man, tmac/groff_www.man: 1412151497Sru Updated. 1413151497Sru 1414151497Sru * tmac/Xps.tmac: Remove some redundant code. 1415151497Sru 1416151497Sru * tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac, 1417151497Sru tmac/dvi.tmac, man/roff.man, man/groff_out.man, man/groff.man, 1418151497Sru man/groff_diff.man, src/roff/groff/groff.man: Replace \f[P] with 1419151497Sru \f[]. 1420151497Sru 1421151497Sru2002-04-13 Bernd Warken <bwarken@mayn.de> 1422151497Sru 1423151497Sru * src/include/printer.h, src/libs/libdriver/printer.cc 1424151497Sru (printer::change_fill_color): New member function. 1425151497Sru * src/libs/libdriver/input.cc (parse_D_command): Use it. 1426151497Sru 1427151497Sru2002-04-12 Werner LEMBERG <wl@gnu.org> 1428151497Sru 1429151497Sru * doc/groff.texinfo: Completed pass on gtroff reference. 1430151497Sru 1431151497Sru2002-04-11 Werner LEMBERG <wl@gnu.org> 1432151497Sru 1433151497Sru * doc/groff.texinfo: More fixes. 1434151497Sru 1435151497Sru2002-04-11 Bernd Warken <bwarken@mayn.de> 1436151497Sru 1437151497Sru * src/include/color.h: Decorate with `const'. 1438151497Sru Use `size_t'. 1439151497Sru Include `stddef.h'. 1440151497Sru * src/libs/libgroff.color.cc: Decorate with `const'. 1441151497Sru Use `size_t'. 1442151497Sru (color::color): Initialize members. 1443151497Sru * src/libs/libdriver/input.cc (parse_D_command): Handle `f' 1444151497Sru command according to the documentation. 1445151497Sru 1446151497Sru * man/groff_out.man: Updated. 1447151497Sru Minor fixes. 1448151497Sru 1449151497Sru2002-04-11 Gaius Mulley <gaius@glam.ac.uk> 1450151497Sru 1451151497Sru * src/preproc/html/pre-html.cc (write_start_image): Remove 1452151497Sru redundant output. 1453151497Sru * tmac/www.tmac (DC, HTML-DO-IMAGE): Ditto. 1454151497Sru 1455151497Sru * src/devices/grohtml/post-html.cc (page::add_and_encode): Using 1456151497Sru \C'hy' caused an assertion failure. 1457151497Sru 1458151497Sru * src/roff/troff/env.cc (environment::environment): Initialize 1459151497Sru `emitted_node'. 1460151497Sru (environment::copy): Handle `ignore_next_eol' and `emitted_node'. 1461151497Sru 1462151497Sru2002-04-10 Werner LEMBERG <wl@gnu.org> 1463151497Sru 1464151497Sru * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo: 1465151497Sru Document pvs request and .pvs register. 1466151497Sru 1467151497Sru2002-04-09 Werner LEMBERG <wl@gnu.org> 1468151497Sru 1469151497Sru * doc/groff.texinfo: Improve and fix documentation of diversions 1470151497Sru and environments. 1471151497Sru 1472151497Sru2002-04-08 Werner LEMBERG <wl@gnu.org> 1473151497Sru 1474151497Sru * doc/groff.texinfo: Fix documentation of drawing functions. 1475151497Sru Other minor fixes. 1476151497Sru 1477151497Sru2002-04-07 Werner LEMBERG <wl@gnu.org> 1478151497Sru 1479151497Sru * doc/groff.texinfo: Better documentation of double quotes as 1480151497Sru arguments. 1481151497Sru Other minor fixes. 1482151497Sru 1483151497Sru2002-04-06 Werner LEMBERG <wl@gnu.org> 1484151497Sru 1485151497Sru * man/groff_font.man: Document names of special characters better. 1486151497Sru * doc/groff.texinfo: Minor improvements. 1487151497Sru 1488151497Sru * tmac/lbp.tmac: Load latin1.tmac. 1489151497Sru * tmac/X.tmac, tmac/Xps.tmac: Load latin1.tmac or cp1047.tmac. 1490151497Sru 1491151497Sru * font/devX*/*: Regenerated (all chars > 0x80 removed). 1492151497Sru 1493151497Sru2002-04-05 Werner LEMBERG <wl@gnu.org> 1494151497Sru 1495151497Sru * tmac/tty.tmac: Don't use shc request. 1496151497Sru * tmac/latin1.tmac, tmac/cp1047.tmac: Translate soft hyphen to `\%'. 1497151497Sru * NEWS: Updated. 1498151497Sru 1499151497Sru * man/groff_diff.man: Minor fixes. 1500151497Sru 1501151497Sru * font/devlbp/*: Remove all `charXXX' entities. 1502151497Sru 1503151497Sru * src/libs/libgroff/font.cc (font::~font): Deallocate 1504151497Sru `special_device_coding'. 1505151497Sru (font::load): Use `new' for allocating `special_device_coding'. 1506151497Sru * src/libs/libgroff/nametoindex.cc (character_indexer::lookup_char): 1507151497Sru Removed unused member. 1508151497Sru 1509151497Sru2002-04-05 Werner LEMBERG <wl@gnu.org> 1510151497Sru 1511151497Sru * src/drivers/grops/psrm.cc (skip_possible_newline): New function. 1512151497Sru (resource_manager::do_begin_binary, 1513151497Sru resource_manager::do_begin_data): Use it. 1514151497Sru 1515151497Sru * doc/texinfo.tex: Updated to version 4.2. 1516151497Sru 1517151497Sru * src/roff/troff/token.h: Add TOKEN_ZERO_WIDTH_BREAK for `\:'. 1518151497Sru (token::zero_width_break): New inline function. 1519151497Sru * src/roff/troff/input.cc (token::next): Use it. 1520151497Sru (token::description): Updated. 1521151497Sru (encode_char): Ignore `\%', `\&', `\)', and `\:'. 1522151497Sru (token::add_to_node_list, token::process): Use it. 1523151497Sru * NEWS, doc/groff.texinfo: Updated. 1524151497Sru 1525151497Sru * src/preproc/eqn/over.cc (over_box::output): Fix typo. 1526151497Sru * tmac/tty.tmac: Add missing backslash. 1527151497Sru 1528151497Sru2002-04-04 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de> 1529151497Sru 1530151497Sru * src/preproc/eqn/box.cc (set_script_size, box::top_level): Use 1531151497Sru `.ps' register instead of `.s' to handle fractional point sizes. 1532151497Sru * src/preproc/eqn/limit.cc (limit_box::compute_metrics, 1533151497Sru limit_box::output): Ditto. 1534151497Sru * src/preproc/eqn/other.cc (size_box::compute_metrics, 1535151497Sru size_box::output): Ditto. 1536151497Sru * src/preproc/eqn/over.cc (over_box::compute_metrics, 1537151497Sru over_box::output): Ditto. 1538151497Sru * src/preproc/eqn/script.cc (script_box::compute_metrics, 1539151497Sru script_box::output): Ditto. 1540151497Sru * src/preproc/eqn/sqrt.cc (sqrt_box::compute_metrics, 1541151497Sru sqrt_box::output): Ditto. 1542151497Sru 1543151497Sru2002-04-03 Michael Selway <mas@ssl.co.uk> 1544151497Sru 1545151497Sru * src/drivers/grops/psrm.cc (resource_manager::do_begin_binary): 1546151497Sru Fix typo. 1547151497Sru 1548151497Sru2002-04-03 Werner LEMBERG <wl@gnu.org> 1549151497Sru 1550151497Sru * doc/homepage.ms: Reduce title size. 1551151497Sru * doc/groff.texinfo: Fix documentation of .t register. 1552151497Sru Fix handling of colon. 1553151497Sru Fix `\' vs. `\\'. 1554151497Sru 1555151497Sru * src/roff/troff/input.cc (exit_troff): Emit LAST_PAGE_EJECTOR 1556151497Sru only if page length is positive to avoid a loop. 1557151497Sru 1558151497Sru * tmac/an-old.tmac (ne): Increase page length to avoid problems with 1559151497Sru tbl. 1560151497Sru 1561151497Sru2002-04-02 P. Alejandro Lopez-Valencia <dradul@yahoo.com> 1562151497Sru 1563151497Sru * src/include/nonposix.h, src/roff/groff/pipeline.c: 1564151497Sru s/__CYGWIN32__/__CYGWIN__/. 1565151497Sru 1566151497Sru2002-03-28 Gaius Mulley <gaius@glam.ac.uk> 1567151497Sru 1568151497Sru * doc/gnu.xpm: New image contributed by Emily Mulley. 1569151497Sru * doc/Makefile (gnu.eps, gnu.png): Use pnmdepth. 1570151497Sru (homepage.html): Be dependent on gnu.eps. 1571151497Sru * doc/homepage.ms: Updated to new image. 1572151497Sru 1573151497Sru * src/devices/grohtml/post-html.cc (html_printer): New member 1574151497Sru `sbuf_prev_hpos'. 1575151497Sru (html_printer::flush_sbuf, html_printer::set_char): Set it. 1576151497Sru (html_printer::sbuf_continuation): Use it. 1577151497Sru 1578151497Sru2002-03-28 Werner LEMBERG <wl@gnu.org> 1579151497Sru 1580151497Sru * src/libs/libgroff/getopt.c: Updated to latest version. 1581151497Sru 1582151497Sru * tmac/README: More on hyphen.tex license. 1583151497Sru 1584151497Sru2002-03-26 Larry Kollar <kollar@alltel.net> 1585151497Sru 1586151497Sru * doc/groff.texinfo: Add documentation of most missing requests. 1587151497Sru 1588151497Sru2002-03-25 Werner LEMBERG <wl@gnu.org> 1589151497Sru 1590151497Sru Add three glyphs `t+-', `tmu', and `tdi' which are textual variants 1591151497Sru of `+-', `mu', and `di', respectively. 1592151497Sru 1593151497Sru * font/devascii/R.proto, font/devutf8/R.proto, 1594151497Sru font/devlatin1/R.proto, font/devhtml/R.proto, 1595151497Sru font/devcp1047/R.proto, font/devlpb/*: Add them. 1596151497Sru * font/devps/generate/textmap: Ditto. 1597151497Sru * font/devps/*: Regenerated. 1598151497Sru * font/devlj4/generate/text.map: Add them. 1599151497Sru * font/devlj4/*: Regenerated. 1600151497Sru * font/devdvi/generate/tc.map: Use them. 1601151497Sru * font/devdvi/generate/texsy.map: Add them. 1602151497Sru * font/devdvi/*: Regenerated. 1603151497Sru * font/devX*/*: Regenerated. 1604151497Sru 1605151497Sru * tmac/latin1.tmac, tmac/cp1047.tmac, tmac/tty.tmac, 1606151497Sru tmac/tty-char.tmac: Updated. 1607151497Sru 1608151497Sru * NEWS, man/groff_char.man: Updated. 1609151497Sru 1610151497Sru2002-03-24 Werner LEMBERG <wl@gnu.org> 1611151497Sru 1612151497Sru * tmac/dvi.tmac, tmac/X.tmac, tmac/ps.tmac, tmac/html.tmac, 1613151497Sru tmac/lj4.tmac, tmac/tty.tmac: Replace most `.char' with `.fchar'. 1614151497Sru * tmac/ec.tmac: Remove `.rchar' calls (no longer necessary since 1615151497Sru we use `.fchar' in dvi.tmac. 1616151497Sru * tmac/dvi.tmac: Improve definition of \[Fo] and \[Fc]. 1617151497Sru * tmac/Xps.tmac: Simplify some char definitions. 1618151497Sru Add definition for \[f/]. 1619151497Sru * man/groff_char.man: Updated for new X.tmac. 1620151497Sru 1621151497Sru * tmac/README: New file. 1622151497Sru 1623151497Sru2002-03-23 Phil Lobbes <phil@perkpartners.com> 1624151497Sru 1625151497Sru * Makefile.comm (.y.o): New rule for make on Solaris 2.5.1 -- the 1626151497Sru internal .y.o rule took precendence over the .y.cc rule, compiling 1627151497Sru the yacc files with gcc instead of g++. 1628151497Sru 1629151497Sru2002-03-23 Werner LEMBERG <wl@gnu.org> 1630151497Sru 1631151497Sru * tmac/dvi.tmac: Add replacement font for `CB'. 1632151497Sru 1633151497Sru * tmac/doc.tmac: s/request/macro/ in messages. 1634151497Sru (doc-generic-macro): Improve error message. 1635151497Sru * tmac/groff_mdoc.man: Minor improvements. 1636151497Sru 1637151497Sru2002-03-22 Werner LEMBERG <wl@gnu.org> 1638151497Sru 1639151497Sru * doc/groff.texinfo: Document possible conflict between `tr' and 1640151497Sru `char' requests. 1641151497Sru 1642151497Sru2002-03-21 Werner LEMBERG <wl@gnu.org> 1643151497Sru 1644151497Sru Improve handling of hyphenation patterns. It is now possible to 1645151497Sru use most of TeX's pattern files unmodified. To make the process 1646151497Sru more flexible, a new request `hpfcode' has been added which 1647151497Sru provides a character code mapping for the `hpf' request. See 1648151497Sru comment before hpf_getc() for more details. 1649151497Sru 1650151497Sru * src/roff/troff/env.cc (insert_hyphenation, hpf_getc): New 1651151497Sru functions. 1652151497Sru (read_patterns_file): Additional parameter for exception dictionary. 1653151497Sru Extended to recognize \pattern, \hyphenation, and \endinput. 1654151497Sru (do_hyphenation_patterns_file): Updated. 1655151497Sru * src/roff/troff/env.h (hpf_code_table): New extern. 1656151497Sru 1657151497Sru * src/roff/troff/input.cc (hpf_code_table): New array. 1658151497Sru (init_hpf_code_table, hyphenation_patterns_file_code): New 1659151497Sru functions. 1660151497Sru (hyphenation_code): Handle translation from `trin' correctly. 1661151497Sru (main, init_input_requests): Updated. 1662151497Sru (charinfo::set_translation): Handle hyphenation code also. 1663151497Sru 1664151497Sru * src/roff/troff/charinfo.h (charinfo::get_translation_input): New 1665151497Sru inline function. 1666151497Sru 1667151497Sru * src/roff/troff/env.cc (WORD_MAX): Reduced to 256 since `unsigned 1668151497Sru char' is used for offsets in hyphenation exceptions. 1669151497Sru 1670151497Sru * tmac/hyphen.us: Replace with contents of unmodified `hyphen.tex'. 1671151497Sru 1672151497Sru * NEWS, man/groff_diff.man, man/groff.man: Document it. 1673151497Sru 1674151497Sru2002-03-20 Larry Kollar <kollar@alltel.net> 1675151497Sru 1676151497Sru * doc/groff.texinfo: Add documentation for `hpfa' and `trin' 1677151497Sru requests. 1678151497Sru 1679151497Sru2002-03-18 Werner LEMBERG <wl@gnu.org> 1680151497Sru 1681151497Sru * tmac/html.tmac: Fix serious typo. 1682151497Sru 1683151497Sru2002-03-17 Larry Kollar <kollar@alltel.net> 1684151497Sru 1685151497Sru * doc/groff.texinfo: Add documentation for `writec' request. 1686151497Sru 1687151497Sru2002-03-17 Werner LEMBERG <wl@gnu.org> 1688151497Sru 1689151497Sru Added request `hpfa' to append hyphenation patterns. 1690151497Sru 1691151497Sru * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add 1692151497Sru parameter `append'. 1693151497Sru (hyphenation_patterns_file): Renamed to... 1694151497Sru (do_hyphenation_patterns_file): This. 1695151497Sru (hyphenation_patterns_file, hyphenation_patterns_file_append): New 1696151497Sru functions. 1697151497Sru (init_hyphen_requests): Updated. 1698151497Sru * NEWS, man/groff.man, man/groff_diff.man: Document it. 1699151497Sru 1700151497Sru2002-03-16 Werner LEMBERG <wl@gnu.org> 1701151497Sru 1702151497Sru Added request `writec' in analogy to `tmc'. 1703151497Sru 1704151497Sru * src/roff/troff/input.cc (write_request): Renamed to... 1705151497Sru (do_write_request): This. 1706151497Sru Added one parameter. 1707151497Sru (write_request, write_request_continue): New functions. 1708151497Sru (init_input_requests): Updated. 1709151497Sru * NEWS, man/groff.man, man/groff_diff.man: Document it. 1710151497Sru 1711151497Sru * font/devdvi/DESC.in (sizes): Allow all sizes in the range 1712151497Sru 5-10000pt. 1713151497Sru * NEWS: Document it. 1714151497Sru 1715151497Sru2002-03-15 Werner LEMBERG <wl@gnu.org> 1716151497Sru 1717151497Sru * man/groff.man: Add writem request. 1718151497Sru 1719151497Sru Add request `trin' (translate input) to make `.asciify' work 1720151497Sru correctly. This is necessary since `charXXX' entity names are no 1721151497Sru longer hardcoded in font definition files. 1722151497Sru 1723151497Sru * src/roff/troff/charinfo.h (charinfo): Add `asciify_code' and 1724151497Sru `translate_input' members. 1725151497Sru (charinfo::set_asciify_code, charinfo::get_asciify_code, 1726151497Sru charinfo::set_translation_input): New methods. 1727151497Sru (charinfo::set_translation): Add third argument. 1728151497Sru * src/roff/troff/input.cc (charinfo:set_translation): Set 1729151497Sru `asciify_code'. 1730151497Sru (do_translate): Add second argument. 1731151497Sru (translate_input): New function. 1732151497Sru (init_input_requests): Updated. 1733151497Sru * src/roff/troff/node.cc (glyph_node::asciify, 1734151497Sru composite_node::asciify): Use `get_asciify_code'. 1735151497Sru 1736151497Sru * tmac/cp1047.tmac, tmac/latin1.tmac: Use `trin'. 1737151497Sru 1738151497Sru * NEWS, man/groff.man, man/groff_diff.man: Updated. 1739151497Sru 1740151497Sru2002-03-14 Larry Kollar <kollar@alltel.net> 1741151497Sru 1742151497Sru * doc/groff.texinfo: Improve documentation of .RS and .RE. 1743151497Sru 1744151497Sru2002-03-14 Werner LEMBERG <wl@gnu.org> 1745151497Sru 1746151497Sru Add a new request `sizes' similar to the `sizes' command in DESC 1747151497Sru files. 1748151497Sru 1749151497Sru * src/roff/troff/env.cc (override_sizes): New function. 1750151497Sru (init_env_requests): Use it. 1751151497Sru * src/roff/troff/token.h: Export `read_string'. 1752151497Sru * NEWS, man/groff_diff.man, man/groff.man: Document it. 1753151497Sru 1754151497Sru2002-03-12 Werner LEMBERG <wl@gnu.org> 1755151497Sru 1756151497Sru * doc/groff.texinfo: More fixes for texinfo 4.1 and higher. 1757151497Sru 1758151497Sru2002-03-10 Werner LEMBERG <wl@gnu.org> 1759151497Sru 1760151497Sru * tmac/pspic.tmac: Add support for -Tdvi. 1761151497Sru * tmac/dvi.tmac: Include pspic.tmac. 1762151497Sru * src/devices/grodvi/grodvi.man: Document it. 1763151497Sru * NEWS: Updated. 1764151497Sru 1765151497Sru * font/devlj4/generate/Makefile: Fix URL of metric files. 1766151497Sru 1767151497Sru2002-03-09 Werner LEMBERG <wl@gnu.org> 1768151497Sru 1769151497Sru * PROBLEMS: The static constructor bug has been fixed in z/OS V1R3. 1770151497Sru 1771151497Sru2002-03-09 Larry Kollar <kollar@alltel.net> 1772151497Sru 1773151497Sru * tmac/groff_ms.man: Add documentation for RS and RE macros. 1774151497Sru 1775151497Sru2002-03-08 Werner LEMBERG <wl@gnu.org> 1776151497Sru 1777151497Sru * doc/groff.texinfo: Fixes for texinfo 4.1. 1778151497Sru 1779151497Sru2002-03-07 Werner LEMBERG <wl@gnu.org> 1780151497Sru 1781151497Sru * src/include/lib.h: Include getopt.h if groff-getopt.h can't be 1782151497Sru included. 1783151497Sru Handle CYGWIN properly. 1784151497Sru 1785151497Sru2002-03-07 Paco Andr�s Verd� <pandres@dragonet.es> 1786151497Sru 1787151497Sru * font/devlbp/Makefile.sub (DEVFILES): Add some missing fonts. 1788151497Sru * tmac/lbp.tmac: Add some font translations. 1789151497Sru 1790151497Sru2002-03-02 Werner LEMBERG <wl@gnu.org> 1791151497Sru 1792151497Sru * font/devcp1047/R.proto, font/devlatin1/R.proto, 1793151497Sru font/devhtml/R.proto: Remove `charXXX' entries. 1794151497Sru * tmac/tty.tmac, tmac/html.tmac: Load latin1.tmac or cp1047.tmac 1795151497Sru where appropriate. 1796151497Sru 1797151497Sru * font/devlj4/generate/text.map: Remove `charXXX' entries. 1798151497Sru * font/devlj4/*: Regenerated all font definition files. 1799151497Sru * tmac/lj4.tmac: Load latin1.tmac. 1800151497Sru 1801151497Sru * src/utils/hpftodit/hpftodit.cc (do_file): Partially undo change 1802151497Sru from 2000-06-17: LJ4 metric files are *not* text files. 1803151497Sru 1804151497Sru * tmac/troffrc, tmac/dvi.tmac, tmac/ps.tmac: Don't use .T string 1805151497Sru register to test for EBCDIC. 1806151497Sru 1807151497Sru2002-03-01 Werner LEMBERG <wl@gnu.org> 1808151497Sru 1809151497Sru * src/utils/afmtodit/afmtodit.pl: Skip comment lines in encoding 1810151497Sru files (as grops already does). 1811151497Sru * src/utils/afmtodit/afmtodit.man: Document comment lines in map 1812151497Sru files. 1813151497Sru * src/devices/grops/grops.man: Document comment lines in encoding 1814151497Sru files. 1815151497Sru 1816151497Sru * tmac/cp1047.tmac: New file. 1817151497Sru * tmac/dvi.tmac, tmac/tty-char.tmac: Use it. 1818151497Sru * tmac/ps.tmac: Load latin1.tmac or cp1047.tmac. 1819151497Sru * tmac/Makefile.sub (NORMALFILES): Updated. 1820151497Sru 1821151497Sru * tmac/ec.tmac: Don't load latin1.tmac again. 1822151497Sru 1823151497Sru * font/devps/generate/lgreekmap, font/devps/generate/symbolchars, 1824151497Sru font/devps/generate/dingbats.map, 1825151497Sru font/devps/generate/dingbats.rmap, font/devps/text.enc, 1826151497Sru font/devps/generate/Makefile (symbolmap): Add header comment. 1827151497Sru * font/devps/generate/textmap: Ditto. 1828151497Sru Remove `charXXX' entries. 1829151497Sru * font/devps/symbolmap: Regenerated. 1830151497Sru * font/devps/*: Regenerated all font definition files. 1831151497Sru 1832151497Sru2002-02-28 Werner LEMBERG <wl@gnu.org> 1833151497Sru 1834151497Sru Add color support to grodvi (for drawing colors are currently 1835151497Sru translated to gray values). 1836151497Sru 1837151497Sru * src/devices/grodvi/dvi.cc (FILL_MAX): Removed. 1838151497Sru (dvi_printer): Add `cur_color' member. 1839151497Sru (dvi_printer::set_color): New function. 1840151497Sru (draw_dvi_printer): Remove `fill'. 1841151497Sru (draw_dvi_printer::fill_next): Pass environment as parameter. 1842151497Sru Update code for new color support translated to gray. 1843151497Sru (dvi_printer::set_char): Updated. 1844151497Sru (dvi_printer::begin_page, dvi_printer::end_page): Handle color 1845151497Sru changes crossing the page border. 1846151497Sru (dvi_printer::draw): Updated. 1847151497Sru Remove cases `f' and `F'. 1848151497Sru * tmac/dvi.tmac: Add color definitions. 1849151497Sru * NEWS, src/devices/grodvi/grodvi.man: Updated. 1850151497Sru 1851151497Sru * tmac/an-old.tmac (R): Make this a macro to emit a warning if 1852151497Sru used incorrectly. 1853151497Sru 1854151497Sru * aclocal.m4 (GROFF_NEED_DECLARATION): Use test similar to recent 1855151497Sru versions of autoconf. 1856151497Sru * configure: Updated. 1857151497Sru 1858151497Sru * doc/homepage.ms: Use `.blm'. 1859151497Sru * tmac/www.tmac (www-depth): New auxiliary variable. 1860151497Sru (www-pop-level): Don't issue HTML tag. 1861151497Sru (ULS, ULE, LI): Use absolute indentation. 1862151497Sru 1863151497Sru * src/devices/grops/ps.cc (ps_printer::begin_page, 1864151497Sru ps_printer::end_page): Switch forth and back to default color while 1865151497Sru starting a new page. 1866151497Sru 1867151497Sru2002-02-27 Werner LEMBERG <wl@gnu.org> 1868151497Sru 1869151497Sru Add EC and TC fonts to devdvi. 1870151497Sru 1871151497Sru * src/utils/tfmtodit/tfmtodit.man: Document patching of exbase.mf. 1872151497Sru * font/devdvi/generate/cork.map: Renamed to... 1873151497Sru * font/devdvi/generate/ec.map: This. 1874151497Sru Remove entry for `aq'. 1875151497Sru * font/devdvi/generate/tc.map: New file. 1876151497Sru * font/devdvi/generate/Makefile (*EC, *TC): New creation rules for 1877151497Sru EC and TC fonts. 1878151497Sru (FONTS): Updated. 1879151497Sru * font/devdvi/*EC, font/devdvi/*TC: New font definition files. 1880151497Sru * font/devdvi/Makefile.sub (DEVFILES): Updated. 1881151497Sru * tmac/ec.tmac: New file. 1882151497Sru * tmac/Makefile.sub (NORMALFILES): Updated. 1883151497Sru * NEWS, src/devices/grodvi/grodvi.man: Updated. 1884151497Sru * man/groff_char.man: Check `ECFONTS' register. 1885151497Sru 1886151497Sru * font/devdvi/{TR,TI,TB,TBI,HR}: Fix `name' field. 1887151497Sru 1888151497Sru2002-02-26 Werner LEMBERG <wl@gnu.org> 1889151497Sru 1890151497Sru * font/devdvi/generate/*.map: Remove all `charXXX' entries. 1891151497Sru * font/devdvi/generate/cork.map: Add 'y and 'Y. 1892151497Sru * font/devdvi/*: Updated. 1893151497Sru * tmac/dvi.tmac: Formatting. 1894151497Sru 1895151497Sru Add font `HBI' for the dvi output. 1896151497Sru Add support for font families `T' and `H'. 1897151497Sru 1898151497Sru * font/devdvi/HBI: New file. 1899151497Sru * font/devdvi/B: Renamed to ... 1900151497Sru * font/devdvi/TB: This. 1901151497Sru * font/devdvi/BI: Renamed to ... 1902151497Sru * font/devdvi/TBI: This. 1903151497Sru * font/devdvi/I: Renamed to ... 1904151497Sru * font/devdvi/TI: This. 1905151497Sru * font/devdvi/R: Renamed to ... 1906151497Sru * font/devdvi/TR: This. 1907151497Sru * font/devdvi/H: Renamed to ... 1908151497Sru * font/devdvi/HR: This. 1909151497Sru * font/devdvi/Makefile.sub (DEVFILES): Updated. 1910151497Sru * font/devdvi/generate/Makefile (HBI): New rule. 1911151497Sru (FONTS): Updated. 1912151497Sru (R, I, B, BI, H): Renamed to ... 1913151497Sru (TR, TI, TB, TBI, HR): This, respectively. 1914151497Sru (srcdir): Fixed. 1915151497Sru * NEWS, src/devices/grodvi/grodvi.man: Updated. 1916151497Sru * font/devdvi/DESC.in: Don't mount R, I, B, BI, and CWI. 1917151497Sru Add `styles' and `family' keywords. 1918151497Sru * tmac/dvi.tmac: Alias `H' to `HR'. 1919151497Sru Add some fspecial requests for italic fonts. 1920151497Sru Add TR and TI as special. 1921151497Sru Add support for `_' with font CWI. 1922151497Sru 1923151497Sru * src/roff/troff/number.cc (parse_expr): Add missing `break' for 1924151497Sru operator `:'. Until now, the expression `0:1' would return 2 1925151497Sru instead of 1. 1926151497Sru 1927151497Sru2002-02-25 Werner LEMBERG <wl@gnu.org> 1928151497Sru 1929151497Sru * man/groff_char.man: Added some missing PS glyph names (from the 1930151497Sru Adobe Glyph List). 1931151497Sru * font/devps/generate/textmap, font/devps/symbolmap: Add 1932151497Sru `arrowupdn'. 1933151497Sru 1934151497Sru * doc/groff.texinfo: Minor additions and fixes. 1935151497Sru * man/groff_diff.man: Remove documentation of fp request. This 1936151497Sru is already covered in the original troff manual. 1937151497Sru Updated to be consistent with other doc files. 1938151497Sru * NEWS: Updated. 1939151497Sru 1940151497Sru2002-02-24 Werner LEMBERG <wl@gnu.org> 1941151497Sru 1942151497Sru * aclocal.m4 (GROFF_EBCDIC): Don't include `font/devutf8' in 1943151497Sru TTYDEVDIRS. 1944151497Sru Define new variable OTHERDEVDIRS (containing `font/devlj4 1945151497Sru font/devlbp' if not EBCDIC). 1946151497Sru * Makefile.in (TTYDEVDIRS): Always include `font/devutf8'. 1947151497Sru (OTHERDEVDIRS): New variable. 1948151497Sru (MDEFINES, DEVDIRS, ALLDIRS, DISTDIRS): Updated. 1949151497Sru * configure: Regenerated. 1950151497Sru 1951151497Sru * NEWS, src/devices/grotty/grotty.man: Updated. 1952151497Sru 1953151497Sru2002-02-23 Werner LEMBERG <wl@gnu.org> 1954151497Sru 1955151497Sru * src/roff/troff/input.cc (do_overstrike, do_bracket, 1956151497Sru get_line_arg): Honour input level. 1957151497Sru 1958151497Sru Add new symbol `mc' corresponding to U+00B5 MICRO SIGN. 1959151497Sru 1960151497Sru * font/*/*: Implement it in all font files. 1961151497Sru * font/devps/generate/textmap, font/devps/generate/symbolchars, 1962151497Sru * font/devps/symbolmap: Updated. 1963151497Sru * font/devlj4/generate/text.map: Updated. 1964151497Sru * font/devdvi/generate/CompileFonts (sizes): Add LaTeX sizes. 1965151497Sru * font/devdvi/generate/texmi.map: Updated. 1966151497Sru 1967151497Sru * font/devutf8/R.proto: Remove all `charXXX' entries. 1968151497Sru * font/devutf8/NOTES: Updated. 1969151497Sru 1970151497Sru * font/devX*/*: Regenerated with xtotroff, using fonts from XFree86 1971151497Sru version 4.1.0. 1972151497Sru 1973151497Sru * tmac/latin1.tmac, tmac/psold.tmac, tmac/tty-char.tmac: Updated. 1974151497Sru 1975151497Sru * NEWS, man/groff_char.man: Updated. 1976151497Sru 1977151497Sru2002-02-21 Phil Lobbes <phil@perkpartners.com> 1978151497Sru 1979151497Sru * src/include/lib.h [HAVE_SNPRINTF]: Include stdarg.h. 1980151497Sru 1981151497Sru2002-02-20 Ralph Corderoy <ralph@inputplus.demon.co.uk> 1982151497Sru 1983151497Sru * src/roff/grog/grog.pl: Fix computation of $refer. 1984151497Sru 1985151497Sru2002-02-19 Werner LEMBERG <wl@gnu.org> 1986151497Sru 1987151497Sru * src/include/lib.h [!HAVE_SNPRINTF]: Add declarations for 1988151497Sru `snprintf' and `vsnprintf'. 1989151497Sru 1990151497Sru * src/include/htmlindicate.h: Renamed to... 1991151497Sru * src/include/htmlhint.h: This. 1992151497Sru * src/include/Makefile.sub: Updated. 1993151497Sru * src/preproc/eqn/main.cc: Updated. 1994151497Sru 1995151497Sru2002-02-18 Werner LEMBERG <wl@gnu.org> 1996151497Sru 1997151497Sru * man/roff.man, man/groff_out.man, man/groff.man, 1998151497Sru man/groff_diff.man, man/ditroff.man, src/roff/groff/groff.man, 1999151497Sru src/roff/troff/troff.man: Updated to latest changes in www.tmac. 2000151497Sru 2001151497Sru * win32-diffs: Updated. 2002151497Sru 2003151497Sru2002-02-17 Werner LEMBERG <wl@gnu.org> 2004151497Sru 2005151497Sru * doc/Makefile (clean): Add *.eps. 2006151497Sru (MEMACROS): Removed. 2007151497Sru (TFLAG): New variable. 2008151497Sru (TROFF): Use it. 2009151497Sru Add -ww. 2010151497Sru (GROFF): Use TFLAG, FFLAG, -U, -p, -e, -t, and -ww. 2011151497Sru (.me.dit): Fixed. 2012151497Sru (.ms.html, .ms.ascii, .ms.ps, homepage.html): Simplify. 2013151497Sru 2014151497Sru * tmac/www.tmac: Use dummy diversion while resetting and disabling 2015151497Sru `.tl'. 2016151497Sru * tmac/e.tmac: Inserted some more `\"' to remove warnings if used 2017151497Sru unstripped. 2018151497Sru * src/roff/troff/troff.man: Fix order of parameter description. 2019151497Sru 2020151497Sru * NEWS: Updated. 2021151497Sru 2022151497Sru2002-02-16 Gaius Mulley <gaius@glam.ac.uk> 2023151497Sru 2024151497Sru Simplify image handling for grohtml. 2025151497Sru Fix <p> bug. 2026151497Sru 2027151497Sru * src/devices/grohtml/html-text.cc (DEBUGGING): Don't undefine but 2028151497Sru comment out. 2029151497Sru (html_text::dump_stack): Don't emit newline while debugging. 2030151497Sru (html_text::do_push) [DEBUGGING]: Print more info. 2031151497Sru (html_text::check_emit_text): Fix handling of <p>. 2032151497Sru * src/devices/grohtml/html.h: Updated. 2033151497Sru * src/devices/grohtml/output.cc (FPUTC, FPUTS, PUTC): New macros, 2034151497Sru replacing `fputc', `fputs', `putc'. If DEBUGGING is defined, they 2035151497Sru send its data to stderr also. 2036151497Sru Update all callers. 2037151497Sru (simple_output::space_or_newline) [DEBUGGING]: Removed. 2038151497Sru * src/devices/grohtml/post-html.cc (html_printer::do_links, 2039151497Sru html_printer::html_printer): Remove `DEBUGGING' conditionals. 2040151497Sru 2041151497Sru * src/include/html-strings.h (HTML_IMAGE_{CENTERED,LEFT,RIGHT,END}): 2042151497Sru Removed. 2043151497Sru * src/libs/libgroff/htmlhint.cc (is_in_graphic_start, 2044151497Sru is_inline_image): Removed. 2045151497Sru (html_begin_suppress, html_end_suppress): Don't take a parameter. 2046151497Sru (graphic_start, graphic_end): Removed. 2047151497Sru * src/include/htmlindicate.h: Updated. 2048151497Sru * src/preproc/html/pre-html.cc (DEBUG_HTML): Removed. 2049151497Sru (macroset_template): New global variable. 2050151497Sru (makeFileName): Use `macroset_template'. 2051151497Sru (write_end_image): Don't take a parameter. 2052151497Sru Don't emit newline. 2053151497Sru (write_start_image: Don't emit newline. 2054151497Sru (char_buffer::write_upto_newline): Updated. 2055151497Sru (char_buffer::skip_to_newline): Renamed to ... 2056151497Sru (char_buffer::skip_until_newline): This. 2057151497Sru Fix code. 2058151497Sru (char_buffer::write_file_troff, char_buffer::write_file_html): 2059151497Sru Simplified. 2060151497Sru (createAllPages, createImage) [DEBUGGING]: Handle `debug' flag. 2061151497Sru (removeAllPages): Remove `DEBUGGING' conditionals. 2062151497Sru (addRegDef, dump_args): New functions. 2063151497Sru (char_buffer::do_html, char_buffer::do_image): Handle 2064151497Sru `www-image-template' command line variable. 2065151497Sru Add more debugging code. 2066151497Sru (addps4html): Removed. 2067151497Sru (removeTempFiles) [DEBUGGING]: Handle `debug' flag. 2068151497Sru 2069151497Sru * src/preproc/eqn/main.cc: Include `ctype.h'. 2070151497Sru (suppress_html): Removed. 2071151497Sru (do_file): Updated. 2072151497Sru (inline_equation): Use `html_begin_suppress' and 2073151497Sru `html_end_suppress'. 2074151497Sru * src/preproc/pic/troff.cc: Don't include `htmlindicate.h'. 2075151497Sru (troff_output::start_picture, troff_output::finish_picture): 2076151497Sru Updated. 2077151497Sru * src/preproc/tbl/main.cc: Don't include `htmlindicate.h'. 2078151497Sru (process_input_file): Updated. 2079151497Sru 2080151497Sru * src/roff/troff/div.cc (page_number): Set page number only if the 2081151497Sru `ps4html' register isn't defined. 2082151497Sru * src/roff/troff/input.cc (image_no): New external variable. 2083151497Sru (do_suppress): Use it. 2084151497Sru * src/roff/troff/node.h (suppress_node::image_id): New member. 2085151497Sru * src/roff/troff/node.cc (image_no): Remove `static' keyword. 2086151497Sru (suppress_node::suppress_node): Initialize `image_id' member. 2087151497Sru (suppress_node::same): Handle `image_id' also. 2088151497Sru (suppress_node::copy): Updated. 2089151497Sru (last_image_id): New global variable. 2090151497Sru (suppress_node::tprint): Use it. 2091151497Sru 2092151497Sru * tmac/an-old.tmac (TS, TE, EQ, EN): Use HTML-IMAGE and 2093151497Sru HTML-IMAGE-END. 2094151497Sru * tmac/pspic.mac (PSPIC): Fix html support. 2095151497Sru * tmac/s.tmac (@EQ, @EN, @TS, TE, PS, PE): Ditto. 2096151497Sru * tmac/www.tmac (www-image-template): Set up. 2097151497Sru (HTMLINDEX): Renamed to... 2098151497Sru (HX): This. 2099151497Sru (BODYCOLOR): Renamed to... 2100151497Sru (BCL): This. 2101151497Sru (BACKGROUND): Renamed to... 2102151497Sru (BGIMG): This. 2103151497Sru (URL): Change order of parameters for consistency. 2104151497Sru (MAILTO): Renamed to... 2105151497Sru (MTO): This. 2106151497Sru (IMAGE, PNG-IMAGE, MARGIN-PNG-IMAGE): Renamed to... 2107151497Sru (IMG, PIMG, MPIMG): This. 2108151497Sru (HTML-H-BEGIN, HTML-H-END): Renamed to... 2109151497Sru (HnS, HnE): This. 2110151497Sru (LINKS): Renamed to... 2111151497Sru (LK): This. 2112151497Sru (LINE): Renamed to... 2113151497Sru (HR): This. 2114151497Sru (NO-AUTO-RULE): Renamed to... 2115151497Sru (NHR): This. 2116151497Sru (HTML-TL): Renamed to... 2117151497Sru (HTL): This. 2118151497Sru (UL-BEGIN, UL-END): Renamed to... 2119151497Sru (ULS, ULE): This. 2120151497Sru (DROPCAP): Renamed to... 2121151497Sru (DC): This. 2122151497Sru (TS, TE, EQ, EN): Provide default definitions. 2123151497Sru (www-make-unique-name): Updated. 2124151497Sru (HTML-IMAGE-INLINE): Fix typo. 2125151497Sru * tmac/groff_www.man: Updated. 2126151497Sru 2127151497Sru * doc/Makefile (homepage.html): Add option -r to grohtml. 2128151497Sru Use shortened image name. 2129151497Sru * doc/groff.texinfo: Updated info on grohtml strings and macros. 2130151497Sru * doc/homepage.ms: Updated and extended. 2131151497Sru 2132151497Sru2002-02-14 Werner LEMBERG <wl@gnu.org> 2133151497Sru 2134151497Sru Don't use `CSI 39 m' and `CSI 49 m' but `CSI 0 m'. 2135151497Sru 2136151497Sru * src/devices/grotty/tty.cc (SGR_DEFAULT_COLOR, 2137151497Sru SGR_BACK_DEFAULT_COLOR): Replaced with ... 2138151497Sru (tty_printer::put_color): Use it. 2139151497Sru (ttr_printer::end_page): Simplify. 2140151497Sru 2141151497Sru2002-02-13 Werner LEMBERG <wl@gnu.org> 2142151497Sru 2143151497Sru * tmac/groff_tmac.man: Moved to... 2144151497Sru * man/groff_tmac.man: This place. 2145151497Sru * tmac/Makefile.sub, man/Makefile.sub: Updated. 2146151497Sru 2147151497Sru2002-02-12 Werner LEMBERG <wl@gnu.org> 2148151497Sru 2149151497Sru * src/libs/libgroff/Makefile.sub (snprintf.o): Don't use 2150151497Sru $(COMPILE.c) to not include groff's assert.h. 2151151497Sru 2152151497Sru * src/drivers/grotty/tty.cc (main): Add GROFF_NO_SGR environment 2153151497Sru variable. 2154151497Sru * NEWS, src/drivers/grotty/grotty.man: Document it. 2155151497Sru 2156151497Sru2002-02-11 Werner LEMBERG <wl@gnu.org> 2157151497Sru 2158151497Sru * src/libs/snprintf/snprintf.c: Updated to latest version 2159151497Sru (2002-02-11). 2160151497Sru 2161151497Sru * src/roff/grog/grog.pl (process): Fix handling of `.['. We now 2162151497Sru test whether there is `.]' also. 2163151497Sru Don't check for spaces after `.['. 2164151497Sru * src/roff/grog/grog.sh: Do the same. 2165151497Sru 2166151497Sru2002-02-10 Werner LEMBERG <wl@gnu.org> 2167151497Sru 2168151497Sru Illegal -> Invalid. 2169151497Sru 2170151497Sru * src/libs/libgroff/illegal.cc: Renamed to ... 2171151497Sru * src/libs/libgroff/invalid.cc: This. 2172151497Sru (illegal_char_table): Renamed to ... 2173151497Sru (invalid_char_table): This. 2174151497Sru * src/libs/libgroff/Makefile.sub: Updated. 2175151497Sru * win32-diffs: Updated. 2176151497Sru 2177151497Sru * doc/groff.texinfo, src/devices/grops/psrm.cc (ps_get_line), 2178151497Sru src/libs/libdriver/input.cc (fatal_command, parse_color_command, 2179151497Sru parse_x_command), src/libs/libgroff/font.cc (text_file::next, 2180151497Sru font::load), src/preproc/eqn/main.cc (read_line, main), 2181151497Sru src/preproc/eqn/lex.cc (file_input::read_line), 2182151497Sru src/preproc/pic/lex.cc (file_input::read_line, 2183151497Sru simple_file_input::get, simple_file_input::peek), 2184151497Sru src/preproc/pic/main.cc (top_input::get, top_input::peek), 2185151497Sru src/preproc/pic/pic.man, src/preproc/refer/main.cc 2186151497Sru (input_stack::push_file), src/preproc/refer/refer.cc (do_file, 2187151497Sru do_bib), src/preproc/tbl/main.cc (table_input::get), 2188151497Sru src/preproc/grn/grn.man, src/preproc/grn/main.cc (interpret), 2189151497Sru src/roff/troff/input.cc (file_iterator::fill, file_iterator::peek, 2190151497Sru do_zero_width, read_request, encode_char, ps_get_line, 2191151497Sru transparent_file, get_char_for_escape_name, transparent_translate, 2192151497Sru asciify, input_char_description, read_string, set_string), 2193151497Sru src/roff/troff/env.cc (environment::add_html_tag), 2194151497Sru src/roff/troff/troff.man, tmac/e.tmac (`@(', `(f'): Do it. 2195151497Sru 2196151497Sru * src/include/lib.h: Updated. 2197151497Sru 2198151497Sru * src/preproc/eqn/eqn.cc: Removed. 2199151497Sru 2200151497Sru * NEWS: Updated. 2201151497Sru 2202151497Sru * src/preproc/grn/hdb.cc (DBRead): Fix fscanf() fields. 2203151497Sru 2204151497Sru2002-02-09 Werner LEMBERG <wl@gnu.org> 2205151497Sru 2206151497Sru * doc/gnu.xpm: New image. 2207151497Sru * doc/Makefile (DOCS): Add homepage.ps. 2208151497Sru Add rules for converting xpm->png and xpm->eps. 2209151497Sru Use `gnu.{xpm,eps}' as image names. 2210151497Sru * doc/homepage.ms: Updated. 2211151497Sru 2212151497Sru2002-02-09 Gaius Mulley <gaius@glam.ac.uk> 2213151497Sru 2214151497Sru * tmac/www.tmac (www-error): New macro, replacing calls to `@error'. 2215151497Sru (IMAGE): Change image position parameters to `-L', `-R', and `-C'. 2216151497Sru Remove calls to `B1' and `B2' 2217151497Sru (PNG-IMAGE): New macro for inclusion of images in PNG format. 2218151497Sru (www-left-ll-trap, www-left-po-trap, www-right-ll-trap): New 2219151497Sru auxiliary variables for MARGIN-PNG-IMAGE. 2220151497Sru (www-finish-left-po, www-finish-right-ll, www-finish-left-ll): New 2221151497Sru auxiliary macros for MARGIN-PNG-IMAGE. 2222151497Sru (MARGIN-PNG-IMAGE): New macro to put an image in PNG format into 2223151497Sru the margin. 2224151497Sru (www-heading-no): New auxiliary variable for HTML-H-{BEGIN,END}. 2225151497Sru (HTML-H-BEGIN, HTML-H-END): New macros to begin and end a heading. 2226151497Sru (DROPCAP): New macro to produce dropcap characters. 2227151497Sru (www-do-image): Renamed back to... 2228151497Sru (HTML-DO-IMAGE): This. 2229151497Sru Updated all callers. 2230151497Sru 2231151497Sru * doc/Makefile (gnubw.eps): Updated. 2232151497Sru * doc/homepage.ms: Updated. 2233151497Sru 2234151497Sru2002-02-08 Werner LEMBERG <wl@gnu.org> 2235151497Sru 2236151497Sru * doc/pic.ms: Fixed typos (\(*tx -> \*(tx). 2237151497Sru Added `linethick' to table in section `Style Variables'. 2238151497Sru 2239151497Sru2002-02-08 Gaius Mulley <gaius@glam.ac.uk> 2240151497Sru 2241151497Sru * src/libs/libdriver/input.cc (get_extended_arg): Fix conditional. 2242151497Sru 2243151497Sru2002-02-07 Werner LEMBERG <wl@gnu.org> 2244151497Sru 2245151497Sru Adding options -C (compatibility mode) and -c (grotty's old output 2246151497Sru scheme) to nroff. 2247151497Sru 2248151497Sru * src/roff/nroff/nroff.sh: Implement it. 2249151497Sru Remove `-Wall'. 2250151497Sru * NEWS, src/roff/nroff/nroff.man: Updated. 2251151497Sru 2252151497Sru * PROBLEMS: Document bison 1.32 bug. 2253151497Sru 2254151497Sru Some fixes to make groff compile on z/OS 1.2 UNIX (was OS/390). 2255151497Sru 2256151497Sru * src/roff/troff/node.cc (make_tfont): Define it earlier. 2257151497Sru * src/roff/troff/div.h: Add prototype for `end_diversions'. 2258151497Sru * src/roff/troff/input.cc: Add prototype for `process_input_stack'. 2259151497Sru * src/roff/troff/env.h: Add prototype for `title'. 2260151497Sru 2261151497Sru Adding EBCDIC support to grotty. 2262151497Sru 2263151497Sru * src/devices/grotty/tty.cc (CSI): New macro. 2264151497Sru (SGR_*, tty_printer::put_color): Use it. 2265151497Sru 2266151497Sru2002-02-06 Werner LEMBERG <wl@gnu.org> 2267151497Sru 2268151497Sru Implementing color support in grotty. The new switch -c activates 2269151497Sru the old drawing scheme, disabling color at the same time. The new 2270151497Sru switch `-i' selects italic instead of underlining (SGR only). 2271151497Sru 2272151497Sru * src/devices/grotty/tty.cc (putstring): New define instead of 2273151497Sru `fputs'. Updated all callers. 2274151497Sru (old_drawing_scheme): New global variable. 2275151497Sru (COLOR_CHANGE): New enum value. 2276151497Sru (SGR_*): New defines containing color handling escape sequences. 2277151497Sru (TTY_MAX_COLORS, DEFAULT_COLOR_IDX): New defines. 2278151497Sru (glyph): New members `back_color_idx' and `fore_color_idx'. 2279151497Sru (glyph::order): Add COLOR_CHANGE. 2280151497Sru (tty_printer): New members `cur_fore_idx', `curr_back_idx', 2281151497Sru `is_underline', `is_bold', `cu_flag', `tty_colors'. 2282151497Sru New methods `make_underline', `make_bold', `color_to_idx', 2283151497Sru `change_color', `put_color'. 2284151497Sru (cu_flag): Moved into `tty_printer' class. 2285151497Sru (tty_printer::tty_printer): Initialize colors. 2286151497Sru (tty_printer::add_char, tty_printer::set_char, tty_printer::special, 2287151497Sru tty_printer::draw, tty_printer::end_page): Handle colors also. 2288151497Sru (main): Add options `-c' and `-i'. 2289151497Sru (usage): Updated. 2290151497Sru * NEWS, src/devices/grotty/grotty.man: Updated. 2291151497Sru 2292151497Sru * src/include/errarg.h (errarg): Add support for `unsigned int'. 2293151497Sru * src/libs/libgroff/errarg.c: Implement it. 2294151497Sru 2295151497Sru * src/include/printer.h (printer): Add `change_color' method 2296151497Sru (currently used by grotty only). 2297151497Sru * src/libs/libdriver/printer.cc: Implement it. 2298151497Sru * src/libs/libdriver/input.cc (parse_D_command, do_file): Add 2299151497Sru call to `pr->change_color'. 2300151497Sru 2301151497Sru * src/roff/troff/node.cc (troff_output_file::fill_color, 2302151497Sru troff_output_file::glyph_color): Call `do_motion'. 2303151497Sru 2304151497Sru * tmac/tty.tmac: Add color definitions. 2305151497Sru 2306151497Sru * src/roff/groff/groff.man: Minor fixes. 2307151497Sru 2308151497Sru2002-02-05 Bernd Warken <bwarken@mayn.de> 2309151497Sru 2310151497Sru * src/libs/libdriver/input.cc: Introduce `EnvInt' typedef and use 2311151497Sru it. This is a preparation for future changes. 2312151497Sru 2313151497Sru2002-02-05 Werner LEMBERG <wl@gnu.org> 2314151497Sru 2315151497Sru * src/roff/troff/input.cc (process_input_stack): Fix the case 2316151497Sru where leading spaces are followed by \f or \s; previously, an 2317151497Sru incorrect space width has been used. 2318151497Sru 2319151497Sru * doc/roff.man (quoted_char): Fix argument. 2320151497Sru (comment): Define string. 2321151497Sru 2322151497Sru2002-02-04 Larry Kollar <kollar@alltel.net> 2323151497Sru 2324151497Sru * doc/groff.texinfo: More fixes. 2325151497Sru 2326151497Sru2002-02-04 Werner LEMBERG <wl@gnu.org> 2327151497Sru 2328151497Sru * src/preproc/eqn/box.cc (output_string): Don't use \\*[...]. 2329151497Sru * src/preproc/eqn/main.cc (do_file, inline_equation): Call 2330151497Sru `restore_compatibility' before `output_string' -- the LINE_STRING 2331151497Sru register now already contains proper switches from and to 2332151497Sru compatibility mode. 2333151497Sru 2334151497Sru * man/groff_char.man: Add Euro symbol. 2335151497Sru * man/groff_diff.man: Improve documentation of `.am1' and `.as1'. 2336151497Sru * tmac/tty.tmac: Add `EUR' as replacement for `eu' and `Eu'. 2337151497Sru * doc/groff.texinfo (Defstr*): Print strings with full syntax. 2338151497Sru Other minor fixes. 2339151497Sru 2340151497Sru * doc/Makefile (.SUFFIXES, .texinfo.pdf, clean): Add support for 2341151497Sru texinfo->pdf. 2342151497Sru (.texinfo.html): Add support for texinfo->html. 2343151497Sru 2344151497Sru2002-02-03 Werner LEMBERG <wl@gnu.org> 2345151497Sru 2346151497Sru Added three new requests `ds1', `as1', and `ami'. The former two 2347151497Sru are equivalent to `ds' and `as' with the difference that 2348151497Sru compatibility mode is saved on entry, switched off during string 2349151497Sru expansion, and restored on exit. The latter is the pendant to `dei' 2350151497Sru for `am'. 2351151497Sru 2352151497Sru (do_define_string): Use `define_mode' and `calling mode'. 2353151497Sru Insert COMPATIBLE_SAVE and COMPATIBLE_RESTORE at the beginning and 2354151497Sru end of string, respectively. 2355151497Sru (define_string, append_string): Use `calling_mode'. 2356151497Sru (define_nocomp_string, append_nocomp_string, 2357151497Sru define_string_indirect): New functions. 2358151497Sru (init_input_requests): Updated. 2359151497Sru * NEWS, man/groff_diff.man, man/groff.man: Document it. 2360151497Sru 2361151497Sru * src/preproc/eqn/box.cc (box::top_level, box::extra_space): Use 2362151497Sru `as1' for assigning LINE_STRING (this is `10' usually). Sun's 2363151497Sru mm macro package accesses this string register directly. 2364151497Sru * src/preproc/eqn/main.cc (inline_equation): Use `as1'. 2365151497Sru 2366151497Sru * tmac/trace.tmac: Trace calls to `am' also. Make it work in 2367151497Sru compatibility mode. 2368151497Sru 2369151497Sru2002-02-02 Larry Kollar <kollar@alltel.net> 2370151497Sru 2371151497Sru * doc/groff.texinfo, tmac/groff_ms.man: More fixes. 2372151497Sru 2373151497Sru2002-01-31 Werner LEMBERG <wl@gnu.org> 2374151497Sru 2375151497Sru * tmac/an-old.tmac (I): Use \, and \/ to improve spacing. 2376151497Sru 2377151497Sru2002-01-31 Bernd Warken <bwarken@mayn.de> 2378151497Sru 2379151497Sru * src/devices/grolbp/lbp.cc (main): Delete `pr'. 2380151497Sru * man/groff_out.man: Revised and updated. 2381151497Sru 2382151497Sru2002-01-30 Bernd Warken <bwarken@mayn.de> 2383151497Sru 2384151497Sru * src/libs/libdriver/input.cc [USE_ENV_STACK]: New macro to comment 2385151497Sru out the unused `{' and `}' commands. Undefined by default. 2386151497Sru (IntArray): Make `data' private. 2387151497Sru (IntArray::operator[], IntArray::get_data, IntArray::len): Use these 2388151497Sru new methods instead. 2389151497Sru (skip_line_D, skip_to_end_of_line): New functions. 2390151497Sru (get_D_fixed_args): Use `skip_line_D'. 2391151497Sru Changed to handle dummy odd arguments by ... 2392151497Sru (get_D_fixed_args_odd_dummy): This new function. 2393151497Sru (get_D_variable_args): Split some code into ... 2394151497Sru (get_possibly_integer_args): This new function. 2395151497Sru (send_draw): Use more `const'. 2396151497Sru (delete_current_env): New function. 2397151497Sru (position_to_end_of_args): Use `size_t'. 2398151497Sru Updated. 2399151497Sru (send_draw): Updated. 2400151497Sru (parse_D_command): Handle `c', `C', and `t' better. 2401151497Sru Updated. 2402151497Sru (do_file): Updated. 2403151497Sru 2404151497Sru2002-01-29 Werner LEMBERG <wl@gnu.org> 2405151497Sru 2406151497Sru * NEWS: Revised. 2407151497Sru * doc/groff.texinfo: Introduce @Def...List, @Def...Item, and 2408151497Sru @Def...ListEnd which replaces @Def...x. This is necessary to get 2409151497Sru proper HTML output -- see the comment in the file for more 2410151497Sru information. 2411151497Sru Updated all calls. 2412151497Sru 2413151497Sru2002-01-29 Gaius Mulley <gaius@glam.ac.uk> 2414151497Sru 2415151497Sru Fixes to make color changes of 2002-01-21 work with grohtml. 2416151497Sru 2417151497Sru * src/devices/grohtml/post-html.cc (style): Updated. 2418151497Sru (html_printer): Remove unused methods. 2419151497Sru (html_printer::do_font, html_printer::draw, html_printer::set_char, 2420151497Sru html_printer::special): Updated. 2421151497Sru * src/devices/grohtml/html-text.cc (debugStack, turnDebug, 2422151497Sru html_text::dump_stack_element, html_text::dump_stack) [DEBUGGING]: 2423151497Sru Added some debugging code. 2424151497Sru (html_text::start_tag): Updated. 2425151497Sru (html_text::do_push): New method. 2426151497Sru (html_text::push_para): Call it. 2427151497Sru Add method for handling color. 2428151497Sru (html_text::do_color): Updated. 2429151497Sru (html_text::shutdown): Handle color. 2430151497Sru * src/devices/grohtml/html-text.h (tag_definition): New member 2431151497Sru `col'. 2432151497Sru Updated. 2433151497Sru 2434151497Sru2002-01-28 Werner LEMBERG <wl@gnu.org> 2435151497Sru 2436151497Sru * tmac/ps.tmac, tmac/html.tmac: Fix compatibility mode issues. 2437151497Sru 2438151497Sru2002-01-27 Gaius Mulley <gaius@glam.ac.uk> 2439151497Sru 2440151497Sru Add two switches -a and -g to control the antialiasing bits for 2441151497Sru text and graphics, respectively. 2442151497Sru 2443151497Sru * src/devices/grohtml/post-html.cc (main): Dummy code for `-a' and 2444151497Sru `-g'. 2445151497Sru * src/devices/grohtml/grohtml.man: Document them. 2446151497Sru * src/preproc/html/pre-html.cc (MIN_ALPHA_BITS, MAX_ALPHA_BITS): 2447151497Sru New macros. 2448151497Sru (textAlphaBits, graphicAlphaBits, antiAlias): New global variables. 2449151497Sru (setupAntiAlias): New function. 2450151497Sru (createAllPages): Updated. 2451151497Sru (scanArguments): Handle `-a' and `-g'. 2452151497Sru (main): Call `setupAntiAlias'. 2453151497Sru * NEWS: Updated. 2454151497Sru 2455151497Sru2002-01-27 Werner LEMBERG <wl@gnu.org> 2456151497Sru 2457151497Sru * doc/groff.texinfo (Def*): Call index function after deffn. 2458151497Sru 2459151497Sru * tmac/html.tmac: Call `nroff' request. 2460151497Sru 2461151497Sru2002-01-26 Larry Kollar <kollar@alltel.net> 2462151497Sru 2463151497Sru * tmac/groff_ms.man: Add some omissions. 2464151497Sru 2465151497Sru2002-01-25 Larry Kollar <kollar@alltel.net> 2466151497Sru 2467151497Sru * tmac/groff_ms.man: Typographical improvements. 2468151497Sru 2469151497Sru2002-01-25 Werner LEMBERG <wl@gnu.org> 2470151497Sru 2471151497Sru * doc/groff.texinfo: Updated version and copyright. 2472151497Sru * src/devices/grops/grops.man: Updated. 2473151497Sru 2474151497Sru * tmac/groff_tmac.man: Fix `ig' macro. 2475151497Sru 2476151497Sru * tmac/an-old.tmac (ne): Redefine `ne' request to be a no-op in 2477151497Sru nroff mode. 2478151497Sru Use `.ne' unconditionally everywhere. 2479151497Sru (TS): Only insert some vertical space. Doing a page break is no 2480151497Sru longer necessary due to the redefinition of the `ne' request. 2481151497Sru 2482151497Sru * src/libs/libdriver/input.cc (parse_D_command): Don't emit a 2483151497Sru warning for unknown subcommands but parse and pass them to the 2484151497Sru device driver. 2485151497Sru 2486151497Sru2002-01-24 Werner LEMBERG <wl@gnu.org> 2487151497Sru 2488151497Sru * tmac/groff_www.man, NEWS: Fix typos. 2489151497Sru 2490151497Sru2002-01-21 Werner LEMBERG <wl@gnu.org> 2491151497Sru 2492151497Sru Complete revision of color support: 2493151497Sru 2494151497Sru Adapt programs to the new libdriver/input.cc. 2495151497Sru 2496151497Sru Color spaces are no longer converted to RGB but transferred as-is 2497151497Sru in the troff intermediate output format. 2498151497Sru 2499151497Sru Handle default color gracefully. troff now supports a `default' 2500151497Sru color (which can't be changed). 2501151497Sru 2502151497Sru grops will now use the proper color space functions if available. 2503151497Sru 2504151497Sru Update pic. 2505151497Sru 2506151497Sru Note that currently grohtml doesn't handle colors properly. This 2507151497Sru has to be fixed. 2508151497Sru 2509151497Sru * src/libs/libgroff/itoa.c (UINT_DIGITS): New macro. 2510151497Sru (ui_to_a): New function. 2511151497Sru * src/include/lib.h: Updated. 2512151497Sru 2513151497Sru * src/include/color.h (color_scheme): Replace `NONE' with `DEFAULT'. 2514151497Sru (color): Simplified; removed all `double' members and methods. 2515151497Sru A new array `components' now holds the color parameters. 2516151497Sru (color::is_default, color::get_components): New methods. 2517151497Sru (color::operator==, color:operator!=): New. 2518151497Sru (Red, Green, Blue, Cyan, Magenta, Yellow, Black, Gray): New macros 2519151497Sru to make access to the `components' array more comprehensible. 2520151497Sru * src/libs/libgroff/color.cc: Implement new color support. 2521151497Sru (atoh): Small fixes. 2522151497Sru (color::read_encoding): Simplified for new troff intermediate color 2523151497Sru output format. 2524151497Sru (default_color): New global variable. 2525151497Sru 2526151497Sru * src/roff/troff/input.cc (default_symbol): New global variable. 2527151497Sru (lookup_color): Use it. 2528151497Sru (default_black): Removed. 2529151497Sru (do_glyph_color, do_fill_color): Simplified. 2530151497Sru (define_color): Handle default color. 2531151497Sru Improve warnings. 2532151497Sru (do_if_request): Handle default color. 2533151497Sru * src/roff/troff/env.cc (environment::environment): Initialize 2534151497Sru colors with `default_color'. 2535151497Sru * src/roff/troff/node.cc (troff_output_file::put): Add method 2536151497Sru for `unsigned int'. 2537151497Sru (troff_output_file::hex): Removed. 2538151497Sru (troff_output_file::fill_color, troff_output_file::glyph_color): 2539151497Sru Updated to include/color.h and libdriver/input.cc. 2540151497Sru 2541151497Sru * src/preproc/pic/object.cc (draw_arrow): New parameter to set 2542151497Sru fill color properly (identically to the outline color). \D'f...' 2543151497Sru doesn't work any more. 2544151497Sru All function calls to it updated. 2545151497Sru 2546151497Sru * src/devices/grohtml/post-html.cc (html_printer::do_body, main): 2547151497Sru Updated. 2548151497Sru * src/devices/grohtml/html-text.cc (html_text::issue_color_begin): 2549151497Sru Updated. 2550151497Sru 2551151497Sru * src/devices/grops/ps.cc (ps_output::put_color): New method. 2552151497Sru (ps_printer::sbuf_color): Make a real member instead of pointer. 2553151497Sru (ps_printer::fill_color, ps_printer::output_color): Removed. 2554151497Sru (ps_printer::ps_printer): Updated. 2555151497Sru (ps_printer::set_char): Ditto. 2556151497Sru (ps_printer::set_color): Use various color schemes. 2557151497Sru Use `put_color' method. 2558151497Sru (ps_printer::flush_sbuf): Don't set color. 2559151497Sru (ps_printer::fill_path): Take `environment' as parameter. 2560151497Sru Simplify color handling. 2561151497Sru (ps_printer::set_line_thickness): Renamed to ... 2562151497Sru (ps_printer::set_line_thickness_and_color): This (and updated). 2563151497Sru (ps_printer::set_color): Change second parameter from `complete' 2564151497Sru to `fill' which better describes what it does. 2565151497Sru (ps_printer::draw): Call `flush_sbuf' to output graphic commands 2566151497Sru and text in the right order. 2567151497Sru Updated. 2568151497Sru Remove branches for `f' and `F'; this is handled by 2569151497Sru libdriver/input.cc. 2570151497Sru * src/devices/grops/ps.h: Updated. 2571151497Sru * font/devps/prologue (FL): Redefined. 2572151497Sru ({F,C}r,k,g: New color functions (with and without filling). 2573151497Sru 2574151497Sru * doc/pic.ms, src/preproc/pic/pic.man: Small fixes. 2575151497Sru * man/groff_diff.man, man/groff.man, man/groff_out.man, 2576151497Sru doc/groff.texinfo, NEWS: Updated. 2577151497Sru 2578151497Sru2002-01-20 Bernd Warken <bwarken@mayn.de> 2579151497Sru 2580151497Sru * src/libs/libdriver/input.cc: Completely rewritten. See comments 2581151497Sru in this file for what has been changed. 2582151497Sru 2583151497Sru2002-01-19 Werner LEMBERG <wl@gnu.org> 2584151497Sru 2585151497Sru * test-groff: Fix GROFF_FONT_PATH. 2586151497Sru * tmac/andoc.tmac: Add dummy macros for equation support -- eqnrc 2587151497Sru is read before .TH or .Dd is parsed. 2588151497Sru 2589151497Sru2002-01-18 Gaius Mulley <gaius@glam.ac.uk> 2590151497Sru 2591151497Sru * src/libs/libgroff/geometry.cc (check_output_arc_limits): Fix 2592151497Sru quadrant boundaries. 2593151497Sru 2594151497Sru2002-01-18 Werner LEMBERG <wl@gnu.org> 2595151497Sru 2596151497Sru * devices/grops/ps.cc: Aargh! Fix the fix of the incorrectly 2597151497Sru applied last patch. 2598151497Sru 2599151497Sru2002-01-17 Ruslan Ermilov <ru@FreeBSD.org> 2600151497Sru 2601151497Sru * tmac/doc.common: Initialize %I register for the %I macro to 2602151497Sru avoid (harmless) warning. 2603151497Sru * tmac/doc.tmac (Bd): There is no reason to enforce -compact 2604151497Sru when in the SYNOPSIS section. 2605151497Sru 2606151497Sru2002-01-17 Bruno Haible <haible@clisp.cons.org> 2607151497Sru 2608151497Sru * src/preproc/pic/lex.cc (get_token): Fix typo. 2609151497Sru 2610151497Sru2002-01-17 Werner LEMBERG <wl@gnu.org> 2611151497Sru 2612151497Sru * devices/grops/ps.cc: Fix incorrectly applied last patch. 2613151497Sru 2614151497Sru2002-01-17 Larry Kollar <kollar@alltel.net> 2615151497Sru 2616151497Sru * tmac/groff_ms.man: Completely rewritten. 2617151497Sru 2618151497Sru2002-01-16 Werner LEMBERG <wl@gnu.org> 2619151497Sru 2620151497Sru * tmac/an-old.tmac (TS): Force break, inserting some vertical space. 2621151497Sru 2622151497Sru2002-01-15 Gaius Mulley <gaius@glam.ac.uk> 2623151497Sru 2624151497Sru * devices/grops/ps.cc (ps_printer::fill_path): Fix handling of 2625151497Sru fill colors. 2626151497Sru (ps_printer::draw): Ditto. 2627151497Sru 2628151497Sru2002-01-14 Ruslan Ermilov <ru@FreeBSD.org> 2629151497Sru 2630151497Sru * tmac/groff_mdoc.man: Minor fixes. 2631151497Sru 2632151497Sru2002-01-13 Werner LEMBERG <wl@gnu.org> 2633151497Sru 2634151497Sru * man/groff_out.man: Some fixes. 2635151497Sru 2636151497Sru2002-01-13 Gaius Mulley <gaius@glam.ac.uk> 2637151497Sru 2638151497Sru * doc/pic.ms: Fix typos. 2639151497Sru 2640151497Sru2002-01-12 Werner LEMBERG <wl@gnu.org> 2641151497Sru 2642151497Sru * doc/groff.texinfo, doc/groff.man: More on a printable backslash. 2643151497Sru 2644151497Sru2002-01-10 Werner LEMBERG <wl@gnu.org> 2645151497Sru 2646151497Sru * font/devutf8/R.proto, font/devhtml/R.prot: Add `Eu' and `eu' 2647151497Sru symbols. 2648151497Sru * NEWS: Updated. 2649151497Sru 2650151497Sru2002-01-09 Bernd Warken <bwarken@mayn.de> 2651151497Sru 2652151497Sru * man/groff_out.man: Revised. 2653151497Sru * man/roff.man: Minor fixes. 2654151497Sru * src/roff/troff/troff.man: Some reordering. 2655151497Sru 2656151497Sru2002-01-09 Werner LEMBERG <wl@gnu.org> 2657151497Sru 2658151497Sru * tmac/an-old.tmac: Add dummy macros for equation support. 2659151497Sru 2660151497Sru2002-01-07 Werner LEMBERG <wl@gnu.org> 2661151497Sru 2662151497Sru doc/groff.texinfo: Fix documentation of glyph searching algorithm. 2663151497Sru 2664151497Sru * tmac/an-old.tmac: Revert change 2001-12-23. This breaks too many 2665151497Sru man pages. 2666151497Sru * tmac/groff_man.man: Small improvements. 2667151497Sru 2668151497Sru2002-01-07 Bernd Warken <bwarken@mayn.de> 2669151497Sru 2670151497Sru * man/groff_diff.man: Revised. 2671151497Sru 2672151497Sru2002-01-06 Werner LEMBERG <wl@gnu.org> 2673151497Sru 2674151497Sru * tmac/www.tmac: Remove extraneous backslash. 2675151497Sru 2676151497Sru2002-01-06 Bernd Warken <bwarken@mayn.de> 2677151497Sru 2678151497Sru * man/ditroff.man, src/roff/groff/groff.man, man/groff.man: Revised. 2679151497Sru 2680151497Sru2002-01-05 Werner LEMBERG <wl@gnu.org> 2681151497Sru 2682151497Sru Integrated groffer, contributed by Bernd Warken. 2683151497Sru 2684151497Sru * contrib/groffer/*: New. 2685151497Sru * Makefile.in, NEWS: Updated. 2686151497Sru 2687151497Sru2002-01-04 Werner LEMBERG <wl@gnu.org> 2688151497Sru 2689151497Sru * doc/groff.texinfo: Added macros `@Defmpreg' and `@Defmpregx' for 2690151497Sru registers defined in macro packages. 2691151497Sru Revising the ms part. 2692151497Sru 2693151497Sru2002-01-04 Larry Kollar <kollar@alltel.net> 2694151497Sru 2695151497Sru * doc/groff.texinfo: Add documentation for ms macros. 2696151497Sru 2697151497Sru2002-01-02 Werner LEMBERG <wl@gnu.org> 2698151497Sru 2699151497Sru First step in adding PS support for the Euro symbol. `eu' is the 2700151497Sru official Euro logo, `Eu' is a font-specific glyph variant. 2701151497Sru 2702151497Sru * font/devps/text.enc: Add `Euro' at position 9. 2703151497Sru * font/devps/generate/textmap: Add `Euro' as symbol `Eu'. 2704151497Sru * font/devps/symbolmap: Regenerated. 2705151497Sru 2706151497Sru * NEWS: Updated. 2707151497Sru 2708151497Sru2002-01-02 Bernd Warken <bwarken@mayn.de> 2709151497Sru 2710151497Sru * man/roff.man: Revised. 2711151497Sru 2712151497Sru2002-01-01 Bernd Warken <bwarken@mayn.de> 2713151497Sru 2714151497Sru * src/roff/groff/groff.man: Completely rewritten. 2715151497Sru 2716151497Sru2001-12-31 Werner LEMBERG <wl@gnu.org> 2717151497Sru 2718151497Sru * doc/Makefile: Updated. 2719151497Sru 2720151497Sru2001-12-30 Werner LEMBERG <wl@gnu.org> 2721151497Sru 2722151497Sru * tmac/www.tmac: Make all names of internal macros/registers/strings 2723151497Sru lowercase, and prepend `www-'. 2724151497Sru Other minor changes. 2725151497Sru * src/roff/troff/troff.man: Add preprocessor string at BOF. 2726151497Sru 2727151497Sru2001-12-30 Gaius Mulley <gaius@glam.ac.uk> 2728151497Sru 2729151497Sru Implement option `-b' in grohtml to set the HTML background colour. 2730151497Sru 2731151497Sru * src/devices/grohtml/post-html.cc (default_background): New global 2732151497Sru variable. 2733151497Sru (html_printer::html_printer): Initialize `background' to 2734151497Sru `default_background'. 2735151497Sru (main): Implement option `-b'. 2736151497Sru (usage): Updated. 2737151497Sru * src/preproc/html/pre-html.cc (scanArguments): Add dummy handling 2738151497Sru of `-b' option. 2739151497Sru * src/devices/grohtml/grohtml.man: Updated. 2740151497Sru * doc/Makefile (.ms.html): Use `-b'. 2741151497Sru * tmac/html.tmac: Don't set background color. 2742151497Sru 2743151497Sru Add new grohtml tag `.html-tl'. 2744151497Sru 2745151497Sru * src/devices/grohtml/post-html.cc (title_desc): Add `with_h1' 2746151497Sru member variable. 2747151497Sru (title_desc::title_desc): Updated. 2748151497Sru (html_printer::troff_tag): Handle `.html-tl'. 2749151497Sru (html_printer::write_title): Use `with_h1'. 2750151497Sru * tmac/www.tmac (www-end-nowhere): New auxiliary macro. 2751151497Sru (HTML-TL): New macro. 2752151497Sru 2753151497Sru Add support for unordered lists in HTML. 2754151497Sru 2755151497Sru * tmac/www.tmac (www-level): New auxiliary register. 2756151497Sru (www-level1, www-level2, www-level3): New auxiliary strings. 2757151497Sru (www-push-level, www-pop-level): New auxiliary macros 2758151497Sru (UL-BEGIN, UL-END, LI): User macros for unordered lists. 2759151497Sru 2760151497Sru Miscellaneous. 2761151497Sru 2762151497Sru * src/preproc/html/pre-html.cc (DEFAULT_IMAGE_RES): Increase to 100. 2763151497Sru (DEFAULT_VERTICAL_OFFSET): Removed. 2764151497Sru (IMAGE_BOARDER_PIXELS): Set to 0. 2765151497Sru (A4_LENGTH, A4_OFFSET, LETTER_LENGTH, LETTER_OFFSET): New macros. 2766151497Sru (vertical_offset): Initialize with 0. 2767151497Sru (gsPaper): New global variable. 2768151497Sru (get_resolution): Scan for and return unsigned int. 2769151497Sru (get_papersize): New function to get paper length from devps/DESC. 2770151497Sru (determine_vertical_offset): New function. 2771151497Sru (createAllPages): Produce gray-level images and use proper page 2772151497Sru length. 2773151497Sru (createImage): Use `-quiet' option of pnmcrop. 2774151497Sru (addZ): Fix passing of `-Z'. 2775151497Sru (scanArguments): Fix handling of `-o'. 2776151497Sru (main): Call `determine_vertical_offset'. 2777151497Sru * src/devices/grohtml/post-html.cc (html_printer::draw): Comment out 2778151497Sru code for `l'. 2779151497Sru 2780151497Sru * src/libs/libgroff/tmpfile.cc (add_tmp_file): Fix buffer length. 2781151497Sru * src/roff/troff/node.cc (troff_output_file::check_charinfo): Handle 2782151497Sru glyph descenders properly. 2783151497Sru 2784151497Sru * doc/homepage.ms: Include `gnubw.eps'. 2785151497Sru * doc/Makefile (gnubw.eps): New rule. 2786151497Sru (homepage.html): Depend on `gnubw.eps'. 2787151497Sru 2788151497Sru2001-12-25 Werner LEMBERG <wl@gnu.org> 2789151497Sru 2790151497Sru * src/roff/troff/input.cc (default_black): Fix return value. 2791151497Sru 2792151497Sru2001-12-24 Ruslan Ermilov <ru@FreeBSD.org> 2793151497Sru 2794151497Sru * tmac/doc-common (Dt): Change output of architecture strings. 2795151497Sru Do some syntax cleanup. 2796151497Sru * tmac/groff_mdoc.man: Updated. 2797151497Sru 2798151497Sru2001-12-23 Werner LEMBERG <wl@gnu.org> 2799151497Sru 2800151497Sru Adding an `itc' request (input line trap accepting \c). 2801151497Sru 2802151497Sru * src/roff/troff/env.h (environment): New member 2803151497Sru `continued_input_trap'. 2804151497Sru Make `do_input_trap' a friend function instead of `input_trap'. 2805151497Sru * src/roff/troff/env.cc (environment::environment, 2806151497Sru environment::copy): Updated. 2807151497Sru (environment::newline): Implement it. 2808151497Sru (do_input_trap): New function. 2809151497Sru (input_trap): Call `do_input_trap'. 2810151497Sru (input_trap_continued): New function. 2811151497Sru (init_env_requests): Updated. 2812151497Sru * src/roff/troff/TODO: Updated. 2813151497Sru 2814151497Sru * tmac/an-old.tmac (SH, SS, B, I, SM, SB, TP): Use `.itc' instead of 2815151497Sru `.it'. 2816151497Sru 2817151497Sru * src/preproc/grn/hdb.cc (DBRead): Really chop after 127 characters. 2818151497Sru 2819151497Sru2001-12-22 Ruslan Ermilov <ru@FreeBSD.org> 2820151497Sru 2821151497Sru * tmac/doc-common, tmac/doc-syms: Small updates. 2822151497Sru 2823151497Sru2001-12-22 Colin Watson <cjwatson@debian.org> 2824151497Sru 2825151497Sru * tmac/an-old.tmac (an-p-footer): Set title length in environment 1. 2826151497Sru 2827151497Sru2001-12-22 Bernd Warken <bwarken@mayn.de> 2828151497Sru 2829151497Sru * MANIFEST: New file. 2830151497Sru 2831151497Sru2001-12-22 Werner LEMBERG <wl@gnu.org> 2832151497Sru 2833151497Sru * src/preproc/grn/grn.man: Updated. 2834151497Sru 2835151497Sru2001-12-22 Solar Designer <solar@openwall.com> 2836151497Sru 2837151497Sru * src/preproc/grn/hdb.cc (MAXSTRING_S): New macro. 2838151497Sru (DBRead): Use it. 2839151497Sru 2840151497Sru2001-12-19 Werner LEMBERG <wl@gnu.org> 2841151497Sru 2842151497Sru Implement a fallback character request `.fchar'. 2843151497Sru 2844151497Sru * src/roff/troff/charinfo.h (charinfo): New flag `fallback'. 2845151497Sru (is_fallback): New inline function. 2846151497Sru * src/roff/troff/input.cc (do_define_character): New function. 2847151497Sru (define_character): Call `do_define_character'. 2848151497Sru (define_fallback_character): New function. 2849151497Sru (init_input_requests): Add `fchar'. 2850151497Sru (charinfo::charinfo): Updated. 2851151497Sru (charinfo::set_macro): New argument to set `fallback' flag. 2852151497Sru * src/roff/troff/node.cc (make_glyph_node, make_node, 2853151497Sru node::add_char): Check `fallback' flag. 2854151497Sru * NEWS, man/groff_diff.man, man/groff_man: Updated. 2855151497Sru 2856151497Sru2001-12-16 Werner LEMBERG <wl@gnu.org> 2857151497Sru 2858151497Sru * groff.texinfo: Document exact search algorithm for glyphs. 2859151497Sru 2860151497Sru2001-12-15 Werner LEMBERG <wl@gnu.org> 2861151497Sru 2862151497Sru * Makefile.cpg, Makefile.ccpg, Makefile.man: Add dummy file to 2863151497Sru the left side of $(MANPAGES) rule to make it always non-empty. 2864151497Sru 2865151497Sru2001-12-14 Werner LEMBERG <wl@gnu.org> 2866151497Sru 2867151497Sru * src/roff/troff/input.cc (default_black): Define default color 2868151497Sru `black' if not yet defined. 2869151497Sru 2870151497Sru2001-12-13 Werner LEMBERG <wl@gnu.org> 2871151497Sru 2872151497Sru Implement new string-valued register `.fn' to return the current 2873151497Sru real (internal) font name. 2874151497Sru 2875151497Sru * env.cc (environment::get_font_name_string): New function. 2876151497Sru (init_env_requests): Add `.fn' register. 2877151497Sru * env.h (environment): Updated. 2878151497Sru * node.cc (font_info): Make `get_font_name' a friend. 2879151497Sru (get_font_name): New function. 2880151497Sru * node.h: Updated. 2881151497Sru 2882151497Sru * man/groff_diff.man, man/groff.man, NEWS: Updated. 2883151497Sru 2884151497Sru2001-12-12 Ralph Corderoy <ralph@inputplus.demon.co.uk> 2885151497Sru 2886151497Sru * src/preproc/eqn/main.cc (inline_equation): Fix typos. 2887151497Sru 2888151497Sru2001-12-12 Werner LEMBERG <wl@gnu.org> 2889151497Sru 2890151497Sru * tmac/groff_man.man, doc/groff.texinfo: There is no .R macro. 2891151497Sru 2892151497Sru2001-12-10 Gaius Mulley <gaius@glam.ac.uk> 2893151497Sru 2894151497Sru * man/groff_diff.man: Adding documentation for \O. 2895151497Sru 2896151497Sru2001-12-10 Werner LEMBERG <wl@gnu.org> 2897151497Sru 2898151497Sru * src/preproc/html/pre-html.cc (TROFF_COMMAND): Removed. 2899151497Sru (scanArguments): Use PROG_PREFIX for the name of the troff binary. 2900151497Sru 2901151497Sru2001-12-09 Werner LEMBERG <wl@gnu.org> 2902151497Sru 2903151497Sru * man/roff.man: Revised. 2904151497Sru * src/roff/groff/groff.man: Replace man page references with a 2905151497Sru pointer to roff.man. 2906151497Sru 2907151497Sru2001-12-09 Bernd Warken <bwarken@mayn.de> 2908151497Sru 2909151497Sru * man/roff.man: Completely rewritten. 2910151497Sru 2911151497Sru2001-12-06 Ralph Corderoy <ralph@inputplus.demon.co.uk> 2912151497Sru 2913151497Sru * src/preproc/eqn/main.cc (inline_equation): Improve error message. 2914151497Sru 2915151497Sru2001-12-05 Werner LEMBERG <wl@gnu.org> 2916151497Sru 2917151497Sru * src/roff/troff/input.cc (get_delim_file_name): Removed since no 2918151497Sru longer used. 2919151497Sru * src/devices/grohtml/post-html.cc (html_printer::html_printer): Fix 2920151497Sru order of initializers. 2921151497Sru * NEWS: Updated. 2922151497Sru 2923151497Sru2001-12-05 Gaius Mulley <gaius@glam.ac.uk> 2924151497Sru 2925151497Sru * doc/groff.texinfo: Fix documentation of \O. 2926151497Sru 2927151497Sru * src/devices/grohtml/html-text.cc (html_text::do_indent, 2928151497Sru html_text::do_table, html_text::do_emittext, html_text::do_para): 2929151497Sru Use `const' for first argument. 2930151497Sru (html_text::do_table): Use cast. 2931151497Sru * src/devices/grohtml/html-text.h: Updated. 2932151497Sru * src/devices/grohtml/output.cc (simple_output::put_string): Add 2933151497Sru method for `const string &s'. 2934151497Sru * src/devices/grohtml/html.h: Updated. 2935151497Sru * src/devices/grohtml/post-html.cc (MAX_STRING_LENGTH): Removed. 2936151497Sru (ANCHOR_TEMPLATE): Modified. 2937151497Sru (manufacture_headings): New global variable to handle `-h' option. 2938151497Sru (is_subsection): Removed. 2939151497Sru (char_buffer::add_string): Add `const' to first argument. 2940151497Sru Protect against invalid string argument. 2941151497Sru Add method for `const string &s'. 2942151497Sru (text_glob): Completely redesigned. 2943151497Sru (page): Use `const' for strings and remove string length variable. 2944151497Sru (page::add_html): Removed. 2945151497Sru (page::add_end_encode): New member function. 2946151497Sru (to_unicode): Moved upwards. 2947151497Sru (title_desc, header_desc): Updated. 2948151497Sru (header_desc::write_headings): Updated to new ANCHOR_TEMPLATE 2949151497Sru definition. 2950151497Sru (html_printer::is_bold, html_printer::make_bold): New member 2951151497Sru functions. 2952151497Sru (html_printer::end_of_line): Updated. 2953151497Sru (generate_img_src, html_printer::do_auto_image, 2954151497Sru html_printer::do_title, html_printer::write_header, 2955151497Sru html_printer::determine_header_level, html_printer::do_heading, 2956151497Sru html_printer::do_linelength, html_printer::do_pageoffset, 2957151497Sru html_printer::do_indentation, html_printer::do_tempindent, 2958151497Sru html_printer::do_indentedparagraph, html_printer::do_break, 2959151497Sru html_printer::flush_sbuf, get_html_translation, 2960151497Sru html_printer::begin_page, html_printer::special): Rewritten to get 2961151497Sru rid of static string length limit. 2962151497Sru (html_printer::troff_tag): Added `.no-auto-rule'. 2963151497Sru (html_printer::flush_globs): Small fix. 2964151497Sru (html_printer::determine_space): Don't compute `space_width'. 2965151497Sru (html_printer::translate_to_html): Renamed to ... 2966151497Sru (html_printer::emit_html): This (with updates). 2967151497Sru (html_printer::write_header): Implement `-h' option. 2968151497Sru (html_printer::draw): Remove commented-out code. Handle `F' 2969151497Sru command. 2970151497Sru (html_printer::add_char_to_sbuf): Removed. 2971151497Sru (html_printer::add_to_sbuf): Rewritten. 2972151497Sru (html_printer::sbuf_continuation): Fixed. 2973151497Sru (html_printer::seen_backwards_escape, reverse, 2974151497Sru html_printer::remove_last_char_from_sbuf): Removed. 2975151497Sru (char_translate_to_html, str_translate_to_html): Removed. 2976151497Sru (html_printer::overstrike): New function member. 2977151497Sru (html_printer::set_char): Use it. 2978151497Sru (html_printer::do_body): New function member. 2979151497Sru (html_printer::~html_printer): Use it. 2980151497Sru (main): Handle `-h' option. 2981151497Sru (usage): Updated. 2982151497Sru * src/devices/grohtml/grohtml.man: Document -h switch. 2983151497Sru 2984151497Sru * src/preproc/html/pre-html.cc: Include searchpath.h 2985151497Sru Replace `POSTSCRIPTRES' macro with `postscriptRes' variable. 2986151497Sru (get_resolution): New function. 2987151497Sru (checkImageDir): Use `0777' permissions in mkdir() 2988151497Sru (write_start_image): Rewritten to use `\O[5...]'. 2989151497Sru (createImage, generateImages): Updated. 2990151497Sru (main): Handle `F' and `h' options. 2991151497Sru Use `get_resolution'. 2992151497Sru 2993151497Sru * src/roff/troff/input.cc (begin, end, image): Removed. 2994151497Sru (do_suppress): Take parameter. 2995151497Sru Handle modified syntax of `\O'. 2996151497Sru (token::next): Updated. 2997151497Sru (init_markup_requests): Removed. 2998151497Sru (main): Updated. 2999151497Sru 3000151497Sru * src/roff/troff/div.h: Add declaration for begin_page(). 3001151497Sru 3002151497Sru * tmac/color-html.tmac: Removed. Contents moved to... 3003151497Sru * tmac/html.tmac: Here. Set background color. 3004151497Sru * tmac/color.tmac: Removed. Contents moved to... 3005151497Sru * tmac/ps.tmac: Here. 3006151497Sru * tmac/www.tmac: Remove the title command when generating images 3007151497Sru for html. 3008151497Sru (NO_AUTO_RULE): New macro. 3009151497Sru (HTML_DO_IMAGE): Use revised `\O' escapes. 3010151497Sru * tmac/Makefile.sub, tmac/groff_www.man, tmac/troffrc: Updated. 3011151497Sru 3012151497Sru2001-12-02 Werner LEMBERG <wl@gnu.org> 3013151497Sru 3014151497Sru * tmac/groff_mdoc.man: Fix typo. 3015151497Sru 3016151497Sru2001-12-01 Colin Watson <cjwatson@debian.org> 3017151497Sru 3018151497Sru * man/roff.man: Fix typo. 3019151497Sru 3020151497Sru2001-11-29 Werner LEMBERG <wl@gnu.org> 3021151497Sru 3022151497Sru * src/libs/libbib/map.c, src/utils/pfbtops/pfbtops.c: Include 3023151497Sru stdlib.h. 3024151497Sru 3025151497Sru * src/roff/troff/input.cc (read_draw_node): Emit error message if 3026151497Sru more than one argument to \D'f ...'. 3027151497Sru 3028151497Sru * tmac/Makefile.sub (NORMALFILES): Add lbp.tmac. 3029151497Sru 3030151497Sru2001-11-28 Werner LEMBERG <wl@gnu.org> 3031151497Sru 3032151497Sru * tmac/an-old.tmac, tmac/doc.tmac: Assure that the macro package is 3033151497Sru loaded only once. 3034151497Sru 3035151497Sru * tmac/groff_man.man: Minor cosmetic fix. 3036151497Sru 3037151497Sru2001-11-27 Werner LEMBERG <wl@gnu.org> 3038151497Sru 3039151497Sru * src/roff/groff/groff.man, tmac/groff_tmac.man, 3040151497Sru tmac/groff_www.man: s/mwww/www/. 3041151497Sru 3042151497Sru2001-11-26 Werner LEMBERG <wl@gnu.org> 3043151497Sru 3044151497Sru * aclocal.m4 (GROFF_MKSTEMP): Implement test using C++ linkage. 3045151497Sru * configure: Regenerated. 3046151497Sru * win32-diffs: Updated. 3047151497Sru 3048151497Sru * tmac/groff_mwww.tmac: Renamed to ... 3049151497Sru * tmac/groff_www.tmac: This. 3050151497Sru * tmac/mwww.tmac: Removed. 3051151497Sru * NEWS, tmac/Makefile.sub: Updated. 3052151497Sru 3053151497Sru2001-11-21 Werner LEMBERG <wl@gnu.org> 3054151497Sru 3055151497Sru * doc/groff.texinfo: Improve documentation of the `\v' escape. 3056151497Sru Fix explanation of `\D' and `rt'. 3057151497Sru 3058151497Sru2001-11-20 Werner LEMBERG <wl@gnu.org> 3059151497Sru 3060151497Sru * tmac/an-old.tmac (an-header): Set header length equal to page 3061151497Sru width. 3062151497Sru * doc/groff.texinfo: Improve documentation of `ne' request. Other 3063151497Sru minor fixes. 3064151497Sru * NEWS: Small fix. 3065151497Sru 3066151497Sru2001-11-19 Werner LEMBERG <wl@gnu.org> 3067151497Sru 3068151497Sru * NEWS, man/Makefile.sub: Updated. 3069151497Sru 3070151497Sru2001-11-19 Bernd Warken <bwarken@mayn.de> 3071151497Sru 3072151497Sru * man/ditroff.man: New file. 3073151497Sru 3074151497Sru2001-11-17 Werner LEMBERG <wl@gnu.org> 3075151497Sru 3076151497Sru * man/groff_differences.man: Renamed to ... 3077151497Sru * man/groff_diff.man: This. Updated. 3078151497Sru * man/Makefile.sub, src/roff/troff/troff.man, NEWS: Updated. 3079151497Sru 3080151497Sru * src/preproc/html/pushbackbuffer.cc: Renamed to ... 3081151497Sru * src/preproc/html/pushback.cc: This. Updated. 3082151497Sru * src/preproc/html/pushbackbuffer.h: Renamed to ... 3083151497Sru * src/preproc/html/pushback.h: This. 3084151497Sru * src/preproc/html/Makefile.sub, src/preproc/html/pre-html.cc: 3085151497Sru Updated. 3086151497Sru 3087151497Sru * src/libs/libgroff/htmlindicate.cc: Renamed to ... 3088151497Sru * src/libs/libgroff/htmlhint.cc: This. 3089151497Sru * src/libs/libgroff/Makefile.sub: Updated. 3090151497Sru 3091151497Sru * tmac/an-old.tmac (an-end): Fix page length. 3092151497Sru 3093151497Sru2001-11-16 Werner LEMBERG <wl@gnu.org> 3094151497Sru 3095151497Sru * NEWS, man/groff_differences.man, doc/groff.texinfo: Updated. 3096151497Sru * man/Makefile.sub: Include groff_differences.man. 3097151497Sru * VERSION: Set to 1.18. 3098151497Sru * REVISION: Set to 0. 3099151497Sru 3100151497Sru2001-11-16 Bernd Warken <bwarken@mayn.de> 3101151497Sru 3102151497Sru * src/roff/troff/input.cc (do_define_macro): Allow whitespace before 3103151497Sru the second dot (or ending macro name) to end a macro. 3104151497Sru * doc/groff.texinfo: Doc fix. 3105151497Sru 3106151497Sru2001-11-16 Ruslan Ermilov <ru@FreeBSD.org> 3107151497Sru 3108151497Sru * tmac/doc-common (doc-header): Handle very long document titles 3109151497Sru better. 3110151497Sru 3111151497Sru2001-11-16 Werner LEMBERG <wl@gnu.org> 3112151497Sru 3113151497Sru * tmac/doc.tmac (doc-do-Bl-args): Fix .substring requests. 3114151497Sru 3115151497Sru2001-11-15 Werner LEMBERG <wl@gnu.org> 3116151497Sru 3117151497Sru * src/roff/troff/troff.man: Revised and split into troff.man and... 3118151497Sru * man/groff_differences.man: New file. 3119151497Sru * NEWS: Updated. 3120151497Sru 3121151497Sru2001-11-13 Werner LEMBERG <wl@gnu.org> 3122151497Sru 3123151497Sru * tmac/an-old.tmac (TS, TE): New macros for table support. 3124151497Sru 3125151497Sru2001-11-12 Werner LEMBERG <wl@gnu.org> 3126151497Sru 3127151497Sru * src/include/lib.h: Provide a fix for emx to not include 3128151497Sru groff-getopt.h. 3129151497Sru 3130151497Sru2001-10-27 Werner LEMBERG <wl@gnu.org> 3131151497Sru 3132151497Sru * src/roff/troff/input.cc (substring_macro): Fix computation of 3133151497Sru boundary values. 3134151497Sru 3135151497Sru2001-10-20 Werner LEMBERG <wl@gnu.org> 3136151497Sru 3137151497Sru Undo change from 2001-08-28. 3138151497Sru 3139151497Sru * src/roff/troff/input.cc (have_input): New global variable. 3140151497Sru (token::next): Set `have_input' for \f, \H, \R, \s, and \S if not 3141151497Sru in compatibility mode. 3142151497Sru (process_input_stack): Use it. 3143151497Sru 3144151497Sru2001-10-19 Ruslan Ermilov <ru@FreeBSD.org> 3145151497Sru 3146151497Sru * tmac/doc.tmac (doc-flag-recursion): Protect arguments against 3147151497Sru being handled as end-of-sentence characters, 3148151497Sru 3149151497Sru2001-10-10 Gaius Mulley <gaius@glam.ac.uk> 3150151497Sru 3151151497Sru * src/roff/troff/input.cc (file_iterator): New members 3152151497Sru `suppress_newline_flag' and `seen_escape'. 3153151497Sru (file_iterator::next_file): Updated. 3154151497Sru (file_iterator::fill): Use it. 3155151497Sru (string_iterator): New member `suppress_newline_flag'. 3156151497Sru (string_iterator::fill): Set it. 3157151497Sru (get_color_element): Use MAX_COLOR_VAL. 3158151497Sru * src/roff/troff/env.cc (environment): Remove `need_eol'. 3159151497Sru (no_fill): Don't set `env->ignore_next_eol'. 3160151497Sru (environment::newline): Handle `eol' tag properly. 3161151497Sru Emit `eol.ce'. 3162151497Sru (environment::add_html_tag): Set `env->ignore_next_eol'. 3163151497Sru Don't handle `.ce'. 3164151497Sru * src/roff/troff/env.h (environment): Updated. 3165151497Sru 3166151497Sru * src/devices/grohtml/post-html.cc (text_glob::is_eol_ce): New 3167151497Sru member function. 3168151497Sru (html_printer::outstanding_eol): New member function. 3169151497Sru (html_printer::do_title): Use new functions. 3170151497Sru (html_printer::troff_tag): Test `id_eol_ce'. 3171151497Sru 3172151497Sru2001-10-10 Werner LEMBERG <wl@gnu.org> 3173151497Sru 3174151497Sru * tmac/color.tmac, tmac/color-html.tmac: Use `.do' to make those 3175151497Sru files work with -C also. 3176151497Sru 3177151497Sru2001-10-05 Werner LEMBERG <wl@gnu.org> 3178151497Sru 3179151497Sru * doc/pic.ms: Minor fix. 3180151497Sru * src/preproc/html/pre-html.cc (scanArguments): Don't handle `-?' 3181151497Sru as a valid command line switch. 3182151497Sru * src/devices/grohtml/post-html.cc (main): Ditto. 3183151497Sru (usage): Updated. 3184151497Sru * src/devices/grohtml/grohtml.man: Updated. 3185151497Sru * src/roff/groff/groff.cc (main): Pass `-v' to predriver also. 3186151497Sru 3187151497Sru2001-10-04 Werner LEMBERG <wl@gnu.org> 3188151497Sru 3189151497Sru Implementing color support in troff, pic, grops, and grohtml. These 3190151497Sru changes are based on a major patch provided by Gaius Mulley 3191151497Sru <gaius@glam.ac.uk>. 3192151497Sru 3193151497Sru New request: `defcolor', supporting rgb, cmy, cmyk, and gray 3194151497Sru definitions with both hex values and fractions. 3195151497Sru 3196151497Sru New escapes: \m and \M for drawing and background color, 3197151497Sru respectively. This corresponds to the troff output commands `m' 3198151497Sru and `DF'. 3199151497Sru 3200151497Sru groff and troff accept command line switch `-c' to disable color 3201151497Sru output (which is automatically disabled in compatibility mode). 3202151497Sru 3203151497Sru New scaling indicator `f' for fractions (1f = 65536u). 3204151497Sru 3205151497Sru New conditional operator `m' to test for defined colors with `if' 3206151497Sru and `ie'. 3207151497Sru 3208151497Sru New keywords `color' (or `colour', `colored', `coloured'), `outline' 3209151497Sru (or `outlined'), and `shaded' added to pic. 3210151497Sru 3211151497Sru * src/include/color.h: New file. 3212151497Sru * src/include/driver.h: Include it. 3213151497Sru * src/include/printer.h: Include color.h. 3214151497Sru (environment): New members `col' and `fill'. 3215151497Sru (printer): Remove `adjust_arc_center' member function. 3216151497Sru * src/include/Makefile.sub: Updated. 3217151497Sru 3218151497Sru * src/libs/libdriver/input.cc (do_file): Initialize `env.col' and 3219151497Sru `env.fill'. 3220151497Sru Handle `m' and `DF' troff commands. 3221151497Sru * src/libs/libgroff/color.cc: New file. 3222151497Sru * src/libs/libgroff/Makefile.sub: Updated. 3223151497Sru 3224151497Sru * src/preproc/html/pre-html.cc (IMAGE_BORDER_PIXELS): Set to 2. 3225151497Sru (stop): Removed. 3226151497Sru (createImage): Fix computation of `y2'. 3227151497Sru Use `pnmcrop' also. 3228151497Sru (buffer::write_file_html): Remove calls to `stop'. 3229151497Sru 3230151497Sru * src/preproc/pic/common.h (common_output): New abstract function 3231151497Sru members `set_color', `reset_color', `get_last_filled', and 3232151497Sru `get_outline_color'. 3233151497Sru * src/preproc/pic/object.h: Add `IS_SHADED' and `IS_OUTLINED'. 3234151497Sru (object_spec): Add members `shaded' and `outlined'. 3235151497Sru * src/preproc/pic/output.h (output): `command' is now abstract. 3236151497Sru New function members `set_color', `reset_color', `get_last_filled', 3237151497Sru and `get_outline_color'. 3238151497Sru * src/preproc/pic/lex.cc (lookup_keyword): Recognize `colo[u]r[ed]', 3239151497Sru `outline[d]', and `shaded'. 3240151497Sru * src/preproc/pic/object.cc (output::command): Removed. 3241151497Sru (output::set_location): Moved to output.h. 3242151497Sru (graphic_object): Add protected members `outline_color' and 3243151497Sru `color_fill'. 3244151497Sru Add member functions `set_outline_color', `get_outline_color', and 3245151497Sru `set_fill_color'. 3246151497Sru (closed_object): Add member function `set_fill_color'. 3247151497Sru Add member `color_fill'. 3248151497Sru (graphic_object::print_text): Use `out->set_color' and 3249151497Sru `out->reset_color'. 3250151497Sru (box_object::print, ellipse_object::print, circle_object::print, 3251151497Sru line_object::print, spline_object::print, arc_object::print): Ditto. 3252151497Sru (object_spec::make_object): Implement `IS_OUTLINED' and `IS_SHADED'. 3253151497Sru * src/preproc/pic/pic.y: Add tokens `COLORED', `OUTLINED', and 3254151497Sru `SHADED', making them `%left'. 3255151497Sru Add rules `object_spec [SHADED|COLORED|OUTLINED] text'. 3256151497Sru * src/preproc/pic/tex.cc (tex_output): New dummy function members 3257151497Sru `set_color', `reset_color', `get_last_filled', and 3258151497Sru `get_outline_color'. 3259151497Sru * src/preproc/pic/troff.cc (simple_output): New abstract function 3260151497Sru members `set_color', `reset_color', and `get_last_filled'. 3261151497Sru (simple_output::polygon, simple_output::circle, 3262151497Sru simple_output::ellipse): Use `get_last_filled'. 3263151497Sru (troff_output): New members `last_filled' and `last_outlined'. 3264151497Sru New function members `set_color', `reset_color', `get_last_filled', 3265151497Sru and `get_outline_color'. 3266151497Sru (troff_output::finish_picture): Use `reset_color'. 3267151497Sru (troff_output::set_fill): Test `last_filled'. 3268151497Sru * src/preproc/pic/pic.man: Updated. 3269151497Sru 3270151497Sru * src/roff/groff/groff.cc (main): Implement `-c' option. 3271151497Sru (synopsis, help): Updated. 3272151497Sru src/roff/groff/groff.man: Updated. 3273151497Sru 3274151497Sru * src/roff/troff/troff.h: Include color.h. 3275151497Sru (warning_type): Add WARN_COLOR. 3276151497Sru * src/roff/troff/env.h (environment): New members 3277151497Sru `{cur,prev}_{glyph,fill}_color'. 3278151497Sru New member functions `get_{prev_,}{glyph,fill}_color'. 3279151497Sru * src/roff/troff/env.cc: Initialize and implement them. 3280151497Sru * src/roff/troff/input.cc: New global variable `disable_color_flag'. 3281151497Sru Replace `NULL' with `0' everywhere for consistency. 3282151497Sru (lookup_color, default_black, do_glyph_color, do_fill_color, 3283151497Sru get_color_element, read_rgb, read_cmy, read_cmyk, read_gray, 3284151497Sru define_color): New functions. 3285151497Sru (token::next): Implement \M and \m escapes. 3286151497Sru (do_if_request): Implement `m' operator. 3287151497Sru (usage): Updated. 3288151497Sru (main): Implement `-c' option. 3289151497Sru (init_markup_requests): Add `defcolor' request. 3290151497Sru (warning_table): Add `color' warning. 3291151497Sru * src/roff/troff/node.h (glyph_color_node, fill_color_node): New 3292151497Sru classes. 3293151497Sru * src/roff/troff/node.cc (troff_output_file): New members 3294151497Sru `current_{page,glyph}color'. New member functions `put_hex', 3295151497Sru `glyph_color', and `fill_color'. 3296151497Sru (glyph_color_node::*, fill_color_node::*): Implement it. 3297151497Sru * src/roff/troff/number.cc (SCALE_INDICATOR_CHARS): Add `f'. 3298151497Sru (parse_term): Add support for `f'. 3299151497Sru * src/roff/troff/troff.man: Updated. 3300151497Sru 3301151497Sru * src/devices/grodvi/dvi.cc (draw_dvi_printer::draw): Add dummy 3302151497Sru entry for `F'. 3303151497Sru * src/devices/grolbp/lbp.cc (lbp_printer::draw): Ditto. 3304151497Sru * src/devices/grolj4/lj4.cc (lj4_printer::draw): Ditto. 3305151497Sru 3306151497Sru * src/devices/grohtml/html-text.h (HTML_TAG): Add COLOR_TAG. 3307151497Sru (tag_definition): Use `void *' for arg1. 3308151497Sru (html_text): New member functions `do_color' and `done_color'. 3309151497Sru Use `void *' for second parameter of `push_para' member function. 3310151497Sru New `push_para' member function with a single parameter. 3311151497Sru Use `char *' for parameter of `issue_table_begin' member funtion. 3312151497Sru New `issue_color_begin' member function. 3313151497Sru * src/devices/grohtml/html-text.cc (html_text::end_tag): Handle 3314151497Sru COLOR_TAG. 3315151497Sru (html_text::issue_color_begin): New function. 3316151497Sru (html_text::issue_table_begin): Use `char *' for parameter. 3317151497Sru (html_text::start_tag, html_text::shutdown, 3318151497Sru html_text::check_emit_text): Updated. 3319151497Sru (html_text::push_para): Use `void *' for second parameter. 3320151497Sru Add same function with only one parameter. 3321151497Sru (html_text::do_*): Updated. 3322151497Sru (html_text::do_color, html_text::done_color): New functions. 3323151497Sru * src/devices/grohtml/post-html.cc (style): New member `col'. 3324151497Sru Mew member `style' with 6 parameters. 3325151497Sru (style::style, style::operator==): Updated. 3326151497Sru (html_printer::do_font): Use it. 3327151497Sru (html_printer::draw): Add dummy entry for `F'. 3328151497Sru (html_printer::set_char): Updated. 3329151497Sru * src/devices/grohtml/grohtml.man: Updated. 3330151497Sru 3331151497Sru * src/devices/grops/ps.cc (ps_output::put_float): Use `%g' to have 3332151497Sru trailing zeroes removed. 3333151497Sru (ps_printer): New members `sbuf_color', `fill_color', and 3334151497Sru `output_color'. 3335151497Sru Removed member `fill'. 3336151497Sru New member function `set_color'. 3337151497Sru (ps_printer::ps_printer, ps_printer::set_char): Updated. 3338151497Sru (ps_printer::flush_sbuf, ps_printer::set_line_thickness, 3339151497Sru ps_printer::fill_path, ps_printer::draw): Use `set_color'. 3340151497Sru 3341151497Sru * tmac/color-html.tmac, tmac/color.tmac: New files. 3342151497Sru * tmac/troffrc: Include them. 3343151497Sru * tmac/www.tmac (URL, FTP, MAILTO): Use blue color. 3344151497Sru * tmac/Makefile.sub: Updated. 3345151497Sru 3346151497Sru * NEWS, doc/groff.texinfo, doc/pic.ms, man/groff_out.man, 3347151497Sru man/groff.man: Updated. 3348151497Sru * font/devps/prologue.ps: Define FC and CO functions. 3349151497Sru 3350151497Sru2001-10-04 Gaius Mulley <gaius@glam.ac.uk> 3351151497Sru 3352151497Sru Fix incorrect cropping of images and incorrect handling of special 3353151497Sru characters. Fix handling of file names in \O. 3354151497Sru 3355151497Sru * src/include/geometry.h: New file. 3356151497Sru * src/libs/libgroff/geometry.cc: New file. 3357151497Sru * src/libs/libdriver/printer.cc (printer::adjust_arc_center): Moved 3358151497Sru to `geometry.cc'. 3359151497Sru * src/roff/troff/input.cc (get_delim_file_name): Fixed problem with 3360151497Sru initial spaces. 3361151497Sru (do_suppress): Updated. 3362151497Sru * src/roff/troff/node.cc: Include geometry.h. 3363151497Sru (troff_output_file::flush_tbuf): Fixed parameters to 3364151497Sru `check_output_limits'. 3365151497Sru (troff_output_file::check_charinfo): Ditto. 3366151497Sru (troff_output_file::determine_line_limits): Add support for `Da' 3367151497Sru and `Dl' commands. 3368151497Sru 3369151497Sru * src/devices/grohtml/post-html.cc (str_translate_to_html): 3370151497Sru Add new parameter `is_special' to decode special characters from 3371151497Sru escape sequences. 3372151497Sru (html_printer::do_title, html_printer::do_heading, 3373151497Sru html_printer::do_indentedparagraph, 3374151497Sru html_printer::translate_to_html, html_printer::special): Updated. 3375151497Sru 3376151497Sru2001-10-03 Werner LEMBERG <wl@gnu.org> 3377151497Sru 3378151497Sru * Makefile.sub (DISTCLEANFILES): Add stamp-h. 3379151497Sru Fix entry for config.h. 3380151497Sru * test-groff (GROFF_BIN_PATH): Add $builddir/roff/groff. 3381151497Sru * tmac/troffrc: Translate nonbreakable space character to `\~'. 3382151497Sru * src/preproc/eqn/eqn.man: Document -d command line option. 3383151497Sru 3384151497Sru2001-09-27 Werner LEMBERG <wl@gnu.org> 3385151497Sru 3386151497Sru * man/groff.man: Use 3387151497Sru 3388151497Sru .ev xxx 3389151497Sru .na 3390151497Sru .nh 3391151497Sru <table> 3392151497Sru .ev 3393151497Sru 3394151497Sru instead of the old code (`.ad .hy' after the table) to suppress 3395151497Sru incorrect hyphenation for grohtml output. 3396151497Sru 3397151497Sru2001-09-22 Werner LEMBERG <wl@gnu.org> 3398151497Sru 3399151497Sru * man/groff_font.man, man/groff_out.man: Minor fixes. 3400151497Sru 3401151497Sru2001-09-20 Werner LEMBERG <wl@gnu.org> 3402151497Sru 3403151497Sru * PROBLEMS: Updated, reordered. Improved EPS section (thanks to 3404151497Sru Arnold Robbins <arnold@skeeve.com>). 3405151497Sru 3406151497Sru2001-09-09 Werner LEMBERG <wl@gnu.org> 3407151497Sru 3408151497Sru * configure: Regenerated with autoconf 2.52. 3409151497Sru 3410151497Sru * doc/groff.texinfo: Complete revision of indices. 3411151497Sru 3412151497Sru2001-09-07 Werner LEMBERG <wl@gnu.org> 3413151497Sru 3414151497Sru * doc/Makefile (clean): Updated to delete all indices. 3415151497Sru 3416151497Sru2001-09-05 Werner LEMBERG <wl@gnu.org> 3417151497Sru 3418151497Sru * src/roff/troff/troff.man: Remove superfluous line. 3419151497Sru 3420151497Sru * tmac/s.tmac: Enable all warnings only if no -W or -w option is 3421151497Sru given on the command line (or rather, if only the default warnings 3422151497Sru are set). 3423151497Sru 3424151497Sru2001-09-03 Werner LEMBERG <wl@gnu.org> 3425151497Sru 3426151497Sru * man/groff.man, src/preproc/eqn/eqn.man, tmac/groff_mdoc.man: Don't 3427151497Sru use .ne for TTY devices. 3428151497Sru 3429151497Sru2001-08-31 Werner LEMBERG <wl@gnu.org> 3430151497Sru 3431151497Sru * src/roff/troff/token.h, src/roff/troff/input.cc: 3432151497Sru s/TOKEN_TRANSPARENT_ESCAPE/TOKEN_OPAQUE_ESCAPE/. 3433151497Sru 3434151497Sru2001-08-28 Werner LEMBERG <wl@gnu.org> 3435151497Sru 3436151497Sru * src/roff/troff/token.h (token_type): Add TOKEN_TRANSPARENT_ESCAPE. 3437151497Sru * src/roff/troff/input.cc (token::next): Return 3438151497Sru TOKEN_TRANSPARENT_ESCAPE for \f, \H, \R, \s, and \S if not in 3439151497Sru compatibility mode. 3440151497Sru (token::description): Updated. 3441151497Sru (process_input_stack): Reset `bol' for TOKEN_TRANSPARENT_ESCAPE. 3442151497Sru (token::add_to_node_list, token::process): Ignore 3443151497Sru TOKEN_TRANSPARENT_ESCAPE. 3444151497Sru 3445151497Sru2001-08-27 Werner LEMBERG <wl@gnu.org> 3446151497Sru 3447151497Sru * tmac/an-old.tmac: Fix `S' string. 3448151497Sru 3449151497Sru2001-08-26 Werner LEMBERG <wl@gnu.org> 3450151497Sru 3451151497Sru * src/roff/troff/troff.man: Don't use .ne for TTY devices. 3452151497Sru 3453151497Sru2001-08-25 Werner LEMBERG <wl@gnu.org> 3454151497Sru 3455151497Sru * doc/pic.ms: Replace `\\' with `\e' (and fixing some single 3456151497Sru backslashes). 3457151497Sru Many other minor fixes. 3458151497Sru 3459151497Sru * configure.ac: Add message at end to inform how to compile 3460151497Sru xditview. 3461151497Sru * configure: Regenerated. 3462151497Sru 3463151497Sru2001-08-24 Werner LEMBERG <wl@gnu.org> 3464151497Sru 3465151497Sru * src/include/getopt.h, src/libs/libgroff/{getopt.c, getopt1.c}: 3466151497Sru Updated to latest version of libc. 3467151497Sru 3468151497Sru2001-08-23 Werner LEMBERG <wl@gnu.org> 3469151497Sru 3470151497Sru * configure.ac: Don't create subdirectories before AC_CONFIG_FILES. 3471151497Sru Autoconf 2.50 and newer can handle this. 3472151497Sru * configure: Regenerated. 3473151497Sru 3474151497Sru2001-08-21 Werner LEMBERG <wl@gnu.org> 3475151497Sru 3476151497Sru * doc/pic.ms: Fix typo. 3477151497Sru * src/preproc/tbl/tbl.man: Document case of global options. 3478151497Sru 3479151497Sru2001-08-21 Gaius Mulley <gaius@glam.ac.uk> 3480151497Sru 3481151497Sru * src/devices/grohtml/post-html.cc (html_printer::end_font): Fix 3482151497Sru handling of `CR' font. 3483151497Sru 3484151497Sru2001-08-20 Werner LEMBERG <wl@gnu.org> 3485151497Sru 3486151497Sru Use a config.h file. 3487151497Sru 3488151497Sru * src/include/lib.h: Include config.h. 3489151497Sru * All C files: Ditto (if necessary). 3490151497Sru * All C++ source and header files: Include lib.h first (if 3491151497Sru necessary). 3492151497Sru 3493151497Sru * src/include/config.hin: New file (autogenerated by autoheader). 3494151497Sru * stamp-h.in: New file. 3495151497Sru * configure.ac: Updated. 3496151497Sru * aclocal.m4: Add third parameters to AC_DEFINE macros. 3497151497Sru (GROFF_ARRAY_DELETE): Simplified. 3498151497Sru * Makefile.sub (DISTCLEANFILES): Updated. 3499151497Sru Added targets for remaking config.status, config.hin, config.h, 3500151497Sru stamp-h.in, and stamp-h. 3501151497Sru * configure: Regenerated. 3502151497Sru 3503151497Sru2001-08-19 Werner LEMBERG <wl@gnu.org> 3504151497Sru 3505151497Sru * NEWS: Updated. 3506151497Sru 3507151497Sru2001-08-18 Sebastian Krahmer <krahmer@suse.de> 3508151497Sru 3509151497Sru * src/preproc/pic/pic.y (format_number): Use do_sprintf(). 3510151497Sru (do_sprintf): Use snprintf(). 3511151497Sru 3512151497Sru2001-08-18 Werner LEMBERG <wl@gnu.org> 3513151497Sru 3514151497Sru * src/libs/snprintf/*: Added an snprintf module written by Mark 3515151497Sru Martinec. 3516151497Sru * src/libs/libgroff/Makefile.sub: Updated. 3517151497Sru * configure.ac: Add test for snprintf(). 3518151497Sru * Makefile.in: Updated. 3519151497Sru * configure: Regenerated. 3520151497Sru 3521151497Sru * src/preproc/html/pre-html.cc (make_message): Reactivate code which 3522151497Sru uses snprintf(). 3523151497Sru 3524151497Sru2001-08-14 Ruslan Ermilov <ru@FreeBSD.org> 3525151497Sru 3526151497Sru * tmac/doc.tmac (Ex): New implementation. 3527151497Sru * tmac/doc-common, tmac/groff_tmac.man: Updated. 3528151497Sru 3529151497Sru2001-08-13 Ruslan Ermilov <ru@FreeBSD.org> 3530151497Sru 3531151497Sru * tmac/doc.tmac (Rv): Implement support for 0 or more than 1 3532151497Sru argument. 3533151497Sru * tmac/groff_tmac.man: Updated. 3534151497Sru 3535151497Sru2001-08-13 Werner LEMBERG <wl@gnu.org> 3536151497Sru 3537151497Sru * src/preproc/tbl/tbl.man: Minor documentation update. 3538151497Sru 3539151497Sru2001-08-13 John David Anglin <dave@hiauly1.hia.nrc.ca> 3540151497Sru 3541151497Sru * src/libs/libgroff/tmpname.cc: Add prototype for gettimeofday(). 3542151497Sru * configure.ac: Add declaration test for gettimeofday(). 3543151497Sru * Makefile.in: Document NEED_DECLARATION_GETTIMEOFDAY defines. 3544151497Sru * aclocal.m4: Include sys/time.h for gettimeofday declaration test. 3545151497Sru * configure: Regenerated. 3546151497Sru 3547151497Sru2001-08-11 Werner LEMBERG <wl@gnu.org> 3548151497Sru 3549151497Sru * aclocal.m4 (GROFF_MKSTEMP): Define HAVE_MKSTEMP. 3550151497Sru * configure.ac: Add declaration test for strcasecmp(). 3551151497Sru * Makefile.in: Updated. 3552151497Sru * configure: Regenerated. 3553151497Sru * src/include/lib.h [!HAVE_MKSTEMP]: Add prototype for mkstemp() -- 3554151497Sru this is necessary because groff's mkstemp.cc is C++. 3555151497Sru Add declaration conditionally for strcasecmp(). 3556151497Sru 3557151497Sru2001-08-10 Werner LEMBERG <wl@gnu.org> 3558151497Sru 3559151497Sru Integrated pic2graph, contributed by Eric S. Raymond. 3560151497Sru 3561151497Sru * contrib/pic2graph/{Makefile.sub, pic2graph.sh, pic2graph.man}: New 3562151497Sru files. 3563151497Sru * Makefile.in, NEWS: Updated. 3564151497Sru 3565151497Sru * src/preproc/tbl/tbl.man: Revised. 3566151497Sru 3567151497Sru2001-08-09 Eric S. Raymond <esr@thyrsus.com> 3568151497Sru 3569151497Sru * src/preproc/tbl/tbl.man: Extended to cover all tbl features. 3570151497Sru 3571151497Sru2001-08-09 Werner LEMBERG <wl@gnu.org> 3572151497Sru 3573151497Sru * src/preproc/tbl/main.cc (process_data): Fix recognition of .lf 3574151497Sru requests. 3575151497Sru 3576151497Sru2001-08-08 Paul Eggert <eggert@twinsun.com> 3577151497Sru 3578151497Sru * Makefile.sub (configure): Depend on configure.ac, not 3579151497Sru configure.in. 3580151497Sru * INSTALL.gen: Upgrade to autoconf 2.52's INSTALL. 3581151497Sru 3582151497Sru2001-08-07 Werner LEMBERG <wl@gnu.org> 3583151497Sru 3584151497Sru * src/utils/afmtodit/afmtodit.man, src/roff/groff/groff.man: Minor 3585151497Sru fixes. 3586151497Sru 3587151497Sru2001-08-06 Werner LEMBERG <wl@gnu.org> 3588151497Sru 3589151497Sru * src/roff/troff/troff.man: Improve documentation of -E option. 3590151497Sru 3591151497Sru2001-07-28 Ralph Corderoy <ralph@inputplus.demon.co.uk> 3592151497Sru 3593151497Sru * src/preproc/html/pushbackbuffer.cc (pushBackBuffer::readNumber): 3594151497Sru Simplified. 3595151497Sru 3596151497Sru2001-07-27 Werner LEMBERG <wl@gnu.org> 3597151497Sru 3598151497Sru * src/preproc/refer/refer.cc: Undo last change. 3599151497Sru * src/devices/grohtml/post-html.cc: Ditto. 3600151497Sru 3601151497Sru2001-07-26 Werner LEMBERG <wl@gnu.org> 3602151497Sru 3603151497Sru * src/preproc/refer/refer.cc: Include `lib.h'. 3604151497Sru * src/devices/grohtml/post-html.cc: Ditto. 3605151497Sru 3606151497Sru2001-07-25 Gaius Mulley <gaius@glam.ac.uk> 3607151497Sru 3608151497Sru * aclocal.m4 (GROFF_PAGE): Add `AC_DEFINE(PAGEA4)'. 3609151497Sru * src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET. 3610151497Sru * Makefile.in: Comment updated. 3611151497Sru * configure: Regenerated. 3612151497Sru 3613151497Sru2001-07-25 Werner LEMBERG <wl@gnu.org> 3614151497Sru 3615151497Sru * src/preproc/pic/pic.cc: Removed. 3616151497Sru * src/preproc/pic/pic_tab.h: Removed. 3617151497Sru * src/preproc/refer/label.cc: Removed. 3618151497Sru 3619151497Sru * doc/Makefile (.ms.html): Don't use a file name extension in 3620151497Sru argument to grohtml's -I option. 3621151497Sru * Makefile.in (dist): Remove CVS directories. 3622151497Sru Call `distfiles' target. 3623151497Sru 3624151497Sru * src/devices/grohtml/grohtml.man: Add information about valid 3625151497Sru versions of pnmtopng. 3626151497Sru * src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour 3627151497Sru name instead of number. 3628151497Sru 3629151497Sru2001-07-24 Werner LEMBERG <wl@gnu.org> 3630151497Sru 3631151497Sru * doc/groff.texinfo: Minor fixes. 3632151497Sru 3633151497Sru2001-07-21 Gaius Mulley <gaius@glam.ac.uk> 3634151497Sru 3635151497Sru * doc/Makefile (.ms.html): Put image files into a subdirectory. 3636151497Sru (clean): Updated. 3637151497Sru 3638151497Sru2001-07-20 Werner LEMBERG <wl@gnu.org> 3639151497Sru 3640151497Sru * src/libs/libgroff/tmpname.cc: New file, defining get_tempname(). 3641151497Sru * src/libs/libgroff/mkstemp.cc: New file. 3642151497Sru * src/libs/libgroff/mksdir.cc: New file. 3643151497Sru * src/libs/libgroff/tmpfile.cc [HAVE_MKSTEMP_PROTO]: Removed. 3644151497Sru (xtmpfile) [!HAVE_MKSTEMP]: Removed. 3645151497Sru * src/libs/libgroff/Makefile.sub: Updated. 3646151497Sru * src/include/lib.h: Add mksdir() prototype. 3647151497Sru * src/include/posix.h: Define S_IXUSR if not yet defined. 3648151497Sru 3649151497Sru * src/preproc/html/pre-html.cc (MAX_RETRIES): Removed. 3650151497Sru (createAllPages): Use mksdir() instead of current code. 3651151497Sru * src/utils/indxbib/indxbib.cc [HAVE_MKSTEMP_PROTO]: Removed. 3652151497Sru (main): [!HAVE_MKSTEMP]: Removed. 3653151497Sru 3654151497Sru * aclocal.m4 (GROFF_MKSTEMP): Updated to use new mkstemp.cc file. 3655151497Sru (GROFF_INTTYPES_H, GROFF_UNSIGNED_LONG_LONG, GROFF_UINTMAX_T): New 3656151497Sru macros. 3657151497Sru * configure.ac: Add tests for stdint.h, sys/time.h, and 3658151497Sru gettimeofday(). 3659151497Sru Call new GROFF_xxx macros. 3660151497Sru * configure: Regenerated. 3661151497Sru * Makefile.in: Comments updated. 3662151497Sru 3663151497Sru2001-07-20 Gaius Mulley <gaius@glam.ac.uk> 3664151497Sru 3665151497Sru * src/preproc/html/pre-html.cc (scanArguments): Use getopt_long() 3666151497Sru instead of current code. 3667151497Sru * src/devices/grohtml/post-html.cc (main): Handle `-d' option. 3668151497Sru * src/roff/groff/groff.cc (possible_command::insert_args): New 3669151497Sru function. 3670151497Sru (main): Use it for predriver handling instead of insert_arg(). 3671151497Sru 3672151497Sru2001-07-19 Werner LEMBERG <wl@gnu.org> 3673151497Sru 3674151497Sru * doc/Makefile: Added GROFF_BIN_PATH to make it work with uninstalled 3675151497Sru groff also. 3676151497Sru 3677151497Sru * src/include/posix.h: Define S_IWUSR if not yet defined. 3678151497Sru 3679151497Sru2001-07-18 Werner LEMBERG <wl@gnu.org> 3680151497Sru 3681151497Sru * NEWS: Updated. 3682151497Sru 3683151497Sru2001-07-18 Ruslan Ermilov <ru@FreeBSD.org> 3684151497Sru 3685151497Sru * tmac/groff_mdoc.man: Document new -width and -column syntax. 3686151497Sru Some other minor fixes. 3687151497Sru * tmac/an-old.tmac: Add `AT' and `UC' macros. 3688151497Sru 3689151497Sru2001-07-17 Gaius Mulley <gaius@glam.ac.uk> 3690151497Sru 3691151497Sru Replace call to `troff' with `groff -Z' to make it aware of 3692151497Sru GROFF_BIN_PATH. 3693151497Sru 3694151497Sru * src/preproc/html/pre-html.cc (TROFF_COMMAND): New macro. 3695151497Sru (troff_command, command_prefix): Removed. 3696151497Sru (alterDeviceTo): Use groff. 3697151497Sru (addZ): New function. 3698151497Sru (char_buffer::do_html): Use it. 3699151497Sru (scanArguments): Use TROFF_COMMAND. 3700151497Sru (findPrefix): Removed. 3701151497Sru (main): Updated. 3702151497Sru * src/roff/groff/groff.cc (main): Handle zflag for preprocessors. 3703151497Sru 3704151497Sru2001-07-17 Eric S. Raymond <esr@snark.thyrsus.com> 3705151497Sru 3706151497Sru * doc/pic.ms: Documentation fixes. 3707151497Sru 3708151497Sru2001-07-17 Werner LEMBERG <wl@gnu.org> 3709151497Sru 3710151497Sru Replace atexit() with global destructor. 3711151497Sru 3712151497Sru * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Add constructor. 3713151497Sru (xtmpfile_list_init): New global structure to deallocate 3714151497Sru xtmpfile_list on exit. Its destructor inherits most code from 3715151497Sru remove_tmp_files(). 3716151497Sru (remove_tmp_files): Deleted. 3717151497Sru (add_tmp_file): Simplified. 3718151497Sru 3719151497Sru2001-07-16 Werner LEMBERG <wl@gnu.org> 3720151497Sru 3721151497Sru Replace strdup() with strsave(). 3722151497Sru 3723151497Sru * src/devices/grolbp/lbp.cc [!HAVE_STRDUP]: Removed. 3724151497Sru (set_papersize): Use strsave() and a_delete. 3725151497Sru (main): Use strsave(). 3726151497Sru * src/preproc/html/pre-html.cc (make_message, createAllPages, 3727151497Sru removeAllPages): Use strsave() and a_delete. 3728151497Sru 3729151497Sru * configure.ac: Remove test for strdup. 3730151497Sru * Makefile.in: Comment updated. 3731151497Sru * configure: Regenerated. 3732151497Sru 3733151497Sru2001-07-15 Werner LEMBERG <wl@gnu.org> 3734151497Sru 3735151497Sru * win32-diffs: Updated. 3736151497Sru 3737151497Sru2001-07-14 Werner LEMBERG <wl@gnu.org> 3738151497Sru 3739151497Sru * src/preproc/html/pre-html.cc (makeTempFiles): Activate new code, 3740151497Sru removing the old one. 3741151497Sru * src/utils/indxbib/indxbib.cc (main): Remove compiler warning. 3742151497Sru 3743151497Sru2001-07-14 Ralph Corderoy <ralph@inputplus.demon.co.uk> 3744151497Sru 3745151497Sru * src/libs/libgroff/tmpfile.cc (xtmpfile): Fix guard for `namep'. 3746151497Sru 3747151497Sru2001-07-12 Ruslan Ermilov <ru@FreeBSD.org> 3748151497Sru 3749151497Sru Merge -xwidth into -width. Add -xwidth functionality to -column 3750151497Sru also. 3751151497Sru 3752151497Sru * tmac/doc.tmac (Bl): Add dummy doc-typeXXX and doc-spaceXXX to 3753151497Sru avoid warning. 3754151497Sru (doc-do-Bl-args): Merge -xwidth code with -width. Test whether 3755151497Sru string immediately following a leading dot starts with a valid mdoc 3756151497Sru argument. 3757151497Sru Add similar code to the -column branch. 3758151497Sru (doc-Bl-usage): Updated. 3759151497Sru * groff_mdoc.man: s/-xwidth/-width/. 3760151497Sru 3761151497Sru2001-07-12 Gaius Mulley <gaius@glam.ac.uk> 3762151497Sru 3763151497Sru * src/devices/grohtml/post-html.cc (text_glob::is_br): Stop titles 3764151497Sru running into centered or non-formatted text. 3765151497Sru 3766151497Sru2001-07-11 Werner LEMBERG <wl@gnu.org> 3767151497Sru 3768151497Sru Introduce short and long prefixes to have the selection at run-time 3769151497Sru whether there is a 8+3 limit for names of temporary files. 3770151497Sru 3771151497Sru * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX): Replaced with... 3772151497Sru (TMPFILE_PREFIX_SHORT, TMPFILE_PREFIX_LONG): This. 3773151497Sru (tmpfile_prefix, tmpfile_prefix_len, use_short_prefix): New 3774151497Sru variables. 3775151497Sru (temp_init): New global structure to initialize above three 3776151497Sru variables. 3777151497Sru (xtmptemplate): Use two parameters for long and short prefix. 3778151497Sru Simplify code use above three variables. 3779151497Sru (xtmpfile): Use long and short prefixes as parameters. 3780151497Sru * src/include/lib.h: Updated. 3781151497Sru 3782151497Sru * src/preproc/html/pre-html.cc ({PAGE,PS,REGION}_TEMPLATE): Replace 3783151497Sru with ... 3784151497Sru ({PAGE,PS,REGION}_TEMPLATE_{SHORT,LONG}): This. 3785151497Sru (createAllPages, makeTempFiles): Updated. 3786151497Sru 3787151497Sru2001-07-09 Werner LEMBERG <wl@gnu.org> 3788151497Sru 3789151497Sru * REVISION: Increased to 3. 3790151497Sru 3791151497SruLocal Variables: 3792151497Sruversion-control: never 3793151497Srucoding: latin-1 3794151497SruEnd: 3795