/contrib/groff/ChangeLog
https://bitbucket.org/freebsd/freebsd-head/ · #! · 5253 lines · 3763 code · 1490 blank · 0 comment · 0 complexity · ae2fa7f9f0bc4256c543a88a085551af MD5 · raw file
Large files are truncated click here to view the full file
- 2005-09-04 Werner LEMBERG <wl@gnu.org>
- * tmac/groff_ms.man, doc/groff.texinfo: Synchronize.
- * doc/webpage.ms: Updated.
- * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
- 2005-09-04 Jörgen Grahn <jgrahn@algonet.se>
- * tmac/groff_ms.man: Document `PO' better.
- 2005-09-03 Werner LEMBERG <wl@gnu.org>
- * NEWS: Document grotty changes.
- 2005-09-01 Keith Marshall <keith.d.marshall@ntlworld.com>
- Backward compatibility support for `man' program.
- * tmac/an-old.tmac (LL): Initialize it to respect prior LL register
- assignment, prior `.ll' request and then package defaults, in this
- specified order of decreasing priority.
- * tmac/groff_man.man, doc/groff.texinfo: Document altered `LL'
- register initialization priorities.
- 2005-08-29 Gary W. Swearingen <garys@opusnet.com>
- * tmac/groff_mdoc.man: Go into more details how the `AUTHORS'
- section should look like.
- 2005-08-29 Werner LEMBERG <wl@gnu.org>
- * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't
- be abbreviated.
- 2005-08-27 Bernd Warken
- * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor
- fixes.
- 2005-08-11 Bernd Warken
- * tmac/www.tmac (URL, MTO): Handle empty \\$1 better.
- 2005-08-09 Bernd Warken
- * tmac/www.tmac (URL, MTO): Use bold series if color support is
- deactivated.
- 2005-08-02 Bernd Warken
- * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete
- as argument to $(INSTALL_INFO). The latter isn't portable.
- Remove $(HTMLEXAMPLEFILES) too.
- * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and
- $(datadir)/doc too.
- Suppress warning messages and return always true.
- * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too.
- 2005-07-02 Bernd Warken
- * src/devices/xditview/gxditview.man: Change many `.I' to `.B'.
- * man/groff_out.man: More markup and minor improvements.
- * src/roff/groff/groff.man: Minor improvements.
- 2005-06-28 Werner LEMBERG <wl@gnu.org>
- * ChangeLog: Split off older entries into...
- * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New
- files.
- 2005-06-26 Bernd Warken
- * src/devices/xditview/gxditview.man: More minor fixes.
- 2005-06-24 Werner LEMBERG <wl@gnu.org>
- * src/preproc/pic/troff.cpp (troff_output::set_fill,
- troff_output::set_color, troff_output::reset_color): Use .bcolor and
- .fcolor instead of \m and \M, respectively.
- 2005-06-23 Bernd Warken
- * src/devices/xditview/gxditview.man: More minor fixes.
- * README: Formatting issues.
- Mention some problems with Debian.
- 2005-06-23 Bernd Warken
- * src/devices/xditview/gxditview.man: Revised and improved.
- 2005-06-22 Werner LEMBERG <wl@gnu.org>
- Another round in fixing getopt problems. Hopefully the last one!
- This time we use the getopt stuff from gnulib and define a prefix
- unconditionally so that there are no collisions with any other
- getopt implementations. This is a slight waste of space in case
- we already use a GNU getopt implementation, but on
- the other hand it really simplifies life.
- * src/include/getopt.h: Use gnulib version.
- * src/include/getopt_int.h: Use gnulib version.
- * src/include/groff-getopt.h: Removed. Obsolete now.
- * src/include/lib.h: Regarding getopt, don't handle any platform
- specially; just include getopt.h.
- (__GETOPT_PREFIX): Define (before getopt.h).
- * src/include/Makefile.sub (HDRS): Updated.
- * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use
- gnulib version.
- * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set
- __GETOPT_PREFIX.
- * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c
- (__GETOPT_PREFIX): Define (before getopt.h).
- 2005-06-21 Werner LEMBERG <wl@gnu.org>
- * src/include/lib.h: Provide a fix for Mac OS X to not include
- groff-getopt.h.
- 2005-06-20 Denis M. Wilson <dmw@oxytropis.plus.com>
- * font/devps/prologue.ps (EP): Dont' use `bind'. Reason: Using
- `bind' to define a procedure which contains `showpage' means that an
- invocation of `showpage' may execute wrongly (the exact effect
- depending on the interpreter). Not usually a problem except under
- transformations, such as combining pages.
- (PEND): Don't call `clear'. Reason: Using `clear' in the definition
- of /PEND means that stack underflow will occur if the stack is
- deliberately non-empty before document inclusion. If included
- files are found to be generally badly behaved, we could replace the
- `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've
- never found this necessary).
- 2005-06-20 Jörgen Grahn <jgrahn@algonet.se>
- * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero
- earlier to get correct error message.
- 2005-06-16 Bernd Warken
- * src/roff/nroff/nroff.sh: Add support for iso-8859-15.
- 2005-06-15 Werner LEMBERG <wl@gnu.org>
- Another try to update getopt files. This time we add a dummy
- gettext.h file to satisfy the dependency.
- * src/include/getopt.h, src/libs/libgroff/getopt.c,
- src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
- * src/include/getopt_int.h: New file (from GNU libc CVS).
- * src/include/gettext.h: Dummy file which just defines a gettext()
- macro.
- * src/include/groff-getopt.h: Updated.
- * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h.
- * src/libs/libdriver/input.cpp (IntArray): Remove superfluous
- `const' keywords in return value.
- * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer):
- Remove redundant variable `old'.
- (pushBackBuffer::skipToNewline): Remove redundant variable `ch'.
- * src/preproc/tbl/main.cpp (process_table): Remove redundant
- variable `c'.
- Fix more friend name injection problems since modern C++ compilers
- fail otherwise. We simply provide (global) declarations for all
- functions declared as friends. This is not really necessary but
- doesn't harm.
- * src/preproc/eqn/lex.cpp: Provide declarations for get_char,
- peek_char, and get_location.
- * src/preproc/refer/ref.h: Provide declarations for
- compare_reference, same_reference, same_year, same_date,
- same_author_last_name, and same_author_name.
- * src/roff/troff/div.h: Provide declarations for do_divert and
- page_offset.
- * src/roff/troff/env.h: Provide declarations for title_length,
- space_size, fill, no_fill, adjust, no_adjust, center, right_justify,
- vertical_spacing, post_vertical_spacing, line_spacing, line_length,
- indent, temporary_indent, do_underline, do_input_trap, set_tabs,
- margin_character, no_number, number_lines, leader_character,
- tab_character, hyphenate_request, no_hyphenate,
- hyphen_line_max_request, hyphenation_space_request,
- hyphenation_margin_request, line_width, tabs_save, tabs_restore,
- line_tabs_request, widow_control_request, and do_divert.
- * src/roff/troff/input.cpp: Provide declaration for chop_macro.
- * src/roff/troff/node.cpp: Provide declarations for class
- tfont_spec.
- Provide declaration for make_tfont.
- 2005-05-29 Werner LEMBERG <wl@gnu.org>
- * doc/fdl.texi: Updated to version 1.2. Reported by Bernd Warken.
- 2005-05-28 Werner LEMBERG <wl@gnu.org>
- * contrib/pdfmark/Makefile.sub (.ms.pdf): Use `--stylesheet', not
- `--style'.
- * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove
- redundant semicolons.
- * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub,
- src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub:
- Define `MLIB'. Some compilers need this for linking with libgroff.
- 2005-05-27 Werner LEMBERG <wl@gnu.org>
- * MANIFEST, README, doc/webpage.ms: Updated.
- 2005-05-26 Werner LEMBERG <wl@gnu.org>
- * All affected files: Update postal address of FSF.
- 2005-05-25 Keith Marshall <keith.d.marshall@ntlworld.com>
- Bernd Warken
- * README: More fixes.
- * README.CVS: Removed. Its contents is now part of the README file.
- 2005-05-21 Werner LEMBERG <wl@gnu.org>
- * README: Updated. Based on a patch from Bernd Warken.
- 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
- Miscellaneous script portability enhancements.
- * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
- generated conftest.sh script, conforming to portability
- recommendation in autoconf docs.
- * configure: Likewise, for code generated by GROFF_CSH_HACK.
- * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
- to portability recommendation in autoconf docs.
- * contrib/gdiffmk/gdiffmk.sh: Likewise.
- * contrib/gdiffmk/tests/runtests.in: Likewise.
- * contrib/grap2graph/grap2graph.sh: Likewise.
- * contrib/groffer/groffer.sh: Likewise.
- * contrib/mm/mmroff.pl: Likewise.
- * contrib/mom/momdoc/appendices.html: Likewise.
- * contrib/pic2graph/pic2graph.sh: Likewise.
- * font/devps/generate/afmname: Likewise.
- * src/devices/xditview/ad2c: Likewise.
- * src/preproc/eqn/neqn.sh: Likewise.
- * src/roff/grog/grog.pl: Likewise.
- * src/roff/grog/grog.sh: Likewise.
- * src/roff/nroff/nroff.sh: Likewise.
- * PROBLEMS: Likewise, in embedded script examples.
- 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
- Improve portability of `pdfroff' shell script.
- * arch/misc/shdeps.sh: Add space in shebang, conforming to
- portability guidelines in `autoconf' docs.
- (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
- initialization code. Used by contrib/pdfmark/pdfroff.sh's
- `searchpath' function.
- 2005-05-14 Werner LEMBERG <wl@gnu.org>
- * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
- contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
- needed for newer ImageMagick versions.
- 2005-05-07 Werner LEMBERG <wl@gnu.org>
- * src/preproc/refer/refer.man: Many small typographic fixes.
- 2005-05-06 Jeff Conrad <jeff_conrad@msn.com>
- * src/devices/grohtml/post-html.cpp (assert_state::~assert_state):
- Use `char *' cast for a_delete.
- 2005-05-03 Werner LEMBERG <wl@gnu.org>
- * src/libs/libgroff/maxpathname.cpp: Include stdlib.h.
- src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
- 2005-05-03 Jeff Conrad <jeff_conrad@msn.com>
- * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using
- `a_delete' for `const char *'.
- 2005-05-03 Werner LEMBERG <wl@gnu.org>
- * src/devices/grohtml/post-html.cpp,
- src/devices/grohtml/html-table.cpp,
- src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp:
- Replace malloc/free with new/delete/a_delete.
- * src/devices/grolbp/lbp.h: Remove superfluous semicolons which
- are prohibited with ANSI C++.
- (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the
- function has a variable number of arguments).
- * src/preproc/grn/main.cpp (doinput): Change return type to `int'.
- Simplify function and update all callers.
- 2005-05-02 Werner LEMBERG <wl@gnu.org>
- Undo getopt changes from 2005-04-30. We don't want a dependency
- on gettext.
- * src/include/getopt_int.h: Removed.
- * src/include/getopt.h, src/include/groff-getopt.h,
- src/include/Makefile.sub, src/libs/libgroff/getopt.c,
- src/libs/libgroff/getopt1.c: Revert to previous version.
- * src/include/nonposix.h (access) [_MSC_VER]: New macro.
- * src/include/posix.h (F_OK): Define conditionally.
- * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
- different variable name in second `for' loop to avoid MSVC compiler
- problem.
- 2005-04-30 Werner LEMBERG <wl@gnu.org>
- AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
- * aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
- * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
- * configure, src/include/config.hin: Regenerated.
- * PROBLEMS: Updated.
- Update getopt files.
- * src/include/getopt.h, src/libs/libgroff/getopt.c,
- src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
- * src/include/getopt_int.h: New file (from GNU libc CVS).
- * src/include/groff-getopt.h: Updated.
- * src/include/Makefile.sub (HDRS): Add getopt_int.h.
- * font/devutf8/NOTES: Updated.
- 2005-04-28 Werner LEMBERG <wl@gnu.org>
- Bug fix for Win32 relocatable code. Based on a patch from Keith
- Marshall.
- * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
- also.
- * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
- (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
- 2005-04-28 Keith Marshall <keith.d.marshall@ntlworld.com>
- Correct `gnu.eps' handling for build from distribution tarball, with
- separate source and build directories.
- * doc/Makefile.sub: (examples.stamp): New target; forces copy of
- grnexmpl.g, groff.css and gnu.eps from source to build directory;
- generate gnu.eps from gnu.xpm if required; touch examples.stamp.
- (prepare_examples): Make it depend on examples.stamp.
- (CLEANADD): Add examples.stamp.
- 2005-04-27 Werner LEMBERG <wl@gnu.org>
- Implement the rule
- position: '(' position ')'
- in pic.
- * src/preproc/pic/pic.y (position, position_not_place): Handle
- additional parentheses.
- * doc/pic.ms: Updated.
- 2005-04-23 Larry Jones <lawrence.jones@ugs.com>
- * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
- 2005-04-18 Werner LEMBERG <wl@gnu.org>
- * src/roff/groff/pipeline.c: Don't include ctype.h.
- 2005-04-13 Werner LEMBERG <wl@gnu.org>
- * src/roff/nroff/nroff.man: Document option `-M'.
- 2005-04-13 Bruce Lilly <blilly@erols.com>
- * src/roff/nroff/nroff.sh: Make the script accept option `-M'.
- 2005-04-01 Kees Zeelenberg <kzlg@users.sourceforge.net>
- Werner LEMBERG <wl@gnu.org>
- Add binary relocation support for Windows platforms.
- * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'.
- * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files.
- * src/libs/libgroff/searchpath.cpp: Handle `relocate'.
- (search_path::search_path, search_path::open_file_cautious): Use
- `relocate'.
- * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
- src/include/Makefile.sub (HDRS): Updated.
- 2005-04-01 Werner LEMBERG <wl@gnu.org>
- * src/devices/grohtml/post-html.cpp: Don't use strdup/free but
- strsave/a_delete.
- * src/libs/libgroff/font.cpp: Replace strdup with strsave.
- * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since
- lib.h already does it.
- * src/libs/libgroff/maxpathname.cpp: New file, defining
- path_name_max.
- * src/include/lib.h: Add prototype for path_name_max.
- * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated.
- * src/include/nonposix.h (PATH_EXT): New macro.
- 2005-03-28 Werner LEMBERG <wl@gnu.org>
- Add support for double- and zero-width characters in grotty.
- * src/devices/grotty/tty.cpp (glyph): Add width.
- (tty_printer::make_underline, tty_printer::make_bold,
- tty_printer::add_character): Add parameter to pass character width.
- Update all callers.
- (tty_printer::end_page): Increase hpos by actual character width.
- * font/devutf8/R.proto: Specify zero width for non-spacing
- characters.
- * tmac/unicode.tmac: Remove definitions for non-spacing entities.
- * Makefile.comm (extraclean): Remove more junk files.
- 2005-03-25 Werner LEMBERG <wl@gnu.org>
- * configure.ac: Undo change from 2005-03-24.
- * configure: Regenerated.
- 2005-03-24 Werner LEMBERG <wl@gnu.org>
- * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests.
- (dist): Search Makefile while descending into $(EXTRADIRS).
- * doc/Makefile.in (.PHONY): Add.
- (clean): Don't remove *.png and *.eps.
- Don't handle *.gif.
- (realclean): Remove *.png and *.eps.
- (extraclean): Depend on distclean.
- * configure.ac: Add copyright.
- Handle contrib/pdfmark/Makefile.
- * configure: Regenerated.
- 2005-03-18 Larry Kollar <kollar@alltel.net>
- Add numbered and definition lists to www.tmac.
- * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
- www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
- auxiliary string registers.
- (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
- www-ol-ctr3, www-dl-shift): New auxiliary number registers.
- (www-level): Removed.
- (www-level1, www-level2, www-level3): Initialize to empty.
- (www-level0, www-level4, www-level5, www-level6, www-level7,
- www-level8, www-level9): New string registers.
- (www-push-li, www-pop-li): New macros.
- (www-push-level, www-pop-level): Renamed to...
- (www-push-ul-level, www-pop-ul-level): This.
- Updated.
- (www-push-ol-level, www-pop-ol-level): New macros.
- (ULS, ULE): Updated.
- (OLS, OLE, DLS, DLE): New user macros.
- (LI): Removed. It is aliased to one of...
- (www-li-ul, www-li-ol, www-li-dl): New macros.
- * tmac/groff_www.man: Document new macros.
- * NEWS: Updated.
- 2005-03-18 Werner LEMBERG <wl@gnu.org>
- * tmac/doc-common (doc-operating-system-NetBSD-2.0.1,
- doc-operating-system-NetBSD-2.0.2): New strings.
- * tmac/groff_mdoc.man: Updated.
- 2005-03-17 Werner LEMBERG <wl@gnu.org>
- * doc/Makefile.sub (CLEANADD): Add `groff.html'.
- 2005-03-17 Werner LEMBERG <wl@gnu.org>
- * src/libs/libgroff/hypot.c: Renamed to...
- * src/libs/libgroff/hypot.cpp: This. Updated to C++.
- * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
- * src/include/lib.h: Updated.
- 2005-03-16 Werner LEMBERG <wl@gnu.org>
- Add workaround for broken hypot() on Interix.
- * src/libs/libgroff/hypot.c: New wrapper file for `hypot'.
- * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'.
- (CSRCS): Add `hypot.c'.
- * src/include/lib.h: Declare `groff_hypot'.
- * src/preproc/grn/hgraph.cpp: Don't declare `hypot'.
- Use `groff_hypot'.
- * src/preproc/pic/pic.h: Don't declare `hypot'.
- * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'.
- 2005-03-15 Gaius Mulley <gaius@glam.ac.uk>
- * src/devices/grohtml/post-html.cpp
- (html_printer::lookahead_for_tables): End .ce properly to avoid a
- segfault.
- 2005-03-15 Werner LEMBERG <wl@gnu.org>
- makeinfo 4.8 doesn't produce good HTML output from groff.texinfo.
- * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output.
- * doc/Makefile.in (.texinfo.html): Call fixinfo.sh.
- 2005-03-14 Werner LEMBERG <wl@gnu.org>
- Add Cyrillic support to devutf8 and devhtml.
- * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks.
- * tmac/unicode.tmac: New file.
- * tmac/tty.tmac: Include unicode.tmac if device is utf8.
- * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac.
- * NEWS: Updated.
- 2005-03-02 Keith Marshall <keith.d.marshall@ntlworld.com>
- * src/libs/libdriver/printer.cpp (check_for_output_error): New
- function. It has been introduced to catch peculiar error contexts
- on MS-Windows platforms.
- 2005-02-28 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/input.cpp (string_iterator::fill): Protect against
- null pointer.
- * tmac/papersize.tmac: Convert `paper' string contents to lowercase.
- * configure: Regenerated.
- * NEWS: Updated.
- 2005-02-28 Keith Marshall <keith.d.marshall@ntlworld.com>
- Integrate `pdfmark' into normal groff build system;
- install macro `pdfmark' packages, build and install `pdfroff',
- and PDF format documentation.
- * Makefile.comm: Add PDFDOCDIR.
- * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
- pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
- (unstall_dirs): Add pdfdocdir.
- * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support
- `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS.
- (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
- GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
- (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
- (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
- set ALT_AWK_PROGS.
- (GROFF_AWK_PATH): New function; support `--with-awk' option, force
- use of GROFF_AWK_PREFS.
- (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
- and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
- * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS.
- Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
- also by modified GROFF_HTML_PROGRAMS).
- 2005-02-27 Gaius Mulley <gaius@glam.ac.uk>
- * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve
- paragraph spacing.
- (html_text::done_para): Unset `start_space'.
- (html_text::remove_para_align): Call `retrieve_para_space' for the
- spacing.
- * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset
- `seen_space'.
- (html_printer::do_check_center): Emit vertical space if necessary.
- * src/roff/troff/env.cpp (environment_switch): Preserve
- `seen_space', `seen_eol', and `suppress_next_eol' while switching
- environments.
- * src/roff/troff/node.cpp (suppress_node::suppress_node): Set
- `is_special'.
- 2005-02-20 Werner LEMBERG <wl@gnu.org>
- * src/preproc/eqn/eqn.man, NEWS: Document various extensions of
- eqn.
- 2005-02-17 Werner LEMBERG <wl@gnu.org>
- * doc/pic.ms, man/groff.man: Fix typos.
- * doc/groff.texinfo: Fix typos.
- (\LEmacro): Get proper mathematical spacing.
- 2005-02-16 Werner LEMBERG <wl@gnu.org>
- * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
- * configure: Regenerated with autoconf 2.59b.
- 2005-02-16 Gaius Mulley <gaius@glam.ac.uk>
- * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
- html_printer::start_font): Fix handling of preformatted text.
- 2005-02-15 Gaius Mulley <gaius@glam.ac.uk>
- These patches modify the indentation implementation to use `<p
- style=margin-left: n%>'. Many thanks to Peter and Larry for
- suggesting this solution. Grohtml only uses tables for `.IP' and
- related tags when the first operand has a short width.
- Similarly, they modify all vertical space code. By default, grohtml
- sets up a style sheet which uses no vertical space between `table',
- `pre', and `p' tags. It forces spaces when it needs them using
- `style="margin-top: 1em"'.
- * src/devices/grohtml/html-table.cpp: Include `html-text.h'.
- (html_table::emit_table_header, html_table::emit_new_row):
- Rewritten.
- (html_table::set_space): New function.
- (html_indent::html_indent): Don't set `is_used'.
- (html_indent::begin): Rewritten.
- (html_indent::end): Remove code in function.
- * src/devices/grohtml/html-table.h: Updated.
- (html_table): Make `out' public.
- * src/devices/grohtml/html-text.cpp (html_text::html_text):
- Initialize `start_space' with FALSE.
- (html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
- (html_text::issue_tag): Add argument to handle space style.
- (html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
- (html_text::flush_text): Don't set `start_space'.
- (html_text::push_para): Don't set `p->really_issued'.
- (html_text::do_emittext): Updated.
- (html_text::do_para): Add paremeter to handle space.
- Update all callers.
- (html_text::retrieve_para_space): New function.
- * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
- (tag_definition): Remove `really_issued'.
- (html_text): Updated.
- * src/devices/grohtml/post-html.cpp (html_printer): Add variables
- `current_column' and `row_space'.
- Update constructor.
- (html_printer::emit_raw, html_printer::write_header,
- html_printer::do_indent, html_printer::do_check_center,
- html_printer::do_tab_ts): Handle vertical space.
- (html_printer:do_tab_te, html_printer::do_end_para): Call
- `remove_para_space'.
- (html_printer::do_col): Rewritten.
- (html_printer::flush_globs): Remove debugging code.
- (html_printer::is_line_start): New function.
- (html_printer::start_font): Use `is_line_start'.
- (html_printer::writeHeadMetaStyle): New function.
- (html_printer::do_file_components, html_printer::~html_printer):
- Call `writeHeadMetaStyle'.
- * tmac/www.tmac (www-handle-percent): New macro.
- (MPIMG): Handle percent values for width and height parameters.
- (DC): Updated.
- * tmac/groff_www.man: Updated.
- 2005-02-14 Werner LEMBERG <wl@gnu.org>
- * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
- $psname and $italic_angle.
- Immediately restart file input loops if `split' returns an empty
- array.
- 2005-02-13 Michail Vidiassov <master@iaas.msu.ru>
- Werner LEMBERG <wl@gnu.org>
- Update afmtodit to better support Unicode (Michail).
- Update afmtodit to use Perl 5 syntax (Werner).
- * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
- `Getopts::Std'.
- Decorate variables with `my' where necessary.
- Use `defined' where necessary to avoid warnings.
- Don't use `do' for subroutine calls.
- Other minor syntax updates.
- Check for both `uXXXX[X[X]]' and `uniXXXX'.
- Handle glyph variants properly.
- (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
- strings.
- * src/utils/afmtodit/afmtodit.man: Updated.
- 2005-02-13 Werner LEMBERG <wl@gnu.org>
- Make groff.texinfo work with texinfo 4.8.
- * doc/groff.texinfo (@Var): Use @r and @slanted.
- (@defdummy, @Def*): Use @c to avoid empty lines.
- (\angles): Replaced with...
- (\Langlemacro, \Ranglemacro): New TeX macros.
- (@Langlemacro, @Ranglemacro): New variables defined with @set.
- (@angles): Use @Langlemacro and @Ranglemacro.
- (\LE): Replaced with...
- (\LEmacro): New TeX macro.
- (@LEmacro): New variable defined with @set.
- (@LE): Use @LEmacro.
- (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
- variables defined with @set.
- (@lparen, @rparen, @lbrack, @rbrack): Replaced with...
- (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
- Update all callers.
- Other minor updates.
- * doc/texinfo.tex: Update to texinfo version 4.8.
- * README.CVS: Updated.
- 2005-02-09 Alejandro López-Valencia <palopez@etb.net.co> (tiny change)
- * doc/groff.texinfo (ms Document Control Registers): Document `HY'
- and `FAM' registers.
- 2005-02-05 Werner LEMBERG <wl@gnu.org>
- * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
- tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
- Update BSD license.
- 2005-02-01 Werner LEMBERG <wl@gnu.org>
- * src/roff/groff/groff.man: Add information about paper size.
- 2005-01-25 Werner LEMBERG <wl@gnu.org>
- * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale. From
- NetBSD bin/29114.
- 2005-01-22 Ruslan Ermilov <ru@FreeBSD.org>
- * tmac/doc.tmac (Sm): Improved. It didn't work properly in many
- cases.
- (Re): Emit a warning if called without `.Rs'.
- (doc-finish-reference): Use parameter for decreasing
- `doc-reference-count'.
- (doc-print-reference): Pass specific count parameters to
- `doc-finish-reference'.
- 2005-01-21 Werner LEMBERG <wl@gnu.org>
- * src/libs/libdriver/input.cpp (delete_current_env, do_file):
- Reset pointers to zero after deallocation. This fixes a crash
- if a driver is called with multiple input files. Reported by
- Ken Chilton <ken@chiltonfamily.org>.
- * src/devices/grops/grops.man: Add more info on DSC.
- 2005-01-17 Ruslan Ermilov <ru@FreeBSD.org>
- * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
- Remove dead code.
- 2005-01-17 Werner LEMBERG <wl@gnu.org>
- * src/roff/troff/div.cpp (top_level_diversion::space): Protect
- against division by zero.
- 2005-01-13 Ruslan Ermilov <ru@FreeBSD.org>
- * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
- 2004-12-19 Werner LEMBERG <wl@gnu.org>
- * install-sh: New version; taken from texinfo CVS.
- 2004-12-17 Werner LEMBERG <wl@gnu.org>
- * tmac/devtag.tmac: Protect against loading twice.
- Protect agains compatibility mode.
- * tmac/www.tmac: Protect against loading twice.
- Load `devtag.tmac' before switching off compatibility mode.
- * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
- 2004-12-16 Mike Bianchi <mbianchi@Foveal.com>
- * configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
- * configure: Updated.
- 2004-12-15 Thomas Klausner <wiz@netbsd.org>
- * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
- 2004-12-15 Werner LEMBERG <wl@gnu.org>
- Make `test-groff' work again -- previously, wrong paths have been
- used. Additionally, it can now be called from anywhere.
- * test-groff.in: Don't test for groff binary. This is no longer
- necessary since the proper paths are determined by `configure'.
- (EXEEXT): Removed. No longer used.
- (srcdir, builddir): Use values provided by the configure script.
- (XENVIRONMENT): Updated.
- * INSTALL: Updated.
- 2004-12-14 Gaius Mulley <gaius@glam.ac.uk>
- Make .tag and .taga work for all devices (but only grohtml actually
- handles them).
- * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
- (text_glob::is_br, page::add_tag, html_printer::troff_tag,
- html_printer::handle_assertion): Don't use hard-coded string
- lengths.
- (html_printer::lookahead_for_table): Reset `tbl' properly if
- necessary.
- (html_printer::devtag): New function, handling `devtag'.
- (html_printer::special): Don't handle `html-tag'.
- * src/include/printer.h, src/libs/libdriver/printer.cpp
- (printer::devtag): New virtual function.
- * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
- `devtag'.
- * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
- src/roff/troff/node.cpp: s/html-tag/devtag/.
- * src/roff/troff/input.cpp (tag, taga): Always call
- curenv->add_node.
- * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
- macros instead of HTML-TAG*.
- * tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
- * tmac/www.tmac: Load devtag.tmac.
- Replace HTML-TAG* macros with DEVTAG* macros.
- (HTML, HTML-NS): Changed definitions.
- (URL): Use HTML-NS.
- (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
- * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
- 2004-12-10 Werner LEMBERG <wl@gnu.org>
- Import Mike's `gdiffmk' package.
- * contrib/gdiffmk/*: New files.
- * Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
- * NEWS: Updated.
- 2004-12-08 Werner LEMBERG <wl@gnu.org>
- Import Keith's `pdfmark' package. Integration is very preliminary.
- * contrib/pdfmark/*: New files.
- * Makefile.in (OTHERDIRS): Add contrib/pdfmark.
- * NEWS: Updated.
- 2004-12-07 Gaius Mulley <gaius@glam.ac.uk>
- Fix a bug with title handling in HTML.
- * src/devices/grohtml/post-html.cpp (text_glob::is_nf,
- text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
- length.
- (html_printer::handle_tag_within_title): New function.
- (html_printer::do_title): Use it.
- * tmac/s.tmac (TL): Don't set `need_eo_tl'.
- (cov*tl-au-print): Emit `.eo.tl' tag.
- 2004-12-05 Alejandro López-Valencia <dradul@etb.net.co>
- * man/groff_char.man: Minor imrovements.
- 2004-12-04 Werner LEMBERG <wl@gnu.org>
- * src/preproc/eqn/eqn.man: Revised.
- 2004-11-25 Werner LEMBERG <wl@gnu.org>
- * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
- groff source files.
- Include config.h.
- Include limits.h.
- Remove X_NOT_STDC_ENV conditional.
- (Version_string, program_name): New global variables.
- (groff_flag): Removed.
- (MapFont): Updated.
- (usage): Take a stream as argument.
- Use `program_name'.
- Update all callers.
- (main): Add `long_options' array for `--help' and `--version'.
- Make `-g' a dummy option.
- Handle `-v' and unknown options.
- Remove unused `position' variable.
- * src/utils/xtotroff/Makefile.sub (MAN1): Define.
- (XLIBS): Add LIBGROFF.
- * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
- New files.
- * src/devices/xditview/Dvi.c (default_font_map): Split into three
- parts to avoid compiler warning.
- (resources): Don't initialize with `default_font_map'.
- (ClassInitialize): Initialize first element of `resources'.
- * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
- Removed.
- * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
- src/utils/pfbtops/pfbtops.man: Revised, updated.
- * configure.ac: Generate src/utils/xtotroff/Makefile.
- * configure: Regenerated.
- 2004-11-24 Werner LEMBERG <wl@gnu.org>
- First fixes to get produce HTML.
- * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
- attribute.
- * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
- (HR, LI): Use `HTML</p>', not `HTML'.
- * doc/webpage.ms: Minor updates.
- 2004-11-23 Larry Kollar <kollar@alltel.net>
- Add option -S grohtml to determine the file split level.
- * src/devices/grohtml/post-html.cpp (split_level): New global
- variable.
- (html_header::determine_header_level): Use split_level.
- (main): Handle `-S' command line option.
- Sort options.
- * src/preproc/html/pre-html.cpp (scanArguments): Updated.
- * src/devices/grohtml/grohtml.man: Document it.
- Sort options.
- * NEWS: Document it.
- 2004-11-23 Y T <doarhop@hotmail.com>
- * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling
- the volume and number refer entries.
- 2004-11-22 Werner LEMBERG <wl@gnu.org>
- * src/devices/grohtml/html-table.cpp
- (html_table::emit_table_header): Don't emit `cols' attribute which
- doesn't exist in HTML 4.0 and is thus invalid.
- * NEWS: More minor fixes and updates.
- 2004-11-18 Werner LEMBERG <wl@gnu.org>
- * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
- (HTML</p>): Minor clean-up.
- * tmac/groff_www.man: Updated.
- * src/devices/grohtml/grohtml.man: Revised and updated.
- * NEWS: Updated.
- 2004-11-18 Gaius Mulley <gaius@glam.ac.uk>
- * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
- Fix space insertion.
- (html_printer::do_links): Fix rules generation around automatic
- heading links.
- * tmac/www.tmac (LK): Use HTML-TAG-NS.
- (HR): Simplify.
- No longer emit empty line for non-HTML devices.
- 2004-11-17 Werner LEMBERG <wl@gnu.org>
- * doc/Makefile.in (prepare_examples, webpage.html): Handle
- `groff.css'.
- * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD,
- prepare_examples, webpage.html): Handle `groff.css'.
- 2004-11-15 Werner LEMBERG <wl@gnu.org>
- * NEWS, README, doc/webpage.ms: Updated.
- * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
- 2004-10-30 Gaius Mulley <gaius@glam.ac.uk>
- * src/include/printer.h (printer): Remove virtual function
- `round_width'.
- Update all source files.
- * src/devices/grohtml/post-html.cpp (html_printer): New member
- function `round_width'.
- 2004-10-20 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
- * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
- column key letter suffix.
- 2004-10-14 Werner LEMBERG <wl@gnu.org>
- * Makefile.in (check): Depend on `site.exp' and `docheck'.
- (docheck): Run dejagnu's `runtest' if it exists.
- (site.exp): Create dejagnu configuration file.
- * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
- 2004-10-13 Werner LEMBERG <wl@gnu.org>
- * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
- src/devices/grohtml/post-html.cpp (make_val,
- html_printer::handle_state_assertion): Fix compiler warnings.
- * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'.
- (diversion::diversion): Fix order of initializers.
- * src/roff/troff/div.h: Don't include `mtsm.h'.
- * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'.
- (environment::environment): Fix order of initializers.
- (environment::make_tag, environment::construct_format_state): Fix
- compiler warnings.
- * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'.
- (input_iterator::input_iterator, macro::macro): Fix order of
- initializers.
- * src/roff/troff/mtsm.cpp: Include only necessary header files.
- (state_set::add, state_set::val): Fix compiler warnings.
- * src/roff/troff/mtsm.h: Don't include `stringclass.h'.
- (bool_value_state, int_value_state, units_value_state,
- string_value_state): Remove comma after last element which causes
- an error with g++ 3.3.3.
- * src/roff/troff/node.cpp: Include `stringclass.h'.
- (hline_node::hline_node, vline_node::vline_node,
- space_char_hmotion_node, left_italic_corrected_node): Fix compiler
- warnings.
- (zero_width_node::zero_width_node): Fix order of initializers.
- * src/roff/troff/node.h: Don't include `mtsm.h'.
- (hmotion_node): Fix compiler warnings.
- * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'.
- 2004-10-12 Gaius Mulley <gaius@glam.ac.uk>
- * doc/groff.css: New file.
- * doc/webpage.ms: Use `groff.css'.
- Other small fixes.
- * tmac/an-old.tmac (need_eo_h): New number register.
- (TH): Emit `.eo.tl' tag after title.
- (SH): Set `need_eo_h'.
- (an-trap): Handle `need_eo_h'.
- (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/.
- * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers.
- (TL): Always start diversion.
- Updated.
- (@AI): Always call `par@reset'.
- (@AB): Update code for -Thtml.
- (cov*tl-au-print): Handle -Thtml.
- (par@reset): Handle `need_eo_tl', `need_eo_h'.
- (@IP): Simplified.
- (@IT-html): Removed.
- (@SH): Set `need_eo_h' for -Thtml.
- (par@TL): s/HTML-TAG/HTMl-TAG-NS/.
- Set `need_eo_tl'.
- (@NH): s/HTML-TAG/HTMl-TAG-NS/.
- Set `need_eo_h' for -Thtml.
- (@EQ, @EN): Don't handle -Thtml specially.
- (par@load-init): Don't handle -Thtml specially.
- * tmac/www.tmac (www:paraspace): New macro.
- (HTML-NS, HTML-TAG-NS): Use new `tag' request.
- (HTML</p>, HTML-TAG-NEXT): New macros.
- (HnE): Emit tag `.eo.h' instead of break.
- (HR): s/HTML-NS/HTML/.
- (www-end-nowhere): End diversion only if `www-html' not set.
- Emit `.eo.tl' tag.
- (ULS, ULE): s|HTML|HTML</p>|.
- (LI): Call `www:paraspace'.
- (HEAD): New macro.
- 2004-10-11 Gaius Mulley <gaius@glam.ac.uk>
- * src/roff/troff/request.h (macro): Make `p' public.
- New variable `is_a_diversion'.
- New member function `is_diversion'.
- * src/devices/grohtml/html.h (simple_output): New member function
- `force_nl'.
- * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix
- computation of `total'.
- (tabs::check_init): New function.
- (html_table::emit_table_header): Emit style data.
- (html_table::insert_column): Improved.
- * src/devices/grohtml/html-table.h: Updated.
- * src/devices/grohtml/html-text.cpp (html_text::html_text):
- Initialize `start_space' with TRUE.
- (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG'
- cases.
- (html_text::flush_text): Set `start_space' flag.
- (html_text::uses_indent, html_text::remove_para_space,
- html_text::get_alignment): New functions.
- (html_text::push_para): Updated.
- (html_text::do_para): Check for empty argument.
- Don't set `space_emitted'.
- (html_text::do_space, html_text::emit_space): Updated.
- * src/devices/grohtml/html-text.h (tag_definition): New variable
- `really_issued'.
- (html_text): New member function `uses_indent', `remove_para_space',
- `get_alignment'.
- * src/devices/grohtml/output.cpp (simple_output::force_nl): New
- function.
- (simple_output:nl): Always emit `\n'.
- * src/devices/grohtml/post-html.cpp: Include `string.h'.
- (BASE_POINT_SIZE): Removed.
- (base_point_size, head_info): New global variables.
- (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl',
- `is_eo_h'.
- (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1'
- tags, respectively.
- (page::add_and_encode): Pass additional parameter for tag flag.
- (assert_pos): New structure.
- (assert_state): New class.
- (html_printer): Remove `indentation', `prev_indent'.
- Add variables `troff_indent', `device_indent', `temp_indent'.
- Add variables `seen_indent', `next_indent', `seen_pageoffset',
- `next_pageoffset', `seen_linelenght', `next_linelength',
- `seen_center', `next_center', `seen_space', `seen_break', `as'.
- Add member functions `do_check_center', `do_space', `do_head',
- `get_troff_indent', `restore_troff_indent', `handle_assertion',
- `handle_state_assertion', `do_end_para', `set_char_and_width'.
- Change argument to `do_fill' to `char *'.
- Update constructor.
- (html_printer::emit_raw): Call `shutdown_table'.
- Use new functions.
- (html_printer::do_center): Simplified.
- (html_printer::do_title): Improved.
- (html_printer::write_header): Emit one more newline.
- Use new functions.
- (html_printer::do_heading, html_printer::do_indent,
- html_printer::do_eol, html_printer::do_tab_ts,
- html_printer::do_tab, html_printer::do_tab0,
- html_printer::calc_po_in, html_printer::next_horiz_pos,
- html_printer::remove_courier_tabs,
- html_printer::insert_tab0_foreach_tab, html_printer::begin_page):
- Updated.
- (html_printer::do_linelength, html_printer::do_pageoffset,
- html_printer::do_indentation, html_printer::do_tempindent,
- html_printer::do_tab_te): Simplified.
- (html_printer::do_pointsize): Check whether point size is really
- associated a `.tl' tag.
- (html_printer::do_break): Rewritten.
- (html_printer::troff_tag): Improved.
- (html_printer::flush_globs): Updated.
- (html_printer::lookahead_for_tables): Handle `is_br'.
- Use new functions.
- (html_printer::set_char): Check `sbuf_style.f'.
- (html_printer::write_navigation): Use string comparison.
- (html_printer::~html_printer): Emit `head_info'.
- (html_printer::special): Rewritten.
- (get_str, make_val): New functions.
- (main): New option `s' to set the base point size.
- * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'.
- 2004-10-10 Gaius Mulley <gaius@glam.ac.uk>
- * src/roff/troff/node.cpp: New extern `debug_state'.
- Include `stringclass.h' and `mtsm.h'.
- Implement new classes and class members from `node.h'.
- (real_output_file): Make `fp' public.
- (troff_output_file): New variables `cur_div_level' and `tag_list'.
- Update constructors.
- (troff_output_file::really_print_line): Check whether we should push
- the current troff state and use the state at the start of the
- invocation of this diversion.
- (troff_output_file::add_to_tag_list): New member function.
- (node::add_char): Handle `glyph_comp_np'.
- * src/roff/troff/node.h: Include `mtsm.h'.
- (node): New variables `state', `push_state', `div_nest_level',
- `is_special'. Update constructors, all descendants.
- Pass additional argument to `add_char' member function.
- New virtual member functions `is_tag', `debug_node',
- `debug_node_list'. Update all descendants.
- (tag_node): New class for handling tags.
- (output_file): Add variable `state'.
- 2004-10-09 Gaius Mulley <gaius@glam.ac.uk>
- * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files,
- providing a minimal troff state machine to emit meta tags for the
- post-grohtml device driver.
- * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new
- files.
- 2004-10-09 Werner LEMBERG <wl@gnu.org>
- * tmac/trace.tmac: Fix handling of `am' and `am1' calls.
- 2004-10-06 Gaius Mulley <gaius@glam.ac.uk>
- * src/roff/troff/column.cpp (vjustify_node::copy): Updated.
- * src/roff/troff/div.h: Include `mtsm.h'.
- (diversion): New variables `any_chars_added', `needs_push',
- `saved_seen_break', `saved_seen_space', `saved_seen_eol',
- `saved_suppress_next_eol', `modified_tag'.
- New virtual member function `is_diversion'. Update all descendants.
- * src/roff/troff/div.cpp (diversion::diversion,
- macro_diversion::macro_diversion): Updated.
- (do_divert): Handle `seen_break', `seen_space', `seen_eol',
- `suppress_next_eol'.
- (top_level_diversion::space): Handle `curenv->seen_space'.
- (page_offset): Update tag handling.
- (space_request, blank_line, flush_output): Don't call `add_html_tag'.
- * src/roff/troff/env.h (environment): Make `tabs' public.
- Remove `ignore_next_eol', `emitted_node'.
- Update `output_line', `output'.
- New variables `seen_space', `seen_eol', `suppress_next_eol',
- `seen_break'.
- New member functions `construct_state', `make_tag',
- `construct_format_state, `construct_new_line_state,
- `dump_troff_state'.
- Remove `add_html_tag', `make_html_tag'.
- * src/roff/troff/env.cpp: New externs `suppress_push',
- `get_diversion_state', `global_diverted_space'.
- (pending_output_line): New variable `was_centered'.
- Update constructor and all callers.
- (pending_output_line::output): Call `curenv->construct_format_state'.
- (environment::environment, environment::copy): Updated.
- (environment::output): Handle `was_centered'.
- (environment::add_char): Handle construct and diversion state.
- (environment::add_node): Handle construct state.
- (environment::newline): Handle `was_centered'.
- (environment::output_line): Updated.
- (environment::possibly_break_line): Updated.
- Update tag handling.
- (environment::add_html_tag): Replaced with...
- (environment::make_tag): New function.
- (environment::add_html_tag_tabs, environment::make_html_tag): Removed.
- (environment::dump_troff_state): New debugging function.
- (environment::construct_state, environment::construct_format_state,
- environment::construct_new_line_state): New functions.
- (environment::do_break): Updated.
- Handle `global_diverted_space'.
- (environment::handle_tag): Update tag handling.
- (point_size, fill, do_break_request): Don't call `add_html_tag'.
- (no_fill): Don't call `add_html_tag'.
- Set `suppress_next_eol'.
- (center, right_justify, line_length, indent, temporary_indent,
- set_tabs):
- Update tag handling.
- * src/roff/troff/input.cpp: Don't include `stringclass.h'.
- (input_iterator): New variables `is_diversion', `diversion_state'.
- Update constructors.
- (input_stack): New member functions `get_div_level',
- `get_diversion_state', `check_end_diversion'.
- New variables `div_level', `diversion_state'. Initialize them.
- (suppress_push, global_diverted_space): New global variables.
- (input_stack::finish_get, input_stack::finish_peek,
- input_stack::remove_boundary, input_stack::end_file,
- input_stack::clear, input_stack::pop_macro): Call
- `check_end_diversion'.
- (input_stack::push): Handle `div_level' and `diversion_state'.
- (get_diversion_state): New function.
- (diverted_space_node::reread): Handle `global_diverted_space'.
- (macro::macro): Update constructors.
- (macro::is_diversion): New function.
- (macro::operator=): Set `is_a_diversion'.
- (string_iterator): New member function `is_diversion'.
- (string_iterator::string_iterator): Update constructors.
- (string_iterator::fill): Set `div_nest_level'.
- (macro_iterator): New member function `is_diversion'.
- (do_if_request): Handle `suppress_push'.
- (tag, taga): New functions.
- (init_input_requests): Add `tag' and `taga' requests.
- 2004-10-05 Gaius Mulley <gaius@glam.ac.uk>
- * src/include/font.h (font): New member function
- `get_image_generator'.
- New variables `unscaled_charwidths' and `image_generator'.
- * src/libs/libgroff/font.cpp (font::get_width): Always return the
- character's unscaled width if `font::unscaled_charwidths' is set.
- (font::get_image_generator): New function.
- (font::load_desc): Check the `unscaled_charwidths' and
- `image_generator' keywords.
- * src/libs/libgroff/fontfile.cpp: Initialize
- `font::unscaled_charwidths' and `font::image_generator'.
- * font/devhtml/DESC.proto: s/html/unscaled_charwidths/.
- * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword.
- * man/groff_font.man: Document `unscaled_charwidths' and
- `image_generator'.
- * src/preproc/html/pre-html.cpp: Include `device.h'.
- (image_gen): New global variable.
- (imageList::createPage): Use `image_gen'.
- (main): Use `image_generator' keyword.
- 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
- * tmac/html.tmac: Handle \[sqrtex].
- 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
- * src/include/printer.h (printer): New virtual method `round_width'.
- * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
- src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
- src/devices/grotty/tty.cpp (printer::round_width): New function
- member.
- * src/devices/grohtml/post-html.cpp (printer::round_width): New
- function member.
- (html_printer::set_numbered_char): Use it.
- 2004-10-03 Gaius Mulley <gaius@glam.ac.uk>
- * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
- * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
- * configure: Regenerated.
- * Makefile.in (GHOSTSCRIPT): New variable.
- (MDEFINES): Add GHOSTSCRIPT.
- 2004-10-03 Werner LEMBERG <wl@gnu.org>
- * INSTALL.gen: Updated (taken from texinfo CVS).
- 2004-09-28 Werner LEMBERG <wl@gnu.org>
- * NEWS: Updated.
- 2004-09-28 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
- * tmac/groff_www.man: Revised and updated.
- 2004-09-26 Werner LEMBERG <wl@gnu.org>
- Fix \$@ and \$* to handle any number of arguments.
- * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
- characters.
- * src/roff/troff/input.cpp (input_iterator::internal_level):
- Removed.
- (input_stack): New member functions `increase_level' and
- `decrease_level'.
- (input_stack::get_level): Don't use `internal_level'.
- (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
- (end_quote_iterator): Completely removed.
- (interpolate_arg): Build string for \$@ and \$* which is then
- pushed onto the input stack.
- 2004-09-23 Keith Marshall <keith.d.marshall@ntlworld.com>
- * tmac/groff_ms.man, doc/groff.texinfo: Document changes from
- 2004-09-19.
- 2004-09-23 Werner LEMBERG <wl@gnu.org>
- * tmac/an-old.tmac (ne): Using default scaling operator.
- 2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com>
- This change implements the following features:
- PORPHANS
- New numeric register: Defines number of lines following LP, PP,
- QP, IP or XP, which must be kept together, before any automatic
- page break. If insufficient space remains on the current page, a
- page break is forced before the new paragraph begins.
- HORPHANS
- New numeric register: Sets number of lines of following paragraph
- which must be kept with a heading, defined by NH or SH, before any
- automatic page break. If insufficient space remains on the
- current page, a page break is forced before the heading.
- GROWPS
- (Thanks to Joerg van den Hoff, for this idea).
- New numeric register: Sets the first level of heading (set with
- NH), which will keep the same point size as body text; e.g. if
- GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
- point size specified by \n[PS], but .NH 2 and .NH 1 will have
- progressively larger point sizes, determined by \n[PSINCR] (see
- below).
- PSINCR
- New numeric register: Sets the point size increment for each level
- of heading, (set with NH), below the threshold level set by
- GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
- then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
- and all other levels will remain at 10pt, (because \n[PS] = 10).
- SH
- Existing macro now accepts a numeric argument, to make heading
- size match that of NH with same argument value, when the
- GROWPS/PSINCR feature is enabled.
- SN-DOT
- New string, set by NH macro, replaces the existing (undocumented)
- use of SN, to represent the assigned section number.
- SN-NO-DOT
- New string, set by NH macro, represents the assigned section
- number, but omits the terminal period (periods at intermediate
- levels are retained).
- SN
- String set by NH macro, originally undocumented, now implemented
- as an alias for SN-DOT (which reproduces original behaviour).
- * tmac/s.tmac (PORPHANS): New register.
- (par*start): Use it.
- (HORPHANS, GROWPS, PSINCR): New register…