1 2007-12-30 Bernhard Fisseni <bfi@ikp.uni-bonn.de
3 * src/devices/grohtml/post-html.cc
4 (html_printer::writeHeadMetaStyle): Fix CSS output.
6 2007-12-29 Werner LEMBERG <wl@gnu.org>
8 * tmac/ec.tmac: Add CM fonts to the .fspecial lines; those fonts
9 contain additional glyphs (like some uppercase Greek letters).
11 2007-12-06 Werner LEMBERG <wl@gnu.org>
15 2007-12-06 Colin Watson <cjwatson@debian.org>
17 * src/roff/nroff/nroff.sh: Add options -w and -W.
18 * src/roff/nroff/nroff.man: Document them.
20 2007-12-06 Karl Berry <karl@freefriends.org>
22 * tmac/hyphenex.pl: Update header output.
24 2007-11-29 Werner LEMBERG <wl@gnu.org>
26 * src/devices/grotty/tty.cpp (tty_printer::line): Fix line lengths.
28 2007-11-20 Werner LEMBERG <wl@gnu.org>
30 * doc/pic.ms: Add Heinz-Jürgen's 3d boxes example.
32 2007-11-17 Werner LEMBERG <wl@gnu.org>
34 * src/roff/nroff/nroff.sh: Handle GROFF_TYPESETTER environment
35 variable. Problem reported by Michael G Schwern
38 * src/roff/nroff/nroff.man: Document it.
41 2007-11-17 Heinz-Jürgen Oertel <hj.oertel@t-online.de>
43 * src/groff/preproc/pic/lex.cpp (table): Add box attributes
44 `xslanted' and `yslanted'.
46 * src/groff/preproc/pic/object.cpp (object_spec::object_spec):
47 Initialize `xslanted' and `yslanted'.
48 (graphic_object): Add methods `set_xlanted' and `set_yslanted'.
49 (closed_object): Ditto.
50 Add members `xslanted' and `yslanted'.
51 (box_object::print): Use them.
52 (object_spec::make_object): Handle slant values.
53 * src/groff/preproc/pic/object.h (IS_XSLANTED, IS_YSLANTED): New
55 (object_spec): Add members `xslanted' and `yslanted'.
56 * src/groff/preproc/pic/pic.y (XSLANTED, YSLANTED): New left-valued
60 * src/groff/preproc/pic/pic.man, NEWS, doc/pic.ms: Document above
63 2007-11-16 Werner LEMBERG <wl@gnu.org>
65 * tmac/hyphenex.pl: Generate copyright notice (this has been
66 approved by Barbara Beeton).
67 * tmac/hyphenex.us: Updated.
69 2007-11-10 Michail Vidiassov <master@iaas.msu.ru>
71 * tmac/doc-syms (doc-str-St--susv3): New string.
72 * tmac/groff_mdoc.man: Document it.
74 2007-11-08 Werner LEMBERG <wl@gnu.org>
76 * src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be'
77 `utf-16le', `utf-16be-with-signature', `utf-16le-with-signature'.
78 (is_comment_line): Handle '\" and '\# also.
80 * src/preproc/preconv/preconv.man: Revise and make complete.
82 2007-10-25 Werner LEMBERG <wl@gnu.org>
84 * tmac/cs.tmac: New file holding Czech strings, contributed by
85 Marcela Maslanova <mmaslano@redhat.com>.
86 * tmac/hyphen.cs, tmac/hyphenex.cs: New hyphenation pattern files
87 for Czech, taken from CTAN.
89 * tmac/Makefile (NORMALFILES): Add Czech stuff.
90 * doc/groff_tmac.man: Mention cs.tmac.
92 2007-10-21 Werner LEMBERG <wl@gnu.org>
94 * src/roff/troff/input.cpp (do_ps_file): Handle `%X' in header
95 comments correctly. Reported by Frank Jahnke
96 <jahnke@sonatabio.com>.
98 2007-10-02 Ruslan Ermilov <ru@FreeBSD.org>
100 * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, document
103 * tmac/doc-syms: Give better names for System V releases.
105 2007-09-25 Gaius Mulley <gaius@glam.ac.uk>
107 * doc/Makefile.in, doc/Makefile.sub (.ms.html): Add -P-V switch to
108 the production of html files.
110 Remove background colour switch.
111 (.SUFFIXES, clean): Handle *.xhtml files.
113 * src/devices/grohtml/grohtml.man: Document that -V option now
114 generates an HTML-4.01 validator or XHTML validator.
116 * src/devices/grohtml/html-text.cpp (html_text::end_tag,
117 html_text::start_tag): Suppress <small>, <big>, and <color> tags if
118 we are inside a <pre> block.
120 * src/devices/grohtml/post-html.cpp
121 (html_printer::handle_valid_flag): Add a parameter to indicate
122 whether it needs to generate a paragraph block.
123 (html_printer::write_navigation): Updated.
124 (html_printer::do_file_components): Generate an HTML-4.01 blue
125 validator button also.
127 2007-09-23 Axel Kielhorn <A.Kielhorn@web.de>
129 * man/groff.man: Fix URL of CSTR 54.
131 2007-09-23 Werner LEMBERG <wl@gnu.org>
133 * man/groff_char.man: Normalize character set names as defined
134 by IANA. Based on a patch from Axel Kielhorn.
136 * src/preproc/refer/label.y: Undo change from 2007-09-19.
138 2007-09-19 Werner LEMBERG <wl@gnu.org>
140 * src/roff/troff/input.cpp (interpolate_arg): Remove compiler
143 * src/preproc/eqn/pile.cpp (pile_box::output, matrix_box::output):
144 Remove compiler warning.
146 * src/preproc/refer/label.y: Remove compiler warning.
148 * src/preproc/pic/pic.y: Remove doubled token entries.
150 2007-09-19 Gaius Mulley <gaius@glam.ac.uk>
152 * doc/groff.texinfo: Document new .O register and add cross
157 * src/devices/grohtml/grohtml.man: Document new -V and -y options.
159 * src/devices/grohtml/html-table.cpp: Add support for XHTML 1.1.
160 (html_table:: emit_colspan, html_table::emit_td): New methods.
161 (html_table::emit_col): Use html_table::emit_td.
162 (html_table::emit_table_header): Use html_table::emit_colspan if
163 dialect xhtml is specified.
164 (html_table::finish_row): Updated.
166 * src/devices/grohtml/html-table.h (html_table): Declare
167 emit_colspan, emit_td.
169 * src/devices/grohtml/html-text.cpp: Modified tags to comply with
170 xhtml if this dialect was requested.
172 * src/devices/grohtml/html-text.h (html_dialect): New enumeration.
173 (html_text): Add new variable `dialect'.
175 * src/devices/grohtml/post-html.cpp: Modify header tags to be XHTML
177 (valid_flag, groff_sig, dialect): New global variables.
178 (html_printer::handle_valid_flag, html_printer::do_math,
179 html_printer::write_html_anchor, html_printer::write_xhtml_anchor,
180 html_printer::do_math, html_printer::handle_valid_flag): New
182 (html_printer::emit_line, html_printer::emit_raw,
183 html_printer::do_check_center, html_printer::write_title,
184 write_rule, html_printer::writeHeadMetaStyle, generate_img_src,
185 html_printer::begin_page): Altered to be XHTML compliant.
186 (html_printer::write_header): Updated.
187 (html_printer::troff_tag): Call do_math.
188 (html_printer::insert_split_file, html_printer::do_file_components,
189 html_printer::write_navigation): Create XHTML file components if
190 necessary and also produces a groff signature if requested.
191 (~html_printer): Call writeHeadMetaStyle at appropriate places
192 depending upon html_dialect.
193 (html_printer::special): Handle new tags `html<?p>' and `math<?p>'.
194 (main): Added options -x, -V, and -y.
197 * src/preproc/eqn/box.cpp: Create a distinction between
198 the MathML device and the XHTML device.
199 (do_text): Issue a newline at the end of the equation if XHTML was
201 (box::top_level): Prefix the output of an equation by the .MATHML
203 (output_string): Suppress \n if XHTML was specified.
205 * src/preproc/eqn/main.cpp (xhtml): New global flag.
206 (inline_equation): Skip leading spaces after inline equation for
208 (main): Set `xhtml' flag if `-Tmathml:xhtml' is specified.
210 * src/preproc/eqn/eqn.h (xhtml): New external flag.
212 * src/preproc/eqn/text.cpp (entity_table): Fix typo.
214 * src/preproc/html/pre-html.cpp (html_dialect): New enumeration.
215 (dialect, eqn_flag): New global variables.
216 (html_system): Improve debugging support.
217 (alterDeviceTo): Test for -Txhtml when altering device to the image
218 device and reset to -Txhtml.
219 (addZ): Renamed to...
221 Introducea a general parameter.
222 (print_args): New debugging function.
223 (char_buffer::run_output_filter): Use print_args and addArg rather
225 (char_buffer::do_html, char_buffer::do_image): Add -rxhtml=1 command
226 line parameter as an argument to the html generation of text when
227 xhtml is needed. Include -e on the command line if mathml is
229 (scanArguments): Allow -e, -V, -y and -x options.
230 -V, -y are handled by the back end. -e sets `eqn_flag'.
231 -x determines HTML dialect.
233 * src/roff/groff/groff.cpp (possible_command): New method
235 (main): Set eflag if -e is present on command line.
236 Set is_xhtml if -Txhtml is present.
237 Pass `-x x' to the HTML pre and post processors.
238 Pass `-e' to the HTML pre processor if required.
239 Pass `-Tmathml:xhtml' to eqn if XHTML is requested.
241 * src/roff/troff/input.cpp (init_input_requests): Introduce new
242 number register `\n[.O]'.
244 * tmac/s.tmac: (LP): Use .nop for semantic sugar.
245 (cov*ab-init) reformat.
246 (@EQ): Use EQN-HTML-IMAGE and friends rather than HTML-IMAGE.
247 (CHECK-FOOTER-AND-KEEP): Define FS, FE such that they use
248 <cite></cite> for the html device rather than generate images for
251 * tmac/troffrc-end: Define EQN-HTML-IMAGE,
252 EQN-HTML-IMAGE-END, EQN-HTML-IMAGE-RIGHT,
253 EQN-HTML-IMAGE-LEFT, EQN-HTML-IMAGE-INLINE,
254 EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END as null strings.
256 * tmac/www.tmac: (HTML<?p>): New macro.
257 (MATH<?p>): New macro.
258 (IMG, PIMG, MPIMG, HR): Use XHTML compliant syntax.
259 (www-emit-ltag): New macro.
260 (www-push-li): Updated.
261 (ULS): Ensure that tags are balanced in order by use of
263 (ULE): Likewise: Use www-emit-ltag and shut down paragraphs in
265 (OLS, OLE, DLS, DLE): Ditto.
266 <global>: Define EQ and EN to EQN-HTML-IMAGE and EQN-HTML-IMAGE-END
268 (www-li-ul, www-li-ol, www-li-dl): Updated.
269 (EQN-HTML-IMAGE, EQN-HTML-IMAGE-RIGHT, EQN-HTML-IMAGE-LEFT,
270 EQN-HTML-IMAGE-INLINE, EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END,
273 2007-09-17 Werner LEMBERG <wl@gnu.org>
275 * man/groff_font.man: Document `unicode' keyword.
276 * doc/groff.texinfo (DESC File Format): Synchronize with
279 2007-09-15 Werner LEMBERG <wl@nu.org>
281 * man/groff.man: Document `\_'.
282 * doc/groff.texinfo: Ditto.
283 Remove references to `\@' which isn't a valid escape sequence in
287 * tmac/unicode.tmac: Add ` and '.
288 * tmac/html.tmac: Load unicode.tmac.
290 2007-09-14 Werner LEMBERG <wl@gnu.org>
292 * tmac/unicode.tmac: Make `-' a pure input character by mapping it
295 * src/roff/troff/input.cpp (init_charset_table): Handle `hy'.
297 2007-09-11 Werner LEMBERG <wl@gnu.org>
299 * src/libs/libgroff/string.cpp (string::remove_spaces): Fix memory
302 * src/preproc/tbl/table.cpp (table::allocate): Initialize
305 2007-09-10 Keith Marshall <keith.d.marshall@ntlworld.com>
307 * README.MinGW: Add warnings about use of MSYS-RXVT, and about
308 defective GnuWin32 versions of netpbm/libpng.
310 2007-07-15 Keith Marshall <keith.d.marshall@ntlworld.com>
312 * tmac/s.tmac (cov*first-page-init): Remove invoking trap, to avoid
315 2007-07-11 Werner LEMBERG <wl@gnu.org>
317 * gendef.sh: Add shebang.
319 2007-07-05 Werner LEMBERG <wl@gnu.org>
321 * tmac/papersize.tmac: Fix dimensions of executive paper format.
322 Reported by John Rupley <rupley@u.arizona.edu>.
324 2007-07-02 Keith Marshall <keith.d.marshall@ntlworld.com>
326 * tmac/s.tmac (cov*first-page-init): Emit error message if not in
327 top-level environment.
329 2007-06-12 Werner LEMBERG <wl@gnu.org>
331 * src/devices/xditview/TODO, NEWS: Updated.
332 * src/devices/xditview/Makefile.sub (install_data, uninstall_sub):
333 Handle `GXditview-color'.
334 * src/devices/xditview/gxditview.man: Updated.
336 * m4/groff.m4 (GROFF_APPRESDIR_CHECK): Updated.
337 * m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4, m4/lib-link.m4: Updated
338 from `gnulib' git repository.
340 * configure.ac: Updated.
341 * configure: Regenerated (using autoconf 2.61).
343 * config.guess, config.sub: Updated from `config' CVS repository.
344 * config.rpath, install-sh, mkinstalldirs: Updated from `gnulib' git
347 2007-06-12 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
349 * src/devices/xditview/GXditview.ad: Split off color definitions
351 * src/devices/xditview/GXditview-color.ad: This new file.
353 2007-06-08 Fabrice Ménard <menard.fabrice@wanadoo.fr>.
355 * tmac/fr.tmac: Handle chapter system for `me'.
357 2007-06-05 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
359 * src/devices/xditview/xditview.c (main): Add support for
362 * src/devices/xditview/GXditview.ad: Updated.
363 Make widget more colourful.
365 2007-05-30 Werner LEMBERG <wl@gnu.org>
367 * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate.
368 Recommend `tbl' instead of `-column' lists for more complicated
371 2007-05-21 Werner LEMBERG <wl@gnu.org>
373 * src/devices/grops/ps.cpp (ps_printer::set_char): Handle subfonts
376 2007-04-10 Werner LEMBERG <wl@gnu.org>
378 In pic, make rounded boxes work with colors. Reported by Urs Eggli
379 <Urs.Eggli@zuerich.ch>.
381 * src/preproc/pic/common.h (common_output), src/preproc/pix/output.h
382 (output): Add color parameter to `rounded_box' member function.
384 * src/preproc/pic/common.cpp (common_output::rounded_box): Use it.
386 * src/preproc/pic/object.cpp (box_object::print): Pass `color_fill'
387 to `out->rounded_box'.
389 2007-04-09 Michail Vidiassov <master@iaas.msu.ru>
391 * font/devps/generate/textmap: Add Greek letters and some more.
393 * src/utils/afmtodit/afmtodit.tables: Change values of `Delta',
394 `Omega', and `mu' to the ones from aglfn.txt.
396 2007-04-08 Keith Marshall <keith.d.marshall@ntlworld.com>
398 * tmac/s.tmac (SN): Define unconditionally.
399 (SN-STYLE): New string; define.
401 * NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
403 2007-03-22 Werner LEMBERG <wl@gnu.org>
405 * tmac/pspic.tmac: Fix harmless numeric overflow warning. Reported
406 by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
408 2007-03-20 Werner LEMBERG <wl@gnu.org>
410 * tmac/trace.tmac (rn): Added.
411 (nr, ds, ds1, as, as1, substring): Restore escape character while
413 (nr): Remove dead code.
415 * src/preproc/eqn/box.cpp (box::top_level): Use \E in string
416 definitions to make them traceable.
418 2007-03-19 Werner LEMBERG <wl@gnu.org>
420 * src/roff/troff/input.cpp (get_copy): Add third argument to control
421 whether \E shall be expanded.
422 (get_char_for_escape_name): Allow \E.
424 2007-03-15 Werner LEMBERG <wl@gnu.org>
426 * tmac/s.tmac (MO, CH, pg*OH, pg*EH, pg*OF, pg*EF, *, [., .],
427 par*define-font-macro, \[hooko]): Use \E to make it traceable.
429 (ref*field): Add argument to control the space between previous and
432 (ref*add-N): Fix handling of opening parenthesis. Problem reported
433 by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
435 2007-03-14 Werner LEMBERG <wl@gnu.org>
437 * tmac/trace.tmac (als): Added.
438 (de, de1, am, am1): Make traced macros aliased with .als work.
440 2007-02-25 Werner LEMBERG <wl@gnu.org>
442 * src/devices/xditview/TODO: Add some more items.
444 * Makefile.comm (.man.n): Add @APPRESDIR@.
447 * src/devices/xditview/gxditview.man: Document GXditview resource
449 Other documentation enhancements based on a patch from Jörg.
451 2007-02-25 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
452 Joerg van den Hoff <j.van_den_hoff@fzd.de>
454 * src/devices/xditview/GXditview.ad: Make all keys work regardless
455 of the current mouse position.
457 2007-02-20 Werner LEMBERG <wl@gnu.org>
459 * tmac/groff_man.man: Revised to improve visual appearance.
460 Reduce use of future tense.
462 * tmac/groff_trace.man: Revosed to improve visual appearance.
464 2007-02-19 Eric S. Raymond <esr@snark.thyrsus.com>
466 Make groff.man viewer-portable.
468 * tmac/groff.man: Eliminate use of .eo/.ec.
469 (.REQ): Surround args 2 through N with quotes. This will enable us
470 not to rely on the shift request, which is nonportable.
471 (ExecFF): Remove. The code is simpler without it.
473 2007-02-18 Eric S. Raymond <esr@snark.thyrsus.com>
475 * tmac/groff_www.man: Viewer-portability fixes.
477 2007-02-16 Eric S. Raymond <esr@snark.thyrsus.com>
479 * man/groff.man: Remove some unneeded code and a no-longer-used
480 inclusion of the www macros.
482 2007-02-12 Werner LEMBERG <wl@gnu.org>
484 * src/preproc/tbl/table.cpp (compute_span_width): Fix use of
486 (table::compute_widths): Simplify.
488 2007-02-11 Werner LEMBERG <wl@gnu.org>
490 * src/preproc/tbl/table.h: Don't include `stdbool.h'.
491 (table): Replace `bool' type with `char' for orthogonality.
494 * src/preproc/tbl/table.cpp (block_entry::do_divert): Fix usage of
495 AVAILABLE_REG and COLCOUNT_REG.
496 (table::table): Fix order call of initializers.
497 (table::~table): Deallocate `blockflag'.
499 2007-02-09 Eric S. Raymond <esr@snark.thyrsus.com>
501 A try at the new rule for block column allocation is now enabled by
502 the new `experimental' global option: The horizontal space up to the
503 right margin which is not used by columns without text blocks is
504 evenly distributed to the columns with text blocks.
506 It doesn't work right as yet; there appears to be some error in the
507 computation of `3avail', the available line length. The purpose of
508 this patch is (a) to make experimenting with other formulas easy,
509 and (b) leave the infrastructure for flag `experimental' in place
510 for future experiments. Do not document any behavior associated
513 * src/preproc/tbl/table.h: Include `stdbool.h'.
514 (table): Make `flags' public.
515 Add `count_block_columns' function.
516 Add `blockflag' array.
517 Add `EXPERIMENTAL' enumeration value.
519 * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): New
521 (table_entry): New member `parent' so that class and subclass
522 members can set a parent field. Update all users.
523 (block_entry::do_divert): Handle `EXPERIMENTAL' flag.
524 (block_entry::do_width): Set the parent's `blockflag'.
525 (table::allocate): Handle `blockflag'.
526 (table::count_block_columns): New function.
527 (compute_span_width): Adjust AVAILABLE_REG.
528 (table::compute_widths): Handle COLCOUNT_REG and AVAILABLE_REG.
530 * src/preproc/tbl/main.cpp (process_options): Handle `experimental'
533 2007-02-08 Zhao, Yu (William) <yzhao2@alcatel-lucent.com>
535 * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) <'e'>: Set
538 2007-02-08 Werner LEMBERG <wl@gnu.org>
540 * man/groff_out.man (offset): Make it work reliably.
542 2007-02-07 Eric S. Raymond <esr@snark.thyrsus.com>
544 * man/groff_out.man: Simplify some font changes so \fP is less
545 likely to do something surprising.
547 * man/groff_out.man: We can simplify the command macros still
548 further if we stop trying to hide structural requests inside them.
549 Also, fix some instances of \} at start of line without a dot, and
550 make some font changes explicit in strings.
552 * man/groff_out.man: Cleanup -- remove now-unneeded uses of .do and
555 * man/groff_out.man: Final step: Reduce x-command, get rid of eo/ec
556 calls and fix macros to do without them. File should now be
559 * man/groff_out.man: Fourth step: Eliminate use of eqn in favor of
560 micromotions that produce the same visual result and can be lifted
563 * man/groff_out.man: Third step: Reduce Da-comand, fix a
564 call-sequence bug in the original.
566 * man/groff_out.man: Second step: Reduce D-commmand and D-command+,
567 move font-change escapes to portable form.
569 * man/groff_out.man: First step in macro simplification; eliminate
570 list1..n, simplify .offset and .index_offset so they no longer
571 require groff-specific features or eqn (instead, use troff
572 micromotions for subscripting).
574 2007-02-06 Eric S. Raymond <esr@snark.thyrsus.com>
576 * src/preproc/eqn/eqn.man: Minor corrections.
578 * tmac/an-ext.tmac: Change .UR/.UE and .MT/.ME so the start macro no
579 longer takes a second argument that is pasted to the end of the
580 generated text. Instead, the end macro takes an argument that does
583 * man/ditroff.man, man/groff_diff.man, man/groff.man,
584 man/groff_out.man, man/groff_tmac.man, man/roff.man,
585 src/roff/groff/groff.man, src/roff/grog/grog.man,
586 tmac/groff_man.man, tmac/groff_trace.man: Update accordingly.
588 * src/roff/troff/troff.man: .SY and .YS are canned macros now,
589 so we can use them here.
591 2007-02-05 Eric S. Raymond <esr@snark.thyrsus.com>
593 * src/preproc/eqn/lex.cpp, src/preproc/eqn/eqn.man:
594 By popular demand, make ... set three lower dots again
595 and introduce a new predefined macro 'cdots' to set
598 2007-02-05 Werner LEMBERG <wl@gnu.org>
600 * src/preproc/eqn/eqn.man: Revised.
602 * src/preproc/eqn/text.cpp (map, special_char_boc::output): Use
604 (spacing_type): Fix typo.
605 (special_to_entity): Use `const'.
606 Remove unused variable.
607 * src/preproc/eqn/other.cpp (font_box::output): Use `const'.
609 2007-02-05 Eric S. Raymond <esr@snark.thyrsus.com>
611 * src/devices/grotty/grotty.man: \m[] and \M[] aren't portable,
612 which is a shame as the effect was cute.
614 2007-02-04 Eric S. Raymond <esr@snark.thyrsus.com>
616 * man/groff_tmac.man, man/groff_diff.man: Portability conversion;
617 rip out over-elaborate macrology, use .EX/.EE and .UR/.UE where
618 possible, remove preamble declarations and macros that are no
619 longer needed. Conversion checked using the protocol described in
622 2007-02-03 Werner LEMBERG <wl@gnu.org>
624 * tmac/an-old.tmac (LP, IP, HP): Use .ns to suppress additional
627 2007-02-03 Eric S. Raymond <esr@snark.thyrsus.com>
629 * tmac/groff_man.man: Documented the extension macros, and
630 added portability advice.
632 * MORE.STUFF: More-stuff entries for doclifter and pic2plot.
635 Add support for MathML output to eqn.
637 The strategy used is very simple and relies on the fact that the box
638 models of eqn and Presentation MathML differ in only trivial ways.
639 It leaves the grammar and existing internal object structures
640 unchanged. A new global, `output_format', is defined as an
641 enumerated type with values {troff, mathml}. Most of the functions
642 and methods that emit actual output acquire a top-level conditional,
643 dispatching on this global, which has one arm for troff mode and one
644 for MathML mode. In most cases the MathML arm is drastically
647 (This strategy could be easily generalized to support other output
648 formats. TeX is a possibility that leaps to mind.)
650 The only even moderately tricky changes are in the lexer. Some of
651 the predefined macros used constructs like `up', `down', `fwd',
652 `back', and `vcenter' that have no equivalents in MathML. I
653 attacked this problem in these ways:
655 1. I eliminated three uses of `back' to compose characters in favor
656 of using equivalent groff specials `\(<<', `\(>>', and `\(<>'
657 that did not exist when these macros were written. (This will be
658 a quality improvement for troff users.)
660 2. I eliminated one use of `vcenter' by using \\(md. (Likewise...)
662 3. I then split the table of pre-definitions in three; one large
663 common table and two small troff-specific and MathML-specific
664 tables. Use of troff-only operations (up, down, back, fwd,
665 vcenter) is now confined to the former. The latter now uses
666 `size big' and drops out the explicit positioning operations,
667 counting on MathML processors to do them.
669 POTENTIAL TROUBLE SPOTS:
671 Here are notes for reviewers on places I'm not 100% sure I've done
674 * In the process of preparing the troff table, I translated three
675 definitions (dot_def, dotdot_def, and utilde def) that previously
676 used explicit \v escapes to use `up' and `down' instead. I
677 modeled the new definitions on the way `vec' and `dyad' work, but
678 it's possible I got something subtle wrong.
680 * I'm not certain the MathML implementation of font_box::output() is
681 right, because I don't quite get what the switcheroo between
682 `current_roman_font' and `old_roman_font' is supposed to
683 accomplish. It does seem to generare good MathML, though.
685 Finally, I made one purely cosmetic change in `text.cpp'; I replaced
686 with an enum some magic numbers for spacing types that I thought
687 were too ugly to live.
691 The entirety of eqn is translated when `-TMathML' is specified,
692 with the following exceptions...
694 Limitations that cannot be fixed include non-support for special,
695 up/down/fwd/back, and vcenter.
697 Limitations that might be fixable include non-support for mark and
698 lineup. I will investigate further, but if these can be implemented
699 at all it's going to be in a very complicated and nasty way.
701 The way character boxes are output means that each digit of a
702 multi-digit number gets its own <mn></mn> tag pair in the MathHTML.
703 While this is not technically wrong for Presentation MathML, it is
704 ugly and inefficient. Fixing this will require implementing a
705 little state machine in the `text.cpp' output method.
707 * src/preproc/eqn/box.cpp, src/preproc/eqn/delim.cpp,
708 src/preproc/eqn/eqn.h, src/preproc/eqn/eqn.man,
709 src/preproc/eqn/lex.cpp, src/preproc/eqn/limit.cpp,
710 src/preproc/eqn/list.cpp, src/preproc/eqn/main.cpp,
711 src/preproc/eqn/other.cpp, src/preproc/eqn/over.cpp,
712 src/preproc/eqn/pile.cpp, src/preproc/eqn/script.cpp,
713 src/preproc/eqn/sqrt.cpp, src/preproc/eqn/text.cpp,
714 src/preproc/eqn/eqn.man: MathML output mode.
718 2007-02-02 Eric S. Raymond <esr@snark.thyrsus.com>
720 * src/roff/groff/groff.man: Converted to use .SY/.OP/.YS
721 and for cross-viewer portability. Conversion checked
722 using the protocol described in tmac/TESTING-HINTS.
724 2007-02-02 Werner LEMBERG <wl@gnu.org>
726 * tmac/an-ext.tmac (ME): Don't use `\:'.
728 * src/roff/grog/grog.man: Further refinements and normalizations.
730 2007-02-02 Eric S. Raymond <esr@snark.thyrsus.com>
732 * src/roff/grog/grog.man: Converted to use .SY/.OP/.YS and for
733 cross-viewer portability. Conversion checked using the protocol
734 described in tmac/TESTING-HINTS.
736 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
738 * tmac/TESTING-HINTS: Added.
740 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
742 Enable the support for Bell archaisms on .SC, so the `-r bell'
743 switch is no longer needed to format old AT&T papers like
746 * tmac/s.tmac (.SC, .UC, .P1, .P2): Updated.
748 * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Updated.
750 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
752 Add some Bell labs extensions to the -ms macros.
754 * tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros.
756 * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
758 2007-01-30 Werner LEMBERG <wl@gnu.org>
760 * tmac/an-ext.tmac (\n[EX]): Rename to \n[mX].
761 (\n[mH]): New register (set if grohtml is used).
762 (\n[SY]): Rename to \n[mS].
763 (\n[a]): Rename to \n[mA].
764 (\n[i]): Rename to \n[mI].
765 (mU): New auxiliary input trap macro.
766 (UR, UE): Replace stub with real definition.
768 (MT, ME): New macros.
770 (EX, EE): Don't insert vertical space.
771 Use a register to store (and restore) the current font.
773 * man/ditroff.man, man/groff_diff.man, man/roff.man: Revised, based
774 on patches from Eric Raymond.
777 2007-01-22 Gaius Mulley <gaius@glam.ac.uk>
779 * tmac/an-old.tmac (an-trap, HP): Make `HP' work as expected.
781 2007-01-22 Werner LEMBERG <wl@gnu.org>
783 * tmac/an-ext.tmac: Protect against being sourced twice.
784 (URL, EE): Use always two backslashes.
787 2007-01-16 Werner LEMBERG <wl@gnu.org>
789 * tmac/an-ext.tmac: Remove code for grodvi.
791 Don't insert empty line.
792 (URL, TQ): Fix typos.
794 2007-01-14 Werner LEMBERG <wl@gnu.org>
796 * tmac/an-ext.tmac: New file, containing extension macros
797 for -man. See discussion on the groff mailing list for
798 background information.
799 * tmac/an-old.tmac: Load an-ext.tmac.
800 Decorate .ds and as with comment escapes where appropriate.
801 * tmac/Makefile.sub (NORMALFILES): Add an-ext.tmac.
803 2007-01-05 Werner LEMBERG <wl@gnu.org>
805 * src/preproc/tbl/tbl.man: Document .T# and \n[TW].
807 2007-01-04 Gaius Mulley <gaius@glam.ac.uk>
809 Make -me macros ready for grohtml.
811 * tmac/e.tmac: Load devtag.tmac.
812 (need_eo_h, need_eo_tl, need_tl): New registers.
813 (check_need_title, (x-html, )x-html, xp-html): New macros.
814 (@h, hl, ip, @p, sh, (b, (l, EQ, EN, TS, TE, PS, PE, GS, GE, r, i,
815 b, rb, bi, bx, (x, )x, xp): Adapt for use with grohtml.
816 (bp): Rename to @b only if output device is not html.
818 2007-01-01 Werner LEMBERG <wl@gnu.org>
820 * man/groff_font.man: Document empty lines.
822 * src/utils/afmtodit/afmtodit.pl: Always print a header comment at
823 the very beginning of the output.
826 * font/devps/*: Regenerate font definition files.
828 2007-01-01 Werner LEMBERG <wl@gnu.org>
830 * font/devps/generate/Makefile (AFMTODIT): Use -c flag.
832 * font/devps/*: Regenerate font definition files.
834 2006-12-31 Werner LEMBERG <wl@gnu.org>
836 * Makefile.in (oldfontdir): New variable.
837 (MDEFINES): Add $(oldfontdir).
838 (uninstall_dirs): Remove `current' link.
839 Remove $(oldfontdir).
841 * Makefile.comm (oldfontsubdir): New variable.
842 (install_dev): Install files collected in $(OLDDEVFILES) into
844 (uninstall_dev): Remove data in $(oldfontsubdir).
845 (.man.n): Handle @OLDFONTDIR@.
847 * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
848 src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
849 src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man:
850 Document GROFF_FONT_PATH.
852 * src/devices/grops/grops.man: Document GROFF_FONT_PATH and
853 old font description files.
855 * font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New
858 * font/devps/old/*: New directory, holding the previous version
859 of the 35 Adobe core font description files.
861 * font/devps/*: Regenerated the 35 Adobe core fonts, using the
862 Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de.
864 * NEWS: Document font update.
866 2006-12-31 Werner LEMBERG <wl@gnu.org>
868 * font/devps/generate/Makefile (symbolsl.afm): Use $(srcdir).
870 * Makefile.comm (fonts): New (empty) target.
871 * Makefile.in (TARGETS): Add `fonts'.
873 * MANIFEST: Add `chem'.
875 * doc/groff.texinfo (Changing Fonts): Font translations with .ftr
878 2006-12-26 Werner LEMBERG <wl@gnu.org>
880 * src/preproc/grn/hdb.cpp: Include gprint.h later. From NetBSD.
882 2006-12-19 Werner LEMBERG <wl@gnu.org>
884 Add support for German. For activation, simply use -mde or -mden
885 (for traditional and new orthgraphy, respectively) as the last
888 * tmac/de.tmac, tmac/den.tmac, tmac/hyphen.det, tmac/hyphen.den,
889 tmac/hyphenex.det: New files, partly taken from CTAN.
890 * LICENSES: Updated list of hyphenation patterns.
891 * man/groff_tmac.man: Mention de.tmac and den.tmac.
894 2006-12-11 Werner LEMBERG <wl@gnu.org>
896 Support up to 32 macro arguments in pic (and up to 16 on EBCDIC
899 * src/preproc/pic/lex.cpp (ARG1): Redefine. Update all users.
900 (MAX_ARG): New macro. Use it everywhere to replace hard-coded
901 limit of 9 arguments.
902 (process_body): Handle argument numbers with more than a single
904 (interpolate_macro_with_args): Protect against exceeding number of
907 * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Document it.
909 2006-12-10 Werner LEMBERG <wl@gnu.org>
911 * Makefile.in (site.exp, docheck): Commented out. Not working
913 (check): Just emit dummy message.
915 2006-12-08 Werner LEMBERG <wl@gnu.org>
917 During installation, create soft link from <version> to `current' in
920 * Makefile.comm (install): Renamed to...
922 (prefix_must_exist): Removed. Code moved to Makefile.in.
924 * Makefile.in (TARGETS): Remove `install'.
926 (install): New target which first creates the directory given by
927 --prefix, then calling `make' to do the installation, and finishing
928 with the creation of the soft link.
930 2006-11-21 Werner LEMBERG <wl@gnu.org>
932 * doc/Makefile.sub (uninstall_sub): Fix names for info files.
934 2006-11-18 Werner LEMBERG <wl@gnu.org>
936 * man/roff.man, doc/groff.texinfo: Improve history of roff, based on
937 information from Tom Van Vleck <thvv@multicians.org>.
939 2006-11-16 Werner LEMBERG <wl@gnu.org>
941 * tmac/62bit.tmac: New macro package.
942 * tmac/Makefile.sub (NORMALFILES): Add it.
945 * tmac/trace.tmac: Protect against being loaded again.
946 (nr): Always show result.
948 * doc/groff.texinfo (Input Encodings): Document latin-5.
950 * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
952 2006-11-13 Werner LEMBERG <wl@gnu.org>
954 * doc/groff.texinfo (Page Location Traps) [.wh]: Give more details
955 on negative trap positions.
957 2006-11-10 Werner LEMBERG <wl@gnu.org>
959 * Makefile.comm (.man.n): Handle @DATASUBDIR@.
961 2006-11-09 Werner LEMBERG <wl@gnu.org>
963 * INSTALL: Move information about external installation from
964 INSTALL.gen into this file.
967 * INSTALL.gen: Update to new version (from texinfo CVS).
969 2006-11-09 Bernd Warken
971 * INSTALL.gen: Extend the file by information on `external
972 installation'. Reorder the installation instruction as `normal
975 2006-11-08 Werner LEMBERG <wl@gnu.org>
977 * doc/Makefile.sub (install_data): Take care of proper paths while
978 installing info files. Bug reported by Bernd Warken.
980 2006-11-06 Bernd Warken
982 * src/roff/grog/grog.pl: Rewrite.
983 - Call by `#! /usr/bin/env perl'. That isn't replaced.
984 - Rename usage() to version().
986 - For `use strict', start all global variables with an upper case
987 character. Use `my' for all variables. Use several new variables.
989 - Add copyright to GPL and Emacs comment.
990 - Handle several `-m*' options.
991 - Fix handling of `-ms' and `-mm'. Add .TL and .NH.
992 - Allow options after file names.
993 - Allow only one `-' parameter (standard input).
994 - Add option abbreviations.
995 - Expand the usage information.
997 - Add single quote "'" as additional first character and allow
998 arbitrary space after the first character.
1000 * src/roff/grog/grog.sh: Rewrite.
1001 - Remove option `-e' of `sed'.
1002 - Allow file names with space characters.
1004 - Add copyright to GPL.
1005 - Handle several `-m*' options.
1006 - Fix handling of `-ms' and `-mm'. Add .TL and .NH.
1007 - Allow options after file names.
1008 - Allow only one `-' parameter (standard input).
1009 - Add option abbreviations.
1010 - Expand the usage information.
1012 - Add single quote "'" as additional first character and allow
1013 arbitrary space after the first character.
1015 * src/roff/grog/Makefile.sub:
1016 - Add copyright to GPL.
1017 - Remove `grog:'. Move `grog.old:' to `grog:' in order to have a
1018 fair chance to choose between the shell version and the Perl
1019 version of `grog'. This is now again comparable to grog in groff
1022 * src/roff/grog/grog.man: Rewrite.
1023 - Move the license to GPL.
1024 - New sections: OPTIONS, DETAILS, EXAMPLES, COPYING.
1025 - Take over some setup and macros from `groffer'.
1026 - Add information on options.
1028 2006-10-28 Werner LEMBERG <wl@gnu.org>
1030 * tmac/trace.tmac: Improve tracing of `.nr'.
1031 Trace `.substring' also.
1035 2006-10-28 Bernd Warken
1037 * man/roff.man, src/roff/groff/groff.man: Add `chem', fix position
1038 of groff development site, fix fonts.
1040 * News: Add information on `chem' and `groffer'.
1042 2006-10-26 Bernd Warken
1044 * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add `chem' bundle.
1046 2006-10-26 Werner LEMBERG <wl@gnu.org>
1048 Add `\%^' escape to handle the parameters to a macro as a string
1051 * src/roff/troff/input.h (DOUBLE_QUOTE): New special character.
1053 * src/roff/troff/input.cpp (input_iterator, input_stack,
1054 macro_iterator): Add `space_follows_arg' member function.
1055 (macro_iterator::add_arg): Add parameter to set the `space_follows'
1057 (arg_list): Add member `space_follows'.
1058 Update constructor and all callers.
1059 (decode_args): Store discarded double quotes.
1060 (interpolate_args): Handle DOUBLE_QUOTE.
1062 (get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE.
1064 * tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1.
1066 * docs/groff.texinfo (Parameters), man/groff.man,
1067 man/groff_diff.man, NEWS: Document it.
1069 2006-10-24 Bernd Warken
1071 * Makefile.in (NOMAKEDIRS): Add groffer subdirectories.
1073 2006-10-24 Werner LEMBERG <wl@gnu.org>
1075 * tmac/groff_trace.man: Mention problem with `\\\\'.
1077 2006-10-23 Werner LEMBERG <wl@gnu.org>
1079 * doc/groff.texinfo (Expressions): Improve documentation of `!'.
1081 * tmac/trace.tmac (return): Don't call `substring'.
1083 2006-09-10 Werner LEMBERG <wl@gnu.org>
1085 * src/roff/troff/input.cpp (read_size): Revert previous change
1088 * doc/groff.texinfo (Fractional Size Types): Clarify syntax of \s.
1090 2006-09-09 Werner LEMBERG <wl@gnu.org>
1092 * src/roff/troff/input.cpp (read_size): Fix `\s[-\n[.s]]' so that it
1093 behave the same as `\s-[\n[.s]]' (this is, emit a warning and set
1094 point size to 1). Reported by Gunnar Ritter.
1095 Also catch `\s-[-...]' and friends (causing an error).
1097 2006-09-06 Werner LEMBERG <wl@gnu.org>
1099 * src/roff/troff/env.cpp (environment::do_break): Insert zero-width
1100 space only if there is no previous space. This fixes a bug which
1101 caused unwanted filling of the last line in a paragraph. Thanks to
1102 Gunnar Ritter for an analysis.
1104 2006-09-03 Werner LEMBERG <wl@gnu.org>
1106 * src/roff/groff/groff.cpp (main): Pass -U flag to pic also.
1107 Reported by Jennifer Sayers <jenjen@isu.usyd.edu.au>.
1109 2006-09-01 Nick Stoughton <nick@msbit.com>
1110 Werner LEMBERG <wl@gnu.org>
1112 Add a request `pev' to print environment information (similar to
1113 `pnr' and `ptr' to print number registers and traps).
1115 * src/roff/troff/env.h (environment): Add member function print_env.
1117 * src/roff/troff/env.cpp: (environment::print_env): New function to
1118 print a given environment state.
1119 (print_env): New global function to iterate through the
1120 environments, printing each one.
1121 (init_env_requests): Register `pev'.
1123 * doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man,
1124 NEWS: Document `pev' request.
1126 2006-09-01 Bernd Warken
1128 * src/preproc/soelim/soelim.cpp (usage): Fix option argument of
1131 2006-09-01 Werner LEMBERG <wl@gnu.org>
1133 * src/preproc/pic/main.cpp (usage): Add missing options.
1135 2006-08-25 Werner LEMBERG <wl@gnu.org>
1137 * src/preproc/soelim/soelim.man: Document how to insert `\' and ` '
1140 2006-08-19 Werner LEMBERG <wl@gnu.org>
1142 * configure: Regenerated.
1144 2006-08-18 Keith Marshall <keith.d.marshall@ntlworld.com>
1146 * m4/groff.m4 (GROFF_MAKEINFO): Correct `makeinfo version testing
1147 logic; it previously caused an `expr' syntax error, if no version of
1148 `makinfo' was present. Also, remove dependency on `makeinfo' in VPATH
1149 builds, if an up to date `groff.info' is present in either `builddir'
1152 2006-08-12 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
1154 * font/devps/prologue.ps: Add BPhook.
1156 * src/devices/grops/grops.man: Document BPHook.
1157 Reorder some sections for better readability.
1159 2006-08-12 Werner LEMBERG <wl@gnu.org>
1161 * src/include/lib.h (getlocale): New macro.
1162 (setlocale, LC_ALL, LC_CTYPE) [!HAVE_SETLOCALE]: Define, as
1165 * src/preproc/preconv/preconv.cpp (main): Use getlocale.
1167 2006-08-11 Werner LEMBERG <wl@gnu.org>
1169 Add new flag to .cflags to enable hyphenation without looking at
1172 * src/roff/troff/charinfo.h (charinfo): New enumeration value
1174 New member function `ignore_hcodes'.
1176 * src/roff/troff/node.cpp (break_char_node::add_self,
1177 node::add_char): Updated.
1179 * doc/groff.texinfo, man/groff_diff.man, NEWS: Document it.
1181 2006-08-09 Werner LEMBERG <wl@gnu.org>
1183 Support composite Unicode characters again. Reported by Colin.
1185 * font/devhtml/R.proto: Renamed to...
1186 * font/devhtml/R.in: This.
1188 * font/devutf8/R.proto: Renamed to...
1189 * font/devutf8/R.in: This.
1192 * font/make-Rproto: New script.
1193 * font/devhtml/R.proto, font/devutf8/R.proto: Generated.
1195 2006-07-26 Werner LEMBERG <wl@gnu.org>
1197 * README: Fix description of CVS access. Reported by Joachim.
1199 2006-07-11 Werner LEMBERG <wl@gnu.org>
1201 Add a request `.fzoom' and a number register `.zoom' to magnify
1204 * src/include/font.h (font): Add member variable `zoom'.
1205 Add member functions `set_zoom' and `get_zoom'.
1206 Remove `static' attribute from `scale' member function.
1208 * src/libs/libgroff/font.cpp (font::font): Updated.
1209 (scale_round): New version with three parameters to handle zoom
1211 (font::scale, font::get_width): Handle zoom factor.
1212 (font::set_zoom, font::get_zoom): New functions.
1213 (font::load): Handle `zoom' while computing `space_width'.
1215 * src/roff/troff/env.h: Declare `env_get_zoom'.
1216 (environment): Add member function `get_zoom'.
1218 * src/roff/troff/env.cpp (environment::get_zoom): New function.
1219 (init_env_requests): Initialize `.zoom' register.
1221 * src/roff/troff/node.cpp (font_info): New member functions
1222 `set_zoom' and `get_zoom'.
1223 (tfont): New member function `get_zoom'.
1224 (env_get_zoom): New function.
1225 (troff_output_file::set_font): Handle zoom factor.
1226 (font_zoom_request): New function.
1227 (init_node_requests): Initialize `fzoom' request.
1229 * docs/groff.texinfo (Changing Fonts), man/groff.man,
1230 man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom'
1233 * src/roff/troff/TODO: Updated.
1235 2006-07-10 Werner LEMBERG <wl@gnu.org>
1237 * doc/groff.texinfo (Drawing Requests): Improve documentation of
1240 2006-07-02 Werner LEMBERG <wl@gnu.org>
1242 * man/groff_tmac.man: Document usage of .PSPIC within diversions.
1244 2006-07-01 Werner LEMBERG <wl@gnu.org>
1246 * tmac/pspic.tmac: Make .PSPIC work for all devices.
1247 Print image file name for devices which don't support PS image
1249 Handle multiple inclusions.
1250 Add lots of comments.
1252 * tmac/dvi.tmac, tmac/html.tmac, tmac/ps.tmac: Don't load
1255 * tmac/troffrc: Load pspic.tmac.
1257 * man/groff_tmac.man: Update .PSPIC documentation.
1261 2006-06-29 Werner LEMBERG <wl@gnu.org>
1263 * src/roff/troff/input.cpp (interpolate_macro):
1264 s/probably/possibly/, as suggested by Keith.
1266 2006-06-28 Werner LEMBERG <wl@gnu.org>
1268 Add support for \D'p...' to grotty.
1270 * src/devices/grotty/grotty.cpp (tty_printer::draw): Move most of
1272 (tty_printer::line): This function.
1273 (tty_printer::draw): Rewritten; just call either draw_line or
1275 (tty_printer::draw_line, tty_printer::draw_polygon): New functions.
1277 * src/devices/grotty/grotty.man, NEWS: Document it.
1279 2006-06-27 Werner LEMBERG <wl@gnu.org>
1281 * src/preproc/refer/command.h (have_bibliography): New variable
1284 * src/preproc/refer/command.cpp (bibliography_command): Set
1285 `have_bibliography'.
1287 * src/preproc/refer/refer.cpp: Initialize `have_bibliography'.
1288 (output_references): Emit warning only if `have_bibliography' is
1291 2006-06-15 Michail Vidiassov <master@iaas.msu.ru>
1293 * font/devps/Makefile.sub (DISTFILES): Add freeeuro.afm.
1294 * font/devps/generate/Makefile (clean): Don't remove symbolsl.afm
1297 2006-06-15 Werner LEMBERG <wl@gnu.org>
1299 * src/preproc/tbl/tbl.man: Document limitations of .TS/.TE within a
1300 macro (as suggested by Tadziu Hoffmann).
1302 2006-06-12 Werner LEMBERG <wl@gnu.org>
1304 * src/preproc/tbl/tbl.man: Add example for use of .TS/.TE within a
1305 macro (as suggested by Tadziu Hoffmann).
1307 2006-06-05 Werner LEMBERG <wl@gnu.org>
1309 * tmac/strip.sed: Strip `\#' also.
1311 * doc/groff.texinfo (Operators in Conditionals): Document usage of
1312 \? for string comparison.
1314 2006-06-04 Werner LEMBERG <wl@gnu.org>
1316 * doc/groff.texinfo: Add more index entries for copy-in mode.
1317 (Changing Fonts) <.ft>: Document that a font definition file must
1318 not be called `DESC'.
1320 2006-05-31 Werner LEMBERG <wl@gnu.org>
1322 * src/roff/troff/input.cpp (token::next) <\N>: Catch negative values
1325 * doc/Makefile.sub (EXAMPLEFILES): Move gnu.eps to...
1326 (PROCESSEDEXAMPLEFILES): Here.
1328 2006-05-30 Werner LEMBERG <wl@gnu.org>
1330 * src/libs/libgroff/font.cpp (font::load): Reject fonts called
1332 Reduce number of false positives for `.if F ...' conditionals.
1333 Improve warning messages.
1335 2006-05-29 Werner LEMBERG <wl@gnu.org>
1337 * tmac/Makefile.sub: Add copyright notice.
1338 (NORMALFILES): Add man.tmac and ms.tmac.
1339 (SPECIALFILES): Remove man.tmac and ms.tmac.
1340 (CLEANADD): Remove man.tmac-sed and ms.tmac-sed.
1341 (install_data, uninstall_sub): Don't handle man.tmac and ms.tmac
1343 (stamp-sed): Don't handle man.tmac and ms.tmac.
1344 Remove obsolete components in sed's regexp.
1346 * doc/Makefile.sub (EXAMPLEFILES): Add gnu.eps.
1348 * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add hdtbl.
1350 2006-05-28 Werner LEMBERG <wl@gnu.org>
1352 * doc/groff.texinfo (History): Correct death circumstances of Joe
1355 2006-05-27 Werner LEMBERG <wl@gnu.org>
1357 * tmac/an-old.tmac (an-do-tag): Simplify.
1359 2006-05-26 Werner LEMBERG <wl@gnu.org>
1361 * tmac/an-old.tmac (an-do-tag): Make margin characters work.
1362 (an-header, an-p-footer): Use named environment.
1364 * src/roff/troff/env.cpp (environment::copy): Copy margin character
1367 2006-05-21 Werner LEMBERG <wl@gnu.org>
1369 * tmac/trace.tmac (de1): Fix serious typo (.di -> .do) and minor
1372 2006-05-11 Keith Marshall <keith.d.marshall@ntlworld.com>
1374 * src/roff/groff/groff.man: Remove superfluous word `intermediate'.
1376 2006-05-10 Keith Marshall <keith.d.marshall@ntlworld.com>
1378 * src/roff/groff/groff.man: Update copyright notice.
1379 Improved wording to describe effect of `-Z' option.
1381 2006-05-06 Werner LEMBERG <wl@gnu.org>
1383 * tmac/www.tmac: Decorate `.ds' with trailing `\"' where missing.
1384 Normalize handling of `"' in arguments.
1385 (PIMG): Remove debug message.
1388 2006-05-05 Werner LEMBERG <wl@gnu.org>
1390 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Don't
1391 swallow character immediately after `\[...]'.
1394 2006-05-02 Gaius Mulley <gaius@glam.ac.uk>
1396 * tmac/www.tmac (PIMG): Fix the HTML device specific components.
1398 2006-05-02 Larry Kollar <kollar@alltel.net>
1400 * tmac/www.tmac (PIMG): Really default to `-C' if the alignment
1403 2006-04-30 Michail Vidiassov <master@iaas.msu.ru>
1405 * src/utils/afmtodit/afmtodit.pl: New option `-c' to add font
1406 information as a comment in output.
1407 * src/utils/afmtodit/afmtodit.man, NEWS: Document it.
1409 2006-04-26 Werner LEMBERG <wl@gnu.org>
1411 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
1412 Handle current_paragraph only if it is non-NULL.
1414 * src/libs/libdriver/input.cpp (parse_x_command <'F'>, do_file
1415 <'F'>): Use `get_extended_arg' to behave as documented. Reported by
1416 Bill Ward <william.a.ward.jr@erdc.usace.army.mil>.
1419 Surround the (pseudo) file name for the .pso request with `<' and
1422 * src/roff/troff/node.cpp (real_output_file, troff_output_file): Add
1423 second parameter to `really_put_filename' and `put_filename'.
1424 (troff_output_file::really_put_filename): Emit `<' and `>' around
1425 filename if second argument is set.
1426 * src/roff/troff/node.h: Updated.
1428 * src/roff/troff/input.cpp (file_iterator::file_iterator,
1429 file_iterator::set_location): Update to changes in node.cpp.
1431 2006-04-25 Tetsurou Okazaki <okazaki@FreeBSD.org>
1433 * src/preproc/preconv/preconv.cpp (do_file): Fix conditional
1434 preprocessor expression (I18N -> HAVE_ICONV).
1435 (main): Fix handling of option `-h'.
1436 Fix conditional preprocessor expression.
1438 2006-04-04 Werner LEMBERG <wl@gnu.org>
1440 Implement new number register `.br' which is set to 1 if a macro has
1441 been called as .foo and to 0 if called as 'bar. This is useful for
1442 -mtrace so that requests can be reliably traced too.
1444 * src/roff/troff/input.cpp (input_iterator): Add virtual function
1446 (macro_iterator): Add `with_break' member and `get_break_flag'
1448 Update constructors.
1449 (input_stack): Add function `get_break_flag'.
1450 (break_flag_reg): New number register class.
1451 (input_init_requests): Register `.br'.
1453 * src/roff/troff/TODO: Updated.
1455 * tmac/trace.tmac: s/!!sp/!!!sp/.
1456 Modify definitions of `de', `de1', `am', and `am1' to use \n[.br].
1458 * docs/groff.texinfo (Requests), man/groff.man, man/groff_diff.man,
1461 2006-03-29 Werner LEMBERG <wl@gnu.org>
1463 * src/devices/grops/ps.cpp: s/must not/should not/ in warning
1464 messages where appropriate.
1466 2006-03-28 Werner LEMBERG <wl@gnu.org>
1468 * configure.ac: Call AC_PROG_EGREP.
1469 * configure: Regenerated.
1471 * Makefile.in (EGREP): New variable.
1472 (MDEFINES): Add $(EGREP).
1474 * src/roff/grog/grog.sh: Treat .TH between .TS and .TE properly
1475 (bug reported by Robert Goulding <Goulding.2@nd.edu>).
1478 * src/roff/grog/Makefile.sub (grog, grog.old): Use $(EGREP).
1480 2006-03-27 Werner LEMBERG <wl@gnu.org>
1482 Add two requests `.device' and `.devicem' which are equivalent to
1483 `\X' and `\Y', respectively.
1485 * src/roff/troff/input.cpp (device_request, device_macro_request):
1487 (init_input_requests): Register them.
1489 * doc/groff.texinfo (Postprocessor Access), man/groff_diff.man,
1490 man/groff.man, NEWS: Document them.
1492 2006-03-27 Gaius Mulley <gaius@glam.ac.uk>
1494 * src/roff/troff/input.cpp (encode_char): Emit special characters
1495 for -Thtml as `\[...]'.
1496 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Updated.
1498 * doc/groff.texinfo (Postprocessor Access) <\X>: Updated.
1500 2006-03-27 Werner LEMBERG <wl@gnu.org>
1502 * tmac/Makefile.sub (NORMALFILES, SPECIALFILES): Add various missing
1505 2006-03-26 Werner LEMBERG <wl@gnu.org>
1507 * doc/groff.texinfo (Writing Macros): More documentation on
1508 end-of-macro symbol of `.de'.
1509 (Diversions): Minor addition to `.di' description.
1511 * src/devices/grops/grops.man: Some clarifications regarding
1512 insertion of PostScript snippets.
1514 2006-03-25 Michail Vidiassov <master@iaas.msu.ru>
1516 Add rules to generate `symbolsl.afm'.
1518 * font/devps/generate/zapfdr.sed,
1519 font/devps/generate/symbolsl.awk: New files.
1521 * font/devps/generate/Makefile (symbolfont, PRINTAFM): New
1523 (SS, clean): Updated.
1524 (freeeuro.afm): Use $(srcdir).
1525 (symbolsl.afm): New rule.
1526 (zapfdr.afm): Use zapfdr.sed.
1528 2006-03-22 Dwight Aplevich <aplevich@uwaterloo.ca>
1530 * src/preproc/pic/pic.y (expr <INT>): Fix code.
1532 2006-03-22 Jörgen Grahn <jgrahn@algonet.se>
1534 * tmac/sv.tmac: Add missing translations and activate support for
1535 other macro packages.
1537 2006-03-21 Francis GUDIN <fgudin@nerim.net>
1539 * tmac/doc-syms (Dx): New macro to identify DragonFly.
1540 (doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
1541 doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
1543 (doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
1544 doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
1545 doc-operating-system-DragonFly-*): New operating system strings.
1547 * tmac/groff_mdoc.man, NEWS: Document `Dx'.
1549 2006-03-21 Werner LEMBERG <wl@gnu.org>
1551 * src/preproc/pic/pic.y (object_spec THEN): For compatibility with
1552 both DWB pic and dpic, make
1560 line right then down;
1567 * doc/pic.ms: Document this.
1569 2006-03-20 Werner LEMBERG <wl@gnu.org>
1571 * doc/pic.ms: With permission of Eric Raymond, put it under the
1576 2006-03-19 Werner LEMBERG <wl@gnu.org>
1578 * src/preproc/pic/pic.y (expr <INT>): Really return integer part.
1580 * src/preproc/pic/objects.cpp (object_spec::make_line): Handle `at'
1581 attribute in combination with `with'. Bug reported by Jennifer
1582 Sayers <jenjen@mail.usyd.edu.au>.
1584 2006-03-19 Miklos Somogyi <msom@netspace.net.au>
1586 * doc/groff.texinfo (Manipulating Spacing): Improve documentation of
1589 2006-03-18 Werner LEMBERG <wl@gnu.org>
1591 * LICENSE: Renamed to...
1592 * LICENSES: This. Collect all licensing information in this file.
1593 * tmac/README, src/libs/snprintf/README: Removed.
1595 * src/devices/grops/grops.man: Add section how to install fonts.
1597 * src/utils/xtotroff/xtotroff.c: Add GPL.
1599 2006-03-17 Werner LEMBERG <wl@gnu.org>
1601 * Makefile.comm (.y.cpp): Fix #line arguments in output.
1603 2006-03-13 Werner LEMBERG <wl@gnu.org>
1605 * src/preproc/tbl/tbl.man: Mention default length of text blocks.
1607 * tmac/doc-common (Os): Add more Darwin versions.
1608 * tmac/groff_mdoc.man: Document them.
1610 * doc/groff.texinfo (Operators in Conditionals): Mention that `c'
1611 works with \N'...' also.
1612 * man/groff_diff.man: Ditto. Remove use of future tense where
1615 2006-03-12 Michail Vidiassov <master@iaas.msu.ru>
1617 * font/devps/generate/make-zapfdr, font/devps/symbolsl.ps,
1618 font/devps/zapfdr.ps: Add `%%EndComments' line.
1620 2006-03-10 Larry Kollar <kollar@alltel.net>
1622 * doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.
1624 2006-03-10 Werner LEMBERG <wl@gnu.org>
1626 * src/devices/grops/ps.cpp (ps_printer::do_exec, ps_printer::do_def,
1627 ps_printer::do_mdef): Overlong lines now cause a warning message,
1630 2006-03-09 Werner LEMBERG <wl@gnu.org>
1632 * font/devps/generate/make-zapfdr: New script for generating
1635 2006-03-08 Werner LEMBERG <wl@gnu.org>
1637 * doc/groff.css (pre): Fix `background-color' value.
1639 2006-03-04 Larry Kollar <kollar@alltel.net>
1641 * tmac/groff_ms.man: Document PT, HD, and BT.
1643 2006-03-04 Werner LEMBERG <wl@gnu.org>
1645 * src/roff/troff/node.cpp (make_glyph_node): Improve warning message
1646 for single-letter glyph names.
1648 2006-03-02 Werner LEMBERG <wl@gnu.org>
1650 * tmac/sv.tmac: New file; currently holding only the Swedish strings
1652 * tmac/hyphen.sv: New hyphenation pattern file for Swedish, taken
1654 * tmac/README: Updated.
1656 2006-02-27 Werner LEMBERG <wl@gnu.org>
1658 * tmac/trans.tmac (Liec, Letdate, Letns!14): Add it (for -mm).
1659 * tmac/fr.tmac: Add French translations.
1661 * tmac/composite.tmac: Add entry for `:'.
1663 2006-02-26 Werner LEMBERG <wl@gnu.org>
1665 * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable.
1667 (install_html, uninstall_sub): Updated.
1669 2006-02-26 Bruno Haible <bruno@clisp.org>
1671 Introduce Unicode fonts.
1673 * font/devhtml/DESC.proto: Mark as unicode.
1674 * font/devhtml/R.proto: Remove all charset entries that are already
1676 * font/devutf8/DESC.proto: Mark as unicode.
1677 * font/devutf8/R.proto: Remove all charset entries.
1678 * src/include/font.h (font): New static field `is_unicode'.
1679 Change order of fields.
1680 * src/libs/libgroff/font.cpp: Include unicode.h.
1681 (font::font): Update for changed order of fields.
1682 (font::contains, font::get_width, font::get_height, font::get_depth,
1683 font::get_italic_correction, font::get_left_italic_correction,
1684 font::get_subscript_correction, font::get_character_type,
1685 font::get_code, font::get_special_device_encoding): Handle both the
1686 explicitly enumerated glyphs and use general code for Unicode fonts.
1687 (font::load): Make the charset section optional when the font is
1689 (font::load_desc): Recognize the `unicode' attribute.
1690 * src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
1692 2006-02-26 Claudio Fontana <claudio@gnu.org>
1694 * Makefile.in: Add comment about DESTDIR.
1696 * Makefile.sub: Add DESTDIR to install and uninstall targets
1697 to support staged installations.
1698 * Makefile.comm: Likewise.
1699 * doc/Makefile.sub: Likewise.
1700 * contrib/eqn2graph/Makefile.sub: Likewise.
1701 * contrib/grap2graph/Makefile.sub: Likewise.
1702 * contrib/pic2graph/Makefile.sub: Likewise.
1703 * src/devices/xditview/Makefile.sub: Likewise.
1704 * src/preproc/eqn/Makefile.sub: Likewise.
1705 * src/roff/grog/Makefile.sub: Likewise.
1706 * src/roff/nroff/Makefile.sub: Likewise.
1707 * src/utils/afmtodit/Makefile.sub: Likewise.
1708 * src/utils/indxbib/Makefile.sub: Likewise.
1709 * tmac/Makefile.sub: Likewise.
1711 2006-02-24 Werner LEMBERG <wl@gnu.org>
1713 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1715 Remove commented out entries for \' and \` (there are no such glyph
1718 * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1719 commented out entries for \' and \`.
1722 * */*: s/legal/valid/ where appropriate.
1724 2006-06-23 Werner LEMBERG <wl@gnu.org>
1726 * font/devhtml/R.proto, font/devutf8/R.proto: Remove incorrect \'
1729 2006-02-22 Werner LEMBERG <wl@gnu.org>
1731 Remove all remaining traces from the `shc' glyph.
1733 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
1734 src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1737 * font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc'
1738 entry with unnamed glyph.
1740 * tmac/html/tmac: Remove `shc' entry from call to `.cflags'.
1742 * src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD
1745 2006-02-22 Bruno Haible <bruno@clisp.org>
1747 Concretize the `glyph' datatype.
1749 * src/include/font.h (glyph): Remove class.
1750 (glyph): Renamed from struct `glyphinfo'.
1751 (glyph_to_index): New inline function.
1752 (glyph_to_name): Make extern, not inline.
1753 (glyph_to_number): Update.
1754 (font): Use `glyph *' instead of `glyph'.
1756 * src/libs/libgroff/nametoindex.cpp (charinfo): Inherit from class
1757 `glyph'. Make `name' field public.
1758 (character_indexer, number_to_glyph, name_to_glyph): Use `glyph *'
1760 (glyph_to_name): Renamed from `glyph::glyph_name'.
1762 * src/roff/troff/charinfo.h (charinfo): Inherit from class `glyph'.
1763 Use `glyph *' instead of `glyph'.
1765 * src/roff/troff/input.cpp (name_to_glyph, number_to_glyph): Use
1766 `glyph *' instead of `glyph'.
1767 (glyph_to_name): Renamed from `glyph::glyph_name'.
1769 * src/libs/libgroff/font.cpp: Use `glyph *' instead of `glyph',
1770 and `glyph_to_index' instead of `glyph::glyph_index'.
1772 * src/include/printer.h (printer): Use `glyph *' instead of `glyph'.
1773 * src/libs/libdriver/printer.cpp: Likewise.
1774 * src/devices/grodvi/dvi.cpp: Likewise.
1775 * src/devices/grohtml/post-html.cpp: Likewise.
1776 * src/devices/grolbp/lbp.cpp: Likewise.
1777 * src/devices/grolj4/lj4.cpp: Likewise.
1778 * src/devices/grops/ps.cpp: Likewise.
1779 * src/devices/grotty/tty.cpp: Likewise.
1781 2006-02-22 Werner LEMBERG <wl@gnu.org>
1783 * font/devdvi/generate/tc.map: Add `sr' glyph.
1784 * font/devdvi/*TC: Regenerated.
1786 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1789 2006-02-21 Werner LEMBERG <wl@gnu.org>
1791 * man/groff_char.man: Explain `***' marker.
1793 2006-02-17 Bruno Haible <bruno@clisp.org>
1795 * src/libs/libgroff/nametoindex.cpp (character_indexer): Rename
1796 methods and fields from *_index to *_glyph.
1797 (character_indexer::named_char_glyph): Test for `charNNN' name
1799 (name_to_glyph): ... not here.
1801 2006-02-17 Bruno Haible <bruno@clisp.org>
1803 * src/include/font.h (name_to_glyph): Renamed from
1804 font::name_to_index.
1805 (number_to_glyph): Renamed from font::number_to_index.
1806 (glyph_to_name): Renamed from font::index_to_name.
1807 (glyph_to_number): Renamed from font::index_to_number.
1808 * src/libs/libgroff/nametoindex.cpp: Likewise.
1809 * src/roff/troff/charinfo.h (charinfo::as_glyph): Renamed from
1810 charinfo::get_index.
1812 * src/roff/troff/input.cpp: All callers changed.
1813 * src/roff/troff/node.cpp: Likewise.
1814 * src/libs/libgroff/font.cpp: Likewise.
1815 * src/devices/grops/ps.cpp: Likewise.
1816 * src/devices/grohtml/post-html.cpp: Likewise.
1817 * src/libs/libdriver/printer.cpp: Likewise.
1819 2006-02-17 Werner LEMBERG <wl@gnu.org>
1821 * src/include/ptable.h, src/include/itable.h
1822 (NEXT_PTABLE_SIZE_DEFINED): Use it to avoid multiple declaration
1823 of external symbol `next_ptable_size' (used by both header files).
1825 2006-02-15 Bruno Haible <bruno@clisp.org>
1827 * src/include/font.h (glyphinfo): New class.
1828 (glyph): Change internal representation.
1829 Change constructor signature.
1830 New method glyph::glyph_number().
1831 (glyph::glyph, glyph glyph::undefined_glyph, glyph::glyph_index,
1832 glyph::operator==, glyph::operator!=): Update.
1833 (font::index_to_name, font::index_to_number): New functions.
1835 * src/include/itable.h: New file, based on src/include/ptable.h.
1837 * src/libs/libgroff/nametoindex.cpp: Include itable.h.
1838 (class charinfo): New class.
1839 (class character_indexer): Change table result type from `int' to
1841 Add table with integer key.
1842 (character_indexer::character_indexer): Update.
1843 (character_indexer::ascii_char_index): Update.
1844 (character_indexer::numbered_char_index): Use NULL as name, not a
1845 string starting with a space.
1846 (character_indexer::named_char_index): Update.
1847 (font::number_to_index, font::name_to_index): Remove no-op cast.
1848 (glyph::glyph_name): New method.
1849 * src/roff/troff/charinfo.h (class charinfo): Inherit from class
1851 (NUMBERED): Remove flag bit.
1852 (charinfo::numbered, charinfo::get_index): Update.
1854 * src/roff/troff/input.cpp (charinfo::charinfo): Update.
1855 (charinfo::set_number, charinfo::get_number): Update.
1856 (glyph::glyph_name): New method.
1858 2006-02-15 Werner LEMBERG <wl@gnu.org>
1860 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Fix
1861 entries for `>>', `<<', `*f', and `+f'. Reported by Bruno.
1863 2006-02-13 Werner LEMBERG <wl@gnu.org>
1865 * font/devps/prologue.ps (RE): Check `UniqueID' also, similar to
1868 2006-02-11 Werner LEMBERG <wl@gnu.org>
1870 * src/include/font.h: s/glyph_t/glyph/.
1873 * src/devices/grotty/tty.cpp: s/glyph/tty_glyph/.
1874 s/output_character_t/output_character/.
1876 2006-02-11 Bruno Haible <bruno@clisp.org>
1878 New accessor method glyph_t::glyph_name().
1880 * src/include/ptable.h (declare_ptable): Add a return value to the
1881 `define' method, and declare a `lookupassoc' method.
1882 (implement_ptable): Return the stored key in `define'. Implement
1884 * src/include/font.h (glyph_t): Add `name' field. Add an argument
1886 (glyph_t::glyph_name): New method.
1888 * src/libs/libgroff/nametoindex.cpp (character_indexer): Change
1889 return type of methods and field member type to glyph_t.
1890 (character_indexer::character_indexer): Update.
1891 (character_indexer::ascii_char_index): Allocate a name for the
1893 Return a glyph_t with name.
1894 (character_indexer::numbered_char_index): Return a glyph_t without a
1896 (character_indexer::named_char_index): Return a glyph_t with a name.
1897 (font::number_to_index, font::name_to_index): Update.
1899 * src/roff/troff/input.cpp (charinfo::charinfo): Use the symbol as
1902 2006-02-11 Bruno Haible <bruno@clisp.org>
1904 * src/devices/grotty/tty.cpp (output_character_t): New type.
1905 (tty_printer::make_bold, tty_printer::add_char,
1906 tty_printer::put_char): Change argument type to output_character_t.
1907 (crossings): Change element type to output_character_t.
1909 2006-02-11 Bruno Haible <bruno@clisp.org>
1911 Make the glyph data type abstract.
1913 * src/include/font.h (glyph_t): New class.
1914 (name_to_index, number_to_index): Change return type to glyph_t.
1915 (font::contains, font::get_width, font::get_height, font::get_depth,
1916 font::get_character_type, font::get_kern, font::get_skew,
1917 font::get_italic_correction, font::get_left_italic_correction,
1918 font::get_subscript_correction, font::get_code,
1919 font::get_special_device_encoding, font::add_entry,
1920 font::copy_entry, font::add_kern, font::hash_kern): Change argument
1923 * src/libs/libgroff/font.cpp (font_kern_list): Change members
1924 type and constructor argument types to glyph_t.
1925 (font::contains, font::get_width, font::get_height, font::get_depth,
1926 font::get_character_type, font::get_kern, font::get_skew,
1927 font::get_italic_correction, font::get_left_italic_correction,
1928 font::get_subscript_correction, font::get_code,
1929 font::get_special_device_encoding, font::add_entry,
1930 font::copy_entry, font::add_kern, font::hash_kern): Change argument
1932 (font::load): Use glyph_t variables.
1934 * src/libs/libgroff/nametoindex.cpp (name_to_index,
1935 number_to_index): Change return type to glyph_t.
1937 * src/roff/troff/charinfo.h (charinfo::index): Change type to
1939 (charinfo::get_index): Change return type to glyph_t.
1941 * src/roff/troff/env.cpp: Include font.h.
1943 * src/roff/troff/node.cpp: Include font.h before charinfo.h.
1945 * src/roff/troff/input.cpp: Include font.h before charinfo.h.
1946 (charinfo::charinfo): Update.
1947 (name_to_index, number_to_index): Change return type to glyph_t.
1949 * src/include/printer.h (printer::set_char_and_width): Change return
1952 * src/libs/libdriver/printer.cpp (printer::set_char_and_width):
1953 Change return type to glyph_t.
1955 * src/devices/grodvi/dvi.cpp (dvi_printer::set_char): Change
1956 argument type to glyph_t.
1958 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Update.
1959 (html_printer::space_glyph): Renamed from space_char_index.
1960 (html_printer::add_to_sbuf, html_printer::sbuf_continuation,
1961 html_printer::overstrike, html_printer::set_char): Change argument
1963 (html_printer::set_char_and_width): Change return type to glyph_t.
1965 * src/devices/grolbp/lbp.cpp (lbp_printer::set_char): Change
1966 argument type to glyph_t.
1968 * src/devices/grolj4/lj4.cpp (lj4_printer::set_char): Change
1969 argument type to glyph_t.
1971 * src/devices/grops/ps.cpp (ps_printer::space_glyph): Renamed from
1973 (ps_printer::set_subencoding, ps_printer::set_char): Change argument
1976 * src/devices/grotty/tty.cpp (tty_printer::set_char): Change
1977 argument type to glyph_t.
1979 2006-02-11 Bruno Haible <bruno@clisp.org>
1981 * src/roff/troff/input.cpp (font::name_to_index): Never return a
1984 * src/libs/libgroff/font.cpp (font::load): Remove failure tests for
1985 font::name_to_index.
1987 2006-02-10 Werner LEMBERG <wl@gnu.org>
1989 * doc/groff.texinfo (Assigning Formats): Number registers are always
1991 Apply some rephrasing, contributed by Michael Burt.
1993 2006-02-07 Werner LEMBERG <wl@gnu.org>
1995 * tmac/fr.tmac <ms>: Set `HY' register.
1997 2006-02-07 Werner LEMBERG <wl@gnu.org>
1999 Add framework for simple adaptation of the main macro packages (mm,
2000 me, ms, mom) to different locales. In particular, add support for
2001 French. For activation, simply use `-mfr' as the last macro
2002 package. This feature has been contributed by Fabrice Ménard
2003 <menard.fabrice@wanadoo.fr>.
2005 * tmac/fr.tmac, tmac/trans.tmac, tmac/hyphen.fr, tmac/LOCALIZATION:
2007 * tmac/README: Mention hyphen.fr.
2008 * man/groff_tmac.man: Mention fr.tmac.
2011 2006-01-27 Werner LEMBERG <wl@gnu.org>
2013 * man/groff_font.man: Updated documentation of `entity_name' field.
2016 2006-01-27 Bruno Haible <bruno@clisp.org>
2018 * font/devhtml/R.proto: Remove the entity names from the font's
2019 special_encoding_encoding column.
2020 * src/devices/grohtml/post-html.cpp (get_html_entity): New function,
2021 handling the entity names here.
2022 (get_html_translation): Use it. Change return type to `const
2024 (page::add_and_encode): Update, removing a useless cast.
2026 2006-01-26 Werner LEMBERG <wl@gnu.org>
2028 This change is based on a patch by Bruno Haible <bruno@clisp.org>.
2030 * src/include/device.h: Add comments.
2031 * src/include/font.h: Add comments.
2032 * src/include/unicode.h: Likewise.
2033 * src/include/ptable.h, src/libs/libgroff/ptable.cpp: Likewise.
2035 2006-01-26 Keith Marshall <keith.d.marshall@ntlworld.com>
2037 Suppress `.st' request emission by `grn'.
2039 * src/preproc/grn/main.cpp (USE_ST_REQUEST): New macro.
2042 2006-01-22 Werner LEMBERG <wl@gnu.org>
2044 * install-sh: New version; taken from texinfo CVS.
2046 2006-01-21 Werner LEMBERG <wl@gnu.org>
2048 * src/preproc/preconv/preconv.cpp (main): Set program_name. Bug
2049 reported by Alexander E. Patrakov <patrakov@ums.usu.ru>.
2051 2006-01-19 Bruno Haible <bruno@clisp.org>
2053 Let `make -k install' install more files.
2055 * Makefile.in (MAKE_K_FLAG): New variable. Use it everywhere where
2056 $(MAKE) and $(MDEFINES) are used.
2057 (CPROGDIRS): Remove $(XPROGDIRS). Treat $(XPROGDIRS) like
2058 $(CPROGDIRS) everywhere.
2059 ($(DEVDIRS) $(XDEVDIRS) $(OTHERDEVDIRS) $(TTYDEVDIRS)): Don't depend
2061 ($(OTHERDIRS)): Likewise.
2064 * src/devices/grohtml/post-html.cpp (get_html_translation): Remove
2065 failure test for font::name_to_index -- it can never fail.
2067 2006-01-19 Werner LEMBERG <wl@gnu.org>
2069 * src/devices/grops/grops.man: Fix section on creating EPS files.
2070 Don't use future time in manual.
2073 2006-01-15 Gaius Mulley <gaius@glam.ac.uk>
2075 * tmac/www.tmac: New macro LINKSTYLE which allows users to set
2076 various typographical URL attributes for non-HTML devices.
2078 * tmac/groff_www.man: Document LINKSTYLE.
2080 2006-01-11 Werner LEMBERG <wl@gnu.org>
2082 * configure.ac: Test for getc_unlocked (needed for localcharset).
2083 * configure, src/include/config.hin: Regenerated.
2085 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Define
2088 * src/libs/libgroff/relocatable.h: New dummy header file for
2091 * src/libs/libgroff/localcharset.c: Updated to (unchanged) CVS
2094 2006-01-10 Bruno Haible <bruno@clisp.org>
2096 Work around unportability of nl_langinfo(CODESET).
2098 * m4/glibc21.m4: New file, from gnulib.
2099 * Makefile.sub (M4MACROS): Add m4/glibc21.m4.
2100 * configure.ac: Also test for stddef.h, and invoke jm_GLIBC21.
2101 * Makefile.in (HOST, GLIBC21): New variables.
2102 (MDEFINES): Pass them to subdirectories.
2103 * src/include/relocate.h (relocatep): Define with C linkage.
2104 * src/include/localcharset.h: New file, from gnulib.
2105 * src/libs/libgroff/localcharset.c: New file, from gnulib with a
2106 modification for relocate().
2107 * src/libs/libgroff/config.charset: New file, from gnulib.
2108 * src/libs/libgroff/ref-add.sin: New file, from gnulib.
2109 * src/libs/libgroff/ref-del.sin: New file, from gnulib.
2110 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Also define LIBDIR.
2111 (OBJS): Add localcharset.o.
2112 (CSRCS): Add localcharset.c.
2113 (all): Add dependencies to charset.alias, ref-add.sed, ref-del.sed.
2114 (charset.alias): New rule.
2115 (PACKAGE): New variable.
2116 (ref-add.sed, ref-del.sed): New rules.
2117 (MKINSTALLDIRS): New variable.
2118 (install_data): Depend on install_charset_data.
2119 (install_charset_data): New rule for creating or updating
2121 (uninstall_sub): Depend on uninstall_charset_data.
2122 (uninstall_charset_data): New rule for uninstalling or updating
2124 * src/preproc/preconv/preconv.cpp: Include localcharset.h instead
2126 (main): Initialize default_encoding from locale_charset() instead of
2127 nl_langinfo(CODESET).
2129 * aclocal.m4, configure, src/include/config.hin: Regenerated.
2131 2006-01-10 Werner LEMBERG <wl@gnu.org>
2133 * src/preproc/preconv/preconv.cpp (conversion_iconv): Use
2134 ICONV_CONST in call to iconv. Reported by Robert Goulding.
2136 2006-01-07 Werner LEMBERG <wl@gnu.org>
2138 * font/devps/generate/freeeuro.sfd: Run auto-hinter with recent
2140 Bump font version to 001.001.
2142 * font/devps/generate/Makefile (freeeuro.afm, freeeuro.pfa):
2143 Call fontforge, not pfaedit.
2145 * font/devps/freeeuro.afm, font/devps/freeeuro.pfa: Regenerated.
2147 2006-01-05 Ruslan Ermilov <ru@FreeBSD.org>
2149 * tmac/doc-common: Add new FreeBSD and NetBSD versions.
2150 * tmac/groff_mdoc.man: Updated.
2152 2006-01-05 Werner LEMBERG <wl@gnu.org>
2154 * src/preproc/preconv/preconv.cpp: s/debug/debug_flag/.
2155 (raw_flag): New global variable.
2156 (do_file): Use .lf to set file name (if `raw_flag' isn't set).
2157 Don't pass BOM to `conversion_utf8'.
2159 (main): Handle `-r' command line switch to set `raw_flag'.
2160 (get_BOM): Fix encodings in `BOM_table'.
2162 * src/preproc/preconv/preconv.man: New file. Not complete yet.
2163 * src/preproc/proconv/Makefile.sub (MAN1): New variable.
2165 2006-01-04 Werner LEMBERG <wl@gnu.org>
2167 * src/preproc/preconv/preconv.cpp (emacs_to_mime): As suggested by
2168 Bruno, comment out most encodings to support only a small set of
2169 coding tags, thus reducing potential problems with legacy encodings
2170 and character sets in the future.
2171 Add many XEmacs coding tags (now commented out).
2173 (check_encoding_tag): Renamed to...
2174 (check_coding_tag): This.
2175 (get_BOM): Return encoding as specified by BOM.
2176 Test for UTF32-LE too.
2177 (do_file): Don't check for coding tag if a BOM has been found.
2179 2006-01-03 Bruno Haible <bruno@clisp.org>
2181 * m4/groff.m4: Renamed from aclocal.m4.
2182 * m4/codeset.m4: New file, from gnulib.
2183 * m4/iconv.m4: New file, from gnulib.
2184 * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
2186 * config.rpath: New file, from gnulib.
2187 * config.guess, config.sub: New files, from gnulib.
2188 * Makefile.sub (M4MACROS): New variable.
2189 (configure): Fix typo.
2190 (aclocal.m4): New rule.
2191 (stamp-h.in): Depend on aclocal.m4.
2192 * configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET.
2193 * Makefile.in (LIBICONV): New variable.
2194 (MDEFINES): Pass it to recursive makes.
2195 * src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and
2196 HAVE_ICONV instead of I18N macro.
2197 * src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable.
2199 * aclocal.m4, configure, src/include/config.hin: (Re)generated.
2201 2006-01-03 Werner LEMBERG <wl@gnu.org>
2203 * doc/Makefile.in (webpage.html): Simplify.
2204 * doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in.
2205 * doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
2207 2006-01-01 Werner LEMBERG <wl@gnu.org>
2209 * tmac/doc-common (Os): Add some Darwin versions.
2210 * tmac/groff_mdoc.man: Document them.
2212 2006-01-01 Bruno Haible <bruno@clisp.org>
2214 * src/preproc/preconv/preconv.cpp (emacs_to_mime): Various
2216 . Don't map ascii to latin-1.
2217 . Don't use IBMxxx encodings but cpxxx for portability.
2218 . Map cp932, cp936, cp949, cp950 to itself.
2219 (emacs2mime): Protect calls to strcasecmp.
2220 (conversion_iconv): Add missing call to iconv_close.
2221 (do_file): Emit error message in case of unsupported encoding.
2223 2005-12-31 Werner LEMBERG <wl@gnu.org>
2225 Integrate preconv into the groff binary. Changes based on a patch
2226 from Michail Vidiassov.
2228 * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase by 1.
2230 * src/roff/groff/groff.cpp (PRECONV_INDEX): New macro.
2231 (SOELIM_INDEX): Updated.
2232 (help, synopsis): Updated.
2233 (main): Add command line options `-k' and `-K enc' to select
2235 Add support for GROFF_ENCODING environment variable.
2237 * src/roff/groff/groff.man: Updated and revised.
2240 Start with autoconf support for preconv.
2242 * configure.ac: Call AC_C_BIGENDIAN.
2243 * configure, src/include/config.hin: Regenerated.
2245 2005-12-30 Werner LEMBERG <wl@gnu.org>
2247 New preprocessor `preconv' to convert input encodings to something
2248 groff can understand. Not yet integrated within groff. Proper
2249 autoconf stuff is missing too.
2251 Tomohiro Kubota has written a first draft of this program, and some
2252 ideas have been reused (while almost no code has been taken
2255 * src/preproc/preconv/preconv.cpp. src/preproc/preconv/Makefile.sub:
2258 * MANIFEST, Makefile.in (CCPROGDIRS), test-groff.in
2259 (GROFF_BIN_PATH): Add preconv.
2261 2005-12-12 Werner LEMBERG <wl@gnu.org>
2263 * aclocal.m4 (GROFF_MAKEINFO): Fix regexps to be POSIX conformant.
2264 In particular, don't use `\+' since it is a GNU sed extension.
2266 * configure: Regenerated.
2268 2005-12-09 Werner LEMBERG <wl@gnu.org>
2270 * src/libs/libgroff/make-uniuni: New script to generate uniuni.cpp.
2272 * src/libs/libgroff/uniuni.cpp: Regenerated, using data from Unicode
2276 * src/utils/afmtodit/make-afmtodit-tables: New script to generate
2279 * src/utils/afmtodit/afmtodit.tables: New file, representing Unicode
2282 * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
2283 %AGL_to_unicode): Removed. Replace it with a tag.
2285 * src/utils/afmtodit/Makefile.sub (afmtodit): Adjust sed expression
2286 to replace tag with actual file contents.
2288 2005-12-08 Werner LEMBERG <wl@gnu.org>
2290 The change 2005-06-20 can indeed cause problems, so we follow the
2291 advice by using marks.
2293 * font/devps/prologue.ps (PBEGIN): Use `mark'.
2294 (PEND): Use `cleartomark'.
2296 2005-12-07 Michail Vidiassov <master@iaas.msu.ru>
2298 * src/utils/afmtodit.pl: Fix kerning output to avoid warnings for
2299 glyphs which have kern values but aren't handled (glyph variants,
2302 2005-12-02 Werner LEMBERG <wl@gnu.org>
2304 * src/devices/grops/ps.cpp (ps_printer::get_subfont): Use correct
2305 subfont index. Reported by Michail Vidiassov <master@iaas.msu.ru>.
2307 2005-11-28 Gaius Mulley <gaius@glam.ac.uk>
2309 * doc/Makefile.in: Separate rule for webpage.html so that extra
2310 command line options can be passed to grohtml.
2311 * doc/groff.css: Change all margins to 0%.
2312 * doc/webpage.ms: Now use new macros ALN, LNS, and LNE so that left
2313 navigation is exploited. Also update webpage to contain new
2314 sections on licenses, mailing lists, cvs/ftp access, groff
2315 dependencies, and bug reports.
2316 * tmac/groff_www.man: Document the new macros ALN, LNS, and LNE.
2317 * tmac/www.tmac: Implement the new macros ALN, LNS, and LNE.
2319 2005-11-25 Gaius Mulley <gaius@glam.ac.uk>
2321 * src/devices/grohtml/post-html.cpp
2322 (html_printer::do_file_components): Add fputs calls to emit the
2323 head contents and shut down the head tag whenever a new file
2324 component is generated.
2326 2005-11-22 Gaius Mulley <gaius@glam.ac.uk>
2328 * src/devices/grohtml/post-html.cpp (html_printer::flush_page): Add
2329 call to flush_text to flush any outstanding html tags on the
2332 2005-11-18 Werner LEMBERG <wl@gnu.org>
2334 * aclocal.m4 (GROFF_MAKEINFO): Use `groff.info' in tests.
2335 Announce makeinfo version.
2336 * configure: Regenerated.
2338 2005-11-18 Mike Frysinger <vapier@gentoo.org>
2340 * Makefile.in: Declare proper dependencies between make targets.
2342 * doc/Makefile.in: Rename groff info page to `groff.info'.
2343 * doc/Makefile.sub: Likewise.
2344 * doc/groff.texinfo: Likewise.
2346 2005-11-17 Peter O'Gorman <mlists@thewrittenword.com>
2348 * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c: Move
2349 definition of __GETOPT_PREFIX to the beginning of file to ensure
2350 that it is defined even on platforms where getopt.h is already
2351 included by other header files.
2353 2005-11-10 Gaius Mulley <gaius@glam.ac.uk>
2355 * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
2356 Reset font to NULL to ensure that a font block is recreated during
2359 2005-11-04 Werner LEMBERG <wl@gnu.org>
2361 * aclocal.m4 (GROFF_MAKEINFO): Fix sed expression.
2362 * configure: Regenerated.
2364 2005-10-27 Werner LEMBERG <wl@gnu.org>
2366 * aclocal.m4 (GROFF_MAKEINFO): New function for checking whether
2367 makeinfo 4.8 or newer is available.
2368 * configure.ac: Call GROFF_MAKEINFO.
2369 * configure: Regenerated.
2371 * Makefile.in (MAKEINFO): Use autoconf variable.
2372 (MDEFINES): Add MAKEINFO.
2374 * doc/Makefile.in (MAKEINFO): Use autoconf variable.
2375 * doc/Makefile.sub (MAKEINFO): Remove.
2377 2005-10-26 Werner LEMBERG <wl@gnu.org>
2379 * REVISION: Set to 3.
2381 2005-10-17 Werner LEMBERG <wl@gnu.org>
2383 Mention $MANPAGER variable used with some `man' systems.
2385 * doc/webpage.ms, src/devices/grotty/grotty.man, NEWS: Updated.
2387 2005-09-13 Werner LEMBERG <wl@gnu.org>
2389 * tmac/hyphenex.us: New version (`ushyphex.tex' from ftp.dante.de).
2391 2005-09-04 Werner LEMBERG <wl@gnu.org>
2393 Version 1.19.2 released
2394 =======================
2396 * tmac/groff_ms.man, doc/groff.texinfo: Synchronize.
2398 * doc/webpage.ms: Updated.
2400 * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
2402 2005-09-04 Jörgen Grahn <jgrahn@algonet.se>
2404 * tmac/groff_ms.man: Document `PO' better.
2406 2005-09-03 Werner LEMBERG <wl@gnu.org>
2408 * NEWS: Document grotty changes.
2410 2005-09-01 Keith Marshall <keith.d.marshall@ntlworld.com>
2412 Backward compatibility support for `man' program.
2414 * tmac/an-old.tmac (LL): Initialize it to respect prior LL register
2415 assignment, prior `.ll' request and then package defaults, in this
2416 specified order of decreasing priority.
2418 * tmac/groff_man.man, doc/groff.texinfo (Man options): Document
2419 altered `LL' register initialization priorities.
2421 2005-08-29 Gary W. Swearingen <garys@opusnet.com>
2423 * tmac/groff_mdoc.man: Go into more details how the `AUTHORS'
2424 section should look like.
2426 2005-08-29 Werner LEMBERG <wl@gnu.org>
2428 * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't
2431 2005-08-27 Bernd Warken
2433 * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor
2436 2005-08-11 Bernd Warken
2438 * tmac/www.tmac (URL, MTO): Handle empty \\$1 better.
2440 2005-08-09 Bernd Warken
2442 * tmac/www.tmac (URL, MTO): Use bold series if color support is
2445 2005-08-02 Bernd Warken
2447 * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete
2448 as argument to $(INSTALL_INFO). The latter isn't portable.
2449 Remove $(HTMLEXAMPLEFILES) too.
2451 * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and
2453 Suppress warning messages and return always true.
2455 * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too.
2457 2005-07-02 Bernd Warken
2459 * src/devices/xditview/gxditview.man: Change many `.I' to `.B'.
2460 * man/groff_out.man: More markup and minor improvements.
2461 * src/roff/groff/groff.man: Minor improvements.
2463 2005-06-28 Werner LEMBERG <wl@gnu.org>
2465 * ChangeLog: Split off older entries into...
2466 * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New
2469 2005-06-26 Bernd Warken
2471 * src/devices/xditview/gxditview.man: More minor fixes.
2473 2005-06-24 Werner LEMBERG <wl@gnu.org>
2475 * src/preproc/pic/troff.cpp (troff_output::set_fill,
2476 troff_output::set_color, troff_output::reset_color): Use .bcolor and
2477 .fcolor instead of \m and \M, respectively.
2479 2005-06-23 Bernd Warken
2481 * src/devices/xditview/gxditview.man: More minor fixes.
2482 * README: Formatting issues.
2483 Mention some problems with Debian.
2485 2005-06-23 Bernd Warken
2487 * src/devices/xditview/gxditview.man: Revised and improved.
2489 2005-06-22 Werner LEMBERG <wl@gnu.org>
2491 Another round in fixing getopt problems. Hopefully the last one!
2492 This time we use the getopt stuff from gnulib and define a prefix
2493 unconditionally so that there are no collisions with any other
2494 getopt implementations. This is a slight waste of space in case
2495 we already use a GNU getopt implementation, but on
2496 the other hand it really simplifies life.
2498 * src/include/getopt.h: Use gnulib version.
2500 * src/include/getopt_int.h: Use gnulib version.
2502 * src/include/groff-getopt.h: Removed. Obsolete now.
2504 * src/include/lib.h: Regarding getopt, don't handle any platform
2505 specially; just include getopt.h.
2506 (__GETOPT_PREFIX): Define (before getopt.h).
2508 * src/include/Makefile.sub (HDRS): Updated.
2510 * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use
2513 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set
2516 * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c
2517 (__GETOPT_PREFIX): Define (before getopt.h).
2519 2005-06-21 Werner LEMBERG <wl@gnu.org>
2521 * src/include/lib.h: Provide a fix for Mac OS X to not include
2524 2005-06-20 Denis M. Wilson <dmw@oxytropis.plus.com>
2526 * font/devps/prologue.ps (EP): Dont' use `bind'. Reason: Using
2527 `bind' to define a procedure which contains `showpage' means that an
2528 invocation of `showpage' may execute wrongly (the exact effect
2529 depending on the interpreter). Not usually a problem except under
2530 transformations, such as combining pages.
2531 (PEND): Don't call `clear'. Reason: Using `clear' in the definition
2532 of /PEND means that stack underflow will occur if the stack is
2533 deliberately non-empty before document inclusion. If included
2534 files are found to be generally badly behaved, we could replace the
2535 `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've
2536 never found this necessary).
2538 2005-06-20 Jörgen Grahn <jgrahn@algonet.se>
2540 * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero
2541 earlier to get correct error message.
2543 2005-06-16 Bernd Warken
2544 * src/roff/nroff/nroff.sh: Add support for iso-8859-15.
2546 2005-06-15 Werner LEMBERG <wl@gnu.org>
2548 Another try to update getopt files. This time we add a dummy
2549 gettext.h file to satisfy the dependency.
2551 * src/include/getopt.h, src/libs/libgroff/getopt.c,
2552 src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2554 * src/include/getopt_int.h: New file (from GNU libc CVS).
2556 * src/include/gettext.h: Dummy file which just defines a gettext()
2559 * src/include/groff-getopt.h: Updated.
2561 * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h.
2564 * src/libs/libdriver/input.cpp (IntArray): Remove superfluous
2565 `const' keywords in return value.
2567 * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer):
2568 Remove redundant variable `old'.
2569 (pushBackBuffer::skipToNewline): Remove redundant variable `ch'.
2571 * src/preproc/tbl/main.cpp (process_table): Remove redundant
2575 Fix more friend name injection problems since modern C++ compilers
2576 fail otherwise. We simply provide (global) declarations for all
2577 functions declared as friends. This is not really necessary but
2580 * src/preproc/eqn/lex.cpp: Provide declarations for get_char,
2581 peek_char, and get_location.
2583 * src/preproc/refer/ref.h: Provide declarations for
2584 compare_reference, same_reference, same_year, same_date,
2585 same_author_last_name, and same_author_name.
2587 * src/roff/troff/div.h: Provide declarations for do_divert and
2590 * src/roff/troff/env.h: Provide declarations for title_length,
2591 space_size, fill, no_fill, adjust, no_adjust, center, right_justify,
2592 vertical_spacing, post_vertical_spacing, line_spacing, line_length,
2593 indent, temporary_indent, do_underline, do_input_trap, set_tabs,
2594 margin_character, no_number, number_lines, leader_character,
2595 tab_character, hyphenate_request, no_hyphenate,
2596 hyphen_line_max_request, hyphenation_space_request,
2597 hyphenation_margin_request, line_width, tabs_save, tabs_restore,
2598 line_tabs_request, widow_control_request, and do_divert.
2600 * src/roff/troff/input.cpp: Provide declaration for chop_macro.
2602 * src/roff/troff/node.cpp: Provide declarations for class
2604 Provide declaration for make_tfont.
2606 2005-05-29 Werner LEMBERG <wl@gnu.org>
2608 * doc/fdl.texi: Updated to version 1.2. Reported by Bernd Warken.
2610 2005-05-28 Werner LEMBERG <wl@gnu.org>
2612 * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove
2613 redundant semicolons.
2615 * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub,
2616 src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub:
2617 Define `MLIB'. Some compilers need this for linking with libgroff.
2619 2005-05-27 Werner LEMBERG <wl@gnu.org>
2621 * MANIFEST, README, doc/webpage.ms: Updated.
2623 2005-05-26 Werner LEMBERG <wl@gnu.org>
2625 * All affected files: Update postal address of FSF.
2627 2005-05-25 Keith Marshall <keith.d.marshall@ntlworld.com>
2630 * README: More fixes.
2632 * README.CVS: Removed. Its contents is now part of the README file.
2634 2005-05-21 Werner LEMBERG <wl@gnu.org>
2636 * README: Updated. Based on a patch from Bernd Warken.
2638 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
2640 Miscellaneous script portability enhancements.
2642 * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
2643 generated conftest.sh script, conforming to portability
2644 recommendation in autoconf docs.
2645 * configure: Likewise, for code generated by GROFF_CSH_HACK.
2646 * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
2647 to portability recommendation in autoconf docs.
2648 * contrib/grap2graph/grap2graph.sh: Likewise.
2649 * contrib/pic2graph/pic2graph.sh: Likewise.
2650 * font/devps/generate/afmname: Likewise.
2651 * src/devices/xditview/ad2c: Likewise.
2652 * src/preproc/eqn/neqn.sh: Likewise.
2653 * src/roff/grog/grog.pl: Likewise.
2654 * src/roff/grog/grog.sh: Likewise.
2655 * src/roff/nroff/nroff.sh: Likewise.
2656 * PROBLEMS: Likewise, in embedded script examples.
2658 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
2660 Improve portability of `pdfroff' shell script.
2662 * arch/misc/shdeps.sh: Add space in shebang, conforming to
2663 portability guidelines in `autoconf' docs.
2664 (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
2665 initialization code. Used by contrib/pdfmark/pdfroff.sh's
2666 `searchpath' function.
2668 2005-05-14 Werner LEMBERG <wl@gnu.org>
2670 * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
2671 contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
2672 needed for newer ImageMagick versions.
2674 2005-05-07 Werner LEMBERG <wl@gnu.org>
2676 * src/preproc/refer/refer.man: Many small typographic fixes.
2678 2005-05-06 Jeff Conrad <jeff_conrad@msn.com>
2680 * src/devices/grohtml/post-html.cpp (assert_state::~assert_state):
2681 Use `char *' cast for a_delete.
2683 2005-05-03 Werner LEMBERG <wl@gnu.org>
2685 * src/libs/libgroff/maxpathname.cpp: Include stdlib.h.
2686 src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
2688 2005-05-03 Jeff Conrad <jeff_conrad@msn.com>
2690 * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using
2691 `a_delete' for `const char *'.
2693 2005-05-03 Werner LEMBERG <wl@gnu.org>
2695 * src/devices/grohtml/post-html.cpp,
2696 src/devices/grohtml/html-table.cpp,
2697 src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp:
2698 Replace malloc/free with new/delete/a_delete.
2700 * src/devices/grolbp/lbp.h: Remove superfluous semicolons which
2701 are prohibited with ANSI C++.
2702 (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the
2703 function has a variable number of arguments).
2705 * src/preproc/grn/main.cpp (doinput): Change return type to `int'.
2706 Simplify function and update all callers.
2708 2005-05-02 Werner LEMBERG <wl@gnu.org>
2710 Undo getopt changes from 2005-04-30. We don't want a dependency
2713 * src/include/getopt_int.h: Removed.
2715 * src/include/getopt.h, src/include/groff-getopt.h,
2716 src/include/Makefile.sub, src/libs/libgroff/getopt.c,
2717 src/libs/libgroff/getopt1.c: Revert to previous version.
2720 * src/include/nonposix.h (access) [_MSC_VER]: New macro.
2722 * src/include/posix.h (F_OK): Define conditionally.
2724 * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
2725 different variable name in second `for' loop to avoid MSVC compiler
2728 2005-04-30 Werner LEMBERG <wl@gnu.org>
2730 AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
2732 * aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
2733 * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
2734 * configure, src/include/config.hin: Regenerated.
2736 * PROBLEMS: Updated.
2739 Update getopt files.
2741 * src/include/getopt.h, src/libs/libgroff/getopt.c,
2742 src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2744 * src/include/getopt_int.h: New file (from GNU libc CVS).
2746 * src/include/groff-getopt.h: Updated.
2748 * src/include/Makefile.sub (HDRS): Add getopt_int.h.
2751 * font/devutf8/NOTES: Updated.
2753 2005-04-28 Werner LEMBERG <wl@gnu.org>
2755 Bug fix for Win32 relocatable code. Based on a patch from Keith
2758 * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
2761 * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
2762 (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
2764 2005-04-28 Keith Marshall <keith.d.marshall@ntlworld.com>
2766 Correct `gnu.eps' handling for build from distribution tarball, with
2767 separate source and build directories.
2769 * doc/Makefile.sub: (examples.stamp): New target; forces copy of
2770 grnexmpl.g, groff.css and gnu.eps from source to build directory;
2771 generate gnu.eps from gnu.xpm if required; touch examples.stamp.
2772 (prepare_examples): Make it depend on examples.stamp.
2773 (CLEANADD): Add examples.stamp.
2775 2005-04-27 Werner LEMBERG <wl@gnu.org>
2779 position: `(' position `)'
2783 * src/preproc/pic/pic.y (position, position_not_place): Handle
2784 additional parentheses.
2786 * doc/pic.ms: Updated.
2788 2005-04-23 Larry Jones <lawrence.jones@ugs.com>
2790 * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
2792 2005-04-18 Werner LEMBERG <wl@gnu.org>
2794 * src/roff/groff/pipeline.c: Don't include ctype.h.
2796 2005-04-13 Werner LEMBERG <wl@gnu.org>
2798 * src/roff/nroff/nroff.man: Document option `-M'.
2800 2005-04-13 Bruce Lilly <blilly@erols.com>
2802 * src/roff/nroff/nroff.sh: Make the script accept option `-M'.
2804 2005-04-01 Kees Zeelenberg <kzlg@users.sourceforge.net>
2805 Werner LEMBERG <wl@gnu.org>
2807 Add binary relocation support for Windows platforms.
2809 * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'.
2811 * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files.
2813 * src/libs/libgroff/searchpath.cpp: Handle `relocate'.
2814 (search_path::search_path, search_path::open_file_cautious): Use
2817 * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
2818 src/include/Makefile.sub (HDRS): Updated.
2820 2005-04-01 Werner LEMBERG <wl@gnu.org>
2822 * src/devices/grohtml/post-html.cpp: Don't use strdup/free but
2825 * src/libs/libgroff/font.cpp: Replace strdup with strsave.
2827 * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since
2828 lib.h already does it.
2830 * src/libs/libgroff/maxpathname.cpp: New file, defining
2833 * src/include/lib.h: Add prototype for path_name_max.
2835 * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated.
2837 * src/include/nonposix.h (PATH_EXT): New macro.
2839 2005-03-28 Werner LEMBERG <wl@gnu.org>
2841 Add support for double- and zero-width characters in grotty.
2843 * src/devices/grotty/tty.cpp (glyph): Add width.
2844 (tty_printer::make_underline, tty_printer::make_bold,
2845 tty_printer::add_character): Add parameter to pass character width.
2847 (tty_printer::end_page): Increase hpos by actual character width.
2849 * font/devutf8/R.proto: Specify zero width for non-spacing
2852 * tmac/unicode.tmac: Remove definitions for non-spacing entities.
2854 * Makefile.comm (extraclean): Remove more junk files.
2856 2005-03-25 Werner LEMBERG <wl@gnu.org>
2858 * configure.ac: Undo change from 2005-03-24.
2859 * configure: Regenerated.
2861 2005-03-24 Werner LEMBERG <wl@gnu.org>
2863 * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests.
2864 (dist): Search Makefile while descending into $(EXTRADIRS).
2866 * doc/Makefile.in (.PHONY): Add.
2867 (clean): Don't remove *.png and *.eps.
2869 (realclean): Remove *.png and *.eps.
2870 (extraclean): Depend on distclean.
2872 * configure.ac: Add copyright.
2873 Handle contrib/pdfmark/Makefile.
2875 * configure: Regenerated.
2877 2005-03-18 Larry Kollar <kollar@alltel.net>
2879 Add numbered and definition lists to www.tmac.
2881 * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
2882 www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
2883 auxiliary string registers.
2884 (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
2885 www-ol-ctr3, www-dl-shift): New auxiliary number registers.
2886 (www-level): Removed.
2887 (www-level1, www-level2, www-level3): Initialize to empty.
2888 (www-level0, www-level4, www-level5, www-level6, www-level7,
2889 www-level8, www-level9): New string registers.
2890 (www-push-li, www-pop-li): New macros.
2891 (www-push-level, www-pop-level): Renamed to...
2892 (www-push-ul-level, www-pop-ul-level): This.
2894 (www-push-ol-level, www-pop-ol-level): New macros.
2895 (ULS, ULE): Updated.
2896 (OLS, OLE, DLS, DLE): New user macros.
2897 (LI): Removed. It is aliased to one of...
2898 (www-li-ul, www-li-ol, www-li-dl): New macros.
2900 * tmac/groff_www.man: Document new macros.
2904 2005-03-18 Werner LEMBERG <wl@gnu.org>
2906 * tmac/doc-common (doc-operating-system-NetBSD-2.0.1,
2907 doc-operating-system-NetBSD-2.0.2): New strings.
2909 * tmac/groff_mdoc.man: Updated.
2911 2005-03-17 Werner LEMBERG <wl@gnu.org>
2913 * doc/Makefile.sub (CLEANADD): Add `groff.html'.
2915 2005-03-17 Werner LEMBERG <wl@gnu.org>
2917 * src/libs/libgroff/hypot.c: Renamed to...
2918 * src/libs/libgroff/hypot.cpp: This. Updated to C++.
2920 * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
2922 * src/include/lib.h: Updated.
2924 2005-03-16 Werner LEMBERG <wl@gnu.org>
2926 Add workaround for broken hypot() on Interix.
2928 * src/libs/libgroff/hypot.c: New wrapper file for `hypot'.
2930 * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'.
2931 (CSRCS): Add `hypot.c'.
2933 * src/include/lib.h: Declare `groff_hypot'.
2935 * src/preproc/grn/hgraph.cpp: Don't declare `hypot'.
2938 * src/preproc/pic/pic.h: Don't declare `hypot'.
2940 * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'.
2942 2005-03-15 Gaius Mulley <gaius@glam.ac.uk>
2944 * src/devices/grohtml/post-html.cpp
2945 (html_printer::lookahead_for_tables): End .ce properly to avoid a
2948 2005-03-15 Werner LEMBERG <wl@gnu.org>
2950 makeinfo 4.8 doesn't produce good HTML output from groff.texinfo.
2952 * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output.
2954 * doc/Makefile.in (.texinfo.html): Call fixinfo.sh.
2956 2005-03-14 Werner LEMBERG <wl@gnu.org>
2958 Add Cyrillic support to devutf8 and devhtml.
2960 * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks.
2962 * tmac/unicode.tmac: New file.
2964 * tmac/tty.tmac: Include unicode.tmac if device is utf8.
2966 * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac.
2970 2005-03-02 Keith Marshall <keith.d.marshall@ntlworld.com>
2972 * src/libs/libdriver/printer.cpp (check_for_output_error): New
2973 function. It has been introduced to catch peculiar error contexts
2974 on MS-Windows platforms.
2976 2005-02-28 Werner LEMBERG <wl@gnu.org>
2978 * src/roff/troff/input.cpp (string_iterator::fill): Protect against
2981 * tmac/papersize.tmac: Convert `paper' string contents to lowercase.
2983 * configure: Regenerated.
2987 2005-02-28 Keith Marshall <keith.d.marshall@ntlworld.com>
2989 Integrate `pdfmark' into normal groff build system;
2990 install macro `pdfmark' packages, build and install `pdfroff',
2991 and PDF format documentation.
2993 * Makefile.comm: Add PDFDOCDIR.
2995 * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
2996 pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
2997 (unstall_dirs): Add pdfdocdir.
2999 * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support
3000 `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS.
3001 (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
3002 GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
3003 (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
3004 (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
3006 (GROFF_AWK_PATH): New function; support `--with-awk' option, force
3007 use of GROFF_AWK_PREFS.
3008 (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
3009 and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
3011 * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS.
3012 Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
3013 also by modified GROFF_HTML_PROGRAMS).
3015 2005-02-27 Gaius Mulley <gaius@glam.ac.uk>
3017 * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve
3019 (html_text::done_para): Unset `start_space'.
3020 (html_text::remove_para_align): Call `retrieve_para_space' for the
3023 * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset
3025 (html_printer::do_check_center): Emit vertical space if necessary.
3027 * src/roff/troff/env.cpp (environment_switch): Preserve
3028 `seen_space', `seen_eol', and `suppress_next_eol' while switching
3031 * src/roff/troff/node.cpp (suppress_node::suppress_node): Set
3034 2005-02-20 Werner LEMBERG <wl@gnu.org>
3036 * src/preproc/eqn/eqn.man, NEWS: Document various extensions of
3039 2005-02-17 Werner LEMBERG <wl@gnu.org>
3041 * doc/pic.ms, man/groff.man: Fix typos.
3043 * doc/groff.texinfo: Fix typos.
3044 (\LEmacro): Get proper mathematical spacing.
3046 2005-02-16 Werner LEMBERG <wl@gnu.org>
3048 * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
3049 * configure: Regenerated with autoconf 2.59b.
3051 2005-02-16 Gaius Mulley <gaius@glam.ac.uk>
3053 * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
3054 html_printer::start_font): Fix handling of preformatted text.
3056 2005-02-15 Gaius Mulley <gaius@glam.ac.uk>
3058 These patches modify the indentation implementation to use `<p
3059 style=margin-left: n%>'. Many thanks to Peter and Larry for
3060 suggesting this solution. Grohtml only uses tables for `.IP' and
3061 related tags when the first operand has a short width.
3063 Similarly, they modify all vertical space code. By default, grohtml
3064 sets up a style sheet which uses no vertical space between `table',
3065 `pre', and `p' tags. It forces spaces when it needs them using
3066 `style="margin-top: 1em"'.
3068 * src/devices/grohtml/html-table.cpp: Include `html-text.h'.
3069 (html_table::emit_table_header, html_table::emit_new_row):
3071 (html_table::set_space): New function.
3072 (html_indent::html_indent): Don't set `is_used'.
3073 (html_indent::begin): Rewritten.
3074 (html_indent::end): Remove code in function.
3076 * src/devices/grohtml/html-table.h: Updated.
3077 (html_table): Make `out' public.
3079 * src/devices/grohtml/html-text.cpp (html_text::html_text):
3080 Initialize `start_space' with FALSE.
3081 (html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
3082 (html_text::issue_tag): Add argument to handle space style.
3083 (html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
3084 (html_text::flush_text): Don't set `start_space'.
3085 (html_text::push_para): Don't set `p->really_issued'.
3086 (html_text::do_emittext): Updated.
3087 (html_text::do_para): Add paremeter to handle space.
3089 (html_text::retrieve_para_space): New function.
3091 * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
3092 (tag_definition): Remove `really_issued'.
3093 (html_text): Updated.
3095 * src/devices/grohtml/post-html.cpp (html_printer): Add variables
3096 `current_column' and `row_space'.
3098 (html_printer::emit_raw, html_printer::write_header,
3099 html_printer::do_indent, html_printer::do_check_center,
3100 html_printer::do_tab_ts): Handle vertical space.
3101 (html_printer:do_tab_te, html_printer::do_end_para): Call
3102 `remove_para_space'.
3103 (html_printer::do_col): Rewritten.
3104 (html_printer::flush_globs): Remove debugging code.
3105 (html_printer::is_line_start): New function.
3106 (html_printer::start_font): Use `is_line_start'.
3107 (html_printer::writeHeadMetaStyle): New function.
3108 (html_printer::do_file_components, html_printer::~html_printer):
3109 Call `writeHeadMetaStyle'.
3111 * tmac/www.tmac (www-handle-percent): New macro.
3112 (MPIMG): Handle percent values for width and height parameters.
3115 * tmac/groff_www.man: Updated.
3117 2005-02-14 Werner LEMBERG <wl@gnu.org>
3119 * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
3120 $psname and $italic_angle.
3121 Immediately restart file input loops if `split' returns an empty
3124 2005-02-13 Michail Vidiassov <master@iaas.msu.ru>
3125 Werner LEMBERG <wl@gnu.org>
3127 Update afmtodit to better support Unicode (Michail).
3128 Update afmtodit to use Perl 5 syntax (Werner).
3130 * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
3132 Decorate variables with `my' where necessary.
3133 Use `defined' where necessary to avoid warnings.
3134 Don't use `do' for subroutine calls.
3135 Other minor syntax updates.
3136 Check for both `uXXXX[X[X]]' and `uniXXXX'.
3137 Handle glyph variants properly.
3138 (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
3141 * src/utils/afmtodit/afmtodit.man: Updated.
3143 2005-02-13 Werner LEMBERG <wl@gnu.org>
3145 Make groff.texinfo work with texinfo 4.8.
3147 * doc/groff.texinfo (@Var): Use @r and @slanted.
3148 (@defdummy, @Def*): Use @c to avoid empty lines.
3149 (\angles): Replaced with...
3150 (\Langlemacro, \Ranglemacro): New TeX macros.
3151 (@Langlemacro, @Ranglemacro): New variables defined with @set.
3152 (@angles): Use @Langlemacro and @Ranglemacro.
3153 (\LE): Replaced with...
3154 (\LEmacro): New TeX macro.
3155 (@LEmacro): New variable defined with @set.
3156 (@LE): Use @LEmacro.
3157 (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
3158 variables defined with @set.
3159 (@lparen, @rparen, @lbrack, @rbrack): Replaced with...
3160 (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
3163 Other minor updates.
3165 * doc/texinfo.tex: Update to texinfo version 4.8.
3167 * README.CVS: Updated.
3169 2005-02-09 Alejandro López-Valencia <palopez@etb.net.co> (tiny change)
3171 * doc/groff.texinfo (ms Document Control Registers): Document `HY'
3172 and `FAM' registers.
3174 2005-02-05 Werner LEMBERG <wl@gnu.org>
3176 * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
3177 tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
3180 2005-02-01 Werner LEMBERG <wl@gnu.org>
3182 * src/roff/groff/groff.man: Add information about paper size.
3184 2005-01-25 Werner LEMBERG <wl@gnu.org>
3186 * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale. From
3189 2005-01-22 Ruslan Ermilov <ru@FreeBSD.org>
3191 * tmac/doc.tmac (Sm): Improved. It didn't work properly in many
3193 (Re): Emit a warning if called without `.Rs'.
3194 (doc-finish-reference): Use parameter for decreasing
3195 `doc-reference-count'.
3196 (doc-print-reference): Pass specific count parameters to
3197 `doc-finish-reference'.
3199 2005-01-21 Werner LEMBERG <wl@gnu.org>
3201 * src/libs/libdriver/input.cpp (delete_current_env, do_file):
3202 Reset pointers to zero after deallocation. This fixes a crash
3203 if a driver is called with multiple input files. Reported by
3204 Ken Chilton <ken@chiltonfamily.org>.
3206 * src/devices/grops/grops.man: Add more info on DSC.
3208 2005-01-17 Ruslan Ermilov <ru@FreeBSD.org>
3210 * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
3213 2005-01-17 Werner LEMBERG <wl@gnu.org>
3215 * src/roff/troff/div.cpp (top_level_diversion::space): Protect
3216 against division by zero.
3218 2005-01-13 Ruslan Ermilov <ru@FreeBSD.org>
3220 * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
3222 2004-12-19 Werner LEMBERG <wl@gnu.org>
3224 * install-sh: New version; taken from texinfo CVS.
3226 2004-12-17 Werner LEMBERG <wl@gnu.org>
3228 * tmac/devtag.tmac: Protect against loading twice.
3229 Protect agains compatibility mode.
3230 * tmac/www.tmac: Protect against loading twice.
3231 Load `devtag.tmac' before switching off compatibility mode.
3232 * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
3234 2004-12-16 Mike Bianchi <mbianchi@Foveal.com>
3236 * configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
3237 * configure: Updated.
3239 2004-12-15 Thomas Klausner <wiz@netbsd.org>
3241 * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
3243 2004-12-15 Werner LEMBERG <wl@gnu.org>
3245 Make `test-groff' work again -- previously, wrong paths have been
3246 used. Additionally, it can now be called from anywhere.
3248 * test-groff.in: Don't test for groff binary. This is no longer
3249 necessary since the proper paths are determined by `configure'.
3250 (EXEEXT): Removed. No longer used.
3251 (srcdir, builddir): Use values provided by the configure script.
3252 (XENVIRONMENT): Updated.
3256 2004-12-14 Gaius Mulley <gaius@glam.ac.uk>
3258 Make .tag and .taga work for all devices (but only grohtml actually
3261 * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
3262 (text_glob::is_br, page::add_tag, html_printer::troff_tag,
3263 html_printer::handle_assertion): Don't use hard-coded string
3265 (html_printer::lookahead_for_table): Reset `tbl' properly if
3267 (html_printer::devtag): New function, handling `devtag'.
3268 (html_printer::special): Don't handle `html-tag'.
3270 * src/include/printer.h, src/libs/libdriver/printer.cpp
3271 (printer::devtag): New virtual function.
3273 * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
3276 * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
3277 src/roff/troff/node.cpp: s/html-tag/devtag/.
3279 * src/roff/troff/input.cpp (tag, taga): Always call
3282 * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
3283 macros instead of HTML-TAG*.
3285 * tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
3287 * tmac/www.tmac: Load devtag.tmac.
3288 Replace HTML-TAG* macros with DEVTAG* macros.
3289 (HTML, HTML-NS): Changed definitions.
3291 (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
3293 * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
3295 2004-12-10 Werner LEMBERG <wl@gnu.org>
3297 Import Mike's `gdiffmk' package.
3299 * contrib/gdiffmk/*: New files.
3300 * Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
3303 2004-12-08 Werner LEMBERG <wl@gnu.org>
3305 Import Keith's `pdfmark' package. Integration is very preliminary.
3307 * contrib/pdfmark/*: New files.
3308 * Makefile.in (OTHERDIRS): Add contrib/pdfmark.
3311 2004-12-07 Gaius Mulley <gaius@glam.ac.uk>
3313 Fix a bug with title handling in HTML.
3315 * src/devices/grohtml/post-html.cpp (text_glob::is_nf,
3316 text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
3318 (html_printer::handle_tag_within_title): New function.
3319 (html_printer::do_title): Use it.
3321 * tmac/s.tmac (TL): Don't set `need_eo_tl'.
3322 (cov*tl-au-print): Emit `.eo.tl' tag.
3324 2004-12-05 Alejandro López-Valencia <dradul@etb.net.co>
3326 * man/groff_char.man: Minor imrovements.
3328 2004-12-04 Werner LEMBERG <wl@gnu.org>
3330 * src/preproc/eqn/eqn.man: Revised.
3332 2004-11-25 Werner LEMBERG <wl@gnu.org>
3334 * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
3338 Remove X_NOT_STDC_ENV conditional.
3339 (Version_string, program_name): New global variables.
3340 (groff_flag): Removed.
3342 (usage): Take a stream as argument.
3345 (main): Add `long_options' array for `--help' and `--version'.
3346 Make `-g' a dummy option.
3347 Handle `-v' and unknown options.
3348 Remove unused `position' variable.
3350 * src/utils/xtotroff/Makefile.sub (MAN1): Define.
3351 (XLIBS): Add LIBGROFF.
3353 * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
3356 * src/devices/xditview/Dvi.c (default_font_map): Split into three
3357 parts to avoid compiler warning.
3358 (resources): Don't initialize with `default_font_map'.
3359 (ClassInitialize): Initialize first element of `resources'.
3361 * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
3364 * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
3365 src/utils/pfbtops/pfbtops.man: Revised, updated.
3367 * configure.ac: Generate src/utils/xtotroff/Makefile.
3368 * configure: Regenerated.
3370 2004-11-24 Werner LEMBERG <wl@gnu.org>
3372 First fixes to get produce HTML.
3374 * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
3377 * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
3378 (HR, LI): Use `HTML</p>', not `HTML'.
3380 * doc/webpage.ms: Minor updates.
3382 2004-11-23 Larry Kollar <kollar@alltel.net>
3384 Add option -S grohtml to determine the file split level.
3386 * src/devices/grohtml/post-html.cpp (split_level): New global
3388 (html_header::determine_header_level): Use split_level.
3389 (main): Handle `-S' command line option.
3392 * src/preproc/html/pre-html.cpp (scanArguments): Updated.
3394 * src/devices/grohtml/grohtml.man: Document it.
3397 * NEWS: Document it.
3399 2004-11-23 Y T <doarhop@hotmail.com>
3401 * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling
3402 the volume and number refer entries.
3404 2004-11-22 Werner LEMBERG <wl@gnu.org>
3406 * src/devices/grohtml/html-table.cpp
3407 (html_table::emit_table_header): Don't emit `cols' attribute which
3408 doesn't exist in HTML 4.0 and is thus invalid.
3410 * NEWS: More minor fixes and updates.
3412 2004-11-18 Werner LEMBERG <wl@gnu.org>
3414 * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
3415 (HTML</p>): Minor clean-up.
3417 * tmac/groff_www.man: Updated.
3419 * src/devices/grohtml/grohtml.man: Revised and updated.
3423 2004-11-18 Gaius Mulley <gaius@glam.ac.uk>
3425 * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
3426 Fix space insertion.
3427 (html_printer::do_links): Fix rules generation around automatic
3430 * tmac/www.tmac (LK): Use HTML-TAG-NS.
3432 No longer emit empty line for non-HTML devices.
3434 2004-11-17 Werner LEMBERG <wl@gnu.org>
3436 * doc/Makefile.in (prepare_examples, webpage.html): Handle
3439 * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD,
3440 prepare_examples, webpage.html): Handle `groff.css'.
3442 2004-11-15 Werner LEMBERG <wl@gnu.org>
3444 * NEWS, README, doc/webpage.ms: Updated.
3446 * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
3448 2004-10-30 Gaius Mulley <gaius@glam.ac.uk>
3450 * src/include/printer.h (printer): Remove virtual function
3452 Update all source files.
3454 * src/devices/grohtml/post-html.cpp (html_printer): New member
3455 function `round_width'.
3457 2004-10-20 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
3459 * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
3460 column key letter suffix.
3462 2004-10-14 Werner LEMBERG <wl@gnu.org>
3464 * Makefile.in (check): Depend on `site.exp' and `docheck'.
3465 (docheck): Run dejagnu's `runtest' if it exists.
3466 (site.exp): Create dejagnu configuration file.
3468 * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
3470 2004-10-13 Werner LEMBERG <wl@gnu.org>
3472 * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
3473 src/devices/grohtml/post-html.cpp (make_val,
3474 html_printer::handle_state_assertion): Fix compiler warnings.
3476 * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'.
3477 (diversion::diversion): Fix order of initializers.
3479 * src/roff/troff/div.h: Don't include `mtsm.h'.
3481 * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'.
3482 (environment::environment): Fix order of initializers.
3483 (environment::make_tag, environment::construct_format_state): Fix
3486 * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'.
3487 (input_iterator::input_iterator, macro::macro): Fix order of
3490 * src/roff/troff/mtsm.cpp: Include only necessary header files.
3491 (state_set::add, state_set::val): Fix compiler warnings.
3493 * src/roff/troff/mtsm.h: Don't include `stringclass.h'.
3494 (bool_value_state, int_value_state, units_value_state,
3495 string_value_state): Remove comma after last element which causes
3496 an error with g++ 3.3.3.
3498 * src/roff/troff/node.cpp: Include `stringclass.h'.
3499 (hline_node::hline_node, vline_node::vline_node,
3500 space_char_hmotion_node, left_italic_corrected_node): Fix compiler
3502 (zero_width_node::zero_width_node): Fix order of initializers.
3504 * src/roff/troff/node.h: Don't include `mtsm.h'.
3505 (hmotion_node): Fix compiler warnings.
3507 * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'.
3509 2004-10-12 Gaius Mulley <gaius@glam.ac.uk>
3511 * doc/groff.css: New file.
3513 * doc/webpage.ms: Use `groff.css'.
3516 * tmac/an-old.tmac (need_eo_h): New number register.
3517 (TH): Emit `.eo.tl' tag after title.
3518 (SH): Set `need_eo_h'.
3519 (an-trap): Handle `need_eo_h'.
3520 (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/.
3522 * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers.
3523 (TL): Always start diversion.
3525 (@AI): Always call `par@reset'.
3526 (@AB): Update code for -Thtml.
3527 (cov*tl-au-print): Handle -Thtml.
3528 (par@reset): Handle `need_eo_tl', `need_eo_h'.
3530 (@IT-html): Removed.
3531 (@SH): Set `need_eo_h' for -Thtml.
3532 (par@TL): s/HTML-TAG/HTMl-TAG-NS/.
3534 (@NH): s/HTML-TAG/HTMl-TAG-NS/.
3535 Set `need_eo_h' for -Thtml.
3536 (@EQ, @EN): Don't handle -Thtml specially.
3537 (par@load-init): Don't handle -Thtml specially.
3539 * tmac/www.tmac (www:paraspace): New macro.
3540 (HTML-NS, HTML-TAG-NS): Use new `tag' request.
3541 (HTML</p>, HTML-TAG-NEXT): New macros.
3542 (HnE): Emit tag `.eo.h' instead of break.
3543 (HR): s/HTML-NS/HTML/.
3544 (www-end-nowhere): End diversion only if `www-html' not set.
3546 (ULS, ULE): s|HTML|HTML</p>|.
3547 (LI): Call `www:paraspace'.
3550 2004-10-11 Gaius Mulley <gaius@glam.ac.uk>
3552 * src/roff/troff/request.h (macro): Make `p' public.
3553 New variable `is_a_diversion'.
3554 New member function `is_diversion'.
3557 * src/devices/grohtml/html.h (simple_output): New member function
3560 * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix
3561 computation of `total'.
3562 (tabs::check_init): New function.
3563 (html_table::emit_table_header): Emit style data.
3564 (html_table::insert_column): Improved.
3566 * src/devices/grohtml/html-table.h: Updated.
3568 * src/devices/grohtml/html-text.cpp (html_text::html_text):
3569 Initialize `start_space' with TRUE.
3570 (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG'
3572 (html_text::flush_text): Set `start_space' flag.
3573 (html_text::uses_indent, html_text::remove_para_space,
3574 html_text::get_alignment): New functions.
3575 (html_text::push_para): Updated.
3576 (html_text::do_para): Check for empty argument.
3577 Don't set `space_emitted'.
3578 (html_text::do_space, html_text::emit_space): Updated.
3580 * src/devices/grohtml/html-text.h (tag_definition): New variable
3582 (html_text): New member function `uses_indent', `remove_para_space',
3585 * src/devices/grohtml/output.cpp (simple_output::force_nl): New
3587 (simple_output:nl): Always emit `\n'.
3589 * src/devices/grohtml/post-html.cpp: Include `string.h'.
3590 (BASE_POINT_SIZE): Removed.
3591 (base_point_size, head_info): New global variables.
3592 (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl',
3594 (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1'
3596 (page::add_and_encode): Pass additional parameter for tag flag.
3597 (assert_pos): New structure.
3598 (assert_state): New class.
3599 (html_printer): Remove `indentation', `prev_indent'.
3600 Add variables `troff_indent', `device_indent', `temp_indent'.
3601 Add variables `seen_indent', `next_indent', `seen_pageoffset',
3602 `next_pageoffset', `seen_linelenght', `next_linelength',
3603 `seen_center', `next_center', `seen_space', `seen_break', `as'.
3604 Add member functions `do_check_center', `do_space', `do_head',
3605 `get_troff_indent', `restore_troff_indent', `handle_assertion',
3606 `handle_state_assertion', `do_end_para', `set_char_and_width'.
3607 Change argument to `do_fill' to `char *'.
3609 (html_printer::emit_raw): Call `shutdown_table'.
3611 (html_printer::do_center): Simplified.
3612 (html_printer::do_title): Improved.
3613 (html_printer::write_header): Emit one more newline.
3615 (html_printer::do_heading, html_printer::do_indent,
3616 html_printer::do_eol, html_printer::do_tab_ts,
3617 html_printer::do_tab, html_printer::do_tab0,
3618 html_printer::calc_po_in, html_printer::next_horiz_pos,
3619 html_printer::remove_courier_tabs,
3620 html_printer::insert_tab0_foreach_tab, html_printer::begin_page):
3622 (html_printer::do_linelength, html_printer::do_pageoffset,
3623 html_printer::do_indentation, html_printer::do_tempindent,
3624 html_printer::do_tab_te): Simplified.
3625 (html_printer::do_pointsize): Check whether point size is really
3626 associated a `.tl' tag.
3627 (html_printer::do_break): Rewritten.
3628 (html_printer::troff_tag): Improved.
3629 (html_printer::flush_globs): Updated.
3630 (html_printer::lookahead_for_tables): Handle `is_br'.
3632 (html_printer::set_char): Check `sbuf_style.f'.
3633 (html_printer::write_navigation): Use string comparison.
3634 (html_printer::~html_printer): Emit `head_info'.
3635 (html_printer::special): Rewritten.
3636 (get_str, make_val): New functions.
3637 (main): New option `s' to set the base point size.
3639 * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'.
3641 2004-10-10 Gaius Mulley <gaius@glam.ac.uk>
3643 * src/roff/troff/node.cpp: New extern `debug_state'.
3644 Include `stringclass.h' and `mtsm.h'.
3645 Implement new classes and class members from `node.h'.
3646 (real_output_file): Make `fp' public.
3647 (troff_output_file): New variables `cur_div_level' and `tag_list'.
3648 Update constructors.
3649 (troff_output_file::really_print_line): Check whether we should push
3650 the current troff state and use the state at the start of the
3651 invocation of this diversion.
3652 (troff_output_file::add_to_tag_list): New member function.
3653 (node::add_char): Handle `glyph_comp_np'.
3655 * src/roff/troff/node.h: Include `mtsm.h'.
3656 (node): New variables `state', `push_state', `div_nest_level',
3657 `is_special'. Update constructors, all descendants.
3658 Pass additional argument to `add_char' member function.
3659 New virtual member functions `is_tag', `debug_node',
3660 `debug_node_list'. Update all descendants.
3661 (tag_node): New class for handling tags.
3662 (output_file): Add variable `state'.
3664 2004-10-09 Gaius Mulley <gaius@glam.ac.uk>
3666 * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files,
3667 providing a minimal troff state machine to emit meta tags for the
3668 post-grohtml device driver.
3670 * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new
3673 2004-10-09 Werner LEMBERG <wl@gnu.org>
3675 * tmac/trace.tmac: Fix handling of `am' and `am1' calls.
3677 2004-10-06 Gaius Mulley <gaius@glam.ac.uk>
3679 * src/roff/troff/column.cpp (vjustify_node::copy): Updated.
3681 * src/roff/troff/div.h: Include `mtsm.h'.
3682 (diversion): New variables `any_chars_added', `needs_push',
3683 `saved_seen_break', `saved_seen_space', `saved_seen_eol',
3684 `saved_suppress_next_eol', `modified_tag'.
3685 New virtual member function `is_diversion'. Update all descendants.
3687 * src/roff/troff/div.cpp (diversion::diversion,
3688 macro_diversion::macro_diversion): Updated.
3689 (do_divert): Handle `seen_break', `seen_space', `seen_eol',
3690 `suppress_next_eol'.
3691 (top_level_diversion::space): Handle `curenv->seen_space'.
3692 (page_offset): Update tag handling.
3693 (space_request, blank_line, flush_output): Don't call `add_html_tag'.
3695 * src/roff/troff/env.h (environment): Make `tabs' public.
3696 Remove `ignore_next_eol', `emitted_node'.
3697 Update `output_line', `output'.
3698 New variables `seen_space', `seen_eol', `suppress_next_eol',
3700 New member functions `construct_state', `make_tag',
3701 `construct_format_state, `construct_new_line_state,
3703 Remove `add_html_tag', `make_html_tag'.
3705 * src/roff/troff/env.cpp: New externs `suppress_push',
3706 `get_diversion_state', `global_diverted_space'.
3707 (pending_output_line): New variable `was_centered'.
3708 Update constructor and all callers.
3709 (pending_output_line::output): Call `curenv->construct_format_state'.
3710 (environment::environment, environment::copy): Updated.
3711 (environment::output): Handle `was_centered'.
3712 (environment::add_char): Handle construct and diversion state.
3713 (environment::add_node): Handle construct state.
3714 (environment::newline): Handle `was_centered'.
3715 (environment::output_line): Updated.
3716 (environment::possibly_break_line): Updated.
3717 Update tag handling.
3718 (environment::add_html_tag): Replaced with...
3719 (environment::make_tag): New function.
3720 (environment::add_html_tag_tabs, environment::make_html_tag): Removed.
3721 (environment::dump_troff_state): New debugging function.
3722 (environment::construct_state, environment::construct_format_state,
3723 environment::construct_new_line_state): New functions.
3724 (environment::do_break): Updated.
3725 Handle `global_diverted_space'.
3726 (environment::handle_tag): Update tag handling.
3727 (point_size, fill, do_break_request): Don't call `add_html_tag'.
3728 (no_fill): Don't call `add_html_tag'.
3729 Set `suppress_next_eol'.
3730 (center, right_justify, line_length, indent, temporary_indent,
3732 Update tag handling.
3734 * src/roff/troff/input.cpp: Don't include `stringclass.h'.
3735 (input_iterator): New variables `is_diversion', `diversion_state'.
3736 Update constructors.
3737 (input_stack): New member functions `get_div_level',
3738 `get_diversion_state', `check_end_diversion'.
3739 New variables `div_level', `diversion_state'. Initialize them.
3740 (suppress_push, global_diverted_space): New global variables.
3741 (input_stack::finish_get, input_stack::finish_peek,
3742 input_stack::remove_boundary, input_stack::end_file,
3743 input_stack::clear, input_stack::pop_macro): Call
3744 `check_end_diversion'.
3745 (input_stack::push): Handle `div_level' and `diversion_state'.
3746 (get_diversion_state): New function.
3747 (diverted_space_node::reread): Handle `global_diverted_space'.
3748 (macro::macro): Update constructors.
3749 (macro::is_diversion): New function.
3750 (macro::operator=): Set `is_a_diversion'.
3751 (string_iterator): New member function `is_diversion'.
3752 (string_iterator::string_iterator): Update constructors.
3753 (string_iterator::fill): Set `div_nest_level'.
3754 (macro_iterator): New member function `is_diversion'.
3755 (do_if_request): Handle `suppress_push'.
3756 (tag, taga): New functions.
3757 (init_input_requests): Add `tag' and `taga' requests.
3759 2004-10-05 Gaius Mulley <gaius@glam.ac.uk>
3761 * src/include/font.h (font): New member function
3762 `get_image_generator'.
3763 New variables `unscaled_charwidths' and `image_generator'.
3765 * src/libs/libgroff/font.cpp (font::get_width): Always return the
3766 character's unscaled width if `font::unscaled_charwidths' is set.
3767 (font::get_image_generator): New function.
3768 (font::load_desc): Check the `unscaled_charwidths' and
3769 `image_generator' keywords.
3771 * src/libs/libgroff/fontfile.cpp: Initialize
3772 `font::unscaled_charwidths' and `font::image_generator'.
3774 * font/devhtml/DESC.proto: s/html/unscaled_charwidths/.
3776 * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword.
3778 * man/groff_font.man: Document `unscaled_charwidths' and
3781 * src/preproc/html/pre-html.cpp: Include `device.h'.
3782 (image_gen): New global variable.
3783 (imageList::createPage): Use `image_gen'.
3784 (main): Use `image_generator' keyword.
3786 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
3788 * tmac/html.tmac: Handle \[sqrtex].
3790 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
3792 * src/include/printer.h (printer): New virtual method `round_width'.
3794 * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
3795 src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
3796 src/devices/grotty/tty.cpp (printer::round_width): New function
3799 * src/devices/grohtml/post-html.cpp (printer::round_width): New
3801 (html_printer::set_numbered_char): Use it.
3803 2004-10-03 Gaius Mulley <gaius@glam.ac.uk>
3805 * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
3807 * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
3809 * configure: Regenerated.
3811 * Makefile.in (GHOSTSCRIPT): New variable.
3812 (MDEFINES): Add GHOSTSCRIPT.
3814 2004-10-03 Werner LEMBERG <wl@gnu.org>
3816 * INSTALL.gen: Updated (taken from texinfo CVS).
3818 2004-09-28 Werner LEMBERG <wl@gnu.org>
3822 2004-09-28 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
3824 * tmac/groff_www.man: Revised and updated.
3826 2004-09-26 Werner LEMBERG <wl@gnu.org>
3828 Fix \$@ and \$* to handle any number of arguments.
3830 * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
3833 * src/roff/troff/input.cpp (input_iterator::internal_level):
3835 (input_stack): New member functions `increase_level' and
3837 (input_stack::get_level): Don't use `internal_level'.
3838 (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
3839 (end_quote_iterator): Completely removed.
3840 (interpolate_arg): Build string for \$@ and \$* which is then
3841 pushed onto the input stack.
3843 2004-09-23 Keith Marshall <keith.d.marshall@ntlworld.com>
3845 * tmac/groff_ms.man, doc/groff.texinfo (ms Document Control
3846 Registers): Document changes from 2004-09-19.
3848 2004-09-23 Werner LEMBERG <wl@gnu.org>
3850 * tmac/an-old.tmac (ne): Using default scaling operator.
3852 2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com>
3854 This change implements the following features:
3857 New numeric register: Defines number of lines following LP, PP,
3858 QP, IP or XP, which must be kept together, before any automatic
3859 page break. If insufficient space remains on the current page, a
3860 page break is forced before the new paragraph begins.
3863 New numeric register: Sets number of lines of following paragraph
3864 which must be kept with a heading, defined by NH or SH, before any
3865 automatic page break. If insufficient space remains on the
3866 current page, a page break is forced before the heading.
3869 (Thanks to Joerg van den Hoff, for this idea).
3871 New numeric register: Sets the first level of heading (set with
3872 NH), which will keep the same point size as body text; e.g. if
3873 GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
3874 point size specified by \n[PS], but .NH 2 and .NH 1 will have
3875 progressively larger point sizes, determined by \n[PSINCR] (see
3879 New numeric register: Sets the point size increment for each level
3880 of heading, (set with NH), below the threshold level set by
3881 GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
3882 then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
3883 and all other levels will remain at 10pt, (because \n[PS] = 10).
3886 Existing macro now accepts a numeric argument, to make heading
3887 size match that of NH with same argument value, when the
3888 GROWPS/PSINCR feature is enabled.
3891 New string, set by NH macro, replaces the existing (undocumented)
3892 use of SN, to represent the assigned section number.
3895 New string, set by NH macro, represents the assigned section
3896 number, but omits the terminal period (periods at intermediate
3897 levels are retained).
3900 String set by NH macro, originally undocumented, now implemented
3901 as an alias for SN-DOT (which reproduces original behaviour).
3903 * tmac/s.tmac (PORPHANS): New register.
3904 (par*start): Use it.
3905 (HORPHANS, GROWPS, PSINCR): New registers.
3906 (SH-NO-TAG, @SH): Use them.
3909 2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com>
3911 * NEWS, doc/groff.texinfo (ms Display and Keeps), tmac/groff_ms.man:
3912 Document the deletion of `Ds' and `De' macros.
3914 2004-09-10 Werner LEMBERG <wl@gnu.org>
3916 In tbl, handle \a as an interpreted leader character if in
3919 * src/preproc/tbl/table.h (PREFIX, PREFIX_CHAR, LEADER,
3920 LEADER_CHAR): New macros.
3921 (compatible_flag): New declaration.
3923 * src/preproc/tbl/main.cpp (table_input): Add LEADER_1, LEADER_2,
3924 LEADER_3, and LEADER_4 to `state'.
3925 (table_input::get): Handle `\a'.
3927 * src/preproc/tbl/table.cpp (PREFIX): Removed.
3928 (LEADER_REG): New macro.
3929 (table::init_output): Define LEADER_REG string register if in
3932 * src/preproc/tbl/tbl.man: Document it.
3934 2004-08-18 Werner LEMBERG <wl@gnu.org>
3936 * tmac/doc.tmac (An): Fix error message.
3938 2004-08-06 Werner LEMBERG <wl@gnu.org>
3940 * src/preproc/tbl/main.cpp (main): Call `fatal' not `error' if a
3941 file can't be opened. UNIX tbl has the same behaviour.
3943 2004-08-05 Y T <doarhop@hotmail.com>
3945 * src/preproc/grn/hdb.cpp (compatibility_flag): Add declaration.
3946 (DBRead): If in compatibility mode, take into account the text
3947 when computing figure boundaries.
3949 2004-08-05 Werner LEMBERG <wl@gnu.org>
3951 * src/preproc/soelim/soelim.man: Improved. Based on suggestions
3952 from Tadziu Hoffmann.
3954 2004-08-03 Werner LEMBERG <wl@gnu.org>
3956 * doc/meref.me: Document `_M' register.
3958 2004-08-03 Martin Husemann <martin@duskware.de>
3960 Make hpftodit work correctly on big-endian systems.
3962 * src/utils/hpftodit/hpftodit.cpp (File): New method
3963 `get_uint32(char *)'.
3964 (entry): New member `orig_value'.
3965 (read_tags): Use new method.
3966 (output_font_name, read_and_output_pcltypeface, dump_ascii):
3969 2004-08-01 Werner LEMBERG <wl@gnu.org>
3971 * tmac/s.tmac: Undo change 2003-06-29. The proper macro definitions
3972 are already in X11's `macros.t' file.
3974 2004-08-01 Jeff Conrad <jeff_conrad@msn.com>
3976 * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii):
3978 (read_and_output_pcltypeface): Handle strings with length <= 4.
3980 2004-07-27 Egil Kvaleberg <egil@kvaleberg.no>
3982 * tmac/s.tmac (pg@top): Don't save `PO' register.
3983 (pg*end-col, pg*end-page): Directly use `PO' register.
3985 2004-07-27 Werner LEMBERG <wl@gnu.org>
3987 * man/groff_tmac.man: Mention `trace' and `pic' macro packages.
3989 * src/preproc/refer/refer.cpp (output_references): Check for
3991 * src/preproc/refer/refer.man: Improve documentation of
3992 `bibliography' command.
3994 2004-07-26 Werner LEMBERG <wl@gnu.org>
3996 Add requests `fcolor' and `gcolor'.
3998 * src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
4000 (init_env_requests): Add `fcolor' and `gcolor'.
4002 * src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
4004 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo
4005 (Colors): Document new requests.
4007 2004-07-24 Werner LEMBERG <wl@gnu.org>
4009 Add support for fractional point sizes in ms macros. A value for
4010 PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
4011 by 1000. For example, `.nr PS 10250' sets the font size to 10.25p.
4013 * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
4014 PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
4016 * tmac/groff_ms.man, docs/groff.texinfo (ms Document Control
4017 Registers), NEWS: Document it.
4019 2004-07-19 Werner LEMBERG <wl@gnu.org>
4021 * src/preproc/pic/lex.cpp (for_input): Add member `from'.
4023 (do_for, for_input::get, for_input::peek): Handle negative `by'.
4024 * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
4026 2004-07-08 Thomas Klausner <wiz@netbsd.org>
4028 * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
4029 * tmac/groff_mdoc.man: Updated.
4031 2004-07-05 Werner LEMBERG <wl@gnu.org>
4033 * doc/groff.texinfo (Manipulating Hyphenation): Further improve
4034 documentation of `hcode'.
4036 2004-07-04 Sang Dae Yu <sdyu@bh.knu.ac.kr>
4038 Improve appearance of arrows in pic.
4040 * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
4042 Use two line segments for drawing non-filled arrow head.
4043 (line_object::print, spline_object::print): Shorten line length to
4044 avoid arrow sticking.
4045 (arc_object::print): Take arrow direction into account.
4047 2004-07-03 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
4049 * tmac/groff_www.man: Update documentation of .MPIMG.
4051 2004-07-03 Werner LEMBERG <wl@gnu.org>
4053 * tmac/an-old.tmac (RI): Always start with font `R'.
4054 (RI, IR): Properly end with font `R'.
4056 2004-07-02 Paul Eggert <eggert@cs.ucla.edu>
4058 * man/ditroff.man, man/groff_font.man, man/groff_out.man,
4059 src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
4060 src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
4061 Don't pass more than six arguments to .R, .I, .B, etc., for
4062 compatibility with traditional troff macros.
4064 2004-07-02 Werner LEMBERG <wl@gnu.org>
4066 * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
4067 s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
4069 (PUSH_COMP_MODE): New internal character constant.
4072 * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
4073 PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
4074 (token::next, macro::append): Handle PUSH_COMP_MODE.
4075 (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
4076 POP_GROFFCOMP after each of the decoded arguments to make them
4077 independent from the compatibility mode status.
4078 (comp_mode): Add `COMP_ENABLE'.
4079 (do_define_string, do_define_macro): Handle COMP_ENABLE.
4080 (define_string, append_string, define_macro, define_indirect_macro,
4081 append_macro, append_indirect_macro): Handle `compatible_flag'.
4082 (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
4084 * man/groff_diff.man, doc/groff.texinfo: Updated.
4086 2004-07-01 Werner LEMBERG <wl@gnu.org>
4088 * doc/groff.texinfo: Improve documentation of `hcode'.
4089 Use @documentencoding and convert document to latin-1; to do that
4090 make latin characters active and assign proper macros (within a
4091 @tex...@end tex environment).
4092 * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
4093 * doc/Makefile.sub (groff): Ditto.
4095 2004-06-29 Werner LEMBERG <wl@gnu.org>
4097 Implement two new conditional operators `F <name>' and `S <name>'
4098 which check whether <name> is a valid font or style, respectively.
4100 * src/libs/libgroff/font.cpp (text_file): Add `silent' member.
4101 (text_file::text_file): Updated.
4102 (text_file::error): Don't emit message if `silent' is set.
4103 (font::load_font): Add optional third argument (which is directly
4105 (font::load): Add optional second argument to check the header of
4106 a font only, without emitting warning or error messages.
4107 * src/include/font.h (font): Updated.
4109 * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
4111 * src/roff/troff/node.cpp (mount_font_no_translate): Add optional
4112 fourth argument to check a font without mounting.
4113 (check_font, check_style): New functions.
4114 * src/roff/troff/node.h: Updated.
4116 * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4119 2004-06-27 Werner LEMBERG <wl@gnu.org>
4121 Implement new string-valued register `.sty' to return the current
4124 * env.cpp (environment::get_style_name_string): New function.
4125 (init_env_requests): Add `.sty' register.
4126 * env.h (environment): Updated.
4127 * node.cpp (font_info): Make `get_style_name' a friend.
4128 (get_style_name): New function.
4131 * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4134 2004-06-15 Werner LEMBERG <wl@gnu.org>
4136 * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle
4139 2004-06-10 Colin Percival <colin.percival@wadham.ox.ac.uk>
4141 * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
4142 and \n[mo] to avoid dependency on current date.
4144 2004-06-08 Werner LEMBERG <wl@gnu.org>
4146 * Makefile.sub (install_data): New target.
4148 2004-06-04 Werner LEMBERG <wl@gnu.org>
4150 * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define.
4152 2004-06-03 Werner LEMBERG <wl@gnu.org>
4154 * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and
4156 (install_data): Add $(srcdir).
4158 * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of
4161 2004-06-02 Werner LEMBERG <wl@gnu.org>
4163 * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
4164 Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
4165 Add test for Xmu library.
4166 (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4167 GROFF_APPRESDIR_DEFAULT): New macros.
4169 * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4170 and GROFF_APPRESDIR_DEFAULT.
4172 * configure: Regenerated.
4174 * Makefile.in (appresdir): New variable.
4175 (MDEFINES): Add appresdir.
4177 * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
4179 (install_data, uninstall_sub): New targets to handle GXditview.ad.
4181 * src/utils/indxbib/Makefiles.ub (install_data): Depend on
4182 `$(srcdir)/eign', not `eign'.
4184 * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
4186 * man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
4187 src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
4188 Protect (g)xditview with `\%' to avoid hyphenation.
4189 Other minor formatting.
4191 2004-06-01 Werner LEMBERG <wl@gnu.org>
4193 Integrate gxditview into groff's standard directory hierarchy.
4195 * src/xditview/*: Moved to ...
4196 * src/devices/xditview/*: Here.
4197 Moved DviChar.h and XFontName.h to src/include.
4198 Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
4199 Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
4200 Moved xtotroff.c to new directory src/utils/xtotroff.
4201 Provide proper Makefile.sub files (reusing the stuff from
4203 DESC renamed to DESC.in.
4204 Removed GXDitview-ad.h, INSTALL, Imakefile.in.
4205 Converted everything from K&R to ANSI C.
4206 Decorated with const where appropriate.
4207 Cast string constants with `String' and `char *' where appropriate.
4208 Made it compile with C++ (used as a C compiler).
4209 Removed other minor compiler warnings.
4211 * src/devices/xditview/device.c: Include config.h, string.h, and
4213 Don't declare `exit', `strtok', `strchr', and `getenv'.
4216 * src/devices/xditview/font.c: Don't declare `XParseFontName' and
4219 * src/devices/xditview/xditview.c: Include config.h.
4220 Include stdio.h earlier.
4221 Protect declaration of `popen' and `pclose' with
4222 NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
4223 Replace `caddr_t' with `XtPointer'.
4224 (MakePromptFunc): New typedef.
4225 (DoPrint): Use RETSIGTYPE.
4226 (promptfunction): Change type to MakePromptFunc.
4227 (MakePrompt): Use MakePromptFunc for third argument.
4230 * src/devices/xditview/ad2c: Add casts to `String'.
4232 * src/include/XFontName.h (XFontNameString): Don't use array
4234 Add prototypes for `XParseFontName', `XFormatFontName',
4235 `XCompareFontName', and `XCopyFontName'.
4237 * src/include/Makefile.sub (HDRS): Add `DviChar.h' and
4240 * src/utils/xtotroff/xtotroff.c: Include getopt.h.
4241 Don't declare `XParseFontName' and `XFormatFontName'.
4243 (main): Remove `optind' and `optarg'.
4245 * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
4246 (to select programs which need X).
4247 Make XDEVIDIRS depend on `FORCE'.
4248 (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
4250 (MDEFINES): Updated.
4251 (LIBDIRS): Use XLIBDIRS.
4252 (CPROGDIRS): Use XPROGDIRS.
4253 (DEVDIRS): Remove font directories for gxditview.
4254 (ALLDIRS, DISTDIRS): Add XDEVDIRS.
4255 (EXTRADIRS): Remove src/xditview.
4257 * Makefile.sub (DISCLEANFILES): Updated.
4259 * Makefile.comm (LIBXUTIL): New variable.
4260 (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
4261 (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
4263 * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
4265 * aclocal.m4 (GROFF_X11): New function.
4267 * configure.ac: Call GROFF_X11.
4268 Don't create src/xditview/Imakefile.
4269 Don't emit notice how to build gxditview.
4271 * configure: Regenerated.
4273 * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
4275 2004-05-28 Akihiro Sagawa <sagawa@sohgoh.net>
4277 * Makefile.in (CPPFLAGS): Define.
4278 (MDEFINES): Add CPPFLAGS.
4280 2004-05-27 Werner LEMBERG <wl@gnu.org>
4282 * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
4284 2004-05-26 Niklas Edmundsson <nikke@acc.umu.se>
4286 Fix problems with `friend name injections'.
4288 * src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
4289 make_script_box), src/roff/troff/div.h (end_diversions),
4290 src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
4293 2004-05-25 Bernd Warken <bwarken@mayn.de>
4295 * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
4297 2004-05-25 Werner LEMBERG <wl@gnu.org>
4299 * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
4300 src/libs/libgroff/color.cpp: Include lib.h.
4302 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
4304 * PROBLEMS: Update documentation for problems with Sun C++ 5.0
4305 through Forte 6u1, and for how to get GNU make on Solaris.
4307 2004-05-24 Werner LEMBERG <wl@gnu.org>
4309 * PROBLEMS: Document problems with gcc 3.4.0 on Sun. Reported
4312 2004-05-15 Keith Marshall <keith.d.marshall@ntlworld.com>
4314 * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit
4317 2004-05-14 Werner LEMBERG <wl@gnu.org>
4319 * REVISION: Set to 2.
4321 * aclocal.m4 (GROFF_STDINT_H): Removed.
4322 (GROFF_INTTYPES_H): Define HAVE_CC_INTTYPES_H.
4324 * configure.ac: Updated.
4325 * configure, src/include/config.hin: Regenerated.
4327 * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
4328 inttypes.h conditionally.
4330 2004-05-13 Werner LEMBERG <wl@gnu.org>
4332 Version 1.19.1 released
4333 =======================
4335 2004-05-10 Stephen Gildea <http://www.gildea.com/stephen>
4337 * src/preproc/refer/label.y (same_author_last_name,
4338 same_author_name): Handle empty sort keys.
4340 2004-05-10 Werner LEMBERG <wl@gnu.org>
4342 * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
4345 * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
4346 doc-str-Lb-librt): Reset font.
4347 (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
4348 Provide `doc-str-Lb' to reset font.
4349 * tmac/groff_mdoc.man: Updated.
4351 2004-05-08 Jan Schaumann <jschauma@netmeister.org>
4353 * src/preproc/html/pre-html.cpp (make_message): Make it work for
4354 snprintf versions which don't conform to ANSI C 99 (this is,
4355 counting the string's trailing null byte in the return value).
4357 2004-05-07 Keith Marshall <keith.d.marshall@ntlworld.com>
4359 * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect
4360 that all implementations of sprintf handle null pointers correctly.
4362 2004-05-04 Werner LEMBERG <wl@gnu.org>
4364 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4365 Document `.U' register.
4367 * src/roff/troff/env.cpp (environment::mark_last_line)
4368 [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.
4370 2004-05-04 Larry Kollar <kollar@alltel.net>
4372 New read-only register `.U'; it returns 1 in safer mode and 0
4375 * src/roff/troff/input.cpp (init_input_requests): Implement `.U'
4378 2004-05-03 Werner LEMBERG <wl@gnu.org>
4380 * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
4382 2004-04-17 Werner LEMBERG <wl@gnu.org>
4384 * src/include/font.h (font): Use `int' for ch_index.
4385 * src/libs/libgroff/font.cpp (font::alloc_ch_index,
4386 font::compact): Updated.
4388 * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
4391 * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
4392 (hyphen_word): Fix compiler warnings.
4393 * src/roff/troff/input.cpp (get_char_for_escape_name): Return
4396 (get_delim_number, get_line_arg): Change second argument type to
4398 (macro_header::copy, token::next, do_define_string,
4399 do_define_character, substring_request, asciify_macro,
4400 unformat_macro, read_size, non_interpreted_node::interpret,
4401 while_request, main: Fix compiler warnings.
4402 (read_color_draw_node): Initialize `col'.
4404 * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
4405 `start_col' and `end_col' of type `int'.
4406 (vertical_rule): Make `col' of type `int'.
4408 * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
4411 * src/preproc/refer/label.y (uppercase_array, lowercase_array):
4413 (format_serial): Use them to remove dependency on ASCII.
4415 * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
4417 * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
4420 * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
4422 (glyph): Change type of `hpos' to `int'.
4424 * src/devices/lbp/lbp.cpp (strsep): Removed. Unused.
4425 * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
4427 * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
4429 * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
4431 2004-04-16 Werner LEMBERG <wl@gnu.org>
4433 * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
4434 src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
4435 src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
4436 `double' instead of `float' everywhere.
4437 * src/preproc/grn/main.cpp: Use `double' instead of `float'
4439 (main): Add return value.
4440 * src/preproc/grn/hdb.cpp: Use `double' instead of `float'
4442 Update all user functions.
4444 * src/include/search.h, src/include/ptable.h, src/include/printer.h,
4445 src/preproc/eqn/box.h, src/preproc/pic/object.h,
4446 src/preproc/refer/refer.h, src/preproc/tbl/table.h,
4447 src/preproc/tbl/table.cpp, src/roff/troff/env.h,
4448 src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
4449 src/roff/troff/input.cpp, src/roff/troff/request.h,
4450 src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
4453 * src/utils/indxbib/signal.c: Include stdlib.h.
4455 2004-04-14 Keith Marshall <keith.d.marshall@ntlworld.com>
4457 * tmac/s.tmac (@init, RP): Allow initialization of the PO register
4458 before the first page.
4460 2004-04-14 Thomas Klausner <wiz@netbsd.org>
4462 * tmac/doc-common (doc-volume-as-*): Use lowercase names.
4463 (doc-operating-system-*): Updated.
4464 * tmac/doc-syms (doc-str-St-*): Various small fixes.
4465 (doc-str-Lb-*): Add more library names.
4467 2004-04-10 Art Haas <ahaas@airmail.net>
4469 * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't
4472 2004-04-09 Art Haas <ahaas@airmail.net>
4474 * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.
4476 2004-04-09 Keith Marshall <keith.d.marshall@ntlworld.com>
4478 * arch/misc/shdeps.sh: Generate better comment for sed script.
4480 2004-04-08 Art Haas <ahaas@airmail.net>
4482 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
4483 src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
4484 src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
4485 src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
4486 (polyfill), src/preproc/grn/main.cpp (polyfill),
4487 src/preproc/refer/command.cpp (command_table),
4488 src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
4489 gcc 3.5 doesn't like).
4491 2004-04-08 Werner LEMBERG <wl@gnu.org>
4493 Removing many compiler warnings. groff should now compile with
4494 a C++ compiler used for C files also. [Simple variable renamings
4495 to avoid shadowing aren't logged in detail.]
4497 * src/devices/grodvi/dvi.cpp: Some local variable renamings.
4498 (draw_dvi_printer::draw) ['c']: Enclose in block.
4500 * src/devices/grohtml/post-html.cpp: Some local variable renamings.
4501 (page::add_line): Fix typos.
4502 * src/devices/grohtml/html-text.cpp: Some local variable renamings.
4504 * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
4505 Some local variable renamings.
4506 * src/devices/grolbp/lbp.h: Some local variable renamings.
4508 * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
4511 * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
4512 Remove redundant local variable declaration.
4513 * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
4514 Don't use `caddr_t' but `void *'.
4515 Enclose functions with `extern "C"' for C++.
4517 * src/libs/libdriver/input.cpp (remember_filename,
4518 remember_source_filename): Use cast for string constant.
4520 * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
4521 src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
4522 src/libs/libgroff/geometry.cpp: Some local variable renamings.
4523 * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
4525 Enclose functions with `extern "C"' for C++.
4526 * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
4527 (needs_quoting): Return `int'.
4528 (quote_arg): Add proper casts to malloc and realloc.
4529 * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
4530 various MS Windows environments.
4531 (spawnvp_wrapper): Add proper cast to malloc.
4533 * src/preproc/eqn/box.h: Remove redundant declarations of
4534 `make_script_box', `make_mark_box' and `make_lineup_box'.
4535 * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
4536 * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
4539 * src/preproc/grn/hpoint.cpp: Some local variable renamings.
4540 * src/preproc/grn/hgraph.cpp: Some local variable renamings.
4541 (dx, dy): Renamed functions to...
4542 (deltax, deltay): This.
4543 * src/preproc/grn/main.cpp: Some local variable renamings.
4544 (deffont): Add `const'.
4545 (initpic, conv): Use cast for string constant.
4547 * src/preproc/html/pre-html.cpp: Some local variable renamings.
4548 (makeFileName, alterDeviceTo, addZ): Use cast for string constant.
4549 (char_buffer::run_output_filter): Second argument is unused.
4550 * src/preproc/html/pushback.cpp: Some local variable renamings.
4552 * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
4553 * src/preproc/pic/object.cpp: Some local variable renamings.
4555 * src/preproc/refer/label.y (lookup_label): Remove redundant
4556 declaration of local variable.
4558 * src/preproc/soelim.cpp: Remove redundant declaration of
4559 `interpret_lf_args'.
4561 * src/preproc/tbl/main.cpp: Some local variable renamings.
4563 * src/roff/groff/groff.cpp (main): Use cast for string constant.
4564 * src/roff/groff/pipeline.c: Enclose declarations of `error',
4565 `c_fatal', and `i_to_a' with `extern "C"' for C++.
4566 Don't use C++-style comments.
4568 * src/roff/troff/env.h: Remove redundant declaration of `title'.
4569 * src/roff/troff/node.h, src/roff/troff/env.cpp,
4570 src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
4572 * src/roff/troff/div.h: Remove redundant declaration of
4574 * src/roff/troff/troff.h: Remove redundant declaration of
4576 * src/roff/troff/input.cpp: Remove redundant declaration of
4577 `handle_first_page_transition' and `process_input_stack'.
4579 * src/utils/hpftodit.cpp: Some local variable renamings.
4581 * src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
4583 Don't define RETSIGTYPE.
4584 * src/utils/indxbib/indxbib.cpp: Some local variable renamings.
4586 * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
4587 (error): Use `const' in argument.
4588 (main): Remove redundant declaration of `optind'.
4589 Move declaration of `Version_string' to top-level.
4591 * PROBLEMS: Document difficulties compiling signal.c if a C++
4592 compiler is used for C.
4594 2004-04-07 Werner LEMBERG <wl@gnu.org>
4596 * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
4598 2004-04-06 Keith Marshall <keith.d.marshall@ntlworld.com>
4600 Make scripts like nroff.sh and neqn.sh portable across various
4601 (Unix-like) shell implementations from Cygwin, MSYS, etc., which use
4602 non-POSIX path separators. The idea is to extend those scripts to
4603 decide at run-time (of the script) which path separator to use.
4605 * arch/misc/Makefile.sub: New file.
4606 * arch/misc/shdeps.sh: New file, generating OS dependency fixups.
4607 This script handles @GROFF_BIN_PATH_SETUP@, replacing it with
4608 a proper definition of the variable `GROFF_RUNTIME'.
4610 * Makefile.in (SH_DEPS_SED_SCRIPT): New variable.
4611 (MDEFINES): Add SH_DEPS_SED_SCRIPT.
4612 (PROGDEPDIRS): New variable.
4614 (PROGDIRS): Add PROGDEPDIRS.
4616 * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT.
4617 Don't substitute @SEP@ and @BINDIR@.
4618 * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@.
4619 (PATH): Use GROFF_RUNTIME.
4621 * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT.
4622 Don't substitute @SEP@ and @BINDIR@.
4623 * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@.
4624 (PATH): Use GROFF_RUNTIME.
4626 2004-04-05 Keith Marshall <keith.d.marshall@ntlworld.com>
4628 * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from
4629 Cygwin which doesn't handle stderr correctly.
4631 2004-03-08 Werner LEMBERG <wl@gnu.org>
4633 * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops
4634 against empty argument. Problem reported by <cgd@broadcom.com>.
4636 2004-03-05 Keith Marshall <keith.d.marshall@ntlworld.com>
4638 * Makefile.in (SEP): Replaced with...
4639 (RT_SEP, SH_SEP): Separators for the target platform's native path
4640 separator and the build environment, respectively.
4641 (fontpath, tmacpath): Use RT_SEP.
4642 (MDEFINES): Updated.
4644 * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
4645 * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
4646 * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
4648 2004-03-05 Werner LEMBERG <wl@gnu.org>
4650 * font/devlj4/Makefile.sub (LJ4RES): Set to 1200. This helps to
4651 reduce alignment problems with newer printers which use built-in
4652 TrueType fonts (instead of the older Intellifonts). The ideal
4653 solution is to provide a second set of groff metric files, but this
4654 is extremely time-consuming to produce, given that HP's metric
4655 files are very rudimentary.
4657 2004-03-01 Werner LEMBERG <wl@gnu.org>
4659 * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.
4660 s/operand/argument/ in error message.
4662 2004-03-01 Keith Marshall <keith.d.marshall@ntlworld.com>
4664 * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
4667 2004-03-01 Antti Kantee <pooka@netbsd.org>
4669 * tmac/s.tmac (XE): Fix error message.
4671 2004-02-27 Jeff Conrad <jeff_conrad@msn.com>
4673 * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:
4676 * src/roff/groff/pipeline.c: Declare strcasecmp.
4677 (run_pipeline) [_WIN32]: Use function name variants which don't
4679 Fix stream handling.
4681 2004-02-27 Keith Marshall <keith.d.marshall@ntlworld.com>
4683 * src/include/nonposix.h: Fix declaration of `system_shell_name'.
4684 Declare `spawnvp_wrapper' and macro definitions of spawnvp only
4685 for platforms which use the native Win32 runtime libraries.
4686 (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
4688 * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
4689 QUOTE_ARG_REALLOC_ERROR): Fix string.
4691 * src/preproc/html/pre-html.cpp: Remove declaration of
4693 Don't use __MINGW32__.
4694 s/DEBUG_FILE/DEBUG_FILE_DIR/.
4695 (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
4696 (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
4697 (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
4698 calls to `set_redirection' and `WAIT'.
4699 [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
4700 Fix calls to `set_redirection' and `save_and_redirect'.
4701 (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
4702 to `set_redirection' and `save_and_redirect'.
4703 (usage): Fix message.
4704 (makeTempFiles, main): Use `DEBUG_FILE'.
4706 2004-02-21 Werner LEMBERG <wl@gnu.org>
4708 * src/roff/troff/troff.h (WARN_TOTAL): Fix value.
4710 2004-02-21 Keith Marshall <keith.d.marshall@ntlworld.com>
4712 * src/libs/libgroff/quotearg.c: New file, providing proper argument
4713 quoting for MSVC's spawn* and exec* functions.
4714 * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
4715 spawnvp with proper quoting for MSVC.
4717 * src/libs/libgroff/assert.cpp (program_name),
4718 src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
4719 * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
4721 * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
4723 * src/include/error.h (program_name): Declare as `extern "C"'.
4724 * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
4726 2004-02-21 Jeff Conrad <jeff_conrad@msn.com>
4728 * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
4730 [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
4732 2004-02-20 Jeff Conrad <jeff_conrad@msn.com>
4734 * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global
4736 (sbasename) [__MSDOS__ || ...]: New function.
4737 (system_shell_name) [__MSDOS__ || ...]: Use a different, more
4739 (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
4740 (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
4742 Use STDOUT_FILENO instead of hardcoded file handle.
4743 (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
4745 2004-02-19 Werner LEMBERG <wl@gnu.org>
4747 * src/roff/troff/div.cpp: Include nonposix.h after troff.h to
4748 avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
4750 2004-02-18 Werner LEMBERG <wl@gnu.org>
4752 * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
4753 new font and mapping files.
4755 2004-02-18 Jeff Conrad <jeff_conrad@msn.com>
4756 Keith Marshall <keith.d.marshall@ntlworld.com>
4758 * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
4759 an input pipe. This is needed for the MSVC compiler to make troff's
4762 * src/roff/troff/div.cpp: Include nonposix.h.
4763 (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
4765 2004-02-17 Werner LEMBERG <wl@gnu.org>
4767 * font/devlj4/generate/special.awk: New script.
4768 * font/devlj4/generate/Makefile (S): Use special.awk.
4769 * font/devlj4/*: Regenerated, including the following new files:
4770 Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
4771 MS Symbol (SYMBOL), Wingdings (WINGDINGS).
4772 * NEWS: Document new lj4 fonts and revised hpftodit.
4774 2004-02-17 Paco Andrés Verdú <pandres@dragonet.es>
4776 * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.
4778 2004-01-25 Werner LEMBERG <wl@gnu.org>
4780 * src/libs/libgroff/progname.cpp: Replaced with...
4781 * src/libs/libgroff/progname.c: New file.
4782 * src/libs/libgroff/Makefile.sub: Updated accordingly.
4784 2004-01-17 Werner LEMBERG <wl@gnu.org>
4786 * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.
4788 2004-01-16 Jeff Conrad <jeff_conrad@msn.com>
4790 * font/devlj4/generate/wingdings.map,
4791 font/devlj4/generate/symbol.map: Include unnamed glyphs.
4792 Use groff glyph names where possible.
4793 * src/devices/grolj4/lj4_font.man: Minor updates.
4795 2004-01-13 Werner LEMBERG <wl@gnu.org>
4797 * tmac/www.tmac (DC): Handle TTY devices.
4799 * doc/webpage.ms: Document viewCVS from ffii.org.
4800 * NEWS, README: Updated.
4802 * src/roff/groff/groff.man: Mention lj4_font man page.
4804 * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
4806 (FONTS): Add SYMBOL and WINGDINGS.
4807 (SYMBOL, WINGDINGS): New targets.
4809 2004-01-13 Jeff Conrad <jeff_conrad@msn.com>
4811 * src/devices/grolj4/lj4_font.man: New man page.
4812 * src/devices/grolj4/Makefile.sub (MAN5): New variable.
4813 * src/devices/grolj4.man: Mention lj4_font man page.
4815 * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
4816 * src/utils/hpftodit/hpftodit.man: Document it.
4818 Remove details about fonts (which are now in lj4_font.man).
4820 * font/devlj4/generate/symbol.map,
4821 font/devlj4/generate/wingdings.map: New files.
4823 2004-01-12 Werner LEMBERG <wl@gnu.org>
4825 * README: Mention ffii's viewcvs access.
4827 2004-01-09 Werner LEMBERG <wl@gnu.org>
4829 * font/devlj4/generate/special.map: Map MSL 228 to U+221F.
4831 2004-01-09 Jeff Conrad <jeff_conrad@msn.com>
4833 Revert most of the change from 2004-01-03 to better control used
4836 * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
4837 (text_symbol_sets, special_symbol_sets): New arrays.
4838 (symbol_set_table): New global variable.
4839 (read_symbol_sets): Use search order given in the text_symbol_sets
4840 and special_symbol_sets arrays. If command line flag -a is not
4841 given, search both arrays.
4842 (output_charset): Require x_height_tag only for command line flag -i.
4844 2004-01-06 Werner LEMBERG <wl@gnu.org>
4846 Implement string-valued registers \n[.m] and \n[.M] to return the
4847 name of the current drawing and background color, respectively.
4849 * src/roff/troff/symbol.h: Moved to...
4850 * src/include/symbol.h: Here.
4851 Small fixes to make it work outside of the `troff' directory.
4852 * src/roff/troff/symbol.cpp: Moved to...
4853 * src/libs/libgroff/symbol.cpp: Here.
4854 Small fixes to make it work outside of the `troff' directory.
4856 * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
4857 (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
4860 * src/include/color.h: Include symbol.h.
4861 (color): Add new field `nm'.
4862 * src/libs/libgroff/color.cpp (color::color): Updated.
4864 * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
4865 src/roff/troff/node.cpp, src/roff/troff/number.cpp,
4866 src/roff/troff/reg.cpp: Don't include symbol.h.
4868 * src/roff/troff/env.cpp: Don't include symbol.h.
4869 (environment::get_glyph_color_string,
4870 environment_get_fill_color_string): New member functions.
4871 (init_env_requests): Handle `.m' and `.M' registers.
4872 * src/roff/troff/input.cpp: Don't include symbol.h.
4873 (default_symbol): Moved to symbol.cpp/symbol.h.
4874 (do_glyph_color, do_fill_color, define_color): Pass symbol name
4875 to color constructor.
4876 * src/roff/troff/env.h: Updated.
4878 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4879 Document new registers.
4881 2004-01-05 Werner LEMBERG <wl@gnu.org>
4883 * src/roff/troff/node.cpp (space_node::get_breakpoints,
4884 space_node::nbreaks): Protect against zero `next' field.
4886 2004-01-03 Jeff Conrad <jeff_conrad@msn.com>
4888 In hpftodit, use the symbol sets offered in the TFM.
4890 * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
4891 (symbol_set, text_symbol_sets, special_symbol_sets,
4892 symbol_set_table): Removed.
4893 (get_printcode): Removed.
4894 (read_symbol_sets): Initialize `symbol_set' field with
4896 Simplify code to just use the `kind' value.
4897 (output_charset): Improve output formatting.
4898 (dump_symbols): Simplified.
4900 2004-01-02 Werner LEMBERG <wl@gnu.org>
4902 * font/devlj4/generate/text.map: Add more MSL numbers.
4904 2004-01-02 Jeff Conrad <jeff_conrad@msn.com>
4906 * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
4907 (text_symbol_sets): Add more symbol sets.
4908 (debug_flag): New static variable (moved from `main').
4909 (get_printcode, show_symset): New functions.
4910 (main): Remove `debug_flag'.
4911 (output_charset): Use `show_symset'.
4912 (dump_symbols): Use `show_symset'.
4913 Print symsets for all glyphs.
4914 (read_map): Actually call `unicode_to_ucode_make' but this time
4917 2004-01-01 Werner LEMBERG <wl@gnu.org>
4919 * font/devlj4/generate/text.map, font/devlj4/generate/special.map:
4920 Fix placement of comments.
4922 2004-01-01 Jeff Conrad <jeff_conrad@msn.com>
4924 * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
4925 option `-d' is given.
4926 (output_charset): Improve warning messages to give more information.
4927 (dump_symbols): Make information more precise.
4929 (read_map): Don't call unicode_to_ucode_name; the glyph names must
4930 appear as-is and shouldn't be decomposed.
4932 2003-12-31 Werner LEMBERG <wl@gnu.org>
4934 * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.
4935 * font/devlj4/generate/Makefile (IFLAG): Updated to new units.
4936 (FONTS): Add TrueType font families Arial and Times New Roman.
4937 (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
4938 * font/devlj4/generate/text.map: Fix Unicode values of `fi' and
4941 2003-12-31 Jeff Conrad <jeff_conrad@msn.com>
4943 * test-groff.in (SEP): Quote value.
4944 * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
4945 `tem' to `char*' to avoid deallocation of a pointer to a constant
4946 object which some compilers don't like.
4948 2003-12-31 Werner LEMBERG <wl@gnu.org>
4950 * font/devlj4/generate (text.map, special.map): Rewritten to work
4951 with the new hpftodit version.
4953 2003-12-30 Jeff Conrad <jeff_conrad@msn.com>
4955 * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
4956 set and 8bit character code for all glyphs also.
4958 2003-12-30 Werner LEMBERG <wl@gnu.org>
4960 * src/libs/libgroff/strcasecmp.c: Updated from gnulib.
4962 2003-12-29 Werner LEMBERG <wl@gnu.org>
4964 More fixes for MSVC compiler.
4966 * doc/Makefile.sub (GROFF_BIN_PATH): Use $(SEP).
4968 * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
4969 STDERR_FILENO) [_MSC_VER]: Define conditionally.
4970 (getpid) [_MSC_VER]: Remove.
4971 Include direct.h and process.h conditionally.
4973 * src/roff/troff/node.cpp (suppress_node::tprint): Don't use
4974 parentheses for a_delete.
4976 * src/utils/lookbib/lookbib.cpp: Include nonposix.h.
4978 * test-groff: Replaced with...
4979 * test-groff.in: This new template to handle path separator
4982 * configure.ac: Check for direct.h and process.h.
4983 Generate test-groff script.
4984 * configure, src/include/config.hin: Regenerated.
4986 2003-12-28 Werner LEMBERG <wl@gnu.org>
4988 Add integral extension glyph.
4989 Add new option `-x' to afmtodit to suppress use of built-in AGL.
4991 * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
4993 * font/devps/generate/textmap: Provide entry for `integralex' to
4994 override (old) PUA value of the AGL.
4995 * font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
4996 * font/devps/*: Regenerated.
4998 * src/utils/afmtodit/afmtodit.pl: Add option `-x'.
4999 * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
5001 2003-12-27 Werner LEMBERG <wl@gnu.org>
5003 Add forgotten `coproduct' symbol (already available for DVI).
5005 * font/devhtml/R.proto, font/devps/generate/textmap,
5006 font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
5007 src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
5008 U+2210 (\[coproduct]).
5010 2003-12-26 Jeff Conrad <jeff_conrad@msn.com>
5012 hpftodit has been extended to handle TrueType metric files and
5013 more glyphs. See hpftodit.man for more details.
5015 * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h,
5016 ctype.h, and unicode.h.
5017 s/msl/charcode/ everywhere since we now handle Unicode values also.
5018 (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
5019 Use it where appropriate.
5020 (MULTIPLIER): Replaced with...
5021 (multiplier): New global static variable.
5023 (tag_type): Add more TFM tags.
5024 (tag_name): New array.
5025 (ENUM_TYPE, FLOAT_TYPE): Removed.
5026 (BYTE_TYPE): New value assigned.
5027 (ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
5028 (text_symbol_sets, special_symbol_sets): Extended to cover more
5030 (check_type): Add return value.
5031 (check_units): Add parameters to get ppi and upem values.
5032 Handle TrueType TFM data.
5033 (output_font_name): New function.
5034 (output_charset): Add parameter to handle TFM type.
5035 Handle TrueType TFMs also.
5036 (em_fract): New macro.
5037 (dump_tags): Be much more verbose and handle more tags.
5038 (dump_ascii, dump_symbol_sets, dump_symbols): New functions.
5039 (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
5041 (read_map): Add parameter to handle TFM type.
5042 Handle both MSL and Unicode mappings.
5043 (main): Add two new command line options `-a' and `-q'.
5044 Updated to make use of new functions.
5047 * src/utils/hpftodit/hpuni.cpp: New file.
5049 * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
5052 2003-12-25 Werner LEMBERG <wl@gnu.org>
5054 * src/include/nonposix.h (read) [_MSC_VER]: Define.
5056 2003-12-24 Werner LEMBERG <wl@gnu.org>
5058 * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested
5059 by Michail Vidiassov <master@iaas.msu.ru>.
5061 2003-12-20 Werner LEMBERG <wl@gnu.org>
5063 * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
5065 Add missing latin-2 glyphs.
5066 * font/devutf8/R.proto: Add missing latin-2 glyphs.
5068 * tmac/troffrc: Load `composite.tmac' earlier.
5070 * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
5071 u00{53,73}_0327, and u0049_0307.
5072 * tmac/X.tmac: Add u00{47,67}_0306.
5073 * tmac/tty-char.tmac: Use composite glyph names for readability.
5077 * src/include/unicode.h: Remove `extern' keywords.
5079 2003-12-20 Nilgün Belma Bugüner <nilgun@superonline.com>
5081 * tmac/latin5.tmac: New file.
5083 2003-12-19 Werner LEMBERG <wl@gnu.org>
5085 Add some glyphs needed for Turkish.
5087 * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
5090 * tmac/composite.tmac: Add `,' as a synonym for `ac' accent.
5091 * tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
5092 u00{53,73}_0327, and u0049_0307.
5094 2003-12-18 Werner LEMBERG <wl@gnu.org>
5096 * src/devices/grops/ps.cc (ps_output::put_float): Revert change
5098 Remove trailing zeros.
5100 2003-12-17 Werner LEMBERG <wl@gnu.org>
5102 Make \? transparent to end-of-sentence recognition.
5104 * src/roff/troff/input.cc (non_interpreted_node): Add
5105 `ends_sentence' member function.
5107 2003-12-16 Werner LEMBERG <wl@gnu.org>
5109 * doc/groff.texinfo: Document `dt' request correctly.
5110 Other minor typographical improvements.
5112 2003-12-10 Michail Vidiassov <master@iaas.msu.ru>
5114 * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
5116 2003-12-10 Richard Stallman <rms@gnu.org>
5118 * LICENSE: Better wording.
5120 2003-12-09 Werner LEMBERG <wl@gnu.org>
5122 * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
5123 * configure, NEWS: Updated.
5125 2003-12-08 Werner LEMBERG <wl@gnu.org>
5127 * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).
5129 2003-12-07 Bernd Warken <bwarken@mayn.de>
5133 2003-12-07 Werner LEMBERG <wl@gnu.org>
5135 * INSTALL: Improved.
5137 2003-12-05 Keith Marshall <keith.d.marshall@ntlworld.com>
5139 Use path separator character of target platform for compiled-in
5142 * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
5143 * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
5144 * configure: Regenerated.
5145 * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
5147 2003-12-05 Werner LEMBERG <wl@gnu.org>
5149 * src/include/nonposix.h (PATH_SEP_CHAR): New definition.
5150 Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
5152 2003-12-04 Bernd Warken <bwarken@mayn.de>
5154 * LICENSE: New file.
5156 2003-12-03 Werner LEMBERG <wl@gnu.org>
5158 * src/utils/afmtodit/afmtodit.pl: Comment out code which handles
5159 ligatures present in AFM files since groff currently only
5160 understands some standard ligatures and nothing else.
5162 2003-12-03 Jeff Conrad <jeff_conrad@msn.com>
5164 * src/roff/groff/groff.cpp (main): Don't run the spooler if
5167 * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
5170 Don't use Unix wait flags.
5172 2003-12-02 Werner LEMBERG <wl@gnu.org>
5174 * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
5175 src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
5176 src/roff/troff/uniuni.cpp: Moved to...
5177 * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
5178 src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
5179 src/libs/libgroff/uniuni.cpp: Here.
5181 * src/include/Makefile.sub.old (HDRS),
5182 src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
5183 src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
5185 2003-12-01 Keith Marshall <keith.d.marshall@ntlworld.com>
5187 * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to
5191 2003-12-01 Werner LEMBERG <wl@gnu.org>
5193 * groff.texinfo: Document special behaviour of `.vs 0'.
5194 Improve documentation of `cflags' request.
5197 2003-11-29 Werner LEMBERG <wl@gnu.org>
5199 * font/devlj4/generate/Makefile (CORONET): Use correct TFM.
5200 * font/devlj4/CORONET: Regenerated.
5202 2003-11-24 Werner LEMBERG <wl@gnu.org>
5204 * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
5205 if processing hyphenation patterns in traditional mode.
5206 Improve error messages.
5208 2003-11-20 Werner LEMBERG <wl@gnu.org>
5210 * src/roff/troff/node.cpp (troff_output_file::put_char_width,
5211 troff_output_file::put_char): Fix type of local variable `c'.
5213 2003-11-19 Werner LEMBERG <wl@gnu.org>
5215 * src/roff/groff/pipeline.c (P): Removed. Updated all function
5217 (i_to_a): Removed. libgroff already provides this function.
5218 (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
5220 2003-11-18 Keith Marshall <keith.d.marshall@ntlworld.com>
5222 * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
5225 2003-11-17 Werner LEMBERG <wl@gnu.org>
5227 * COPYING: Use correct version.
5229 2003-11-11 Werner LEMBERG <wl@gnu.org>
5231 LynxOS 4.0.0 doesn't declare vfprintf.
5233 * configure.ac: Check for vfprintf.
5234 * configure: Regenerated.
5235 * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
5236 * src/include/config.hin: Regenerated.
5238 2003-11-10 Werner LEMBERG <wl@gnu.org>
5240 LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.
5242 * configure.ac: Check for vsnprintf.
5243 * configure: Regenerated.
5244 * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
5246 * src/include/config.hin: Regenerated.
5248 2003-11-09 Werner LEMBERG <wl@gnu.org>
5250 * aclocal.m4: Updated syntax to autoconf 2.59.
5251 (GROFF_HTML_PROGRAMS): Use AC_FOREACH.
5252 Don't check for gsos2.
5253 (GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides
5254 working abs_top_srcdir and abs_top_builddir.
5256 * configure.ac: Updated syntax to autoconf 2.59.
5257 Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
5258 Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
5259 * configure: Regenerated.
5261 * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
5262 s/@groff_top_builddir@/@abs_top_builddir@/.
5264 * src/roff/groff/pipeline.c (xstrsignal):
5265 s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
5267 2003-11-07 Werner LEMBERG <wl@gnu.org>
5269 * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
5270 make start angle smaller than end angle to circumvent a bug in tpic
5271 handling of some versions of dvipdfm (and dvipdfmx).
5273 2003-10-30 Werner LEMBERG <wl@gnu.org>
5275 * src/devices/grops/grops.man: Improve section on creating EPS.
5277 2003-10-29 Werner LEMBERG <wl@gnu.org>
5279 * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
5282 2003-10-28 Werner LEMBERG <wl@gnu.org>
5284 * doc/groff.texinfo: Fix documentation of `.if'.
5286 2003-10-27 Michail Vidiassov <master@iaas.msu.ru>
5288 * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of
5289 the form `uniXXXX' also.
5291 2003-10-27 Werner LEMBERG <wl@gnu.org>
5293 * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,
5294 contrib/pic2graph/pic2graph.sh: Implement secure management of
5296 Pass `-P-pletter' to groff to avoid data outside of the converted
5297 area -- some versions of `convert' (for example 5.3.8) don't check
5298 the bounding box of the image but always use a fixed image size
5299 (letter paper format).
5300 * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man,
5301 contrib/pic2graph/pic2graph.man: Updated.
5303 * src/roff/groff/groff.man: Document $TMP and $TEMP.
5305 2003-10-26 Werner LEMBERG <wl@gnu.org>
5307 * src/preproc/pic/troff.cpp (troff_output::simple_circle,
5308 troff_output::simple_ellipse, troff_output::simple_arc,
5309 troff_output::simple_line, troff_output::simple_spline,
5310 troff_output::simple_polygon): Insert a space before arguments.
5311 (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the
5312 latter doesn't produce a node, so the following `.sp -1' would do
5314 Don't emit `.sp -1' after \M. This also doesn't produce a token
5315 (and we don't have to care about compatibility mode).
5316 (troff_output::set_color, troff_output::reset_color): Don't emit
5317 `.sp -1' after \M and \m.
5319 * src/roff/troff/input.cpp (old_have_input): New global variable.
5320 (input_stack::get): Handle `old_have_input'.
5321 (process_input_stack) <token::TOKEN_NEWLINE>: Call
5322 `trapping_blank_line' depending on `old_have_input', not
5325 2003-10-20 Keith Marshall <keith.d.marshall@ntlworld.com>
5327 * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32]
5328 (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing
5329 default directory names for temporary files.
5330 [__MSDOS__, _Win32] (temp_init::temp_init): Use them.
5332 * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h.
5333 [__MSDOS__] (run_pipeline): Honour environment variables.
5334 Don't use `tmpnam' but `tempnam' to work around messy
5337 * README.MinGW: New file.
5339 2003-10-16 Werner LEMBERG <wl@gnu.org>
5341 * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
5342 `(*t)->next' without testing validity of `*t'.
5343 (usage): Make it more readable.
5345 2003-10-16 Keith Marshall <keith.d.marshall@ntlworld.com>
5347 Make html device run under both MS-DOS and Win32.
5349 * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS,
5350 MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether
5351 spawn or fork+exec has to be used, and whether parent must sleep
5352 until the child process terminates. Used in
5353 `char_buffer::run_output_filter'.
5354 (copyofstdoutfd): Removed.
5355 (char_buffer): Replace `write_file_html' and `write_file_troff'
5356 member functions with `emit_troff_output' and `run_output_filter'.
5357 (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New
5359 (replaceFd): Replaced with...
5360 (set_redirection): New auxiliary function.
5361 (waitForChild): Replaced with...
5362 (save_and_redirect): New auxiliary function for.
5364 (char_buffer::do_html, char_buffer::do_image): Simplified, using new
5367 2003-10-14 Keith Marshall <keith.d.marshall@ntlworld.com>
5369 * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
5370 (GROFF_LIBC): New function.
5371 * configure.ac: Call GROFF_LIBC.
5373 * configure: Regenerated.
5375 * src/include/lib.h: Handle __MINGW32__.
5376 * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
5377 Add macro for `pipe'.
5380 * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
5383 * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
5386 2003-10-12 Werner LEMBERG <wl@gnu.org>
5388 * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
5389 src/roff/troff/input.cc (usage): Updated.
5391 * NEWS, doc/groff.texinfo: Updated.
5393 2003-10-12 Peter Miller <millerp@canb.auug.org.au>
5395 * src/libs/libgroff/searchpath.cpp
5396 (search_path::open_file_cautious): New function which also handles
5397 `-' as stdin and stdout depending on the access mode.
5398 * src/include/searchpath.h (search_path): Updated.
5400 * src/devices/grops/ps.cpp (main): Handle new `-I' switch.
5401 * src/devices/grops/ps.h: Include `searchpath.h'.
5402 * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
5403 Open resource file with `include_search_path.open_file_cautious'.
5404 * src/devices/grops/grops.man: Document new `-I' switch.
5406 * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
5407 (main), src/devices/grolj4/lj4.cpp (main),
5408 src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
5410 * src/preproc/soelim/soelim.cpp (include_list_length, include_list):
5412 (include_search_path): New global variable.
5413 (include_path_append): Removed.
5414 (main): Use `include_search_path.command_line_dir' to handle `-I'.
5415 (do_file): Simplify, using new
5416 `include_search_path.open_file_cautious'.
5418 * src/roff/groff/groff.cpp (print_commands): Accept file handle as
5420 (main): Pass arguments to `-I' to both troff and devices.
5421 Improve handling of `-V'.
5422 * src/roff/groff/groff.man: Document changes to -I and -V.
5424 * src/roff/troff/input.cpp (include_search_path): New global
5426 (next_file, source, ps_bbox_request, transparent_file,
5427 process_input_file): Use new
5428 `include_search_path.open_file_cautious'.
5429 (main) Handle `-I' switch.
5430 * src/roff/troff/node.cpp (troff_output_file::really_copy_file):
5431 Use new `include_search_path.open_file_cautious'.
5432 * src/roff/troff/node.h: New extern symbol `include_search_path'.
5433 * src/roff/troff/troff.man: Document new `-I' switch.
5435 2003-09-15 Ruslan Ermilov <ru@FreeBSD.org>
5437 Support multiple calls of .Lb in LIBRARY section.
5439 * tmac/doc-common (doc-in-library-section): New register.
5440 (doc-section-library): New string.
5441 (Sh): Set `doc-in-library-section'.
5443 * tmac/doc-syms (Lb): Insert breaks before and after arguments
5444 if in LIBRARY section.
5445 * tmac/doc.tmac (doc-save-global-vars): Updated.
5446 * NEWS, tmac/groff_mdoc.man: Updated.
5448 2003-09-14 Ruslan Ermilov <ru@FreeBSD.org>
5450 * tmac/doc-common (doc-default-operating-system): New variable.
5453 2003-09-08 Werner LEMBERG <wl@gnu.org>
5455 * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also.
5457 2003-08-31 Werner LEMBERG <wl@gnu.org>
5459 * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
5460 (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
5461 $(DEVFILES) are not empty.
5462 * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
5464 2003-08-23 Stephen Gildea <http://www.gildea.com/stephen>
5466 * src/preproc/ref/ref.cpp (reference::compute_sort_key): Always
5467 insert SORT_SEP. With certain combinations of sort specifications,
5468 refer sorted entries in the wrong order. In particular, entries
5469 with a missing field should be be sorted before all entries that
5470 have that field, before refer looks to the next field.
5472 2003-08-23 Werner LEMBERG <wl@gnu.org>
5474 * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the
5475 g++ linker is used. Reported by Mark J. Reed
5476 <mark.reed@turner.com>.
5478 2003-08-16 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
5480 Add key character `x' to tbl which makes tbl call a user-defined
5481 macro on a table cell.
5483 * src/preproc/tbl/table.h (entry_modifier): Add `macro'.
5484 * src/preproc/tbl/table.cpp (block_entry::do_divert): Call
5485 `set_modifier' after printing the compatibility request.
5486 (set_modifier): Print call to `m->macro' if not empty.
5487 * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
5489 (process_format): Implement cases `x' and `X'.
5490 * src/preproc/tbl/tbl.man, NEWS: Updated.
5492 2003-08-15 Werner LEMBERG <wl@gnu.org>
5494 * doc/groff.texinfo: Minor fixes.
5496 2003-08-09 Werner LEMBERG <wl@gnu.org>
5498 * tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
5500 2003-08-07 Werner LEMBERG <wl@gnu.org>
5502 * doc/Makefile.sub: Not all shells expand wildcards in the `for'
5503 argument list to nothing if there is no file to match. Use `ls' as
5504 a protection, similar to autoconf.
5506 * Makefile.comm (install_dev, uninstall_dev): Protect `for' against
5507 empty argument lists.
5509 * doc/groff.texinfo: Improve documentation how vertical spacing
5510 and line breaks interact.
5513 * tmac/www.tmac: Initialize `www-htmlimage-gap'.
5515 2003-08-03 Werner LEMBERG <wl@gnu.org>
5517 * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
5518 EPS (using eps2eps or similar programs to compute the bounding box).
5520 2003-07-24 Werner LEMBERG <wl@gnu.org>
5522 * doc/groff.texinfo: Use the new @/ command to avoid overlong lines.
5523 * doc/texinfo.tex: Updated from texinfo 4.6.
5524 * README.CVS: From now on we need texinfo 4.6.
5526 2003-07-23 Werner LEMBERG <wl@gnu.org>
5528 Add requests `dei1' and `ami1' for completeness.
5530 * src/roff/troff/input.cc (calling_mode): Remove
5531 CALLING_DISABLE_COMP.
5532 (comp_mode): New enumeration.
5533 (do_define_string, define_string, define_nocomp_string,
5534 append_string, append_nocomp_string): Updated.
5535 (do_define_macro): Add third parameter.
5536 (define_macro, define_nocomp_macro, define_indirect_macro,
5537 append_macro, append_nocomp_macro, append_indirect_macro): Updated.
5538 (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
5541 (init_input_requests): Add `dei1' and `ami1'.
5543 * tmac/trace.tmac: Handle de1 and am1.
5544 (de): Improve tracing message.
5545 (am): Add missing `do'.
5548 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5549 Document new requests.
5551 2003-07-22 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
5553 Add option -G to .MPIMG to insert a gap between text and the image.
5555 * tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
5556 www-finish-left-ll): Updated.
5557 (www-image-just, www-image-gap, www-htmlimage-gap): New variables.
5558 (MPIMG): Make option -L and -R optional.
5559 Implement option -G.
5561 2003-07-22 Gaius Mulley <gaius@glam.ac.uk>
5563 * src/devices/grohtml/post-html.cpp
5564 (html_printer::do_file_components): Don't use `stdout' as lvalue
5565 since it can be a macro.
5567 2003-07-22 Werner LEMBERG <wl@gnu.org>
5569 * src/libs/libgroff/strerror.c: Include errno.h to be in sync with
5570 the corresponding test in aclocal.m4.
5572 2003-07-21 Werner LEMBERG <wl@gnu.org>
5574 * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour
5575 names but RGB values directly. Otherwise pnmtopng depends on
5576 an external file `rgb.txt' which maps colour names to values.
5578 2003-07-20 Werner LEMBERG <wl@gnu.org>
5580 * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
5581 * configure, src/include/config.hin: Regenerated.
5583 * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
5585 2003-07-19 Werner LEMBERG <wl@gnu.org>
5587 * PROBLEMS: Add solution for UTF-8 problem with hyphens.
5589 2003-07-18 Werner LEMBERG <wl@gnu.org>
5591 * *.man: Switch to non-compatibility mode temporarily if GNU
5592 syntax extensions are used in the particular man page.
5594 * PROBLEMS: Add solutions for SGR problems.
5596 2003-07-17 Werner LEMBERG <wl@gnu.org>
5598 Don't ignore grotty's command line options if \X'tty: sgr ...' is
5599 used to change the drawing scheme.
5601 * src/devives/grotty/tty.cpp (bold_flag_option,
5602 underline_flag_option, italic_flag_option, reverse_flag_option,
5603 bold_underline_mode_option): New global variables.
5604 (update_options): New function.
5605 (tty_printer::special): Call update_options.
5606 (main): Don't set xxx_flag but xxx_flag_option, then call
5609 2003-07-14 Werner LEMBERG <wl@gnu.org>
5611 Make grotty emit proper Unicode box drawing characters for -Tutf8.
5613 * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum
5615 (hline_char, vline_char): New global variables.
5616 (tty_printer::tty_printer): Initialize them.
5617 (tty_printer::draw): Emit START_LINE and END_LINE flags for both
5618 horizontal and vertical lines.
5619 (crossings): New global array.
5620 (tty_printer::end_page): Use it to determine the proper crossing
5621 character for -Tutf8.
5623 2003-07-12 Werner LEMBERG <wl@gnu.org>
5625 * doc/Makefilesub (HTMLDOCFILESALL): New macro.
5626 (HTMLDOCFILES): Revert to `pic.html'.
5627 (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
5629 2003-07-11 Werner LEMBERG <wl@gnu.org>
5631 * doc/pic.ms: Improve documentation of absolute coordinates.
5632 Document absolute positioning of pictures.
5634 * NEWS: Add new pic capability.
5636 2003-07-09 Hartmut Henkel <hartmut_henkel@gmx.de>
5638 * src/libs/libgroff/geometry.cpp (check_output_arc_limits):
5641 2003-07-07 Werner LEMBERG <wl@gnu.org>
5643 Implement support for dashed and dotted ellipses in pic. Based on
5644 a patch from Hartmut Henkel <hartmut_henkel@gmx.de>.
5646 * src/preproc/pic/common.cpp (common_output::ellipse_arc,
5647 common_output::dashed_ellipse, common_output::dotted_ellipse): New
5648 functions. Ellipse arcs are approximated with circle arcs.
5649 * src/preproc/pic/common.h (common_output): Updated.
5650 * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse
5652 * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto.
5654 * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated.
5656 2003-07-06 Werner LEMBERG <wl@gnu.org>
5658 Make grotty work on platforms which have unsigned char as the
5659 default for char. Based on a patch by Thomas Klausner
5662 * src/devices/grotty/tty.cpp (schar): New typedef.
5663 Updated calls to declare_ptable and implement_ptable.
5664 (glyph): Use schar for back_color_idx and fore_color_idx.
5665 (tty_printer): Use schar for curr_fore_idx and curr_back_idx.
5666 (tty_printer::tty_color, tty_printer::tty_printer,
5667 tty_printer::color_to_idx, tty_printer::put_color): Updated.
5669 2003-07-06 Ruslan Ermilov <ru@FreeBSD.org>
5671 * src/roff/nroff/nroff.sh: Add option -d for completeness.
5672 * src/roff/nroff/nroff.man: Updated.
5674 2003-07-05 Werner LEMBERG <wl@gnu.org>
5676 * NEWS, tmac/groff_www.man: Updated.
5677 * doc/Makefile.sub: Updated.
5679 2003-07-05 Gaius Mulley <gaius@glam.ac.uk>
5681 Implement support for multiple HTML output files.
5683 * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
5684 -j command line option.
5686 * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
5688 (file): New fields `new_output_file', `require_links',
5690 (file::file): Updated.
5691 (files::set_file_name, files::set_links_required,
5692 files::are_links_required, files::is_new_output_file,
5693 files::file_name, files::next_file_name): New functions.
5694 (header_desc): New fields `no_of_level_one_headings',
5696 (header_desc::header_desc): Updated.
5697 (header_desc::write_headings): Handle multiple files.
5698 (html_printer::write_header): Save file name in which header occurs.
5699 (html_printer::determine_header_level): Possibly split files on
5701 (html_printer::do_links, html_printer::troff_tag): Updated.
5702 (html_printer::insert_split_file, html_printer::do_job_name,
5703 html_printer::emit_link, html_printer::write_navigation,
5704 html_printer::do_file_components): New functions.
5705 (html_printer::~html_printer): Handle multiple files.
5706 (main): Handle command line option `-j'.
5708 * src/devices/grohtml/grohtml.man: Updated.
5710 * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
5713 * tmac/www.tmac (JOBNAME): New macro.
5714 * tmac/s.tmac (SH-NO-TAG): New macro.
5715 (@SH): Call SH-NO-TAG.
5718 2003-07-05 Ruslan Ermilov <ru@FreeBSD.org>
5720 * tmac/groff_mdoc.man: Improve documentation of punctuation
5723 2003-07-04 Ruslan Ermilov <ru@FreeBSD.org>
5725 * tmac/doc.tmac (Bd): Change to doc-Li-font later.
5727 2003-07-03 Werner LEMBERG <wl@gnu.org>
5729 * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
5731 2003-07-01 Ruslan Ermilov <ru@FreeBSD.org>
5733 * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
5734 after `/*' and `*/'.
5736 (Fn, Fo): Reduce indentation in synopsis.
5738 * tmac/doc-common (doc-check-depth): New macro.
5739 (doc-end-macro, Sh, Ss): Use it.
5740 (Cd): Fix behaviour in synopsis.
5741 (In): Make it parsed and callable.
5742 If not in the synopsis, represent the C header file enclosed in
5744 (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
5745 Use minus, not hyphen.
5747 * tmac/groff_mdoc.man: Updated.
5749 2003-07-01 Werner LEMBERG <wl@gnu.org>
5751 Integrated grap2graph, contributed by Eric S. Raymond.
5753 * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
5755 * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
5756 contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
5758 2003-07-01 Colin Watson <cjwatson@debian.org>
5760 * src/xditview/*.c: Add prototypes, fix return types, add includes.
5761 Based on work by Fumitoshi UKAI <ukai@debian.or.jp>.
5763 2003-06-31 Ruslan Ermilov <ru@FreeBSD.org>
5765 * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.
5767 2003-06-31 Werner LEMBERG <wl@gnu.org>
5769 * doc/Makefile.sub (CLEANADD): Remove all files created by
5770 running `make groff.{pdf,dvi}'.
5772 * Makefile.sub (DISTCLEANFILES): Remove all non-source files from
5775 2003-06-30 Werner LEMBERG <wl@gnu.org>
5777 * Makefile.in (SHELL): Define as @SHELL@.
5778 (mkinstalldirs): Use $(SHELL).
5779 (MDEFINES): Add $(SHELL).
5780 * Makefile.comm (SHELL): Removed.
5782 2003-06-29 Werner LEMBERG <wl@gnu.org>
5784 * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively.
5785 The X11 documentation files use them.
5786 * tmac/groff_ms.man, doc/groff.texinfo: Document them.
5788 2003-06-15 Robert Goulding <goulding@Princeton.EDU>
5790 * tmac/e.tmac (@C): Handle .ad also.
5792 2003-06-12 Werner LEMBERG <wl@gnu.org>
5794 * src/preproc/tbl/tbl.man: Document formatting of text blocks.
5796 * src/roff/troff/input.cc (token::next) <handle_escape_char>:
5797 Assign `n' even here. It is possible to construct a node
5798 immediately following an escape character:
5806 2003-06-10 Werner LEMBERG <wl@gnu.org>
5808 * README.WIN32: Removed.
5809 * MANIFEST: Updated.
5811 2003-06-07 Werner LEMBERG <wl@gnu.org>
5813 * src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
5815 2003-06-05 Werner LEMBERG <wl@gnu.org>
5817 * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug
5818 in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885).
5820 2003-06-03 Werner LEMBERG <wl@gnu.org>
5822 * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
5823 is done by the calling function.
5825 2003-05-22 Ruslan Ermilov <ru@FreeBSD.org>
5827 * tmac/X.tmac: Fix definition of `em'.
5829 2003-05-22 Werner LEMBERG <wl@gnu.org>
5831 * src/roff/troff/input.cc (return_macro_request): Fix detection of
5834 2003-05-18 Werner LEMBERG <wl@gnu.org>
5836 * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
5837 to make items work which consist only of a tag.
5839 2003-05-17 Werner LEMBERG <wl@gnu.org>
5841 * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
5842 aren't stretched in a tag (this can fail with unformatted boxes).
5843 Instead, insert a break and go back one line.
5845 2003-05-16 Werner LEMBERG <wl@gnu.org>
5847 * src/roff/troff/input.cc (return_macro_request): If called with
5848 argument pop macro twice. We need this to trace `return'.
5850 * tmac/trace.tmac: Handle `return'.
5853 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5856 2003-05-15 Larry Kollar <kollar@alltel.net>
5858 * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
5859 registers `FPS', `FVS', and `FPD'.
5861 2003-05-15 Werner LEMBERG <wl@gnu.org>
5863 * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter
5866 2003-05-03 Ruslan Ermilov <ru@FreeBSD.org>
5868 * tmac/groff_mdoc.man: Slight improvements.
5870 2003-05-03 Werner LEMBERG <wl@gnu.org>
5872 * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
5873 `doc-header-space' after header line if register `cR' is set.
5875 2003-05-02 Werner LEMBERG <wl@gnu.org>
5879 2003-05-01 Ruslan Ermilov <ru@FreeBSD.org>
5881 * tmac/doc-common (Nd): Use \[em].
5883 2003-05-01 Werner LEMBERG <wl@gnu.org>
5885 * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
5886 doc-footer-space): Initialize to 0.5i.
5887 (doc-setup-page-layout): Don't set doc-header-space and
5890 2003-04-30 Werner LEMBERG <wl@gnu.org>
5892 * REVISION: Set to 1.
5894 * doc/pic.ms: Document possible problems with `figname'.
5896 2003-04-29 Werner LEMBERG <wl@gnu.org>
5898 Version 1.19 released
5899 =====================
5901 * VERSION: Set to 1.19.
5902 * REVISION: Set to 0.
5903 * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
5905 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
5906 Define charset as `US-ASCII' in html output.
5908 * tmac/www.tmac (ULE): Add missing scaling indicator.
5910 * win32-diffs: Removed.
5912 2003-04-28 Werner LEMBERG <wl@gnu.org>
5914 * doc/groff.texinfo: Document `dn' and `dl' registers if used with
5916 Document how to insert discardable whitespace with `.ss'.
5918 2003-04-27 Werner LEMBERG <wl@gnu.org>
5920 * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code
5921 work with plain TeX also.
5923 * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
5925 2003-04-25 Gaius Mulley <gaius@glam.ac.uk>
5927 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
5930 2003-04-24 Werner LEMBERG <wl@gnu.org>
5932 * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
5933 vbox with positive height and zero depth if in TeX mode.
5935 * NEWS: Document glyph name changes for grodvi and grolj4.
5937 2003-04-23 Werner LEMBERG <wl@gnu.org>
5939 * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code.
5940 * doc/pic.ms: Fixed.
5942 2003-04-21 Werner LEMBERG <wl@gnu.org>
5944 HP-UX 10.20 has `snprintf' but it isn't declared.
5946 * configure.ac: Add declaration test for snprintf.
5947 * configure: Regenerated.
5948 * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
5949 * src/include/config.hin: Regenerated.
5951 2003-04-19 Werner LEMBERG <wl@gnu.org>
5953 Add keyword `figname' to pic, specifying the name of the picture
5954 box in TeX mode. Based on a patch from William J Poser
5955 <wjposer@unagi.cis.upenn.edu>.
5957 * src/preproc/pic/pic.y: New token `FIGNAME'.
5958 (macro_name): New rule of type <str>.
5959 (placeless_element): Handle `FIGNAME'.
5960 * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
5961 * src/preproc/pic/main.cpp (graphname): New global variable.
5962 (do_picture): Initialize `graphname'.
5963 * src/preproc/pic/pic.h: Updated.
5964 * src/preproc/pic/tex.cpp (tex_output::start_picture): Use
5967 (tex_output::text): Beautify output.
5968 * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
5969 `shaded' and `outlined' unconditionally.
5970 * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
5973 * PROBLEMS, README.CVS: Mention that bison version 1.875b or
5974 greater is necessary.
5976 2003-04-17 Hartmut Henkel <hartmut_henkel@gmx.de>
5978 Add option -r to soelim to avoid emission of `.lf' lines.
5979 Add option -t to produces TeX comment lines instead of `.lf' lines.
5981 * src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
5984 (main): Handle `-r' and `-t'.
5985 (set_location): Handle `raw_flag' and `tex_flag'.
5986 * src/preproc/soelim/soelim.man, NEWS: Updated.
5988 2003-04-17 Werner LEMBERG <wl@gnu.org>
5990 * tmac/hyphenex.sh: Replaced with...
5991 * tmac/hyphenex.pl: This perl script to avoid sed compatibility
5994 * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
5995 if --quiet is used for the configure script.
5996 * configure: Regenerated.
5998 2003-04-16 Werner LEMBERG <wl@gnu.org>
6000 * src/devices/grohtml/post-html.cpp (text_glob::text_glob):
6001 Add `const' to second argument.
6002 (html_printer::add_table_end): Add `const' to argument.
6003 * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
6004 `const' to arguments.
6005 * src/devices/grohtml/html-text.h: Updated.
6007 * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
6008 * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
6011 * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
6012 cast for integer constant.
6014 * src/preproc/html/pre-html.cpp (image_device): Use `const'.
6015 (writeNbytes): Add `const' to first argument.
6016 (writeString): Add `const' to argument.
6017 (char_buffer::can_see): Add `const' to third argument.
6018 * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
6019 `const' to argument.
6020 * src/preproc/html/pushback.h: Updated.
6022 * src/preproc/soelim/soelim.cpp (include_list): Add `const'.
6023 (include_path_append): Add `const' to argument.
6026 * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
6028 (unicode_to_glyph_init::unicode_to_glyph_init): Updated.
6029 * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
6031 (unicode_decompose_init::unicode_decompose_init): Updated.
6032 * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
6034 (glyph_to_unicode_init::glyph_to_unicode_init): Updated.
6035 * src/roff/troff/input.cc (process_startup_file): Add `const' to
6038 * tmac/hyphenex.sh: Make script more portable by using a here
6041 2003-04-15 Werner LEMBERG <wl@gnu.org>
6043 Renamed all `*.cc' files to `*.cpp'.
6044 Updated all configuration files, makefiles, and documentation.
6046 2003-04-14 Werner LEMBERG <wl@gnu.org>
6048 * tmac/hyphenex.sh: Slight improvements.
6050 2003-04-13 Werner LEMBERG <wl@gnu.org>
6052 * font/devascii/R.proto, font/devcp1037/R.proto,
6053 font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
6054 character slots with unnamed glyphs.
6056 * tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
6057 (an-first): New global variable.
6058 (an-header): Emit vertical space between multiple man pages.
6060 2003-04-11 Werner LEMBERG <wl@gnu.org>
6062 * doc/groff.texinfo, man/groff_out.man: \S only accepts integer
6065 2003-04-10 Werner LEMBERG <wl@gnu.org>
6067 * PROBLEMS: Revised.
6069 2003-04-10 Bernd Warken <bwarken@mayn.de>
6071 * doc/webpage.ms: Improved.
6073 2003-04-09 Werner LEMBERG <wl@gnu.org>
6075 Add register \n[.height] which returns the value of \H.
6076 Add register \n[.slant] which returns the value of \S.
6078 * src/roff/troff/env.cc (init_env_requests): Implement.
6079 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6082 2003-04-08 Werner LEMBERG <wl@gnu.org>
6084 * tmac/html.tmac: Move some of the data into html-end.tmac.
6085 Remove most of the character translations for eqn since html fonts
6086 now cover those characters.
6088 * tmac/html-end.tmac: New file.
6089 * tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
6090 * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
6091 * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
6093 2003-04-07 Werner LEMBERG <wl@gnu.org>
6095 * man/groff_out.man: Document negative values of `N' if -Thtml is
6098 2003-04-06 Werner LEMBERG <wl@gnu.org>
6100 * Makefile.comm (depend.temp): Check location of YTABC.
6102 2003-04-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6104 * doc/Makefile.in (TROFFBIN): New variable for troff
6106 (GROFFBIN): New variable for groff binary path.
6107 (groff_bin_path): Rename to GROFF_BIN_PATH.
6108 (TROFF): Use TROFFBIN.
6109 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6110 * doc/Makefile.sub (GROFFBIN): New variable for groff
6112 (groff_bin_path): Rename to GROFF_BIN_PATH.
6113 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6115 * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
6116 with INSTALL_SCRIPT.
6117 (uninstall_dev): Uninstall scripts from DEVSCRIPTS.
6118 * Makefile.dev (all): Depend on DEVSCRIPTS.
6119 (install_dev): Likewise.
6120 * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
6122 * font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
6123 (DEVGENSCRIPTS): New variable to hold generated scripts.
6125 2003-04-05 Werner LEMBERG <wl@gnu.org>
6127 * src/libs/libdriver/input.cc (IntArray::operator[],
6128 IntArray::get_data): Remove meaningless `const' in return value.
6130 * README.CVS: New file.
6132 2003-04-04 Werner LEMBERG <wl@gnu.org>
6134 Check for stdint.h in C++, not in C.
6136 * aclocal.m4 (GROFF_STDINT_H): New function,
6137 * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
6139 * configure, src/include/config.hin: Regenerated.
6140 * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
6143 Fix handling of in grohtml. To do this, troff emits `N'
6144 with a negative value, representing the width of the unbreakable
6145 space (only for -Thtml). grohtml then converts this back to
6146 and uses the value of N as its width.
6148 * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6149 unbreakable_space_node::tprint): Emit `N-<width>'.
6150 * src/include/printer.h (printer::set_numbered_char): Make it
6152 Make members `font_table' and `nfonts' protected instead of private.
6153 * src/devices/grohtml/post-html.cc
6154 (html_printer::set_numbered_char): New member function.
6157 * src/libs/libgroff/maxfilename.cc:
6158 s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
6160 * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
6163 2003-04-03 Sergey A. Osokin <osa@freebsd.org.ru>
6165 * man/roff.man: Small fixes.
6167 2003-04-03 Werner LEMBERG <wl@gnu.org>
6169 Make groff independent from locale's numeric settings.
6171 * configure.ac: Check for `setlocale'.
6172 * configure, src/include/config.hin: Regenerated.
6174 * src/include/lib.h: Handle HAVE_SETLOCALE.
6176 * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
6177 (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
6178 (main), src/preproc/pic/main.cc (main): Call `setlocale'.
6181 * doc/groff.texinfo: Change dir category to `Typesetting'.
6182 (Man font macros): Mention that there is no space between arguments
6185 * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
6186 (*printer::change_color, *printer::change_fill_color): Add missing
6189 2003-04-02 Werner LEMBERG <wl@gnu.org>
6191 * src/devices/grohtml/html-table.cc (html_table::emit_col,
6192 html_table::is_gap): Compute table widths after converting border
6193 positions to avoid rounding errors.
6195 2003-04-01 Werner LEMBERG <wl@gnu.org>
6197 * src/devices/grohtml/html-text.cc (html_text::do_space): Handle
6198 `space_emitted' properly.
6200 2003-03-31 Werner LEMBERG <wl@gnu.org>
6202 * src/devices/grohtml/html-table.cc: Fix column width calculation.
6203 (html_table::set_linelength): Don't add 1.
6204 (html_table::add_indent): Don't subtract 1.
6206 * tmac/html.tmac: Set default page offset to zero.
6208 2003-03-30 Werner LEMBERG <wl@gnu.org>
6210 Make groff emit ` ' for `\ ' and `\~' if `-Thtml' is used.
6212 * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6213 unbreakable_space_node::tprint): New functions.
6214 (troff_output_file): Make space_char_hmotion_mode::tprint and
6215 unbreakable_space_node::tprint to friends.
6216 * src/roff/troff/node.h: Updated.
6218 * font/devhtml/R.proto: Add ` ' at position 0xA0 (as defined
6219 in the HTML standard).
6221 2003-03-29 Werner LEMBERG <wl@gnu.org>
6223 * src/roff/troff/env.cc (point_size): Fix emission of html tag.
6224 Otherwise, the following code
6233 produces `x a' instead of `xa'. This is a temporary fix, disabling
6234 font changes in diversions for -Thtml.
6236 * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
6238 (an-do-tag-html): Merge with ...
6239 (an-do-tag): This macro.
6240 Change code slightly to circumvent grohtml bug.
6241 * tmac/troffrc-end: Define dummy for HTML-TAG-NS.
6243 * src/devices/grohtml/html-table.cc (html_table::emit_col,
6244 html_table::is_gap): Round `width' properly.
6246 * tmac/html.tmac: Provide some default layout parameters for
6249 * font/devhtml/DESC.proto: Don't use discrete values for `sizes'
6252 2003-03-28 Werner LEMBERG <wl@gnu.org>
6254 src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
6256 2003-03-27 Werner LEMBERG <wl@gnu.org>
6258 * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
6261 2003-03-20 Werner LEMBERG <wl@gnu.org>
6263 * src/roff/troff/env.cc (vertical_spacing): Allow zero value for
6265 * doc/groff.texinfo: Updated.
6267 2003-03-19 Werner LEMBERG <wl@gnu.org>
6269 * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
6270 TOKEN_END_TRAP>: Reset `have_input'.
6272 2003-03-18 Werner LEMBERG <wl@gnu.org>
6274 * src/roff/groff/groff.man: Mention groff_trace man page.
6276 2003-03-16 Werner LEMBERG <wl@gnu.org>
6278 * Makefile.in (LIBEXT): New variable to indicate the file extension
6279 of library files. Computed heuristically from $(OBJEXT).
6280 (MDEFINES): Add $(LIBEXT).
6281 * Makefile.lib, Makefile.comm: Use it.
6283 * src/utils/pfbtops/pfbtops.c (get_text): New function. Split
6284 overlong lines into smaller chunks.
6285 (get_binary): New function.
6287 * src/utils/pfbtops/pfbtops.man: Updated.
6289 2003-03-15 Colin Watson <cjwatson@debian.org>
6291 * src/roff/groff/groff.man: Minor syntax fix.
6293 2003-03-14 Egil Kvaleberg <egil@kvaleberg.no>
6295 * src/devices/grops/ps.cc (ps_printer::media_set,
6296 ps_printer::~ps_printer): Handle zero paper width and length.
6298 2003-03-13 Werner LEMBERG <wl@gnu.org>
6300 Add options -p and -l to grodvi.
6302 * src/devices/grodvi/dvi.cc: Include paper.h.
6303 (landscape_flag, user_paper_length, user_paper_width): New global
6305 (dvi_printer::begin_page): Emit `papersize' special.
6306 Set color after initialization of `cur_h' and `cur_v'.
6307 (main): Add options `-l' and `-p'.
6308 * font/devdvi/Makefile.sub (DESC): Set `papersize'.
6309 * src/devices/grodvi/grodvi.man, NEWS: Updated.
6311 * src/devices/grops/psrm.cc (valid_input_table): Fixed.
6313 2003-03-12 Werner LEMBERG <wl@gnu.org>
6315 * src/devices/grops/grops.man: Move documentation of .PSPIC to...
6316 * man/groff_tmac.man: This man page.
6317 * man/groff_font.man: Declare `paperwidth' and `paperlength' as
6320 * tmac/X.tmac: Don't load pspic.tmac.
6322 2003-03-11 Werner LEMBERG <wl@gnu.org>
6324 Make variable `pr' local to libdriver/input.cc. Based on a patch
6325 by Bernd Warken <bwarken@mayn.de>.
6327 * src/include/driver.h (pr): Removed.
6329 * src/libs/libdriver/input.cc (pr): New global variable.
6330 (do_file): Deallocate `pr'.
6331 * src/libs/libdriver/printer.cc (pr): Removed.
6333 * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
6334 (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
6335 (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
6336 (main): Don't delete `pr'.
6338 2003-03-10 Werner LEMBERG <wl@gnu.org>
6340 * tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
6341 * tmac/papersize.tmac: New file.
6342 * tmac/troffrc: Include `papersize.tmac'.
6343 * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
6344 * tmac/an-old.tmac: Set LT to LL by default.
6346 * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
6347 doc/groff.texinfo: Updated.
6349 * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
6350 bug which caused all odd iso papers to have wrong dimensions.
6352 * src/devices/grops/ps.cc (user_paper_width): New global variable.
6353 (main) <'p'>: Set `user_paper_width' also.
6354 (ps_printer::media_width, ps_printer::media_height): Use values
6355 given with option `-p'.
6357 2003-03-09 Werner LEMBERG <wl@gnu.org>
6359 * src/include/nonposix.h: Provide default for SET_BINARY.
6361 * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc,
6362 src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY
6365 * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally.
6366 (main): Treat \r\n as \n.
6368 2003-03-08 Werner LEMBERG <wl@gnu.org>
6370 * tmac/an-old.tmac: Use register `HY' to control hyphenation.
6371 * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
6373 2003-03-07 Werner LEMBERG <wl@gnu.org>
6375 Added support to access more than 256 glyphs in Type 1 fonts.
6377 * src/devices/grops/ps.cc (subencoding): New structure.
6378 (style): Add `sub' field.
6380 (ps_printer): Add `subencodings' and `next_subencoding_index' fields.
6381 Add `set_subencoding', `get_subfont' and `encode_subfont' member
6384 (ps_printer::set_char): Use `set_subencoding'.
6385 (make_subencoding_name): New function.
6386 (ps_printer::set_style): Handle case where `sty.sub' is not zero.
6387 (ps_printer::~ps_printer): Emit subencoding definitions.
6389 * src/devices/grops/psrm.cc (valid_input_table): New array to
6390 properly support EBCDIC.
6391 (white_space): Add `\f'.
6392 (ps_get_line): Change first argument to be of type `string &'.
6393 Updated all callers.
6394 This allows to get lines of arbitrary length.
6395 Use `valid_input_table'.
6396 Remove warning about non-conforming PS line length. This seems
6397 not to be of great importance -- for example, dvips don't emit
6399 (PS_LINE_MAX): Removed.
6400 (matches_comment): Change first argument to be of type `string &'.
6402 * src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
6404 * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
6405 %AGL_to_unicode, %default_ligatures): New hash tables.
6406 Read all map entries.
6407 Add unencoded characters.
6408 Check for default ligatures if there are no `L' entries.
6409 Print all kern entries.
6410 Print all characters in charset.
6411 * src/utils/afmtodit/afmtodit.man: Updated.
6413 * font/devps/*: Regerated all fonts.
6415 * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
6416 of characters, just use `.trin'. Otherwise the mapping depends
6417 on the font encoding.
6418 * tmac/ps.tmac: Add `fi' and `fl'.
6419 Improve `Fi' and `Fl'.
6420 * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
6421 * tmac/Xps.tmac: Fix `em'.
6425 2003-03-04 Werner LEMBERG <wl@gnu.org>
6427 * src/roff/troff/input.cc (charinfo_to_node_list): Reset
6430 2003-03-03 Werner LEMBERG <wl@gnu.org>
6432 * Makefile.sub (DISTCLEANFILES): Add gxditview._man.
6434 * font/devps/generate/textmap: Remove entry `similarequal'.
6435 * font/devps/symbolmap: Updated.
6437 2003-03-02 Werner LEMBERG <wl@gnu.org>
6439 * src/libs/libgroff/font.cc (font::load): Fix error message for
6442 * src/devices/grops/grops.man: Improve documentation of the -b
6445 * tmac/tty.tmac: Load latin1.tmac for all TTY devices except
6446 `ascii' and `cp1047'.
6448 2003-03-01 Werner LEMBERG <wl@gnu.org>
6450 Document composite glyphs and the `composite' request.
6452 * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
6454 2003-02-28 Werner LEMBERG <wl@gnu.org>
6456 * font/devdvi/generate/ec.map: Add some more Unicode entities.
6457 * font/devdvi/*EC: Updated.
6459 * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
6460 * tmac/latin1 (latin1-tr): Undo any previous mapping.
6461 * tmac/troffrc: Load `composite.tmac'.
6462 * tmac/Makefile.sub (NORMALFILES): Updated.
6464 * doc/groff.texinfo (Input Encodings): New section.
6467 2003-02-27 Werner LEMBERG <wl@gnu.org>
6469 * doc/texinfo.tex: New version 2003-02-11.06.
6471 * tmac/doc-common (Dt): Don't emit warning for unknown section.
6472 * tmac/groff_mdoc.man: Fix description of `Dt'.
6474 2003-02-26 Egil Kvaleberg <egil@kvaleberg.no>
6476 * font/devps/prologue.ps: Fix for included Postscript that does
6477 a setpagedevice -- which is now safely ignored.
6481 * src/devices/grops/ps.cc: Now sets the page size in the generated
6482 document. This is done in two ways: Via a %%-comment for gv and
6483 the like, and via a PageSize and setpagedevice for programs that
6484 understands Postscript proper, like ps2pdf.
6486 * src/devices/grops/ps.h: New broken-flag to avoid page size
6487 definition, if required.
6489 * src/devices/grops/grops.man: New broken-flag 16 mentioned.
6491 * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
6492 Not really necessary due to the fix in prologue.ps, but cleaner:
6493 Such information does not belong in an .eps file.
6495 * doc/Makefile.sub: See doc/Makefile.in.
6497 2003-02-26 Ralph Corderoy <ralph@inputplus.co.uk>
6499 * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
6500 instead of P1 since the latter is broken in some versions of netpbm.
6501 * configure: Updated.
6503 2003-02-26 Larry Kollar <kollar@alltel.net>
6505 Make man pages more customizable.
6507 * tmac/an-old.tmac (FT): New register holding footer distance from
6509 (HF): New string holding the default heading font.
6510 (TH): Handle registers `IN' and `SN' set on the command line.
6512 (PT, BT): New strings to customize header and footer lines.
6513 (an-header, an-footer): Use them.
6515 * tmac/groff_man.man: Document changes.
6517 * doc/groff.texinfo: Document man changes.
6518 Document Ultrix extensions of man.
6520 2003-02-26 Werner LEMBERG <wl@gnu.org>
6522 * src/roff/troff/input.cc (do_width, do_if_request): Reset
6523 `have_input' after changing back to old environment.
6525 * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
6526 function up to be defined before first call. This is necessary to
6527 avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
6529 * src/utils/afmtodit/afmtodit.pl: Make script search for files in
6530 the default font directory also. Based on a patch from James
6531 J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
6532 * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
6533 * src/utils/afmtodit/afmtodit.man: Document it.
6537 * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
6539 2003-02-25 Gaius Mulley <gaius@glam.ac.uk>
6541 * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
6542 (GROFF_PNMTOPS_NOSETPAGE): New macro.
6543 * configure.ac: Use it.
6544 * configure: Regenerated.
6545 * Makefile.in: Updated.
6547 * tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
6548 (CLEANADD): Add www.tmac-sed.
6549 (pnmtops_nosetpage): Define default.
6550 (install_data): Handle www.tmac-sed and substitute
6551 @PNMTOPS_NOSETPAGE@.
6552 (stamp-sed): Add www.tmac.
6553 * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
6554 It now breaks URLs at suitable places.
6555 (www:substring_ok): New register set by...
6556 (www:@test_substring): New macro.
6557 (www:error): New alias to www-error.
6558 (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
6560 (URL): Use www:url_breaks.
6561 (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
6562 (CDS, CDE): New macros.
6564 2003-02-25 Werner LEMBERG <wl@gnu.org>
6566 * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
6569 2003-02-24 Werner LEMBERG <wl@gnu.org>
6571 Contrary to the PCL5 Developer's Guide, the ascenders in TFM files
6572 can be negative also.
6574 * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be
6576 (read_char_table): Avoid negative ascenders.
6577 (output_charset): Add cast.
6578 * font/devlj4/*: Regenerated.
6580 Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where
6583 * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it.
6584 * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead
6586 * font/devdvi/*: Regenerated.
6588 Map `la' and `ra' to U+27E8 and U+27E9. These two characters have
6589 normal width, while the previously used characters (U+2329 and
6590 U+232A) are classified as wide due to canonical equivalence with the
6591 CJK punctuation characters U+3008 and U+3009.
6593 * font/devutf8/R.proto: Updated.
6594 * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto.
6596 * man/groff_char.man: Simplify handling of table traps by
6597 introducing `start block' and `end block' macros.
6598 (Ns, Ne, 2s, 2e, Ds, De): New macros.
6599 (DL): Make it work with Unix troff also.
6600 Fix code values of `la' and `ra'.
6602 * tmac/dvi.tmac: Define `<>' for CW and CWI.
6604 2003-02-23 Gaius Mulley <gaius@glam.ac.uk>
6606 * src/devices/grohtml/post-html.cc (element_list::~element_list):
6607 New destructor, fixing a major memory leak.
6609 2003-02-22 Werner LEMBERG <wl@gnu.org>
6611 * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'
6612 to be in conformance with Unicode 3.0 and newer.
6614 * font/devlj4/generate/text.map: Add `Eu'.
6615 * font/devlj4/generate/special.map: Flip `*e' and `+e'.
6616 * font/devlj4/S: Regenerated.
6618 * man/groff_char.man: Completely rewritten.
6620 * doc/groff.texinfo: Fix description of request and macro arguments.
6622 2003-02-20 Gaius Mulley <gaius@glam.ac.uk>
6626 * src/devices/grohtml/html-table.cc (html_table::~html_table):
6627 Deallocate `columns' list.
6628 * src/devices/grohtml/post-html.cc (char_block::~char_block):
6630 (text_glob::text_glob_html, text_glob::text_glob_special,
6631 text_glob::text_glob_line, text_glob::text_glob_auto_image,
6632 text_glob::text_glob_tag): Avoid memory leaks.
6633 (text_glob::remember_table): Free memory before reassigning.
6635 2003-02-19 Werner LEMBERG <wl@gnu.org>
6637 Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
6638 alias `hbar'), the Planck constant over two pi.
6640 * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
6641 `+e' for position 34.
6642 * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
6643 `u2662' and `u2661'.
6644 * font/devdvi/{MI,S}: Regenerated.
6645 * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
6646 * font/devlbp/*: Add `hbar' alias.
6647 * font/devlj4/generate/special.map: Ditto.
6648 * font/devlj4/S: Regenerated.
6649 * font/devps/generate/symbolchars: Add `+e'.
6650 * font/devps/generate/textmap: Fix PS name for `-h'.
6652 * font/devps/symbolmap: Regenerated.
6654 * src/devices/grops/ps.cc (transform_fill): Removed since unused.
6656 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
6658 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
6661 * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
6663 * tmac/tty-char.tmac: Add `+e'.
6665 2003-02-17 Werner LEMBERG <wl@gnu.org>
6667 Another round trying to really fix problems with `have_input'.
6669 * src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
6670 (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
6672 * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
6673 handling if both foreground and background colors are default.
6675 * doc/groff.texinfo (Debugging): Document .lf differences to
6678 2003-02-16 Werner LEMBERG <wl@gnu.org>
6680 * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid
6681 null-bytes in created string.
6683 * src/roff/troff/input.cc (lookup_color, interpolate_macro,
6684 alias_macro, lookup_request): Improve warning messages.
6686 * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave',
6688 Free `last_image_filename'.
6690 * src/preproc/html/pre-html.cc (char_block::char_block): Initialize
6692 (imageList::createPage, imageList::createImage): Use `free', not
6694 (imageItem::~imageItem): Free `imageName'.
6695 (addRegDef): Use `strsave', not `strdup'.
6696 (get_resolution): Free `pathp'.
6698 2003-02-15 Werner LEMBERG <wl@gnu.org>
6700 * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer
6703 2003-02-14 Werner LEMBERG <wl@gnu.org>
6705 Add memory management for colors to deallocate unnamed colors
6708 * src/include/color.h (color): New members `free_list' and `next'.
6709 New member functions `new' and `delete'.
6711 * src/libs/libgroff/color.cc: Implement it.
6713 * src/libs/libgroff/font.cc (font::add_kern): Use integer cast
6714 for array size of new operator.
6716 * src/libs/libdriver/input.cc (IntArray::operator[]): Remove
6717 redundant comparison.
6719 * src/roff/troff/input.cc (word_space_node::reread,
6720 hmotion_node::reread): Avoid warning about unused parameter.
6721 (reset_output_registers): Remove redundant parameter.
6722 (define_color): Undo change 2003-02-12.
6724 * src/roff/troff/reg.h: Updated.
6726 * src/roff/troff/node.cc (troff_output_file::really_print_line,
6727 output_file::put_filename, real_output_file::really_put_filename,
6728 ascii_output_file::really_print_line,
6729 break_char_node::get_hyphen_list): Avoid warning about unused
6731 (suppress_node::tprint): Updated.
6733 * configure.ac: Check declaration for rand() and srand().
6734 * configure: Regenerated.
6736 * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
6738 * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
6741 * src/preproc/eqn/delim.cc (delim_table): Add missing initializers
6742 to avoid compiler warnings.
6744 * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
6747 * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
6749 * src/devices/grops/psrm.cc (skip_possible_newline): Remove first
6751 Updated all callers.
6753 * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
6755 * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
6756 * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
6758 * src/devices/grohtml/post-html.cc (html_printer::emit_line):
6759 Parameter is unused.
6760 (html_printer::add_table_end): Define parameter conditionally.
6761 * src/devices/grohtml/output.cc (simple_output::special): Parameter
6764 * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
6765 (lbp_printer::set_char): Last parameter is unused.
6767 * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
6769 2003-02-13 Werner LEMBERG <wl@gnu.org>
6771 New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
6772 Make \D'f ...' move horizontally again for backwards compatibility.
6773 Replace it with \D'Fg ...' where appropriate to avoid dependency
6774 on horizontal resolution.
6776 * src/roff/troff/input.cc (do_get_long_name): New function.
6777 (get_long_name): Call it.
6779 (read_draw_node): Handle `\D'Fx ...' by calling ...
6780 (read_color_draw_node): New function.
6782 (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
6784 Pass it to `do_get_long_name' which is used instead of
6787 * src/libs/libdriver/input.cc (color_from_Df_command): Remove
6788 unnecessary value guard.
6789 (parse_D_command) <'f'>: Add horizontal shift.
6791 * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
6792 * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
6793 (FILL_MAX): Removed.
6795 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6798 2003-02-12 Werner LEMBERG <wl@gnu.org>
6800 * src/roff/troff/input.cc (do_name_test, do_expr_test,
6801 do_zero_width): Push `\n' if closing delimiter is missing.
6803 (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'.
6804 <'F'>: Make \F non-transparent at the beginning of line.
6805 (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
6806 token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
6809 (define_color): Free color in case of reassignment.
6811 * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
6812 @DefescListEnd): Use @Var, not @var.
6815 * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
6817 * src/preproc/pic/object.cc (object_spec::~object_spec): Free
6818 `shaded' and `outlined' arrays.
6819 (object_spec::object_spec): Initialize `shaded' and `outlined'.
6820 (graphic_object::set_fill_color, graphic_object::set_outline_color):
6822 (closed_object::set_fill_color): Ditto.
6823 * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
6825 (troff_output::reset_color): Use a_delete instead of free.
6826 * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
6828 2003-02-11 Werner LEMBERG <wl@gnu.org>
6830 * doc/groff.texinfo: Improve documentation of `ad'.
6831 Document that \D'f...' is dependent on the horizontal resolution.
6832 * man/groff_diff.man: Improve documentation of \D'f...'.
6834 * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
6835 compensating \h'...' for \D'f ...' since the latter no longer moves
6837 * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
6839 2003-02-10 Werner LEMBERG <wl@gnu.org>
6841 Improve error messages for `x F' (and `F') commands.
6843 * src/include/error.h: Add declaration for
6844 `current_source_filename'.
6845 * src/libs/libgroff/filename.cc: Add `current_source_filename'.
6846 * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add
6847 parameter for source file string.
6848 Updated all callers.
6850 * src/libs/libdriver/input.cc: Add `current_source_filename'.
6851 (remember_source_filename): New function.
6852 (parse_x_command <'F'>, do_file <'F'>): Use it.
6854 2003-02-09 Werner LEMBERG <wl@gnu.org>
6856 Make grotty not emit warnings about unknown colors more than
6859 * src/devices/grotty/tty.cc: Include `ptable.h'.
6860 (TTY_MAX_COLORS): Removed.
6861 (DEFAULT_COLOR_IDX): Defined to -1.
6862 (glyph): Change `back_color_idx' and `fore_color_idx' to `char'.
6863 (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'.
6864 Change `tty_colors' to be a ptable.
6865 First arg of `put_color' is now `char'.
6866 New functions `make_rgb_string' and `tty_color'.
6867 (tty_printer::tty_printer): Use `tty_color'.
6868 (tty_printer::color_to_idx): Return value is now `char'.
6871 * src/include/color.h (color): Add `print_color' member function.
6872 * src/libs/libgroff/color.cc (color::print_color): Implement it.
6874 2003-02-08 Werner LEMBERG <wl@gnu.org>
6878 * src/devices/grops/ps.cc (ps_printer::define_encoding): Close
6881 * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always
6882 assume that value has been allocated with `new[]', thus use
6883 `a_delete' for deallocation.
6885 * src/libs/libdriver/input.cc (get_integer_arg,
6886 get_possibly_int_args, parse_x_command, do_file): Use `a_delete'
6889 * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define.
6890 * src/libs/libgroff/nametoindex.cc
6891 (character_indexer::named_char_index): Use `new <type>[1]'.
6893 * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new
6895 * src/preproc/eqn/text.cc (set_special_char_type): Ditto.
6896 (split_text): Use `a_delete'.
6898 * src/preproc/pic/pic.y (define_label, define_variable): Use `new
6901 * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid
6902 harmless memory leak.
6903 (hyphen_trie::read_patterns_file): Initialize `buf'.
6904 * src/roff/troff/node.cc (troff_output_file::troff_output_file):
6905 Initialize `current_fill_color'and `current_glyph_color'.
6906 * src/roff/troff/glyphuni.cc
6907 (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'.
6908 * src/roff/troff/uniuni.cc
6909 (unicode_decompose_init::unicode_decompose_init): Ditto.
6910 * src/roff/troff/uniglyph.cc
6911 (unicode_to_glyph_init::unicode_to_glyph_init): Ditto.
6913 2003-01-26 Werner LEMBERG <wl@gnu.org>
6915 * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with
6916 `access' before calling `unlink'.
6917 (do_file): Handle __EMX__.
6919 * src/include/nonposix.h: Handle __EMX__.
6921 * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
6922 (fontpath,tmacpath): Use it.
6924 Sorted alphabetically.
6926 * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
6928 * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle
6931 2003-01-27 Werner LEMBERG <wl@gnu.org>
6933 * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
6934 New files, copied from gnulib.
6935 * src/libs/libgroff/Makefile.sub (CSRCS): Add them.
6936 * configure.ac: Updated.
6937 * configure: Regenerated.
6939 * src/include/config.hin: Regenerated.
6940 * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'.
6941 Don't define `strcasecmp' as `strcmp'.
6942 [!HAVE_STRNCASECMP]: Declare `strncasecmp'.
6943 Dont define `strncasecmp' as `strncmp'.
6945 * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
6948 2003-01-26 Werner LEMBERG <wl@gnu.org>
6950 * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo:
6953 2003-01-25 Werner LEMBERG <wl@gnu.org>
6955 * doc/groff.texinfo (Ligatures and Kerning): Mention limitations.
6957 2003-01-24 Werner LEMBERG <wl@gnu.org>
6959 Add US-english hyphenation exceptions (converted from Barbara
6960 Beeton's hyphenation exception log reports which appear irregularly
6963 * tmac/hyphen.us: Updated to latest version.
6964 * tmac/README: Updated.
6965 * tmac/hyphenex.us, tmac/hyphenex.sh: New files.
6966 * tmac/troffrc: Load `hyphenex.us'.
6967 * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
6968 * doc/groff.texinfo: Updated.
6970 2003-01-23 Werner LEMBERG <wl@gnu.org>
6972 Improve hyphenation slightly. This is a first step in redesigning
6973 the hyphenation algorithm to make it more flexible (e.g. allowing
6974 kerns and ligatures between the hyphenation character and the
6975 following character -- while not used normally in English, other
6976 languages like German would benefit).
6978 * src/roff/troff/env.cc (environment::hyphenate_line): Use
6979 assertion instead of if-clause.
6980 Let `get_hyphen_list' return the number of involved characters in
6981 the hyphenation pattern instead of computing it directly (which
6982 often yields too small values).
6983 * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
6984 * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
6987 2003-01-22 Werner LEMBERG <wl@gnu.org>
6989 Fixing a bug which caused groff to hang if the hyphenation exception
6990 dictionary tried to grow.
6992 * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
6993 hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
6994 pointer to dictionary.
6996 2003-01-20 Werner LEMBERG <wl@gnu.org>
6998 * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress
6999 negative left italic correction.
7000 * src/utils/afmtodit/afmtodit.man: Document it.
7002 * font/devps/generate/Makefile (RFLAG): Add `-m'.
7003 * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR,
7004 S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'.
7008 2003-01-16 Werner LEMBERG <wl@gnu.org>
7012 2003-01-16 Jörgen Grahn <jgrahn@algonet.se>
7014 * src/preproc/refer/refer.man: Mention REFER environment variable.
7016 2003-01-05 Werner LEMBERG <wl@gnu.org>
7018 Similar to \[is], the square root glyph (\[sr]) and the square root
7019 extension glyph (\[radicalex]) are now text symbols. The new
7020 mathematical versions are called \[sqrt] and \[sqrtex],
7023 * font/devX*/S: Regenerated.
7024 * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
7025 * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
7026 * font/devdvi/EX, font/devdvi/S: Regenerated.
7027 * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
7028 * font/devlj4/generate/special.map: Add `sqrt'.
7029 * font/devlj4/S: Regenerated.
7030 * font/devps/generate/textmap: Add `sqrt'.
7031 * font/devps/S, font/devps/symbolmap: Regenerated.
7033 * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
7034 SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
7035 * src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
7036 overlap horizontally.
7038 * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
7039 * tmac/dvi.tmac: Add `sr', and `sqrtex'.
7042 * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
7043 and `sqrtex' are overlapping glyphs.
7045 2003-01-04 Werner LEMBERG <wl@gnu.org>
7047 * font/devdvi/generate/texsy.map: Add `is'.
7048 * font/devps/symbolmap: Regenerated.
7049 * font/devdvi/*TC, MI, S: Regenerated.
7051 * tmac/dvi.tmac: Remove `is'.
7053 2003-01-03 Werner LEMBERG <wl@gnu.org>
7055 `is' is now a text symbol (only relevant for dvi). The math variant
7056 can be accessed with `integral'.
7058 * font/devX*/S: Regenerated.
7059 * font/devdvi/generate/texex.map: Remove `is'.
7060 * font/devdvi/EX: Updated.
7061 * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'.
7062 * font/devlj4/generate/special.map: Ditto.
7063 * font/devlj4/S: Regenerated.
7064 * font/devps/generate/textmap: Add `integral'.
7065 * font/devps/S: Regenerated.
7067 * tmac/dvi.tmac: Define `is'.
7069 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'.
7071 * src/preproc/tbl/main.cc (process_format): Fix error message.
7073 2003-01-02 Werner LEMBERG <wl@gnu.org>
7075 * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
7076 * font/devps/textmap: Fix entries for `ne' and `nc'.
7077 * font/devps/symbolmap: Regenerated.
7079 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list),
7080 src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18',
7081 `38', `58', `78', `-+', `|=', `nc', `ne'.
7083 * tmac/dvi.tmac: Add `nm', `ne', `nc'.
7084 Use `schar' for `aq'.
7085 * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'.
7086 * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'.
7087 * tmac/tty.tmac: Add `ne'.
7089 * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro'
7090 for fallback glyphs.
7092 2002-12-29 Werner LEMBERG <wl@gnu.org>
7096 * font/devX*/*: Regenerated.
7097 * font/devdvi/generate/ec.map: Remove `eq'.
7098 * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'.
7099 Assign `|=' to position 39.
7100 * font/devdvi/*EC, S: Regenerated.
7101 * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='.
7102 * font/devlj4/generate/special.map: Make `~=' the same as `~~'.
7103 Assign `|=' to position 549.
7104 * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove
7106 Add `uni2243' for `|='.
7108 * tmac/ec.tmac: Add `eq'.
7109 * tmac/dvi.tmac: Add `=~'.
7110 * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add
7113 2002-12-21 Werner LEMBERG <wl@gnu.org>
7115 * font/devdvi/generate/tc.map: Remove `**'.
7116 * font/devdvi/*TC: Regenerated.
7117 * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58',
7119 * font/devutf8/NOTES: Updated.
7121 * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function.
7122 Don't give default parameter to `set_macro'.
7123 * src/roff/troff/input.cc (do_define_character): Use `setx_macro'
7124 instead of `set_macro'.
7125 (charinfo::setx_macro): Implement it.
7126 (charinfo::set_macro): Don't change `mode'.
7128 * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'.
7129 * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'.
7130 * tmac/dvi.tmac: Define `!=' with `.schar'.
7132 2002-12-20 Werner LEMBERG <wl@gnu.org>
7134 * font/devX*/S: Regenerated.
7135 * font/devdvi/generate/ec.map: Remove `pl'.
7136 * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'.
7137 * font/devdvi/*{TC,EC}: Regenerated.
7138 * font/devhtml/R.proto: Add `-+'.
7139 Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'.
7140 * font/devlbp/*: Remove `or'.
7141 * font/devlj4/generate/special.map: Remove `or'.
7142 * font/devlj4/S: Regenerated.
7143 * font/devps/generate/textmap: Add `fiveeighths', `oneeighth',
7144 `seveneighths', `threeeighths'.
7146 Replace `minusplus' with `uni2213'.
7147 * font/devps/symbolmap: Regenerated.
7148 * font/devutf8/R.proto: Replace `shc' with unnamed glyph.
7151 * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline
7153 * src/roff/troff/node.cc (troff_output_file::put_char_width):
7154 Call glyph_color and fill_color even if tcommand_flag isn't set.
7155 (make_node, node::add_char): Check not ci->is_fallback but
7158 * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'.
7159 * tmac/ec.tmac: Add .rchar entry for `f/'.
7160 Don't remove `12', `14', `34'.
7161 Define `pl' to be always roman.
7162 * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros.
7163 Define `18', `38', `58', `78'.
7164 * tmac/tty.tmac: Add `-+'.
7165 * tmac/dvi.tmac: Define `f/'.
7166 (dvi-frac): Use `f/'.
7167 * tmac/X.tmac (X-frac, X-frac-mono): New macros.
7168 Define `18', `38', `58', `78'.
7170 2002-12-15 Colin Watson <cjwatson@debian.org>
7172 * contrib/pic2graph/pic2graph.sh: Add missing `;;'.
7174 2002-12-10 Werner LEMBERG <wl@gnu.org>
7176 Add glyph `tno', a textual variant of `no'.
7178 * font/devX*/*: Regenerated.
7179 * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
7180 * font/devdvi/generate/{tc.map: Replace `no' with `tno'.
7181 * font/devdvi/generated/{texsy,textex}.map: Add `tno'.
7182 * font/devdvi/*: Regenerated.
7183 * font/devlbp/*: Add `tno'.
7184 * font/devlj4/generate/tex.map: Replace `no' with `tno'.
7185 * font/devlj4/*: Regenerated.
7186 * font/devps/generate/textmap: Replace `no' with `tno'.
7187 * font/devps/generate/symbolchars: Add `no'.
7188 * font/devps/*: Regenerated.
7190 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
7192 * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
7193 * tmac/tty-char.tmac: Add entry for `tno' and `3d'.
7197 * tmac/dvi.tmac: Replace most `\\' with `\E'.
7198 Add definition for `sd'.
7199 * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
7201 * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
7203 2002-12-08 Werner LEMBERG <wl@gnu.org>
7205 * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
7206 mode to avoid rounding errors.
7207 (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
7209 * src/roff/groff/groff.man, src/roff/nroff/nroff.man,
7210 src/roff/troff/troff.man: Improve documentation of -T.
7212 2002-12-07 Jeff Conrad <jeff_conrad@msn.com>
7214 * src/roff/groff/pipeline.c: Don't define `const' for _WIN32.
7215 (run_pipeline) [_WIN32]: Provide working function without `fork'.
7217 2002-12-06 Werner LEMBERG <wl@gnu.org>
7219 * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol
7220 glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
7221 Scaling Euro.sansserif glyphs down to have the same height as
7223 Removed unnecessary points; added some extrema.
7225 * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7228 2002-12-04 Werner LEMBERG <wl@gnu.org>
7230 * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted'
7231 and `Euro.symbol.bold.slanted'.
7232 Improve some glyph offsets and widths.
7233 * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7235 * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
7237 * font/devps/generate/sfdtopfa.pe: Generate PFA in current
7240 * tmac/europs.tmac: Updated to new glyph indices.
7241 Use Euro.symbol for font familiy `A'.
7243 * doc/groff.texinfo: Minor improvements.
7245 2002-12-02 Werner LEMBERG <wl@gnu.org>
7247 * font/devdvi/generate.tc.map: s/%O/%0/.
7248 * font/devdvi/*TC: Regenerated.
7250 * src/roff/troff/div.cc (init_div_requests): Sorted.
7252 * tmac/dvi.tmac: Remove `Ye'.
7253 * tmac/ec.tmac: Remove `Ye'.
7254 Add .rchar entry for `de'.
7256 * man/groff.man, man/groff_diff.man: Document register `.pe'.
7257 * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
7260 2002-11-30 Werner LEMBERG <wl@gnu.org>
7262 Add PS font for various Euro glyphs.
7264 * font/devps/generate/freeeuro.sfd: New master font file for
7266 * font/devps/generate/sfdtopfa.pe: New conversion script for
7268 * font/devps/generate/Makefile (FONTS): Add `EURO'.
7269 (EURO, freeeuro.afm, freeeuro.pfa): New rules.
7270 * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
7272 * font/devps/EURO: Generated from `freeeuro.afm'.
7273 * font/devps/download: Add `freeuro.pfa'.
7274 * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
7277 * tmac/europs.tmac: New file.
7278 * tmac/ps.tmac: Include `europs.tmac'.
7279 * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
7281 2002-11-29 Werner LEMBERG <wl@gnu.org>
7283 * font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
7284 * font/devdvi/S: Regenerated.
7285 * font/devhtml/R.proto: Fix `CR' and `ci'.
7287 * font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
7289 * font/devps/symbolmap: Regenerated.
7290 * font/devutf8/R.proto: Fix `CR' and `ci'.
7292 * font/devutf8/NOTES: Updated.
7294 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
7297 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7299 * tmac/dvi.tmac: Add `lh' and `rh'.
7300 * tmac/Xps.tmac: Fix `lh' and `rh'.
7301 * tmac/X.tmac: Add `OK'.
7302 * tmac/lj4.tmac: Ditto.
7304 2002-11-24 Werner LEMBERG <wl@gnu.org>
7306 * font/devX*/S: Regenerated.
7307 * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
7308 `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
7309 * font/devdvi/generate/texsy.map: Remove `or' glyph.
7310 * font/devdvi/S: Regenerated.
7311 * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
7312 `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
7313 `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
7314 `bracketleftbt', `bracketrighttp', `bracketrightex',
7315 `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
7316 `braceex', `braceleftex', `bracerightex', `bracerighttp',
7317 `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
7319 * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
7320 * font/devutf8/NOTES: Updated.
7321 * font/devlj4/generate/special.map: Add glyph `braceex'.
7322 * font/devlj4/S: Regenerated.
7324 * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
7326 2002-11-14 Werner LEMBERG <wl@gnu.org>
7328 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'
7331 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7333 * doc/texinfo.tex: New version from texinfo 4.3.
7334 * doc/groff.texinfo: Updated for texinfo 4.3.
7335 Use @tie{} where appropriate.
7336 * font/devdvi/generate/ec.map: Don't include `or' and `bv'.
7337 * font/devdvi/generate/tc.map: Remove `rn'.
7338 * font/devdvi/*TC, font/devdvi/*EC: Regenerated.
7339 * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
7341 * font/devX100/*, font/devX100-12/*, font/devX75/*,
7342 font/devX75-12/*: Regenerated.
7344 * tmac/dvi.tmac: Add special fonts `SA' and `SB'.
7345 Use .char (again) for `br', `ul', `rn', `or', and `ru'.
7346 Improve definition of `an'.
7347 * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
7349 * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
7350 * tmac/X.tmac: Add definition for `or'.
7351 * tmac/Xps.tmac: Undo change 2002-11-05.
7352 * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
7354 2002-11-11 Werner LEMBERG <wl@gnu.org>
7356 * src/roff/troff/node.cc (troff_output_file::put_char): Always
7359 2002-11-10 Werner LEMBERG <wl@gnu.org>
7361 Added three new requests `schar', `fschar', and `rfschar'. `schar'
7362 defines a glyph which is searched after the check for fonts declared
7363 with `.special' (and before the check for all mounted special
7364 fonts). `fschar' defines a glyph for a particular font which is
7365 searched after the check for fonts declared with `.fspecial' (and
7366 before the check for fonts declared with `.special'). `rfschar'
7367 removes glyphs defined with `fschar'.
7369 * src/roff/troff/token.h (char_mode): New enum.
7370 Declare do_define_character.
7371 * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
7373 (charinfo::is_fallback): Updated.
7374 (charinfo::is_special): New method.
7375 * src/roff/troff/input.cc (do_define_character): Add and use
7376 optional second parameter used as a prefix for font-specific glyph
7378 (define_character, define_fallback_character): Updated.
7379 (define_special_character): New function.
7380 (init_input_requests): Add `schar'.
7381 (charinfo::charinfo, charinfo::set_macro): Updated.
7382 * src/roff/troff/node.cc: Include `stringclass.h'.
7383 (make_glyph_node): Handle special glyphs defined with `.schar' and
7385 (define_font_special_character, remove_font_special_character): New
7387 (init_node_requests): Sorted.
7388 Add `fschar' and `rfschar'.
7389 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
7390 Document new requests.
7392 * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
7393 * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
7395 2002-11-08 Werner LEMBERG <wl@gnu.org>
7397 Added new font `SC' (cmtex10) to devdvi.
7399 * devdvi/generate/Makefile (FONTS): Add `SC'.
7401 * devdvi/generate/textex.map: New map file for cmtex.
7403 * devdvi/Makefile.sub (DEVFILES): Updated.
7404 * tmac/dvi.tmac: Add fspecial entries for SC.
7405 Add `MI', `S' and `CW' to the `special' call. Otherwise, `SC' is
7406 found before `S' since the font position of `SC' is lower due to the
7407 gaps in DESC's `font' line.
7408 * tmac/ec.tmac: Add a `special' call.
7411 * font/devhtml/R.proto: Remove double entry for `ti'.
7412 * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
7413 * tmac/tty-char.tmac: Remove entry for `bq'.
7414 * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
7415 * tmac/ec.tmac: Don't remove `aq' glyph.
7416 * tmac/X.tmac: Fix entry for `em'.
7417 Add entries for `fo' and `fc'.
7418 * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
7420 * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
7421 documentation of `special' and `fspecial' requests.
7423 2002-11-05 Werner LEMBERG <wl@gnu.org>
7425 * font/devascii/R.proto, font/devcp1047/R.proto,
7426 font/devlatin1/R.proto: Remove entry for `.i'.
7427 * font/devdvi/generate/textt.map: Add entry for `ad'.
7428 * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
7429 font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
7430 We need this for getting kerning values to compose `/l' and `/L'.
7431 * font/devdvi: Regenerated font definition files for CM fonts.
7432 * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
7433 * font/devutf8/R.proto: Ditto.
7434 Remove double entry for `ti'.
7436 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
7437 for (groff) ligatures, `la', and `ra'.
7438 Add "'C", "'c", `IJ', and `ij'.
7439 Remove double entry for `ti'.
7440 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
7442 Add "'C", "'c", `IJ', and `ij'.
7443 Fix entries for (groff) ligatures, `la', and `ra'.
7445 * tmac/ps.tmac (ps-achar): New macro.
7446 Define "'c" and "'C".
7447 * tmac/tty.tmac: Add entry for `.i'.
7448 * tmac/X.tmac (X-achar): New macro.
7449 Define "'c", "'C", and `:Y'.
7450 Add entries for `IJ' and `ij'.
7451 * tmac/Xps.tmac (Xps-achar): New macro.
7452 Define "'c" and "'C".
7453 Add entries for `IJ' and `ij'.
7454 * tmac/lbp.tmac (lbp-achar): New macro.
7455 Add fallback characters for all groff ligatures and many other
7457 * tmac/dvi.tmac: Fix definitions of `_' and `ul'.
7458 Add entries for `/l' and `/L'.
7459 Define "'c" and "'C".
7460 Add entries for `IJ' and `ij'.
7462 2002-11-02 Larry Kollar <kollar@alltel.net>
7464 * PROBLEMS: Document how to solve Mac OS X compilation problems.
7466 2002-11-02 Werner LEMBERG <wl@gnu.org>
7468 Adding support for composite glyphs: \[xxx yyy ...] and the
7469 `composite' request.
7471 * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
7472 to Unicode-based glyph names.
7473 * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
7474 glyph names to groff glyph names.
7475 * src/roff/troff/uniuni.cc: New file for canonically decomposing
7476 Unicode-based glyph names.
7477 * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
7478 for handling Unicode glyph names.
7479 * src/roff/troff/input.cc: Include unicode.h.
7480 (composite_glyph_name): New function.
7481 (token::next) <'['>: Handle Unicode glyph names and composite
7483 (composite_dictionary): New dictionary for the `composite' request.
7484 (composite_request): Implement `composite' request.
7485 (init_input_requests): Add `composite'.
7486 Alphabetically sorted.
7487 * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
7489 (init_env_requests): Alphabetically sorted.
7490 Removed `tas' and `tar' (already commented out).
7491 * src/roff/troff/Makefile.sub: Updated.
7493 2002-10-31 Ruslan Ermilov <ru@FreeBSD.org>
7495 * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description
7498 2002-10-29 Werner LEMBERG <wl@gnu.org>
7500 Fix computation of .trunc register. Additionally, its value (and
7501 the value of the .ne register) is now always set before entering the
7504 * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
7505 `needed_space' before calling `space'.
7506 (top_level_diversion::space): Remove special code for 'sp before the
7508 Call `begin_page' with the discarded space as a parameter.
7509 (top_level_diversion::begin_page): Add optional parameter to set
7511 * src/roff/troff/div.h: Updated.
7513 * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
7516 * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
7517 (LP): Remove superfluous call to `br'.
7518 * tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
7519 * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7521 2002-10-26 Werner LEMBERG <wl@gnu.org>
7523 * tmac/doc-ditroff: Remove useless switch/variable -rC.
7524 (doc-setup-header): Don't set page register `%'.
7525 * tmac/doc-nroff: Remove variable `C'.
7526 (doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
7527 (doc-setup-header): Don't set page register `%'.
7529 * tmac/doc-common (doc-header): Call `ns'.
7530 (doc-paragraph): Protect .sp with .br so that it survives traps
7531 possibly set by the user.
7532 * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7534 * tmac/doc*: Replace ' with . for consistency if no effect.
7536 2002-10-26 Werner LEMBERG <wl@gnu.org>
7538 * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
7539 so that it survives traps possibly set by the user.
7541 * src/roff/troff/node.cc: Fix the changes from 2002-10-23.
7542 (troff_output_file::set_font): Call flush_tbuf if necessary.
7543 (troff_output_file::fill_color, troff_output_file::glyph_color): Call
7544 flush_tbuf and do_motion only if necessary.
7545 (troff_output_file::start_special,
7546 troff_output_file::put_char_width, troff_output_file::put_char,
7547 troff_output_file::draw): Updated.
7548 (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7549 vmotion_node::tprint): Undo change 2002-10-23.
7551 2002-10-25 Werner LEMBERG <wl@gnu.org>
7553 * tmac/www.tmac (DC): Fix case of overlapping images.
7555 2002-10-23 Werner LEMBERG <wl@gnu.org>
7557 * src/roff/troff/node.cc (troff_output_file::fill_color,
7558 troff_output_file::glyph_color): Set current color before testing
7560 (troff_output_file::put_char_width, troff_output_file::put_char,
7561 troff_output_file::draw): Don't call flush_tbuf and/or do_motion
7563 (troff_output_file::file_color, troff_output_file::glyph_color):
7565 (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7566 vmotion_node::tprint): Move first, then call fill_color.
7568 2002-10-20 Werner LEMBERG <wl@gnu.org>
7570 * doc/groff.texinfo, man/groff_tmac.man: Document that it is not
7571 possible to use multiple main macro packages.
7573 2002-10-19 Werner LEMBERG <wl@gnu.org>
7575 * src/devices/grops/ps.cc (cmyk_flag): New global variable.
7576 (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
7577 (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
7579 * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
7580 `where' construction since `cmyksetcolor' is a PS Level 2 operator.
7582 2002-10-16 Werner LEMBERG <wl@gnu.org>
7584 * NEWS, doc/webpage.ms: Updated.
7586 2002-10-14 Werner LEMBERG <wl@gnu.org>
7588 * src/roff/troff/node.cc (troff_output_file::put_char_width,
7589 troff_output_file::put_char, troff_output_file::fill_color,
7590 troff_output_file::glyph_color): Handle case where color pointer
7593 2002-10-13 Ruslan Ermilov <ru@FreeBSD.org>
7595 Add the new -r option to grotty. It is similar to the -i option
7596 except it tells grotty(1) to use the `reverse video' attribute to
7597 render italic fonts.
7599 * src/devices/grotty/tty.cc (reverse_flag): New global variable.
7600 (SGR_REVERSE, SGR_NO_REVERSE): New macros.
7601 (tty_printer::make_underline, tty_printer::put_color,
7602 tty_printer::end_page): Use it.
7603 (main): Add -r switch.
7605 * src/devices/grotty/grotty.man: Document it.
7607 2002-10-11 Ruslan Ermilov <ru@FreeBSD.org>
7609 * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
7610 cast to `unsigned char' to properly read patterns with 8bit
7613 2002-10-08 Werner LEMBERG <wl@gnu.org>
7615 * REVISION: Increased to 2.
7617 Copyright 2002, 2003, 2004, 2005, 2006, 2007
7618 Free Software Foundation, Inc.
7620 Copying and distribution of this file, with or without modification,
7621 are permitted in any medium without royalty provided the copyright
7622 notice and this notice are preserved.
7625 version-control: never