1 2009-01-03 Werner LEMBERG <wl@gnu.org>
3 * src/preproc/tbl/table.cpp (table::compute_expand_width,
4 table::compute_separation_factor): In warning messages, don't refer
5 to pages but to input line numbers.
7 2009-01-03 Werner LEMBERG <wl@gnu.org>
9 * tmac/groff_ms.man: Improve formatting of tables.
11 2009-01-03 Werner LEMBERG <wl@gnu.org>
13 * tmac/www.tmac (www->): Handle XHTML.
14 (HTML</p>): Handle non-HTML devices.
15 (www:url_check_tag): Avoid warnings.
17 2009-01-03 Werner LEMBERG <wl@gnu.org>
19 * tmac/an-old.tmac, tmac/doc.tmac: For -Tutf8, map \-, -, ', and `
20 conservatively to ASCII for the sake of easy cut and paste.
22 2009-01-03 Werner LEMBERG <wl@gnu.org>
24 * NEWS: Mention hdtbl.
26 2009-01-02 Werner LEMBERG <wl@gnu.org>
28 * tmac/groff_mdoc.man: Update OS version string listing.
30 2009-01-02 Werner LEMBERG <wl@gnu.org>
32 * config.rpath, m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4,
33 m4/lib-link.m4, m4/lib-prefix.m4, src/include/localcharset.h,
34 src/libs/libgroff/config.charset, src/libs/libgroff/localcharset.c,
35 src/libs/libgroff/ref-add.sin, src/libs/libgroff/ref-del.sin:
36 Updated from `gnulib' git repository.
38 * configure: Regenerated.
40 2009-01-02 Werner LEMBERG <wl@gnu.org>
42 * tmac/ptx.tmac: New file.
44 * NEWS, man/groff_tmac: man: Document it.
46 2008-12-30 Werner LEMBERG <wl@gnu.org>
48 Fix more quoting issues.
50 * tmac/www.tmac (BCL, BGIMG, PIMG, MPIMG, LNS): For the sake of
51 XHTML, quote more arguments.
54 2008-12-30 Werner LEMBERG <wl@gnu.org>
56 Fix quoting issues in www.tmac.
58 * tmac/www.tmac (www:url_breaks_splitted): Renamed to...
59 (www:url_breaks_split): This.
60 (www->): New string to close tag singletons like <img> or <hr>. In
61 XHTML mode (not implemented yet), this has to be changed from `>' to
63 (IMG): Don't use </img>
65 (PIMG, MPIMG): Don't use </img>
67 Fix doublequote issues.
68 (HR): Don't use </hr>.
70 (LNS): Fix doublequote issues.
72 2008-12-24 Michail Vidiassov <master@iaas.msu.ru>
74 * tmac/doc-common: Add entries for Mac OS X and FreeBSD.
76 2008-12-22 Alexey Gladkov <legion@altlinux.ru>
78 * contrib/groffer/perl/roff2.pl: Fix syntax error.
80 2008-12-15 Werner LEMBERG <wl@gnu.org>
82 * NEWS: Mention `preconv'.
84 2008-11-12 Werner LEMBERG <wl@gnu.org>
86 Implement `x' specifier for expanded columns. Contrary to old DWB
87 tbl, more than a single `x' specifier can be used. At the same
88 time, remove most of the code from change 2007-02-09 which collides
89 with the new implementation.
91 * src/preproc/tbl/main.cpp (format): Add `expand' array.
92 (format::format, format::~format): Updated.
93 (input_entry_format): Add `expand' field.
94 (input_entry_format::input_entry_format): Updated.
95 (input_entry_format::debug_print): Handle `expand'.
96 (process_format): Handle `x' specifier.
97 (process_data): Updated.
99 * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): Remove.
100 (EXPAND_REG): New macro.
101 (table_entry::divert, block_entry::divert,
102 alphabetic_block_entry::divert): Add parameter to control whether
103 expanded columns shall be handled.
104 (block_entry::do_width): Remove.
105 (block_entry::do_divert): Add parameter to control whether expanded
106 columns shall be handled.
107 Treat expanded columns like columns with a minimum width.
108 Remove `experimental' code.
109 (table::table, table::~table, table::allocate): Updated.
110 (table::set_expand_column): New function.
111 (table::count_block_columns): Replace with...
112 (table::count_expand_columns): This function.
113 (table::divide_span): Handle expanded columns the same as equal
115 (table::sum_columns): Add parameter to control whether expanded
116 columns shall be handled.
117 (table::compute_available_block_width): Replace with...
118 (table::compute_expand_width): This function.
119 (table::compute_total_separation): New function, taking code from
120 `compute_separation_factor'.
121 (table::compute_separation_factor): Simpler code. The check for the
122 `EXPAND' flag has been moved to the caller.
123 (table::compute_widths): Add `top-level' changes to handle expanded
126 * src/preproc/tbl/table.h (table): New field `total_separation'.
127 Remove `blockflag' array.
129 Update member function declarations.
131 * src/preproc/tbl/tbl.man: Document `x' specifier.
132 Expand documentation to cover all aspects of Lesk's tbl reference.
134 * NEWS: Document `x' specifier.
136 2008-11-08 Werner LEMBERG <wl@gnu.org>
138 * src/preproc/tbl/tbl.man: Restructuring.
139 Improve text block documentation.
141 2008-11-07 Werner LEMBERG <wl@gnu.org>
143 * src/preproc/tbl/table.cpp (table::compute_widths): Use default
144 scaling operator for minimum width. Without this fix, `lw3' (or
145 `lw(3)' would be handled as a column with a minimum width of 3u
148 2008-11-05 Werner LEMBERG <wl@gnu.org>
150 * tmac/doc-common (Dt): Start a new page if necessary and set up
153 * tmac/andoc.tmac (reload-doc): Simplify due to change in
158 2008-10-18 Werner LEMBERG <wl@gnu.org>
160 * src/preproc/tbl/main.cpp (process_format): Rename `x' and `X' to
161 `m' and `M', respectively.
162 Sort entries in `switch' block.
163 * src/preproc/tbl/tbl.man: Updated.
164 Sort key entries; other minor improvements.
166 2008-10-17 Werner LEMBERG <wl@gnu.org>
168 * src/preproc/tbl/table.cpp (table::compute_available_block_width):
170 (table::compute_widths): Replace some code with new function
171 (shifted to a more appropriate place).
172 * src/preproc/tbl/table.h: Updated.
174 2008-10-16 Werner LEMBERG <wl@gnu.org>
176 * tmac/doc-common (doc-operating-system-*), tmac/groff_mdoc.man: Add
179 2008-10-13 Werner LEMBERG <wl@gnu.org>
181 * tmac/groff_mdoc.man: Update documentation on BSD-like OS string
184 2008-10-10 Werner LEMBERG <wl@gnu.org>
186 * man/roff.man, doc/groff.texinfo: Improve the history part. This
187 is based on input from Tom Van Vleck <thvv@multicians.org>.
190 * src/preproc/eqn/sqrt.cpp (sqrt_box::compute_metrics): Assure that
191 value of `rst' register is not zero, as can happen for the HTML
192 output device. Otherwise, there are too many loops, and we get a
193 stack overflow because of recursion.
195 2008-10-05 Stephen Gildea <http://www.gildea.com/stephen/>
197 * src/preproc/ref/ref.cpp (reference::compute_sort_key): Do
198 not insert SORT_SEP before the first field, so that sort_key
199 has the same format as before the patch of 2003-08-23.
201 2008-10-04 Werner LEMBERG <wl@gnu.org>
203 * tmac/doc-common (doc-operating-system-*): Update releases.
205 * tmac/an-old.tmac (an-extra1, an-extra2, an-extra3): Initialize.
207 * tmac/andoc.tmac: Rewritten, based on a preliminary version from
208 Tadziu Hoffmann. It can now process multiple man pages with both
209 man and mdoc formats intermixed.
211 * NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
212 man/groff_tmac.man: Document it.
214 2008-10-04 Werner LEMBERG <wl@gnu.org>
216 * src/roff/troff/input.cpp (do_suppress): Make \O[3], \O[4], and
217 \O[5] non-transparent w.r.t. beginning-of-line recognition (similar
218 to the other \O variants).
220 * tmac/www.tmac (TS, TE, EQ, EN): Don't use .als for setting up
221 default macros. This causes endless loops (at least for TE).
223 * doc/groff.texinfo: Improve documentation of `.als'.
225 2008-10-03 Werner LEMBERG <wl@gnu.org>
227 * src/devices/grops/grops.man, src/roff/troff/troff.man,
228 src/preproc/soelim/soelim.man: Correct documentation of -I switch.
229 Reported by Larry Kollar.
230 Other minor formatting issues.
232 2008-10-02 Werner LEMBERG <wl@gnu.org>
234 * tmac/trace.tmac: Much improved.
235 (trace-full): New register to be set on the command line; it
236 controls whether number and string register assignments get traced
238 (!!c): New macro for comments.
239 (rm): New traced macro.
240 (de, de1, am, am1): Use \\[xxx]\\ calling method to pass \$0 to
241 `!!xxx'; this makes doc.tmac completely traceable.
242 Trace call of .de and friends also.
244 * tmac/groff_tmac.man, NEWS: Update.
246 2008-09-30 Werner LEMBERG <wl@gnu.org>
248 Restore behaviour of \$0 if a macro is called with string syntax
249 (problem caused by change on 2008-09-29).
251 * src/roff/troff/input.cpp (input_iterator, input_stack,
252 macro_iterator): Add `get_macro_name' member function.
253 (interpolate_string): Use it.
255 2008-09-29 Werner LEMBERG <wl@gnu.org>
257 Make \\*[xxx]\\ within a macro (with `xxx' a macro too) work as
258 expected. Without the patch,
269 prints `2 3' instead of `1 2 3'.
271 * src/roff/troff/input.cpp (input_iterator, input_stack,
272 macro_iterator): Add `get_arg_list' member function.
273 (macro): Add `is_a_string', `is_string', and `clear_string_flag'
275 Update constructors and operators.
276 (arg_list): Add copy constructor.
277 (macro_iterator): Add optional argument to constructor to indicate
278 whether arguments shall be inherited from calling macro.
279 (interpolate_string): If string argument is a macro, push a macro
280 iterator on the stack.
281 (do_define_macro): Call clear_string_flag if macro data contains a
284 * src/roff/troff/request.h: Updated.
286 2008-09-29 Eric S. Raymond <esr@snark.thyrsus.com>
288 * doc/pic.ms: Fold in documentation of pic2plot(1) capabilities.
289 Improve the documentation of text objects.
291 2008-09-28 Eric S. Raymond <esr@snark.thyrsus.com>
293 * contrib/pic2graph, contrib/pic2graph.man, contrib/eqn2graph,
294 contrib/eqn2graph.man: Tweak scripts to cope with incompatible
295 changes in ImageMagick crop options. Document the bugs.
297 2008-09-28 Werner LEMBERG <wl@gnu.org>
299 If a macro is called as a string, inherit value of \n[.br] from the
300 caller. This is useful for `trace.tmac'.
302 * src/roff/troff/input.cpp (string_iterator): New members
303 `with_break' and `get_break_flag'.
304 (string_iterator::string_iterator): Updated.
306 * doc/groff.texinfo: Improve documentation of \$0 and string syntax
308 Document behaviour of \n[.br] within strings.
310 2008-09-26 Werner LEMBERG <wl@gnu.org>
312 * tmac/trace.tmac: Add copyright message.
313 Use `.de1' where possible to make source code more readable.
314 (so, mso, als, rn): Restore escape character before executing the
316 (de, de1, am, am1): Trace `.foo' also if called as `\\[foo]'.
318 2008-09-24 Werner LEMBERG <wl@gnu.org>
320 Fix incompatibility between `.de1' and `.do'. Without this change,
321 the following snippet
329 prints 1 instead of 0.
331 * src/roff/troff/input.cc (do_request): If a macro gets processed,
333 (interpolate_macro): Add optional argument. Update callers.
334 (request::invoke): Add optional argument.
335 (macro::invoke): Add optional argument to delay call of tok.next().
337 * src/roff/troff/request.h (request_or_macro): Add argument to
338 `invoke' member. Update all derived classes.
340 * doc/groff.texinfo: Improve documentation of .do request.
342 2008-09-09 Werner LEMBERG <wl@gnu.org>
344 * tmac/an-old.tmac (FT): Initialize properly. Reported by Tadziu
347 2008-09-06 Werner LEMBERG <wl@gnu.org>
349 * tmac/doc-common (Dd, Os, Dt): Reset `doc-command-name' to make
350 `.Nm' work properly if next manual page is printed.
352 2008-08-20 Werner LEMBERG <wl@gnu.org>
354 * src/preproc/tbl/tbl.man: Document computation of element widths.
356 2008-08-20 Alexey Gladkov <legion@altlinux.ru>
357 Werner LEMBERG <wl@gnu.org>
359 Add default encoding option -D to preconv and groff.
361 * src/preproc/preconv/preconv.cpp (default_encoding): Make it an
364 (main): Handle new option -D.
366 * src/preproc/preconv/preconv.man: Updated.
368 * src/roff/groff/groff.cpp (main): Handle new option -D.
369 (synopsis, help): Updated.
370 * src/roff/groff/groff.man: Updated.
372 2008-07-26 Werner LEMBERG <wl@gnu.org>
374 * tmac/eqnrc (.EQ, .EN): Provide default definitions. Reported
377 * tmac/www.tmac (.EQ, .EN, .TS, .TE): Fix definitions.
379 2008-07-24 Denis M. Wilson <dmw@oxytropis.plus.com>
381 New options -f and -k for afmtodit.
383 * src/afmtodit/afmtodit.pl: New options `-f NAME' sets the internal
384 name of the groff font.
385 New option `-k' disables output of kerning data.
386 * src/afmtodit/afmtodit.man, NEWS: Document new options.
388 2008-07-18 Werner LEMBERG <wl@gnu.org>
390 * src/preproc/tbl/table.cpp (table::compute_separation_factor): Emit
391 warning messages if table gets squeezed.
392 (table::compute_widths): Fix computation of AVAILABLE_REG.
393 Emit warning if table is wider than line length.
395 * src/preproc/tbl/tbl.man: Minor improvements.
397 2008-05-02 Larry Jones <lawrence.jones@siemens.com>
399 * contrib/chem/Makefile.sub (README, examples/README): In makefiles,
400 the `$<' macro is only guaranteed to be defined in inference rules,
401 not in explicit target rules. Since there is only one input file in
402 the places where it is used, the `$?' macro (which is guaranteed to be
403 defined for both kinds of rules) is a suitable replacement.
405 * hdtbl/examples/fonts_n.in, hdtbl/examples/fonts_n.in: Most
406 versions of ls don't have a `--color' option.
408 2008-04-30 Larry Jones <lawrence.jones@siemens.com>
410 * Makefile.comm (depend.temp): Add `EXTRA_CCFLAGS'.
412 2008-04-29 Larry Jones <lawrence.jones@siemens.com>
414 * src/eqn/script.cpp (script_box::output): Portability fix.
416 2008-04-05 Dorai Sitaram <ds26gte@yahoo.com>
418 Add better support for `.TAG #<label>' in non-HTML documents: In
419 case of a forward reference in a call to .URL, write `(see below)'.
420 In case of a backwards reference use the page number instead. The
421 reference gets stored in a string `TAG_<label>' and can be
422 overridden while calling `.TAG' with its new optional argument --
423 this is useful for a second-pass system which resolves forward
426 * tmac/www.tmac (www:url_check_tag): New function.
428 (TAG): Add optional argument to define string `TAG_<label>'.
430 2008-03-24 Werner LEMBERG <wl@gnu.org>
432 * tmac/trace.tmac (so, mso): Added.
434 * tmac/www.tmac (PIMG): Replace `.ie' (without `.el') with `.if'.
435 If used with -mtrace, and this clause was active, the macro was
438 * tmac/pspic.tmac (PSPIC): Accept option `-C' for orthogonality.
439 This makes `.PIMG -C <file>' (from www.tmac) work on non-HTML
441 * man/groff_tmac.man: Document it.
443 2008-02-26 Werner LEMBERG <wl@gnu.org>
445 * src/roff/troff/input.cpp: s/safer_flag/unsafe_flag/.
446 Update all occurrences so that \n[.U] works as advertised. Bug
447 reported by Dorai Sitaram.
449 2008-02-17 Werner LEMBERG <wl@gnu.org>
451 * doc/groff.texinfo: Improve documentation of .cf request.
453 2008-01-19 Werner LEMBERG <wl@gnu.org>
455 * src/preproc/html/pre-html.cpp (usage): Don't describe options but
456 mention that it should never be called stand-alone.
458 * tmac/groff_www.man, doc/groff.texinfo, man/groff_font.man,
459 man/groff_tmac.man, man/groff_out.man, README, README.MinGW,
460 src/roff/groff/groff.man: Mention -Txhtml.
462 * man/groff_font.man, man/groff_tmac.man, man/roff.man: Revised.
464 2008-01-16 Werner LEMBERG <wl@gnu.org>
466 * src/libs/libgroff/font.cpp (font::contains, font::get_code):
467 Handle single-letter names correctly.
469 * doc/groff.texinfo, man/groff_diff.man: Extend documentation of \^
473 2008-01-15 Werner LEMBERG <wl@gnu.org>
475 * man/groff_font.man: Revised.
477 2008-01-14 Werner LEMBERG <wl@gnu.org>
479 * man/groff.man: Mention glyph and characters.
481 * man/groff_char.man: Minor updates.
482 * man/groff_diff.man: Better clarification between characters and
485 2008-01-12 Werner LEMBERG <wl@gnu.org>
487 * doc/groff.texinfo: Fix top-level structure to make it compilable
488 again with all texinfo modes. Reported by Jörg van den Hoff
489 <j.van_den_hoff@fzd.de>.
491 2008-01-11 Werner LEMBERG <wl@gnu.org>
493 * doc/pic.ms: Mention that compass points of line objects are
496 2008-01-06 Werner LEMBERG <wl@gnu.org>
498 * src/roff/troff/node.cpp (left_italic_corrected_node::add_self):
499 Don't remove itself if there is no glyph associated with the node
500 yet. This happens, for example, in this situation:
507 2008-01-05 Werner LEMBERG <wl@gnu.org>
509 * man/groff_char.man, man/groff.man: Revised.
511 * src/preproc/eqn/lex.cpp (troff_defs): Fix typo.
513 2008-01-04 Werner LEMBERG <wl@gnu.org>
514 * */*: s/Osanna/Ossanna/.
516 * */*.man: Replace .URL with .UR/.UE (except in groff_www.tmac).
517 Replace .MTO with .MT/.ME (except in groff_www.tmac).
518 Insert `\:' in URLs where appropriate.
519 Don't include www.tmac (except in groff_www.tmac).
521 * man/groff.man (.ESC[]): Fix font of closing bracket.
522 (.ESCq): Fix font of closing quote character.
523 Many other improvements.
525 2007-12-30 Bernhard Fisseni <bfi@ikp.uni-bonn.de>
527 * src/devices/grohtml/post-html.cc
528 (html_printer::writeHeadMetaStyle): Fix CSS output.
530 2007-12-29 Werner LEMBERG <wl@gnu.org>
532 * tmac/ec.tmac: Add CM fonts to the .fspecial lines; those fonts
533 contain additional glyphs (like some uppercase Greek letters).
535 2007-12-06 Werner LEMBERG <wl@gnu.org>
539 2007-12-06 Colin Watson <cjwatson@debian.org>
541 * src/roff/nroff/nroff.sh: Add options -w and -W.
542 * src/roff/nroff/nroff.man: Document them.
544 2007-12-06 Karl Berry <karl@freefriends.org>
546 * tmac/hyphenex.pl: Update header output.
548 2007-11-29 Werner LEMBERG <wl@gnu.org>
550 * src/devices/grotty/tty.cpp (tty_printer::line): Fix line lengths.
552 2007-11-20 Werner LEMBERG <wl@gnu.org>
554 * doc/pic.ms: Add Heinz-Jürgen's 3d boxes example.
556 2007-11-17 Werner LEMBERG <wl@gnu.org>
558 * src/roff/nroff/nroff.sh: Handle GROFF_TYPESETTER environment
559 variable. Problem reported by Michael G Schwern
562 * src/roff/nroff/nroff.man: Document it.
565 2007-11-17 Heinz-Jürgen Oertel <hj.oertel@t-online.de>
567 * src/groff/preproc/pic/lex.cpp (table): Add box attributes
568 `xslanted' and `yslanted'.
570 * src/groff/preproc/pic/object.cpp (object_spec::object_spec):
571 Initialize `xslanted' and `yslanted'.
572 (graphic_object): Add methods `set_xlanted' and `set_yslanted'.
573 (closed_object): Ditto.
574 Add members `xslanted' and `yslanted'.
575 (box_object::print): Use them.
576 (object_spec::make_object): Handle slant values.
577 * src/groff/preproc/pic/object.h (IS_XSLANTED, IS_YSLANTED): New
579 (object_spec): Add members `xslanted' and `yslanted'.
580 * src/groff/preproc/pic/pic.y (XSLANTED, YSLANTED): New left-valued
584 * src/groff/preproc/pic/pic.man, NEWS, doc/pic.ms: Document above
587 2007-11-16 Werner LEMBERG <wl@gnu.org>
589 * tmac/hyphenex.pl: Generate copyright notice (this has been
590 approved by Barbara Beeton).
591 * tmac/hyphenex.us: Updated.
593 2007-11-10 Michail Vidiassov <master@iaas.msu.ru>
595 * tmac/doc-syms (doc-str-St--susv3): New string.
596 * tmac/groff_mdoc.man: Document it.
598 2007-11-08 Werner LEMBERG <wl@gnu.org>
600 * src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be',
601 `utf-16le', `utf-16be-with-signature', `utf-16le-with-signature'.
602 (is_comment_line): Handle '\" and '\# also.
604 * src/preproc/preconv/preconv.man: Revise and make complete.
606 2007-10-25 Werner LEMBERG <wl@gnu.org>
608 * tmac/cs.tmac: New file holding Czech strings, contributed by
609 Marcela Maslanova <mmaslano@redhat.com>.
610 * tmac/hyphen.cs, tmac/hyphenex.cs: New hyphenation pattern files
611 for Czech, taken from CTAN.
613 * tmac/Makefile (NORMALFILES): Add Czech stuff.
614 * doc/groff_tmac.man: Mention cs.tmac.
616 2007-10-21 Werner LEMBERG <wl@gnu.org>
618 * src/roff/troff/input.cpp (do_ps_file): Handle `%X' in header
619 comments correctly. Reported by Frank Jahnke
620 <jahnke@sonatabio.com>.
622 2007-10-02 Ruslan Ermilov <ru@FreeBSD.org>
624 * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, document
627 * tmac/doc-syms: Give better names for System V releases.
629 2007-09-25 Gaius Mulley <gaius@glam.ac.uk>
631 * doc/Makefile.in, doc/Makefile.sub (.ms.html): Add -P-V switch to
632 the production of html files.
634 Remove background colour switch.
635 (.SUFFIXES, clean): Handle *.xhtml files.
637 * src/devices/grohtml/grohtml.man: Document that -V option now
638 generates an HTML-4.01 validator or XHTML validator.
640 * src/devices/grohtml/html-text.cpp (html_text::end_tag,
641 html_text::start_tag): Suppress <small>, <big>, and <color> tags if
642 we are inside a <pre> block.
644 * src/devices/grohtml/post-html.cpp
645 (html_printer::handle_valid_flag): Add a parameter to indicate
646 whether it needs to generate a paragraph block.
647 (html_printer::write_navigation): Updated.
648 (html_printer::do_file_components): Generate an HTML-4.01 blue
649 validator button also.
651 2007-09-23 Axel Kielhorn <A.Kielhorn@web.de>
653 * man/groff.man: Fix URL of CSTR 54.
655 2007-09-23 Werner LEMBERG <wl@gnu.org>
657 * man/groff_char.man: Normalize character set names as defined
658 by IANA. Based on a patch from Axel Kielhorn.
660 * src/preproc/refer/label.y: Undo change from 2007-09-19.
662 2007-09-19 Werner LEMBERG <wl@gnu.org>
664 * src/roff/troff/input.cpp (interpolate_arg): Remove compiler
667 * src/preproc/eqn/pile.cpp (pile_box::output, matrix_box::output):
668 Remove compiler warning.
670 * src/preproc/refer/label.y: Remove compiler warning.
672 * src/preproc/pic/pic.y: Remove doubled token entries.
674 2007-09-19 Gaius Mulley <gaius@glam.ac.uk>
676 * doc/groff.texinfo: Document new .O register and add cross
681 * src/devices/grohtml/grohtml.man: Document new -V and -y options.
683 * src/devices/grohtml/html-table.cpp: Add support for XHTML 1.1.
684 (html_table:: emit_colspan, html_table::emit_td): New methods.
685 (html_table::emit_col): Use html_table::emit_td.
686 (html_table::emit_table_header): Use html_table::emit_colspan if
687 dialect xhtml is specified.
688 (html_table::finish_row): Updated.
690 * src/devices/grohtml/html-table.h (html_table): Declare
691 emit_colspan, emit_td.
693 * src/devices/grohtml/html-text.cpp: Modified tags to comply with
694 xhtml if this dialect was requested.
696 * src/devices/grohtml/html-text.h (html_dialect): New enumeration.
697 (html_text): Add new variable `dialect'.
699 * src/devices/grohtml/post-html.cpp: Modify header tags to be XHTML
701 (valid_flag, groff_sig, dialect): New global variables.
702 (html_printer::handle_valid_flag, html_printer::do_math,
703 html_printer::write_html_anchor, html_printer::write_xhtml_anchor,
704 html_printer::do_math, html_printer::handle_valid_flag): New
706 (html_printer::emit_line, html_printer::emit_raw,
707 html_printer::do_check_center, html_printer::write_title,
708 write_rule, html_printer::writeHeadMetaStyle, generate_img_src,
709 html_printer::begin_page): Altered to be XHTML compliant.
710 (html_printer::write_header): Updated.
711 (html_printer::troff_tag): Call do_math.
712 (html_printer::insert_split_file, html_printer::do_file_components,
713 html_printer::write_navigation): Create XHTML file components if
714 necessary and also produces a groff signature if requested.
715 (~html_printer): Call writeHeadMetaStyle at appropriate places
716 depending upon html_dialect.
717 (html_printer::special): Handle new tags `html<?p>' and `math<?p>'.
718 (main): Added options -x, -V, and -y.
721 * src/preproc/eqn/box.cpp: Create a distinction between
722 the MathML device and the XHTML device.
723 (do_text): Issue a newline at the end of the equation if XHTML was
725 (box::top_level): Prefix the output of an equation by the .MATHML
727 (output_string): Suppress \n if XHTML was specified.
729 * src/preproc/eqn/main.cpp (xhtml): New global flag.
730 (inline_equation): Skip leading spaces after inline equation for
732 (main): Set `xhtml' flag if `-Tmathml:xhtml' is specified.
734 * src/preproc/eqn/eqn.h (xhtml): New external flag.
736 * src/preproc/eqn/text.cpp (entity_table): Fix typo.
738 * src/preproc/html/pre-html.cpp (html_dialect): New enumeration.
739 (dialect, eqn_flag): New global variables.
740 (html_system): Improve debugging support.
741 (alterDeviceTo): Test for -Txhtml when altering device to the image
742 device and reset to -Txhtml.
743 (addZ): Renamed to...
745 Introducea a general parameter.
746 (print_args): New debugging function.
747 (char_buffer::run_output_filter): Use print_args and addArg rather
749 (char_buffer::do_html, char_buffer::do_image): Add -rxhtml=1 command
750 line parameter as an argument to the html generation of text when
751 xhtml is needed. Include -e on the command line if mathml is
753 (scanArguments): Allow -e, -V, -y and -x options.
754 -V, -y are handled by the back end. -e sets `eqn_flag'.
755 -x determines HTML dialect.
757 * src/roff/groff/groff.cpp (possible_command): New method
759 (main): Set eflag if -e is present on command line.
760 Set is_xhtml if -Txhtml is present.
761 Pass `-x x' to the HTML pre and post processors.
762 Pass `-e' to the HTML pre processor if required.
763 Pass `-Tmathml:xhtml' to eqn if XHTML is requested.
765 * src/roff/troff/input.cpp (init_input_requests): Introduce new
766 number register `\n[.O]'.
768 * tmac/s.tmac: (LP): Use .nop for semantic sugar.
769 (cov*ab-init) reformat.
770 (@EQ): Use EQN-HTML-IMAGE and friends rather than HTML-IMAGE.
771 (CHECK-FOOTER-AND-KEEP): Define FS, FE such that they use
772 <cite></cite> for the html device rather than generate images for
775 * tmac/troffrc-end: Define EQN-HTML-IMAGE,
776 EQN-HTML-IMAGE-END, EQN-HTML-IMAGE-RIGHT,
777 EQN-HTML-IMAGE-LEFT, EQN-HTML-IMAGE-INLINE,
778 EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END as null strings.
780 * tmac/www.tmac: (HTML<?p>): New macro.
781 (MATH<?p>): New macro.
782 (IMG, PIMG, MPIMG, HR): Use XHTML compliant syntax.
783 (www-emit-ltag): New macro.
784 (www-push-li): Updated.
785 (ULS): Ensure that tags are balanced in order by use of
787 (ULE): Likewise: Use www-emit-ltag and shut down paragraphs in
789 (OLS, OLE, DLS, DLE): Ditto.
790 <global>: Define EQ and EN to EQN-HTML-IMAGE and EQN-HTML-IMAGE-END
792 (www-li-ul, www-li-ol, www-li-dl): Updated.
793 (EQN-HTML-IMAGE, EQN-HTML-IMAGE-RIGHT, EQN-HTML-IMAGE-LEFT,
794 EQN-HTML-IMAGE-INLINE, EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END,
797 2007-09-17 Werner LEMBERG <wl@gnu.org>
799 * man/groff_font.man: Document `unicode' keyword.
800 * doc/groff.texinfo (DESC File Format): Synchronize with
803 2007-09-15 Werner LEMBERG <wl@nu.org>
805 * man/groff.man: Document `\_'.
806 * doc/groff.texinfo: Ditto.
807 Remove references to `\@' which isn't a valid escape sequence in
811 * tmac/unicode.tmac: Add ` and '.
812 * tmac/html.tmac: Load unicode.tmac.
814 2007-09-14 Werner LEMBERG <wl@gnu.org>
816 * tmac/unicode.tmac: Make `-' a pure input character by mapping it
819 * src/roff/troff/input.cpp (init_charset_table): Handle `hy'.
821 2007-09-11 Werner LEMBERG <wl@gnu.org>
823 * src/libs/libgroff/string.cpp (string::remove_spaces): Fix memory
826 * src/preproc/tbl/table.cpp (table::allocate): Initialize
829 2007-09-10 Keith Marshall <keith.d.marshall@ntlworld.com>
831 * README.MinGW: Add warnings about use of MSYS-RXVT, and about
832 defective GnuWin32 versions of netpbm/libpng.
834 2007-07-15 Keith Marshall <keith.d.marshall@ntlworld.com>
836 * tmac/s.tmac (cov*first-page-init): Remove invoking trap, to avoid
839 2007-07-11 Werner LEMBERG <wl@gnu.org>
841 * gendef.sh: Add shebang.
843 2007-07-05 Werner LEMBERG <wl@gnu.org>
845 * tmac/papersize.tmac: Fix dimensions of executive paper format.
846 Reported by John Rupley <rupley@u.arizona.edu>.
848 2007-07-02 Keith Marshall <keith.d.marshall@ntlworld.com>
850 * tmac/s.tmac (cov*first-page-init): Emit error message if not in
851 top-level environment.
853 2007-06-12 Werner LEMBERG <wl@gnu.org>
855 * src/devices/xditview/TODO, NEWS: Updated.
856 * src/devices/xditview/Makefile.sub (install_data, uninstall_sub):
857 Handle `GXditview-color'.
858 * src/devices/xditview/gxditview.man: Updated.
860 * m4/groff.m4 (GROFF_APPRESDIR_CHECK): Updated.
861 * m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4, m4/lib-link.m4: Updated
862 from `gnulib' git repository.
864 * configure.ac: Updated.
865 * configure: Regenerated (using autoconf 2.61).
867 * config.guess, config.sub: Updated from `config' CVS repository.
868 * config.rpath, install-sh, mkinstalldirs: Updated from `gnulib' git
871 2007-06-12 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
873 * src/devices/xditview/GXditview.ad: Split off color definitions
875 * src/devices/xditview/GXditview-color.ad: This new file.
877 2007-06-08 Fabrice Ménard <menard.fabrice@wanadoo.fr>
879 * tmac/fr.tmac: Handle chapter system for `me'.
881 2007-06-05 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
883 * src/devices/xditview/xditview.c (main): Add support for
886 * src/devices/xditview/GXditview.ad: Updated.
887 Make widget more colourful.
889 2007-05-30 Werner LEMBERG <wl@gnu.org>
891 * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate.
892 Recommend `tbl' instead of `-column' lists for more complicated
895 2007-05-21 Werner LEMBERG <wl@gnu.org>
897 * src/devices/grops/ps.cpp (ps_printer::set_char): Handle subfonts
900 2007-04-10 Werner LEMBERG <wl@gnu.org>
902 In pic, make rounded boxes work with colors. Reported by Urs Eggli
903 <Urs.Eggli@zuerich.ch>.
905 * src/preproc/pic/common.h (common_output), src/preproc/pix/output.h
906 (output): Add color parameter to `rounded_box' member function.
908 * src/preproc/pic/common.cpp (common_output::rounded_box): Use it.
910 * src/preproc/pic/object.cpp (box_object::print): Pass `color_fill'
911 to `out->rounded_box'.
913 2007-04-09 Michail Vidiassov <master@iaas.msu.ru>
915 * font/devps/generate/textmap: Add Greek letters and some more.
917 * src/utils/afmtodit/afmtodit.tables: Change values of `Delta',
918 `Omega', and `mu' to the ones from aglfn.txt.
920 2007-04-08 Keith Marshall <keith.d.marshall@ntlworld.com>
922 * tmac/s.tmac (SN): Define unconditionally.
923 (SN-STYLE): New string; define.
925 * NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
927 2007-03-22 Werner LEMBERG <wl@gnu.org>
929 * tmac/pspic.tmac: Fix harmless numeric overflow warning. Reported
930 by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
932 2007-03-20 Werner LEMBERG <wl@gnu.org>
934 * tmac/trace.tmac (rn): Added.
935 (nr, ds, ds1, as, as1, substring): Restore escape character while
937 (nr): Remove dead code.
939 * src/preproc/eqn/box.cpp (box::top_level): Use \E in string
940 definitions to make them traceable.
942 2007-03-19 Werner LEMBERG <wl@gnu.org>
944 * src/roff/troff/input.cpp (get_copy): Add third argument to control
945 whether \E shall be expanded.
946 (get_char_for_escape_name): Allow \E.
948 2007-03-15 Werner LEMBERG <wl@gnu.org>
950 * tmac/s.tmac (MO, CH, pg*OH, pg*EH, pg*OF, pg*EF, *, [., .],
951 par*define-font-macro, \[hooko]): Use \E to make it traceable.
953 (ref*field): Add argument to control the space between previous and
956 (ref*add-N): Fix handling of opening parenthesis. Problem reported
957 by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
959 2007-03-14 Werner LEMBERG <wl@gnu.org>
961 * tmac/trace.tmac (als): Added.
962 (de, de1, am, am1): Make traced macros aliased with .als work.
964 2007-02-25 Werner LEMBERG <wl@gnu.org>
966 * src/devices/xditview/TODO: Add some more items.
968 * Makefile.comm (.man.n): Add @APPRESDIR@.
971 * src/devices/xditview/gxditview.man: Document GXditview resource
973 Other documentation enhancements based on a patch from Jörg.
975 2007-02-25 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
976 Joerg van den Hoff <j.van_den_hoff@fzd.de>
978 * src/devices/xditview/GXditview.ad: Make all keys work regardless
979 of the current mouse position.
981 2007-02-20 Werner LEMBERG <wl@gnu.org>
983 * tmac/groff_man.man: Revised to improve visual appearance.
984 Reduce use of future tense.
986 * tmac/groff_trace.man: Revosed to improve visual appearance.
988 2007-02-19 Eric S. Raymond <esr@snark.thyrsus.com>
990 Make groff.man viewer-portable.
992 * tmac/groff.man: Eliminate use of .eo/.ec.
993 (.REQ): Surround args 2 through N with quotes. This will enable us
994 not to rely on the shift request, which is nonportable.
995 (ExecFF): Remove. The code is simpler without it.
997 2007-02-18 Eric S. Raymond <esr@snark.thyrsus.com>
999 * tmac/groff_www.man: Viewer-portability fixes.
1001 2007-02-16 Eric S. Raymond <esr@snark.thyrsus.com>
1003 * man/groff.man: Remove some unneeded code and a no-longer-used
1004 inclusion of the www macros.
1006 2007-02-12 Werner LEMBERG <wl@gnu.org>
1008 * src/preproc/tbl/table.cpp (compute_span_width): Fix use of
1010 (table::compute_widths): Simplify.
1012 2007-02-11 Werner LEMBERG <wl@gnu.org>
1014 * src/preproc/tbl/table.h: Don't include `stdbool.h'.
1015 (table): Replace `bool' type with `char' for orthogonality.
1018 * src/preproc/tbl/table.cpp (block_entry::do_divert): Fix usage of
1019 AVAILABLE_REG and COLCOUNT_REG.
1020 (table::table): Fix order call of initializers.
1021 (table::~table): Deallocate `blockflag'.
1023 2007-02-09 Eric S. Raymond <esr@snark.thyrsus.com>
1025 A try at the new rule for block column allocation is now enabled by
1026 the new `experimental' global option: The horizontal space up to the
1027 right margin which is not used by columns without text blocks is
1028 evenly distributed to the columns with text blocks.
1030 It doesn't work right as yet; there appears to be some error in the
1031 computation of `3avail', the available line length. The purpose of
1032 this patch is (a) to make experimenting with other formulas easy,
1033 and (b) leave the infrastructure for flag `experimental' in place
1034 for future experiments. Do not document any behavior associated
1037 * src/preproc/tbl/table.h: Include `stdbool.h'.
1038 (table): Make `flags' public.
1039 Add `count_block_columns' function.
1040 Add `blockflag' array.
1041 Add `EXPERIMENTAL' enumeration value.
1043 * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): New
1045 (table_entry): New member `parent' so that class and subclass
1046 members can set a parent field. Update all users.
1047 (block_entry::do_divert): Handle `EXPERIMENTAL' flag.
1048 (block_entry::do_width): Set the parent's `blockflag'.
1049 (table::allocate): Handle `blockflag'.
1050 (table::count_block_columns): New function.
1051 (compute_span_width): Adjust AVAILABLE_REG.
1052 (table::compute_widths): Handle COLCOUNT_REG and AVAILABLE_REG.
1054 * src/preproc/tbl/main.cpp (process_options): Handle `experimental'
1057 2007-02-08 Zhao, Yu (William) <yzhao2@alcatel-lucent.com>
1059 * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) <'e'>: Set
1062 2007-02-08 Werner LEMBERG <wl@gnu.org>
1064 * man/groff_out.man (offset): Make it work reliably.
1066 2007-02-07 Eric S. Raymond <esr@snark.thyrsus.com>
1068 * man/groff_out.man: Simplify some font changes so \fP is less
1069 likely to do something surprising.
1071 * man/groff_out.man: We can simplify the command macros still
1072 further if we stop trying to hide structural requests inside them.
1073 Also, fix some instances of \} at start of line without a dot, and
1074 make some font changes explicit in strings.
1076 * man/groff_out.man: Cleanup -- remove now-unneeded uses of .do and
1079 * man/groff_out.man: Final step: Reduce x-command, get rid of eo/ec
1080 calls and fix macros to do without them. File should now be
1083 * man/groff_out.man: Fourth step: Eliminate use of eqn in favor of
1084 micromotions that produce the same visual result and can be lifted
1087 * man/groff_out.man: Third step: Reduce Da-comand, fix a
1088 call-sequence bug in the original.
1090 * man/groff_out.man: Second step: Reduce D-commmand and D-command+,
1091 move font-change escapes to portable form.
1093 * man/groff_out.man: First step in macro simplification; eliminate
1094 list1..n, simplify .offset and .index_offset so they no longer
1095 require groff-specific features or eqn (instead, use troff
1096 micromotions for subscripting).
1098 2007-02-06 Eric S. Raymond <esr@snark.thyrsus.com>
1100 * src/preproc/eqn/eqn.man: Minor corrections.
1102 * tmac/an-ext.tmac: Change .UR/.UE and .MT/.ME so the start macro no
1103 longer takes a second argument that is pasted to the end of the
1104 generated text. Instead, the end macro takes an argument that does
1107 * man/ditroff.man, man/groff_diff.man, man/groff.man,
1108 man/groff_out.man, man/groff_tmac.man, man/roff.man,
1109 src/roff/groff/groff.man, src/roff/grog/grog.man,
1110 tmac/groff_man.man, tmac/groff_trace.man: Update accordingly.
1112 * src/roff/troff/troff.man: .SY and .YS are canned macros now,
1113 so we can use them here.
1115 2007-02-05 Eric S. Raymond <esr@snark.thyrsus.com>
1117 * src/preproc/eqn/lex.cpp, src/preproc/eqn/eqn.man:
1118 By popular demand, make ... set three lower dots again
1119 and introduce a new predefined macro 'cdots' to set
1120 three centered dots.
1122 2007-02-05 Werner LEMBERG <wl@gnu.org>
1124 * src/preproc/eqn/eqn.man: Revised.
1126 * src/preproc/eqn/text.cpp (map, special_char_boc::output): Use
1128 (spacing_type): Fix typo.
1129 (special_to_entity): Use `const'.
1130 Remove unused variable.
1131 * src/preproc/eqn/other.cpp (font_box::output): Use `const'.
1133 2007-02-05 Eric S. Raymond <esr@snark.thyrsus.com>
1135 * src/devices/grotty/grotty.man: \m[] and \M[] aren't portable,
1136 which is a shame as the effect was cute.
1138 2007-02-04 Eric S. Raymond <esr@snark.thyrsus.com>
1140 * man/groff_tmac.man, man/groff_diff.man: Portability conversion;
1141 rip out over-elaborate macrology, use .EX/.EE and .UR/.UE where
1142 possible, remove preamble declarations and macros that are no
1143 longer needed. Conversion checked using the protocol described in
1146 2007-02-03 Werner LEMBERG <wl@gnu.org>
1148 * tmac/an-old.tmac (LP, IP, HP): Use .ns to suppress additional
1151 2007-02-03 Eric S. Raymond <esr@snark.thyrsus.com>
1153 * tmac/groff_man.man: Documented the extension macros, and
1154 added portability advice.
1156 * MORE.STUFF: More-stuff entries for doclifter and pic2plot.
1159 Add support for MathML output to eqn.
1161 The strategy used is very simple and relies on the fact that the box
1162 models of eqn and Presentation MathML differ in only trivial ways.
1163 It leaves the grammar and existing internal object structures
1164 unchanged. A new global, `output_format', is defined as an
1165 enumerated type with values {troff, mathml}. Most of the functions
1166 and methods that emit actual output acquire a top-level conditional,
1167 dispatching on this global, which has one arm for troff mode and one
1168 for MathML mode. In most cases the MathML arm is drastically
1171 (This strategy could be easily generalized to support other output
1172 formats. TeX is a possibility that leaps to mind.)
1174 The only even moderately tricky changes are in the lexer. Some of
1175 the predefined macros used constructs like `up', `down', `fwd',
1176 `back', and `vcenter' that have no equivalents in MathML. I
1177 attacked this problem in these ways:
1179 1. I eliminated three uses of `back' to compose characters in favor
1180 of using equivalent groff specials `\(<<', `\(>>', and `\(<>'
1181 that did not exist when these macros were written. (This will be
1182 a quality improvement for troff users.)
1184 2. I eliminated one use of `vcenter' by using \\(md. (Likewise...)
1186 3. I then split the table of pre-definitions in three; one large
1187 common table and two small troff-specific and MathML-specific
1188 tables. Use of troff-only operations (up, down, back, fwd,
1189 vcenter) is now confined to the former. The latter now uses
1190 `size big' and drops out the explicit positioning operations,
1191 counting on MathML processors to do them.
1193 POTENTIAL TROUBLE SPOTS:
1195 Here are notes for reviewers on places I'm not 100% sure I've done
1198 * In the process of preparing the troff table, I translated three
1199 definitions (dot_def, dotdot_def, and utilde def) that previously
1200 used explicit \v escapes to use `up' and `down' instead. I
1201 modeled the new definitions on the way `vec' and `dyad' work, but
1202 it's possible I got something subtle wrong.
1204 * I'm not certain the MathML implementation of font_box::output() is
1205 right, because I don't quite get what the switcheroo between
1206 `current_roman_font' and `old_roman_font' is supposed to
1207 accomplish. It does seem to generare good MathML, though.
1209 Finally, I made one purely cosmetic change in `text.cpp'; I replaced
1210 with an enum some magic numbers for spacing types that I thought
1211 were too ugly to live.
1215 The entirety of eqn is translated when `-TMathML' is specified,
1216 with the following exceptions...
1218 Limitations that cannot be fixed include non-support for special,
1219 up/down/fwd/back, and vcenter.
1221 Limitations that might be fixable include non-support for mark and
1222 lineup. I will investigate further, but if these can be implemented
1223 at all it's going to be in a very complicated and nasty way.
1225 The way character boxes are output means that each digit of a
1226 multi-digit number gets its own <mn></mn> tag pair in the MathHTML.
1227 While this is not technically wrong for Presentation MathML, it is
1228 ugly and inefficient. Fixing this will require implementing a
1229 little state machine in the `text.cpp' output method.
1231 * src/preproc/eqn/box.cpp, src/preproc/eqn/delim.cpp,
1232 src/preproc/eqn/eqn.h, src/preproc/eqn/eqn.man,
1233 src/preproc/eqn/lex.cpp, src/preproc/eqn/limit.cpp,
1234 src/preproc/eqn/list.cpp, src/preproc/eqn/main.cpp,
1235 src/preproc/eqn/other.cpp, src/preproc/eqn/over.cpp,
1236 src/preproc/eqn/pile.cpp, src/preproc/eqn/script.cpp,
1237 src/preproc/eqn/sqrt.cpp, src/preproc/eqn/text.cpp,
1238 src/preproc/eqn/eqn.man: MathML output mode.
1240 * NEWS: Document it.
1242 2007-02-02 Eric S. Raymond <esr@snark.thyrsus.com>
1244 * src/roff/groff/groff.man: Converted to use .SY/.OP/.YS
1245 and for cross-viewer portability. Conversion checked
1246 using the protocol described in tmac/TESTING-HINTS.
1248 2007-02-02 Werner LEMBERG <wl@gnu.org>
1250 * tmac/an-ext.tmac (ME): Don't use `\:'.
1252 * src/roff/grog/grog.man: Further refinements and normalizations.
1254 2007-02-02 Eric S. Raymond <esr@snark.thyrsus.com>
1256 * src/roff/grog/grog.man: Converted to use .SY/.OP/.YS and for
1257 cross-viewer portability. Conversion checked using the protocol
1258 described in tmac/TESTING-HINTS.
1260 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
1262 * tmac/TESTING-HINTS: Added.
1264 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
1266 Enable the support for Bell archaisms on .SC, so the `-r bell'
1267 switch is no longer needed to format old AT&T papers like
1270 * tmac/s.tmac (.SC, .UC, .P1, .P2): Updated.
1272 * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Updated.
1274 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
1276 Add some Bell labs extensions to the -ms macros.
1278 * tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros.
1280 * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
1282 2007-01-30 Werner LEMBERG <wl@gnu.org>
1284 * tmac/an-ext.tmac (\n[EX]): Rename to \n[mX].
1285 (\n[mH]): New register (set if grohtml is used).
1286 (\n[SY]): Rename to \n[mS].
1287 (\n[a]): Rename to \n[mA].
1288 (\n[i]): Rename to \n[mI].
1289 (mU): New auxiliary input trap macro.
1290 (UR, UE): Replace stub with real definition.
1292 (MT, ME): New macros.
1294 (EX, EE): Don't insert vertical space.
1295 Use a register to store (and restore) the current font.
1297 * man/ditroff.man, man/groff_diff.man, man/roff.man: Revised, based
1298 on patches from Eric Raymond.
1301 2007-01-22 Gaius Mulley <gaius@glam.ac.uk>
1303 * tmac/an-old.tmac (an-trap, HP): Make `HP' work as expected.
1305 2007-01-22 Werner LEMBERG <wl@gnu.org>
1307 * tmac/an-ext.tmac: Protect against being sourced twice.
1308 (URL, EE): Use always two backslashes.
1311 2007-01-16 Werner LEMBERG <wl@gnu.org>
1313 * tmac/an-ext.tmac: Remove code for grodvi.
1315 Don't insert empty line.
1316 (URL, TQ): Fix typos.
1318 2007-01-14 Werner LEMBERG <wl@gnu.org>
1320 * tmac/an-ext.tmac: New file, containing extension macros
1321 for -man. See discussion on the groff mailing list for
1322 background information.
1323 * tmac/an-old.tmac: Load an-ext.tmac.
1324 Decorate .ds and as with comment escapes where appropriate.
1325 * tmac/Makefile.sub (NORMALFILES): Add an-ext.tmac.
1327 2007-01-05 Werner LEMBERG <wl@gnu.org>
1329 * src/preproc/tbl/tbl.man: Document .T# and \n[TW].
1331 2007-01-04 Gaius Mulley <gaius@glam.ac.uk>
1333 Make -me macros ready for grohtml.
1335 * tmac/e.tmac: Load devtag.tmac.
1336 (need_eo_h, need_eo_tl, need_tl): New registers.
1337 (check_need_title, (x-html, )x-html, xp-html): New macros.
1338 (@h, hl, ip, @p, sh, (b, (l, EQ, EN, TS, TE, PS, PE, GS, GE, r, i,
1339 b, rb, bi, bx, (x, )x, xp): Adapt for use with grohtml.
1340 (bp): Rename to @b only if output device is not html.
1342 2007-01-01 Werner LEMBERG <wl@gnu.org>
1344 * man/groff_font.man: Document empty lines.
1346 * src/utils/afmtodit/afmtodit.pl: Always print a header comment at
1347 the very beginning of the output.
1348 [!$opt_x]: Fix typo.
1350 * font/devps/*: Regenerate font definition files.
1352 2007-01-01 Werner LEMBERG <wl@gnu.org>
1354 * font/devps/generate/Makefile (AFMTODIT): Use -c flag.
1356 * font/devps/*: Regenerate font definition files.
1358 2006-12-31 Werner LEMBERG <wl@gnu.org>
1360 * Makefile.in (oldfontdir): New variable.
1361 (MDEFINES): Add $(oldfontdir).
1362 (uninstall_dirs): Remove `current' link.
1363 Remove $(oldfontdir).
1365 * Makefile.comm (oldfontsubdir): New variable.
1366 (install_dev): Install files collected in $(OLDDEVFILES) into
1368 (uninstall_dev): Remove data in $(oldfontsubdir).
1369 (.man.n): Handle @OLDFONTDIR@.
1371 * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
1372 src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
1373 src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man:
1374 Document GROFF_FONT_PATH.
1376 * src/devices/grops/grops.man: Document GROFF_FONT_PATH and
1377 old font description files.
1379 * font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New
1382 * font/devps/old/*: New directory, holding the previous version
1383 of the 35 Adobe core font description files.
1385 * font/devps/*: Regenerated the 35 Adobe core fonts, using the
1386 Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de.
1388 * NEWS: Document font update.
1390 2006-12-31 Werner LEMBERG <wl@gnu.org>
1392 * font/devps/generate/Makefile (symbolsl.afm): Use $(srcdir).
1394 * Makefile.comm (fonts): New (empty) target.
1395 * Makefile.in (TARGETS): Add `fonts'.
1397 * MANIFEST: Add `chem'.
1399 * doc/groff.texinfo (Changing Fonts): Font translations with .ftr
1402 2006-12-26 Werner LEMBERG <wl@gnu.org>
1404 * src/preproc/grn/hdb.cpp: Include gprint.h later. From NetBSD.
1406 2006-12-19 Werner LEMBERG <wl@gnu.org>
1408 Add support for German. For activation, simply use -mde or -mden
1409 (for traditional and new orthgraphy, respectively) as the last
1412 * tmac/de.tmac, tmac/den.tmac, tmac/hyphen.det, tmac/hyphen.den,
1413 tmac/hyphenex.det: New files, partly taken from CTAN.
1414 * LICENSES: Updated list of hyphenation patterns.
1415 * man/groff_tmac.man: Mention de.tmac and den.tmac.
1418 2006-12-11 Werner LEMBERG <wl@gnu.org>
1420 Support up to 32 macro arguments in pic (and up to 16 on EBCDIC
1423 * src/preproc/pic/lex.cpp (ARG1): Redefine. Update all users.
1424 (MAX_ARG): New macro. Use it everywhere to replace hard-coded
1425 limit of 9 arguments.
1426 (process_body): Handle argument numbers with more than a single
1428 (interpolate_macro_with_args): Protect against exceeding number of
1431 * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Document it.
1433 2006-12-10 Werner LEMBERG <wl@gnu.org>
1435 * Makefile.in (site.exp, docheck): Commented out. Not working
1437 (check): Just emit dummy message.
1439 2006-12-08 Werner LEMBERG <wl@gnu.org>
1441 During installation, create soft link from <version> to `current' in
1444 * Makefile.comm (install): Renamed to...
1446 (prefix_must_exist): Removed. Code moved to Makefile.in.
1448 * Makefile.in (TARGETS): Remove `install'.
1450 (install): New target which first creates the directory given by
1451 --prefix, then calling `make' to do the installation, and finishing
1452 with the creation of the soft link.
1454 2006-11-21 Werner LEMBERG <wl@gnu.org>
1456 * doc/Makefile.sub (uninstall_sub): Fix names for info files.
1458 2006-11-18 Werner LEMBERG <wl@gnu.org>
1460 * man/roff.man, doc/groff.texinfo: Improve history of roff, based on
1461 information from Tom Van Vleck <thvv@multicians.org>.
1463 2006-11-16 Werner LEMBERG <wl@gnu.org>
1465 * tmac/62bit.tmac: New macro package.
1466 * tmac/Makefile.sub (NORMALFILES): Add it.
1467 * NEWS: Document it.
1469 * tmac/trace.tmac: Protect against being loaded again.
1470 (nr): Always show result.
1472 * doc/groff.texinfo (Input Encodings): Document latin-5.
1474 * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
1476 2006-11-13 Werner LEMBERG <wl@gnu.org>
1478 * doc/groff.texinfo (Page Location Traps) [.wh]: Give more details
1479 on negative trap positions.
1481 2006-11-10 Werner LEMBERG <wl@gnu.org>
1483 * Makefile.comm (.man.n): Handle @DATASUBDIR@.
1485 2006-11-09 Werner LEMBERG <wl@gnu.org>
1487 * INSTALL: Move information about external installation from
1488 INSTALL.gen into this file.
1491 * INSTALL.gen: Update to new version (from texinfo CVS).
1493 2006-11-09 Bernd Warken
1495 * INSTALL.gen: Extend the file by information on `external
1496 installation'. Reorder the installation instruction as `normal
1499 2006-11-08 Werner LEMBERG <wl@gnu.org>
1501 * doc/Makefile.sub (install_data): Take care of proper paths while
1502 installing info files. Bug reported by Bernd Warken.
1504 2006-11-06 Bernd Warken
1506 * src/roff/grog/grog.pl: Rewrite.
1507 - Call by `#! /usr/bin/env perl'. That isn't replaced.
1508 - Rename usage() to version().
1510 - For `use strict', start all global variables with an upper case
1511 character. Use `my' for all variables. Use several new variables.
1513 - Add copyright to GPL and Emacs comment.
1514 - Handle several `-m*' options.
1515 - Fix handling of `-ms' and `-mm'. Add .TL and .NH.
1516 - Allow options after file names.
1517 - Allow only one `-' parameter (standard input).
1518 - Add option abbreviations.
1519 - Expand the usage information.
1521 - Add single quote "'" as additional first character and allow
1522 arbitrary space after the first character.
1524 * src/roff/grog/grog.sh: Rewrite.
1525 - Remove option `-e' of `sed'.
1526 - Allow file names with space characters.
1528 - Add copyright to GPL.
1529 - Handle several `-m*' options.
1530 - Fix handling of `-ms' and `-mm'. Add .TL and .NH.
1531 - Allow options after file names.
1532 - Allow only one `-' parameter (standard input).
1533 - Add option abbreviations.
1534 - Expand the usage information.
1536 - Add single quote "'" as additional first character and allow
1537 arbitrary space after the first character.
1539 * src/roff/grog/Makefile.sub:
1540 - Add copyright to GPL.
1541 - Remove `grog:'. Move `grog.old:' to `grog:' in order to have a
1542 fair chance to choose between the shell version and the Perl
1543 version of `grog'. This is now again comparable to grog in groff
1546 * src/roff/grog/grog.man: Rewrite.
1547 - Move the license to GPL.
1548 - New sections: OPTIONS, DETAILS, EXAMPLES, COPYING.
1549 - Take over some setup and macros from `groffer'.
1550 - Add information on options.
1552 2006-10-28 Werner LEMBERG <wl@gnu.org>
1554 * tmac/trace.tmac: Improve tracing of `.nr'.
1555 Trace `.substring' also.
1559 2006-10-28 Bernd Warken
1561 * man/roff.man, src/roff/groff/groff.man: Add `chem', fix position
1562 of groff development site, fix fonts.
1564 * News: Add information on `chem' and `groffer'.
1566 2006-10-26 Bernd Warken
1568 * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add `chem' bundle.
1570 2006-10-26 Werner LEMBERG <wl@gnu.org>
1572 Add `\$^' escape to handle the parameters to a macro as a string
1575 * src/roff/troff/input.h (DOUBLE_QUOTE): New special character.
1577 * src/roff/troff/input.cpp (input_iterator, input_stack,
1578 macro_iterator): Add `space_follows_arg' member function.
1579 (macro_iterator::add_arg): Add parameter to set the `space_follows'
1581 (arg_list): Add member `space_follows'.
1582 Update constructor and all callers.
1583 (decode_args): Store discarded double quotes.
1584 (interpolate_args): Handle DOUBLE_QUOTE.
1586 (get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE.
1588 * tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1.
1590 * docs/groff.texinfo (Parameters), man/groff.man,
1591 man/groff_diff.man, NEWS: Document it.
1593 2006-10-24 Bernd Warken
1595 * Makefile.in (NOMAKEDIRS): Add groffer subdirectories.
1597 2006-10-24 Werner LEMBERG <wl@gnu.org>
1599 * tmac/groff_trace.man: Mention problem with `\\\\'.
1601 2006-10-23 Werner LEMBERG <wl@gnu.org>
1603 * doc/groff.texinfo (Expressions): Improve documentation of `!'.
1605 * tmac/trace.tmac (return): Don't call `substring'.
1607 2006-09-10 Werner LEMBERG <wl@gnu.org>
1609 * src/roff/troff/input.cpp (read_size): Revert previous change
1612 * doc/groff.texinfo (Fractional Size Types): Clarify syntax of \s.
1614 2006-09-09 Werner LEMBERG <wl@gnu.org>
1616 * src/roff/troff/input.cpp (read_size): Fix `\s[-\n[.s]]' so that it
1617 behave the same as `\s-[\n[.s]]' (this is, emit a warning and set
1618 point size to 1). Reported by Gunnar Ritter.
1619 Also catch `\s-[-...]' and friends (causing an error).
1621 2006-09-06 Werner LEMBERG <wl@gnu.org>
1623 * src/roff/troff/env.cpp (environment::do_break): Insert zero-width
1624 space only if there is no previous space. This fixes a bug which
1625 caused unwanted filling of the last line in a paragraph. Thanks to
1626 Gunnar Ritter for an analysis.
1628 2006-09-03 Werner LEMBERG <wl@gnu.org>
1630 * src/roff/groff/groff.cpp (main): Pass -U flag to pic also.
1631 Reported by Jennifer Sayers <jenjen@isu.usyd.edu.au>.
1633 2006-09-01 Nick Stoughton <nick@msbit.com>
1634 Werner LEMBERG <wl@gnu.org>
1636 Add a request `pev' to print environment information (similar to
1637 `pnr' and `ptr' to print number registers and traps).
1639 * src/roff/troff/env.h (environment): Add member function print_env.
1641 * src/roff/troff/env.cpp: (environment::print_env): New function to
1642 print a given environment state.
1643 (print_env): New global function to iterate through the
1644 environments, printing each one.
1645 (init_env_requests): Register `pev'.
1647 * doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man,
1648 NEWS: Document `pev' request.
1650 2006-09-01 Bernd Warken
1652 * src/preproc/soelim/soelim.cpp (usage): Fix option argument of
1655 2006-09-01 Werner LEMBERG <wl@gnu.org>
1657 * src/preproc/pic/main.cpp (usage): Add missing options.
1659 2006-08-25 Werner LEMBERG <wl@gnu.org>
1661 * src/preproc/soelim/soelim.man: Document how to insert `\' and ` '
1664 2006-08-19 Werner LEMBERG <wl@gnu.org>
1666 * configure: Regenerated.
1668 2006-08-18 Keith Marshall <keith.d.marshall@ntlworld.com>
1670 * m4/groff.m4 (GROFF_MAKEINFO): Correct `makeinfo version testing
1671 logic; it previously caused an `expr' syntax error, if no version of
1672 `makinfo' was present. Also, remove dependency on `makeinfo' in VPATH
1673 builds, if an up to date `groff.info' is present in either `builddir'
1676 2006-08-12 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
1678 * font/devps/prologue.ps: Add BPhook.
1680 * src/devices/grops/grops.man: Document BPHook.
1681 Reorder some sections for better readability.
1683 2006-08-12 Werner LEMBERG <wl@gnu.org>
1685 * src/include/lib.h (getlocale): New macro.
1686 (setlocale, LC_ALL, LC_CTYPE) [!HAVE_SETLOCALE]: Define, as
1689 * src/preproc/preconv/preconv.cpp (main): Use getlocale.
1691 2006-08-11 Werner LEMBERG <wl@gnu.org>
1693 Add new flag to .cflags to enable hyphenation without looking at
1696 * src/roff/troff/charinfo.h (charinfo): New enumeration value
1698 New member function `ignore_hcodes'.
1700 * src/roff/troff/node.cpp (break_char_node::add_self,
1701 node::add_char): Updated.
1703 * doc/groff.texinfo, man/groff_diff.man, NEWS: Document it.
1705 2006-08-09 Werner LEMBERG <wl@gnu.org>
1707 Support composite Unicode characters again. Reported by Colin.
1709 * font/devhtml/R.proto: Renamed to...
1710 * font/devhtml/R.in: This.
1712 * font/devutf8/R.proto: Renamed to...
1713 * font/devutf8/R.in: This.
1716 * font/make-Rproto: New script.
1717 * font/devhtml/R.proto, font/devutf8/R.proto: Generated.
1719 2006-07-26 Werner LEMBERG <wl@gnu.org>
1721 * README: Fix description of CVS access. Reported by Joachim.
1723 2006-07-11 Werner LEMBERG <wl@gnu.org>
1725 Add a request `.fzoom' and a number register `.zoom' to magnify
1728 * src/include/font.h (font): Add member variable `zoom'.
1729 Add member functions `set_zoom' and `get_zoom'.
1730 Remove `static' attribute from `scale' member function.
1732 * src/libs/libgroff/font.cpp (font::font): Updated.
1733 (scale_round): New version with three parameters to handle zoom
1735 (font::scale, font::get_width): Handle zoom factor.
1736 (font::set_zoom, font::get_zoom): New functions.
1737 (font::load): Handle `zoom' while computing `space_width'.
1739 * src/roff/troff/env.h: Declare `env_get_zoom'.
1740 (environment): Add member function `get_zoom'.
1742 * src/roff/troff/env.cpp (environment::get_zoom): New function.
1743 (init_env_requests): Initialize `.zoom' register.
1745 * src/roff/troff/node.cpp (font_info): New member functions
1746 `set_zoom' and `get_zoom'.
1747 (tfont): New member function `get_zoom'.
1748 (env_get_zoom): New function.
1749 (troff_output_file::set_font): Handle zoom factor.
1750 (font_zoom_request): New function.
1751 (init_node_requests): Initialize `fzoom' request.
1753 * docs/groff.texinfo (Changing Fonts), man/groff.man,
1754 man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom'
1757 * src/roff/troff/TODO: Updated.
1759 2006-07-10 Werner LEMBERG <wl@gnu.org>
1761 * doc/groff.texinfo (Drawing Requests): Improve documentation of
1764 2006-07-02 Werner LEMBERG <wl@gnu.org>
1766 * man/groff_tmac.man: Document usage of .PSPIC within diversions.
1768 2006-07-01 Werner LEMBERG <wl@gnu.org>
1770 * tmac/pspic.tmac: Make .PSPIC work for all devices.
1771 Print image file name for devices which don't support PS image
1773 Handle multiple inclusions.
1774 Add lots of comments.
1776 * tmac/dvi.tmac, tmac/html.tmac, tmac/ps.tmac: Don't load
1779 * tmac/troffrc: Load pspic.tmac.
1781 * man/groff_tmac.man: Update .PSPIC documentation.
1785 2006-06-29 Werner LEMBERG <wl@gnu.org>
1787 * src/roff/troff/input.cpp (interpolate_macro):
1788 s/probably/possibly/, as suggested by Keith.
1790 2006-06-28 Werner LEMBERG <wl@gnu.org>
1792 Add support for \D'p...' to grotty.
1794 * src/devices/grotty/grotty.cpp (tty_printer::draw): Move most of
1796 (tty_printer::line): This function.
1797 (tty_printer::draw): Rewritten; just call either draw_line or
1799 (tty_printer::draw_line, tty_printer::draw_polygon): New functions.
1801 * src/devices/grotty/grotty.man, NEWS: Document it.
1803 2006-06-27 Werner LEMBERG <wl@gnu.org>
1805 * src/preproc/refer/command.h (have_bibliography): New variable
1808 * src/preproc/refer/command.cpp (bibliography_command): Set
1809 `have_bibliography'.
1811 * src/preproc/refer/refer.cpp: Initialize `have_bibliography'.
1812 (output_references): Emit warning only if `have_bibliography' is
1815 2006-06-15 Michail Vidiassov <master@iaas.msu.ru>
1817 * font/devps/Makefile.sub (DISTFILES): Add freeeuro.afm.
1818 * font/devps/generate/Makefile (clean): Don't remove symbolsl.afm
1821 2006-06-15 Werner LEMBERG <wl@gnu.org>
1823 * src/preproc/tbl/tbl.man: Document limitations of .TS/.TE within a
1824 macro (as suggested by Tadziu Hoffmann).
1826 2006-06-12 Werner LEMBERG <wl@gnu.org>
1828 * src/preproc/tbl/tbl.man: Add example for use of .TS/.TE within a
1829 macro (as suggested by Tadziu Hoffmann).
1831 2006-06-05 Werner LEMBERG <wl@gnu.org>
1833 * tmac/strip.sed: Strip `\#' also.
1835 * doc/groff.texinfo (Operators in Conditionals): Document usage of
1836 \? for string comparison.
1838 2006-06-04 Werner LEMBERG <wl@gnu.org>
1840 * doc/groff.texinfo: Add more index entries for copy-in mode.
1841 (Changing Fonts) <.ft>: Document that a font definition file must
1842 not be called `DESC'.
1844 2006-05-31 Werner LEMBERG <wl@gnu.org>
1846 * src/roff/troff/input.cpp (token::next) <\N>: Catch negative values
1849 * doc/Makefile.sub (EXAMPLEFILES): Move gnu.eps to...
1850 (PROCESSEDEXAMPLEFILES): Here.
1852 2006-05-30 Werner LEMBERG <wl@gnu.org>
1854 * src/libs/libgroff/font.cpp (font::load): Reject fonts called
1856 Reduce number of false positives for `.if F ...' conditionals.
1857 Improve warning messages.
1859 2006-05-29 Werner LEMBERG <wl@gnu.org>
1861 * tmac/Makefile.sub: Add copyright notice.
1862 (NORMALFILES): Add man.tmac and ms.tmac.
1863 (SPECIALFILES): Remove man.tmac and ms.tmac.
1864 (CLEANADD): Remove man.tmac-sed and ms.tmac-sed.
1865 (install_data, uninstall_sub): Don't handle man.tmac and ms.tmac
1867 (stamp-sed): Don't handle man.tmac and ms.tmac.
1868 Remove obsolete components in sed's regexp.
1870 * doc/Makefile.sub (EXAMPLEFILES): Add gnu.eps.
1872 * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add hdtbl.
1874 2006-05-28 Werner LEMBERG <wl@gnu.org>
1876 * doc/groff.texinfo (History): Correct death circumstances of Joe
1879 2006-05-27 Werner LEMBERG <wl@gnu.org>
1881 * tmac/an-old.tmac (an-do-tag): Simplify.
1883 2006-05-26 Werner LEMBERG <wl@gnu.org>
1885 * tmac/an-old.tmac (an-do-tag): Make margin characters work.
1886 (an-header, an-p-footer): Use named environment.
1888 * src/roff/troff/env.cpp (environment::copy): Copy margin character
1891 2006-05-21 Werner LEMBERG <wl@gnu.org>
1893 * tmac/trace.tmac (de1): Fix serious typo (.di -> .do) and minor
1896 2006-05-11 Keith Marshall <keith.d.marshall@ntlworld.com>
1898 * src/roff/groff/groff.man: Remove superfluous word `intermediate'.
1900 2006-05-10 Keith Marshall <keith.d.marshall@ntlworld.com>
1902 * src/roff/groff/groff.man: Update copyright notice.
1903 Improved wording to describe effect of `-Z' option.
1905 2006-05-06 Werner LEMBERG <wl@gnu.org>
1907 * tmac/www.tmac: Decorate `.ds' with trailing `\"' where missing.
1908 Normalize handling of `"' in arguments.
1909 (PIMG): Remove debug message.
1912 2006-05-05 Werner LEMBERG <wl@gnu.org>
1914 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Don't
1915 swallow character immediately after `\[...]'.
1918 2006-05-02 Gaius Mulley <gaius@glam.ac.uk>
1920 * tmac/www.tmac (PIMG): Fix the HTML device specific components.
1922 2006-05-02 Larry Kollar <kollar@alltel.net>
1924 * tmac/www.tmac (PIMG): Really default to `-C' if the alignment
1927 2006-04-30 Michail Vidiassov <master@iaas.msu.ru>
1929 * src/utils/afmtodit/afmtodit.pl: New option `-c' to add font
1930 information as a comment in output.
1931 * src/utils/afmtodit/afmtodit.man, NEWS: Document it.
1933 2006-04-26 Werner LEMBERG <wl@gnu.org>
1935 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
1936 Handle current_paragraph only if it is non-NULL.
1938 * src/libs/libdriver/input.cpp (parse_x_command <'F'>, do_file
1939 <'F'>): Use `get_extended_arg' to behave as documented. Reported by
1940 Bill Ward <william.a.ward.jr@erdc.usace.army.mil>.
1943 Surround the (pseudo) file name for the .pso request with `<' and
1946 * src/roff/troff/node.cpp (real_output_file, troff_output_file): Add
1947 second parameter to `really_put_filename' and `put_filename'.
1948 (troff_output_file::really_put_filename): Emit `<' and `>' around
1949 filename if second argument is set.
1950 * src/roff/troff/node.h: Updated.
1952 * src/roff/troff/input.cpp (file_iterator::file_iterator,
1953 file_iterator::set_location): Update to changes in node.cpp.
1955 2006-04-25 Tetsurou Okazaki <okazaki@FreeBSD.org>
1957 * src/preproc/preconv/preconv.cpp (do_file): Fix conditional
1958 preprocessor expression (I18N -> HAVE_ICONV).
1959 (main): Fix handling of option `-h'.
1960 Fix conditional preprocessor expression.
1962 2006-04-04 Werner LEMBERG <wl@gnu.org>
1964 Implement new number register `.br' which is set to 1 if a macro has
1965 been called as .foo and to 0 if called as 'bar. This is useful for
1966 -mtrace so that requests can be reliably traced too.
1968 * src/roff/troff/input.cpp (input_iterator): Add virtual function
1970 (macro_iterator): Add `with_break' member and `get_break_flag'
1972 Update constructors.
1973 (input_stack): Add function `get_break_flag'.
1974 (break_flag_reg): New number register class.
1975 (input_init_requests): Register `.br'.
1977 * src/roff/troff/TODO: Updated.
1979 * tmac/trace.tmac: s/!!sp/!!!sp/.
1980 Modify definitions of `de', `de1', `am', and `am1' to use \n[.br].
1982 * docs/groff.texinfo (Requests), man/groff.man, man/groff_diff.man,
1985 2006-03-29 Werner LEMBERG <wl@gnu.org>
1987 * src/devices/grops/ps.cpp: s/must not/should not/ in warning
1988 messages where appropriate.
1990 2006-03-28 Werner LEMBERG <wl@gnu.org>
1992 * configure.ac: Call AC_PROG_EGREP.
1993 * configure: Regenerated.
1995 * Makefile.in (EGREP): New variable.
1996 (MDEFINES): Add $(EGREP).
1998 * src/roff/grog/grog.sh: Treat .TH between .TS and .TE properly
1999 (bug reported by Robert Goulding <Goulding.2@nd.edu>).
2002 * src/roff/grog/Makefile.sub (grog, grog.old): Use $(EGREP).
2004 2006-03-27 Werner LEMBERG <wl@gnu.org>
2006 Add two requests `.device' and `.devicem' which are equivalent to
2007 `\X' and `\Y', respectively.
2009 * src/roff/troff/input.cpp (device_request, device_macro_request):
2011 (init_input_requests): Register them.
2013 * doc/groff.texinfo (Postprocessor Access), man/groff_diff.man,
2014 man/groff.man, NEWS: Document them.
2016 2006-03-27 Gaius Mulley <gaius@glam.ac.uk>
2018 * src/roff/troff/input.cpp (encode_char): Emit special characters
2019 for -Thtml as `\[...]'.
2020 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Updated.
2022 * doc/groff.texinfo (Postprocessor Access) <\X>: Updated.
2024 2006-03-27 Werner LEMBERG <wl@gnu.org>
2026 * tmac/Makefile.sub (NORMALFILES, SPECIALFILES): Add various missing
2029 2006-03-26 Werner LEMBERG <wl@gnu.org>
2031 * doc/groff.texinfo (Writing Macros): More documentation on
2032 end-of-macro symbol of `.de'.
2033 (Diversions): Minor addition to `.di' description.
2035 * src/devices/grops/grops.man: Some clarifications regarding
2036 insertion of PostScript snippets.
2038 2006-03-25 Michail Vidiassov <master@iaas.msu.ru>
2040 Add rules to generate `symbolsl.afm'.
2042 * font/devps/generate/zapfdr.sed,
2043 font/devps/generate/symbolsl.awk: New files.
2045 * font/devps/generate/Makefile (symbolfont, PRINTAFM): New
2047 (SS, clean): Updated.
2048 (freeeuro.afm): Use $(srcdir).
2049 (symbolsl.afm): New rule.
2050 (zapfdr.afm): Use zapfdr.sed.
2052 2006-03-22 Dwight Aplevich <aplevich@uwaterloo.ca>
2054 * src/preproc/pic/pic.y (expr <INT>): Fix code.
2056 2006-03-22 Jörgen Grahn <jgrahn@algonet.se>
2058 * tmac/sv.tmac: Add missing translations and activate support for
2059 other macro packages.
2061 2006-03-21 Francis GUDIN <fgudin@nerim.net>
2063 * tmac/doc-syms (Dx): New macro to identify DragonFly.
2064 (doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
2065 doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
2067 (doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
2068 doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
2069 doc-operating-system-DragonFly-*): New operating system strings.
2071 * tmac/groff_mdoc.man, NEWS: Document `Dx'.
2073 2006-03-21 Werner LEMBERG <wl@gnu.org>
2075 * src/preproc/pic/pic.y (object_spec THEN): For compatibility with
2076 both DWB pic and dpic, make
2084 line right then down;
2091 * doc/pic.ms: Document this.
2093 2006-03-20 Werner LEMBERG <wl@gnu.org>
2095 * doc/pic.ms: With permission of Eric Raymond, put it under the
2100 2006-03-19 Werner LEMBERG <wl@gnu.org>
2102 * src/preproc/pic/pic.y (expr <INT>): Really return integer part.
2104 * src/preproc/pic/objects.cpp (object_spec::make_line): Handle `at'
2105 attribute in combination with `with'. Bug reported by Jennifer
2106 Sayers <jenjen@mail.usyd.edu.au>.
2108 2006-03-19 Miklos Somogyi <msom@netspace.net.au>
2110 * doc/groff.texinfo (Manipulating Spacing): Improve documentation of
2113 2006-03-18 Werner LEMBERG <wl@gnu.org>
2115 * LICENSE: Renamed to...
2116 * LICENSES: This. Collect all licensing information in this file.
2117 * tmac/README, src/libs/snprintf/README: Removed.
2119 * src/devices/grops/grops.man: Add section how to install fonts.
2121 * src/utils/xtotroff/xtotroff.c: Add GPL.
2123 2006-03-17 Werner LEMBERG <wl@gnu.org>
2125 * Makefile.comm (.y.cpp): Fix #line arguments in output.
2127 2006-03-13 Werner LEMBERG <wl@gnu.org>
2129 * src/preproc/tbl/tbl.man: Mention default length of text blocks.
2131 * tmac/doc-common (Os): Add more Darwin versions.
2132 * tmac/groff_mdoc.man: Document them.
2134 * doc/groff.texinfo (Operators in Conditionals): Mention that `c'
2135 works with \N'...' also.
2136 * man/groff_diff.man: Ditto. Remove use of future tense where
2139 2006-03-12 Michail Vidiassov <master@iaas.msu.ru>
2141 * font/devps/generate/make-zapfdr, font/devps/symbolsl.ps,
2142 font/devps/zapfdr.ps: Add `%%EndComments' line.
2144 2006-03-10 Larry Kollar <kollar@alltel.net>
2146 * doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.
2148 2006-03-10 Werner LEMBERG <wl@gnu.org>
2150 * src/devices/grops/ps.cpp (ps_printer::do_exec, ps_printer::do_def,
2151 ps_printer::do_mdef): Overlong lines now cause a warning message,
2154 2006-03-09 Werner LEMBERG <wl@gnu.org>
2156 * font/devps/generate/make-zapfdr: New script for generating
2159 2006-03-08 Werner LEMBERG <wl@gnu.org>
2161 * doc/groff.css (pre): Fix `background-color' value.
2163 2006-03-04 Larry Kollar <kollar@alltel.net>
2165 * tmac/groff_ms.man: Document PT, HD, and BT.
2167 2006-03-04 Werner LEMBERG <wl@gnu.org>
2169 * src/roff/troff/node.cpp (make_glyph_node): Improve warning message
2170 for single-letter glyph names.
2172 2006-03-02 Werner LEMBERG <wl@gnu.org>
2174 * tmac/sv.tmac: New file; currently holding only the Swedish strings
2176 * tmac/hyphen.sv: New hyphenation pattern file for Swedish, taken
2178 * tmac/README: Updated.
2180 2006-02-27 Werner LEMBERG <wl@gnu.org>
2182 * tmac/trans.tmac (Liec, Letdate, Letns!14): Add it (for -mm).
2183 * tmac/fr.tmac: Add French translations.
2185 * tmac/composite.tmac: Add entry for `:'.
2187 2006-02-26 Werner LEMBERG <wl@gnu.org>
2189 * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable.
2191 (install_html, uninstall_sub): Updated.
2193 2006-02-26 Bruno Haible <bruno@clisp.org>
2195 Introduce Unicode fonts.
2197 * font/devhtml/DESC.proto: Mark as unicode.
2198 * font/devhtml/R.proto: Remove all charset entries that are already
2200 * font/devutf8/DESC.proto: Mark as unicode.
2201 * font/devutf8/R.proto: Remove all charset entries.
2202 * src/include/font.h (font): New static field `is_unicode'.
2203 Change order of fields.
2204 * src/libs/libgroff/font.cpp: Include unicode.h.
2205 (font::font): Update for changed order of fields.
2206 (font::contains, font::get_width, font::get_height, font::get_depth,
2207 font::get_italic_correction, font::get_left_italic_correction,
2208 font::get_subscript_correction, font::get_character_type,
2209 font::get_code, font::get_special_device_encoding): Handle both the
2210 explicitly enumerated glyphs and use general code for Unicode fonts.
2211 (font::load): Make the charset section optional when the font is
2213 (font::load_desc): Recognize the `unicode' attribute.
2214 * src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
2216 2006-02-26 Claudio Fontana <claudio@gnu.org>
2218 * Makefile.in: Add comment about DESTDIR.
2220 * Makefile.sub: Add DESTDIR to install and uninstall targets
2221 to support staged installations.
2222 * Makefile.comm: Likewise.
2223 * doc/Makefile.sub: Likewise.
2224 * contrib/eqn2graph/Makefile.sub: Likewise.
2225 * contrib/grap2graph/Makefile.sub: Likewise.
2226 * contrib/pic2graph/Makefile.sub: Likewise.
2227 * src/devices/xditview/Makefile.sub: Likewise.
2228 * src/preproc/eqn/Makefile.sub: Likewise.
2229 * src/roff/grog/Makefile.sub: Likewise.
2230 * src/roff/nroff/Makefile.sub: Likewise.
2231 * src/utils/afmtodit/Makefile.sub: Likewise.
2232 * src/utils/indxbib/Makefile.sub: Likewise.
2233 * tmac/Makefile.sub: Likewise.
2235 2006-02-24 Werner LEMBERG <wl@gnu.org>
2237 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
2239 Remove commented out entries for \' and \` (there are no such glyph
2242 * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
2243 commented out entries for \' and \`.
2246 * */*: s/legal/valid/ where appropriate.
2248 2006-06-23 Werner LEMBERG <wl@gnu.org>
2250 * font/devhtml/R.proto, font/devutf8/R.proto: Remove incorrect \'
2253 2006-02-22 Werner LEMBERG <wl@gnu.org>
2255 Remove all remaining traces from the `shc' glyph.
2257 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
2258 src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
2261 * font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc'
2262 entry with unnamed glyph.
2264 * tmac/html/tmac: Remove `shc' entry from call to `.cflags'.
2266 * src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD
2269 2006-02-22 Bruno Haible <bruno@clisp.org>
2271 Concretize the `glyph' datatype.
2273 * src/include/font.h (glyph): Remove class.
2274 (glyph): Renamed from struct `glyphinfo'.
2275 (glyph_to_index): New inline function.
2276 (glyph_to_name): Make extern, not inline.
2277 (glyph_to_number): Update.
2278 (font): Use `glyph *' instead of `glyph'.
2280 * src/libs/libgroff/nametoindex.cpp (charinfo): Inherit from class
2281 `glyph'. Make `name' field public.
2282 (character_indexer, number_to_glyph, name_to_glyph): Use `glyph *'
2284 (glyph_to_name): Renamed from `glyph::glyph_name'.
2286 * src/roff/troff/charinfo.h (charinfo): Inherit from class `glyph'.
2287 Use `glyph *' instead of `glyph'.
2289 * src/roff/troff/input.cpp (name_to_glyph, number_to_glyph): Use
2290 `glyph *' instead of `glyph'.
2291 (glyph_to_name): Renamed from `glyph::glyph_name'.
2293 * src/libs/libgroff/font.cpp: Use `glyph *' instead of `glyph',
2294 and `glyph_to_index' instead of `glyph::glyph_index'.
2296 * src/include/printer.h (printer): Use `glyph *' instead of `glyph'.
2297 * src/libs/libdriver/printer.cpp: Likewise.
2298 * src/devices/grodvi/dvi.cpp: Likewise.
2299 * src/devices/grohtml/post-html.cpp: Likewise.
2300 * src/devices/grolbp/lbp.cpp: Likewise.
2301 * src/devices/grolj4/lj4.cpp: Likewise.
2302 * src/devices/grops/ps.cpp: Likewise.
2303 * src/devices/grotty/tty.cpp: Likewise.
2305 2006-02-22 Werner LEMBERG <wl@gnu.org>
2307 * font/devdvi/generate/tc.map: Add `sr' glyph.
2308 * font/devdvi/*TC: Regenerated.
2310 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
2313 2006-02-21 Werner LEMBERG <wl@gnu.org>
2315 * man/groff_char.man: Explain `***' marker.
2317 2006-02-17 Bruno Haible <bruno@clisp.org>
2319 * src/libs/libgroff/nametoindex.cpp (character_indexer): Rename
2320 methods and fields from *_index to *_glyph.
2321 (character_indexer::named_char_glyph): Test for `charNNN' name
2323 (name_to_glyph): ... not here.
2325 2006-02-17 Bruno Haible <bruno@clisp.org>
2327 * src/include/font.h (name_to_glyph): Renamed from
2328 font::name_to_index.
2329 (number_to_glyph): Renamed from font::number_to_index.
2330 (glyph_to_name): Renamed from font::index_to_name.
2331 (glyph_to_number): Renamed from font::index_to_number.
2332 * src/libs/libgroff/nametoindex.cpp: Likewise.
2333 * src/roff/troff/charinfo.h (charinfo::as_glyph): Renamed from
2334 charinfo::get_index.
2336 * src/roff/troff/input.cpp: All callers changed.
2337 * src/roff/troff/node.cpp: Likewise.
2338 * src/libs/libgroff/font.cpp: Likewise.
2339 * src/devices/grops/ps.cpp: Likewise.
2340 * src/devices/grohtml/post-html.cpp: Likewise.
2341 * src/libs/libdriver/printer.cpp: Likewise.
2343 2006-02-17 Werner LEMBERG <wl@gnu.org>
2345 * src/include/ptable.h, src/include/itable.h
2346 (NEXT_PTABLE_SIZE_DEFINED): Use it to avoid multiple declaration
2347 of external symbol `next_ptable_size' (used by both header files).
2349 2006-02-15 Bruno Haible <bruno@clisp.org>
2351 * src/include/font.h (glyphinfo): New class.
2352 (glyph): Change internal representation.
2353 Change constructor signature.
2354 New method glyph::glyph_number().
2355 (glyph::glyph, glyph glyph::undefined_glyph, glyph::glyph_index,
2356 glyph::operator==, glyph::operator!=): Update.
2357 (font::index_to_name, font::index_to_number): New functions.
2359 * src/include/itable.h: New file, based on src/include/ptable.h.
2361 * src/libs/libgroff/nametoindex.cpp: Include itable.h.
2362 (class charinfo): New class.
2363 (class character_indexer): Change table result type from `int' to
2365 Add table with integer key.
2366 (character_indexer::character_indexer): Update.
2367 (character_indexer::ascii_char_index): Update.
2368 (character_indexer::numbered_char_index): Use NULL as name, not a
2369 string starting with a space.
2370 (character_indexer::named_char_index): Update.
2371 (font::number_to_index, font::name_to_index): Remove no-op cast.
2372 (glyph::glyph_name): New method.
2373 * src/roff/troff/charinfo.h (class charinfo): Inherit from class
2375 (NUMBERED): Remove flag bit.
2376 (charinfo::numbered, charinfo::get_index): Update.
2378 * src/roff/troff/input.cpp (charinfo::charinfo): Update.
2379 (charinfo::set_number, charinfo::get_number): Update.
2380 (glyph::glyph_name): New method.
2382 2006-02-15 Werner LEMBERG <wl@gnu.org>
2384 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Fix
2385 entries for `>>', `<<', `*f', and `+f'. Reported by Bruno.
2387 2006-02-13 Werner LEMBERG <wl@gnu.org>
2389 * font/devps/prologue.ps (RE): Check `UniqueID' also, similar to
2392 2006-02-11 Werner LEMBERG <wl@gnu.org>
2394 * src/include/font.h: s/glyph_t/glyph/.
2397 * src/devices/grotty/tty.cpp: s/glyph/tty_glyph/.
2398 s/output_character_t/output_character/.
2400 2006-02-11 Bruno Haible <bruno@clisp.org>
2402 New accessor method glyph_t::glyph_name().
2404 * src/include/ptable.h (declare_ptable): Add a return value to the
2405 `define' method, and declare a `lookupassoc' method.
2406 (implement_ptable): Return the stored key in `define'. Implement
2408 * src/include/font.h (glyph_t): Add `name' field. Add an argument
2410 (glyph_t::glyph_name): New method.
2412 * src/libs/libgroff/nametoindex.cpp (character_indexer): Change
2413 return type of methods and field member type to glyph_t.
2414 (character_indexer::character_indexer): Update.
2415 (character_indexer::ascii_char_index): Allocate a name for the
2417 Return a glyph_t with name.
2418 (character_indexer::numbered_char_index): Return a glyph_t without a
2420 (character_indexer::named_char_index): Return a glyph_t with a name.
2421 (font::number_to_index, font::name_to_index): Update.
2423 * src/roff/troff/input.cpp (charinfo::charinfo): Use the symbol as
2426 2006-02-11 Bruno Haible <bruno@clisp.org>
2428 * src/devices/grotty/tty.cpp (output_character_t): New type.
2429 (tty_printer::make_bold, tty_printer::add_char,
2430 tty_printer::put_char): Change argument type to output_character_t.
2431 (crossings): Change element type to output_character_t.
2433 2006-02-11 Bruno Haible <bruno@clisp.org>
2435 Make the glyph data type abstract.
2437 * src/include/font.h (glyph_t): New class.
2438 (name_to_index, number_to_index): Change return type to glyph_t.
2439 (font::contains, font::get_width, font::get_height, font::get_depth,
2440 font::get_character_type, font::get_kern, font::get_skew,
2441 font::get_italic_correction, font::get_left_italic_correction,
2442 font::get_subscript_correction, font::get_code,
2443 font::get_special_device_encoding, font::add_entry,
2444 font::copy_entry, font::add_kern, font::hash_kern): Change argument
2447 * src/libs/libgroff/font.cpp (font_kern_list): Change members
2448 type and constructor argument types to glyph_t.
2449 (font::contains, font::get_width, font::get_height, font::get_depth,
2450 font::get_character_type, font::get_kern, font::get_skew,
2451 font::get_italic_correction, font::get_left_italic_correction,
2452 font::get_subscript_correction, font::get_code,
2453 font::get_special_device_encoding, font::add_entry,
2454 font::copy_entry, font::add_kern, font::hash_kern): Change argument
2456 (font::load): Use glyph_t variables.
2458 * src/libs/libgroff/nametoindex.cpp (name_to_index,
2459 number_to_index): Change return type to glyph_t.
2461 * src/roff/troff/charinfo.h (charinfo::index): Change type to
2463 (charinfo::get_index): Change return type to glyph_t.
2465 * src/roff/troff/env.cpp: Include font.h.
2467 * src/roff/troff/node.cpp: Include font.h before charinfo.h.
2469 * src/roff/troff/input.cpp: Include font.h before charinfo.h.
2470 (charinfo::charinfo): Update.
2471 (name_to_index, number_to_index): Change return type to glyph_t.
2473 * src/include/printer.h (printer::set_char_and_width): Change return
2476 * src/libs/libdriver/printer.cpp (printer::set_char_and_width):
2477 Change return type to glyph_t.
2479 * src/devices/grodvi/dvi.cpp (dvi_printer::set_char): Change
2480 argument type to glyph_t.
2482 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Update.
2483 (html_printer::space_glyph): Renamed from space_char_index.
2484 (html_printer::add_to_sbuf, html_printer::sbuf_continuation,
2485 html_printer::overstrike, html_printer::set_char): Change argument
2487 (html_printer::set_char_and_width): Change return type to glyph_t.
2489 * src/devices/grolbp/lbp.cpp (lbp_printer::set_char): Change
2490 argument type to glyph_t.
2492 * src/devices/grolj4/lj4.cpp (lj4_printer::set_char): Change
2493 argument type to glyph_t.
2495 * src/devices/grops/ps.cpp (ps_printer::space_glyph): Renamed from
2497 (ps_printer::set_subencoding, ps_printer::set_char): Change argument
2500 * src/devices/grotty/tty.cpp (tty_printer::set_char): Change
2501 argument type to glyph_t.
2503 2006-02-11 Bruno Haible <bruno@clisp.org>
2505 * src/roff/troff/input.cpp (font::name_to_index): Never return a
2508 * src/libs/libgroff/font.cpp (font::load): Remove failure tests for
2509 font::name_to_index.
2511 2006-02-10 Werner LEMBERG <wl@gnu.org>
2513 * doc/groff.texinfo (Assigning Formats): Number registers are always
2515 Apply some rephrasing, contributed by Michael Burt.
2517 2006-02-07 Werner LEMBERG <wl@gnu.org>
2519 * tmac/fr.tmac <ms>: Set `HY' register.
2521 2006-02-07 Werner LEMBERG <wl@gnu.org>
2523 Add framework for simple adaptation of the main macro packages (mm,
2524 me, ms, mom) to different locales. In particular, add support for
2525 French. For activation, simply use `-mfr' as the last macro
2526 package. This feature has been contributed by Fabrice Ménard
2527 <menard.fabrice@wanadoo.fr>.
2529 * tmac/fr.tmac, tmac/trans.tmac, tmac/hyphen.fr, tmac/LOCALIZATION:
2531 * tmac/README: Mention hyphen.fr.
2532 * man/groff_tmac.man: Mention fr.tmac.
2535 2006-01-27 Werner LEMBERG <wl@gnu.org>
2537 * man/groff_font.man: Updated documentation of `entity_name' field.
2540 2006-01-27 Bruno Haible <bruno@clisp.org>
2542 * font/devhtml/R.proto: Remove the entity names from the font's
2543 special_encoding_encoding column.
2544 * src/devices/grohtml/post-html.cpp (get_html_entity): New function,
2545 handling the entity names here.
2546 (get_html_translation): Use it. Change return type to `const
2548 (page::add_and_encode): Update, removing a useless cast.
2550 2006-01-26 Werner LEMBERG <wl@gnu.org>
2552 This change is based on a patch by Bruno Haible <bruno@clisp.org>.
2554 * src/include/device.h: Add comments.
2555 * src/include/font.h: Add comments.
2556 * src/include/unicode.h: Likewise.
2557 * src/include/ptable.h, src/libs/libgroff/ptable.cpp: Likewise.
2559 2006-01-26 Keith Marshall <keith.d.marshall@ntlworld.com>
2561 Suppress `.st' request emission by `grn'.
2563 * src/preproc/grn/main.cpp (USE_ST_REQUEST): New macro.
2566 2006-01-22 Werner LEMBERG <wl@gnu.org>
2568 * install-sh: New version; taken from texinfo CVS.
2570 2006-01-21 Werner LEMBERG <wl@gnu.org>
2572 * src/preproc/preconv/preconv.cpp (main): Set program_name. Bug
2573 reported by Alexander E. Patrakov <patrakov@ums.usu.ru>.
2575 2006-01-19 Bruno Haible <bruno@clisp.org>
2577 Let `make -k install' install more files.
2579 * Makefile.in (MAKE_K_FLAG): New variable. Use it everywhere where
2580 $(MAKE) and $(MDEFINES) are used.
2581 (CPROGDIRS): Remove $(XPROGDIRS). Treat $(XPROGDIRS) like
2582 $(CPROGDIRS) everywhere.
2583 ($(DEVDIRS) $(XDEVDIRS) $(OTHERDEVDIRS) $(TTYDEVDIRS)): Don't depend
2585 ($(OTHERDIRS)): Likewise.
2588 * src/devices/grohtml/post-html.cpp (get_html_translation): Remove
2589 failure test for font::name_to_index -- it can never fail.
2591 2006-01-19 Werner LEMBERG <wl@gnu.org>
2593 * src/devices/grops/grops.man: Fix section on creating EPS files.
2594 Don't use future time in manual.
2597 2006-01-15 Gaius Mulley <gaius@glam.ac.uk>
2599 * tmac/www.tmac: New macro LINKSTYLE which allows users to set
2600 various typographical URL attributes for non-HTML devices.
2602 * tmac/groff_www.man: Document LINKSTYLE.
2604 2006-01-11 Werner LEMBERG <wl@gnu.org>
2606 * configure.ac: Test for getc_unlocked (needed for localcharset).
2607 * configure, src/include/config.hin: Regenerated.
2609 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Define
2612 * src/libs/libgroff/relocatable.h: New dummy header file for
2615 * src/libs/libgroff/localcharset.c: Updated to (unchanged) CVS
2618 2006-01-10 Bruno Haible <bruno@clisp.org>
2620 Work around unportability of nl_langinfo(CODESET).
2622 * m4/glibc21.m4: New file, from gnulib.
2623 * Makefile.sub (M4MACROS): Add m4/glibc21.m4.
2624 * configure.ac: Also test for stddef.h, and invoke jm_GLIBC21.
2625 * Makefile.in (HOST, GLIBC21): New variables.
2626 (MDEFINES): Pass them to subdirectories.
2627 * src/include/relocate.h (relocatep): Define with C linkage.
2628 * src/include/localcharset.h: New file, from gnulib.
2629 * src/libs/libgroff/localcharset.c: New file, from gnulib with a
2630 modification for relocate().
2631 * src/libs/libgroff/config.charset: New file, from gnulib.
2632 * src/libs/libgroff/ref-add.sin: New file, from gnulib.
2633 * src/libs/libgroff/ref-del.sin: New file, from gnulib.
2634 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Also define LIBDIR.
2635 (OBJS): Add localcharset.o.
2636 (CSRCS): Add localcharset.c.
2637 (all): Add dependencies to charset.alias, ref-add.sed, ref-del.sed.
2638 (charset.alias): New rule.
2639 (PACKAGE): New variable.
2640 (ref-add.sed, ref-del.sed): New rules.
2641 (MKINSTALLDIRS): New variable.
2642 (install_data): Depend on install_charset_data.
2643 (install_charset_data): New rule for creating or updating
2645 (uninstall_sub): Depend on uninstall_charset_data.
2646 (uninstall_charset_data): New rule for uninstalling or updating
2648 * src/preproc/preconv/preconv.cpp: Include localcharset.h instead
2650 (main): Initialize default_encoding from locale_charset() instead of
2651 nl_langinfo(CODESET).
2653 * aclocal.m4, configure, src/include/config.hin: Regenerated.
2655 2006-01-10 Werner LEMBERG <wl@gnu.org>
2657 * src/preproc/preconv/preconv.cpp (conversion_iconv): Use
2658 ICONV_CONST in call to iconv. Reported by Robert Goulding.
2660 2006-01-07 Werner LEMBERG <wl@gnu.org>
2662 * font/devps/generate/freeeuro.sfd: Run auto-hinter with recent
2664 Bump font version to 001.001.
2666 * font/devps/generate/Makefile (freeeuro.afm, freeeuro.pfa):
2667 Call fontforge, not pfaedit.
2669 * font/devps/freeeuro.afm, font/devps/freeeuro.pfa: Regenerated.
2671 2006-01-05 Ruslan Ermilov <ru@FreeBSD.org>
2673 * tmac/doc-common: Add new FreeBSD and NetBSD versions.
2674 * tmac/groff_mdoc.man: Updated.
2676 2006-01-05 Werner LEMBERG <wl@gnu.org>
2678 * src/preproc/preconv/preconv.cpp: s/debug/debug_flag/.
2679 (raw_flag): New global variable.
2680 (do_file): Use .lf to set file name (if `raw_flag' isn't set).
2681 Don't pass BOM to `conversion_utf8'.
2683 (main): Handle `-r' command line switch to set `raw_flag'.
2684 (get_BOM): Fix encodings in `BOM_table'.
2686 * src/preproc/preconv/preconv.man: New file. Not complete yet.
2687 * src/preproc/proconv/Makefile.sub (MAN1): New variable.
2689 2006-01-04 Werner LEMBERG <wl@gnu.org>
2691 * src/preproc/preconv/preconv.cpp (emacs_to_mime): As suggested by
2692 Bruno, comment out most encodings to support only a small set of
2693 coding tags, thus reducing potential problems with legacy encodings
2694 and character sets in the future.
2695 Add many XEmacs coding tags (now commented out).
2697 (check_encoding_tag): Renamed to...
2698 (check_coding_tag): This.
2699 (get_BOM): Return encoding as specified by BOM.
2700 Test for UTF32-LE too.
2701 (do_file): Don't check for coding tag if a BOM has been found.
2703 2006-01-03 Bruno Haible <bruno@clisp.org>
2705 * m4/groff.m4: Renamed from aclocal.m4.
2706 * m4/codeset.m4: New file, from gnulib.
2707 * m4/iconv.m4: New file, from gnulib.
2708 * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
2710 * config.rpath: New file, from gnulib.
2711 * config.guess, config.sub: New files, from gnulib.
2712 * Makefile.sub (M4MACROS): New variable.
2713 (configure): Fix typo.
2714 (aclocal.m4): New rule.
2715 (stamp-h.in): Depend on aclocal.m4.
2716 * configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET.
2717 * Makefile.in (LIBICONV): New variable.
2718 (MDEFINES): Pass it to recursive makes.
2719 * src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and
2720 HAVE_ICONV instead of I18N macro.
2721 * src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable.
2723 * aclocal.m4, configure, src/include/config.hin: (Re)generated.
2725 2006-01-03 Werner LEMBERG <wl@gnu.org>
2727 * doc/Makefile.in (webpage.html): Simplify.
2728 * doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in.
2729 * doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
2731 2006-01-01 Werner LEMBERG <wl@gnu.org>
2733 * tmac/doc-common (Os): Add some Darwin versions.
2734 * tmac/groff_mdoc.man: Document them.
2736 2006-01-01 Bruno Haible <bruno@clisp.org>
2738 * src/preproc/preconv/preconv.cpp (emacs_to_mime): Various
2740 . Don't map ascii to latin-1.
2741 . Don't use IBMxxx encodings but cpxxx for portability.
2742 . Map cp932, cp936, cp949, cp950 to itself.
2743 (emacs2mime): Protect calls to strcasecmp.
2744 (conversion_iconv): Add missing call to iconv_close.
2745 (do_file): Emit error message in case of unsupported encoding.
2747 2005-12-31 Werner LEMBERG <wl@gnu.org>
2749 Integrate preconv into the groff binary. Changes based on a patch
2750 from Michail Vidiassov.
2752 * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase by 1.
2754 * src/roff/groff/groff.cpp (PRECONV_INDEX): New macro.
2755 (SOELIM_INDEX): Updated.
2756 (help, synopsis): Updated.
2757 (main): Add command line options `-k' and `-K enc' to select
2759 Add support for GROFF_ENCODING environment variable.
2761 * src/roff/groff/groff.man: Updated and revised.
2764 Start with autoconf support for preconv.
2766 * configure.ac: Call AC_C_BIGENDIAN.
2767 * configure, src/include/config.hin: Regenerated.
2769 2005-12-30 Werner LEMBERG <wl@gnu.org>
2771 New preprocessor `preconv' to convert input encodings to something
2772 groff can understand. Not yet integrated within groff. Proper
2773 autoconf stuff is missing too.
2775 Tomohiro Kubota has written a first draft of this program, and some
2776 ideas have been reused (while almost no code has been taken
2779 * src/preproc/preconv/preconv.cpp. src/preproc/preconv/Makefile.sub:
2782 * MANIFEST, Makefile.in (CCPROGDIRS), test-groff.in
2783 (GROFF_BIN_PATH): Add preconv.
2785 2005-12-12 Werner LEMBERG <wl@gnu.org>
2787 * aclocal.m4 (GROFF_MAKEINFO): Fix regexps to be POSIX conformant.
2788 In particular, don't use `\+' since it is a GNU sed extension.
2790 * configure: Regenerated.
2792 2005-12-09 Werner LEMBERG <wl@gnu.org>
2794 * src/libs/libgroff/make-uniuni: New script to generate uniuni.cpp.
2796 * src/libs/libgroff/uniuni.cpp: Regenerated, using data from Unicode
2800 * src/utils/afmtodit/make-afmtodit-tables: New script to generate
2803 * src/utils/afmtodit/afmtodit.tables: New file, representing Unicode
2806 * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
2807 %AGL_to_unicode): Removed. Replace it with a tag.
2809 * src/utils/afmtodit/Makefile.sub (afmtodit): Adjust sed expression
2810 to replace tag with actual file contents.
2812 2005-12-08 Werner LEMBERG <wl@gnu.org>
2814 The change 2005-06-20 can indeed cause problems, so we follow the
2815 advice by using marks.
2817 * font/devps/prologue.ps (PBEGIN): Use `mark'.
2818 (PEND): Use `cleartomark'.
2820 2005-12-07 Michail Vidiassov <master@iaas.msu.ru>
2822 * src/utils/afmtodit.pl: Fix kerning output to avoid warnings for
2823 glyphs which have kern values but aren't handled (glyph variants,
2826 2005-12-02 Werner LEMBERG <wl@gnu.org>
2828 * src/devices/grops/ps.cpp (ps_printer::get_subfont): Use correct
2829 subfont index. Reported by Michail Vidiassov <master@iaas.msu.ru>.
2831 2005-11-28 Gaius Mulley <gaius@glam.ac.uk>
2833 * doc/Makefile.in: Separate rule for webpage.html so that extra
2834 command line options can be passed to grohtml.
2835 * doc/groff.css: Change all margins to 0%.
2836 * doc/webpage.ms: Now use new macros ALN, LNS, and LNE so that left
2837 navigation is exploited. Also update webpage to contain new
2838 sections on licenses, mailing lists, cvs/ftp access, groff
2839 dependencies, and bug reports.
2840 * tmac/groff_www.man: Document the new macros ALN, LNS, and LNE.
2841 * tmac/www.tmac: Implement the new macros ALN, LNS, and LNE.
2843 2005-11-25 Gaius Mulley <gaius@glam.ac.uk>
2845 * src/devices/grohtml/post-html.cpp
2846 (html_printer::do_file_components): Add fputs calls to emit the
2847 head contents and shut down the head tag whenever a new file
2848 component is generated.
2850 2005-11-22 Gaius Mulley <gaius@glam.ac.uk>
2852 * src/devices/grohtml/post-html.cpp (html_printer::flush_page): Add
2853 call to flush_text to flush any outstanding html tags on the
2856 2005-11-18 Werner LEMBERG <wl@gnu.org>
2858 * aclocal.m4 (GROFF_MAKEINFO): Use `groff.info' in tests.
2859 Announce makeinfo version.
2860 * configure: Regenerated.
2862 2005-11-18 Mike Frysinger <vapier@gentoo.org>
2864 * Makefile.in: Declare proper dependencies between make targets.
2866 * doc/Makefile.in: Rename groff info page to `groff.info'.
2867 * doc/Makefile.sub: Likewise.
2868 * doc/groff.texinfo: Likewise.
2870 2005-11-17 Peter O'Gorman <mlists@thewrittenword.com>
2872 * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c: Move
2873 definition of __GETOPT_PREFIX to the beginning of file to ensure
2874 that it is defined even on platforms where getopt.h is already
2875 included by other header files.
2877 2005-11-10 Gaius Mulley <gaius@glam.ac.uk>
2879 * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
2880 Reset font to NULL to ensure that a font block is recreated during
2883 2005-11-04 Werner LEMBERG <wl@gnu.org>
2885 * aclocal.m4 (GROFF_MAKEINFO): Fix sed expression.
2886 * configure: Regenerated.
2888 2005-10-27 Werner LEMBERG <wl@gnu.org>
2890 * aclocal.m4 (GROFF_MAKEINFO): New function for checking whether
2891 makeinfo 4.8 or newer is available.
2892 * configure.ac: Call GROFF_MAKEINFO.
2893 * configure: Regenerated.
2895 * Makefile.in (MAKEINFO): Use autoconf variable.
2896 (MDEFINES): Add MAKEINFO.
2898 * doc/Makefile.in (MAKEINFO): Use autoconf variable.
2899 * doc/Makefile.sub (MAKEINFO): Remove.
2901 2005-10-26 Werner LEMBERG <wl@gnu.org>
2903 * REVISION: Set to 3.
2905 2005-10-17 Werner LEMBERG <wl@gnu.org>
2907 Mention $MANPAGER variable used with some `man' systems.
2909 * doc/webpage.ms, src/devices/grotty/grotty.man, NEWS: Updated.
2911 2005-09-13 Werner LEMBERG <wl@gnu.org>
2913 * tmac/hyphenex.us: New version (`ushyphex.tex' from ftp.dante.de).
2915 2005-09-04 Werner LEMBERG <wl@gnu.org>
2917 Version 1.19.2 released
2918 =======================
2920 * tmac/groff_ms.man, doc/groff.texinfo: Synchronize.
2922 * doc/webpage.ms: Updated.
2924 * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
2926 2005-09-04 Jörgen Grahn <jgrahn@algonet.se>
2928 * tmac/groff_ms.man: Document `PO' better.
2930 2005-09-03 Werner LEMBERG <wl@gnu.org>
2932 * NEWS: Document grotty changes.
2934 2005-09-01 Keith Marshall <keith.d.marshall@ntlworld.com>
2936 Backward compatibility support for `man' program.
2938 * tmac/an-old.tmac (LL): Initialize it to respect prior LL register
2939 assignment, prior `.ll' request and then package defaults, in this
2940 specified order of decreasing priority.
2942 * tmac/groff_man.man, doc/groff.texinfo (Man options): Document
2943 altered `LL' register initialization priorities.
2945 2005-08-29 Gary W. Swearingen <garys@opusnet.com>
2947 * tmac/groff_mdoc.man: Go into more details how the `AUTHORS'
2948 section should look like.
2950 2005-08-29 Werner LEMBERG <wl@gnu.org>
2952 * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't
2955 2005-08-27 Bernd Warken
2957 * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor
2960 2005-08-11 Bernd Warken
2962 * tmac/www.tmac (URL, MTO): Handle empty \\$1 better.
2964 2005-08-09 Bernd Warken
2966 * tmac/www.tmac (URL, MTO): Use bold series if color support is
2969 2005-08-02 Bernd Warken
2971 * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete
2972 as argument to $(INSTALL_INFO). The latter isn't portable.
2973 Remove $(HTMLEXAMPLEFILES) too.
2975 * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and
2977 Suppress warning messages and return always true.
2979 * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too.
2981 2005-07-02 Bernd Warken
2983 * src/devices/xditview/gxditview.man: Change many `.I' to `.B'.
2984 * man/groff_out.man: More markup and minor improvements.
2985 * src/roff/groff/groff.man: Minor improvements.
2987 2005-06-28 Werner LEMBERG <wl@gnu.org>
2989 * ChangeLog: Split off older entries into...
2990 * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New
2993 2005-06-26 Bernd Warken
2995 * src/devices/xditview/gxditview.man: More minor fixes.
2997 2005-06-24 Werner LEMBERG <wl@gnu.org>
2999 * src/preproc/pic/troff.cpp (troff_output::set_fill,
3000 troff_output::set_color, troff_output::reset_color): Use .bcolor and
3001 .fcolor instead of \m and \M, respectively.
3003 2005-06-23 Bernd Warken
3005 * src/devices/xditview/gxditview.man: More minor fixes.
3006 * README: Formatting issues.
3007 Mention some problems with Debian.
3009 2005-06-23 Bernd Warken
3011 * src/devices/xditview/gxditview.man: Revised and improved.
3013 2005-06-22 Werner LEMBERG <wl@gnu.org>
3015 Another round in fixing getopt problems. Hopefully the last one!
3016 This time we use the getopt stuff from gnulib and define a prefix
3017 unconditionally so that there are no collisions with any other
3018 getopt implementations. This is a slight waste of space in case
3019 we already use a GNU getopt implementation, but on
3020 the other hand it really simplifies life.
3022 * src/include/getopt.h: Use gnulib version.
3024 * src/include/getopt_int.h: Use gnulib version.
3026 * src/include/groff-getopt.h: Removed. Obsolete now.
3028 * src/include/lib.h: Regarding getopt, don't handle any platform
3029 specially; just include getopt.h.
3030 (__GETOPT_PREFIX): Define (before getopt.h).
3032 * src/include/Makefile.sub (HDRS): Updated.
3034 * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use
3037 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set
3040 * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c
3041 (__GETOPT_PREFIX): Define (before getopt.h).
3043 2005-06-21 Werner LEMBERG <wl@gnu.org>
3045 * src/include/lib.h: Provide a fix for Mac OS X to not include
3048 2005-06-20 Denis M. Wilson <dmw@oxytropis.plus.com>
3050 * font/devps/prologue.ps (EP): Dont' use `bind'. Reason: Using
3051 `bind' to define a procedure which contains `showpage' means that an
3052 invocation of `showpage' may execute wrongly (the exact effect
3053 depending on the interpreter). Not usually a problem except under
3054 transformations, such as combining pages.
3055 (PEND): Don't call `clear'. Reason: Using `clear' in the definition
3056 of /PEND means that stack underflow will occur if the stack is
3057 deliberately non-empty before document inclusion. If included
3058 files are found to be generally badly behaved, we could replace the
3059 `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've
3060 never found this necessary).
3062 2005-06-20 Jörgen Grahn <jgrahn@algonet.se>
3064 * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero
3065 earlier to get correct error message.
3067 2005-06-16 Bernd Warken
3068 * src/roff/nroff/nroff.sh: Add support for iso-8859-15.
3070 2005-06-15 Werner LEMBERG <wl@gnu.org>
3072 Another try to update getopt files. This time we add a dummy
3073 gettext.h file to satisfy the dependency.
3075 * src/include/getopt.h, src/libs/libgroff/getopt.c,
3076 src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
3078 * src/include/getopt_int.h: New file (from GNU libc CVS).
3080 * src/include/gettext.h: Dummy file which just defines a gettext()
3083 * src/include/groff-getopt.h: Updated.
3085 * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h.
3088 * src/libs/libdriver/input.cpp (IntArray): Remove superfluous
3089 `const' keywords in return value.
3091 * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer):
3092 Remove redundant variable `old'.
3093 (pushBackBuffer::skipToNewline): Remove redundant variable `ch'.
3095 * src/preproc/tbl/main.cpp (process_table): Remove redundant
3099 Fix more friend name injection problems since modern C++ compilers
3100 fail otherwise. We simply provide (global) declarations for all
3101 functions declared as friends. This is not really necessary but
3104 * src/preproc/eqn/lex.cpp: Provide declarations for get_char,
3105 peek_char, and get_location.
3107 * src/preproc/refer/ref.h: Provide declarations for
3108 compare_reference, same_reference, same_year, same_date,
3109 same_author_last_name, and same_author_name.
3111 * src/roff/troff/div.h: Provide declarations for do_divert and
3114 * src/roff/troff/env.h: Provide declarations for title_length,
3115 space_size, fill, no_fill, adjust, no_adjust, center, right_justify,
3116 vertical_spacing, post_vertical_spacing, line_spacing, line_length,
3117 indent, temporary_indent, do_underline, do_input_trap, set_tabs,
3118 margin_character, no_number, number_lines, leader_character,
3119 tab_character, hyphenate_request, no_hyphenate,
3120 hyphen_line_max_request, hyphenation_space_request,
3121 hyphenation_margin_request, line_width, tabs_save, tabs_restore,
3122 line_tabs_request, widow_control_request, and do_divert.
3124 * src/roff/troff/input.cpp: Provide declaration for chop_macro.
3126 * src/roff/troff/node.cpp: Provide declarations for class
3128 Provide declaration for make_tfont.
3130 2005-05-29 Werner LEMBERG <wl@gnu.org>
3132 * doc/fdl.texi: Updated to version 1.2. Reported by Bernd Warken.
3134 2005-05-28 Werner LEMBERG <wl@gnu.org>
3136 * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove
3137 redundant semicolons.
3139 * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub,
3140 src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub:
3141 Define `MLIB'. Some compilers need this for linking with libgroff.
3143 2005-05-27 Werner LEMBERG <wl@gnu.org>
3145 * MANIFEST, README, doc/webpage.ms: Updated.
3147 2005-05-26 Werner LEMBERG <wl@gnu.org>
3149 * All affected files: Update postal address of FSF.
3151 2005-05-25 Keith Marshall <keith.d.marshall@ntlworld.com>
3154 * README: More fixes.
3156 * README.CVS: Removed. Its contents is now part of the README file.
3158 2005-05-21 Werner LEMBERG <wl@gnu.org>
3160 * README: Updated. Based on a patch from Bernd Warken.
3162 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
3164 Miscellaneous script portability enhancements.
3166 * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
3167 generated conftest.sh script, conforming to portability
3168 recommendation in autoconf docs.
3169 * configure: Likewise, for code generated by GROFF_CSH_HACK.
3170 * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
3171 to portability recommendation in autoconf docs.
3172 * contrib/grap2graph/grap2graph.sh: Likewise.
3173 * contrib/pic2graph/pic2graph.sh: Likewise.
3174 * font/devps/generate/afmname: Likewise.
3175 * src/devices/xditview/ad2c: Likewise.
3176 * src/preproc/eqn/neqn.sh: Likewise.
3177 * src/roff/grog/grog.pl: Likewise.
3178 * src/roff/grog/grog.sh: Likewise.
3179 * src/roff/nroff/nroff.sh: Likewise.
3180 * PROBLEMS: Likewise, in embedded script examples.
3182 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
3184 Improve portability of `pdfroff' shell script.
3186 * arch/misc/shdeps.sh: Add space in shebang, conforming to
3187 portability guidelines in `autoconf' docs.
3188 (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
3189 initialization code. Used by contrib/pdfmark/pdfroff.sh's
3190 `searchpath' function.
3192 2005-05-14 Werner LEMBERG <wl@gnu.org>
3194 * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
3195 contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
3196 needed for newer ImageMagick versions.
3198 2005-05-07 Werner LEMBERG <wl@gnu.org>
3200 * src/preproc/refer/refer.man: Many small typographic fixes.
3202 2005-05-06 Jeff Conrad <jeff_conrad@msn.com>
3204 * src/devices/grohtml/post-html.cpp (assert_state::~assert_state):
3205 Use `char *' cast for a_delete.
3207 2005-05-03 Werner LEMBERG <wl@gnu.org>
3209 * src/libs/libgroff/maxpathname.cpp: Include stdlib.h.
3210 src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
3212 2005-05-03 Jeff Conrad <jeff_conrad@msn.com>
3214 * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using
3215 `a_delete' for `const char *'.
3217 2005-05-03 Werner LEMBERG <wl@gnu.org>
3219 * src/devices/grohtml/post-html.cpp,
3220 src/devices/grohtml/html-table.cpp,
3221 src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp:
3222 Replace malloc/free with new/delete/a_delete.
3224 * src/devices/grolbp/lbp.h: Remove superfluous semicolons which
3225 are prohibited with ANSI C++.
3226 (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the
3227 function has a variable number of arguments).
3229 * src/preproc/grn/main.cpp (doinput): Change return type to `int'.
3230 Simplify function and update all callers.
3232 2005-05-02 Werner LEMBERG <wl@gnu.org>
3234 Undo getopt changes from 2005-04-30. We don't want a dependency
3237 * src/include/getopt_int.h: Removed.
3239 * src/include/getopt.h, src/include/groff-getopt.h,
3240 src/include/Makefile.sub, src/libs/libgroff/getopt.c,
3241 src/libs/libgroff/getopt1.c: Revert to previous version.
3244 * src/include/nonposix.h (access) [_MSC_VER]: New macro.
3246 * src/include/posix.h (F_OK): Define conditionally.
3248 * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
3249 different variable name in second `for' loop to avoid MSVC compiler
3252 2005-04-30 Werner LEMBERG <wl@gnu.org>
3254 AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
3256 * aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
3257 * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
3258 * configure, src/include/config.hin: Regenerated.
3260 * PROBLEMS: Updated.
3263 Update getopt files.
3265 * src/include/getopt.h, src/libs/libgroff/getopt.c,
3266 src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
3268 * src/include/getopt_int.h: New file (from GNU libc CVS).
3270 * src/include/groff-getopt.h: Updated.
3272 * src/include/Makefile.sub (HDRS): Add getopt_int.h.
3275 * font/devutf8/NOTES: Updated.
3277 2005-04-28 Werner LEMBERG <wl@gnu.org>
3279 Bug fix for Win32 relocatable code. Based on a patch from Keith
3282 * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
3285 * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
3286 (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
3288 2005-04-28 Keith Marshall <keith.d.marshall@ntlworld.com>
3290 Correct `gnu.eps' handling for build from distribution tarball, with
3291 separate source and build directories.
3293 * doc/Makefile.sub: (examples.stamp): New target; forces copy of
3294 grnexmpl.g, groff.css and gnu.eps from source to build directory;
3295 generate gnu.eps from gnu.xpm if required; touch examples.stamp.
3296 (prepare_examples): Make it depend on examples.stamp.
3297 (CLEANADD): Add examples.stamp.
3299 2005-04-27 Werner LEMBERG <wl@gnu.org>
3303 position: `(' position `)'
3307 * src/preproc/pic/pic.y (position, position_not_place): Handle
3308 additional parentheses.
3310 * doc/pic.ms: Updated.
3312 2005-04-23 Larry Jones <lawrence.jones@ugs.com>
3314 * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
3316 2005-04-18 Werner LEMBERG <wl@gnu.org>
3318 * src/roff/groff/pipeline.c: Don't include ctype.h.
3320 2005-04-13 Werner LEMBERG <wl@gnu.org>
3322 * src/roff/nroff/nroff.man: Document option `-M'.
3324 2005-04-13 Bruce Lilly <blilly@erols.com>
3326 * src/roff/nroff/nroff.sh: Make the script accept option `-M'.
3328 2005-04-01 Kees Zeelenberg <kzlg@users.sourceforge.net>
3329 Werner LEMBERG <wl@gnu.org>
3331 Add binary relocation support for Windows platforms.
3333 * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'.
3335 * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files.
3337 * src/libs/libgroff/searchpath.cpp: Handle `relocate'.
3338 (search_path::search_path, search_path::open_file_cautious): Use
3341 * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
3342 src/include/Makefile.sub (HDRS): Updated.
3344 2005-04-01 Werner LEMBERG <wl@gnu.org>
3346 * src/devices/grohtml/post-html.cpp: Don't use strdup/free but
3349 * src/libs/libgroff/font.cpp: Replace strdup with strsave.
3351 * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since
3352 lib.h already does it.
3354 * src/libs/libgroff/maxpathname.cpp: New file, defining
3357 * src/include/lib.h: Add prototype for path_name_max.
3359 * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated.
3361 * src/include/nonposix.h (PATH_EXT): New macro.
3363 2005-03-28 Werner LEMBERG <wl@gnu.org>
3365 Add support for double- and zero-width characters in grotty.
3367 * src/devices/grotty/tty.cpp (glyph): Add width.
3368 (tty_printer::make_underline, tty_printer::make_bold,
3369 tty_printer::add_character): Add parameter to pass character width.
3371 (tty_printer::end_page): Increase hpos by actual character width.
3373 * font/devutf8/R.proto: Specify zero width for non-spacing
3376 * tmac/unicode.tmac: Remove definitions for non-spacing entities.
3378 * Makefile.comm (extraclean): Remove more junk files.
3380 2005-03-25 Werner LEMBERG <wl@gnu.org>
3382 * configure.ac: Undo change from 2005-03-24.
3383 * configure: Regenerated.
3385 2005-03-24 Werner LEMBERG <wl@gnu.org>
3387 * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests.
3388 (dist): Search Makefile while descending into $(EXTRADIRS).
3390 * doc/Makefile.in (.PHONY): Add.
3391 (clean): Don't remove *.png and *.eps.
3393 (realclean): Remove *.png and *.eps.
3394 (extraclean): Depend on distclean.
3396 * configure.ac: Add copyright.
3397 Handle contrib/pdfmark/Makefile.
3399 * configure: Regenerated.
3401 2005-03-18 Larry Kollar <kollar@alltel.net>
3403 Add numbered and definition lists to www.tmac.
3405 * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
3406 www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
3407 auxiliary string registers.
3408 (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
3409 www-ol-ctr3, www-dl-shift): New auxiliary number registers.
3410 (www-level): Removed.
3411 (www-level1, www-level2, www-level3): Initialize to empty.
3412 (www-level0, www-level4, www-level5, www-level6, www-level7,
3413 www-level8, www-level9): New string registers.
3414 (www-push-li, www-pop-li): New macros.
3415 (www-push-level, www-pop-level): Renamed to...
3416 (www-push-ul-level, www-pop-ul-level): This.
3418 (www-push-ol-level, www-pop-ol-level): New macros.
3419 (ULS, ULE): Updated.
3420 (OLS, OLE, DLS, DLE): New user macros.
3421 (LI): Removed. It is aliased to one of...
3422 (www-li-ul, www-li-ol, www-li-dl): New macros.
3424 * tmac/groff_www.man: Document new macros.
3428 2005-03-18 Werner LEMBERG <wl@gnu.org>
3430 * tmac/doc-common (doc-operating-system-NetBSD-2.0.1,
3431 doc-operating-system-NetBSD-2.0.2): New strings.
3433 * tmac/groff_mdoc.man: Updated.
3435 2005-03-17 Werner LEMBERG <wl@gnu.org>
3437 * doc/Makefile.sub (CLEANADD): Add `groff.html'.
3439 2005-03-17 Werner LEMBERG <wl@gnu.org>
3441 * src/libs/libgroff/hypot.c: Renamed to...
3442 * src/libs/libgroff/hypot.cpp: This. Updated to C++.
3444 * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
3446 * src/include/lib.h: Updated.
3448 2005-03-16 Werner LEMBERG <wl@gnu.org>
3450 Add workaround for broken hypot() on Interix.
3452 * src/libs/libgroff/hypot.c: New wrapper file for `hypot'.
3454 * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'.
3455 (CSRCS): Add `hypot.c'.
3457 * src/include/lib.h: Declare `groff_hypot'.
3459 * src/preproc/grn/hgraph.cpp: Don't declare `hypot'.
3462 * src/preproc/pic/pic.h: Don't declare `hypot'.
3464 * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'.
3466 2005-03-15 Gaius Mulley <gaius@glam.ac.uk>
3468 * src/devices/grohtml/post-html.cpp
3469 (html_printer::lookahead_for_tables): End .ce properly to avoid a
3472 2005-03-15 Werner LEMBERG <wl@gnu.org>
3474 makeinfo 4.8 doesn't produce good HTML output from groff.texinfo.
3476 * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output.
3478 * doc/Makefile.in (.texinfo.html): Call fixinfo.sh.
3480 2005-03-14 Werner LEMBERG <wl@gnu.org>
3482 Add Cyrillic support to devutf8 and devhtml.
3484 * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks.
3486 * tmac/unicode.tmac: New file.
3488 * tmac/tty.tmac: Include unicode.tmac if device is utf8.
3490 * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac.
3494 2005-03-02 Keith Marshall <keith.d.marshall@ntlworld.com>
3496 * src/libs/libdriver/printer.cpp (check_for_output_error): New
3497 function. It has been introduced to catch peculiar error contexts
3498 on MS-Windows platforms.
3500 2005-02-28 Werner LEMBERG <wl@gnu.org>
3502 * src/roff/troff/input.cpp (string_iterator::fill): Protect against
3505 * tmac/papersize.tmac: Convert `paper' string contents to lowercase.
3507 * configure: Regenerated.
3511 2005-02-28 Keith Marshall <keith.d.marshall@ntlworld.com>
3513 Integrate `pdfmark' into normal groff build system;
3514 install macro `pdfmark' packages, build and install `pdfroff',
3515 and PDF format documentation.
3517 * Makefile.comm: Add PDFDOCDIR.
3519 * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
3520 pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
3521 (unstall_dirs): Add pdfdocdir.
3523 * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support
3524 `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS.
3525 (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
3526 GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
3527 (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
3528 (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
3530 (GROFF_AWK_PATH): New function; support `--with-awk' option, force
3531 use of GROFF_AWK_PREFS.
3532 (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
3533 and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
3535 * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS.
3536 Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
3537 also by modified GROFF_HTML_PROGRAMS).
3539 2005-02-27 Gaius Mulley <gaius@glam.ac.uk>
3541 * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve
3543 (html_text::done_para): Unset `start_space'.
3544 (html_text::remove_para_align): Call `retrieve_para_space' for the
3547 * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset
3549 (html_printer::do_check_center): Emit vertical space if necessary.
3551 * src/roff/troff/env.cpp (environment_switch): Preserve
3552 `seen_space', `seen_eol', and `suppress_next_eol' while switching
3555 * src/roff/troff/node.cpp (suppress_node::suppress_node): Set
3558 2005-02-20 Werner LEMBERG <wl@gnu.org>
3560 * src/preproc/eqn/eqn.man, NEWS: Document various extensions of
3563 2005-02-17 Werner LEMBERG <wl@gnu.org>
3565 * doc/pic.ms, man/groff.man: Fix typos.
3567 * doc/groff.texinfo: Fix typos.
3568 (\LEmacro): Get proper mathematical spacing.
3570 2005-02-16 Werner LEMBERG <wl@gnu.org>
3572 * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
3573 * configure: Regenerated with autoconf 2.59b.
3575 2005-02-16 Gaius Mulley <gaius@glam.ac.uk>
3577 * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
3578 html_printer::start_font): Fix handling of preformatted text.
3580 2005-02-15 Gaius Mulley <gaius@glam.ac.uk>
3582 These patches modify the indentation implementation to use `<p
3583 style=margin-left: n%>'. Many thanks to Peter and Larry for
3584 suggesting this solution. Grohtml only uses tables for `.IP' and
3585 related tags when the first operand has a short width.
3587 Similarly, they modify all vertical space code. By default, grohtml
3588 sets up a style sheet which uses no vertical space between `table',
3589 `pre', and `p' tags. It forces spaces when it needs them using
3590 `style="margin-top: 1em"'.
3592 * src/devices/grohtml/html-table.cpp: Include `html-text.h'.
3593 (html_table::emit_table_header, html_table::emit_new_row):
3595 (html_table::set_space): New function.
3596 (html_indent::html_indent): Don't set `is_used'.
3597 (html_indent::begin): Rewritten.
3598 (html_indent::end): Remove code in function.
3600 * src/devices/grohtml/html-table.h: Updated.
3601 (html_table): Make `out' public.
3603 * src/devices/grohtml/html-text.cpp (html_text::html_text):
3604 Initialize `start_space' with FALSE.
3605 (html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
3606 (html_text::issue_tag): Add argument to handle space style.
3607 (html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
3608 (html_text::flush_text): Don't set `start_space'.
3609 (html_text::push_para): Don't set `p->really_issued'.
3610 (html_text::do_emittext): Updated.
3611 (html_text::do_para): Add paremeter to handle space.
3613 (html_text::retrieve_para_space): New function.
3615 * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
3616 (tag_definition): Remove `really_issued'.
3617 (html_text): Updated.
3619 * src/devices/grohtml/post-html.cpp (html_printer): Add variables
3620 `current_column' and `row_space'.
3622 (html_printer::emit_raw, html_printer::write_header,
3623 html_printer::do_indent, html_printer::do_check_center,
3624 html_printer::do_tab_ts): Handle vertical space.
3625 (html_printer:do_tab_te, html_printer::do_end_para): Call
3626 `remove_para_space'.
3627 (html_printer::do_col): Rewritten.
3628 (html_printer::flush_globs): Remove debugging code.
3629 (html_printer::is_line_start): New function.
3630 (html_printer::start_font): Use `is_line_start'.
3631 (html_printer::writeHeadMetaStyle): New function.
3632 (html_printer::do_file_components, html_printer::~html_printer):
3633 Call `writeHeadMetaStyle'.
3635 * tmac/www.tmac (www-handle-percent): New macro.
3636 (MPIMG): Handle percent values for width and height parameters.
3639 * tmac/groff_www.man: Updated.
3641 2005-02-14 Werner LEMBERG <wl@gnu.org>
3643 * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
3644 $psname and $italic_angle.
3645 Immediately restart file input loops if `split' returns an empty
3648 2005-02-13 Michail Vidiassov <master@iaas.msu.ru>
3649 Werner LEMBERG <wl@gnu.org>
3651 Update afmtodit to better support Unicode (Michail).
3652 Update afmtodit to use Perl 5 syntax (Werner).
3654 * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
3656 Decorate variables with `my' where necessary.
3657 Use `defined' where necessary to avoid warnings.
3658 Don't use `do' for subroutine calls.
3659 Other minor syntax updates.
3660 Check for both `uXXXX[X[X]]' and `uniXXXX'.
3661 Handle glyph variants properly.
3662 (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
3665 * src/utils/afmtodit/afmtodit.man: Updated.
3667 2005-02-13 Werner LEMBERG <wl@gnu.org>
3669 Make groff.texinfo work with texinfo 4.8.
3671 * doc/groff.texinfo (@Var): Use @r and @slanted.
3672 (@defdummy, @Def*): Use @c to avoid empty lines.
3673 (\angles): Replaced with...
3674 (\Langlemacro, \Ranglemacro): New TeX macros.
3675 (@Langlemacro, @Ranglemacro): New variables defined with @set.
3676 (@angles): Use @Langlemacro and @Ranglemacro.
3677 (\LE): Replaced with...
3678 (\LEmacro): New TeX macro.
3679 (@LEmacro): New variable defined with @set.
3680 (@LE): Use @LEmacro.
3681 (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
3682 variables defined with @set.
3683 (@lparen, @rparen, @lbrack, @rbrack): Replaced with...
3684 (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
3687 Other minor updates.
3689 * doc/texinfo.tex: Update to texinfo version 4.8.
3691 * README.CVS: Updated.
3693 2005-02-09 Alejandro López-Valencia <palopez@etb.net.co> (tiny change)
3695 * doc/groff.texinfo (ms Document Control Registers): Document `HY'
3696 and `FAM' registers.
3698 2005-02-05 Werner LEMBERG <wl@gnu.org>
3700 * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
3701 tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
3704 2005-02-01 Werner LEMBERG <wl@gnu.org>
3706 * src/roff/groff/groff.man: Add information about paper size.
3708 2005-01-25 Werner LEMBERG <wl@gnu.org>
3710 * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale. From
3713 2005-01-22 Ruslan Ermilov <ru@FreeBSD.org>
3715 * tmac/doc.tmac (Sm): Improved. It didn't work properly in many
3717 (Re): Emit a warning if called without `.Rs'.
3718 (doc-finish-reference): Use parameter for decreasing
3719 `doc-reference-count'.
3720 (doc-print-reference): Pass specific count parameters to
3721 `doc-finish-reference'.
3723 2005-01-21 Werner LEMBERG <wl@gnu.org>
3725 * src/libs/libdriver/input.cpp (delete_current_env, do_file):
3726 Reset pointers to zero after deallocation. This fixes a crash
3727 if a driver is called with multiple input files. Reported by
3728 Ken Chilton <ken@chiltonfamily.org>.
3730 * src/devices/grops/grops.man: Add more info on DSC.
3732 2005-01-17 Ruslan Ermilov <ru@FreeBSD.org>
3734 * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
3737 2005-01-17 Werner LEMBERG <wl@gnu.org>
3739 * src/roff/troff/div.cpp (top_level_diversion::space): Protect
3740 against division by zero.
3742 2005-01-13 Ruslan Ermilov <ru@FreeBSD.org>
3744 * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
3746 2004-12-19 Werner LEMBERG <wl@gnu.org>
3748 * install-sh: New version; taken from texinfo CVS.
3750 2004-12-17 Werner LEMBERG <wl@gnu.org>
3752 * tmac/devtag.tmac: Protect against loading twice.
3753 Protect agains compatibility mode.
3754 * tmac/www.tmac: Protect against loading twice.
3755 Load `devtag.tmac' before switching off compatibility mode.
3756 * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
3758 2004-12-16 Mike Bianchi <mbianchi@Foveal.com>
3760 * configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
3761 * configure: Updated.
3763 2004-12-15 Thomas Klausner <wiz@netbsd.org>
3765 * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
3767 2004-12-15 Werner LEMBERG <wl@gnu.org>
3769 Make `test-groff' work again -- previously, wrong paths have been
3770 used. Additionally, it can now be called from anywhere.
3772 * test-groff.in: Don't test for groff binary. This is no longer
3773 necessary since the proper paths are determined by `configure'.
3774 (EXEEXT): Removed. No longer used.
3775 (srcdir, builddir): Use values provided by the configure script.
3776 (XENVIRONMENT): Updated.
3780 2004-12-14 Gaius Mulley <gaius@glam.ac.uk>
3782 Make .tag and .taga work for all devices (but only grohtml actually
3785 * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
3786 (text_glob::is_br, page::add_tag, html_printer::troff_tag,
3787 html_printer::handle_assertion): Don't use hard-coded string
3789 (html_printer::lookahead_for_table): Reset `tbl' properly if
3791 (html_printer::devtag): New function, handling `devtag'.
3792 (html_printer::special): Don't handle `html-tag'.
3794 * src/include/printer.h, src/libs/libdriver/printer.cpp
3795 (printer::devtag): New virtual function.
3797 * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
3800 * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
3801 src/roff/troff/node.cpp: s/html-tag/devtag/.
3803 * src/roff/troff/input.cpp (tag, taga): Always call
3806 * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
3807 macros instead of HTML-TAG*.
3809 * tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
3811 * tmac/www.tmac: Load devtag.tmac.
3812 Replace HTML-TAG* macros with DEVTAG* macros.
3813 (HTML, HTML-NS): Changed definitions.
3815 (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
3817 * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
3819 2004-12-10 Werner LEMBERG <wl@gnu.org>
3821 Import Mike's `gdiffmk' package.
3823 * contrib/gdiffmk/*: New files.
3824 * Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
3827 2004-12-08 Werner LEMBERG <wl@gnu.org>
3829 Import Keith's `pdfmark' package. Integration is very preliminary.
3831 * contrib/pdfmark/*: New files.
3832 * Makefile.in (OTHERDIRS): Add contrib/pdfmark.
3835 2004-12-07 Gaius Mulley <gaius@glam.ac.uk>
3837 Fix a bug with title handling in HTML.
3839 * src/devices/grohtml/post-html.cpp (text_glob::is_nf,
3840 text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
3842 (html_printer::handle_tag_within_title): New function.
3843 (html_printer::do_title): Use it.
3845 * tmac/s.tmac (TL): Don't set `need_eo_tl'.
3846 (cov*tl-au-print): Emit `.eo.tl' tag.
3848 2004-12-05 Alejandro López-Valencia <dradul@etb.net.co>
3850 * man/groff_char.man: Minor imrovements.
3852 2004-12-04 Werner LEMBERG <wl@gnu.org>
3854 * src/preproc/eqn/eqn.man: Revised.
3856 2004-11-25 Werner LEMBERG <wl@gnu.org>
3858 * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
3862 Remove X_NOT_STDC_ENV conditional.
3863 (Version_string, program_name): New global variables.
3864 (groff_flag): Removed.
3866 (usage): Take a stream as argument.
3869 (main): Add `long_options' array for `--help' and `--version'.
3870 Make `-g' a dummy option.
3871 Handle `-v' and unknown options.
3872 Remove unused `position' variable.
3874 * src/utils/xtotroff/Makefile.sub (MAN1): Define.
3875 (XLIBS): Add LIBGROFF.
3877 * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
3880 * src/devices/xditview/Dvi.c (default_font_map): Split into three
3881 parts to avoid compiler warning.
3882 (resources): Don't initialize with `default_font_map'.
3883 (ClassInitialize): Initialize first element of `resources'.
3885 * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
3888 * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
3889 src/utils/pfbtops/pfbtops.man: Revised, updated.
3891 * configure.ac: Generate src/utils/xtotroff/Makefile.
3892 * configure: Regenerated.
3894 2004-11-24 Werner LEMBERG <wl@gnu.org>
3896 First fixes to get produce HTML.
3898 * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
3901 * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
3902 (HR, LI): Use `HTML</p>', not `HTML'.
3904 * doc/webpage.ms: Minor updates.
3906 2004-11-23 Larry Kollar <kollar@alltel.net>
3908 Add option -S grohtml to determine the file split level.
3910 * src/devices/grohtml/post-html.cpp (split_level): New global
3912 (html_header::determine_header_level): Use split_level.
3913 (main): Handle `-S' command line option.
3916 * src/preproc/html/pre-html.cpp (scanArguments): Updated.
3918 * src/devices/grohtml/grohtml.man: Document it.
3921 * NEWS: Document it.
3923 2004-11-23 Y T <doarhop@hotmail.com>
3925 * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling
3926 the volume and number refer entries.
3928 2004-11-22 Werner LEMBERG <wl@gnu.org>
3930 * src/devices/grohtml/html-table.cpp
3931 (html_table::emit_table_header): Don't emit `cols' attribute which
3932 doesn't exist in HTML 4.0 and is thus invalid.
3934 * NEWS: More minor fixes and updates.
3936 2004-11-18 Werner LEMBERG <wl@gnu.org>
3938 * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
3939 (HTML</p>): Minor clean-up.
3941 * tmac/groff_www.man: Updated.
3943 * src/devices/grohtml/grohtml.man: Revised and updated.
3947 2004-11-18 Gaius Mulley <gaius@glam.ac.uk>
3949 * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
3950 Fix space insertion.
3951 (html_printer::do_links): Fix rules generation around automatic
3954 * tmac/www.tmac (LK): Use HTML-TAG-NS.
3956 No longer emit empty line for non-HTML devices.
3958 2004-11-17 Werner LEMBERG <wl@gnu.org>
3960 * doc/Makefile.in (prepare_examples, webpage.html): Handle
3963 * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD,
3964 prepare_examples, webpage.html): Handle `groff.css'.
3966 2004-11-15 Werner LEMBERG <wl@gnu.org>
3968 * NEWS, README, doc/webpage.ms: Updated.
3970 * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
3972 2004-10-30 Gaius Mulley <gaius@glam.ac.uk>
3974 * src/include/printer.h (printer): Remove virtual function
3976 Update all source files.
3978 * src/devices/grohtml/post-html.cpp (html_printer): New member
3979 function `round_width'.
3981 2004-10-20 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
3983 * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
3984 column key letter suffix.
3986 2004-10-14 Werner LEMBERG <wl@gnu.org>
3988 * Makefile.in (check): Depend on `site.exp' and `docheck'.
3989 (docheck): Run dejagnu's `runtest' if it exists.
3990 (site.exp): Create dejagnu configuration file.
3992 * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
3994 2004-10-13 Werner LEMBERG <wl@gnu.org>
3996 * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
3997 src/devices/grohtml/post-html.cpp (make_val,
3998 html_printer::handle_state_assertion): Fix compiler warnings.
4000 * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'.
4001 (diversion::diversion): Fix order of initializers.
4003 * src/roff/troff/div.h: Don't include `mtsm.h'.
4005 * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'.
4006 (environment::environment): Fix order of initializers.
4007 (environment::make_tag, environment::construct_format_state): Fix
4010 * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'.
4011 (input_iterator::input_iterator, macro::macro): Fix order of
4014 * src/roff/troff/mtsm.cpp: Include only necessary header files.
4015 (state_set::add, state_set::val): Fix compiler warnings.
4017 * src/roff/troff/mtsm.h: Don't include `stringclass.h'.
4018 (bool_value_state, int_value_state, units_value_state,
4019 string_value_state): Remove comma after last element which causes
4020 an error with g++ 3.3.3.
4022 * src/roff/troff/node.cpp: Include `stringclass.h'.
4023 (hline_node::hline_node, vline_node::vline_node,
4024 space_char_hmotion_node, left_italic_corrected_node): Fix compiler
4026 (zero_width_node::zero_width_node): Fix order of initializers.
4028 * src/roff/troff/node.h: Don't include `mtsm.h'.
4029 (hmotion_node): Fix compiler warnings.
4031 * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'.
4033 2004-10-12 Gaius Mulley <gaius@glam.ac.uk>
4035 * doc/groff.css: New file.
4037 * doc/webpage.ms: Use `groff.css'.
4040 * tmac/an-old.tmac (need_eo_h): New number register.
4041 (TH): Emit `.eo.tl' tag after title.
4042 (SH): Set `need_eo_h'.
4043 (an-trap): Handle `need_eo_h'.
4044 (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/.
4046 * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers.
4047 (TL): Always start diversion.
4049 (@AI): Always call `par@reset'.
4050 (@AB): Update code for -Thtml.
4051 (cov*tl-au-print): Handle -Thtml.
4052 (par@reset): Handle `need_eo_tl', `need_eo_h'.
4054 (@IT-html): Removed.
4055 (@SH): Set `need_eo_h' for -Thtml.
4056 (par@TL): s/HTML-TAG/HTMl-TAG-NS/.
4058 (@NH): s/HTML-TAG/HTMl-TAG-NS/.
4059 Set `need_eo_h' for -Thtml.
4060 (@EQ, @EN): Don't handle -Thtml specially.
4061 (par@load-init): Don't handle -Thtml specially.
4063 * tmac/www.tmac (www:paraspace): New macro.
4064 (HTML-NS, HTML-TAG-NS): Use new `tag' request.
4065 (HTML</p>, HTML-TAG-NEXT): New macros.
4066 (HnE): Emit tag `.eo.h' instead of break.
4067 (HR): s/HTML-NS/HTML/.
4068 (www-end-nowhere): End diversion only if `www-html' not set.
4070 (ULS, ULE): s|HTML|HTML</p>|.
4071 (LI): Call `www:paraspace'.
4074 2004-10-11 Gaius Mulley <gaius@glam.ac.uk>
4076 * src/roff/troff/request.h (macro): Make `p' public.
4077 New variable `is_a_diversion'.
4078 New member function `is_diversion'.
4081 * src/devices/grohtml/html.h (simple_output): New member function
4084 * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix
4085 computation of `total'.
4086 (tabs::check_init): New function.
4087 (html_table::emit_table_header): Emit style data.
4088 (html_table::insert_column): Improved.
4090 * src/devices/grohtml/html-table.h: Updated.
4092 * src/devices/grohtml/html-text.cpp (html_text::html_text):
4093 Initialize `start_space' with TRUE.
4094 (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG'
4096 (html_text::flush_text): Set `start_space' flag.
4097 (html_text::uses_indent, html_text::remove_para_space,
4098 html_text::get_alignment): New functions.
4099 (html_text::push_para): Updated.
4100 (html_text::do_para): Check for empty argument.
4101 Don't set `space_emitted'.
4102 (html_text::do_space, html_text::emit_space): Updated.
4104 * src/devices/grohtml/html-text.h (tag_definition): New variable
4106 (html_text): New member function `uses_indent', `remove_para_space',
4109 * src/devices/grohtml/output.cpp (simple_output::force_nl): New
4111 (simple_output:nl): Always emit `\n'.
4113 * src/devices/grohtml/post-html.cpp: Include `string.h'.
4114 (BASE_POINT_SIZE): Removed.
4115 (base_point_size, head_info): New global variables.
4116 (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl',
4118 (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1'
4120 (page::add_and_encode): Pass additional parameter for tag flag.
4121 (assert_pos): New structure.
4122 (assert_state): New class.
4123 (html_printer): Remove `indentation', `prev_indent'.
4124 Add variables `troff_indent', `device_indent', `temp_indent'.
4125 Add variables `seen_indent', `next_indent', `seen_pageoffset',
4126 `next_pageoffset', `seen_linelenght', `next_linelength',
4127 `seen_center', `next_center', `seen_space', `seen_break', `as'.
4128 Add member functions `do_check_center', `do_space', `do_head',
4129 `get_troff_indent', `restore_troff_indent', `handle_assertion',
4130 `handle_state_assertion', `do_end_para', `set_char_and_width'.
4131 Change argument to `do_fill' to `char *'.
4133 (html_printer::emit_raw): Call `shutdown_table'.
4135 (html_printer::do_center): Simplified.
4136 (html_printer::do_title): Improved.
4137 (html_printer::write_header): Emit one more newline.
4139 (html_printer::do_heading, html_printer::do_indent,
4140 html_printer::do_eol, html_printer::do_tab_ts,
4141 html_printer::do_tab, html_printer::do_tab0,
4142 html_printer::calc_po_in, html_printer::next_horiz_pos,
4143 html_printer::remove_courier_tabs,
4144 html_printer::insert_tab0_foreach_tab, html_printer::begin_page):
4146 (html_printer::do_linelength, html_printer::do_pageoffset,
4147 html_printer::do_indentation, html_printer::do_tempindent,
4148 html_printer::do_tab_te): Simplified.
4149 (html_printer::do_pointsize): Check whether point size is really
4150 associated a `.tl' tag.
4151 (html_printer::do_break): Rewritten.
4152 (html_printer::troff_tag): Improved.
4153 (html_printer::flush_globs): Updated.
4154 (html_printer::lookahead_for_tables): Handle `is_br'.
4156 (html_printer::set_char): Check `sbuf_style.f'.
4157 (html_printer::write_navigation): Use string comparison.
4158 (html_printer::~html_printer): Emit `head_info'.
4159 (html_printer::special): Rewritten.
4160 (get_str, make_val): New functions.
4161 (main): New option `s' to set the base point size.
4163 * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'.
4165 2004-10-10 Gaius Mulley <gaius@glam.ac.uk>
4167 * src/roff/troff/node.cpp: New extern `debug_state'.
4168 Include `stringclass.h' and `mtsm.h'.
4169 Implement new classes and class members from `node.h'.
4170 (real_output_file): Make `fp' public.
4171 (troff_output_file): New variables `cur_div_level' and `tag_list'.
4172 Update constructors.
4173 (troff_output_file::really_print_line): Check whether we should push
4174 the current troff state and use the state at the start of the
4175 invocation of this diversion.
4176 (troff_output_file::add_to_tag_list): New member function.
4177 (node::add_char): Handle `glyph_comp_np'.
4179 * src/roff/troff/node.h: Include `mtsm.h'.
4180 (node): New variables `state', `push_state', `div_nest_level',
4181 `is_special'. Update constructors, all descendants.
4182 Pass additional argument to `add_char' member function.
4183 New virtual member functions `is_tag', `debug_node',
4184 `debug_node_list'. Update all descendants.
4185 (tag_node): New class for handling tags.
4186 (output_file): Add variable `state'.
4188 2004-10-09 Gaius Mulley <gaius@glam.ac.uk>
4190 * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files,
4191 providing a minimal troff state machine to emit meta tags for the
4192 post-grohtml device driver.
4194 * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new
4197 2004-10-09 Werner LEMBERG <wl@gnu.org>
4199 * tmac/trace.tmac: Fix handling of `am' and `am1' calls.
4201 2004-10-06 Gaius Mulley <gaius@glam.ac.uk>
4203 * src/roff/troff/column.cpp (vjustify_node::copy): Updated.
4205 * src/roff/troff/div.h: Include `mtsm.h'.
4206 (diversion): New variables `any_chars_added', `needs_push',
4207 `saved_seen_break', `saved_seen_space', `saved_seen_eol',
4208 `saved_suppress_next_eol', `modified_tag'.
4209 New virtual member function `is_diversion'. Update all descendants.
4211 * src/roff/troff/div.cpp (diversion::diversion,
4212 macro_diversion::macro_diversion): Updated.
4213 (do_divert): Handle `seen_break', `seen_space', `seen_eol',
4214 `suppress_next_eol'.
4215 (top_level_diversion::space): Handle `curenv->seen_space'.
4216 (page_offset): Update tag handling.
4217 (space_request, blank_line, flush_output): Don't call `add_html_tag'.
4219 * src/roff/troff/env.h (environment): Make `tabs' public.
4220 Remove `ignore_next_eol', `emitted_node'.
4221 Update `output_line', `output'.
4222 New variables `seen_space', `seen_eol', `suppress_next_eol',
4224 New member functions `construct_state', `make_tag',
4225 `construct_format_state, `construct_new_line_state,
4227 Remove `add_html_tag', `make_html_tag'.
4229 * src/roff/troff/env.cpp: New externs `suppress_push',
4230 `get_diversion_state', `global_diverted_space'.
4231 (pending_output_line): New variable `was_centered'.
4232 Update constructor and all callers.
4233 (pending_output_line::output): Call `curenv->construct_format_state'.
4234 (environment::environment, environment::copy): Updated.
4235 (environment::output): Handle `was_centered'.
4236 (environment::add_char): Handle construct and diversion state.
4237 (environment::add_node): Handle construct state.
4238 (environment::newline): Handle `was_centered'.
4239 (environment::output_line): Updated.
4240 (environment::possibly_break_line): Updated.
4241 Update tag handling.
4242 (environment::add_html_tag): Replaced with...
4243 (environment::make_tag): New function.
4244 (environment::add_html_tag_tabs, environment::make_html_tag): Removed.
4245 (environment::dump_troff_state): New debugging function.
4246 (environment::construct_state, environment::construct_format_state,
4247 environment::construct_new_line_state): New functions.
4248 (environment::do_break): Updated.
4249 Handle `global_diverted_space'.
4250 (environment::handle_tag): Update tag handling.
4251 (point_size, fill, do_break_request): Don't call `add_html_tag'.
4252 (no_fill): Don't call `add_html_tag'.
4253 Set `suppress_next_eol'.
4254 (center, right_justify, line_length, indent, temporary_indent,
4256 Update tag handling.
4258 * src/roff/troff/input.cpp: Don't include `stringclass.h'.
4259 (input_iterator): New variables `is_diversion', `diversion_state'.
4260 Update constructors.
4261 (input_stack): New member functions `get_div_level',
4262 `get_diversion_state', `check_end_diversion'.
4263 New variables `div_level', `diversion_state'. Initialize them.
4264 (suppress_push, global_diverted_space): New global variables.
4265 (input_stack::finish_get, input_stack::finish_peek,
4266 input_stack::remove_boundary, input_stack::end_file,
4267 input_stack::clear, input_stack::pop_macro): Call
4268 `check_end_diversion'.
4269 (input_stack::push): Handle `div_level' and `diversion_state'.
4270 (get_diversion_state): New function.
4271 (diverted_space_node::reread): Handle `global_diverted_space'.
4272 (macro::macro): Update constructors.
4273 (macro::is_diversion): New function.
4274 (macro::operator=): Set `is_a_diversion'.
4275 (string_iterator): New member function `is_diversion'.
4276 (string_iterator::string_iterator): Update constructors.
4277 (string_iterator::fill): Set `div_nest_level'.
4278 (macro_iterator): New member function `is_diversion'.
4279 (do_if_request): Handle `suppress_push'.
4280 (tag, taga): New functions.
4281 (init_input_requests): Add `tag' and `taga' requests.
4283 2004-10-05 Gaius Mulley <gaius@glam.ac.uk>
4285 * src/include/font.h (font): New member function
4286 `get_image_generator'.
4287 New variables `unscaled_charwidths' and `image_generator'.
4289 * src/libs/libgroff/font.cpp (font::get_width): Always return the
4290 character's unscaled width if `font::unscaled_charwidths' is set.
4291 (font::get_image_generator): New function.
4292 (font::load_desc): Check the `unscaled_charwidths' and
4293 `image_generator' keywords.
4295 * src/libs/libgroff/fontfile.cpp: Initialize
4296 `font::unscaled_charwidths' and `font::image_generator'.
4298 * font/devhtml/DESC.proto: s/html/unscaled_charwidths/.
4300 * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword.
4302 * man/groff_font.man: Document `unscaled_charwidths' and
4305 * src/preproc/html/pre-html.cpp: Include `device.h'.
4306 (image_gen): New global variable.
4307 (imageList::createPage): Use `image_gen'.
4308 (main): Use `image_generator' keyword.
4310 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
4312 * tmac/html.tmac: Handle \[sqrtex].
4314 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
4316 * src/include/printer.h (printer): New virtual method `round_width'.
4318 * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
4319 src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
4320 src/devices/grotty/tty.cpp (printer::round_width): New function
4323 * src/devices/grohtml/post-html.cpp (printer::round_width): New
4325 (html_printer::set_numbered_char): Use it.
4327 2004-10-03 Gaius Mulley <gaius@glam.ac.uk>
4329 * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
4331 * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
4333 * configure: Regenerated.
4335 * Makefile.in (GHOSTSCRIPT): New variable.
4336 (MDEFINES): Add GHOSTSCRIPT.
4338 2004-10-03 Werner LEMBERG <wl@gnu.org>
4340 * INSTALL.gen: Updated (taken from texinfo CVS).
4342 2004-09-28 Werner LEMBERG <wl@gnu.org>
4346 2004-09-28 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
4348 * tmac/groff_www.man: Revised and updated.
4350 2004-09-26 Werner LEMBERG <wl@gnu.org>
4352 Fix \$@ and \$* to handle any number of arguments.
4354 * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
4357 * src/roff/troff/input.cpp (input_iterator::internal_level):
4359 (input_stack): New member functions `increase_level' and
4361 (input_stack::get_level): Don't use `internal_level'.
4362 (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
4363 (end_quote_iterator): Completely removed.
4364 (interpolate_arg): Build string for \$@ and \$* which is then
4365 pushed onto the input stack.
4367 2004-09-23 Keith Marshall <keith.d.marshall@ntlworld.com>
4369 * tmac/groff_ms.man, doc/groff.texinfo (ms Document Control
4370 Registers): Document changes from 2004-09-19.
4372 2004-09-23 Werner LEMBERG <wl@gnu.org>
4374 * tmac/an-old.tmac (ne): Using default scaling operator.
4376 2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com>
4378 This change implements the following features:
4381 New numeric register: Defines number of lines following LP, PP,
4382 QP, IP or XP, which must be kept together, before any automatic
4383 page break. If insufficient space remains on the current page, a
4384 page break is forced before the new paragraph begins.
4387 New numeric register: Sets number of lines of following paragraph
4388 which must be kept with a heading, defined by NH or SH, before any
4389 automatic page break. If insufficient space remains on the
4390 current page, a page break is forced before the heading.
4393 (Thanks to Joerg van den Hoff, for this idea).
4395 New numeric register: Sets the first level of heading (set with
4396 NH), which will keep the same point size as body text; e.g. if
4397 GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
4398 point size specified by \n[PS], but .NH 2 and .NH 1 will have
4399 progressively larger point sizes, determined by \n[PSINCR] (see
4403 New numeric register: Sets the point size increment for each level
4404 of heading, (set with NH), below the threshold level set by
4405 GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
4406 then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
4407 and all other levels will remain at 10pt, (because \n[PS] = 10).
4410 Existing macro now accepts a numeric argument, to make heading
4411 size match that of NH with same argument value, when the
4412 GROWPS/PSINCR feature is enabled.
4415 New string, set by NH macro, replaces the existing (undocumented)
4416 use of SN, to represent the assigned section number.
4419 New string, set by NH macro, represents the assigned section
4420 number, but omits the terminal period (periods at intermediate
4421 levels are retained).
4424 String set by NH macro, originally undocumented, now implemented
4425 as an alias for SN-DOT (which reproduces original behaviour).
4427 * tmac/s.tmac (PORPHANS): New register.
4428 (par*start): Use it.
4429 (HORPHANS, GROWPS, PSINCR): New registers.
4430 (SH-NO-TAG, @SH): Use them.
4433 2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com>
4435 * NEWS, doc/groff.texinfo (ms Display and Keeps), tmac/groff_ms.man:
4436 Document the deletion of `Ds' and `De' macros.
4438 2004-09-10 Werner LEMBERG <wl@gnu.org>
4440 In tbl, handle \a as an interpreted leader character if in
4443 * src/preproc/tbl/table.h (PREFIX, PREFIX_CHAR, LEADER,
4444 LEADER_CHAR): New macros.
4445 (compatible_flag): New declaration.
4447 * src/preproc/tbl/main.cpp (table_input): Add LEADER_1, LEADER_2,
4448 LEADER_3, and LEADER_4 to `state'.
4449 (table_input::get): Handle `\a'.
4451 * src/preproc/tbl/table.cpp (PREFIX): Removed.
4452 (LEADER_REG): New macro.
4453 (table::init_output): Define LEADER_REG string register if in
4456 * src/preproc/tbl/tbl.man: Document it.
4458 2004-08-18 Werner LEMBERG <wl@gnu.org>
4460 * tmac/doc.tmac (An): Fix error message.
4462 2004-08-06 Werner LEMBERG <wl@gnu.org>
4464 * src/preproc/tbl/main.cpp (main): Call `fatal' not `error' if a
4465 file can't be opened. UNIX tbl has the same behaviour.
4467 2004-08-05 Y T <doarhop@hotmail.com>
4469 * src/preproc/grn/hdb.cpp (compatibility_flag): Add declaration.
4470 (DBRead): If in compatibility mode, take into account the text
4471 when computing figure boundaries.
4473 2004-08-05 Werner LEMBERG <wl@gnu.org>
4475 * src/preproc/soelim/soelim.man: Improved. Based on suggestions
4476 from Tadziu Hoffmann.
4478 2004-08-03 Werner LEMBERG <wl@gnu.org>
4480 * doc/meref.me: Document `_M' register.
4482 2004-08-03 Martin Husemann <martin@duskware.de>
4484 Make hpftodit work correctly on big-endian systems.
4486 * src/utils/hpftodit/hpftodit.cpp (File): New method
4487 `get_uint32(char *)'.
4488 (entry): New member `orig_value'.
4489 (read_tags): Use new method.
4490 (output_font_name, read_and_output_pcltypeface, dump_ascii):
4493 2004-08-01 Werner LEMBERG <wl@gnu.org>
4495 * tmac/s.tmac: Undo change 2003-06-29. The proper macro definitions
4496 are already in X11's `macros.t' file.
4498 2004-08-01 Jeff Conrad <jeff_conrad@msn.com>
4500 * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii):
4502 (read_and_output_pcltypeface): Handle strings with length <= 4.
4504 2004-07-27 Egil Kvaleberg <egil@kvaleberg.no>
4506 * tmac/s.tmac (pg@top): Don't save `PO' register.
4507 (pg*end-col, pg*end-page): Directly use `PO' register.
4509 2004-07-27 Werner LEMBERG <wl@gnu.org>
4511 * man/groff_tmac.man: Mention `trace' and `pic' macro packages.
4513 * src/preproc/refer/refer.cpp (output_references): Check for
4515 * src/preproc/refer/refer.man: Improve documentation of
4516 `bibliography' command.
4518 2004-07-26 Werner LEMBERG <wl@gnu.org>
4520 Add requests `fcolor' and `gcolor'.
4522 * src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
4524 (init_env_requests): Add `fcolor' and `gcolor'.
4526 * src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
4528 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo
4529 (Colors): Document new requests.
4531 2004-07-24 Werner LEMBERG <wl@gnu.org>
4533 Add support for fractional point sizes in ms macros. A value for
4534 PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
4535 by 1000. For example, `.nr PS 10250' sets the font size to 10.25p.
4537 * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
4538 PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
4540 * tmac/groff_ms.man, docs/groff.texinfo (ms Document Control
4541 Registers), NEWS: Document it.
4543 2004-07-19 Werner LEMBERG <wl@gnu.org>
4545 * src/preproc/pic/lex.cpp (for_input): Add member `from'.
4547 (do_for, for_input::get, for_input::peek): Handle negative `by'.
4548 * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
4550 2004-07-08 Thomas Klausner <wiz@netbsd.org>
4552 * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
4553 * tmac/groff_mdoc.man: Updated.
4555 2004-07-05 Werner LEMBERG <wl@gnu.org>
4557 * doc/groff.texinfo (Manipulating Hyphenation): Further improve
4558 documentation of `hcode'.
4560 2004-07-04 Sang Dae Yu <sdyu@bh.knu.ac.kr>
4562 Improve appearance of arrows in pic.
4564 * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
4566 Use two line segments for drawing non-filled arrow head.
4567 (line_object::print, spline_object::print): Shorten line length to
4568 avoid arrow sticking.
4569 (arc_object::print): Take arrow direction into account.
4571 2004-07-03 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
4573 * tmac/groff_www.man: Update documentation of .MPIMG.
4575 2004-07-03 Werner LEMBERG <wl@gnu.org>
4577 * tmac/an-old.tmac (RI): Always start with font `R'.
4578 (RI, IR): Properly end with font `R'.
4580 2004-07-02 Paul Eggert <eggert@cs.ucla.edu>
4582 * man/ditroff.man, man/groff_font.man, man/groff_out.man,
4583 src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
4584 src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
4585 Don't pass more than six arguments to .R, .I, .B, etc., for
4586 compatibility with traditional troff macros.
4588 2004-07-02 Werner LEMBERG <wl@gnu.org>
4590 * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
4591 s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
4593 (PUSH_COMP_MODE): New internal character constant.
4596 * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
4597 PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
4598 (token::next, macro::append): Handle PUSH_COMP_MODE.
4599 (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
4600 POP_GROFFCOMP after each of the decoded arguments to make them
4601 independent from the compatibility mode status.
4602 (comp_mode): Add `COMP_ENABLE'.
4603 (do_define_string, do_define_macro): Handle COMP_ENABLE.
4604 (define_string, append_string, define_macro, define_indirect_macro,
4605 append_macro, append_indirect_macro): Handle `compatible_flag'.
4606 (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
4608 * man/groff_diff.man, doc/groff.texinfo: Updated.
4610 2004-07-01 Werner LEMBERG <wl@gnu.org>
4612 * doc/groff.texinfo: Improve documentation of `hcode'.
4613 Use @documentencoding and convert document to latin-1; to do that
4614 make latin characters active and assign proper macros (within a
4615 @tex...@end tex environment).
4616 * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
4617 * doc/Makefile.sub (groff): Ditto.
4619 2004-06-29 Werner LEMBERG <wl@gnu.org>
4621 Implement two new conditional operators `F <name>' and `S <name>'
4622 which check whether <name> is a valid font or style, respectively.
4624 * src/libs/libgroff/font.cpp (text_file): Add `silent' member.
4625 (text_file::text_file): Updated.
4626 (text_file::error): Don't emit message if `silent' is set.
4627 (font::load_font): Add optional third argument (which is directly
4629 (font::load): Add optional second argument to check the header of
4630 a font only, without emitting warning or error messages.
4631 * src/include/font.h (font): Updated.
4633 * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
4635 * src/roff/troff/node.cpp (mount_font_no_translate): Add optional
4636 fourth argument to check a font without mounting.
4637 (check_font, check_style): New functions.
4638 * src/roff/troff/node.h: Updated.
4640 * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4643 2004-06-27 Werner LEMBERG <wl@gnu.org>
4645 Implement new string-valued register `.sty' to return the current
4648 * env.cpp (environment::get_style_name_string): New function.
4649 (init_env_requests): Add `.sty' register.
4650 * env.h (environment): Updated.
4651 * node.cpp (font_info): Make `get_style_name' a friend.
4652 (get_style_name): New function.
4655 * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4658 2004-06-15 Werner LEMBERG <wl@gnu.org>
4660 * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle
4663 2004-06-10 Colin Percival <colin.percival@wadham.ox.ac.uk>
4665 * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
4666 and \n[mo] to avoid dependency on current date.
4668 2004-06-08 Werner LEMBERG <wl@gnu.org>
4670 * Makefile.sub (install_data): New target.
4672 2004-06-04 Werner LEMBERG <wl@gnu.org>
4674 * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define.
4676 2004-06-03 Werner LEMBERG <wl@gnu.org>
4678 * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and
4680 (install_data): Add $(srcdir).
4682 * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of
4685 2004-06-02 Werner LEMBERG <wl@gnu.org>
4687 * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
4688 Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
4689 Add test for Xmu library.
4690 (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4691 GROFF_APPRESDIR_DEFAULT): New macros.
4693 * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4694 and GROFF_APPRESDIR_DEFAULT.
4696 * configure: Regenerated.
4698 * Makefile.in (appresdir): New variable.
4699 (MDEFINES): Add appresdir.
4701 * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
4703 (install_data, uninstall_sub): New targets to handle GXditview.ad.
4705 * src/utils/indxbib/Makefiles.ub (install_data): Depend on
4706 `$(srcdir)/eign', not `eign'.
4708 * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
4710 * man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
4711 src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
4712 Protect (g)xditview with `\%' to avoid hyphenation.
4713 Other minor formatting.
4715 2004-06-01 Werner LEMBERG <wl@gnu.org>
4717 Integrate gxditview into groff's standard directory hierarchy.
4719 * src/xditview/*: Moved to ...
4720 * src/devices/xditview/*: Here.
4721 Moved DviChar.h and XFontName.h to src/include.
4722 Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
4723 Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
4724 Moved xtotroff.c to new directory src/utils/xtotroff.
4725 Provide proper Makefile.sub files (reusing the stuff from
4727 DESC renamed to DESC.in.
4728 Removed GXDitview-ad.h, INSTALL, Imakefile.in.
4729 Converted everything from K&R to ANSI C.
4730 Decorated with const where appropriate.
4731 Cast string constants with `String' and `char *' where appropriate.
4732 Made it compile with C++ (used as a C compiler).
4733 Removed other minor compiler warnings.
4735 * src/devices/xditview/device.c: Include config.h, string.h, and
4737 Don't declare `exit', `strtok', `strchr', and `getenv'.
4740 * src/devices/xditview/font.c: Don't declare `XParseFontName' and
4743 * src/devices/xditview/xditview.c: Include config.h.
4744 Include stdio.h earlier.
4745 Protect declaration of `popen' and `pclose' with
4746 NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
4747 Replace `caddr_t' with `XtPointer'.
4748 (MakePromptFunc): New typedef.
4749 (DoPrint): Use RETSIGTYPE.
4750 (promptfunction): Change type to MakePromptFunc.
4751 (MakePrompt): Use MakePromptFunc for third argument.
4754 * src/devices/xditview/ad2c: Add casts to `String'.
4756 * src/include/XFontName.h (XFontNameString): Don't use array
4758 Add prototypes for `XParseFontName', `XFormatFontName',
4759 `XCompareFontName', and `XCopyFontName'.
4761 * src/include/Makefile.sub (HDRS): Add `DviChar.h' and
4764 * src/utils/xtotroff/xtotroff.c: Include getopt.h.
4765 Don't declare `XParseFontName' and `XFormatFontName'.
4767 (main): Remove `optind' and `optarg'.
4769 * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
4770 (to select programs which need X).
4771 Make XDEVIDIRS depend on `FORCE'.
4772 (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
4774 (MDEFINES): Updated.
4775 (LIBDIRS): Use XLIBDIRS.
4776 (CPROGDIRS): Use XPROGDIRS.
4777 (DEVDIRS): Remove font directories for gxditview.
4778 (ALLDIRS, DISTDIRS): Add XDEVDIRS.
4779 (EXTRADIRS): Remove src/xditview.
4781 * Makefile.sub (DISCLEANFILES): Updated.
4783 * Makefile.comm (LIBXUTIL): New variable.
4784 (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
4785 (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
4787 * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
4789 * aclocal.m4 (GROFF_X11): New function.
4791 * configure.ac: Call GROFF_X11.
4792 Don't create src/xditview/Imakefile.
4793 Don't emit notice how to build gxditview.
4795 * configure: Regenerated.
4797 * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
4799 2004-05-28 Akihiro Sagawa <sagawa@sohgoh.net>
4801 * Makefile.in (CPPFLAGS): Define.
4802 (MDEFINES): Add CPPFLAGS.
4804 2004-05-27 Werner LEMBERG <wl@gnu.org>
4806 * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
4808 2004-05-26 Niklas Edmundsson <nikke@acc.umu.se>
4810 Fix problems with `friend name injections'.
4812 * src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
4813 make_script_box), src/roff/troff/div.h (end_diversions),
4814 src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
4817 2004-05-25 Bernd Warken <bwarken@mayn.de>
4819 * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
4821 2004-05-25 Werner LEMBERG <wl@gnu.org>
4823 * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
4824 src/libs/libgroff/color.cpp: Include lib.h.
4826 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
4828 * PROBLEMS: Update documentation for problems with Sun C++ 5.0
4829 through Forte 6u1, and for how to get GNU make on Solaris.
4831 2004-05-24 Werner LEMBERG <wl@gnu.org>
4833 * PROBLEMS: Document problems with gcc 3.4.0 on Sun. Reported
4836 2004-05-15 Keith Marshall <keith.d.marshall@ntlworld.com>
4838 * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit
4841 2004-05-14 Werner LEMBERG <wl@gnu.org>
4843 * REVISION: Set to 2.
4845 * aclocal.m4 (GROFF_STDINT_H): Removed.
4846 (GROFF_INTTYPES_H): Define HAVE_CC_INTTYPES_H.
4848 * configure.ac: Updated.
4849 * configure, src/include/config.hin: Regenerated.
4851 * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
4852 inttypes.h conditionally.
4854 2004-05-13 Werner LEMBERG <wl@gnu.org>
4856 Version 1.19.1 released
4857 =======================
4859 2004-05-10 Stephen Gildea <http://www.gildea.com/stephen>
4861 * src/preproc/refer/label.y (same_author_last_name,
4862 same_author_name): Handle empty sort keys.
4864 2004-05-10 Werner LEMBERG <wl@gnu.org>
4866 * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
4869 * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
4870 doc-str-Lb-librt): Reset font.
4871 (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
4872 Provide `doc-str-Lb' to reset font.
4873 * tmac/groff_mdoc.man: Updated.
4875 2004-05-08 Jan Schaumann <jschauma@netmeister.org>
4877 * src/preproc/html/pre-html.cpp (make_message): Make it work for
4878 snprintf versions which don't conform to ANSI C 99 (this is,
4879 counting the string's trailing null byte in the return value).
4881 2004-05-07 Keith Marshall <keith.d.marshall@ntlworld.com>
4883 * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect
4884 that all implementations of sprintf handle null pointers correctly.
4886 2004-05-04 Werner LEMBERG <wl@gnu.org>
4888 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4889 Document `.U' register.
4891 * src/roff/troff/env.cpp (environment::mark_last_line)
4892 [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.
4894 2004-05-04 Larry Kollar <kollar@alltel.net>
4896 New read-only register `.U'; it returns 1 in safer mode and 0
4899 * src/roff/troff/input.cpp (init_input_requests): Implement `.U'
4902 2004-05-03 Werner LEMBERG <wl@gnu.org>
4904 * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
4906 2004-04-17 Werner LEMBERG <wl@gnu.org>
4908 * src/include/font.h (font): Use `int' for ch_index.
4909 * src/libs/libgroff/font.cpp (font::alloc_ch_index,
4910 font::compact): Updated.
4912 * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
4915 * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
4916 (hyphen_word): Fix compiler warnings.
4917 * src/roff/troff/input.cpp (get_char_for_escape_name): Return
4920 (get_delim_number, get_line_arg): Change second argument type to
4922 (macro_header::copy, token::next, do_define_string,
4923 do_define_character, substring_request, asciify_macro,
4924 unformat_macro, read_size, non_interpreted_node::interpret,
4925 while_request, main: Fix compiler warnings.
4926 (read_color_draw_node): Initialize `col'.
4928 * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
4929 `start_col' and `end_col' of type `int'.
4930 (vertical_rule): Make `col' of type `int'.
4932 * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
4935 * src/preproc/refer/label.y (uppercase_array, lowercase_array):
4937 (format_serial): Use them to remove dependency on ASCII.
4939 * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
4941 * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
4944 * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
4946 (glyph): Change type of `hpos' to `int'.
4948 * src/devices/lbp/lbp.cpp (strsep): Removed. Unused.
4949 * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
4951 * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
4953 * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
4955 2004-04-16 Werner LEMBERG <wl@gnu.org>
4957 * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
4958 src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
4959 src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
4960 `double' instead of `float' everywhere.
4961 * src/preproc/grn/main.cpp: Use `double' instead of `float'
4963 (main): Add return value.
4964 * src/preproc/grn/hdb.cpp: Use `double' instead of `float'
4966 Update all user functions.
4968 * src/include/search.h, src/include/ptable.h, src/include/printer.h,
4969 src/preproc/eqn/box.h, src/preproc/pic/object.h,
4970 src/preproc/refer/refer.h, src/preproc/tbl/table.h,
4971 src/preproc/tbl/table.cpp, src/roff/troff/env.h,
4972 src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
4973 src/roff/troff/input.cpp, src/roff/troff/request.h,
4974 src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
4977 * src/utils/indxbib/signal.c: Include stdlib.h.
4979 2004-04-14 Keith Marshall <keith.d.marshall@ntlworld.com>
4981 * tmac/s.tmac (@init, RP): Allow initialization of the PO register
4982 before the first page.
4984 2004-04-14 Thomas Klausner <wiz@netbsd.org>
4986 * tmac/doc-common (doc-volume-as-*): Use lowercase names.
4987 (doc-operating-system-*): Updated.
4988 * tmac/doc-syms (doc-str-St-*): Various small fixes.
4989 (doc-str-Lb-*): Add more library names.
4991 2004-04-10 Art Haas <ahaas@airmail.net>
4993 * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't
4996 2004-04-09 Art Haas <ahaas@airmail.net>
4998 * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.
5000 2004-04-09 Keith Marshall <keith.d.marshall@ntlworld.com>
5002 * arch/misc/shdeps.sh: Generate better comment for sed script.
5004 2004-04-08 Art Haas <ahaas@airmail.net>
5006 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
5007 src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
5008 src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
5009 src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
5010 (polyfill), src/preproc/grn/main.cpp (polyfill),
5011 src/preproc/refer/command.cpp (command_table),
5012 src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
5013 gcc 3.5 doesn't like).
5015 2004-04-08 Werner LEMBERG <wl@gnu.org>
5017 Removing many compiler warnings. groff should now compile with
5018 a C++ compiler used for C files also. [Simple variable renamings
5019 to avoid shadowing aren't logged in detail.]
5021 * src/devices/grodvi/dvi.cpp: Some local variable renamings.
5022 (draw_dvi_printer::draw) ['c']: Enclose in block.
5024 * src/devices/grohtml/post-html.cpp: Some local variable renamings.
5025 (page::add_line): Fix typos.
5026 * src/devices/grohtml/html-text.cpp: Some local variable renamings.
5028 * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
5029 Some local variable renamings.
5030 * src/devices/grolbp/lbp.h: Some local variable renamings.
5032 * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
5035 * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
5036 Remove redundant local variable declaration.
5037 * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
5038 Don't use `caddr_t' but `void *'.
5039 Enclose functions with `extern "C"' for C++.
5041 * src/libs/libdriver/input.cpp (remember_filename,
5042 remember_source_filename): Use cast for string constant.
5044 * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
5045 src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
5046 src/libs/libgroff/geometry.cpp: Some local variable renamings.
5047 * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
5049 Enclose functions with `extern "C"' for C++.
5050 * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
5051 (needs_quoting): Return `int'.
5052 (quote_arg): Add proper casts to malloc and realloc.
5053 * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
5054 various MS Windows environments.
5055 (spawnvp_wrapper): Add proper cast to malloc.
5057 * src/preproc/eqn/box.h: Remove redundant declarations of
5058 `make_script_box', `make_mark_box' and `make_lineup_box'.
5059 * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
5060 * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
5063 * src/preproc/grn/hpoint.cpp: Some local variable renamings.
5064 * src/preproc/grn/hgraph.cpp: Some local variable renamings.
5065 (dx, dy): Renamed functions to...
5066 (deltax, deltay): This.
5067 * src/preproc/grn/main.cpp: Some local variable renamings.
5068 (deffont): Add `const'.
5069 (initpic, conv): Use cast for string constant.
5071 * src/preproc/html/pre-html.cpp: Some local variable renamings.
5072 (makeFileName, alterDeviceTo, addZ): Use cast for string constant.
5073 (char_buffer::run_output_filter): Second argument is unused.
5074 * src/preproc/html/pushback.cpp: Some local variable renamings.
5076 * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
5077 * src/preproc/pic/object.cpp: Some local variable renamings.
5079 * src/preproc/refer/label.y (lookup_label): Remove redundant
5080 declaration of local variable.
5082 * src/preproc/soelim.cpp: Remove redundant declaration of
5083 `interpret_lf_args'.
5085 * src/preproc/tbl/main.cpp: Some local variable renamings.
5087 * src/roff/groff/groff.cpp (main): Use cast for string constant.
5088 * src/roff/groff/pipeline.c: Enclose declarations of `error',
5089 `c_fatal', and `i_to_a' with `extern "C"' for C++.
5090 Don't use C++-style comments.
5092 * src/roff/troff/env.h: Remove redundant declaration of `title'.
5093 * src/roff/troff/node.h, src/roff/troff/env.cpp,
5094 src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
5096 * src/roff/troff/div.h: Remove redundant declaration of
5098 * src/roff/troff/troff.h: Remove redundant declaration of
5100 * src/roff/troff/input.cpp: Remove redundant declaration of
5101 `handle_first_page_transition' and `process_input_stack'.
5103 * src/utils/hpftodit.cpp: Some local variable renamings.
5105 * src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
5107 Don't define RETSIGTYPE.
5108 * src/utils/indxbib/indxbib.cpp: Some local variable renamings.
5110 * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
5111 (error): Use `const' in argument.
5112 (main): Remove redundant declaration of `optind'.
5113 Move declaration of `Version_string' to top-level.
5115 * PROBLEMS: Document difficulties compiling signal.c if a C++
5116 compiler is used for C.
5118 2004-04-07 Werner LEMBERG <wl@gnu.org>
5120 * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
5122 2004-04-06 Keith Marshall <keith.d.marshall@ntlworld.com>
5124 Make scripts like nroff.sh and neqn.sh portable across various
5125 (Unix-like) shell implementations from Cygwin, MSYS, etc., which use
5126 non-POSIX path separators. The idea is to extend those scripts to
5127 decide at run-time (of the script) which path separator to use.
5129 * arch/misc/Makefile.sub: New file.
5130 * arch/misc/shdeps.sh: New file, generating OS dependency fixups.
5131 This script handles @GROFF_BIN_PATH_SETUP@, replacing it with
5132 a proper definition of the variable `GROFF_RUNTIME'.
5134 * Makefile.in (SH_DEPS_SED_SCRIPT): New variable.
5135 (MDEFINES): Add SH_DEPS_SED_SCRIPT.
5136 (PROGDEPDIRS): New variable.
5138 (PROGDIRS): Add PROGDEPDIRS.
5140 * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT.
5141 Don't substitute @SEP@ and @BINDIR@.
5142 * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@.
5143 (PATH): Use GROFF_RUNTIME.
5145 * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT.
5146 Don't substitute @SEP@ and @BINDIR@.
5147 * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@.
5148 (PATH): Use GROFF_RUNTIME.
5150 2004-04-05 Keith Marshall <keith.d.marshall@ntlworld.com>
5152 * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from
5153 Cygwin which doesn't handle stderr correctly.
5155 2004-03-08 Werner LEMBERG <wl@gnu.org>
5157 * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops
5158 against empty argument. Problem reported by <cgd@broadcom.com>.
5160 2004-03-05 Keith Marshall <keith.d.marshall@ntlworld.com>
5162 * Makefile.in (SEP): Replaced with...
5163 (RT_SEP, SH_SEP): Separators for the target platform's native path
5164 separator and the build environment, respectively.
5165 (fontpath, tmacpath): Use RT_SEP.
5166 (MDEFINES): Updated.
5168 * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
5169 * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
5170 * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
5172 2004-03-05 Werner LEMBERG <wl@gnu.org>
5174 * font/devlj4/Makefile.sub (LJ4RES): Set to 1200. This helps to
5175 reduce alignment problems with newer printers which use built-in
5176 TrueType fonts (instead of the older Intellifonts). The ideal
5177 solution is to provide a second set of groff metric files, but this
5178 is extremely time-consuming to produce, given that HP's metric
5179 files are very rudimentary.
5181 2004-03-01 Werner LEMBERG <wl@gnu.org>
5183 * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.
5184 s/operand/argument/ in error message.
5186 2004-03-01 Keith Marshall <keith.d.marshall@ntlworld.com>
5188 * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
5191 2004-03-01 Antti Kantee <pooka@netbsd.org>
5193 * tmac/s.tmac (XE): Fix error message.
5195 2004-02-27 Jeff Conrad <jeff_conrad@msn.com>
5197 * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:
5200 * src/roff/groff/pipeline.c: Declare strcasecmp.
5201 (run_pipeline) [_WIN32]: Use function name variants which don't
5203 Fix stream handling.
5205 2004-02-27 Keith Marshall <keith.d.marshall@ntlworld.com>
5207 * src/include/nonposix.h: Fix declaration of `system_shell_name'.
5208 Declare `spawnvp_wrapper' and macro definitions of spawnvp only
5209 for platforms which use the native Win32 runtime libraries.
5210 (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
5212 * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
5213 QUOTE_ARG_REALLOC_ERROR): Fix string.
5215 * src/preproc/html/pre-html.cpp: Remove declaration of
5217 Don't use __MINGW32__.
5218 s/DEBUG_FILE/DEBUG_FILE_DIR/.
5219 (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
5220 (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
5221 (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
5222 calls to `set_redirection' and `WAIT'.
5223 [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
5224 Fix calls to `set_redirection' and `save_and_redirect'.
5225 (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
5226 to `set_redirection' and `save_and_redirect'.
5227 (usage): Fix message.
5228 (makeTempFiles, main): Use `DEBUG_FILE'.
5230 2004-02-21 Werner LEMBERG <wl@gnu.org>
5232 * src/roff/troff/troff.h (WARN_TOTAL): Fix value.
5234 2004-02-21 Keith Marshall <keith.d.marshall@ntlworld.com>
5236 * src/libs/libgroff/quotearg.c: New file, providing proper argument
5237 quoting for MSVC's spawn* and exec* functions.
5238 * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
5239 spawnvp with proper quoting for MSVC.
5241 * src/libs/libgroff/assert.cpp (program_name),
5242 src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
5243 * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
5245 * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
5247 * src/include/error.h (program_name): Declare as `extern "C"'.
5248 * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
5250 2004-02-21 Jeff Conrad <jeff_conrad@msn.com>
5252 * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
5254 [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
5256 2004-02-20 Jeff Conrad <jeff_conrad@msn.com>
5258 * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global
5260 (sbasename) [__MSDOS__ || ...]: New function.
5261 (system_shell_name) [__MSDOS__ || ...]: Use a different, more
5263 (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
5264 (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
5266 Use STDOUT_FILENO instead of hardcoded file handle.
5267 (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
5269 2004-02-19 Werner LEMBERG <wl@gnu.org>
5271 * src/roff/troff/div.cpp: Include nonposix.h after troff.h to
5272 avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
5274 2004-02-18 Werner LEMBERG <wl@gnu.org>
5276 * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
5277 new font and mapping files.
5279 2004-02-18 Jeff Conrad <jeff_conrad@msn.com>
5280 Keith Marshall <keith.d.marshall@ntlworld.com>
5282 * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
5283 an input pipe. This is needed for the MSVC compiler to make troff's
5286 * src/roff/troff/div.cpp: Include nonposix.h.
5287 (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
5289 2004-02-17 Werner LEMBERG <wl@gnu.org>
5291 * font/devlj4/generate/special.awk: New script.
5292 * font/devlj4/generate/Makefile (S): Use special.awk.
5293 * font/devlj4/*: Regenerated, including the following new files:
5294 Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
5295 MS Symbol (SYMBOL), Wingdings (WINGDINGS).
5296 * NEWS: Document new lj4 fonts and revised hpftodit.
5298 2004-02-17 Paco Andrés Verdú <pandres@dragonet.es>
5300 * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.
5302 2004-01-25 Werner LEMBERG <wl@gnu.org>
5304 * src/libs/libgroff/progname.cpp: Replaced with...
5305 * src/libs/libgroff/progname.c: New file.
5306 * src/libs/libgroff/Makefile.sub: Updated accordingly.
5308 2004-01-17 Werner LEMBERG <wl@gnu.org>
5310 * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.
5312 2004-01-16 Jeff Conrad <jeff_conrad@msn.com>
5314 * font/devlj4/generate/wingdings.map,
5315 font/devlj4/generate/symbol.map: Include unnamed glyphs.
5316 Use groff glyph names where possible.
5317 * src/devices/grolj4/lj4_font.man: Minor updates.
5319 2004-01-13 Werner LEMBERG <wl@gnu.org>
5321 * tmac/www.tmac (DC): Handle TTY devices.
5323 * doc/webpage.ms: Document viewCVS from ffii.org.
5324 * NEWS, README: Updated.
5326 * src/roff/groff/groff.man: Mention lj4_font man page.
5328 * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
5330 (FONTS): Add SYMBOL and WINGDINGS.
5331 (SYMBOL, WINGDINGS): New targets.
5333 2004-01-13 Jeff Conrad <jeff_conrad@msn.com>
5335 * src/devices/grolj4/lj4_font.man: New man page.
5336 * src/devices/grolj4/Makefile.sub (MAN5): New variable.
5337 * src/devices/grolj4.man: Mention lj4_font man page.
5339 * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
5340 * src/utils/hpftodit/hpftodit.man: Document it.
5342 Remove details about fonts (which are now in lj4_font.man).
5344 * font/devlj4/generate/symbol.map,
5345 font/devlj4/generate/wingdings.map: New files.
5347 2004-01-12 Werner LEMBERG <wl@gnu.org>
5349 * README: Mention ffii's viewcvs access.
5351 2004-01-09 Werner LEMBERG <wl@gnu.org>
5353 * font/devlj4/generate/special.map: Map MSL 228 to U+221F.
5355 2004-01-09 Jeff Conrad <jeff_conrad@msn.com>
5357 Revert most of the change from 2004-01-03 to better control used
5360 * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
5361 (text_symbol_sets, special_symbol_sets): New arrays.
5362 (symbol_set_table): New global variable.
5363 (read_symbol_sets): Use search order given in the text_symbol_sets
5364 and special_symbol_sets arrays. If command line flag -a is not
5365 given, search both arrays.
5366 (output_charset): Require x_height_tag only for command line flag -i.
5368 2004-01-06 Werner LEMBERG <wl@gnu.org>
5370 Implement string-valued registers \n[.m] and \n[.M] to return the
5371 name of the current drawing and background color, respectively.
5373 * src/roff/troff/symbol.h: Moved to...
5374 * src/include/symbol.h: Here.
5375 Small fixes to make it work outside of the `troff' directory.
5376 * src/roff/troff/symbol.cpp: Moved to...
5377 * src/libs/libgroff/symbol.cpp: Here.
5378 Small fixes to make it work outside of the `troff' directory.
5380 * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
5381 (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
5384 * src/include/color.h: Include symbol.h.
5385 (color): Add new field `nm'.
5386 * src/libs/libgroff/color.cpp (color::color): Updated.
5388 * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
5389 src/roff/troff/node.cpp, src/roff/troff/number.cpp,
5390 src/roff/troff/reg.cpp: Don't include symbol.h.
5392 * src/roff/troff/env.cpp: Don't include symbol.h.
5393 (environment::get_glyph_color_string,
5394 environment_get_fill_color_string): New member functions.
5395 (init_env_requests): Handle `.m' and `.M' registers.
5396 * src/roff/troff/input.cpp: Don't include symbol.h.
5397 (default_symbol): Moved to symbol.cpp/symbol.h.
5398 (do_glyph_color, do_fill_color, define_color): Pass symbol name
5399 to color constructor.
5400 * src/roff/troff/env.h: Updated.
5402 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5403 Document new registers.
5405 2004-01-05 Werner LEMBERG <wl@gnu.org>
5407 * src/roff/troff/node.cpp (space_node::get_breakpoints,
5408 space_node::nbreaks): Protect against zero `next' field.
5410 2004-01-03 Jeff Conrad <jeff_conrad@msn.com>
5412 In hpftodit, use the symbol sets offered in the TFM.
5414 * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
5415 (symbol_set, text_symbol_sets, special_symbol_sets,
5416 symbol_set_table): Removed.
5417 (get_printcode): Removed.
5418 (read_symbol_sets): Initialize `symbol_set' field with
5420 Simplify code to just use the `kind' value.
5421 (output_charset): Improve output formatting.
5422 (dump_symbols): Simplified.
5424 2004-01-02 Werner LEMBERG <wl@gnu.org>
5426 * font/devlj4/generate/text.map: Add more MSL numbers.
5428 2004-01-02 Jeff Conrad <jeff_conrad@msn.com>
5430 * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
5431 (text_symbol_sets): Add more symbol sets.
5432 (debug_flag): New static variable (moved from `main').
5433 (get_printcode, show_symset): New functions.
5434 (main): Remove `debug_flag'.
5435 (output_charset): Use `show_symset'.
5436 (dump_symbols): Use `show_symset'.
5437 Print symsets for all glyphs.
5438 (read_map): Actually call `unicode_to_ucode_make' but this time
5441 2004-01-01 Werner LEMBERG <wl@gnu.org>
5443 * font/devlj4/generate/text.map, font/devlj4/generate/special.map:
5444 Fix placement of comments.
5446 2004-01-01 Jeff Conrad <jeff_conrad@msn.com>
5448 * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
5449 option `-d' is given.
5450 (output_charset): Improve warning messages to give more information.
5451 (dump_symbols): Make information more precise.
5453 (read_map): Don't call unicode_to_ucode_name; the glyph names must
5454 appear as-is and shouldn't be decomposed.
5456 2003-12-31 Werner LEMBERG <wl@gnu.org>
5458 * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.
5459 * font/devlj4/generate/Makefile (IFLAG): Updated to new units.
5460 (FONTS): Add TrueType font families Arial and Times New Roman.
5461 (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
5462 * font/devlj4/generate/text.map: Fix Unicode values of `fi' and
5465 2003-12-31 Jeff Conrad <jeff_conrad@msn.com>
5467 * test-groff.in (SEP): Quote value.
5468 * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
5469 `tem' to `char*' to avoid deallocation of a pointer to a constant
5470 object which some compilers don't like.
5472 2003-12-31 Werner LEMBERG <wl@gnu.org>
5474 * font/devlj4/generate (text.map, special.map): Rewritten to work
5475 with the new hpftodit version.
5477 2003-12-30 Jeff Conrad <jeff_conrad@msn.com>
5479 * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
5480 set and 8bit character code for all glyphs also.
5482 2003-12-30 Werner LEMBERG <wl@gnu.org>
5484 * src/libs/libgroff/strcasecmp.c: Updated from gnulib.
5486 2003-12-29 Werner LEMBERG <wl@gnu.org>
5488 More fixes for MSVC compiler.
5490 * doc/Makefile.sub (GROFF_BIN_PATH): Use $(SEP).
5492 * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
5493 STDERR_FILENO) [_MSC_VER]: Define conditionally.
5494 (getpid) [_MSC_VER]: Remove.
5495 Include direct.h and process.h conditionally.
5497 * src/roff/troff/node.cpp (suppress_node::tprint): Don't use
5498 parentheses for a_delete.
5500 * src/utils/lookbib/lookbib.cpp: Include nonposix.h.
5502 * test-groff: Replaced with...
5503 * test-groff.in: This new template to handle path separator
5506 * configure.ac: Check for direct.h and process.h.
5507 Generate test-groff script.
5508 * configure, src/include/config.hin: Regenerated.
5510 2003-12-28 Werner LEMBERG <wl@gnu.org>
5512 Add integral extension glyph.
5513 Add new option `-x' to afmtodit to suppress use of built-in AGL.
5515 * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
5517 * font/devps/generate/textmap: Provide entry for `integralex' to
5518 override (old) PUA value of the AGL.
5519 * font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
5520 * font/devps/*: Regenerated.
5522 * src/utils/afmtodit/afmtodit.pl: Add option `-x'.
5523 * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
5525 2003-12-27 Werner LEMBERG <wl@gnu.org>
5527 Add forgotten `coproduct' symbol (already available for DVI).
5529 * font/devhtml/R.proto, font/devps/generate/textmap,
5530 font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
5531 src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
5532 U+2210 (\[coproduct]).
5534 2003-12-26 Jeff Conrad <jeff_conrad@msn.com>
5536 hpftodit has been extended to handle TrueType metric files and
5537 more glyphs. See hpftodit.man for more details.
5539 * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h,
5540 ctype.h, and unicode.h.
5541 s/msl/charcode/ everywhere since we now handle Unicode values also.
5542 (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
5543 Use it where appropriate.
5544 (MULTIPLIER): Replaced with...
5545 (multiplier): New global static variable.
5547 (tag_type): Add more TFM tags.
5548 (tag_name): New array.
5549 (ENUM_TYPE, FLOAT_TYPE): Removed.
5550 (BYTE_TYPE): New value assigned.
5551 (ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
5552 (text_symbol_sets, special_symbol_sets): Extended to cover more
5554 (check_type): Add return value.
5555 (check_units): Add parameters to get ppi and upem values.
5556 Handle TrueType TFM data.
5557 (output_font_name): New function.
5558 (output_charset): Add parameter to handle TFM type.
5559 Handle TrueType TFMs also.
5560 (em_fract): New macro.
5561 (dump_tags): Be much more verbose and handle more tags.
5562 (dump_ascii, dump_symbol_sets, dump_symbols): New functions.
5563 (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
5565 (read_map): Add parameter to handle TFM type.
5566 Handle both MSL and Unicode mappings.
5567 (main): Add two new command line options `-a' and `-q'.
5568 Updated to make use of new functions.
5571 * src/utils/hpftodit/hpuni.cpp: New file.
5573 * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
5576 2003-12-25 Werner LEMBERG <wl@gnu.org>
5578 * src/include/nonposix.h (read) [_MSC_VER]: Define.
5580 2003-12-24 Werner LEMBERG <wl@gnu.org>
5582 * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested
5583 by Michail Vidiassov <master@iaas.msu.ru>.
5585 2003-12-20 Werner LEMBERG <wl@gnu.org>
5587 * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
5589 Add missing latin-2 glyphs.
5590 * font/devutf8/R.proto: Add missing latin-2 glyphs.
5592 * tmac/troffrc: Load `composite.tmac' earlier.
5594 * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
5595 u00{53,73}_0327, and u0049_0307.
5596 * tmac/X.tmac: Add u00{47,67}_0306.
5597 * tmac/tty-char.tmac: Use composite glyph names for readability.
5601 * src/include/unicode.h: Remove `extern' keywords.
5603 2003-12-20 Nilgün Belma Bugüner <nilgun@superonline.com>
5605 * tmac/latin5.tmac: New file.
5607 2003-12-19 Werner LEMBERG <wl@gnu.org>
5609 Add some glyphs needed for Turkish.
5611 * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
5614 * tmac/composite.tmac: Add `,' as a synonym for `ac' accent.
5615 * tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
5616 u00{53,73}_0327, and u0049_0307.
5618 2003-12-18 Werner LEMBERG <wl@gnu.org>
5620 * src/devices/grops/ps.cc (ps_output::put_float): Revert change
5622 Remove trailing zeros.
5624 2003-12-17 Werner LEMBERG <wl@gnu.org>
5626 Make \? transparent to end-of-sentence recognition.
5628 * src/roff/troff/input.cc (non_interpreted_node): Add
5629 `ends_sentence' member function.
5631 2003-12-16 Werner LEMBERG <wl@gnu.org>
5633 * doc/groff.texinfo: Document `dt' request correctly.
5634 Other minor typographical improvements.
5636 2003-12-10 Michail Vidiassov <master@iaas.msu.ru>
5638 * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
5640 2003-12-10 Richard Stallman <rms@gnu.org>
5642 * LICENSE: Better wording.
5644 2003-12-09 Werner LEMBERG <wl@gnu.org>
5646 * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
5647 * configure, NEWS: Updated.
5649 2003-12-08 Werner LEMBERG <wl@gnu.org>
5651 * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).
5653 2003-12-07 Bernd Warken <bwarken@mayn.de>
5657 2003-12-07 Werner LEMBERG <wl@gnu.org>
5659 * INSTALL: Improved.
5661 2003-12-05 Keith Marshall <keith.d.marshall@ntlworld.com>
5663 Use path separator character of target platform for compiled-in
5666 * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
5667 * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
5668 * configure: Regenerated.
5669 * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
5671 2003-12-05 Werner LEMBERG <wl@gnu.org>
5673 * src/include/nonposix.h (PATH_SEP_CHAR): New definition.
5674 Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
5676 2003-12-04 Bernd Warken <bwarken@mayn.de>
5678 * LICENSE: New file.
5680 2003-12-03 Werner LEMBERG <wl@gnu.org>
5682 * src/utils/afmtodit/afmtodit.pl: Comment out code which handles
5683 ligatures present in AFM files since groff currently only
5684 understands some standard ligatures and nothing else.
5686 2003-12-03 Jeff Conrad <jeff_conrad@msn.com>
5688 * src/roff/groff/groff.cpp (main): Don't run the spooler if
5691 * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
5694 Don't use Unix wait flags.
5696 2003-12-02 Werner LEMBERG <wl@gnu.org>
5698 * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
5699 src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
5700 src/roff/troff/uniuni.cpp: Moved to...
5701 * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
5702 src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
5703 src/libs/libgroff/uniuni.cpp: Here.
5705 * src/include/Makefile.sub.old (HDRS),
5706 src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
5707 src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
5709 2003-12-01 Keith Marshall <keith.d.marshall@ntlworld.com>
5711 * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to
5715 2003-12-01 Werner LEMBERG <wl@gnu.org>
5717 * groff.texinfo: Document special behaviour of `.vs 0'.
5718 Improve documentation of `cflags' request.
5721 2003-11-29 Werner LEMBERG <wl@gnu.org>
5723 * font/devlj4/generate/Makefile (CORONET): Use correct TFM.
5724 * font/devlj4/CORONET: Regenerated.
5726 2003-11-24 Werner LEMBERG <wl@gnu.org>
5728 * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
5729 if processing hyphenation patterns in traditional mode.
5730 Improve error messages.
5732 2003-11-20 Werner LEMBERG <wl@gnu.org>
5734 * src/roff/troff/node.cpp (troff_output_file::put_char_width,
5735 troff_output_file::put_char): Fix type of local variable `c'.
5737 2003-11-19 Werner LEMBERG <wl@gnu.org>
5739 * src/roff/groff/pipeline.c (P): Removed. Updated all function
5741 (i_to_a): Removed. libgroff already provides this function.
5742 (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
5744 2003-11-18 Keith Marshall <keith.d.marshall@ntlworld.com>
5746 * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
5749 2003-11-17 Werner LEMBERG <wl@gnu.org>
5751 * COPYING: Use correct version.
5753 2003-11-11 Werner LEMBERG <wl@gnu.org>
5755 LynxOS 4.0.0 doesn't declare vfprintf.
5757 * configure.ac: Check for vfprintf.
5758 * configure: Regenerated.
5759 * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
5760 * src/include/config.hin: Regenerated.
5762 2003-11-10 Werner LEMBERG <wl@gnu.org>
5764 LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.
5766 * configure.ac: Check for vsnprintf.
5767 * configure: Regenerated.
5768 * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
5770 * src/include/config.hin: Regenerated.
5772 2003-11-09 Werner LEMBERG <wl@gnu.org>
5774 * aclocal.m4: Updated syntax to autoconf 2.59.
5775 (GROFF_HTML_PROGRAMS): Use AC_FOREACH.
5776 Don't check for gsos2.
5777 (GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides
5778 working abs_top_srcdir and abs_top_builddir.
5780 * configure.ac: Updated syntax to autoconf 2.59.
5781 Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
5782 Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
5783 * configure: Regenerated.
5785 * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
5786 s/@groff_top_builddir@/@abs_top_builddir@/.
5788 * src/roff/groff/pipeline.c (xstrsignal):
5789 s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
5791 2003-11-07 Werner LEMBERG <wl@gnu.org>
5793 * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
5794 make start angle smaller than end angle to circumvent a bug in tpic
5795 handling of some versions of dvipdfm (and dvipdfmx).
5797 2003-10-30 Werner LEMBERG <wl@gnu.org>
5799 * src/devices/grops/grops.man: Improve section on creating EPS.
5801 2003-10-29 Werner LEMBERG <wl@gnu.org>
5803 * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
5806 2003-10-28 Werner LEMBERG <wl@gnu.org>
5808 * doc/groff.texinfo: Fix documentation of `.if'.
5810 2003-10-27 Michail Vidiassov <master@iaas.msu.ru>
5812 * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of
5813 the form `uniXXXX' also.
5815 2003-10-27 Werner LEMBERG <wl@gnu.org>
5817 * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,
5818 contrib/pic2graph/pic2graph.sh: Implement secure management of
5820 Pass `-P-pletter' to groff to avoid data outside of the converted
5821 area -- some versions of `convert' (for example 5.3.8) don't check
5822 the bounding box of the image but always use a fixed image size
5823 (letter paper format).
5824 * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man,
5825 contrib/pic2graph/pic2graph.man: Updated.
5827 * src/roff/groff/groff.man: Document $TMP and $TEMP.
5829 2003-10-26 Werner LEMBERG <wl@gnu.org>
5831 * src/preproc/pic/troff.cpp (troff_output::simple_circle,
5832 troff_output::simple_ellipse, troff_output::simple_arc,
5833 troff_output::simple_line, troff_output::simple_spline,
5834 troff_output::simple_polygon): Insert a space before arguments.
5835 (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the
5836 latter doesn't produce a node, so the following `.sp -1' would do
5838 Don't emit `.sp -1' after \M. This also doesn't produce a token
5839 (and we don't have to care about compatibility mode).
5840 (troff_output::set_color, troff_output::reset_color): Don't emit
5841 `.sp -1' after \M and \m.
5843 * src/roff/troff/input.cpp (old_have_input): New global variable.
5844 (input_stack::get): Handle `old_have_input'.
5845 (process_input_stack) <token::TOKEN_NEWLINE>: Call
5846 `trapping_blank_line' depending on `old_have_input', not
5849 2003-10-20 Keith Marshall <keith.d.marshall@ntlworld.com>
5851 * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32]
5852 (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing
5853 default directory names for temporary files.
5854 [__MSDOS__, _Win32] (temp_init::temp_init): Use them.
5856 * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h.
5857 [__MSDOS__] (run_pipeline): Honour environment variables.
5858 Don't use `tmpnam' but `tempnam' to work around messy
5861 * README.MinGW: New file.
5863 2003-10-16 Werner LEMBERG <wl@gnu.org>
5865 * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
5866 `(*t)->next' without testing validity of `*t'.
5867 (usage): Make it more readable.
5869 2003-10-16 Keith Marshall <keith.d.marshall@ntlworld.com>
5871 Make html device run under both MS-DOS and Win32.
5873 * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS,
5874 MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether
5875 spawn or fork+exec has to be used, and whether parent must sleep
5876 until the child process terminates. Used in
5877 `char_buffer::run_output_filter'.
5878 (copyofstdoutfd): Removed.
5879 (char_buffer): Replace `write_file_html' and `write_file_troff'
5880 member functions with `emit_troff_output' and `run_output_filter'.
5881 (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New
5883 (replaceFd): Replaced with...
5884 (set_redirection): New auxiliary function.
5885 (waitForChild): Replaced with...
5886 (save_and_redirect): New auxiliary function for.
5888 (char_buffer::do_html, char_buffer::do_image): Simplified, using new
5891 2003-10-14 Keith Marshall <keith.d.marshall@ntlworld.com>
5893 * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
5894 (GROFF_LIBC): New function.
5895 * configure.ac: Call GROFF_LIBC.
5897 * configure: Regenerated.
5899 * src/include/lib.h: Handle __MINGW32__.
5900 * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
5901 Add macro for `pipe'.
5904 * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
5907 * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
5910 2003-10-12 Werner LEMBERG <wl@gnu.org>
5912 * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
5913 src/roff/troff/input.cc (usage): Updated.
5915 * NEWS, doc/groff.texinfo: Updated.
5917 2003-10-12 Peter Miller <millerp@canb.auug.org.au>
5919 * src/libs/libgroff/searchpath.cpp
5920 (search_path::open_file_cautious): New function which also handles
5921 `-' as stdin and stdout depending on the access mode.
5922 * src/include/searchpath.h (search_path): Updated.
5924 * src/devices/grops/ps.cpp (main): Handle new `-I' switch.
5925 * src/devices/grops/ps.h: Include `searchpath.h'.
5926 * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
5927 Open resource file with `include_search_path.open_file_cautious'.
5928 * src/devices/grops/grops.man: Document new `-I' switch.
5930 * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
5931 (main), src/devices/grolj4/lj4.cpp (main),
5932 src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
5934 * src/preproc/soelim/soelim.cpp (include_list_length, include_list):
5936 (include_search_path): New global variable.
5937 (include_path_append): Removed.
5938 (main): Use `include_search_path.command_line_dir' to handle `-I'.
5939 (do_file): Simplify, using new
5940 `include_search_path.open_file_cautious'.
5942 * src/roff/groff/groff.cpp (print_commands): Accept file handle as
5944 (main): Pass arguments to `-I' to both troff and devices.
5945 Improve handling of `-V'.
5946 * src/roff/groff/groff.man: Document changes to -I and -V.
5948 * src/roff/troff/input.cpp (include_search_path): New global
5950 (next_file, source, ps_bbox_request, transparent_file,
5951 process_input_file): Use new
5952 `include_search_path.open_file_cautious'.
5953 (main) Handle `-I' switch.
5954 * src/roff/troff/node.cpp (troff_output_file::really_copy_file):
5955 Use new `include_search_path.open_file_cautious'.
5956 * src/roff/troff/node.h: New extern symbol `include_search_path'.
5957 * src/roff/troff/troff.man: Document new `-I' switch.
5959 2003-09-15 Ruslan Ermilov <ru@FreeBSD.org>
5961 Support multiple calls of .Lb in LIBRARY section.
5963 * tmac/doc-common (doc-in-library-section): New register.
5964 (doc-section-library): New string.
5965 (Sh): Set `doc-in-library-section'.
5967 * tmac/doc-syms (Lb): Insert breaks before and after arguments
5968 if in LIBRARY section.
5969 * tmac/doc.tmac (doc-save-global-vars): Updated.
5970 * NEWS, tmac/groff_mdoc.man: Updated.
5972 2003-09-14 Ruslan Ermilov <ru@FreeBSD.org>
5974 * tmac/doc-common (doc-default-operating-system): New variable.
5977 2003-09-08 Werner LEMBERG <wl@gnu.org>
5979 * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also.
5981 2003-08-31 Werner LEMBERG <wl@gnu.org>
5983 * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
5984 (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
5985 $(DEVFILES) are not empty.
5986 * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
5988 2003-08-23 Stephen Gildea <http://www.gildea.com/stephen>
5990 * src/preproc/refer/ref.cpp (reference::compute_sort_key): Always
5991 insert SORT_SEP. With certain combinations of sort specifications,
5992 refer sorted entries in the wrong order. In particular, entries
5993 with a missing field should be be sorted before all entries that
5994 have that field, before refer looks to the next field.
5996 2003-08-23 Werner LEMBERG <wl@gnu.org>
5998 * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the
5999 g++ linker is used. Reported by Mark J. Reed
6000 <mark.reed@turner.com>.
6002 2003-08-16 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
6004 Add key character `x' to tbl which makes tbl call a user-defined
6005 macro on a table cell.
6007 * src/preproc/tbl/table.h (entry_modifier): Add `macro'.
6008 * src/preproc/tbl/table.cpp (block_entry::do_divert): Call
6009 `set_modifier' after printing the compatibility request.
6010 (set_modifier): Print call to `m->macro' if not empty.
6011 * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
6013 (process_format): Implement cases `x' and `X'.
6014 * src/preproc/tbl/tbl.man, NEWS: Updated.
6016 2003-08-15 Werner LEMBERG <wl@gnu.org>
6018 * doc/groff.texinfo: Minor fixes.
6020 2003-08-09 Werner LEMBERG <wl@gnu.org>
6022 * tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
6024 2003-08-07 Werner LEMBERG <wl@gnu.org>
6026 * doc/Makefile.sub: Not all shells expand wildcards in the `for'
6027 argument list to nothing if there is no file to match. Use `ls' as
6028 a protection, similar to autoconf.
6030 * Makefile.comm (install_dev, uninstall_dev): Protect `for' against
6031 empty argument lists.
6033 * doc/groff.texinfo: Improve documentation how vertical spacing
6034 and line breaks interact.
6037 * tmac/www.tmac: Initialize `www-htmlimage-gap'.
6039 2003-08-03 Werner LEMBERG <wl@gnu.org>
6041 * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
6042 EPS (using eps2eps or similar programs to compute the bounding box).
6044 2003-07-24 Werner LEMBERG <wl@gnu.org>
6046 * doc/groff.texinfo: Use the new @/ command to avoid overlong lines.
6047 * doc/texinfo.tex: Updated from texinfo 4.6.
6048 * README.CVS: From now on we need texinfo 4.6.
6050 2003-07-23 Werner LEMBERG <wl@gnu.org>
6052 Add requests `dei1' and `ami1' for completeness.
6054 * src/roff/troff/input.cc (calling_mode): Remove
6055 CALLING_DISABLE_COMP.
6056 (comp_mode): New enumeration.
6057 (do_define_string, define_string, define_nocomp_string,
6058 append_string, append_nocomp_string): Updated.
6059 (do_define_macro): Add third parameter.
6060 (define_macro, define_nocomp_macro, define_indirect_macro,
6061 append_macro, append_nocomp_macro, append_indirect_macro): Updated.
6062 (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
6065 (init_input_requests): Add `dei1' and `ami1'.
6067 * tmac/trace.tmac: Handle de1 and am1.
6068 (de): Improve tracing message.
6069 (am): Add missing `do'.
6072 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6073 Document new requests.
6075 2003-07-22 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
6077 Add option -G to .MPIMG to insert a gap between text and the image.
6079 * tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
6080 www-finish-left-ll): Updated.
6081 (www-image-just, www-image-gap, www-htmlimage-gap): New variables.
6082 (MPIMG): Make option -L and -R optional.
6083 Implement option -G.
6085 2003-07-22 Gaius Mulley <gaius@glam.ac.uk>
6087 * src/devices/grohtml/post-html.cpp
6088 (html_printer::do_file_components): Don't use `stdout' as lvalue
6089 since it can be a macro.
6091 2003-07-22 Werner LEMBERG <wl@gnu.org>
6093 * src/libs/libgroff/strerror.c: Include errno.h to be in sync with
6094 the corresponding test in aclocal.m4.
6096 2003-07-21 Werner LEMBERG <wl@gnu.org>
6098 * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour
6099 names but RGB values directly. Otherwise pnmtopng depends on
6100 an external file `rgb.txt' which maps colour names to values.
6102 2003-07-20 Werner LEMBERG <wl@gnu.org>
6104 * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
6105 * configure, src/include/config.hin: Regenerated.
6107 * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
6109 2003-07-19 Werner LEMBERG <wl@gnu.org>
6111 * PROBLEMS: Add solution for UTF-8 problem with hyphens.
6113 2003-07-18 Werner LEMBERG <wl@gnu.org>
6115 * *.man: Switch to non-compatibility mode temporarily if GNU
6116 syntax extensions are used in the particular man page.
6118 * PROBLEMS: Add solutions for SGR problems.
6120 2003-07-17 Werner LEMBERG <wl@gnu.org>
6122 Don't ignore grotty's command line options if \X'tty: sgr ...' is
6123 used to change the drawing scheme.
6125 * src/devives/grotty/tty.cpp (bold_flag_option,
6126 underline_flag_option, italic_flag_option, reverse_flag_option,
6127 bold_underline_mode_option): New global variables.
6128 (update_options): New function.
6129 (tty_printer::special): Call update_options.
6130 (main): Don't set xxx_flag but xxx_flag_option, then call
6133 2003-07-14 Werner LEMBERG <wl@gnu.org>
6135 Make grotty emit proper Unicode box drawing characters for -Tutf8.
6137 * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum
6139 (hline_char, vline_char): New global variables.
6140 (tty_printer::tty_printer): Initialize them.
6141 (tty_printer::draw): Emit START_LINE and END_LINE flags for both
6142 horizontal and vertical lines.
6143 (crossings): New global array.
6144 (tty_printer::end_page): Use it to determine the proper crossing
6145 character for -Tutf8.
6147 2003-07-12 Werner LEMBERG <wl@gnu.org>
6149 * doc/Makefilesub (HTMLDOCFILESALL): New macro.
6150 (HTMLDOCFILES): Revert to `pic.html'.
6151 (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
6153 2003-07-11 Werner LEMBERG <wl@gnu.org>
6155 * doc/pic.ms: Improve documentation of absolute coordinates.
6156 Document absolute positioning of pictures.
6158 * NEWS: Add new pic capability.
6160 2003-07-09 Hartmut Henkel <hartmut_henkel@gmx.de>
6162 * src/libs/libgroff/geometry.cpp (check_output_arc_limits):
6165 2003-07-07 Werner LEMBERG <wl@gnu.org>
6167 Implement support for dashed and dotted ellipses in pic. Based on
6168 a patch from Hartmut Henkel <hartmut_henkel@gmx.de>.
6170 * src/preproc/pic/common.cpp (common_output::ellipse_arc,
6171 common_output::dashed_ellipse, common_output::dotted_ellipse): New
6172 functions. Ellipse arcs are approximated with circle arcs.
6173 * src/preproc/pic/common.h (common_output): Updated.
6174 * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse
6176 * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto.
6178 * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated.
6180 2003-07-06 Werner LEMBERG <wl@gnu.org>
6182 Make grotty work on platforms which have unsigned char as the
6183 default for char. Based on a patch by Thomas Klausner
6186 * src/devices/grotty/tty.cpp (schar): New typedef.
6187 Updated calls to declare_ptable and implement_ptable.
6188 (glyph): Use schar for back_color_idx and fore_color_idx.
6189 (tty_printer): Use schar for curr_fore_idx and curr_back_idx.
6190 (tty_printer::tty_color, tty_printer::tty_printer,
6191 tty_printer::color_to_idx, tty_printer::put_color): Updated.
6193 2003-07-06 Ruslan Ermilov <ru@FreeBSD.org>
6195 * src/roff/nroff/nroff.sh: Add option -d for completeness.
6196 * src/roff/nroff/nroff.man: Updated.
6198 2003-07-05 Werner LEMBERG <wl@gnu.org>
6200 * NEWS, tmac/groff_www.man: Updated.
6201 * doc/Makefile.sub: Updated.
6203 2003-07-05 Gaius Mulley <gaius@glam.ac.uk>
6205 Implement support for multiple HTML output files.
6207 * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
6208 -j command line option.
6210 * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
6212 (file): New fields `new_output_file', `require_links',
6214 (file::file): Updated.
6215 (files::set_file_name, files::set_links_required,
6216 files::are_links_required, files::is_new_output_file,
6217 files::file_name, files::next_file_name): New functions.
6218 (header_desc): New fields `no_of_level_one_headings',
6220 (header_desc::header_desc): Updated.
6221 (header_desc::write_headings): Handle multiple files.
6222 (html_printer::write_header): Save file name in which header occurs.
6223 (html_printer::determine_header_level): Possibly split files on
6225 (html_printer::do_links, html_printer::troff_tag): Updated.
6226 (html_printer::insert_split_file, html_printer::do_job_name,
6227 html_printer::emit_link, html_printer::write_navigation,
6228 html_printer::do_file_components): New functions.
6229 (html_printer::~html_printer): Handle multiple files.
6230 (main): Handle command line option `-j'.
6232 * src/devices/grohtml/grohtml.man: Updated.
6234 * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
6237 * tmac/www.tmac (JOBNAME): New macro.
6238 * tmac/s.tmac (SH-NO-TAG): New macro.
6239 (@SH): Call SH-NO-TAG.
6242 2003-07-05 Ruslan Ermilov <ru@FreeBSD.org>
6244 * tmac/groff_mdoc.man: Improve documentation of punctuation
6247 2003-07-04 Ruslan Ermilov <ru@FreeBSD.org>
6249 * tmac/doc.tmac (Bd): Change to doc-Li-font later.
6251 2003-07-03 Werner LEMBERG <wl@gnu.org>
6253 * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
6255 2003-07-01 Ruslan Ermilov <ru@FreeBSD.org>
6257 * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
6258 after `/*' and `*/'.
6260 (Fn, Fo): Reduce indentation in synopsis.
6262 * tmac/doc-common (doc-check-depth): New macro.
6263 (doc-end-macro, Sh, Ss): Use it.
6264 (Cd): Fix behaviour in synopsis.
6265 (In): Make it parsed and callable.
6266 If not in the synopsis, represent the C header file enclosed in
6268 (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
6269 Use minus, not hyphen.
6271 * tmac/groff_mdoc.man: Updated.
6273 2003-07-01 Werner LEMBERG <wl@gnu.org>
6275 Integrated grap2graph, contributed by Eric S. Raymond.
6277 * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
6279 * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
6280 contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
6282 2003-07-01 Colin Watson <cjwatson@debian.org>
6284 * src/xditview/*.c: Add prototypes, fix return types, add includes.
6285 Based on work by Fumitoshi UKAI <ukai@debian.or.jp>.
6287 2003-06-31 Ruslan Ermilov <ru@FreeBSD.org>
6289 * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.
6291 2003-06-31 Werner LEMBERG <wl@gnu.org>
6293 * doc/Makefile.sub (CLEANADD): Remove all files created by
6294 running `make groff.{pdf,dvi}'.
6296 * Makefile.sub (DISTCLEANFILES): Remove all non-source files from
6299 2003-06-30 Werner LEMBERG <wl@gnu.org>
6301 * Makefile.in (SHELL): Define as @SHELL@.
6302 (mkinstalldirs): Use $(SHELL).
6303 (MDEFINES): Add $(SHELL).
6304 * Makefile.comm (SHELL): Removed.
6306 2003-06-29 Werner LEMBERG <wl@gnu.org>
6308 * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively.
6309 The X11 documentation files use them.
6310 * tmac/groff_ms.man, doc/groff.texinfo: Document them.
6312 2003-06-15 Robert Goulding <goulding@Princeton.EDU>
6314 * tmac/e.tmac (@C): Handle .ad also.
6316 2003-06-12 Werner LEMBERG <wl@gnu.org>
6318 * src/preproc/tbl/tbl.man: Document formatting of text blocks.
6320 * src/roff/troff/input.cc (token::next) <handle_escape_char>:
6321 Assign `n' even here. It is possible to construct a node
6322 immediately following an escape character:
6330 2003-06-10 Werner LEMBERG <wl@gnu.org>
6332 * README.WIN32: Removed.
6333 * MANIFEST: Updated.
6335 2003-06-07 Werner LEMBERG <wl@gnu.org>
6337 * src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
6339 2003-06-05 Werner LEMBERG <wl@gnu.org>
6341 * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug
6342 in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885).
6344 2003-06-03 Werner LEMBERG <wl@gnu.org>
6346 * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
6347 is done by the calling function.
6349 2003-05-22 Ruslan Ermilov <ru@FreeBSD.org>
6351 * tmac/X.tmac: Fix definition of `em'.
6353 2003-05-22 Werner LEMBERG <wl@gnu.org>
6355 * src/roff/troff/input.cc (return_macro_request): Fix detection of
6358 2003-05-18 Werner LEMBERG <wl@gnu.org>
6360 * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
6361 to make items work which consist only of a tag.
6363 2003-05-17 Werner LEMBERG <wl@gnu.org>
6365 * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
6366 aren't stretched in a tag (this can fail with unformatted boxes).
6367 Instead, insert a break and go back one line.
6369 2003-05-16 Werner LEMBERG <wl@gnu.org>
6371 * src/roff/troff/input.cc (return_macro_request): If called with
6372 argument pop macro twice. We need this to trace `return'.
6374 * tmac/trace.tmac: Handle `return'.
6377 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6380 2003-05-15 Larry Kollar <kollar@alltel.net>
6382 * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
6383 registers `FPS', `FVS', and `FPD'.
6385 2003-05-15 Werner LEMBERG <wl@gnu.org>
6387 * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter
6390 2003-05-03 Ruslan Ermilov <ru@FreeBSD.org>
6392 * tmac/groff_mdoc.man: Slight improvements.
6394 2003-05-03 Werner LEMBERG <wl@gnu.org>
6396 * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
6397 `doc-header-space' after header line if register `cR' is set.
6399 2003-05-02 Werner LEMBERG <wl@gnu.org>
6403 2003-05-01 Ruslan Ermilov <ru@FreeBSD.org>
6405 * tmac/doc-common (Nd): Use \[em].
6407 2003-05-01 Werner LEMBERG <wl@gnu.org>
6409 * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
6410 doc-footer-space): Initialize to 0.5i.
6411 (doc-setup-page-layout): Don't set doc-header-space and
6414 2003-04-30 Werner LEMBERG <wl@gnu.org>
6416 * REVISION: Set to 1.
6418 * doc/pic.ms: Document possible problems with `figname'.
6420 2003-04-29 Werner LEMBERG <wl@gnu.org>
6422 Version 1.19 released
6423 =====================
6425 * VERSION: Set to 1.19.
6426 * REVISION: Set to 0.
6427 * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
6429 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
6430 Define charset as `US-ASCII' in html output.
6432 * tmac/www.tmac (ULE): Add missing scaling indicator.
6434 * win32-diffs: Removed.
6436 2003-04-28 Werner LEMBERG <wl@gnu.org>
6438 * doc/groff.texinfo: Document `dn' and `dl' registers if used with
6440 Document how to insert discardable whitespace with `.ss'.
6442 2003-04-27 Werner LEMBERG <wl@gnu.org>
6444 * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code
6445 work with plain TeX also.
6447 * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
6449 2003-04-25 Gaius Mulley <gaius@glam.ac.uk>
6451 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
6454 2003-04-24 Werner LEMBERG <wl@gnu.org>
6456 * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
6457 vbox with positive height and zero depth if in TeX mode.
6459 * NEWS: Document glyph name changes for grodvi and grolj4.
6461 2003-04-23 Werner LEMBERG <wl@gnu.org>
6463 * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code.
6464 * doc/pic.ms: Fixed.
6466 2003-04-21 Werner LEMBERG <wl@gnu.org>
6468 HP-UX 10.20 has `snprintf' but it isn't declared.
6470 * configure.ac: Add declaration test for snprintf.
6471 * configure: Regenerated.
6472 * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
6473 * src/include/config.hin: Regenerated.
6475 2003-04-19 Werner LEMBERG <wl@gnu.org>
6477 Add keyword `figname' to pic, specifying the name of the picture
6478 box in TeX mode. Based on a patch from William J Poser
6479 <wjposer@unagi.cis.upenn.edu>.
6481 * src/preproc/pic/pic.y: New token `FIGNAME'.
6482 (macro_name): New rule of type <str>.
6483 (placeless_element): Handle `FIGNAME'.
6484 * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
6485 * src/preproc/pic/main.cpp (graphname): New global variable.
6486 (do_picture): Initialize `graphname'.
6487 * src/preproc/pic/pic.h: Updated.
6488 * src/preproc/pic/tex.cpp (tex_output::start_picture): Use
6491 (tex_output::text): Beautify output.
6492 * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
6493 `shaded' and `outlined' unconditionally.
6494 * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
6497 * PROBLEMS, README.CVS: Mention that bison version 1.875b or
6498 greater is necessary.
6500 2003-04-17 Hartmut Henkel <hartmut_henkel@gmx.de>
6502 Add option -r to soelim to avoid emission of `.lf' lines.
6503 Add option -t to produces TeX comment lines instead of `.lf' lines.
6505 * src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
6508 (main): Handle `-r' and `-t'.
6509 (set_location): Handle `raw_flag' and `tex_flag'.
6510 * src/preproc/soelim/soelim.man, NEWS: Updated.
6512 2003-04-17 Werner LEMBERG <wl@gnu.org>
6514 * tmac/hyphenex.sh: Replaced with...
6515 * tmac/hyphenex.pl: This perl script to avoid sed compatibility
6518 * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
6519 if --quiet is used for the configure script.
6520 * configure: Regenerated.
6522 2003-04-16 Werner LEMBERG <wl@gnu.org>
6524 * src/devices/grohtml/post-html.cpp (text_glob::text_glob):
6525 Add `const' to second argument.
6526 (html_printer::add_table_end): Add `const' to argument.
6527 * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
6528 `const' to arguments.
6529 * src/devices/grohtml/html-text.h: Updated.
6531 * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
6532 * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
6535 * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
6536 cast for integer constant.
6538 * src/preproc/html/pre-html.cpp (image_device): Use `const'.
6539 (writeNbytes): Add `const' to first argument.
6540 (writeString): Add `const' to argument.
6541 (char_buffer::can_see): Add `const' to third argument.
6542 * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
6543 `const' to argument.
6544 * src/preproc/html/pushback.h: Updated.
6546 * src/preproc/soelim/soelim.cpp (include_list): Add `const'.
6547 (include_path_append): Add `const' to argument.
6550 * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
6552 (unicode_to_glyph_init::unicode_to_glyph_init): Updated.
6553 * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
6555 (unicode_decompose_init::unicode_decompose_init): Updated.
6556 * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
6558 (glyph_to_unicode_init::glyph_to_unicode_init): Updated.
6559 * src/roff/troff/input.cc (process_startup_file): Add `const' to
6562 * tmac/hyphenex.sh: Make script more portable by using a here
6565 2003-04-15 Werner LEMBERG <wl@gnu.org>
6567 Renamed all `*.cc' files to `*.cpp'.
6568 Updated all configuration files, makefiles, and documentation.
6570 2003-04-14 Werner LEMBERG <wl@gnu.org>
6572 * tmac/hyphenex.sh: Slight improvements.
6574 2003-04-13 Werner LEMBERG <wl@gnu.org>
6576 * font/devascii/R.proto, font/devcp1037/R.proto,
6577 font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
6578 character slots with unnamed glyphs.
6580 * tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
6581 (an-first): New global variable.
6582 (an-header): Emit vertical space between multiple man pages.
6584 2003-04-11 Werner LEMBERG <wl@gnu.org>
6586 * doc/groff.texinfo, man/groff_out.man: \S only accepts integer
6589 2003-04-10 Werner LEMBERG <wl@gnu.org>
6591 * PROBLEMS: Revised.
6593 2003-04-10 Bernd Warken <bwarken@mayn.de>
6595 * doc/webpage.ms: Improved.
6597 2003-04-09 Werner LEMBERG <wl@gnu.org>
6599 Add register \n[.height] which returns the value of \H.
6600 Add register \n[.slant] which returns the value of \S.
6602 * src/roff/troff/env.cc (init_env_requests): Implement.
6603 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6606 2003-04-08 Werner LEMBERG <wl@gnu.org>
6608 * tmac/html.tmac: Move some of the data into html-end.tmac.
6609 Remove most of the character translations for eqn since html fonts
6610 now cover those characters.
6612 * tmac/html-end.tmac: New file.
6613 * tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
6614 * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
6615 * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
6617 2003-04-07 Werner LEMBERG <wl@gnu.org>
6619 * man/groff_out.man: Document negative values of `N' if -Thtml is
6622 2003-04-06 Werner LEMBERG <wl@gnu.org>
6624 * Makefile.comm (depend.temp): Check location of YTABC.
6626 2003-04-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6628 * doc/Makefile.in (TROFFBIN): New variable for troff
6630 (GROFFBIN): New variable for groff binary path.
6631 (groff_bin_path): Rename to GROFF_BIN_PATH.
6632 (TROFF): Use TROFFBIN.
6633 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6634 * doc/Makefile.sub (GROFFBIN): New variable for groff
6636 (groff_bin_path): Rename to GROFF_BIN_PATH.
6637 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6639 * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
6640 with INSTALL_SCRIPT.
6641 (uninstall_dev): Uninstall scripts from DEVSCRIPTS.
6642 * Makefile.dev (all): Depend on DEVSCRIPTS.
6643 (install_dev): Likewise.
6644 * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
6646 * font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
6647 (DEVGENSCRIPTS): New variable to hold generated scripts.
6649 2003-04-05 Werner LEMBERG <wl@gnu.org>
6651 * src/libs/libdriver/input.cc (IntArray::operator[],
6652 IntArray::get_data): Remove meaningless `const' in return value.
6654 * README.CVS: New file.
6656 2003-04-04 Werner LEMBERG <wl@gnu.org>
6658 Check for stdint.h in C++, not in C.
6660 * aclocal.m4 (GROFF_STDINT_H): New function,
6661 * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
6663 * configure, src/include/config.hin: Regenerated.
6664 * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
6667 Fix handling of in grohtml. To do this, troff emits `N'
6668 with a negative value, representing the width of the unbreakable
6669 space (only for -Thtml). grohtml then converts this back to
6670 and uses the value of N as its width.
6672 * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6673 unbreakable_space_node::tprint): Emit `N-<width>'.
6674 * src/include/printer.h (printer::set_numbered_char): Make it
6676 Make members `font_table' and `nfonts' protected instead of private.
6677 * src/devices/grohtml/post-html.cc
6678 (html_printer::set_numbered_char): New member function.
6681 * src/libs/libgroff/maxfilename.cc:
6682 s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
6684 * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
6687 2003-04-03 Sergey A. Osokin <osa@freebsd.org.ru>
6689 * man/roff.man: Small fixes.
6691 2003-04-03 Werner LEMBERG <wl@gnu.org>
6693 Make groff independent from locale's numeric settings.
6695 * configure.ac: Check for `setlocale'.
6696 * configure, src/include/config.hin: Regenerated.
6698 * src/include/lib.h: Handle HAVE_SETLOCALE.
6700 * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
6701 (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
6702 (main), src/preproc/pic/main.cc (main): Call `setlocale'.
6705 * doc/groff.texinfo: Change dir category to `Typesetting'.
6706 (Man font macros): Mention that there is no space between arguments
6709 * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
6710 (*printer::change_color, *printer::change_fill_color): Add missing
6713 2003-04-02 Werner LEMBERG <wl@gnu.org>
6715 * src/devices/grohtml/html-table.cc (html_table::emit_col,
6716 html_table::is_gap): Compute table widths after converting border
6717 positions to avoid rounding errors.
6719 2003-04-01 Werner LEMBERG <wl@gnu.org>
6721 * src/devices/grohtml/html-text.cc (html_text::do_space): Handle
6722 `space_emitted' properly.
6724 2003-03-31 Werner LEMBERG <wl@gnu.org>
6726 * src/devices/grohtml/html-table.cc: Fix column width calculation.
6727 (html_table::set_linelength): Don't add 1.
6728 (html_table::add_indent): Don't subtract 1.
6730 * tmac/html.tmac: Set default page offset to zero.
6732 2003-03-30 Werner LEMBERG <wl@gnu.org>
6734 Make groff emit ` ' for `\ ' and `\~' if `-Thtml' is used.
6736 * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6737 unbreakable_space_node::tprint): New functions.
6738 (troff_output_file): Make space_char_hmotion_mode::tprint and
6739 unbreakable_space_node::tprint to friends.
6740 * src/roff/troff/node.h: Updated.
6742 * font/devhtml/R.proto: Add ` ' at position 0xA0 (as defined
6743 in the HTML standard).
6745 2003-03-29 Werner LEMBERG <wl@gnu.org>
6747 * src/roff/troff/env.cc (point_size): Fix emission of html tag.
6748 Otherwise, the following code
6757 produces `x a' instead of `xa'. This is a temporary fix, disabling
6758 font changes in diversions for -Thtml.
6760 * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
6762 (an-do-tag-html): Merge with ...
6763 (an-do-tag): This macro.
6764 Change code slightly to circumvent grohtml bug.
6765 * tmac/troffrc-end: Define dummy for HTML-TAG-NS.
6767 * src/devices/grohtml/html-table.cc (html_table::emit_col,
6768 html_table::is_gap): Round `width' properly.
6770 * tmac/html.tmac: Provide some default layout parameters for
6773 * font/devhtml/DESC.proto: Don't use discrete values for `sizes'
6776 2003-03-28 Werner LEMBERG <wl@gnu.org>
6778 src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
6780 2003-03-27 Werner LEMBERG <wl@gnu.org>
6782 * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
6785 2003-03-20 Werner LEMBERG <wl@gnu.org>
6787 * src/roff/troff/env.cc (vertical_spacing): Allow zero value for
6789 * doc/groff.texinfo: Updated.
6791 2003-03-19 Werner LEMBERG <wl@gnu.org>
6793 * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
6794 TOKEN_END_TRAP>: Reset `have_input'.
6796 2003-03-18 Werner LEMBERG <wl@gnu.org>
6798 * src/roff/groff/groff.man: Mention groff_trace man page.
6800 2003-03-16 Werner LEMBERG <wl@gnu.org>
6802 * Makefile.in (LIBEXT): New variable to indicate the file extension
6803 of library files. Computed heuristically from $(OBJEXT).
6804 (MDEFINES): Add $(LIBEXT).
6805 * Makefile.lib, Makefile.comm: Use it.
6807 * src/utils/pfbtops/pfbtops.c (get_text): New function. Split
6808 overlong lines into smaller chunks.
6809 (get_binary): New function.
6811 * src/utils/pfbtops/pfbtops.man: Updated.
6813 2003-03-15 Colin Watson <cjwatson@debian.org>
6815 * src/roff/groff/groff.man: Minor syntax fix.
6817 2003-03-14 Egil Kvaleberg <egil@kvaleberg.no>
6819 * src/devices/grops/ps.cc (ps_printer::media_set,
6820 ps_printer::~ps_printer): Handle zero paper width and length.
6822 2003-03-13 Werner LEMBERG <wl@gnu.org>
6824 Add options -p and -l to grodvi.
6826 * src/devices/grodvi/dvi.cc: Include paper.h.
6827 (landscape_flag, user_paper_length, user_paper_width): New global
6829 (dvi_printer::begin_page): Emit `papersize' special.
6830 Set color after initialization of `cur_h' and `cur_v'.
6831 (main): Add options `-l' and `-p'.
6832 * font/devdvi/Makefile.sub (DESC): Set `papersize'.
6833 * src/devices/grodvi/grodvi.man, NEWS: Updated.
6835 * src/devices/grops/psrm.cc (valid_input_table): Fixed.
6837 2003-03-12 Werner LEMBERG <wl@gnu.org>
6839 * src/devices/grops/grops.man: Move documentation of .PSPIC to...
6840 * man/groff_tmac.man: This man page.
6841 * man/groff_font.man: Declare `paperwidth' and `paperlength' as
6844 * tmac/X.tmac: Don't load pspic.tmac.
6846 2003-03-11 Werner LEMBERG <wl@gnu.org>
6848 Make variable `pr' local to libdriver/input.cc. Based on a patch
6849 by Bernd Warken <bwarken@mayn.de>.
6851 * src/include/driver.h (pr): Removed.
6853 * src/libs/libdriver/input.cc (pr): New global variable.
6854 (do_file): Deallocate `pr'.
6855 * src/libs/libdriver/printer.cc (pr): Removed.
6857 * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
6858 (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
6859 (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
6860 (main): Don't delete `pr'.
6862 2003-03-10 Werner LEMBERG <wl@gnu.org>
6864 * tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
6865 * tmac/papersize.tmac: New file.
6866 * tmac/troffrc: Include `papersize.tmac'.
6867 * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
6868 * tmac/an-old.tmac: Set LT to LL by default.
6870 * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
6871 doc/groff.texinfo: Updated.
6873 * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
6874 bug which caused all odd iso papers to have wrong dimensions.
6876 * src/devices/grops/ps.cc (user_paper_width): New global variable.
6877 (main) <'p'>: Set `user_paper_width' also.
6878 (ps_printer::media_width, ps_printer::media_height): Use values
6879 given with option `-p'.
6881 2003-03-09 Werner LEMBERG <wl@gnu.org>
6883 * src/include/nonposix.h: Provide default for SET_BINARY.
6885 * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc,
6886 src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY
6889 * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally.
6890 (main): Treat \r\n as \n.
6892 2003-03-08 Werner LEMBERG <wl@gnu.org>
6894 * tmac/an-old.tmac: Use register `HY' to control hyphenation.
6895 * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
6897 2003-03-07 Werner LEMBERG <wl@gnu.org>
6899 Added support to access more than 256 glyphs in Type 1 fonts.
6901 * src/devices/grops/ps.cc (subencoding): New structure.
6902 (style): Add `sub' field.
6904 (ps_printer): Add `subencodings' and `next_subencoding_index' fields.
6905 Add `set_subencoding', `get_subfont' and `encode_subfont' member
6908 (ps_printer::set_char): Use `set_subencoding'.
6909 (make_subencoding_name): New function.
6910 (ps_printer::set_style): Handle case where `sty.sub' is not zero.
6911 (ps_printer::~ps_printer): Emit subencoding definitions.
6913 * src/devices/grops/psrm.cc (valid_input_table): New array to
6914 properly support EBCDIC.
6915 (white_space): Add `\f'.
6916 (ps_get_line): Change first argument to be of type `string &'.
6917 Updated all callers.
6918 This allows to get lines of arbitrary length.
6919 Use `valid_input_table'.
6920 Remove warning about non-conforming PS line length. This seems
6921 not to be of great importance -- for example, dvips don't emit
6923 (PS_LINE_MAX): Removed.
6924 (matches_comment): Change first argument to be of type `string &'.
6926 * src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
6928 * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
6929 %AGL_to_unicode, %default_ligatures): New hash tables.
6930 Read all map entries.
6931 Add unencoded characters.
6932 Check for default ligatures if there are no `L' entries.
6933 Print all kern entries.
6934 Print all characters in charset.
6935 * src/utils/afmtodit/afmtodit.man: Updated.
6937 * font/devps/*: Regerated all fonts.
6939 * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
6940 of characters, just use `.trin'. Otherwise the mapping depends
6941 on the font encoding.
6942 * tmac/ps.tmac: Add `fi' and `fl'.
6943 Improve `Fi' and `Fl'.
6944 * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
6945 * tmac/Xps.tmac: Fix `em'.
6949 2003-03-04 Werner LEMBERG <wl@gnu.org>
6951 * src/roff/troff/input.cc (charinfo_to_node_list): Reset
6954 2003-03-03 Werner LEMBERG <wl@gnu.org>
6956 * Makefile.sub (DISTCLEANFILES): Add gxditview._man.
6958 * font/devps/generate/textmap: Remove entry `similarequal'.
6959 * font/devps/symbolmap: Updated.
6961 2003-03-02 Werner LEMBERG <wl@gnu.org>
6963 * src/libs/libgroff/font.cc (font::load): Fix error message for
6966 * src/devices/grops/grops.man: Improve documentation of the -b
6969 * tmac/tty.tmac: Load latin1.tmac for all TTY devices except
6970 `ascii' and `cp1047'.
6972 2003-03-01 Werner LEMBERG <wl@gnu.org>
6974 Document composite glyphs and the `composite' request.
6976 * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
6978 2003-02-28 Werner LEMBERG <wl@gnu.org>
6980 * font/devdvi/generate/ec.map: Add some more Unicode entities.
6981 * font/devdvi/*EC: Updated.
6983 * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
6984 * tmac/latin1 (latin1-tr): Undo any previous mapping.
6985 * tmac/troffrc: Load `composite.tmac'.
6986 * tmac/Makefile.sub (NORMALFILES): Updated.
6988 * doc/groff.texinfo (Input Encodings): New section.
6991 2003-02-27 Werner LEMBERG <wl@gnu.org>
6993 * doc/texinfo.tex: New version 2003-02-11.06.
6995 * tmac/doc-common (Dt): Don't emit warning for unknown section.
6996 * tmac/groff_mdoc.man: Fix description of `Dt'.
6998 2003-02-26 Egil Kvaleberg <egil@kvaleberg.no>
7000 * font/devps/prologue.ps: Fix for included Postscript that does
7001 a setpagedevice -- which is now safely ignored.
7005 * src/devices/grops/ps.cc: Now sets the page size in the generated
7006 document. This is done in two ways: Via a %%-comment for gv and
7007 the like, and via a PageSize and setpagedevice for programs that
7008 understands Postscript proper, like ps2pdf.
7010 * src/devices/grops/ps.h: New broken-flag to avoid page size
7011 definition, if required.
7013 * src/devices/grops/grops.man: New broken-flag 16 mentioned.
7015 * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
7016 Not really necessary due to the fix in prologue.ps, but cleaner:
7017 Such information does not belong in an .eps file.
7019 * doc/Makefile.sub: See doc/Makefile.in.
7021 2003-02-26 Ralph Corderoy <ralph@inputplus.co.uk>
7023 * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
7024 instead of P1 since the latter is broken in some versions of netpbm.
7025 * configure: Updated.
7027 2003-02-26 Larry Kollar <kollar@alltel.net>
7029 Make man pages more customizable.
7031 * tmac/an-old.tmac (FT): New register holding footer distance from
7033 (HF): New string holding the default heading font.
7034 (TH): Handle registers `IN' and `SN' set on the command line.
7036 (PT, BT): New strings to customize header and footer lines.
7037 (an-header, an-footer): Use them.
7039 * tmac/groff_man.man: Document changes.
7041 * doc/groff.texinfo: Document man changes.
7042 Document Ultrix extensions of man.
7044 2003-02-26 Werner LEMBERG <wl@gnu.org>
7046 * src/roff/troff/input.cc (do_width, do_if_request): Reset
7047 `have_input' after changing back to old environment.
7049 * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
7050 function up to be defined before first call. This is necessary to
7051 avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
7053 * src/utils/afmtodit/afmtodit.pl: Make script search for files in
7054 the default font directory also. Based on a patch from James
7055 J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
7056 * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
7057 * src/utils/afmtodit/afmtodit.man: Document it.
7061 * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
7063 2003-02-25 Gaius Mulley <gaius@glam.ac.uk>
7065 * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
7066 (GROFF_PNMTOPS_NOSETPAGE): New macro.
7067 * configure.ac: Use it.
7068 * configure: Regenerated.
7069 * Makefile.in: Updated.
7071 * tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
7072 (CLEANADD): Add www.tmac-sed.
7073 (pnmtops_nosetpage): Define default.
7074 (install_data): Handle www.tmac-sed and substitute
7075 @PNMTOPS_NOSETPAGE@.
7076 (stamp-sed): Add www.tmac.
7077 * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
7078 It now breaks URLs at suitable places.
7079 (www:substring_ok): New register set by...
7080 (www:@test_substring): New macro.
7081 (www:error): New alias to www-error.
7082 (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
7084 (URL): Use www:url_breaks.
7085 (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
7086 (CDS, CDE): New macros.
7088 2003-02-25 Werner LEMBERG <wl@gnu.org>
7090 * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
7093 2003-02-24 Werner LEMBERG <wl@gnu.org>
7095 Contrary to the PCL5 Developer's Guide, the ascenders in TFM files
7096 can be negative also.
7098 * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be
7100 (read_char_table): Avoid negative ascenders.
7101 (output_charset): Add cast.
7102 * font/devlj4/*: Regenerated.
7104 Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where
7107 * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it.
7108 * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead
7110 * font/devdvi/*: Regenerated.
7112 Map `la' and `ra' to U+27E8 and U+27E9. These two characters have
7113 normal width, while the previously used characters (U+2329 and
7114 U+232A) are classified as wide due to canonical equivalence with the
7115 CJK punctuation characters U+3008 and U+3009.
7117 * font/devutf8/R.proto: Updated.
7118 * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto.
7120 * man/groff_char.man: Simplify handling of table traps by
7121 introducing `start block' and `end block' macros.
7122 (Ns, Ne, 2s, 2e, Ds, De): New macros.
7123 (DL): Make it work with Unix troff also.
7124 Fix code values of `la' and `ra'.
7126 * tmac/dvi.tmac: Define `<>' for CW and CWI.
7128 2003-02-23 Gaius Mulley <gaius@glam.ac.uk>
7130 * src/devices/grohtml/post-html.cc (element_list::~element_list):
7131 New destructor, fixing a major memory leak.
7133 2003-02-22 Werner LEMBERG <wl@gnu.org>
7135 * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'
7136 to be in conformance with Unicode 3.0 and newer.
7138 * font/devlj4/generate/text.map: Add `Eu'.
7139 * font/devlj4/generate/special.map: Flip `*e' and `+e'.
7140 * font/devlj4/S: Regenerated.
7142 * man/groff_char.man: Completely rewritten.
7144 * doc/groff.texinfo: Fix description of request and macro arguments.
7146 2003-02-20 Gaius Mulley <gaius@glam.ac.uk>
7150 * src/devices/grohtml/html-table.cc (html_table::~html_table):
7151 Deallocate `columns' list.
7152 * src/devices/grohtml/post-html.cc (char_block::~char_block):
7154 (text_glob::text_glob_html, text_glob::text_glob_special,
7155 text_glob::text_glob_line, text_glob::text_glob_auto_image,
7156 text_glob::text_glob_tag): Avoid memory leaks.
7157 (text_glob::remember_table): Free memory before reassigning.
7159 2003-02-19 Werner LEMBERG <wl@gnu.org>
7161 Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
7162 alias `hbar'), the Planck constant over two pi.
7164 * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
7165 `+e' for position 34.
7166 * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
7167 `u2662' and `u2661'.
7168 * font/devdvi/{MI,S}: Regenerated.
7169 * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
7170 * font/devlbp/*: Add `hbar' alias.
7171 * font/devlj4/generate/special.map: Ditto.
7172 * font/devlj4/S: Regenerated.
7173 * font/devps/generate/symbolchars: Add `+e'.
7174 * font/devps/generate/textmap: Fix PS name for `-h'.
7176 * font/devps/symbolmap: Regenerated.
7178 * src/devices/grops/ps.cc (transform_fill): Removed since unused.
7180 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
7182 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
7185 * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
7187 * tmac/tty-char.tmac: Add `+e'.
7189 2003-02-17 Werner LEMBERG <wl@gnu.org>
7191 Another round trying to really fix problems with `have_input'.
7193 * src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
7194 (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
7196 * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
7197 handling if both foreground and background colors are default.
7199 * doc/groff.texinfo (Debugging): Document .lf differences to
7202 2003-02-16 Werner LEMBERG <wl@gnu.org>
7204 * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid
7205 null-bytes in created string.
7207 * src/roff/troff/input.cc (lookup_color, interpolate_macro,
7208 alias_macro, lookup_request): Improve warning messages.
7210 * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave',
7212 Free `last_image_filename'.
7214 * src/preproc/html/pre-html.cc (char_block::char_block): Initialize
7216 (imageList::createPage, imageList::createImage): Use `free', not
7218 (imageItem::~imageItem): Free `imageName'.
7219 (addRegDef): Use `strsave', not `strdup'.
7220 (get_resolution): Free `pathp'.
7222 2003-02-15 Werner LEMBERG <wl@gnu.org>
7224 * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer
7227 2003-02-14 Werner LEMBERG <wl@gnu.org>
7229 Add memory management for colors to deallocate unnamed colors
7232 * src/include/color.h (color): New members `free_list' and `next'.
7233 New member functions `new' and `delete'.
7235 * src/libs/libgroff/color.cc: Implement it.
7237 * src/libs/libgroff/font.cc (font::add_kern): Use integer cast
7238 for array size of new operator.
7240 * src/libs/libdriver/input.cc (IntArray::operator[]): Remove
7241 redundant comparison.
7243 * src/roff/troff/input.cc (word_space_node::reread,
7244 hmotion_node::reread): Avoid warning about unused parameter.
7245 (reset_output_registers): Remove redundant parameter.
7246 (define_color): Undo change 2003-02-12.
7248 * src/roff/troff/reg.h: Updated.
7250 * src/roff/troff/node.cc (troff_output_file::really_print_line,
7251 output_file::put_filename, real_output_file::really_put_filename,
7252 ascii_output_file::really_print_line,
7253 break_char_node::get_hyphen_list): Avoid warning about unused
7255 (suppress_node::tprint): Updated.
7257 * configure.ac: Check declaration for rand() and srand().
7258 * configure: Regenerated.
7260 * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
7262 * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
7265 * src/preproc/eqn/delim.cc (delim_table): Add missing initializers
7266 to avoid compiler warnings.
7268 * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
7271 * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
7273 * src/devices/grops/psrm.cc (skip_possible_newline): Remove first
7275 Updated all callers.
7277 * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
7279 * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
7280 * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
7282 * src/devices/grohtml/post-html.cc (html_printer::emit_line):
7283 Parameter is unused.
7284 (html_printer::add_table_end): Define parameter conditionally.
7285 * src/devices/grohtml/output.cc (simple_output::special): Parameter
7288 * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
7289 (lbp_printer::set_char): Last parameter is unused.
7291 * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
7293 2003-02-13 Werner LEMBERG <wl@gnu.org>
7295 New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
7296 Make \D'f ...' move horizontally again for backwards compatibility.
7297 Replace it with \D'Fg ...' where appropriate to avoid dependency
7298 on horizontal resolution.
7300 * src/roff/troff/input.cc (do_get_long_name): New function.
7301 (get_long_name): Call it.
7303 (read_draw_node): Handle `\D'Fx ...' by calling ...
7304 (read_color_draw_node): New function.
7306 (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
7308 Pass it to `do_get_long_name' which is used instead of
7311 * src/libs/libdriver/input.cc (color_from_Df_command): Remove
7312 unnecessary value guard.
7313 (parse_D_command) <'f'>: Add horizontal shift.
7315 * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
7316 * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
7317 (FILL_MAX): Removed.
7319 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
7322 2003-02-12 Werner LEMBERG <wl@gnu.org>
7324 * src/roff/troff/input.cc (do_name_test, do_expr_test,
7325 do_zero_width): Push `\n' if closing delimiter is missing.
7327 (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'.
7328 <'F'>: Make \F non-transparent at the beginning of line.
7329 (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
7330 token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
7333 (define_color): Free color in case of reassignment.
7335 * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
7336 @DefescListEnd): Use @Var, not @var.
7339 * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
7341 * src/preproc/pic/object.cc (object_spec::~object_spec): Free
7342 `shaded' and `outlined' arrays.
7343 (object_spec::object_spec): Initialize `shaded' and `outlined'.
7344 (graphic_object::set_fill_color, graphic_object::set_outline_color):
7346 (closed_object::set_fill_color): Ditto.
7347 * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
7349 (troff_output::reset_color): Use a_delete instead of free.
7350 * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
7352 2003-02-11 Werner LEMBERG <wl@gnu.org>
7354 * doc/groff.texinfo: Improve documentation of `ad'.
7355 Document that \D'f...' is dependent on the horizontal resolution.
7356 * man/groff_diff.man: Improve documentation of \D'f...'.
7358 * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
7359 compensating \h'...' for \D'f ...' since the latter no longer moves
7361 * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
7363 2003-02-10 Werner LEMBERG <wl@gnu.org>
7365 Improve error messages for `x F' (and `F') commands.
7367 * src/include/error.h: Add declaration for
7368 `current_source_filename'.
7369 * src/libs/libgroff/filename.cc: Add `current_source_filename'.
7370 * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add
7371 parameter for source file string.
7372 Updated all callers.
7374 * src/libs/libdriver/input.cc: Add `current_source_filename'.
7375 (remember_source_filename): New function.
7376 (parse_x_command <'F'>, do_file <'F'>): Use it.
7378 2003-02-09 Werner LEMBERG <wl@gnu.org>
7380 Make grotty not emit warnings about unknown colors more than
7383 * src/devices/grotty/tty.cc: Include `ptable.h'.
7384 (TTY_MAX_COLORS): Removed.
7385 (DEFAULT_COLOR_IDX): Defined to -1.
7386 (glyph): Change `back_color_idx' and `fore_color_idx' to `char'.
7387 (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'.
7388 Change `tty_colors' to be a ptable.
7389 First arg of `put_color' is now `char'.
7390 New functions `make_rgb_string' and `tty_color'.
7391 (tty_printer::tty_printer): Use `tty_color'.
7392 (tty_printer::color_to_idx): Return value is now `char'.
7395 * src/include/color.h (color): Add `print_color' member function.
7396 * src/libs/libgroff/color.cc (color::print_color): Implement it.
7398 2003-02-08 Werner LEMBERG <wl@gnu.org>
7402 * src/devices/grops/ps.cc (ps_printer::define_encoding): Close
7405 * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always
7406 assume that value has been allocated with `new[]', thus use
7407 `a_delete' for deallocation.
7409 * src/libs/libdriver/input.cc (get_integer_arg,
7410 get_possibly_int_args, parse_x_command, do_file): Use `a_delete'
7413 * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define.
7414 * src/libs/libgroff/nametoindex.cc
7415 (character_indexer::named_char_index): Use `new <type>[1]'.
7417 * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new
7419 * src/preproc/eqn/text.cc (set_special_char_type): Ditto.
7420 (split_text): Use `a_delete'.
7422 * src/preproc/pic/pic.y (define_label, define_variable): Use `new
7425 * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid
7426 harmless memory leak.
7427 (hyphen_trie::read_patterns_file): Initialize `buf'.
7428 * src/roff/troff/node.cc (troff_output_file::troff_output_file):
7429 Initialize `current_fill_color'and `current_glyph_color'.
7430 * src/roff/troff/glyphuni.cc
7431 (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'.
7432 * src/roff/troff/uniuni.cc
7433 (unicode_decompose_init::unicode_decompose_init): Ditto.
7434 * src/roff/troff/uniglyph.cc
7435 (unicode_to_glyph_init::unicode_to_glyph_init): Ditto.
7437 2003-01-26 Werner LEMBERG <wl@gnu.org>
7439 * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with
7440 `access' before calling `unlink'.
7441 (do_file): Handle __EMX__.
7443 * src/include/nonposix.h: Handle __EMX__.
7445 * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
7446 (fontpath,tmacpath): Use it.
7448 Sorted alphabetically.
7450 * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
7452 * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle
7455 2003-01-27 Werner LEMBERG <wl@gnu.org>
7457 * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
7458 New files, copied from gnulib.
7459 * src/libs/libgroff/Makefile.sub (CSRCS): Add them.
7460 * configure.ac: Updated.
7461 * configure: Regenerated.
7463 * src/include/config.hin: Regenerated.
7464 * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'.
7465 Don't define `strcasecmp' as `strcmp'.
7466 [!HAVE_STRNCASECMP]: Declare `strncasecmp'.
7467 Dont define `strncasecmp' as `strncmp'.
7469 * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
7472 2003-01-26 Werner LEMBERG <wl@gnu.org>
7474 * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo:
7477 2003-01-25 Werner LEMBERG <wl@gnu.org>
7479 * doc/groff.texinfo (Ligatures and Kerning): Mention limitations.
7481 2003-01-24 Werner LEMBERG <wl@gnu.org>
7483 Add US-english hyphenation exceptions (converted from Barbara
7484 Beeton's hyphenation exception log reports which appear irregularly
7487 * tmac/hyphen.us: Updated to latest version.
7488 * tmac/README: Updated.
7489 * tmac/hyphenex.us, tmac/hyphenex.sh: New files.
7490 * tmac/troffrc: Load `hyphenex.us'.
7491 * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
7492 * doc/groff.texinfo: Updated.
7494 2003-01-23 Werner LEMBERG <wl@gnu.org>
7496 Improve hyphenation slightly. This is a first step in redesigning
7497 the hyphenation algorithm to make it more flexible (e.g. allowing
7498 kerns and ligatures between the hyphenation character and the
7499 following character -- while not used normally in English, other
7500 languages like German would benefit).
7502 * src/roff/troff/env.cc (environment::hyphenate_line): Use
7503 assertion instead of if-clause.
7504 Let `get_hyphen_list' return the number of involved characters in
7505 the hyphenation pattern instead of computing it directly (which
7506 often yields too small values).
7507 * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
7508 * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
7511 2003-01-22 Werner LEMBERG <wl@gnu.org>
7513 Fixing a bug which caused groff to hang if the hyphenation exception
7514 dictionary tried to grow.
7516 * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
7517 hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
7518 pointer to dictionary.
7520 2003-01-20 Werner LEMBERG <wl@gnu.org>
7522 * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress
7523 negative left italic correction.
7524 * src/utils/afmtodit/afmtodit.man: Document it.
7526 * font/devps/generate/Makefile (RFLAG): Add `-m'.
7527 * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR,
7528 S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'.
7532 2003-01-16 Werner LEMBERG <wl@gnu.org>
7536 2003-01-16 Jörgen Grahn <jgrahn@algonet.se>
7538 * src/preproc/refer/refer.man: Mention REFER environment variable.
7540 2003-01-05 Werner LEMBERG <wl@gnu.org>
7542 Similar to \[is], the square root glyph (\[sr]) and the square root
7543 extension glyph (\[radicalex]) are now text symbols. The new
7544 mathematical versions are called \[sqrt] and \[sqrtex],
7547 * font/devX*/S: Regenerated.
7548 * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
7549 * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
7550 * font/devdvi/EX, font/devdvi/S: Regenerated.
7551 * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
7552 * font/devlj4/generate/special.map: Add `sqrt'.
7553 * font/devlj4/S: Regenerated.
7554 * font/devps/generate/textmap: Add `sqrt'.
7555 * font/devps/S, font/devps/symbolmap: Regenerated.
7557 * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
7558 SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
7559 * src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
7560 overlap horizontally.
7562 * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
7563 * tmac/dvi.tmac: Add `sr', and `sqrtex'.
7566 * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
7567 and `sqrtex' are overlapping glyphs.
7569 2003-01-04 Werner LEMBERG <wl@gnu.org>
7571 * font/devdvi/generate/texsy.map: Add `is'.
7572 * font/devps/symbolmap: Regenerated.
7573 * font/devdvi/*TC, MI, S: Regenerated.
7575 * tmac/dvi.tmac: Remove `is'.
7577 2003-01-03 Werner LEMBERG <wl@gnu.org>
7579 `is' is now a text symbol (only relevant for dvi). The math variant
7580 can be accessed with `integral'.
7582 * font/devX*/S: Regenerated.
7583 * font/devdvi/generate/texex.map: Remove `is'.
7584 * font/devdvi/EX: Updated.
7585 * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'.
7586 * font/devlj4/generate/special.map: Ditto.
7587 * font/devlj4/S: Regenerated.
7588 * font/devps/generate/textmap: Add `integral'.
7589 * font/devps/S: Regenerated.
7591 * tmac/dvi.tmac: Define `is'.
7593 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'.
7595 * src/preproc/tbl/main.cc (process_format): Fix error message.
7597 2003-01-02 Werner LEMBERG <wl@gnu.org>
7599 * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
7600 * font/devps/textmap: Fix entries for `ne' and `nc'.
7601 * font/devps/symbolmap: Regenerated.
7603 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list),
7604 src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18',
7605 `38', `58', `78', `-+', `|=', `nc', `ne'.
7607 * tmac/dvi.tmac: Add `nm', `ne', `nc'.
7608 Use `schar' for `aq'.
7609 * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'.
7610 * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'.
7611 * tmac/tty.tmac: Add `ne'.
7613 * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro'
7614 for fallback glyphs.
7616 2002-12-29 Werner LEMBERG <wl@gnu.org>
7620 * font/devX*/*: Regenerated.
7621 * font/devdvi/generate/ec.map: Remove `eq'.
7622 * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'.
7623 Assign `|=' to position 39.
7624 * font/devdvi/*EC, S: Regenerated.
7625 * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='.
7626 * font/devlj4/generate/special.map: Make `~=' the same as `~~'.
7627 Assign `|=' to position 549.
7628 * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove
7630 Add `uni2243' for `|='.
7632 * tmac/ec.tmac: Add `eq'.
7633 * tmac/dvi.tmac: Add `=~'.
7634 * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add
7637 2002-12-21 Werner LEMBERG <wl@gnu.org>
7639 * font/devdvi/generate/tc.map: Remove `**'.
7640 * font/devdvi/*TC: Regenerated.
7641 * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58',
7643 * font/devutf8/NOTES: Updated.
7645 * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function.
7646 Don't give default parameter to `set_macro'.
7647 * src/roff/troff/input.cc (do_define_character): Use `setx_macro'
7648 instead of `set_macro'.
7649 (charinfo::setx_macro): Implement it.
7650 (charinfo::set_macro): Don't change `mode'.
7652 * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'.
7653 * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'.
7654 * tmac/dvi.tmac: Define `!=' with `.schar'.
7656 2002-12-20 Werner LEMBERG <wl@gnu.org>
7658 * font/devX*/S: Regenerated.
7659 * font/devdvi/generate/ec.map: Remove `pl'.
7660 * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'.
7661 * font/devdvi/*{TC,EC}: Regenerated.
7662 * font/devhtml/R.proto: Add `-+'.
7663 Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'.
7664 * font/devlbp/*: Remove `or'.
7665 * font/devlj4/generate/special.map: Remove `or'.
7666 * font/devlj4/S: Regenerated.
7667 * font/devps/generate/textmap: Add `fiveeighths', `oneeighth',
7668 `seveneighths', `threeeighths'.
7670 Replace `minusplus' with `uni2213'.
7671 * font/devps/symbolmap: Regenerated.
7672 * font/devutf8/R.proto: Replace `shc' with unnamed glyph.
7675 * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline
7677 * src/roff/troff/node.cc (troff_output_file::put_char_width):
7678 Call glyph_color and fill_color even if tcommand_flag isn't set.
7679 (make_node, node::add_char): Check not ci->is_fallback but
7682 * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'.
7683 * tmac/ec.tmac: Add .rchar entry for `f/'.
7684 Don't remove `12', `14', `34'.
7685 Define `pl' to be always roman.
7686 * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros.
7687 Define `18', `38', `58', `78'.
7688 * tmac/tty.tmac: Add `-+'.
7689 * tmac/dvi.tmac: Define `f/'.
7690 (dvi-frac): Use `f/'.
7691 * tmac/X.tmac (X-frac, X-frac-mono): New macros.
7692 Define `18', `38', `58', `78'.
7694 2002-12-15 Colin Watson <cjwatson@debian.org>
7696 * contrib/pic2graph/pic2graph.sh: Add missing `;;'.
7698 2002-12-10 Werner LEMBERG <wl@gnu.org>
7700 Add glyph `tno', a textual variant of `no'.
7702 * font/devX*/*: Regenerated.
7703 * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
7704 * font/devdvi/generate/{tc.map: Replace `no' with `tno'.
7705 * font/devdvi/generated/{texsy,textex}.map: Add `tno'.
7706 * font/devdvi/*: Regenerated.
7707 * font/devlbp/*: Add `tno'.
7708 * font/devlj4/generate/tex.map: Replace `no' with `tno'.
7709 * font/devlj4/*: Regenerated.
7710 * font/devps/generate/textmap: Replace `no' with `tno'.
7711 * font/devps/generate/symbolchars: Add `no'.
7712 * font/devps/*: Regenerated.
7714 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
7716 * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
7717 * tmac/tty-char.tmac: Add entry for `tno' and `3d'.
7721 * tmac/dvi.tmac: Replace most `\\' with `\E'.
7722 Add definition for `sd'.
7723 * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
7725 * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
7727 2002-12-08 Werner LEMBERG <wl@gnu.org>
7729 * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
7730 mode to avoid rounding errors.
7731 (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
7733 * src/roff/groff/groff.man, src/roff/nroff/nroff.man,
7734 src/roff/troff/troff.man: Improve documentation of -T.
7736 2002-12-07 Jeff Conrad <jeff_conrad@msn.com>
7738 * src/roff/groff/pipeline.c: Don't define `const' for _WIN32.
7739 (run_pipeline) [_WIN32]: Provide working function without `fork'.
7741 2002-12-06 Werner LEMBERG <wl@gnu.org>
7743 * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol
7744 glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
7745 Scaling Euro.sansserif glyphs down to have the same height as
7747 Removed unnecessary points; added some extrema.
7749 * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7752 2002-12-04 Werner LEMBERG <wl@gnu.org>
7754 * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted'
7755 and `Euro.symbol.bold.slanted'.
7756 Improve some glyph offsets and widths.
7757 * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7759 * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
7761 * font/devps/generate/sfdtopfa.pe: Generate PFA in current
7764 * tmac/europs.tmac: Updated to new glyph indices.
7765 Use Euro.symbol for font familiy `A'.
7767 * doc/groff.texinfo: Minor improvements.
7769 2002-12-02 Werner LEMBERG <wl@gnu.org>
7771 * font/devdvi/generate.tc.map: s/%O/%0/.
7772 * font/devdvi/*TC: Regenerated.
7774 * src/roff/troff/div.cc (init_div_requests): Sorted.
7776 * tmac/dvi.tmac: Remove `Ye'.
7777 * tmac/ec.tmac: Remove `Ye'.
7778 Add .rchar entry for `de'.
7780 * man/groff.man, man/groff_diff.man: Document register `.pe'.
7781 * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
7784 2002-11-30 Werner LEMBERG <wl@gnu.org>
7786 Add PS font for various Euro glyphs.
7788 * font/devps/generate/freeeuro.sfd: New master font file for
7790 * font/devps/generate/sfdtopfa.pe: New conversion script for
7792 * font/devps/generate/Makefile (FONTS): Add `EURO'.
7793 (EURO, freeeuro.afm, freeeuro.pfa): New rules.
7794 * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
7796 * font/devps/EURO: Generated from `freeeuro.afm'.
7797 * font/devps/download: Add `freeuro.pfa'.
7798 * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
7801 * tmac/europs.tmac: New file.
7802 * tmac/ps.tmac: Include `europs.tmac'.
7803 * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
7805 2002-11-29 Werner LEMBERG <wl@gnu.org>
7807 * font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
7808 * font/devdvi/S: Regenerated.
7809 * font/devhtml/R.proto: Fix `CR' and `ci'.
7811 * font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
7813 * font/devps/symbolmap: Regenerated.
7814 * font/devutf8/R.proto: Fix `CR' and `ci'.
7816 * font/devutf8/NOTES: Updated.
7818 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
7821 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7823 * tmac/dvi.tmac: Add `lh' and `rh'.
7824 * tmac/Xps.tmac: Fix `lh' and `rh'.
7825 * tmac/X.tmac: Add `OK'.
7826 * tmac/lj4.tmac: Ditto.
7828 2002-11-24 Werner LEMBERG <wl@gnu.org>
7830 * font/devX*/S: Regenerated.
7831 * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
7832 `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
7833 * font/devdvi/generate/texsy.map: Remove `or' glyph.
7834 * font/devdvi/S: Regenerated.
7835 * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
7836 `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
7837 `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
7838 `bracketleftbt', `bracketrighttp', `bracketrightex',
7839 `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
7840 `braceex', `braceleftex', `bracerightex', `bracerighttp',
7841 `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
7843 * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
7844 * font/devutf8/NOTES: Updated.
7845 * font/devlj4/generate/special.map: Add glyph `braceex'.
7846 * font/devlj4/S: Regenerated.
7848 * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
7850 2002-11-14 Werner LEMBERG <wl@gnu.org>
7852 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'
7855 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7857 * doc/texinfo.tex: New version from texinfo 4.3.
7858 * doc/groff.texinfo: Updated for texinfo 4.3.
7859 Use @tie{} where appropriate.
7860 * font/devdvi/generate/ec.map: Don't include `or' and `bv'.
7861 * font/devdvi/generate/tc.map: Remove `rn'.
7862 * font/devdvi/*TC, font/devdvi/*EC: Regenerated.
7863 * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
7865 * font/devX100/*, font/devX100-12/*, font/devX75/*,
7866 font/devX75-12/*: Regenerated.
7868 * tmac/dvi.tmac: Add special fonts `SA' and `SB'.
7869 Use .char (again) for `br', `ul', `rn', `or', and `ru'.
7870 Improve definition of `an'.
7871 * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
7873 * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
7874 * tmac/X.tmac: Add definition for `or'.
7875 * tmac/Xps.tmac: Undo change 2002-11-05.
7876 * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
7878 2002-11-11 Werner LEMBERG <wl@gnu.org>
7880 * src/roff/troff/node.cc (troff_output_file::put_char): Always
7883 2002-11-10 Werner LEMBERG <wl@gnu.org>
7885 Added three new requests `schar', `fschar', and `rfschar'. `schar'
7886 defines a glyph which is searched after the check for fonts declared
7887 with `.special' (and before the check for all mounted special
7888 fonts). `fschar' defines a glyph for a particular font which is
7889 searched after the check for fonts declared with `.fspecial' (and
7890 before the check for fonts declared with `.special'). `rfschar'
7891 removes glyphs defined with `fschar'.
7893 * src/roff/troff/token.h (char_mode): New enum.
7894 Declare do_define_character.
7895 * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
7897 (charinfo::is_fallback): Updated.
7898 (charinfo::is_special): New method.
7899 * src/roff/troff/input.cc (do_define_character): Add and use
7900 optional second parameter used as a prefix for font-specific glyph
7902 (define_character, define_fallback_character): Updated.
7903 (define_special_character): New function.
7904 (init_input_requests): Add `schar'.
7905 (charinfo::charinfo, charinfo::set_macro): Updated.
7906 * src/roff/troff/node.cc: Include `stringclass.h'.
7907 (make_glyph_node): Handle special glyphs defined with `.schar' and
7909 (define_font_special_character, remove_font_special_character): New
7911 (init_node_requests): Sorted.
7912 Add `fschar' and `rfschar'.
7913 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
7914 Document new requests.
7916 * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
7917 * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
7919 2002-11-08 Werner LEMBERG <wl@gnu.org>
7921 Added new font `SC' (cmtex10) to devdvi.
7923 * devdvi/generate/Makefile (FONTS): Add `SC'.
7925 * devdvi/generate/textex.map: New map file for cmtex.
7927 * devdvi/Makefile.sub (DEVFILES): Updated.
7928 * tmac/dvi.tmac: Add fspecial entries for SC.
7929 Add `MI', `S' and `CW' to the `special' call. Otherwise, `SC' is
7930 found before `S' since the font position of `SC' is lower due to the
7931 gaps in DESC's `font' line.
7932 * tmac/ec.tmac: Add a `special' call.
7935 * font/devhtml/R.proto: Remove double entry for `ti'.
7936 * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
7937 * tmac/tty-char.tmac: Remove entry for `bq'.
7938 * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
7939 * tmac/ec.tmac: Don't remove `aq' glyph.
7940 * tmac/X.tmac: Fix entry for `em'.
7941 Add entries for `fo' and `fc'.
7942 * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
7944 * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
7945 documentation of `special' and `fspecial' requests.
7947 2002-11-05 Werner LEMBERG <wl@gnu.org>
7949 * font/devascii/R.proto, font/devcp1047/R.proto,
7950 font/devlatin1/R.proto: Remove entry for `.i'.
7951 * font/devdvi/generate/textt.map: Add entry for `ad'.
7952 * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
7953 font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
7954 We need this for getting kerning values to compose `/l' and `/L'.
7955 * font/devdvi: Regenerated font definition files for CM fonts.
7956 * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
7957 * font/devutf8/R.proto: Ditto.
7958 Remove double entry for `ti'.
7960 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
7961 for (groff) ligatures, `la', and `ra'.
7962 Add "'C", "'c", `IJ', and `ij'.
7963 Remove double entry for `ti'.
7964 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
7966 Add "'C", "'c", `IJ', and `ij'.
7967 Fix entries for (groff) ligatures, `la', and `ra'.
7969 * tmac/ps.tmac (ps-achar): New macro.
7970 Define "'c" and "'C".
7971 * tmac/tty.tmac: Add entry for `.i'.
7972 * tmac/X.tmac (X-achar): New macro.
7973 Define "'c", "'C", and `:Y'.
7974 Add entries for `IJ' and `ij'.
7975 * tmac/Xps.tmac (Xps-achar): New macro.
7976 Define "'c" and "'C".
7977 Add entries for `IJ' and `ij'.
7978 * tmac/lbp.tmac (lbp-achar): New macro.
7979 Add fallback characters for all groff ligatures and many other
7981 * tmac/dvi.tmac: Fix definitions of `_' and `ul'.
7982 Add entries for `/l' and `/L'.
7983 Define "'c" and "'C".
7984 Add entries for `IJ' and `ij'.
7986 2002-11-02 Larry Kollar <kollar@alltel.net>
7988 * PROBLEMS: Document how to solve Mac OS X compilation problems.
7990 2002-11-02 Werner LEMBERG <wl@gnu.org>
7992 Adding support for composite glyphs: \[xxx yyy ...] and the
7993 `composite' request.
7995 * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
7996 to Unicode-based glyph names.
7997 * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
7998 glyph names to groff glyph names.
7999 * src/roff/troff/uniuni.cc: New file for canonically decomposing
8000 Unicode-based glyph names.
8001 * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
8002 for handling Unicode glyph names.
8003 * src/roff/troff/input.cc: Include unicode.h.
8004 (composite_glyph_name): New function.
8005 (token::next) <'['>: Handle Unicode glyph names and composite
8007 (composite_dictionary): New dictionary for the `composite' request.
8008 (composite_request): Implement `composite' request.
8009 (init_input_requests): Add `composite'.
8010 Alphabetically sorted.
8011 * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
8013 (init_env_requests): Alphabetically sorted.
8014 Removed `tas' and `tar' (already commented out).
8015 * src/roff/troff/Makefile.sub: Updated.
8017 2002-10-31 Ruslan Ermilov <ru@FreeBSD.org>
8019 * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description
8022 2002-10-29 Werner LEMBERG <wl@gnu.org>
8024 Fix computation of .trunc register. Additionally, its value (and
8025 the value of the .ne register) is now always set before entering the
8028 * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
8029 `needed_space' before calling `space'.
8030 (top_level_diversion::space): Remove special code for 'sp before the
8032 Call `begin_page' with the discarded space as a parameter.
8033 (top_level_diversion::begin_page): Add optional parameter to set
8035 * src/roff/troff/div.h: Updated.
8037 * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
8040 * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
8041 (LP): Remove superfluous call to `br'.
8042 * tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
8043 * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
8045 2002-10-26 Werner LEMBERG <wl@gnu.org>
8047 * tmac/doc-ditroff: Remove useless switch/variable -rC.
8048 (doc-setup-header): Don't set page register `%'.
8049 * tmac/doc-nroff: Remove variable `C'.
8050 (doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
8051 (doc-setup-header): Don't set page register `%'.
8053 * tmac/doc-common (doc-header): Call `ns'.
8054 (doc-paragraph): Protect .sp with .br so that it survives traps
8055 possibly set by the user.
8056 * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
8058 * tmac/doc*: Replace ' with . for consistency if no effect.
8060 2002-10-26 Werner LEMBERG <wl@gnu.org>
8062 * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
8063 so that it survives traps possibly set by the user.
8065 * src/roff/troff/node.cc: Fix the changes from 2002-10-23.
8066 (troff_output_file::set_font): Call flush_tbuf if necessary.
8067 (troff_output_file::fill_color, troff_output_file::glyph_color): Call
8068 flush_tbuf and do_motion only if necessary.
8069 (troff_output_file::start_special,
8070 troff_output_file::put_char_width, troff_output_file::put_char,
8071 troff_output_file::draw): Updated.
8072 (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
8073 vmotion_node::tprint): Undo change 2002-10-23.
8075 2002-10-25 Werner LEMBERG <wl@gnu.org>
8077 * tmac/www.tmac (DC): Fix case of overlapping images.
8079 2002-10-23 Werner LEMBERG <wl@gnu.org>
8081 * src/roff/troff/node.cc (troff_output_file::fill_color,
8082 troff_output_file::glyph_color): Set current color before testing
8084 (troff_output_file::put_char_width, troff_output_file::put_char,
8085 troff_output_file::draw): Don't call flush_tbuf and/or do_motion
8087 (troff_output_file::file_color, troff_output_file::glyph_color):
8089 (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
8090 vmotion_node::tprint): Move first, then call fill_color.
8092 2002-10-20 Werner LEMBERG <wl@gnu.org>
8094 * doc/groff.texinfo, man/groff_tmac.man: Document that it is not
8095 possible to use multiple main macro packages.
8097 2002-10-19 Werner LEMBERG <wl@gnu.org>
8099 * src/devices/grops/ps.cc (cmyk_flag): New global variable.
8100 (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
8101 (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
8103 * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
8104 `where' construction since `cmyksetcolor' is a PS Level 2 operator.
8106 2002-10-16 Werner LEMBERG <wl@gnu.org>
8108 * NEWS, doc/webpage.ms: Updated.
8110 2002-10-14 Werner LEMBERG <wl@gnu.org>
8112 * src/roff/troff/node.cc (troff_output_file::put_char_width,
8113 troff_output_file::put_char, troff_output_file::fill_color,
8114 troff_output_file::glyph_color): Handle case where color pointer
8117 2002-10-13 Ruslan Ermilov <ru@FreeBSD.org>
8119 Add the new -r option to grotty. It is similar to the -i option
8120 except it tells grotty(1) to use the `reverse video' attribute to
8121 render italic fonts.
8123 * src/devices/grotty/tty.cc (reverse_flag): New global variable.
8124 (SGR_REVERSE, SGR_NO_REVERSE): New macros.
8125 (tty_printer::make_underline, tty_printer::put_color,
8126 tty_printer::end_page): Use it.
8127 (main): Add -r switch.
8129 * src/devices/grotty/grotty.man: Document it.
8131 2002-10-11 Ruslan Ermilov <ru@FreeBSD.org>
8133 * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
8134 cast to `unsigned char' to properly read patterns with 8bit
8137 2002-10-08 Werner LEMBERG <wl@gnu.org>
8139 * REVISION: Increased to 2.
8141 Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
8142 Free Software Foundation, Inc.
8144 Copying and distribution of this file, with or without modification,
8145 are permitted in any medium without royalty provided the copyright
8146 notice and this notice are preserved.
8149 version-control: never