/contrib/groff/ChangeLog
#! | 5253 lines | 3763 code | 1490 blank | 0 comment | 0 complexity | ae2fa7f9f0bc4256c543a88a085551af MD5 | raw file
Large files files are truncated, but you can click here to view the full file
12005-09-04 Werner LEMBERG <wl@gnu.org> 2 3 * tmac/groff_ms.man, doc/groff.texinfo: Synchronize. 4 5 * doc/webpage.ms: Updated. 6 7 * install-sh, mkinstalldirs: New versions; taken from texinfo CVS. 8 92005-09-04 Jörgen Grahn <jgrahn@algonet.se> 10 11 * tmac/groff_ms.man: Document `PO' better. 12 132005-09-03 Werner LEMBERG <wl@gnu.org> 14 15 * NEWS: Document grotty changes. 16 172005-09-01 Keith Marshall <keith.d.marshall@ntlworld.com> 18 19 Backward compatibility support for `man' program. 20 21 * tmac/an-old.tmac (LL): Initialize it to respect prior LL register 22 assignment, prior `.ll' request and then package defaults, in this 23 specified order of decreasing priority. 24 25 * tmac/groff_man.man, doc/groff.texinfo: Document altered `LL' 26 register initialization priorities. 27 282005-08-29 Gary W. Swearingen <garys@opusnet.com> 29 30 * tmac/groff_mdoc.man: Go into more details how the `AUTHORS' 31 section should look like. 32 332005-08-29 Werner LEMBERG <wl@gnu.org> 34 35 * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't 36 be abbreviated. 37 382005-08-27 Bernd Warken 39 40 * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor 41 fixes. 42 432005-08-11 Bernd Warken 44 45 * tmac/www.tmac (URL, MTO): Handle empty \\$1 better. 46 472005-08-09 Bernd Warken 48 49 * tmac/www.tmac (URL, MTO): Use bold series if color support is 50 deactivated. 51 522005-08-02 Bernd Warken 53 54 * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete 55 as argument to $(INSTALL_INFO). The latter isn't portable. 56 Remove $(HTMLEXAMPLEFILES) too. 57 58 * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and 59 $(datadir)/doc too. 60 Suppress warning messages and return always true. 61 62 * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too. 63 642005-07-02 Bernd Warken 65 66 * src/devices/xditview/gxditview.man: Change many `.I' to `.B'. 67 * man/groff_out.man: More markup and minor improvements. 68 * src/roff/groff/groff.man: Minor improvements. 69 702005-06-28 Werner LEMBERG <wl@gnu.org> 71 72 * ChangeLog: Split off older entries into... 73 * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New 74 files. 75 762005-06-26 Bernd Warken 77 78 * src/devices/xditview/gxditview.man: More minor fixes. 79 802005-06-24 Werner LEMBERG <wl@gnu.org> 81 82 * src/preproc/pic/troff.cpp (troff_output::set_fill, 83 troff_output::set_color, troff_output::reset_color): Use .bcolor and 84 .fcolor instead of \m and \M, respectively. 85 862005-06-23 Bernd Warken 87 88 * src/devices/xditview/gxditview.man: More minor fixes. 89 * README: Formatting issues. 90 Mention some problems with Debian. 91 922005-06-23 Bernd Warken 93 94 * src/devices/xditview/gxditview.man: Revised and improved. 95 962005-06-22 Werner LEMBERG <wl@gnu.org> 97 98 Another round in fixing getopt problems. Hopefully the last one! 99 This time we use the getopt stuff from gnulib and define a prefix 100 unconditionally so that there are no collisions with any other 101 getopt implementations. This is a slight waste of space in case 102 we already use a GNU getopt implementation, but on 103 the other hand it really simplifies life. 104 105 * src/include/getopt.h: Use gnulib version. 106 107 * src/include/getopt_int.h: Use gnulib version. 108 109 * src/include/groff-getopt.h: Removed. Obsolete now. 110 111 * src/include/lib.h: Regarding getopt, don't handle any platform 112 specially; just include getopt.h. 113 (__GETOPT_PREFIX): Define (before getopt.h). 114 115 * src/include/Makefile.sub (HDRS): Updated. 116 117 * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use 118 gnulib version. 119 120 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set 121 __GETOPT_PREFIX. 122 123 * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c 124 (__GETOPT_PREFIX): Define (before getopt.h). 125 1262005-06-21 Werner LEMBERG <wl@gnu.org> 127 128 * src/include/lib.h: Provide a fix for Mac OS X to not include 129 groff-getopt.h. 130 1312005-06-20 Denis M. Wilson <dmw@oxytropis.plus.com> 132 133 * font/devps/prologue.ps (EP): Dont' use `bind'. Reason: Using 134 `bind' to define a procedure which contains `showpage' means that an 135 invocation of `showpage' may execute wrongly (the exact effect 136 depending on the interpreter). Not usually a problem except under 137 transformations, such as combining pages. 138 (PEND): Don't call `clear'. Reason: Using `clear' in the definition 139 of /PEND means that stack underflow will occur if the stack is 140 deliberately non-empty before document inclusion. If included 141 files are found to be generally badly behaved, we could replace the 142 `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've 143 never found this necessary). 144 1452005-06-20 Jörgen Grahn <jgrahn@algonet.se> 146 147 * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero 148 earlier to get correct error message. 149 1502005-06-16 Bernd Warken 151 * src/roff/nroff/nroff.sh: Add support for iso-8859-15. 152 1532005-06-15 Werner LEMBERG <wl@gnu.org> 154 155 Another try to update getopt files. This time we add a dummy 156 gettext.h file to satisfy the dependency. 157 158 * src/include/getopt.h, src/libs/libgroff/getopt.c, 159 src/libs/libgroff/getopt1.c: Updated from GNU libc CVS. 160 161 * src/include/getopt_int.h: New file (from GNU libc CVS). 162 163 * src/include/gettext.h: Dummy file which just defines a gettext() 164 macro. 165 166 * src/include/groff-getopt.h: Updated. 167 168 * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h. 169 170 171 * src/libs/libdriver/input.cpp (IntArray): Remove superfluous 172 `const' keywords in return value. 173 174 * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer): 175 Remove redundant variable `old'. 176 (pushBackBuffer::skipToNewline): Remove redundant variable `ch'. 177 178 * src/preproc/tbl/main.cpp (process_table): Remove redundant 179 variable `c'. 180 181 182 Fix more friend name injection problems since modern C++ compilers 183 fail otherwise. We simply provide (global) declarations for all 184 functions declared as friends. This is not really necessary but 185 doesn't harm. 186 187 * src/preproc/eqn/lex.cpp: Provide declarations for get_char, 188 peek_char, and get_location. 189 190 * src/preproc/refer/ref.h: Provide declarations for 191 compare_reference, same_reference, same_year, same_date, 192 same_author_last_name, and same_author_name. 193 194 * src/roff/troff/div.h: Provide declarations for do_divert and 195 page_offset. 196 197 * src/roff/troff/env.h: Provide declarations for title_length, 198 space_size, fill, no_fill, adjust, no_adjust, center, right_justify, 199 vertical_spacing, post_vertical_spacing, line_spacing, line_length, 200 indent, temporary_indent, do_underline, do_input_trap, set_tabs, 201 margin_character, no_number, number_lines, leader_character, 202 tab_character, hyphenate_request, no_hyphenate, 203 hyphen_line_max_request, hyphenation_space_request, 204 hyphenation_margin_request, line_width, tabs_save, tabs_restore, 205 line_tabs_request, widow_control_request, and do_divert. 206 207 * src/roff/troff/input.cpp: Provide declaration for chop_macro. 208 209 * src/roff/troff/node.cpp: Provide declarations for class 210 tfont_spec. 211 Provide declaration for make_tfont. 212 2132005-05-29 Werner LEMBERG <wl@gnu.org> 214 215 * doc/fdl.texi: Updated to version 1.2. Reported by Bernd Warken. 216 2172005-05-28 Werner LEMBERG <wl@gnu.org> 218 219 * contrib/pdfmark/Makefile.sub (.ms.pdf): Use `--stylesheet', not 220 `--style'. 221 222 * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove 223 redundant semicolons. 224 225 * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub, 226 src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub: 227 Define `MLIB'. Some compilers need this for linking with libgroff. 228 2292005-05-27 Werner LEMBERG <wl@gnu.org> 230 231 * MANIFEST, README, doc/webpage.ms: Updated. 232 2332005-05-26 Werner LEMBERG <wl@gnu.org> 234 235 * All affected files: Update postal address of FSF. 236 2372005-05-25 Keith Marshall <keith.d.marshall@ntlworld.com> 238 Bernd Warken 239 240 * README: More fixes. 241 242 * README.CVS: Removed. Its contents is now part of the README file. 243 2442005-05-21 Werner LEMBERG <wl@gnu.org> 245 246 * README: Updated. Based on a patch from Bernd Warken. 247 2482005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com> 249 250 Miscellaneous script portability enhancements. 251 252 * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for 253 generated conftest.sh script, conforming to portability 254 recommendation in autoconf docs. 255 * configure: Likewise, for code generated by GROFF_CSH_HACK. 256 * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming 257 to portability recommendation in autoconf docs. 258 * contrib/gdiffmk/gdiffmk.sh: Likewise. 259 * contrib/gdiffmk/tests/runtests.in: Likewise. 260 * contrib/grap2graph/grap2graph.sh: Likewise. 261 * contrib/groffer/groffer.sh: Likewise. 262 * contrib/mm/mmroff.pl: Likewise. 263 * contrib/mom/momdoc/appendices.html: Likewise. 264 * contrib/pic2graph/pic2graph.sh: Likewise. 265 * font/devps/generate/afmname: Likewise. 266 * src/devices/xditview/ad2c: Likewise. 267 * src/preproc/eqn/neqn.sh: Likewise. 268 * src/roff/grog/grog.pl: Likewise. 269 * src/roff/grog/grog.sh: Likewise. 270 * src/roff/nroff/nroff.sh: Likewise. 271 * PROBLEMS: Likewise, in embedded script examples. 272 2732005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com> 274 275 Improve portability of `pdfroff' shell script. 276 277 * arch/misc/shdeps.sh: Add space in shebang, conforming to 278 portability guidelines in `autoconf' docs. 279 (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR 280 initialization code. Used by contrib/pdfmark/pdfroff.sh's 281 `searchpath' function. 282 2832005-05-14 Werner LEMBERG <wl@gnu.org> 284 285 * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh, 286 contrib/eqn2graph.sh: Add option `-trim' to `convert' which is 287 needed for newer ImageMagick versions. 288 2892005-05-07 Werner LEMBERG <wl@gnu.org> 290 291 * src/preproc/refer/refer.man: Many small typographic fixes. 292 2932005-05-06 Jeff Conrad <jeff_conrad@msn.com> 294 295 * src/devices/grohtml/post-html.cpp (assert_state::~assert_state): 296 Use `char *' cast for a_delete. 297 2982005-05-03 Werner LEMBERG <wl@gnu.org> 299 300 * src/libs/libgroff/maxpathname.cpp: Include stdlib.h. 301 src/libs/libgroff/relocate.cpp: Use path_name_max everywhere. 302 3032005-05-03 Jeff Conrad <jeff_conrad@msn.com> 304 305 * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using 306 `a_delete' for `const char *'. 307 3082005-05-03 Werner LEMBERG <wl@gnu.org> 309 310 * src/devices/grohtml/post-html.cpp, 311 src/devices/grohtml/html-table.cpp, 312 src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp: 313 Replace malloc/free with new/delete/a_delete. 314 315 * src/devices/grolbp/lbp.h: Remove superfluous semicolons which 316 are prohibited with ANSI C++. 317 (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the 318 function has a variable number of arguments). 319 320 * src/preproc/grn/main.cpp (doinput): Change return type to `int'. 321 Simplify function and update all callers. 322 3232005-05-02 Werner LEMBERG <wl@gnu.org> 324 325 Undo getopt changes from 2005-04-30. We don't want a dependency 326 on gettext. 327 328 * src/include/getopt_int.h: Removed. 329 330 * src/include/getopt.h, src/include/groff-getopt.h, 331 src/include/Makefile.sub, src/libs/libgroff/getopt.c, 332 src/libs/libgroff/getopt1.c: Revert to previous version. 333 334 335 * src/include/nonposix.h (access) [_MSC_VER]: New macro. 336 337 * src/include/posix.h (F_OK): Define conditionally. 338 339 * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use 340 different variable name in second `for' loop to avoid MSVC compiler 341 problem. 342 3432005-04-30 Werner LEMBERG <wl@gnu.org> 344 345 AC_TYPE_SIGNAL from current autoconf can fail if CC=g++. 346 347 * aclocal.m4 (GROFF_TYPE_SIGNAL): New function. 348 * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL. 349 * configure, src/include/config.hin: Regenerated. 350 351 * PROBLEMS: Updated. 352 353 354 Update getopt files. 355 356 * src/include/getopt.h, src/libs/libgroff/getopt.c, 357 src/libs/libgroff/getopt1.c: Updated from GNU libc CVS. 358 359 * src/include/getopt_int.h: New file (from GNU libc CVS). 360 361 * src/include/groff-getopt.h: Updated. 362 363 * src/include/Makefile.sub (HDRS): Add getopt_int.h. 364 365 366 * font/devutf8/NOTES: Updated. 367 3682005-04-28 Werner LEMBERG <wl@gnu.org> 369 370 Bug fix for Win32 relocatable code. Based on a patch from Keith 371 Marshall. 372 373 * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH' 374 also. 375 376 * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally. 377 (searchpath) [_WIN32]: Use `_fullpath', not `realpath'. 378 3792005-04-28 Keith Marshall <keith.d.marshall@ntlworld.com> 380 381 Correct `gnu.eps' handling for build from distribution tarball, with 382 separate source and build directories. 383 384 * doc/Makefile.sub: (examples.stamp): New target; forces copy of 385 grnexmpl.g, groff.css and gnu.eps from source to build directory; 386 generate gnu.eps from gnu.xpm if required; touch examples.stamp. 387 (prepare_examples): Make it depend on examples.stamp. 388 (CLEANADD): Add examples.stamp. 389 3902005-04-27 Werner LEMBERG <wl@gnu.org> 391 392 Implement the rule 393 394 position: '(' position ')' 395 396 in pic. 397 398 * src/preproc/pic/pic.y (position, position_not_place): Handle 399 additional parentheses. 400 401 * doc/pic.ms: Updated. 402 4032005-04-23 Larry Jones <lawrence.jones@ugs.com> 404 405 * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration. 406 4072005-04-18 Werner LEMBERG <wl@gnu.org> 408 409 * src/roff/groff/pipeline.c: Don't include ctype.h. 410 4112005-04-13 Werner LEMBERG <wl@gnu.org> 412 413 * src/roff/nroff/nroff.man: Document option `-M'. 414 4152005-04-13 Bruce Lilly <blilly@erols.com> 416 417 * src/roff/nroff/nroff.sh: Make the script accept option `-M'. 418 4192005-04-01 Kees Zeelenberg <kzlg@users.sourceforge.net> 420 Werner LEMBERG <wl@gnu.org> 421 422 Add binary relocation support for Windows platforms. 423 424 * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'. 425 426 * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files. 427 428 * src/libs/libgroff/searchpath.cpp: Handle `relocate'. 429 (search_path::search_path, search_path::open_file_cautious): Use 430 `relocate'. 431 432 * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS), 433 src/include/Makefile.sub (HDRS): Updated. 434 4352005-04-01 Werner LEMBERG <wl@gnu.org> 436 437 * src/devices/grohtml/post-html.cpp: Don't use strdup/free but 438 strsave/a_delete. 439 440 * src/libs/libgroff/font.cpp: Replace strdup with strsave. 441 442 * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since 443 lib.h already does it. 444 445 * src/libs/libgroff/maxpathname.cpp: New file, defining 446 path_name_max. 447 448 * src/include/lib.h: Add prototype for path_name_max. 449 450 * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated. 451 452 * src/include/nonposix.h (PATH_EXT): New macro. 453 4542005-03-28 Werner LEMBERG <wl@gnu.org> 455 456 Add support for double- and zero-width characters in grotty. 457 458 * src/devices/grotty/tty.cpp (glyph): Add width. 459 (tty_printer::make_underline, tty_printer::make_bold, 460 tty_printer::add_character): Add parameter to pass character width. 461 Update all callers. 462 (tty_printer::end_page): Increase hpos by actual character width. 463 464 * font/devutf8/R.proto: Specify zero width for non-spacing 465 characters. 466 467 * tmac/unicode.tmac: Remove definitions for non-spacing entities. 468 469 * Makefile.comm (extraclean): Remove more junk files. 470 4712005-03-25 Werner LEMBERG <wl@gnu.org> 472 473 * configure.ac: Undo change from 2005-03-24. 474 * configure: Regenerated. 475 4762005-03-24 Werner LEMBERG <wl@gnu.org> 477 478 * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests. 479 (dist): Search Makefile while descending into $(EXTRADIRS). 480 481 * doc/Makefile.in (.PHONY): Add. 482 (clean): Don't remove *.png and *.eps. 483 Don't handle *.gif. 484 (realclean): Remove *.png and *.eps. 485 (extraclean): Depend on distclean. 486 487 * configure.ac: Add copyright. 488 Handle contrib/pdfmark/Makefile. 489 490 * configure: Regenerated. 491 4922005-03-18 Larry Kollar <kollar@alltel.net> 493 494 Add numbered and definition lists to www.tmac. 495 496 * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3, 497 www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New 498 auxiliary string registers. 499 (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2, 500 www-ol-ctr3, www-dl-shift): New auxiliary number registers. 501 (www-level): Removed. 502 (www-level1, www-level2, www-level3): Initialize to empty. 503 (www-level0, www-level4, www-level5, www-level6, www-level7, 504 www-level8, www-level9): New string registers. 505 (www-push-li, www-pop-li): New macros. 506 (www-push-level, www-pop-level): Renamed to... 507 (www-push-ul-level, www-pop-ul-level): This. 508 Updated. 509 (www-push-ol-level, www-pop-ol-level): New macros. 510 (ULS, ULE): Updated. 511 (OLS, OLE, DLS, DLE): New user macros. 512 (LI): Removed. It is aliased to one of... 513 (www-li-ul, www-li-ol, www-li-dl): New macros. 514 515 * tmac/groff_www.man: Document new macros. 516 517 * NEWS: Updated. 518 5192005-03-18 Werner LEMBERG <wl@gnu.org> 520 521 * tmac/doc-common (doc-operating-system-NetBSD-2.0.1, 522 doc-operating-system-NetBSD-2.0.2): New strings. 523 524 * tmac/groff_mdoc.man: Updated. 525 5262005-03-17 Werner LEMBERG <wl@gnu.org> 527 528 * doc/Makefile.sub (CLEANADD): Add `groff.html'. 529 5302005-03-17 Werner LEMBERG <wl@gnu.org> 531 532 * src/libs/libgroff/hypot.c: Renamed to... 533 * src/libs/libgroff/hypot.cpp: This. Updated to C++. 534 535 * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated. 536 537 * src/include/lib.h: Updated. 538 5392005-03-16 Werner LEMBERG <wl@gnu.org> 540 541 Add workaround for broken hypot() on Interix. 542 543 * src/libs/libgroff/hypot.c: New wrapper file for `hypot'. 544 545 * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'. 546 (CSRCS): Add `hypot.c'. 547 548 * src/include/lib.h: Declare `groff_hypot'. 549 550 * src/preproc/grn/hgraph.cpp: Don't declare `hypot'. 551 Use `groff_hypot'. 552 553 * src/preproc/pic/pic.h: Don't declare `hypot'. 554 555 * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'. 556 5572005-03-15 Gaius Mulley <gaius@glam.ac.uk> 558 559 * src/devices/grohtml/post-html.cpp 560 (html_printer::lookahead_for_tables): End .ce properly to avoid a 561 segfault. 562 5632005-03-15 Werner LEMBERG <wl@gnu.org> 564 565 makeinfo 4.8 doesn't produce good HTML output from groff.texinfo. 566 567 * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output. 568 569 * doc/Makefile.in (.texinfo.html): Call fixinfo.sh. 570 5712005-03-14 Werner LEMBERG <wl@gnu.org> 572 573 Add Cyrillic support to devutf8 and devhtml. 574 575 * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks. 576 577 * tmac/unicode.tmac: New file. 578 579 * tmac/tty.tmac: Include unicode.tmac if device is utf8. 580 581 * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac. 582 583 * NEWS: Updated. 584 5852005-03-02 Keith Marshall <keith.d.marshall@ntlworld.com> 586 587 * src/libs/libdriver/printer.cpp (check_for_output_error): New 588 function. It has been introduced to catch peculiar error contexts 589 on MS-Windows platforms. 590 5912005-02-28 Werner LEMBERG <wl@gnu.org> 592 593 * src/roff/troff/input.cpp (string_iterator::fill): Protect against 594 null pointer. 595 596 * tmac/papersize.tmac: Convert `paper' string contents to lowercase. 597 598 * configure: Regenerated. 599 600 * NEWS: Updated. 601 6022005-02-28 Keith Marshall <keith.d.marshall@ntlworld.com> 603 604 Integrate `pdfmark' into normal groff build system; 605 install macro `pdfmark' packages, build and install `pdfroff', 606 and PDF format documentation. 607 608 * Makefile.comm: Add PDFDOCDIR. 609 610 * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS, 611 pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables. 612 (unstall_dirs): Add pdfdocdir. 613 614 * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support 615 `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS. 616 (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of 617 GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT. 618 (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up. 619 (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option, 620 set ALT_AWK_PROGS. 621 (GROFF_AWK_PATH): New function; support `--with-awk' option, force 622 use of GROFF_AWK_PREFS. 623 (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH 624 and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc. 625 626 * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS. 627 Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and 628 also by modified GROFF_HTML_PROGRAMS). 629 6302005-02-27 Gaius Mulley <gaius@glam.ac.uk> 631 632 * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve 633 paragraph spacing. 634 (html_text::done_para): Unset `start_space'. 635 (html_text::remove_para_align): Call `retrieve_para_space' for the 636 spacing. 637 638 * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset 639 `seen_space'. 640 (html_printer::do_check_center): Emit vertical space if necessary. 641 642 * src/roff/troff/env.cpp (environment_switch): Preserve 643 `seen_space', `seen_eol', and `suppress_next_eol' while switching 644 environments. 645 646 * src/roff/troff/node.cpp (suppress_node::suppress_node): Set 647 `is_special'. 648 6492005-02-20 Werner LEMBERG <wl@gnu.org> 650 651 * src/preproc/eqn/eqn.man, NEWS: Document various extensions of 652 eqn. 653 6542005-02-17 Werner LEMBERG <wl@gnu.org> 655 656 * doc/pic.ms, man/groff.man: Fix typos. 657 658 * doc/groff.texinfo: Fix typos. 659 (\LEmacro): Get proper mathematical spacing. 660 6612005-02-16 Werner LEMBERG <wl@gnu.org> 662 663 * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message. 664 * configure: Regenerated with autoconf 2.59b. 665 6662005-02-16 Gaius Mulley <gaius@glam.ac.uk> 667 668 * src/devices/grohtml/post-html.cpp (html_printer::is_line_start, 669 html_printer::start_font): Fix handling of preformatted text. 670 6712005-02-15 Gaius Mulley <gaius@glam.ac.uk> 672 673 These patches modify the indentation implementation to use `<p 674 style=margin-left: n%>'. Many thanks to Peter and Larry for 675 suggesting this solution. Grohtml only uses tables for `.IP' and 676 related tags when the first operand has a short width. 677 678 Similarly, they modify all vertical space code. By default, grohtml 679 sets up a style sheet which uses no vertical space between `table', 680 `pre', and `p' tags. It forces spaces when it needs them using 681 `style="margin-top: 1em"'. 682 683 * src/devices/grohtml/html-table.cpp: Include `html-text.h'. 684 (html_table::emit_table_header, html_table::emit_new_row): 685 Rewritten. 686 (html_table::set_space): New function. 687 (html_indent::html_indent): Don't set `is_used'. 688 (html_indent::begin): Rewritten. 689 (html_indent::end): Remove code in function. 690 691 * src/devices/grohtml/html-table.h: Updated. 692 (html_table): Make `out' public. 693 694 * src/devices/grohtml/html-text.cpp (html_text::html_text): 695 Initialize `start_space' with FALSE. 696 (html_text::end_tag) <P_TAG, PRE_TAG>: Updated. 697 (html_text::issue_tag): Add argument to handle space style. 698 (html_text::start_tag) <P_TAG, PRE_TAG>: Updated. 699 (html_text::flush_text): Don't set `start_space'. 700 (html_text::push_para): Don't set `p->really_issued'. 701 (html_text::do_emittext): Updated. 702 (html_text::do_para): Add paremeter to handle space. 703 Update all callers. 704 (html_text::retrieve_para_space): New function. 705 706 * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro. 707 (tag_definition): Remove `really_issued'. 708 (html_text): Updated. 709 710 * src/devices/grohtml/post-html.cpp (html_printer): Add variables 711 `current_column' and `row_space'. 712 Update constructor. 713 (html_printer::emit_raw, html_printer::write_header, 714 html_printer::do_indent, html_printer::do_check_center, 715 html_printer::do_tab_ts): Handle vertical space. 716 (html_printer:do_tab_te, html_printer::do_end_para): Call 717 `remove_para_space'. 718 (html_printer::do_col): Rewritten. 719 (html_printer::flush_globs): Remove debugging code. 720 (html_printer::is_line_start): New function. 721 (html_printer::start_font): Use `is_line_start'. 722 (html_printer::writeHeadMetaStyle): New function. 723 (html_printer::do_file_components, html_printer::~html_printer): 724 Call `writeHeadMetaStyle'. 725 726 * tmac/www.tmac (www-handle-percent): New macro. 727 (MPIMG): Handle percent values for width and height parameters. 728 (DC): Updated. 729 730 * tmac/groff_www.man: Updated. 731 7322005-02-14 Werner LEMBERG <wl@gnu.org> 733 734 * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from 735 $psname and $italic_angle. 736 Immediately restart file input loops if `split' returns an empty 737 array. 738 7392005-02-13 Michail Vidiassov <master@iaas.msu.ru> 740 Werner LEMBERG <wl@gnu.org> 741 742 Update afmtodit to better support Unicode (Michail). 743 Update afmtodit to use Perl 5 syntax (Werner). 744 745 * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but 746 `Getopts::Std'. 747 Decorate variables with `my' where necessary. 748 Use `defined' where necessary to avoid warnings. 749 Don't use `do' for subroutine calls. 750 Other minor syntax updates. 751 Check for both `uXXXX[X[X]]' and `uniXXXX'. 752 Handle glyph variants properly. 753 (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in 754 strings. 755 756 * src/utils/afmtodit/afmtodit.man: Updated. 757 7582005-02-13 Werner LEMBERG <wl@gnu.org> 759 760 Make groff.texinfo work with texinfo 4.8. 761 762 * doc/groff.texinfo (@Var): Use @r and @slanted. 763 (@defdummy, @Def*): Use @c to avoid empty lines. 764 (\angles): Replaced with... 765 (\Langlemacro, \Ranglemacro): New TeX macros. 766 (@Langlemacro, @Ranglemacro): New variables defined with @set. 767 (@angles): Use @Langlemacro and @Ranglemacro. 768 (\LE): Replaced with... 769 (\LEmacro): New TeX macro. 770 (@LEmacro): New variable defined with @set. 771 (@LE): Use @LEmacro. 772 (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New 773 variables defined with @set. 774 (@lparen, @rparen, @lbrack, @rbrack): Replaced with... 775 (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros. 776 Update all callers. 777 778 Other minor updates. 779 780 * doc/texinfo.tex: Update to texinfo version 4.8. 781 782 * README.CVS: Updated. 783 7842005-02-09 Alejandro López-Valencia <palopez@etb.net.co> (tiny change) 785 786 * doc/groff.texinfo (ms Document Control Registers): Document `HY' 787 and `FAM' registers. 788 7892005-02-05 Werner LEMBERG <wl@gnu.org> 790 791 * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff, 792 tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac: 793 Update BSD license. 794 7952005-02-01 Werner LEMBERG <wl@gnu.org> 796 797 * src/roff/groff/groff.man: Add information about paper size. 798 7992005-01-25 Werner LEMBERG <wl@gnu.org> 800 801 * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale. From 802 NetBSD bin/29114. 803 8042005-01-22 Ruslan Ermilov <ru@FreeBSD.org> 805 806 * tmac/doc.tmac (Sm): Improved. It didn't work properly in many 807 cases. 808 (Re): Emit a warning if called without `.Rs'. 809 (doc-finish-reference): Use parameter for decreasing 810 `doc-reference-count'. 811 (doc-print-reference): Pass specific count parameters to 812 `doc-finish-reference'. 813 8142005-01-21 Werner LEMBERG <wl@gnu.org> 815 816 * src/libs/libdriver/input.cpp (delete_current_env, do_file): 817 Reset pointers to zero after deallocation. This fixes a crash 818 if a driver is called with multiple input files. Reported by 819 Ken Chilton <ken@chiltonfamily.org>. 820 821 * src/devices/grops/grops.man: Add more info on DSC. 822 8232005-01-17 Ruslan Ermilov <ru@FreeBSD.org> 824 825 * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header): 826 Remove dead code. 827 8282005-01-17 Werner LEMBERG <wl@gnu.org> 829 830 * src/roff/troff/div.cpp (top_level_diversion::space): Protect 831 against division by zero. 832 8332005-01-13 Ruslan Ermilov <ru@FreeBSD.org> 834 835 * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size. 836 8372004-12-19 Werner LEMBERG <wl@gnu.org> 838 839 * install-sh: New version; taken from texinfo CVS. 840 8412004-12-17 Werner LEMBERG <wl@gnu.org> 842 843 * tmac/devtag.tmac: Protect against loading twice. 844 Protect agains compatibility mode. 845 * tmac/www.tmac: Protect against loading twice. 846 Load `devtag.tmac' before switching off compatibility mode. 847 * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'. 848 8492004-12-16 Mike Bianchi <mbianchi@Foveal.com> 850 851 * configure.ac: Produce `contrib/gdiffmk/tests/runtests'. 852 * configure: Updated. 853 8542004-12-15 Thomas Klausner <wiz@netbsd.org> 855 856 * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library. 857 8582004-12-15 Werner LEMBERG <wl@gnu.org> 859 860 Make `test-groff' work again -- previously, wrong paths have been 861 used. Additionally, it can now be called from anywhere. 862 863 * test-groff.in: Don't test for groff binary. This is no longer 864 necessary since the proper paths are determined by `configure'. 865 (EXEEXT): Removed. No longer used. 866 (srcdir, builddir): Use values provided by the configure script. 867 (XENVIRONMENT): Updated. 868 869 * INSTALL: Updated. 870 8712004-12-14 Gaius Mulley <gaius@glam.ac.uk> 872 873 Make .tag and .taga work for all devices (but only grohtml actually 874 handles them). 875 876 * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/. 877 (text_glob::is_br, page::add_tag, html_printer::troff_tag, 878 html_printer::handle_assertion): Don't use hard-coded string 879 lengths. 880 (html_printer::lookahead_for_table): Reset `tbl' properly if 881 necessary. 882 (html_printer::devtag): New function, handling `devtag'. 883 (html_printer::special): Don't handle `html-tag'. 884 885 * src/include/printer.h, src/libs/libdriver/printer.cpp 886 (printer::devtag): New virtual function. 887 888 * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle 889 `devtag'. 890 891 * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp, 892 src/roff/troff/node.cpp: s/html-tag/devtag/. 893 894 * src/roff/troff/input.cpp (tag, taga): Always call 895 curenv->add_node. 896 897 * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG* 898 macros instead of HTML-TAG*. 899 900 * tmac/devtag.tmac: New file, defining the DEVTAG-* macros. 901 902 * tmac/www.tmac: Load devtag.tmac. 903 Replace HTML-TAG* macros with DEVTAG* macros. 904 (HTML, HTML-NS): Changed definitions. 905 (URL): Use HTML-NS. 906 (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed. 907 908 * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac. 909 9102004-12-10 Werner LEMBERG <wl@gnu.org> 911 912 Import Mike's `gdiffmk' package. 913 914 * contrib/gdiffmk/*: New files. 915 * Makefile.in (OTHERDIRS): Add contrib/gdiffmk. 916 * NEWS: Updated. 917 9182004-12-08 Werner LEMBERG <wl@gnu.org> 919 920 Import Keith's `pdfmark' package. Integration is very preliminary. 921 922 * contrib/pdfmark/*: New files. 923 * Makefile.in (OTHERDIRS): Add contrib/pdfmark. 924 * NEWS: Updated. 925 9262004-12-07 Gaius Mulley <gaius@glam.ac.uk> 927 928 Fix a bug with title handling in HTML. 929 930 * src/devices/grohtml/post-html.cpp (text_glob::is_nf, 931 text_glob::is_fi, text_glob::is_ce): Use strlen to compute string 932 length. 933 (html_printer::handle_tag_within_title): New function. 934 (html_printer::do_title): Use it. 935 936 * tmac/s.tmac (TL): Don't set `need_eo_tl'. 937 (cov*tl-au-print): Emit `.eo.tl' tag. 938 9392004-12-05 Alejandro López-Valencia <dradul@etb.net.co> 940 941 * man/groff_char.man: Minor imrovements. 942 9432004-12-04 Werner LEMBERG <wl@gnu.org> 944 945 * src/preproc/eqn/eqn.man: Revised. 946 9472004-11-25 Werner LEMBERG <wl@gnu.org> 948 949 * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other 950 groff source files. 951 Include config.h. 952 Include limits.h. 953 Remove X_NOT_STDC_ENV conditional. 954 (Version_string, program_name): New global variables. 955 (groff_flag): Removed. 956 (MapFont): Updated. 957 (usage): Take a stream as argument. 958 Use `program_name'. 959 Update all callers. 960 (main): Add `long_options' array for `--help' and `--version'. 961 Make `-g' a dummy option. 962 Handle `-v' and unknown options. 963 Remove unused `position' variable. 964 965 * src/utils/xtotroff/Makefile.sub (MAN1): Define. 966 (XLIBS): Add LIBGROFF. 967 968 * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in: 969 New files. 970 971 * src/devices/xditview/Dvi.c (default_font_map): Split into three 972 parts to avoid compiler warning. 973 (resources): Don't initialize with `default_font_map'. 974 (ClassInitialize): Initialize first element of `resources'. 975 976 * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts): 977 Removed. 978 979 * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man, 980 src/utils/pfbtops/pfbtops.man: Revised, updated. 981 982 * configure.ac: Generate src/utils/xtotroff/Makefile. 983 * configure: Regenerated. 984 9852004-11-24 Werner LEMBERG <wl@gnu.org> 986 987 First fixes to get produce HTML. 988 989 * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt' 990 attribute. 991 992 * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute. 993 (HR, LI): Use `HTML</p>', not `HTML'. 994 995 * doc/webpage.ms: Minor updates. 996 9972004-11-23 Larry Kollar <kollar@alltel.net> 998 999 Add option -S grohtml to determine the file split level. 1000 1001 * src/devices/grohtml/post-html.cpp (split_level): New global 1002 variable. 1003 (html_header::determine_header_level): Use split_level. 1004 (main): Handle `-S' command line option. 1005 Sort options. 1006 1007 * src/preproc/html/pre-html.cpp (scanArguments): Updated. 1008 1009 * src/devices/grohtml/grohtml.man: Document it. 1010 Sort options. 1011 1012 * NEWS: Document it. 1013 10142004-11-23 Y T <doarhop@hotmail.com> 1015 1016 * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling 1017 the volume and number refer entries. 1018 10192004-11-22 Werner LEMBERG <wl@gnu.org> 1020 1021 * src/devices/grohtml/html-table.cpp 1022 (html_table::emit_table_header): Don't emit `cols' attribute which 1023 doesn't exist in HTML 4.0 and is thus invalid. 1024 1025 * NEWS: More minor fixes and updates. 1026 10272004-11-18 Werner LEMBERG <wl@gnu.org> 1028 1029 * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified. 1030 (HTML</p>): Minor clean-up. 1031 1032 * tmac/groff_www.man: Updated. 1033 1034 * src/devices/grohtml/grohtml.man: Revised and updated. 1035 1036 * NEWS: Updated. 1037 10382004-11-18 Gaius Mulley <gaius@glam.ac.uk> 1039 1040 * src/devices/grohtml/post-html.cpp (html_printer::do_heading): 1041 Fix space insertion. 1042 (html_printer::do_links): Fix rules generation around automatic 1043 heading links. 1044 1045 * tmac/www.tmac (LK): Use HTML-TAG-NS. 1046 (HR): Simplify. 1047 No longer emit empty line for non-HTML devices. 1048 10492004-11-17 Werner LEMBERG <wl@gnu.org> 1050 1051 * doc/Makefile.in (prepare_examples, webpage.html): Handle 1052 `groff.css'. 1053 1054 * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD, 1055 prepare_examples, webpage.html): Handle `groff.css'. 1056 10572004-11-15 Werner LEMBERG <wl@gnu.org> 1058 1059 * NEWS, README, doc/webpage.ms: Updated. 1060 1061 * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups. 1062 10632004-10-30 Gaius Mulley <gaius@glam.ac.uk> 1064 1065 * src/include/printer.h (printer): Remove virtual function 1066 `round_width'. 1067 Update all source files. 1068 1069 * src/devices/grohtml/post-html.cpp (html_printer): New member 1070 function `round_width'. 1071 10722004-10-20 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de> 1073 1074 * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d' 1075 column key letter suffix. 1076 10772004-10-14 Werner LEMBERG <wl@gnu.org> 1078 1079 * Makefile.in (check): Depend on `site.exp' and `docheck'. 1080 (docheck): Run dejagnu's `runtest' if it exists. 1081 (site.exp): Create dejagnu configuration file. 1082 1083 * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu. 1084 10852004-10-13 Werner LEMBERG <wl@gnu.org> 1086 1087 * src/devices/grohtml/html-text.cpp (html_text_get_alignment), 1088 src/devices/grohtml/post-html.cpp (make_val, 1089 html_printer::handle_state_assertion): Fix compiler warnings. 1090 1091 * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'. 1092 (diversion::diversion): Fix order of initializers. 1093 1094 * src/roff/troff/div.h: Don't include `mtsm.h'. 1095 1096 * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'. 1097 (environment::environment): Fix order of initializers. 1098 (environment::make_tag, environment::construct_format_state): Fix 1099 compiler warnings. 1100 1101 * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'. 1102 (input_iterator::input_iterator, macro::macro): Fix order of 1103 initializers. 1104 1105 * src/roff/troff/mtsm.cpp: Include only necessary header files. 1106 (state_set::add, state_set::val): Fix compiler warnings. 1107 1108 * src/roff/troff/mtsm.h: Don't include `stringclass.h'. 1109 (bool_value_state, int_value_state, units_value_state, 1110 string_value_state): Remove comma after last element which causes 1111 an error with g++ 3.3.3. 1112 1113 * src/roff/troff/node.cpp: Include `stringclass.h'. 1114 (hline_node::hline_node, vline_node::vline_node, 1115 space_char_hmotion_node, left_italic_corrected_node): Fix compiler 1116 warnings. 1117 (zero_width_node::zero_width_node): Fix order of initializers. 1118 1119 * src/roff/troff/node.h: Don't include `mtsm.h'. 1120 (hmotion_node): Fix compiler warnings. 1121 1122 * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'. 1123 11242004-10-12 Gaius Mulley <gaius@glam.ac.uk> 1125 1126 * doc/groff.css: New file. 1127 1128 * doc/webpage.ms: Use `groff.css'. 1129 Other small fixes. 1130 1131 * tmac/an-old.tmac (need_eo_h): New number register. 1132 (TH): Emit `.eo.tl' tag after title. 1133 (SH): Set `need_eo_h'. 1134 (an-trap): Handle `need_eo_h'. 1135 (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/. 1136 1137 * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers. 1138 (TL): Always start diversion. 1139 Updated. 1140 (@AI): Always call `par@reset'. 1141 (@AB): Update code for -Thtml. 1142 (cov*tl-au-print): Handle -Thtml. 1143 (par@reset): Handle `need_eo_tl', `need_eo_h'. 1144 (@IP): Simplified. 1145 (@IT-html): Removed. 1146 (@SH): Set `need_eo_h' for -Thtml. 1147 (par@TL): s/HTML-TAG/HTMl-TAG-NS/. 1148 Set `need_eo_tl'. 1149 (@NH): s/HTML-TAG/HTMl-TAG-NS/. 1150 Set `need_eo_h' for -Thtml. 1151 (@EQ, @EN): Don't handle -Thtml specially. 1152 (par@load-init): Don't handle -Thtml specially. 1153 1154 * tmac/www.tmac (www:paraspace): New macro. 1155 (HTML-NS, HTML-TAG-NS): Use new `tag' request. 1156 (HTML</p>, HTML-TAG-NEXT): New macros. 1157 (HnE): Emit tag `.eo.h' instead of break. 1158 (HR): s/HTML-NS/HTML/. 1159 (www-end-nowhere): End diversion only if `www-html' not set. 1160 Emit `.eo.tl' tag. 1161 (ULS, ULE): s|HTML|HTML</p>|. 1162 (LI): Call `www:paraspace'. 1163 (HEAD): New macro. 1164 11652004-10-11 Gaius Mulley <gaius@glam.ac.uk> 1166 1167 * src/roff/troff/request.h (macro): Make `p' public. 1168 New variable `is_a_diversion'. 1169 New member function `is_diversion'. 1170 1171 1172 * src/devices/grohtml/html.h (simple_output): New member function 1173 `force_nl'. 1174 1175 * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix 1176 computation of `total'. 1177 (tabs::check_init): New function. 1178 (html_table::emit_table_header): Emit style data. 1179 (html_table::insert_column): Improved. 1180 1181 * src/devices/grohtml/html-table.h: Updated. 1182 1183 * src/devices/grohtml/html-text.cpp (html_text::html_text): 1184 Initialize `start_space' with TRUE. 1185 (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG' 1186 cases. 1187 (html_text::flush_text): Set `start_space' flag. 1188 (html_text::uses_indent, html_text::remove_para_space, 1189 html_text::get_alignment): New functions. 1190 (html_text::push_para): Updated. 1191 (html_text::do_para): Check for empty argument. 1192 Don't set `space_emitted'. 1193 (html_text::do_space, html_text::emit_space): Updated. 1194 1195 * src/devices/grohtml/html-text.h (tag_definition): New variable 1196 `really_issued'. 1197 (html_text): New member function `uses_indent', `remove_para_space', 1198 `get_alignment'. 1199 1200 * src/devices/grohtml/output.cpp (simple_output::force_nl): New 1201 function. 1202 (simple_output:nl): Always emit `\n'. 1203 1204 * src/devices/grohtml/post-html.cpp: Include `string.h'. 1205 (BASE_POINT_SIZE): Removed. 1206 (base_point_size, head_info): New global variables. 1207 (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl', 1208 `is_eo_h'. 1209 (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1' 1210 tags, respectively. 1211 (page::add_and_encode): Pass additional parameter for tag flag. 1212 (assert_pos): New structure. 1213 (assert_state): New class. 1214 (html_printer): Remove `indentation', `prev_indent'. 1215 Add variables `troff_indent', `device_indent', `temp_indent'. 1216 Add variables `seen_indent', `next_indent', `seen_pageoffset', 1217 `next_pageoffset', `seen_linelenght', `next_linelength', 1218 `seen_center', `next_center', `seen_space', `seen_break', `as'. 1219 Add member functions `do_check_center', `do_space', `do_head', 1220 `get_troff_indent', `restore_troff_indent', `handle_assertion', 1221 `handle_state_assertion', `do_end_para', `set_char_and_width'. 1222 Change argument to `do_fill' to `char *'. 1223 Update constructor. 1224 (html_printer::emit_raw): Call `shutdown_table'. 1225 Use new functions. 1226 (html_printer::do_center): Simplified. 1227 (html_printer::do_title): Improved. 1228 (html_printer::write_header): Emit one more newline. 1229 Use new functions. 1230 (html_printer::do_heading, html_printer::do_indent, 1231 html_printer::do_eol, html_printer::do_tab_ts, 1232 html_printer::do_tab, html_printer::do_tab0, 1233 html_printer::calc_po_in, html_printer::next_horiz_pos, 1234 html_printer::remove_courier_tabs, 1235 html_printer::insert_tab0_foreach_tab, html_printer::begin_page): 1236 Updated. 1237 (html_printer::do_linelength, html_printer::do_pageoffset, 1238 html_printer::do_indentation, html_printer::do_tempindent, 1239 html_printer::do_tab_te): Simplified. 1240 (html_printer::do_pointsize): Check whether point size is really 1241 associated a `.tl' tag. 1242 (html_printer::do_break): Rewritten. 1243 (html_printer::troff_tag): Improved. 1244 (html_printer::flush_globs): Updated. 1245 (html_printer::lookahead_for_tables): Handle `is_br'. 1246 Use new functions. 1247 (html_printer::set_char): Check `sbuf_style.f'. 1248 (html_printer::write_navigation): Use string comparison. 1249 (html_printer::~html_printer): Emit `head_info'. 1250 (html_printer::special): Rewritten. 1251 (get_str, make_val): New functions. 1252 (main): New option `s' to set the base point size. 1253 1254 * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'. 1255 12562004-10-10 Gaius Mulley <gaius@glam.ac.uk> 1257 1258 * src/roff/troff/node.cpp: New extern `debug_state'. 1259 Include `stringclass.h' and `mtsm.h'. 1260 Implement new classes and class members from `node.h'. 1261 (real_output_file): Make `fp' public. 1262 (troff_output_file): New variables `cur_div_level' and `tag_list'. 1263 Update constructors. 1264 (troff_output_file::really_print_line): Check whether we should push 1265 the current troff state and use the state at the start of the 1266 invocation of this diversion. 1267 (troff_output_file::add_to_tag_list): New member function. 1268 (node::add_char): Handle `glyph_comp_np'. 1269 1270 * src/roff/troff/node.h: Include `mtsm.h'. 1271 (node): New variables `state', `push_state', `div_nest_level', 1272 `is_special'. Update constructors, all descendants. 1273 Pass additional argument to `add_char' member function. 1274 New virtual member functions `is_tag', `debug_node', 1275 `debug_node_list'. Update all descendants. 1276 (tag_node): New class for handling tags. 1277 (output_file): Add variable `state'. 1278 12792004-10-09 Gaius Mulley <gaius@glam.ac.uk> 1280 1281 * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files, 1282 providing a minimal troff state machine to emit meta tags for the 1283 post-grohtml device driver. 1284 1285 * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new 1286 files. 1287 12882004-10-09 Werner LEMBERG <wl@gnu.org> 1289 1290 * tmac/trace.tmac: Fix handling of `am' and `am1' calls. 1291 12922004-10-06 Gaius Mulley <gaius@glam.ac.uk> 1293 1294 * src/roff/troff/column.cpp (vjustify_node::copy): Updated. 1295 1296 * src/roff/troff/div.h: Include `mtsm.h'. 1297 (diversion): New variables `any_chars_added', `needs_push', 1298 `saved_seen_break', `saved_seen_space', `saved_seen_eol', 1299 `saved_suppress_next_eol', `modified_tag'. 1300 New virtual member function `is_diversion'. Update all descendants. 1301 1302 * src/roff/troff/div.cpp (diversion::diversion, 1303 macro_diversion::macro_diversion): Updated. 1304 (do_divert): Handle `seen_break', `seen_space', `seen_eol', 1305 `suppress_next_eol'. 1306 (top_level_diversion::space): Handle `curenv->seen_space'. 1307 (page_offset): Update tag handling. 1308 (space_request, blank_line, flush_output): Don't call `add_html_tag'. 1309 1310 * src/roff/troff/env.h (environment): Make `tabs' public. 1311 Remove `ignore_next_eol', `emitted_node'. 1312 Update `output_line', `output'. 1313 New variables `seen_space', `seen_eol', `suppress_next_eol', 1314 `seen_break'. 1315 New member functions `construct_state', `make_tag', 1316 `construct_format_state, `construct_new_line_state, 1317 `dump_troff_state'. 1318 Remove `add_html_tag', `make_html_tag'. 1319 1320 * src/roff/troff/env.cpp: New externs `suppress_push', 1321 `get_diversion_state', `global_diverted_space'. 1322 (pending_output_line): New variable `was_centered'. 1323 Update constructor and all callers. 1324 (pending_output_line::output): Call `curenv->construct_format_state'. 1325 (environment::environment, environment::copy): Updated. 1326 (environment::output): Handle `was_centered'. 1327 (environment::add_char): Handle construct and diversion state. 1328 (environment::add_node): Handle construct state. 1329 (environment::newline): Handle `was_centered'. 1330 (environment::output_line): Updated. 1331 (environment::possibly_break_line): Updated. 1332 Update tag handling. 1333 (environment::add_html_tag): Replaced with... 1334 (environment::make_tag): New function. 1335 (environment::add_html_tag_tabs, environment::make_html_tag): Removed. 1336 (environment::dump_troff_state): New debugging function. 1337 (environment::construct_state, environment::construct_format_state, 1338 environment::construct_new_line_state): New functions. 1339 (environment::do_break): Updated. 1340 Handle `global_diverted_space'. 1341 (environment::handle_tag): Update tag handling. 1342 (point_size, fill, do_break_request): Don't call `add_html_tag'. 1343 (no_fill): Don't call `add_html_tag'. 1344 Set `suppress_next_eol'. 1345 (center, right_justify, line_length, indent, temporary_indent, 1346 set_tabs): 1347 Update tag handling. 1348 1349 * src/roff/troff/input.cpp: Don't include `stringclass.h'. 1350 (input_iterator): New variables `is_diversion', `diversion_state'. 1351 Update constructors. 1352 (input_stack): New member functions `get_div_level', 1353 `get_diversion_state', `check_end_diversion'. 1354 New variables `div_level', `diversion_state'. Initialize them. 1355 (suppress_push, global_diverted_space): New global variables. 1356 (input_stack::finish_get, input_stack::finish_peek, 1357 input_stack::remove_boundary, input_stack::end_file, 1358 input_stack::clear, input_stack::pop_macro): Call 1359 `check_end_diversion'. 1360 (input_stack::push): Handle `div_level' and `diversion_state'. 1361 (get_diversion_state): New function. 1362 (diverted_space_node::reread): Handle `global_diverted_space'. 1363 (macro::macro): Update constructors. 1364 (macro::is_diversion): New function. 1365 (macro::operator=): Set `is_a_diversion'. 1366 (string_iterator): New member function `is_diversion'. 1367 (string_iterator::string_iterator): Update constructors. 1368 (string_iterator::fill): Set `div_nest_level'. 1369 (macro_iterator): New member function `is_diversion'. 1370 (do_if_request): Handle `suppress_push'. 1371 (tag, taga): New functions. 1372 (init_input_requests): Add `tag' and `taga' requests. 1373 13742004-10-05 Gaius Mulley <gaius@glam.ac.uk> 1375 1376 * src/include/font.h (font): New member function 1377 `get_image_generator'. 1378 New variables `unscaled_charwidths' and `image_generator'. 1379 1380 * src/libs/libgroff/font.cpp (font::get_width): Always return the 1381 character's unscaled width if `font::unscaled_charwidths' is set. 1382 (font::get_image_generator): New function. 1383 (font::load_desc): Check the `unscaled_charwidths' and 1384 `image_generator' keywords. 1385 1386 * src/libs/libgroff/fontfile.cpp: Initialize 1387 `font::unscaled_charwidths' and `font::image_generator'. 1388 1389 * font/devhtml/DESC.proto: s/html/unscaled_charwidths/. 1390 1391 * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword. 1392 1393 * man/groff_font.man: Document `unscaled_charwidths' and 1394 `image_generator'. 1395 1396 * src/preproc/html/pre-html.cpp: Include `device.h'. 1397 (image_gen): New global variable. 1398 (imageList::createPage): Use `image_gen'. 1399 (main): Use `image_generator' keyword. 1400 14012004-10-04 Gaius Mulley <gaius@glam.ac.uk> 1402 1403 * tmac/html.tmac: Handle \[sqrtex]. 1404 14052004-10-04 Gaius Mulley <gaius@glam.ac.uk> 1406 1407 * src/include/printer.h (printer): New virtual method `round_width'. 1408 1409 * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp, 1410 src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp, 1411 src/devices/grotty/tty.cpp (printer::round_width): New function 1412 member. 1413 1414 * src/devices/grohtml/post-html.cpp (printer::round_width): New 1415 function member. 1416 (html_printer::set_numbered_char): Use it. 1417 14182004-10-03 Gaius Mulley <gaius@glam.ac.uk> 1419 1420 * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro. 1421 1422 * configure.ac: Call GROFF_GHOSTSCRIPT_PATH. 1423 1424 * configure: Regenerated. 1425 1426 * Makefile.in (GHOSTSCRIPT): New variable. 1427 (MDEFINES): Add GHOSTSCRIPT. 1428 14292004-10-03 Werner LEMBERG <wl@gnu.org> 1430 1431 * INSTALL.gen: Updated (taken from texinfo CVS). 1432 14332004-09-28 Werner LEMBERG <wl@gnu.org> 1434 1435 * NEWS: Updated. 1436 14372004-09-28 Heinz-Jürgen Oertel <hj.oertel@surfeu.de> 1438 1439 * tmac/groff_www.man: Revised and updated. 1440 14412004-09-26 Werner LEMBERG <wl@gnu.org> 1442 1443 Fix \$@ and \$* to handle any number of arguments. 1444 1445 * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special 1446 characters. 1447 1448 * src/roff/troff/input.cpp (input_iterator::internal_level): 1449 Removed. 1450 (input_stack): New member functions `increase_level' and 1451 `decrease_level'. 1452 (input_stack::get_level): Don't use `internal_level'. 1453 (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE. 1454 (end_quote_iterator): Completely removed. 1455 (interpolate_arg): Build string for \$@ and \$* which is then 1456 pushed onto the input stack. 1457 14582004-09-23 Keith Marshall <keith.d.marshall@ntlworld.com> 1459 1460 * tmac/groff_ms.man, doc/groff.texinfo: Document changes from 1461 2004-09-19. 1462 14632004-09-23 Werner LEMBERG <wl@gnu.org> 1464 1465 * tmac/an-old.tmac (ne): Using default scaling operator. 1466 14672004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com> 1468 1469 This change implements the following features: 1470 1471 PORPHANS 1472 New numeric register: Defines number of lines following LP, PP, 1473 QP, IP or XP, which must be kept together, before any automatic 1474 page break. If insufficient space remains on the current page, a 1475 page break is forced before the new paragraph begins. 1476 1477 HORPHANS 1478 New numeric register: Sets number of lines of following paragraph 1479 which must be kept with a heading, defined by NH or SH, before any 1480 automatic page break. If insufficient space remains on the 1481 current page, a page break is forced before the heading. 1482 1483 GROWPS 1484 (Thanks to Joerg van den Hoff, for this idea). 1485 1486 New numeric register: Sets the first level of heading (set with 1487 NH), which will keep the same point size as body text; e.g. if 1488 GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the 1489 point size specified by \n[PS], but .NH 2 and .NH 1 will have 1490 progressively larger point sizes, determined by \n[PSINCR] (see 1491 below). 1492 1493 PSINCR 1494 New numeric register: Sets the point size increment for each level 1495 of heading, (set with NH), below the threshold level set by 1496 GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p, 1497 then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt, 1498 and all other levels will remain at 10pt, (because \n[PS] = 10). 1499 1500 SH 1501 Existing macro now accepts a numeric argument, to make heading 1502 size match that of NH with same argument value, when the 1503 GROWPS/PSINCR feature is enabled. 1504 1505 SN-DOT 1506 New string, set by NH macro, replaces the existing (undocumented) 1507 use of SN, to represent the assigned section number. 1508 1509 SN-NO-DOT 1510 New string, set by NH macro, represents the assigned section 1511 number, but omits the terminal period (periods at intermediate 1512 levels are retained). 1513 1514 SN 1515 String set by NH macro, originally undocumented, now implemented 1516 as an alias for SN-DOT (which reproduces original behaviour). 1517 1518 * tmac/s.tmac (PORPHANS): New register. 1519 (par*start): Use it. 1520 (HORPHANS, GROWPS, PSINCR): New register…
Large files files are truncated, but you can click here to view the full file