1 2007-10-02 Ruslan Ermilov <ru@FreeBSD.org>
3 * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, document
6 * tmac/doc-syms: Give better names for System V releases.
8 2007-09-25 Gaius Mulley <gaius@glam.ac.uk>
10 * doc/Makefile.in, doc/Makefile.sub (.ms.html): Add -P-V switch to
11 the production of html files.
13 Remove background colour switch.
14 (.SUFFIXES, clean): Handle *.xhtml files.
16 * src/devices/grohtml/grohtml.man: Document that -V option now
17 generates an HTML-4.01 validator or XHTML validator.
19 * src/devices/grohtml/html-text.cpp (html_text::end_tag,
20 html_text::start_tag): Suppress <small>, <big>, and <color> tags if
21 we are inside a <pre> block.
23 * src/devices/grohtml/post-html.cpp
24 (html_printer::handle_valid_flag): Add a parameter to indicate
25 whether it needs to generate a paragraph block.
26 (html_printer::write_navigation): Updated.
27 (html_printer::do_file_components): Generate an HTML-4.01 blue
28 validator button also.
30 2007-09-23 Axel Kielhorn <A.Kielhorn@web.de>
32 * man/groff.man: Fix URL of CSTR 54.
34 2007-09-23 Werner LEMBERG <wl@gnu.org>
36 * man/groff_char.man: Normalize character set names as defined
37 by IANA. Based on a patch from Axel Kielhorn.
39 * src/preproc/refer/label.y: Undo change from 2007-09-19.
41 2007-09-19 Werner LEMBERG <wl@gnu.org>
43 * src/roff/troff/input.cpp (interpolate_arg): Remove compiler
46 * src/preproc/eqn/pile.cpp (pile_box::output, matrix_box::output):
47 Remove compiler warning.
49 * src/preproc/refer/label.y: Remove compiler warning.
51 * src/preproc/pic/pic.y: Remove doubled token entries.
53 2007-09-19 Gaius Mulley <gaius@glam.ac.uk>
55 * doc/groff.texinfo: Document new .O register and add cross
60 * src/devices/grohtml/grohtml.man: Document new -V and -y options.
62 * src/devices/grohtml/html-table.cpp: Add support for XHTML 1.1.
63 (html_table:: emit_colspan, html_table::emit_td): New methods.
64 (html_table::emit_col): Use html_table::emit_td.
65 (html_table::emit_table_header): Use html_table::emit_colspan if
66 dialect xhtml is specified.
67 (html_table::finish_row): Updated.
69 * src/devices/grohtml/html-table.h (html_table): Declare
70 emit_colspan, emit_td.
72 * src/devices/grohtml/html-text.cpp: Modified tags to comply with
73 xhtml if this dialect was requested.
75 * src/devices/grohtml/html-text.h (html_dialect): New enumeration.
76 (html_text): Add new variable `dialect'.
78 * src/devices/grohtml/post-html.cpp: Modify header tags to be XHTML
80 (valid_flag, groff_sig, dialect): New global variables.
81 (html_printer::handle_valid_flag, html_printer::do_math,
82 html_printer::write_html_anchor, html_printer::write_xhtml_anchor,
83 html_printer::do_math, html_printer::handle_valid_flag): New
85 (html_printer::emit_line, html_printer::emit_raw,
86 html_printer::do_check_center, html_printer::write_title,
87 write_rule, html_printer::writeHeadMetaStyle, generate_img_src,
88 html_printer::begin_page): Altered to be XHTML compliant.
89 (html_printer::write_header): Updated.
90 (html_printer::troff_tag): Call do_math.
91 (html_printer::insert_split_file, html_printer::do_file_components,
92 html_printer::write_navigation): Create XHTML file components if
93 necessary and also produces a groff signature if requested.
94 (~html_printer): Call writeHeadMetaStyle at appropriate places
95 depending upon html_dialect.
96 (html_printer::special): Handle new tags `html<?p>' and `math<?p>'.
97 (main): Added options -x, -V, and -y.
100 * src/preproc/eqn/box.cpp: Create a distinction between
101 the MathML device and the XHTML device.
102 (do_text): Issue a newline at the end of the equation if XHTML was
104 (box::top_level): Prefix the output of an equation by the .MATHML
106 (output_string): Suppress \n if XHTML was specified.
108 * src/preproc/eqn/main.cpp (xhtml): New global flag.
109 (inline_equation): Skip leading spaces after inline equation for
111 (main): Set `xhtml' flag if `-Tmathml:xhtml' is specified.
113 * src/preproc/eqn/eqn.h (xhtml): New external flag.
115 * src/preproc/eqn/text.cpp (entity_table): Fix typo.
117 * src/preproc/html/pre-html.cpp (html_dialect): New enumeration.
118 (dialect, eqn_flag): New global variables.
119 (html_system): Improve debugging support.
120 (alterDeviceTo): Test for -Txhtml when altering device to the image
121 device and reset to -Txhtml.
122 (addZ): Renamed to...
124 Introducea a general parameter.
125 (print_args): New debugging function.
126 (char_buffer::run_output_filter): Use print_args and addArg rather
128 (char_buffer::do_html, char_buffer::do_image): Add -rxhtml=1 command
129 line parameter as an argument to the html generation of text when
130 xhtml is needed. Include -e on the command line if mathml is
132 (scanArguments): Allow -e, -V, -y and -x options.
133 -V, -y are handled by the back end. -e sets `eqn_flag'.
134 -x determines HTML dialect.
136 * src/roff/groff/groff.cpp (possible_command): New method
138 (main): Set eflag if -e is present on command line.
139 Set is_xhtml if -Txhtml is present.
140 Pass `-x x' to the HTML pre and post processors.
141 Pass `-e' to the HTML pre processor if required.
142 Pass `-Tmathml:xhtml' to eqn if XHTML is requested.
144 * src/roff/troff/input.cpp (init_input_requests): Introduce new
145 number register `\n[.O]'.
147 * tmac/s.tmac: (LP): Use .nop for semantic sugar.
148 (cov*ab-init) reformat.
149 (@EQ): Use EQN-HTML-IMAGE and friends rather than HTML-IMAGE.
150 (CHECK-FOOTER-AND-KEEP): Define FS, FE such that they use
151 <cite></cite> for the html device rather than generate images for
154 * tmac/troffrc-end: Define EQN-HTML-IMAGE,
155 EQN-HTML-IMAGE-END, EQN-HTML-IMAGE-RIGHT,
156 EQN-HTML-IMAGE-LEFT, EQN-HTML-IMAGE-INLINE,
157 EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END as null strings.
159 * tmac/www.tmac: (HTML<?p>): New macro.
160 (MATH<?p>): New macro.
161 (IMG, PIMG, MPIMG, HR): Use XHTML compliant syntax.
162 (www-emit-ltag): New macro.
163 (www-push-li): Updated.
164 (ULS): Ensure that tags are balanced in order by use of
166 (ULE): Likewise: Use www-emit-ltag and shut down paragraphs in
168 (OLS, OLE, DLS, DLE): Ditto.
169 <global>: Define EQ and EN to EQN-HTML-IMAGE and EQN-HTML-IMAGE-END
171 (www-li-ul, www-li-ol, www-li-dl): Updated.
172 (EQN-HTML-IMAGE, EQN-HTML-IMAGE-RIGHT, EQN-HTML-IMAGE-LEFT,
173 EQN-HTML-IMAGE-INLINE, EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END,
176 2007-09-17 Werner LEMBERG <wl@gnu.org>
178 * man/groff_font.man: Document `unicode' keyword.
179 * doc/groff.texinfo (DESC File Format): Synchronize with
182 2007-09-15 Werner LEMBERG <wl@nu.org>
184 * man/groff.man: Document `\_'.
185 * doc/groff.texinfo: Ditto.
186 Remove references to `\@' which isn't a valid escape sequence in
190 * tmac/unicode.tmac: Add ` and '.
191 * tmac/html.tmac: Load unicode.tmac.
193 2007-09-14 Werner LEMBERG <wl@gnu.org>
195 * tmac/unicode.tmac: Make `-' a pure input character by mapping it
198 * src/roff/troff/input.cpp (init_charset_table): Handle `hy'.
200 2007-09-11 Werner LEMBERG <wl@gnu.org>
202 * src/libs/libgroff/string.cpp (string::remove_spaces): Fix memory
205 * src/preproc/tbl/table.cpp (table::allocate): Initialize
208 2007-09-10 Keith Marshall <keith.d.marshall@ntlworld.com>
210 * README.MinGW: Add warnings about use of MSYS-RXVT, and about
211 defective GnuWin32 versions of netpbm/libpng.
213 2007-07-15 Keith Marshall <keith.d.marshall@ntlworld.com>
215 * tmac/s.tmac (cov*first-page-init): Remove invoking trap, to avoid
218 2007-07-11 Werner LEMBERG <wl@gnu.org>
220 * gendef.sh: Add shebang.
222 2007-07-05 Werner LEMBERG <wl@gnu.org>
224 * tmac/papersize.tmac: Fix dimensions of executive paper format.
225 Reported by John Rupley <rupley@u.arizona.edu>.
227 2007-07-02 Keith Marshall <keith.d.marshall@ntlworld.com>
229 * tmac/s.tmac (cov*first-page-init): Emit error message if not in
230 top-level environment.
232 2007-06-12 Werner LEMBERG <wl@gnu.org>
234 * src/devices/xditview/TODO, NEWS: Updated.
235 * src/devices/xditview/Makefile.sub (install_data, uninstall_sub):
236 Handle `GXditview-color'.
237 * src/devices/xditview/gxditview.man: Updated.
239 * m4/groff.m4 (GROFF_APPRESDIR_CHECK): Updated.
240 * m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4, m4/lib-link.m4: Updated
241 from `gnulib' git repository.
243 * configure.ac: Updated.
244 * configure: Regenerated (using autoconf 2.61).
246 * config.guess, config.sub: Updated from `config' CVS repository.
247 * config.rpath, install-sh, mkinstalldirs: Updated from `gnulib' git
250 2007-06-12 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
252 * src/devices/xditview/GXditview.ad: Split off color definitions
254 * src/devices/xditview/GXditview-color.ad: This new file.
256 2007-06-08 Fabrice Ménard <menard.fabrice@wanadoo.fr>.
258 * tmac/fr.tmac: Handle chapter system for `me'.
260 2007-06-05 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
262 * src/devices/xditview/xditview.c (main): Add support for
265 * src/devices/xditview/GXditview.ad: Updated.
266 Make widget more colourful.
268 2007-05-30 Werner LEMBERG <wl@gnu.org>
270 * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate.
271 Recommend `tbl' instead of `-column' lists for more complicated
274 2007-05-21 Werner LEMBERG <wl@gnu.org>
276 * src/devices/grops/ps.cpp (ps_printer::set_char): Handle subfonts
279 2007-04-10 Werner LEMBERG <wl@gnu.org>
281 In pic, make rounded boxes work with colors. Reported by Urs Eggli
282 <Urs.Eggli@zuerich.ch>.
284 * src/preproc/pic/common.h (common_output), src/preproc/pix/output.h
285 (output): Add color parameter to `rounded_box' member function.
287 * src/preproc/pic/common.cpp (common_output::rounded_box): Use it.
289 * src/preproc/pic/object.cpp (box_object::print): Pass `color_fill'
290 to `out->rounded_box'.
292 2007-04-09 Michail Vidiassov <master@iaas.msu.ru>
294 * font/devps/generate/textmap: Add Greek letters and some more.
296 * src/utils/afmtodit/afmtodit.tables: Change values of `Delta',
297 `Omega', and `mu' to the ones from aglfn.txt.
299 2007-04-08 Keith Marshall <keith.d.marshall@ntlworld.com>
301 * tmac/s.tmac (SN): Define unconditionally.
302 (SN-STYLE): New string; define.
304 * NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
306 2007-03-22 Werner LEMBERG <wl@gnu.org>
308 * tmac/pspic.tmac: Fix harmless numeric overflow warning. Reported
309 by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
311 2007-03-20 Werner LEMBERG <wl@gnu.org>
313 * tmac/trace.tmac (rn): Added.
314 (nr, ds, ds1, as, as1, substring): Restore escape character while
316 (nr): Remove dead code.
318 * src/preproc/eqn/box.cpp (box::top_level): Use \E in string
319 definitions to make them traceable.
321 2007-03-19 Werner LEMBERG <wl@gnu.org>
323 * src/roff/troff/input.cpp (get_copy): Add third argument to control
324 whether \E shall be expanded.
325 (get_char_for_escape_name): Allow \E.
327 2007-03-15 Werner LEMBERG <wl@gnu.org>
329 * tmac/s.tmac (MO, CH, pg*OH, pg*EH, pg*OF, pg*EF, *, [., .],
330 par*define-font-macro, \[hooko]): Use \E to make it traceable.
332 (ref*field): Add argument to control the space between previous and
335 (ref*add-N): Fix handling of opening parenthesis. Problem reported
336 by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
338 2007-03-14 Werner LEMBERG <wl@gnu.org>
340 * tmac/trace.tmac (als): Added.
341 (de, de1, am, am1): Make traced macros aliased with .als work.
343 2007-02-25 Werner LEMBERG <wl@gnu.org>
345 * src/devices/xditview/TODO: Add some more items.
347 * Makefile.comm (.man.n): Add @APPRESDIR@.
350 * src/devices/xditview/gxditview.man: Document GXditview resource
352 Other documentation enhancements based on a patch from Jörg.
354 2007-02-25 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
355 Joerg van den Hoff <j.van_den_hoff@fzd.de>
357 * src/devices/xditview/GXditview.ad: Make all keys work regardless
358 of the current mouse position.
360 2007-02-20 Werner LEMBERG <wl@gnu.org>
362 * tmac/groff_man.man: Revised to improve visual appearance.
363 Reduce use of future tense.
365 * tmac/groff_trace.man: Revosed to improve visual appearance.
367 2007-02-19 Eric S. Raymond <esr@snark.thyrsus.com>
369 Make groff.man viewer-portable.
371 * tmac/groff.man: Eliminate use of .eo/.ec.
372 (.REQ): Surround args 2 through N with quotes. This will enable us
373 not to rely on the shift request, which is nonportable.
374 (ExecFF): Remove. The code is simpler without it.
376 2007-02-18 Eric S. Raymond <esr@snark.thyrsus.com>
378 * tmac/groff_www.man: Viewer-portability fixes.
380 2007-02-16 Eric S. Raymond <esr@snark.thyrsus.com>
382 * man/groff.man: Remove some unneeded code and a no-longer-used
383 inclusion of the www macros.
385 2007-02-12 Werner LEMBERG <wl@gnu.org>
387 * src/preproc/tbl/table.cpp (compute_span_width): Fix use of
389 (table::compute_widths): Simplify.
391 2007-02-11 Werner LEMBERG <wl@gnu.org>
393 * src/preproc/tbl/table.h: Don't include `stdbool.h'.
394 (table): Replace `bool' type with `char' for orthogonality.
397 * src/preproc/tbl/table.cpp (block_entry::do_divert): Fix usage of
398 AVAILABLE_REG and COLCOUNT_REG.
399 (table::table): Fix order call of initializers.
400 (table::~table): Deallocate `blockflag'.
402 2007-02-09 Eric S. Raymond <esr@snark.thyrsus.com>
404 A try at the new rule for block column allocation is now enabled by
405 the new `experimental' global option: The horizontal space up to the
406 right margin which is not used by columns without text blocks is
407 evenly distributed to the columns with text blocks.
409 It doesn't work right as yet; there appears to be some error in the
410 computation of `3avail', the available line length. The purpose of
411 this patch is (a) to make experimenting with other formulas easy,
412 and (b) leave the infrastructure for flag `experimental' in place
413 for future experiments. Do not document any behavior associated
416 * src/preproc/tbl/table.h: Include `stdbool.h'.
417 (table): Make `flags' public.
418 Add `count_block_columns' function.
419 Add `blockflag' array.
420 Add `EXPERIMENTAL' enumeration value.
422 * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): New
424 (table_entry): New member `parent' so that class and subclass
425 members can set a parent field. Update all users.
426 (block_entry::do_divert): Handle `EXPERIMENTAL' flag.
427 (block_entry::do_width): Set the parent's `blockflag'.
428 (table::allocate): Handle `blockflag'.
429 (table::count_block_columns): New function.
430 (compute_span_width): Adjust AVAILABLE_REG.
431 (table::compute_widths): Handle COLCOUNT_REG and AVAILABLE_REG.
433 * src/preproc/tbl/main.cpp (process_options): Handle `experimental'
436 2007-02-08 Zhao, Yu (William) <yzhao2@alcatel-lucent.com>
438 * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) <'e'>: Set
441 2007-02-08 Werner LEMBERG <wl@gnu.org>
443 * man/groff_out.man (offset): Make it work reliably.
445 2007-02-07 Eric S. Raymond <esr@snark.thyrsus.com>
447 * man/groff_out.man: Simplify some font changes so \fP is less
448 likely to do something surprising.
450 * man/groff_out.man: We can simplify the command macros still
451 further if we stop trying to hide structural requests inside them.
452 Also, fix some instances of \} at start of line without a dot, and
453 make some font changes explicit in strings.
455 * man/groff_out.man: Cleanup -- remove now-unneeded uses of .do and
458 * man/groff_out.man: Final step: Reduce x-command, get rid of eo/ec
459 calls and fix macros to do without them. File should now be
462 * man/groff_out.man: Fourth step: Eliminate use of eqn in favor of
463 micromotions that produce the same visual result and can be lifted
466 * man/groff_out.man: Third step: Reduce Da-comand, fix a
467 call-sequence bug in the original.
469 * man/groff_out.man: Second step: Reduce D-commmand and D-command+,
470 move font-change escapes to portable form.
472 * man/groff_out.man: First step in macro simplification; eliminate
473 list1..n, simplify .offset and .index_offset so they no longer
474 require groff-specific features or eqn (instead, use troff
475 micromotions for subscripting).
477 2007-02-06 Eric S. Raymond <esr@snark.thyrsus.com>
479 * src/preproc/eqn/eqn.man: Minor corrections.
481 * tmac/an-ext.tmac: Change .UR/.UE and .MT/.ME so the start macro no
482 longer takes a second argument that is pasted to the end of the
483 generated text. Instead, the end macro takes an argument that does
486 * man/ditroff.man, man/groff_diff.man, man/groff.man,
487 man/groff_out.man, man/groff_tmac.man, man/roff.man,
488 src/roff/groff/groff.man, src/roff/grog/grog.man,
489 tmac/groff_man.man, tmac/groff_trace.man: Update accordingly.
491 * src/roff/troff/troff.man: .SY and .YS are canned macros now,
492 so we can use them here.
494 2007-02-05 Eric S. Raymond <esr@snark.thyrsus.com>
496 * src/preproc/eqn/lex.cpp, src/preproc/eqn/eqn.man:
497 By popular demand, make ... set three lower dots again
498 and introduce a new predefined macro 'cdots' to set
501 2007-02-05 Werner LEMBERG <wl@gnu.org>
503 * src/preproc/eqn/eqn.man: Revised.
505 * src/preproc/eqn/text.cpp (map, special_char_boc::output): Use
507 (spacing_type): Fix typo.
508 (special_to_entity): Use `const'.
509 Remove unused variable.
510 * src/preproc/eqn/other.cpp (font_box::output): Use `const'.
512 2007-02-05 Eric S. Raymond <esr@snark.thyrsus.com>
514 * src/devices/grotty/grotty.man: \m[] and \M[] aren't portable,
515 which is a shame as the effect was cute.
517 2007-02-04 Eric S. Raymond <esr@snark.thyrsus.com>
519 * man/groff_tmac.man, man/groff_diff.man: Portability conversion;
520 rip out over-elaborate macrology, use .EX/.EE and .UR/.UE where
521 possible, remove preamble declarations and macros that are no
522 longer needed. Conversion checked using the protocol described in
525 2007-02-03 Werner LEMBERG <wl@gnu.org>
527 * tmac/an-old.tmac (LP, IP, HP): Use .ns to suppress additional
530 2007-02-03 Eric S. Raymond <esr@snark.thyrsus.com>
532 * tmac/groff_man.man: Documented the extension macros, and
533 added portability advice.
535 * MORE.STUFF: More-stuff entries for doclifter and pic2plot.
538 Add support for MathML output to eqn.
540 The strategy used is very simple and relies on the fact that the box
541 models of eqn and Presentation MathML differ in only trivial ways.
542 It leaves the grammar and existing internal object structures
543 unchanged. A new global, `output_format', is defined as an
544 enumerated type with values {troff, mathml}. Most of the functions
545 and methods that emit actual output acquire a top-level conditional,
546 dispatching on this global, which has one arm for troff mode and one
547 for MathML mode. In most cases the MathML arm is drastically
550 (This strategy could be easily generalized to support other output
551 formats. TeX is a possibility that leaps to mind.)
553 The only even moderately tricky changes are in the lexer. Some of
554 the predefined macros used constructs like `up', `down', `fwd',
555 `back', and `vcenter' that have no equivalents in MathML. I
556 attacked this problem in these ways:
558 1. I eliminated three uses of `back' to compose characters in favor
559 of using equivalent groff specials `\(<<', `\(>>', and `\(<>'
560 that did not exist when these macros were written. (This will be
561 a quality improvement for troff users.)
563 2. I eliminated one use of `vcenter' by using \\(md. (Likewise...)
565 3. I then split the table of pre-definitions in three; one large
566 common table and two small troff-specific and MathML-specific
567 tables. Use of troff-only operations (up, down, back, fwd,
568 vcenter) is now confined to the former. The latter now uses
569 `size big' and drops out the explicit positioning operations,
570 counting on MathML processors to do them.
572 POTENTIAL TROUBLE SPOTS:
574 Here are notes for reviewers on places I'm not 100% sure I've done
577 * In the process of preparing the troff table, I translated three
578 definitions (dot_def, dotdot_def, and utilde def) that previously
579 used explicit \v escapes to use `up' and `down' instead. I
580 modeled the new definitions on the way `vec' and `dyad' work, but
581 it's possible I got something subtle wrong.
583 * I'm not certain the MathML implementation of font_box::output() is
584 right, because I don't quite get what the switcheroo between
585 `current_roman_font' and `old_roman_font' is supposed to
586 accomplish. It does seem to generare good MathML, though.
588 Finally, I made one purely cosmetic change in `text.cpp'; I replaced
589 with an enum some magic numbers for spacing types that I thought
590 were too ugly to live.
594 The entirety of eqn is translated when `-TMathML' is specified,
595 with the following exceptions...
597 Limitations that cannot be fixed include non-support for special,
598 up/down/fwd/back, and vcenter.
600 Limitations that might be fixable include non-support for mark and
601 lineup. I will investigate further, but if these can be implemented
602 at all it's going to be in a very complicated and nasty way.
604 The way character boxes are output means that each digit of a
605 multi-digit number gets its own <mn></mn> tag pair in the MathHTML.
606 While this is not technically wrong for Presentation MathML, it is
607 ugly and inefficient. Fixing this will require implementing a
608 little state machine in the `text.cpp' output method.
610 * src/preproc/eqn/box.cpp, src/preproc/eqn/delim.cpp,
611 src/preproc/eqn/eqn.h, src/preproc/eqn/eqn.man,
612 src/preproc/eqn/lex.cpp, src/preproc/eqn/limit.cpp,
613 src/preproc/eqn/list.cpp, src/preproc/eqn/main.cpp,
614 src/preproc/eqn/other.cpp, src/preproc/eqn/over.cpp,
615 src/preproc/eqn/pile.cpp, src/preproc/eqn/script.cpp,
616 src/preproc/eqn/sqrt.cpp, src/preproc/eqn/text.cpp,
617 src/preproc/eqn/eqn.man: MathML output mode.
621 2007-02-02 Eric S. Raymond <esr@snark.thyrsus.com>
623 * src/roff/groff/groff.man: Converted to use .SY/.OP/.YS
624 and for cross-viewer portability. Conversion checked
625 using the protocol described in tmac/TESTING-HINTS.
627 2007-02-02 Werner LEMBERG <wl@gnu.org>
629 * tmac/an-ext.tmac (ME): Don't use `\:'.
631 * src/roff/grog/grog.man: Further refinements and normalizations.
633 2007-02-02 Eric S. Raymond <esr@snark.thyrsus.com>
635 * src/roff/grog/grog.man: Converted to use .SY/.OP/.YS and for
636 cross-viewer portability. Conversion checked using the protocol
637 described in tmac/TESTING-HINTS.
639 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
641 * tmac/TESTING-HINTS: Added.
643 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
645 Enable the support for Bell archaisms on .SC, so the `-r bell'
646 switch is no longer needed to format old AT&T papers like
649 * tmac/s.tmac (.SC, .UC, .P1, .P2): Updated.
651 * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Updated.
653 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
655 Add some Bell labs extensions to the -ms macros.
657 * tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros.
659 * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
661 2007-01-30 Werner LEMBERG <wl@gnu.org>
663 * tmac/an-ext.tmac (\n[EX]): Rename to \n[mX].
664 (\n[mH]): New register (set if grohtml is used).
665 (\n[SY]): Rename to \n[mS].
666 (\n[a]): Rename to \n[mA].
667 (\n[i]): Rename to \n[mI].
668 (mU): New auxiliary input trap macro.
669 (UR, UE): Replace stub with real definition.
671 (MT, ME): New macros.
673 (EX, EE): Don't insert vertical space.
674 Use a register to store (and restore) the current font.
676 * man/ditroff.man, man/groff_diff.man, man/roff.man: Revised, based
677 on patches from Eric Raymond.
680 2007-01-22 Gaius Mulley <gaius@glam.ac.uk>
682 * tmac/an-old.tmac (an-trap, HP): Make `HP' work as expected.
684 2007-01-22 Werner LEMBERG <wl@gnu.org>
686 * tmac/an-ext.tmac: Protect against being sourced twice.
687 (URL, EE): Use always two backslashes.
690 2007-01-16 Werner LEMBERG <wl@gnu.org>
692 * tmac/an-ext.tmac: Remove code for grodvi.
694 Don't insert empty line.
695 (URL, TQ): Fix typos.
697 2007-01-14 Werner LEMBERG <wl@gnu.org>
699 * tmac/an-ext.tmac: New file, containing extension macros
700 for -man. See discussion on the groff mailing list for
701 background information.
702 * tmac/an-old.tmac: Load an-ext.tmac.
703 Decorate .ds and as with comment escapes where appropriate.
704 * tmac/Makefile.sub (NORMALFILES): Add an-ext.tmac.
706 2007-01-05 Werner LEMBERG <wl@gnu.org>
708 * src/preproc/tbl/tbl.man: Document .T# and \n[TW].
710 2007-01-04 Gaius Mulley <gaius@glam.ac.uk>
712 Make -me macros ready for grohtml.
714 * tmac/e.tmac: Load devtag.tmac.
715 (need_eo_h, need_eo_tl, need_tl): New registers.
716 (check_need_title, (x-html, )x-html, xp-html): New macros.
717 (@h, hl, ip, @p, sh, (b, (l, EQ, EN, TS, TE, PS, PE, GS, GE, r, i,
718 b, rb, bi, bx, (x, )x, xp): Adapt for use with grohtml.
719 (bp): Rename to @b only if output device is not html.
721 2007-01-01 Werner LEMBERG <wl@gnu.org>
723 * man/groff_font.man: Document empty lines.
725 * src/utils/afmtodit/afmtodit.pl: Always print a header comment at
726 the very beginning of the output.
729 * font/devps/*: Regenerate font definition files.
731 2007-01-01 Werner LEMBERG <wl@gnu.org>
733 * font/devps/generate/Makefile (AFMTODIT): Use -c flag.
735 * font/devps/*: Regenerate font definition files.
737 2006-12-31 Werner LEMBERG <wl@gnu.org>
739 * Makefile.in (oldfontdir): New variable.
740 (MDEFINES): Add $(oldfontdir).
741 (uninstall_dirs): Remove `current' link.
742 Remove $(oldfontdir).
744 * Makefile.comm (oldfontsubdir): New variable.
745 (install_dev): Install files collected in $(OLDDEVFILES) into
747 (uninstall_dev): Remove data in $(oldfontsubdir).
748 (.man.n): Handle @OLDFONTDIR@.
750 * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
751 src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
752 src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man:
753 Document GROFF_FONT_PATH.
755 * src/devices/grops/grops.man: Document GROFF_FONT_PATH and
756 old font description files.
758 * font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New
761 * font/devps/old/*: New directory, holding the previous version
762 of the 35 Adobe core font description files.
764 * font/devps/*: Regenerated the 35 Adobe core fonts, using the
765 Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de.
767 * NEWS: Document font update.
769 2006-12-31 Werner LEMBERG <wl@gnu.org>
771 * font/devps/generate/Makefile (symbolsl.afm): Use $(srcdir).
773 * Makefile.comm (fonts): New (empty) target.
774 * Makefile.in (TARGETS): Add `fonts'.
776 * MANIFEST: Add `chem'.
778 * doc/groff.texinfo (Changing Fonts): Font translations with .ftr
781 2006-12-26 Werner LEMBERG <wl@gnu.org>
783 * src/preproc/grn/hdb.cpp: Include gprint.h later. From NetBSD.
785 2006-12-19 Werner LEMBERG <wl@gnu.org>
787 Add support for German. For activation, simply use -mde or -mden
788 (for traditional and new orthgraphy, respectively) as the last
791 * tmac/de.tmac, tmac/den.tmac, tmac/hyphen.det, tmac/hyphen.den,
792 tmac/hyphenex.det: New files, partly taken from CTAN.
793 * LICENSES: Updated list of hyphenation patterns.
794 * man/groff_tmac.man: Mention de.tmac and den.tmac.
797 2006-12-11 Werner LEMBERG <wl@gnu.org>
799 Support up to 32 macro arguments in pic (and up to 16 on EBCDIC
802 * src/preproc/pic/lex.cpp (ARG1): Redefine. Update all users.
803 (MAX_ARG): New macro. Use it everywhere to replace hard-coded
804 limit of 9 arguments.
805 (process_body): Handle argument numbers with more than a single
807 (interpolate_macro_with_args): Protect against exceeding number of
810 * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Document it.
812 2006-12-10 Werner LEMBERG <wl@gnu.org>
814 * Makefile.in (site.exp, docheck): Commented out. Not working
816 (check): Just emit dummy message.
818 2006-12-08 Werner LEMBERG <wl@gnu.org>
820 During installation, create soft link from <version> to `current' in
823 * Makefile.comm (install): Renamed to...
825 (prefix_must_exist): Removed. Code moved to Makefile.in.
827 * Makefile.in (TARGETS): Remove `install'.
829 (install): New target which first creates the directory given by
830 --prefix, then calling `make' to do the installation, and finishing
831 with the creation of the soft link.
833 2006-11-21 Werner LEMBERG <wl@gnu.org>
835 * doc/Makefile.sub (uninstall_sub): Fix names for info files.
837 2006-11-18 Werner LEMBERG <wl@gnu.org>
839 * man/roff.man, doc/groff.texinfo: Improve history of roff, based on
840 information from Tom Van Vleck <thvv@multicians.org>.
842 2006-11-16 Werner LEMBERG <wl@gnu.org>
844 * tmac/62bit.tmac: New macro package.
845 * tmac/Makefile.sub (NORMALFILES): Add it.
848 * tmac/trace.tmac: Protect against being loaded again.
849 (nr): Always show result.
851 * doc/groff.texinfo (Input Encodings): Document latin-5.
853 * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
855 2006-11-13 Werner LEMBERG <wl@gnu.org>
857 * doc/groff.texinfo (Page Location Traps) [.wh]: Give more details
858 on negative trap positions.
860 2006-11-10 Werner LEMBERG <wl@gnu.org>
862 * Makefile.comm (.man.n): Handle @DATASUBDIR@.
864 2006-11-09 Werner LEMBERG <wl@gnu.org>
866 * INSTALL: Move information about external installation from
867 INSTALL.gen into this file.
870 * INSTALL.gen: Update to new version (from texinfo CVS).
872 2006-11-09 Bernd Warken
874 * INSTALL.gen: Extend the file by information on `external
875 installation'. Reorder the installation instruction as `normal
878 2006-11-08 Werner LEMBERG <wl@gnu.org>
880 * doc/Makefile.sub (install_data): Take care of proper paths while
881 installing info files. Bug reported by Bernd Warken.
883 2006-11-06 Bernd Warken
885 * src/roff/grog/grog.pl: Rewrite.
886 - Call by `#! /usr/bin/env perl'. That isn't replaced.
887 - Rename usage() to version().
889 - For `use strict', start all global variables with an upper case
890 character. Use `my' for all variables. Use several new variables.
892 - Add copyright to GPL and Emacs comment.
893 - Handle several `-m*' options.
894 - Fix handling of `-ms' and `-mm'. Add .TL and .NH.
895 - Allow options after file names.
896 - Allow only one `-' parameter (standard input).
897 - Add option abbreviations.
898 - Expand the usage information.
900 - Add single quote "'" as additional first character and allow
901 arbitrary space after the first character.
903 * src/roff/grog/grog.sh: Rewrite.
904 - Remove option `-e' of `sed'.
905 - Allow file names with space characters.
907 - Add copyright to GPL.
908 - Handle several `-m*' options.
909 - Fix handling of `-ms' and `-mm'. Add .TL and .NH.
910 - Allow options after file names.
911 - Allow only one `-' parameter (standard input).
912 - Add option abbreviations.
913 - Expand the usage information.
915 - Add single quote "'" as additional first character and allow
916 arbitrary space after the first character.
918 * src/roff/grog/Makefile.sub:
919 - Add copyright to GPL.
920 - Remove `grog:'. Move `grog.old:' to `grog:' in order to have a
921 fair chance to choose between the shell version and the Perl
922 version of `grog'. This is now again comparable to grog in groff
925 * src/roff/grog/grog.man: Rewrite.
926 - Move the license to GPL.
927 - New sections: OPTIONS, DETAILS, EXAMPLES, COPYING.
928 - Take over some setup and macros from `groffer'.
929 - Add information on options.
931 2006-10-28 Werner LEMBERG <wl@gnu.org>
933 * tmac/trace.tmac: Improve tracing of `.nr'.
934 Trace `.substring' also.
938 2006-10-28 Bernd Warken
940 * man/roff.man, src/roff/groff/groff.man: Add `chem', fix position
941 of groff development site, fix fonts.
943 * News: Add information on `chem' and `groffer'.
945 2006-10-26 Bernd Warken
947 * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add `chem' bundle.
949 2006-10-26 Werner LEMBERG <wl@gnu.org>
951 Add `\%^' escape to handle the parameters to a macro as a string
954 * src/roff/troff/input.h (DOUBLE_QUOTE): New special character.
956 * src/roff/troff/input.cpp (input_iterator, input_stack,
957 macro_iterator): Add `space_follows_arg' member function.
958 (macro_iterator::add_arg): Add parameter to set the `space_follows'
960 (arg_list): Add member `space_follows'.
961 Update constructor and all callers.
962 (decode_args): Store discarded double quotes.
963 (interpolate_args): Handle DOUBLE_QUOTE.
965 (get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE.
967 * tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1.
969 * docs/groff.texinfo (Parameters), man/groff.man,
970 man/groff_diff.man, NEWS: Document it.
972 2006-10-24 Bernd Warken
974 * Makefile.in (NOMAKEDIRS): Add groffer subdirectories.
976 2006-10-24 Werner LEMBERG <wl@gnu.org>
978 * tmac/groff_trace.man: Mention problem with `\\\\'.
980 2006-10-23 Werner LEMBERG <wl@gnu.org>
982 * doc/groff.texinfo (Expressions): Improve documentation of `!'.
984 * tmac/trace.tmac (return): Don't call `substring'.
986 2006-09-10 Werner LEMBERG <wl@gnu.org>
988 * src/roff/troff/input.cpp (read_size): Revert previous change
991 * doc/groff.texinfo (Fractional Size Types): Clarify syntax of \s.
993 2006-09-09 Werner LEMBERG <wl@gnu.org>
995 * src/roff/troff/input.cpp (read_size): Fix `\s[-\n[.s]]' so that it
996 behave the same as `\s-[\n[.s]]' (this is, emit a warning and set
997 point size to 1). Reported by Gunnar Ritter.
998 Also catch `\s-[-...]' and friends (causing an error).
1000 2006-09-06 Werner LEMBERG <wl@gnu.org>
1002 * src/roff/troff/env.cpp (environment::do_break): Insert zero-width
1003 space only if there is no previous space. This fixes a bug which
1004 caused unwanted filling of the last line in a paragraph. Thanks to
1005 Gunnar Ritter for an analysis.
1007 2006-09-03 Werner LEMBERG <wl@gnu.org>
1009 * src/roff/groff/groff.cpp (main): Pass -U flag to pic also.
1010 Reported by Jennifer Sayers <jenjen@isu.usyd.edu.au>.
1012 2006-09-01 Nick Stoughton <nick@msbit.com>
1013 Werner LEMBERG <wl@gnu.org>
1015 Add a request `pev' to print environment information (similar to
1016 `pnr' and `ptr' to print number registers and traps).
1018 * src/roff/troff/env.h (environment): Add member function print_env.
1020 * src/roff/troff/env.cpp: (environment::print_env): New function to
1021 print a given environment state.
1022 (print_env): New global function to iterate through the
1023 environments, printing each one.
1024 (init_env_requests): Register `pev'.
1026 * doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man,
1027 NEWS: Document `pev' request.
1029 2006-09-01 Bernd Warken
1031 * src/preproc/soelim/soelim.cpp (usage): Fix option argument of
1034 2006-09-01 Werner LEMBERG <wl@gnu.org>
1036 * src/preproc/pic/main.cpp (usage): Add missing options.
1038 2006-08-25 Werner LEMBERG <wl@gnu.org>
1040 * src/preproc/soelim/soelim.man: Document how to insert `\' and ` '
1043 2006-08-19 Werner LEMBERG <wl@gnu.org>
1045 * configure: Regenerated.
1047 2006-08-18 Keith Marshall <keith.d.marshall@ntlworld.com>
1049 * m4/groff.m4 (GROFF_MAKEINFO): Correct `makeinfo version testing
1050 logic; it previously caused an `expr' syntax error, if no version of
1051 `makinfo' was present. Also, remove dependency on `makeinfo' in VPATH
1052 builds, if an up to date `groff.info' is present in either `builddir'
1055 2006-08-12 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
1057 * font/devps/prologue.ps: Add BPhook.
1059 * src/devices/grops/grops.man: Document BPHook.
1060 Reorder some sections for better readability.
1062 2006-08-12 Werner LEMBERG <wl@gnu.org>
1064 * src/include/lib.h (getlocale): New macro.
1065 (setlocale, LC_ALL, LC_CTYPE) [!HAVE_SETLOCALE]: Define, as
1068 * src/preproc/preconv/preconv.cpp (main): Use getlocale.
1070 2006-08-11 Werner LEMBERG <wl@gnu.org>
1072 Add new flag to .cflags to enable hyphenation without looking at
1075 * src/roff/troff/charinfo.h (charinfo): New enumeration value
1077 New member function `ignore_hcodes'.
1079 * src/roff/troff/node.cpp (break_char_node::add_self,
1080 node::add_char): Updated.
1082 * doc/groff.texinfo, man/groff_diff.man, NEWS: Document it.
1084 2006-08-09 Werner LEMBERG <wl@gnu.org>
1086 Support composite Unicode characters again. Reported by Colin.
1088 * font/devhtml/R.proto: Renamed to...
1089 * font/devhtml/R.in: This.
1091 * font/devutf8/R.proto: Renamed to...
1092 * font/devutf8/R.in: This.
1095 * font/make-Rproto: New script.
1096 * font/devhtml/R.proto, font/devutf8/R.proto: Generated.
1098 2006-07-26 Werner LEMBERG <wl@gnu.org>
1100 * README: Fix description of CVS access. Reported by Joachim.
1102 2006-07-11 Werner LEMBERG <wl@gnu.org>
1104 Add a request `.fzoom' and a number register `.zoom' to magnify
1107 * src/include/font.h (font): Add member variable `zoom'.
1108 Add member functions `set_zoom' and `get_zoom'.
1109 Remove `static' attribute from `scale' member function.
1111 * src/libs/libgroff/font.cpp (font::font): Updated.
1112 (scale_round): New version with three parameters to handle zoom
1114 (font::scale, font::get_width): Handle zoom factor.
1115 (font::set_zoom, font::get_zoom): New functions.
1116 (font::load): Handle `zoom' while computing `space_width'.
1118 * src/roff/troff/env.h: Declare `env_get_zoom'.
1119 (environment): Add member function `get_zoom'.
1121 * src/roff/troff/env.cpp (environment::get_zoom): New function.
1122 (init_env_requests): Initialize `.zoom' register.
1124 * src/roff/troff/node.cpp (font_info): New member functions
1125 `set_zoom' and `get_zoom'.
1126 (tfont): New member function `get_zoom'.
1127 (env_get_zoom): New function.
1128 (troff_output_file::set_font): Handle zoom factor.
1129 (font_zoom_request): New function.
1130 (init_node_requests): Initialize `fzoom' request.
1132 * docs/groff.texinfo (Changing Fonts), man/groff.man,
1133 man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom'
1136 * src/roff/troff/TODO: Updated.
1138 2006-07-10 Werner LEMBERG <wl@gnu.org>
1140 * doc/groff.texinfo (Drawing Requests): Improve documentation of
1143 2006-07-02 Werner LEMBERG <wl@gnu.org>
1145 * man/groff_tmac.man: Document usage of .PSPIC within diversions.
1147 2006-07-01 Werner LEMBERG <wl@gnu.org>
1149 * tmac/pspic.tmac: Make .PSPIC work for all devices.
1150 Print image file name for devices which don't support PS image
1152 Handle multiple inclusions.
1153 Add lots of comments.
1155 * tmac/dvi.tmac, tmac/html.tmac, tmac/ps.tmac: Don't load
1158 * tmac/troffrc: Load pspic.tmac.
1160 * man/groff_tmac.man: Update .PSPIC documentation.
1164 2006-06-29 Werner LEMBERG <wl@gnu.org>
1166 * src/roff/troff/input.cpp (interpolate_macro):
1167 s/probably/possibly/, as suggested by Keith.
1169 2006-06-28 Werner LEMBERG <wl@gnu.org>
1171 Add support for \D'p...' to grotty.
1173 * src/devices/grotty/grotty.cpp (tty_printer::draw): Move most of
1175 (tty_printer::line): This function.
1176 (tty_printer::draw): Rewritten; just call either draw_line or
1178 (tty_printer::draw_line, tty_printer::draw_polygon): New functions.
1180 * src/devices/grotty/grotty.man, NEWS: Document it.
1182 2006-06-27 Werner LEMBERG <wl@gnu.org>
1184 * src/preproc/refer/command.h (have_bibliography): New variable
1187 * src/preproc/refer/command.cpp (bibliography_command): Set
1188 `have_bibliography'.
1190 * src/preproc/refer/refer.cpp: Initialize `have_bibliography'.
1191 (output_references): Emit warning only if `have_bibliography' is
1194 2006-06-15 Michail Vidiassov <master@iaas.msu.ru>
1196 * font/devps/Makefile.sub (DISTFILES): Add freeeuro.afm.
1197 * font/devps/generate/Makefile (clean): Don't remove symbolsl.afm
1200 2006-06-15 Werner LEMBERG <wl@gnu.org>
1202 * src/preproc/tbl/tbl.man: Document limitations of .TS/.TE within a
1203 macro (as suggested by Tadziu Hoffmann).
1205 2006-06-12 Werner LEMBERG <wl@gnu.org>
1207 * src/preproc/tbl/tbl.man: Add example for use of .TS/.TE within a
1208 macro (as suggested by Tadziu Hoffmann).
1210 2006-06-05 Werner LEMBERG <wl@gnu.org>
1212 * tmac/strip.sed: Strip `\#' also.
1214 * doc/groff.texinfo (Operators in Conditionals): Document usage of
1215 \? for string comparison.
1217 2006-06-04 Werner LEMBERG <wl@gnu.org>
1219 * doc/groff.texinfo: Add more index entries for copy-in mode.
1220 (Changing Fonts) <.ft>: Document that a font definition file must
1221 not be called `DESC'.
1223 2006-05-31 Werner LEMBERG <wl@gnu.org>
1225 * src/roff/troff/input.cpp (token::next) <\N>: Catch negative values
1228 * doc/Makefile.sub (EXAMPLEFILES): Move gnu.eps to...
1229 (PROCESSEDEXAMPLEFILES): Here.
1231 2006-05-30 Werner LEMBERG <wl@gnu.org>
1233 * src/libs/libgroff/font.cpp (font::load): Reject fonts called
1235 Reduce number of false positives for `.if F ...' conditionals.
1236 Improve warning messages.
1238 2006-05-29 Werner LEMBERG <wl@gnu.org>
1240 * tmac/Makefile.sub: Add copyright notice.
1241 (NORMALFILES): Add man.tmac and ms.tmac.
1242 (SPECIALFILES): Remove man.tmac and ms.tmac.
1243 (CLEANADD): Remove man.tmac-sed and ms.tmac-sed.
1244 (install_data, uninstall_sub): Don't handle man.tmac and ms.tmac
1246 (stamp-sed): Don't handle man.tmac and ms.tmac.
1247 Remove obsolete components in sed's regexp.
1249 * doc/Makefile.sub (EXAMPLEFILES): Add gnu.eps.
1251 * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add hdtbl.
1253 2006-05-28 Werner LEMBERG <wl@gnu.org>
1255 * doc/groff.texinfo (History): Correct death circumstances of Joe
1258 2006-05-27 Werner LEMBERG <wl@gnu.org>
1260 * tmac/an-old.tmac (an-do-tag): Simplify.
1262 2006-05-26 Werner LEMBERG <wl@gnu.org>
1264 * tmac/an-old.tmac (an-do-tag): Make margin characters work.
1265 (an-header, an-p-footer): Use named environment.
1267 * src/roff/troff/env.cpp (environment::copy): Copy margin character
1270 2006-05-21 Werner LEMBERG <wl@gnu.org>
1272 * tmac/trace.tmac (de1): Fix serious typo (.di -> .do) and minor
1275 2006-05-11 Keith Marshall <keith.d.marshall@ntlworld.com>
1277 * src/roff/groff/groff.man: Remove superfluous word `intermediate'.
1279 2006-05-10 Keith Marshall <keith.d.marshall@ntlworld.com>
1281 * src/roff/groff/groff.man: Update copyright notice.
1282 Improved wording to describe effect of `-Z' option.
1284 2006-05-06 Werner LEMBERG <wl@gnu.org>
1286 * tmac/www.tmac: Decorate `.ds' with trailing `\"' where missing.
1287 Normalize handling of `"' in arguments.
1288 (PIMG): Remove debug message.
1291 2006-05-05 Werner LEMBERG <wl@gnu.org>
1293 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Don't
1294 swallow character immediately after `\[...]'.
1297 2006-05-02 Gaius Mulley <gaius@glam.ac.uk>
1299 * tmac/www.tmac (PIMG): Fix the HTML device specific components.
1301 2006-05-02 Larry Kollar <kollar@alltel.net>
1303 * tmac/www.tmac (PIMG): Really default to `-C' if the alignment
1306 2006-04-30 Michail Vidiassov <master@iaas.msu.ru>
1308 * src/utils/afmtodit/afmtodit.pl: New option `-c' to add font
1309 information as a comment in output.
1310 * src/utils/afmtodit/afmtodit.man, NEWS: Document it.
1312 2006-04-26 Werner LEMBERG <wl@gnu.org>
1314 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
1315 Handle current_paragraph only if it is non-NULL.
1317 * src/libs/libdriver/input.cpp (parse_x_command <'F'>, do_file
1318 <'F'>): Use `get_extended_arg' to behave as documented. Reported by
1319 Bill Ward <william.a.ward.jr@erdc.usace.army.mil>.
1322 Surround the (pseudo) file name for the .pso request with `<' and
1325 * src/roff/troff/node.cpp (real_output_file, troff_output_file): Add
1326 second parameter to `really_put_filename' and `put_filename'.
1327 (troff_output_file::really_put_filename): Emit `<' and `>' around
1328 filename if second argument is set.
1329 * src/roff/troff/node.h: Updated.
1331 * src/roff/troff/input.cpp (file_iterator::file_iterator,
1332 file_iterator::set_location): Update to changes in node.cpp.
1334 2006-04-25 Tetsurou Okazaki <okazaki@FreeBSD.org>
1336 * src/preproc/preconv/preconv.cpp (do_file): Fix conditional
1337 preprocessor expression (I18N -> HAVE_ICONV).
1338 (main): Fix handling of option `-h'.
1339 Fix conditional preprocessor expression.
1341 2006-04-04 Werner LEMBERG <wl@gnu.org>
1343 Implement new number register `.br' which is set to 1 if a macro has
1344 been called as .foo and to 0 if called as 'bar. This is useful for
1345 -mtrace so that requests can be reliably traced too.
1347 * src/roff/troff/input.cpp (input_iterator): Add virtual function
1349 (macro_iterator): Add `with_break' member and `get_break_flag'
1351 Update constructors.
1352 (input_stack): Add function `get_break_flag'.
1353 (break_flag_reg): New number register class.
1354 (input_init_requests): Register `.br'.
1356 * src/roff/troff/TODO: Updated.
1358 * tmac/trace.tmac: s/!!sp/!!!sp/.
1359 Modify definitions of `de', `de1', `am', and `am1' to use \n[.br].
1361 * docs/groff.texinfo (Requests), man/groff.man, man/groff_diff.man,
1364 2006-03-29 Werner LEMBERG <wl@gnu.org>
1366 * src/devices/grops/ps.cpp: s/must not/should not/ in warning
1367 messages where appropriate.
1369 2006-03-28 Werner LEMBERG <wl@gnu.org>
1371 * configure.ac: Call AC_PROG_EGREP.
1372 * configure: Regenerated.
1374 * Makefile.in (EGREP): New variable.
1375 (MDEFINES): Add $(EGREP).
1377 * src/roff/grog/grog.sh: Treat .TH between .TS and .TE properly
1378 (bug reported by Robert Goulding <Goulding.2@nd.edu>).
1381 * src/roff/grog/Makefile.sub (grog, grog.old): Use $(EGREP).
1383 2006-03-27 Werner LEMBERG <wl@gnu.org>
1385 Add two requests `.device' and `.devicem' which are equivalent to
1386 `\X' and `\Y', respectively.
1388 * src/roff/troff/input.cpp (device_request, device_macro_request):
1390 (init_input_requests): Register them.
1392 * doc/groff.texinfo (Postprocessor Access), man/groff_diff.man,
1393 man/groff.man, NEWS: Document them.
1395 2006-03-27 Gaius Mulley <gaius@glam.ac.uk>
1397 * src/roff/troff/input.cpp (encode_char): Emit special characters
1398 for -Thtml as `\[...]'.
1399 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Updated.
1401 * doc/groff.texinfo (Postprocessor Access) <\X>: Updated.
1403 2006-03-27 Werner LEMBERG <wl@gnu.org>
1405 * tmac/Makefile.sub (NORMALFILES, SPECIALFILES): Add various missing
1408 2006-03-26 Werner LEMBERG <wl@gnu.org>
1410 * doc/groff.texinfo (Writing Macros): More documentation on
1411 end-of-macro symbol of `.de'.
1412 (Diversions): Minor addition to `.di' description.
1414 * src/devices/grops/grops.man: Some clarifications regarding
1415 insertion of PostScript snippets.
1417 2006-03-25 Michail Vidiassov <master@iaas.msu.ru>
1419 Add rules to generate `symbolsl.afm'.
1421 * font/devps/generate/zapfdr.sed,
1422 font/devps/generate/symbolsl.awk: New files.
1424 * font/devps/generate/Makefile (symbolfont, PRINTAFM): New
1426 (SS, clean): Updated.
1427 (freeeuro.afm): Use $(srcdir).
1428 (symbolsl.afm): New rule.
1429 (zapfdr.afm): Use zapfdr.sed.
1431 2006-03-22 Dwight Aplevich <aplevich@uwaterloo.ca>
1433 * src/preproc/pic/pic.y (expr <INT>): Fix code.
1435 2006-03-22 Jörgen Grahn <jgrahn@algonet.se>
1437 * tmac/sv.tmac: Add missing translations and activate support for
1438 other macro packages.
1440 2006-03-21 Francis GUDIN <fgudin@nerim.net>
1442 * tmac/doc-syms (Dx): New macro to identify DragonFly.
1443 (doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
1444 doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
1446 (doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
1447 doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
1448 doc-operating-system-DragonFly-*): New operating system strings.
1450 * tmac/groff_mdoc.man, NEWS: Document `Dx'.
1452 2006-03-21 Werner LEMBERG <wl@gnu.org>
1454 * src/preproc/pic/pic.y (object_spec THEN): For compatibility with
1455 both DWB pic and dpic, make
1463 line right then down;
1470 * doc/pic.ms: Document this.
1472 2006-03-20 Werner LEMBERG <wl@gnu.org>
1474 * doc/pic.ms: With permission of Eric Raymond, put it under the
1479 2006-03-19 Werner LEMBERG <wl@gnu.org>
1481 * src/preproc/pic/pic.y (expr <INT>): Really return integer part.
1483 * src/preproc/pic/objects.cpp (object_spec::make_line): Handle `at'
1484 attribute in combination with `with'. Bug reported by Jennifer
1485 Sayers <jenjen@mail.usyd.edu.au>.
1487 2006-03-19 Miklos Somogyi <msom@netspace.net.au>
1489 * doc/groff.texinfo (Manipulating Spacing): Improve documentation of
1492 2006-03-18 Werner LEMBERG <wl@gnu.org>
1494 * LICENSE: Renamed to...
1495 * LICENSES: This. Collect all licensing information in this file.
1496 * tmac/README, src/libs/snprintf/README: Removed.
1498 * src/devices/grops/grops.man: Add section how to install fonts.
1500 * src/utils/xtotroff/xtotroff.c: Add GPL.
1502 2006-03-17 Werner LEMBERG <wl@gnu.org>
1504 * Makefile.comm (.y.cpp): Fix #line arguments in output.
1506 2006-03-13 Werner LEMBERG <wl@gnu.org>
1508 * src/preproc/tbl/tbl.man: Mention default length of text blocks.
1510 * tmac/doc-common (Os): Add more Darwin versions.
1511 * tmac/groff_mdoc.man: Document them.
1513 * doc/groff.texinfo (Operators in Conditionals): Mention that `c'
1514 works with \N'...' also.
1515 * man/groff_diff.man: Ditto. Remove use of future tense where
1518 2006-03-12 Michail Vidiassov <master@iaas.msu.ru>
1520 * font/devps/generate/make-zapfdr, font/devps/symbolsl.ps,
1521 font/devps/zapfdr.ps: Add `%%EndComments' line.
1523 2006-03-10 Larry Kollar <kollar@alltel.net>
1525 * doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.
1527 2006-03-10 Werner LEMBERG <wl@gnu.org>
1529 * src/devices/grops/ps.cpp (ps_printer::do_exec, ps_printer::do_def,
1530 ps_printer::do_mdef): Overlong lines now cause a warning message,
1533 2006-03-09 Werner LEMBERG <wl@gnu.org>
1535 * font/devps/generate/make-zapfdr: New script for generating
1538 2006-03-08 Werner LEMBERG <wl@gnu.org>
1540 * doc/groff.css (pre): Fix `background-color' value.
1542 2006-03-04 Larry Kollar <kollar@alltel.net>
1544 * tmac/groff_ms.man: Document PT, HD, and BT.
1546 2006-03-04 Werner LEMBERG <wl@gnu.org>
1548 * src/roff/troff/node.cpp (make_glyph_node): Improve warning message
1549 for single-letter glyph names.
1551 2006-03-02 Werner LEMBERG <wl@gnu.org>
1553 * tmac/sv.tmac: New file; currently holding only the Swedish strings
1555 * tmac/hyphen.sv: New hyphenation pattern file for Swedish, taken
1557 * tmac/README: Updated.
1559 2006-02-27 Werner LEMBERG <wl@gnu.org>
1561 * tmac/trans.tmac (Liec, Letdate, Letns!14): Add it (for -mm).
1562 * tmac/fr.tmac: Add French translations.
1564 * tmac/composite.tmac: Add entry for `:'.
1566 2006-02-26 Werner LEMBERG <wl@gnu.org>
1568 * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable.
1570 (install_html, uninstall_sub): Updated.
1572 2006-02-26 Bruno Haible <bruno@clisp.org>
1574 Introduce Unicode fonts.
1576 * font/devhtml/DESC.proto: Mark as unicode.
1577 * font/devhtml/R.proto: Remove all charset entries that are already
1579 * font/devutf8/DESC.proto: Mark as unicode.
1580 * font/devutf8/R.proto: Remove all charset entries.
1581 * src/include/font.h (font): New static field `is_unicode'.
1582 Change order of fields.
1583 * src/libs/libgroff/font.cpp: Include unicode.h.
1584 (font::font): Update for changed order of fields.
1585 (font::contains, font::get_width, font::get_height, font::get_depth,
1586 font::get_italic_correction, font::get_left_italic_correction,
1587 font::get_subscript_correction, font::get_character_type,
1588 font::get_code, font::get_special_device_encoding): Handle both the
1589 explicitly enumerated glyphs and use general code for Unicode fonts.
1590 (font::load): Make the charset section optional when the font is
1592 (font::load_desc): Recognize the `unicode' attribute.
1593 * src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
1595 2006-02-26 Claudio Fontana <claudio@gnu.org>
1597 * Makefile.in: Add comment about DESTDIR.
1599 * Makefile.sub: Add DESTDIR to install and uninstall targets
1600 to support staged installations.
1601 * Makefile.comm: Likewise.
1602 * doc/Makefile.sub: Likewise.
1603 * contrib/eqn2graph/Makefile.sub: Likewise.
1604 * contrib/grap2graph/Makefile.sub: Likewise.
1605 * contrib/pic2graph/Makefile.sub: Likewise.
1606 * src/devices/xditview/Makefile.sub: Likewise.
1607 * src/preproc/eqn/Makefile.sub: Likewise.
1608 * src/roff/grog/Makefile.sub: Likewise.
1609 * src/roff/nroff/Makefile.sub: Likewise.
1610 * src/utils/afmtodit/Makefile.sub: Likewise.
1611 * src/utils/indxbib/Makefile.sub: Likewise.
1612 * tmac/Makefile.sub: Likewise.
1614 2006-02-24 Werner LEMBERG <wl@gnu.org>
1616 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1618 Remove commented out entries for \' and \` (there are no such glyph
1621 * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1622 commented out entries for \' and \`.
1625 * */*: s/legal/valid/ where appropriate.
1627 2006-06-23 Werner LEMBERG <wl@gnu.org>
1629 * font/devhtml/R.proto, font/devutf8/R.proto: Remove incorrect \'
1632 2006-02-22 Werner LEMBERG <wl@gnu.org>
1634 Remove all remaining traces from the `shc' glyph.
1636 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
1637 src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1640 * font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc'
1641 entry with unnamed glyph.
1643 * tmac/html/tmac: Remove `shc' entry from call to `.cflags'.
1645 * src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD
1648 2006-02-22 Bruno Haible <bruno@clisp.org>
1650 Concretize the `glyph' datatype.
1652 * src/include/font.h (glyph): Remove class.
1653 (glyph): Renamed from struct `glyphinfo'.
1654 (glyph_to_index): New inline function.
1655 (glyph_to_name): Make extern, not inline.
1656 (glyph_to_number): Update.
1657 (font): Use `glyph *' instead of `glyph'.
1659 * src/libs/libgroff/nametoindex.cpp (charinfo): Inherit from class
1660 `glyph'. Make `name' field public.
1661 (character_indexer, number_to_glyph, name_to_glyph): Use `glyph *'
1663 (glyph_to_name): Renamed from `glyph::glyph_name'.
1665 * src/roff/troff/charinfo.h (charinfo): Inherit from class `glyph'.
1666 Use `glyph *' instead of `glyph'.
1668 * src/roff/troff/input.cpp (name_to_glyph, number_to_glyph): Use
1669 `glyph *' instead of `glyph'.
1670 (glyph_to_name): Renamed from `glyph::glyph_name'.
1672 * src/libs/libgroff/font.cpp: Use `glyph *' instead of `glyph',
1673 and `glyph_to_index' instead of `glyph::glyph_index'.
1675 * src/include/printer.h (printer): Use `glyph *' instead of `glyph'.
1676 * src/libs/libdriver/printer.cpp: Likewise.
1677 * src/devices/grodvi/dvi.cpp: Likewise.
1678 * src/devices/grohtml/post-html.cpp: Likewise.
1679 * src/devices/grolbp/lbp.cpp: Likewise.
1680 * src/devices/grolj4/lj4.cpp: Likewise.
1681 * src/devices/grops/ps.cpp: Likewise.
1682 * src/devices/grotty/tty.cpp: Likewise.
1684 2006-02-22 Werner LEMBERG <wl@gnu.org>
1686 * font/devdvi/generate/tc.map: Add `sr' glyph.
1687 * font/devdvi/*TC: Regenerated.
1689 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1692 2006-02-21 Werner LEMBERG <wl@gnu.org>
1694 * man/groff_char.man: Explain `***' marker.
1696 2006-02-17 Bruno Haible <bruno@clisp.org>
1698 * src/libs/libgroff/nametoindex.cpp (character_indexer): Rename
1699 methods and fields from *_index to *_glyph.
1700 (character_indexer::named_char_glyph): Test for `charNNN' name
1702 (name_to_glyph): ... not here.
1704 2006-02-17 Bruno Haible <bruno@clisp.org>
1706 * src/include/font.h (name_to_glyph): Renamed from
1707 font::name_to_index.
1708 (number_to_glyph): Renamed from font::number_to_index.
1709 (glyph_to_name): Renamed from font::index_to_name.
1710 (glyph_to_number): Renamed from font::index_to_number.
1711 * src/libs/libgroff/nametoindex.cpp: Likewise.
1712 * src/roff/troff/charinfo.h (charinfo::as_glyph): Renamed from
1713 charinfo::get_index.
1715 * src/roff/troff/input.cpp: All callers changed.
1716 * src/roff/troff/node.cpp: Likewise.
1717 * src/libs/libgroff/font.cpp: Likewise.
1718 * src/devices/grops/ps.cpp: Likewise.
1719 * src/devices/grohtml/post-html.cpp: Likewise.
1720 * src/libs/libdriver/printer.cpp: Likewise.
1722 2006-02-17 Werner LEMBERG <wl@gnu.org>
1724 * src/include/ptable.h, src/include/itable.h
1725 (NEXT_PTABLE_SIZE_DEFINED): Use it to avoid multiple declaration
1726 of external symbol `next_ptable_size' (used by both header files).
1728 2006-02-15 Bruno Haible <bruno@clisp.org>
1730 * src/include/font.h (glyphinfo): New class.
1731 (glyph): Change internal representation.
1732 Change constructor signature.
1733 New method glyph::glyph_number().
1734 (glyph::glyph, glyph glyph::undefined_glyph, glyph::glyph_index,
1735 glyph::operator==, glyph::operator!=): Update.
1736 (font::index_to_name, font::index_to_number): New functions.
1738 * src/include/itable.h: New file, based on src/include/ptable.h.
1740 * src/libs/libgroff/nametoindex.cpp: Include itable.h.
1741 (class charinfo): New class.
1742 (class character_indexer): Change table result type from `int' to
1744 Add table with integer key.
1745 (character_indexer::character_indexer): Update.
1746 (character_indexer::ascii_char_index): Update.
1747 (character_indexer::numbered_char_index): Use NULL as name, not a
1748 string starting with a space.
1749 (character_indexer::named_char_index): Update.
1750 (font::number_to_index, font::name_to_index): Remove no-op cast.
1751 (glyph::glyph_name): New method.
1752 * src/roff/troff/charinfo.h (class charinfo): Inherit from class
1754 (NUMBERED): Remove flag bit.
1755 (charinfo::numbered, charinfo::get_index): Update.
1757 * src/roff/troff/input.cpp (charinfo::charinfo): Update.
1758 (charinfo::set_number, charinfo::get_number): Update.
1759 (glyph::glyph_name): New method.
1761 2006-02-15 Werner LEMBERG <wl@gnu.org>
1763 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Fix
1764 entries for `>>', `<<', `*f', and `+f'. Reported by Bruno.
1766 2006-02-13 Werner LEMBERG <wl@gnu.org>
1768 * font/devps/prologue.ps (RE): Check `UniqueID' also, similar to
1771 2006-02-11 Werner LEMBERG <wl@gnu.org>
1773 * src/include/font.h: s/glyph_t/glyph/.
1776 * src/devices/grotty/tty.cpp: s/glyph/tty_glyph/.
1777 s/output_character_t/output_character/.
1779 2006-02-11 Bruno Haible <bruno@clisp.org>
1781 New accessor method glyph_t::glyph_name().
1783 * src/include/ptable.h (declare_ptable): Add a return value to the
1784 `define' method, and declare a `lookupassoc' method.
1785 (implement_ptable): Return the stored key in `define'. Implement
1787 * src/include/font.h (glyph_t): Add `name' field. Add an argument
1789 (glyph_t::glyph_name): New method.
1791 * src/libs/libgroff/nametoindex.cpp (character_indexer): Change
1792 return type of methods and field member type to glyph_t.
1793 (character_indexer::character_indexer): Update.
1794 (character_indexer::ascii_char_index): Allocate a name for the
1796 Return a glyph_t with name.
1797 (character_indexer::numbered_char_index): Return a glyph_t without a
1799 (character_indexer::named_char_index): Return a glyph_t with a name.
1800 (font::number_to_index, font::name_to_index): Update.
1802 * src/roff/troff/input.cpp (charinfo::charinfo): Use the symbol as
1805 2006-02-11 Bruno Haible <bruno@clisp.org>
1807 * src/devices/grotty/tty.cpp (output_character_t): New type.
1808 (tty_printer::make_bold, tty_printer::add_char,
1809 tty_printer::put_char): Change argument type to output_character_t.
1810 (crossings): Change element type to output_character_t.
1812 2006-02-11 Bruno Haible <bruno@clisp.org>
1814 Make the glyph data type abstract.
1816 * src/include/font.h (glyph_t): New class.
1817 (name_to_index, number_to_index): Change return type to glyph_t.
1818 (font::contains, font::get_width, font::get_height, font::get_depth,
1819 font::get_character_type, font::get_kern, font::get_skew,
1820 font::get_italic_correction, font::get_left_italic_correction,
1821 font::get_subscript_correction, font::get_code,
1822 font::get_special_device_encoding, font::add_entry,
1823 font::copy_entry, font::add_kern, font::hash_kern): Change argument
1826 * src/libs/libgroff/font.cpp (font_kern_list): Change members
1827 type and constructor argument types to glyph_t.
1828 (font::contains, font::get_width, font::get_height, font::get_depth,
1829 font::get_character_type, font::get_kern, font::get_skew,
1830 font::get_italic_correction, font::get_left_italic_correction,
1831 font::get_subscript_correction, font::get_code,
1832 font::get_special_device_encoding, font::add_entry,
1833 font::copy_entry, font::add_kern, font::hash_kern): Change argument
1835 (font::load): Use glyph_t variables.
1837 * src/libs/libgroff/nametoindex.cpp (name_to_index,
1838 number_to_index): Change return type to glyph_t.
1840 * src/roff/troff/charinfo.h (charinfo::index): Change type to
1842 (charinfo::get_index): Change return type to glyph_t.
1844 * src/roff/troff/env.cpp: Include font.h.
1846 * src/roff/troff/node.cpp: Include font.h before charinfo.h.
1848 * src/roff/troff/input.cpp: Include font.h before charinfo.h.
1849 (charinfo::charinfo): Update.
1850 (name_to_index, number_to_index): Change return type to glyph_t.
1852 * src/include/printer.h (printer::set_char_and_width): Change return
1855 * src/libs/libdriver/printer.cpp (printer::set_char_and_width):
1856 Change return type to glyph_t.
1858 * src/devices/grodvi/dvi.cpp (dvi_printer::set_char): Change
1859 argument type to glyph_t.
1861 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Update.
1862 (html_printer::space_glyph): Renamed from space_char_index.
1863 (html_printer::add_to_sbuf, html_printer::sbuf_continuation,
1864 html_printer::overstrike, html_printer::set_char): Change argument
1866 (html_printer::set_char_and_width): Change return type to glyph_t.
1868 * src/devices/grolbp/lbp.cpp (lbp_printer::set_char): Change
1869 argument type to glyph_t.
1871 * src/devices/grolj4/lj4.cpp (lj4_printer::set_char): Change
1872 argument type to glyph_t.
1874 * src/devices/grops/ps.cpp (ps_printer::space_glyph): Renamed from
1876 (ps_printer::set_subencoding, ps_printer::set_char): Change argument
1879 * src/devices/grotty/tty.cpp (tty_printer::set_char): Change
1880 argument type to glyph_t.
1882 2006-02-11 Bruno Haible <bruno@clisp.org>
1884 * src/roff/troff/input.cpp (font::name_to_index): Never return a
1887 * src/libs/libgroff/font.cpp (font::load): Remove failure tests for
1888 font::name_to_index.
1890 2006-02-10 Werner LEMBERG <wl@gnu.org>
1892 * doc/groff.texinfo (Assigning Formats): Number registers are always
1894 Apply some rephrasing, contributed by Michael Burt.
1896 2006-02-07 Werner LEMBERG <wl@gnu.org>
1898 * tmac/fr.tmac <ms>: Set `HY' register.
1900 2006-02-07 Werner LEMBERG <wl@gnu.org>
1902 Add framework for simple adaptation of the main macro packages (mm,
1903 me, ms, mom) to different locales. In particular, add support for
1904 French. For activation, simply use `-mfr' as the last macro
1905 package. This feature has been contributed by Fabrice Ménard
1906 <menard.fabrice@wanadoo.fr>.
1908 * tmac/fr.tmac, tmac/trans.tmac, tmac/hyphen.fr, tmac/LOCALIZATION:
1910 * tmac/README: Mention hyphen.fr.
1911 * man/groff_tmac.man: Mention fr.tmac.
1914 2006-01-27 Werner LEMBERG <wl@gnu.org>
1916 * man/groff_font.man: Updated documentation of `entity_name' field.
1919 2006-01-27 Bruno Haible <bruno@clisp.org>
1921 * font/devhtml/R.proto: Remove the entity names from the font's
1922 special_encoding_encoding column.
1923 * src/devices/grohtml/post-html.cpp (get_html_entity): New function,
1924 handling the entity names here.
1925 (get_html_translation): Use it. Change return type to `const
1927 (page::add_and_encode): Update, removing a useless cast.
1929 2006-01-26 Werner LEMBERG <wl@gnu.org>
1931 This change is based on a patch by Bruno Haible <bruno@clisp.org>.
1933 * src/include/device.h: Add comments.
1934 * src/include/font.h: Add comments.
1935 * src/include/unicode.h: Likewise.
1936 * src/include/ptable.h, src/libs/libgroff/ptable.cpp: Likewise.
1938 2006-01-26 Keith Marshall <keith.d.marshall@ntlworld.com>
1940 Suppress `.st' request emission by `grn'.
1942 * src/preproc/grn/main.cpp (USE_ST_REQUEST): New macro.
1945 2006-01-22 Werner LEMBERG <wl@gnu.org>
1947 * install-sh: New version; taken from texinfo CVS.
1949 2006-01-21 Werner LEMBERG <wl@gnu.org>
1951 * src/preproc/preconv/preconv.cpp (main): Set program_name. Bug
1952 reported by Alexander E. Patrakov <patrakov@ums.usu.ru>.
1954 2006-01-19 Bruno Haible <bruno@clisp.org>
1956 Let `make -k install' install more files.
1958 * Makefile.in (MAKE_K_FLAG): New variable. Use it everywhere where
1959 $(MAKE) and $(MDEFINES) are used.
1960 (CPROGDIRS): Remove $(XPROGDIRS). Treat $(XPROGDIRS) like
1961 $(CPROGDIRS) everywhere.
1962 ($(DEVDIRS) $(XDEVDIRS) $(OTHERDEVDIRS) $(TTYDEVDIRS)): Don't depend
1964 ($(OTHERDIRS)): Likewise.
1967 * src/devices/grohtml/post-html.cpp (get_html_translation): Remove
1968 failure test for font::name_to_index -- it can never fail.
1970 2006-01-19 Werner LEMBERG <wl@gnu.org>
1972 * src/devices/grops/grops.man: Fix section on creating EPS files.
1973 Don't use future time in manual.
1976 2006-01-15 Gaius Mulley <gaius@glam.ac.uk>
1978 * tmac/www.tmac: New macro LINKSTYLE which allows users to set
1979 various typographical URL attributes for non-HTML devices.
1981 * tmac/groff_www.man: Document LINKSTYLE.
1983 2006-01-11 Werner LEMBERG <wl@gnu.org>
1985 * configure.ac: Test for getc_unlocked (needed for localcharset).
1986 * configure, src/include/config.hin: Regenerated.
1988 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Define
1991 * src/libs/libgroff/relocatable.h: New dummy header file for
1994 * src/libs/libgroff/localcharset.c: Updated to (unchanged) CVS
1997 2006-01-10 Bruno Haible <bruno@clisp.org>
1999 Work around unportability of nl_langinfo(CODESET).
2001 * m4/glibc21.m4: New file, from gnulib.
2002 * Makefile.sub (M4MACROS): Add m4/glibc21.m4.
2003 * configure.ac: Also test for stddef.h, and invoke jm_GLIBC21.
2004 * Makefile.in (HOST, GLIBC21): New variables.
2005 (MDEFINES): Pass them to subdirectories.
2006 * src/include/relocate.h (relocatep): Define with C linkage.
2007 * src/include/localcharset.h: New file, from gnulib.
2008 * src/libs/libgroff/localcharset.c: New file, from gnulib with a
2009 modification for relocate().
2010 * src/libs/libgroff/config.charset: New file, from gnulib.
2011 * src/libs/libgroff/ref-add.sin: New file, from gnulib.
2012 * src/libs/libgroff/ref-del.sin: New file, from gnulib.
2013 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Also define LIBDIR.
2014 (OBJS): Add localcharset.o.
2015 (CSRCS): Add localcharset.c.
2016 (all): Add dependencies to charset.alias, ref-add.sed, ref-del.sed.
2017 (charset.alias): New rule.
2018 (PACKAGE): New variable.
2019 (ref-add.sed, ref-del.sed): New rules.
2020 (MKINSTALLDIRS): New variable.
2021 (install_data): Depend on install_charset_data.
2022 (install_charset_data): New rule for creating or updating
2024 (uninstall_sub): Depend on uninstall_charset_data.
2025 (uninstall_charset_data): New rule for uninstalling or updating
2027 * src/preproc/preconv/preconv.cpp: Include localcharset.h instead
2029 (main): Initialize default_encoding from locale_charset() instead of
2030 nl_langinfo(CODESET).
2032 * aclocal.m4, configure, src/include/config.hin: Regenerated.
2034 2006-01-10 Werner LEMBERG <wl@gnu.org>
2036 * src/preproc/preconv/preconv.cpp (conversion_iconv): Use
2037 ICONV_CONST in call to iconv. Reported by Robert Goulding.
2039 2006-01-07 Werner LEMBERG <wl@gnu.org>
2041 * font/devps/generate/freeeuro.sfd: Run auto-hinter with recent
2043 Bump font version to 001.001.
2045 * font/devps/generate/Makefile (freeeuro.afm, freeeuro.pfa):
2046 Call fontforge, not pfaedit.
2048 * font/devps/freeeuro.afm, font/devps/freeeuro.pfa: Regenerated.
2050 2006-01-05 Ruslan Ermilov <ru@FreeBSD.org>
2052 * tmac/doc-common: Add new FreeBSD and NetBSD versions.
2053 * tmac/groff_mdoc.man: Updated.
2055 2006-01-05 Werner LEMBERG <wl@gnu.org>
2057 * src/preproc/preconv/preconv.cpp: s/debug/debug_flag/.
2058 (raw_flag): New global variable.
2059 (do_file): Use .lf to set file name (if `raw_flag' isn't set).
2060 Don't pass BOM to `conversion_utf8'.
2062 (main): Handle `-r' command line switch to set `raw_flag'.
2063 (get_BOM): Fix encodings in `BOM_table'.
2065 * src/preproc/preconv/preconv.man: New file. Not complete yet.
2066 * src/preproc/proconv/Makefile.sub (MAN1): New variable.
2068 2006-01-04 Werner LEMBERG <wl@gnu.org>
2070 * src/preproc/preconv/preconv.cpp (emacs_to_mime): As suggested by
2071 Bruno, comment out most encodings to support only a small set of
2072 coding tags, thus reducing potential problems with legacy encodings
2073 and character sets in the future.
2074 Add many XEmacs coding tags (now commented out).
2076 (check_encoding_tag): Renamed to...
2077 (check_coding_tag): This.
2078 (get_BOM): Return encoding as specified by BOM.
2079 Test for UTF32-LE too.
2080 (do_file): Don't check for coding tag if a BOM has been found.
2082 2006-01-03 Bruno Haible <bruno@clisp.org>
2084 * m4/groff.m4: Renamed from aclocal.m4.
2085 * m4/codeset.m4: New file, from gnulib.
2086 * m4/iconv.m4: New file, from gnulib.
2087 * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
2089 * config.rpath: New file, from gnulib.
2090 * config.guess, config.sub: New files, from gnulib.
2091 * Makefile.sub (M4MACROS): New variable.
2092 (configure): Fix typo.
2093 (aclocal.m4): New rule.
2094 (stamp-h.in): Depend on aclocal.m4.
2095 * configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET.
2096 * Makefile.in (LIBICONV): New variable.
2097 (MDEFINES): Pass it to recursive makes.
2098 * src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and
2099 HAVE_ICONV instead of I18N macro.
2100 * src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable.
2102 * aclocal.m4, configure, src/include/config.hin: (Re)generated.
2104 2006-01-03 Werner LEMBERG <wl@gnu.org>
2106 * doc/Makefile.in (webpage.html): Simplify.
2107 * doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in.
2108 * doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
2110 2006-01-01 Werner LEMBERG <wl@gnu.org>
2112 * tmac/doc-common (Os): Add some Darwin versions.
2113 * tmac/groff_mdoc.man: Document them.
2115 2006-01-01 Bruno Haible <bruno@clisp.org>
2117 * src/preproc/preconv/preconv.cpp (emacs_to_mime): Various
2119 . Don't map ascii to latin-1.
2120 . Don't use IBMxxx encodings but cpxxx for portability.
2121 . Map cp932, cp936, cp949, cp950 to itself.
2122 (emacs2mime): Protect calls to strcasecmp.
2123 (conversion_iconv): Add missing call to iconv_close.
2124 (do_file): Emit error message in case of unsupported encoding.
2126 2005-12-31 Werner LEMBERG <wl@gnu.org>
2128 Integrate preconv into the groff binary. Changes based on a patch
2129 from Michail Vidiassov.
2131 * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase by 1.
2133 * src/roff/groff/groff.cpp (PRECONV_INDEX): New macro.
2134 (SOELIM_INDEX): Updated.
2135 (help, synopsis): Updated.
2136 (main): Add command line options `-k' and `-K enc' to select
2138 Add support for GROFF_ENCODING environment variable.
2140 * src/roff/groff/groff.man: Updated and revised.
2143 Start with autoconf support for preconv.
2145 * configure.ac: Call AC_C_BIGENDIAN.
2146 * configure, src/include/config.hin: Regenerated.
2148 2005-12-30 Werner LEMBERG <wl@gnu.org>
2150 New preprocessor `preconv' to convert input encodings to something
2151 groff can understand. Not yet integrated within groff. Proper
2152 autoconf stuff is missing too.
2154 Tomohiro Kubota has written a first draft of this program, and some
2155 ideas have been reused (while almost no code has been taken
2158 * src/preproc/preconv/preconv.cpp. src/preproc/preconv/Makefile.sub:
2161 * MANIFEST, Makefile.in (CCPROGDIRS), test-groff.in
2162 (GROFF_BIN_PATH): Add preconv.
2164 2005-12-12 Werner LEMBERG <wl@gnu.org>
2166 * aclocal.m4 (GROFF_MAKEINFO): Fix regexps to be POSIX conformant.
2167 In particular, don't use `\+' since it is a GNU sed extension.
2169 * configure: Regenerated.
2171 2005-12-09 Werner LEMBERG <wl@gnu.org>
2173 * src/libs/libgroff/make-uniuni: New script to generate uniuni.cpp.
2175 * src/libs/libgroff/uniuni.cpp: Regenerated, using data from Unicode
2179 * src/utils/afmtodit/make-afmtodit-tables: New script to generate
2182 * src/utils/afmtodit/afmtodit.tables: New file, representing Unicode
2185 * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
2186 %AGL_to_unicode): Removed. Replace it with a tag.
2188 * src/utils/afmtodit/Makefile.sub (afmtodit): Adjust sed expression
2189 to replace tag with actual file contents.
2191 2005-12-08 Werner LEMBERG <wl@gnu.org>
2193 The change 2005-06-20 can indeed cause problems, so we follow the
2194 advice by using marks.
2196 * font/devps/prologue.ps (PBEGIN): Use `mark'.
2197 (PEND): Use `cleartomark'.
2199 2005-12-07 Michail Vidiassov <master@iaas.msu.ru>
2201 * src/utils/afmtodit.pl: Fix kerning output to avoid warnings for
2202 glyphs which have kern values but aren't handled (glyph variants,
2205 2005-12-02 Werner LEMBERG <wl@gnu.org>
2207 * src/devices/grops/ps.cpp (ps_printer::get_subfont): Use correct
2208 subfont index. Reported by Michail Vidiassov <master@iaas.msu.ru>.
2210 2005-11-28 Gaius Mulley <gaius@glam.ac.uk>
2212 * doc/Makefile.in: Separate rule for webpage.html so that extra
2213 command line options can be passed to grohtml.
2214 * doc/groff.css: Change all margins to 0%.
2215 * doc/webpage.ms: Now use new macros ALN, LNS, and LNE so that left
2216 navigation is exploited. Also update webpage to contain new
2217 sections on licenses, mailing lists, cvs/ftp access, groff
2218 dependencies, and bug reports.
2219 * tmac/groff_www.man: Document the new macros ALN, LNS, and LNE.
2220 * tmac/www.tmac: Implement the new macros ALN, LNS, and LNE.
2222 2005-11-25 Gaius Mulley <gaius@glam.ac.uk>
2224 * src/devices/grohtml/post-html.cpp
2225 (html_printer::do_file_components): Add fputs calls to emit the
2226 head contents and shut down the head tag whenever a new file
2227 component is generated.
2229 2005-11-22 Gaius Mulley <gaius@glam.ac.uk>
2231 * src/devices/grohtml/post-html.cpp (html_printer::flush_page): Add
2232 call to flush_text to flush any outstanding html tags on the
2235 2005-11-18 Werner LEMBERG <wl@gnu.org>
2237 * aclocal.m4 (GROFF_MAKEINFO): Use `groff.info' in tests.
2238 Announce makeinfo version.
2239 * configure: Regenerated.
2241 2005-11-18 Mike Frysinger <vapier@gentoo.org>
2243 * Makefile.in: Declare proper dependencies between make targets.
2245 * doc/Makefile.in: Rename groff info page to `groff.info'.
2246 * doc/Makefile.sub: Likewise.
2247 * doc/groff.texinfo: Likewise.
2249 2005-11-17 Peter O'Gorman <mlists@thewrittenword.com>
2251 * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c: Move
2252 definition of __GETOPT_PREFIX to the beginning of file to ensure
2253 that it is defined even on platforms where getopt.h is already
2254 included by other header files.
2256 2005-11-10 Gaius Mulley <gaius@glam.ac.uk>
2258 * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
2259 Reset font to NULL to ensure that a font block is recreated during
2262 2005-11-04 Werner LEMBERG <wl@gnu.org>
2264 * aclocal.m4 (GROFF_MAKEINFO): Fix sed expression.
2265 * configure: Regenerated.
2267 2005-10-27 Werner LEMBERG <wl@gnu.org>
2269 * aclocal.m4 (GROFF_MAKEINFO): New function for checking whether
2270 makeinfo 4.8 or newer is available.
2271 * configure.ac: Call GROFF_MAKEINFO.
2272 * configure: Regenerated.
2274 * Makefile.in (MAKEINFO): Use autoconf variable.
2275 (MDEFINES): Add MAKEINFO.
2277 * doc/Makefile.in (MAKEINFO): Use autoconf variable.
2278 * doc/Makefile.sub (MAKEINFO): Remove.
2280 2005-10-26 Werner LEMBERG <wl@gnu.org>
2282 * REVISION: Set to 3.
2284 2005-10-17 Werner LEMBERG <wl@gnu.org>
2286 Mention $MANPAGER variable used with some `man' systems.
2288 * doc/webpage.ms, src/devices/grotty/grotty.man, NEWS: Updated.
2290 2005-09-13 Werner LEMBERG <wl@gnu.org>
2292 * tmac/hyphenex.us: New version (`ushyphex.tex' from ftp.dante.de).
2294 2005-09-04 Werner LEMBERG <wl@gnu.org>
2296 Version 1.19.2 released
2297 =======================
2299 * tmac/groff_ms.man, doc/groff.texinfo: Synchronize.
2301 * doc/webpage.ms: Updated.
2303 * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
2305 2005-09-04 Jörgen Grahn <jgrahn@algonet.se>
2307 * tmac/groff_ms.man: Document `PO' better.
2309 2005-09-03 Werner LEMBERG <wl@gnu.org>
2311 * NEWS: Document grotty changes.
2313 2005-09-01 Keith Marshall <keith.d.marshall@ntlworld.com>
2315 Backward compatibility support for `man' program.
2317 * tmac/an-old.tmac (LL): Initialize it to respect prior LL register
2318 assignment, prior `.ll' request and then package defaults, in this
2319 specified order of decreasing priority.
2321 * tmac/groff_man.man, doc/groff.texinfo (Man options): Document
2322 altered `LL' register initialization priorities.
2324 2005-08-29 Gary W. Swearingen <garys@opusnet.com>
2326 * tmac/groff_mdoc.man: Go into more details how the `AUTHORS'
2327 section should look like.
2329 2005-08-29 Werner LEMBERG <wl@gnu.org>
2331 * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't
2334 2005-08-27 Bernd Warken
2336 * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor
2339 2005-08-11 Bernd Warken
2341 * tmac/www.tmac (URL, MTO): Handle empty \\$1 better.
2343 2005-08-09 Bernd Warken
2345 * tmac/www.tmac (URL, MTO): Use bold series if color support is
2348 2005-08-02 Bernd Warken
2350 * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete
2351 as argument to $(INSTALL_INFO). The latter isn't portable.
2352 Remove $(HTMLEXAMPLEFILES) too.
2354 * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and
2356 Suppress warning messages and return always true.
2358 * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too.
2360 2005-07-02 Bernd Warken
2362 * src/devices/xditview/gxditview.man: Change many `.I' to `.B'.
2363 * man/groff_out.man: More markup and minor improvements.
2364 * src/roff/groff/groff.man: Minor improvements.
2366 2005-06-28 Werner LEMBERG <wl@gnu.org>
2368 * ChangeLog: Split off older entries into...
2369 * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New
2372 2005-06-26 Bernd Warken
2374 * src/devices/xditview/gxditview.man: More minor fixes.
2376 2005-06-24 Werner LEMBERG <wl@gnu.org>
2378 * src/preproc/pic/troff.cpp (troff_output::set_fill,
2379 troff_output::set_color, troff_output::reset_color): Use .bcolor and
2380 .fcolor instead of \m and \M, respectively.
2382 2005-06-23 Bernd Warken
2384 * src/devices/xditview/gxditview.man: More minor fixes.
2385 * README: Formatting issues.
2386 Mention some problems with Debian.
2388 2005-06-23 Bernd Warken
2390 * src/devices/xditview/gxditview.man: Revised and improved.
2392 2005-06-22 Werner LEMBERG <wl@gnu.org>
2394 Another round in fixing getopt problems. Hopefully the last one!
2395 This time we use the getopt stuff from gnulib and define a prefix
2396 unconditionally so that there are no collisions with any other
2397 getopt implementations. This is a slight waste of space in case
2398 we already use a GNU getopt implementation, but on
2399 the other hand it really simplifies life.
2401 * src/include/getopt.h: Use gnulib version.
2403 * src/include/getopt_int.h: Use gnulib version.
2405 * src/include/groff-getopt.h: Removed. Obsolete now.
2407 * src/include/lib.h: Regarding getopt, don't handle any platform
2408 specially; just include getopt.h.
2409 (__GETOPT_PREFIX): Define (before getopt.h).
2411 * src/include/Makefile.sub (HDRS): Updated.
2413 * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use
2416 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set
2419 * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c
2420 (__GETOPT_PREFIX): Define (before getopt.h).
2422 2005-06-21 Werner LEMBERG <wl@gnu.org>
2424 * src/include/lib.h: Provide a fix for Mac OS X to not include
2427 2005-06-20 Denis M. Wilson <dmw@oxytropis.plus.com>
2429 * font/devps/prologue.ps (EP): Dont' use `bind'. Reason: Using
2430 `bind' to define a procedure which contains `showpage' means that an
2431 invocation of `showpage' may execute wrongly (the exact effect
2432 depending on the interpreter). Not usually a problem except under
2433 transformations, such as combining pages.
2434 (PEND): Don't call `clear'. Reason: Using `clear' in the definition
2435 of /PEND means that stack underflow will occur if the stack is
2436 deliberately non-empty before document inclusion. If included
2437 files are found to be generally badly behaved, we could replace the
2438 `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've
2439 never found this necessary).
2441 2005-06-20 Jörgen Grahn <jgrahn@algonet.se>
2443 * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero
2444 earlier to get correct error message.
2446 2005-06-16 Bernd Warken
2447 * src/roff/nroff/nroff.sh: Add support for iso-8859-15.
2449 2005-06-15 Werner LEMBERG <wl@gnu.org>
2451 Another try to update getopt files. This time we add a dummy
2452 gettext.h file to satisfy the dependency.
2454 * src/include/getopt.h, src/libs/libgroff/getopt.c,
2455 src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2457 * src/include/getopt_int.h: New file (from GNU libc CVS).
2459 * src/include/gettext.h: Dummy file which just defines a gettext()
2462 * src/include/groff-getopt.h: Updated.
2464 * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h.
2467 * src/libs/libdriver/input.cpp (IntArray): Remove superfluous
2468 `const' keywords in return value.
2470 * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer):
2471 Remove redundant variable `old'.
2472 (pushBackBuffer::skipToNewline): Remove redundant variable `ch'.
2474 * src/preproc/tbl/main.cpp (process_table): Remove redundant
2478 Fix more friend name injection problems since modern C++ compilers
2479 fail otherwise. We simply provide (global) declarations for all
2480 functions declared as friends. This is not really necessary but
2483 * src/preproc/eqn/lex.cpp: Provide declarations for get_char,
2484 peek_char, and get_location.
2486 * src/preproc/refer/ref.h: Provide declarations for
2487 compare_reference, same_reference, same_year, same_date,
2488 same_author_last_name, and same_author_name.
2490 * src/roff/troff/div.h: Provide declarations for do_divert and
2493 * src/roff/troff/env.h: Provide declarations for title_length,
2494 space_size, fill, no_fill, adjust, no_adjust, center, right_justify,
2495 vertical_spacing, post_vertical_spacing, line_spacing, line_length,
2496 indent, temporary_indent, do_underline, do_input_trap, set_tabs,
2497 margin_character, no_number, number_lines, leader_character,
2498 tab_character, hyphenate_request, no_hyphenate,
2499 hyphen_line_max_request, hyphenation_space_request,
2500 hyphenation_margin_request, line_width, tabs_save, tabs_restore,
2501 line_tabs_request, widow_control_request, and do_divert.
2503 * src/roff/troff/input.cpp: Provide declaration for chop_macro.
2505 * src/roff/troff/node.cpp: Provide declarations for class
2507 Provide declaration for make_tfont.
2509 2005-05-29 Werner LEMBERG <wl@gnu.org>
2511 * doc/fdl.texi: Updated to version 1.2. Reported by Bernd Warken.
2513 2005-05-28 Werner LEMBERG <wl@gnu.org>
2515 * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove
2516 redundant semicolons.
2518 * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub,
2519 src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub:
2520 Define `MLIB'. Some compilers need this for linking with libgroff.
2522 2005-05-27 Werner LEMBERG <wl@gnu.org>
2524 * MANIFEST, README, doc/webpage.ms: Updated.
2526 2005-05-26 Werner LEMBERG <wl@gnu.org>
2528 * All affected files: Update postal address of FSF.
2530 2005-05-25 Keith Marshall <keith.d.marshall@ntlworld.com>
2533 * README: More fixes.
2535 * README.CVS: Removed. Its contents is now part of the README file.
2537 2005-05-21 Werner LEMBERG <wl@gnu.org>
2539 * README: Updated. Based on a patch from Bernd Warken.
2541 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
2543 Miscellaneous script portability enhancements.
2545 * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
2546 generated conftest.sh script, conforming to portability
2547 recommendation in autoconf docs.
2548 * configure: Likewise, for code generated by GROFF_CSH_HACK.
2549 * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
2550 to portability recommendation in autoconf docs.
2551 * contrib/grap2graph/grap2graph.sh: Likewise.
2552 * contrib/pic2graph/pic2graph.sh: Likewise.
2553 * font/devps/generate/afmname: Likewise.
2554 * src/devices/xditview/ad2c: Likewise.
2555 * src/preproc/eqn/neqn.sh: Likewise.
2556 * src/roff/grog/grog.pl: Likewise.
2557 * src/roff/grog/grog.sh: Likewise.
2558 * src/roff/nroff/nroff.sh: Likewise.
2559 * PROBLEMS: Likewise, in embedded script examples.
2561 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
2563 Improve portability of `pdfroff' shell script.
2565 * arch/misc/shdeps.sh: Add space in shebang, conforming to
2566 portability guidelines in `autoconf' docs.
2567 (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
2568 initialization code. Used by contrib/pdfmark/pdfroff.sh's
2569 `searchpath' function.
2571 2005-05-14 Werner LEMBERG <wl@gnu.org>
2573 * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
2574 contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
2575 needed for newer ImageMagick versions.
2577 2005-05-07 Werner LEMBERG <wl@gnu.org>
2579 * src/preproc/refer/refer.man: Many small typographic fixes.
2581 2005-05-06 Jeff Conrad <jeff_conrad@msn.com>
2583 * src/devices/grohtml/post-html.cpp (assert_state::~assert_state):
2584 Use `char *' cast for a_delete.
2586 2005-05-03 Werner LEMBERG <wl@gnu.org>
2588 * src/libs/libgroff/maxpathname.cpp: Include stdlib.h.
2589 src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
2591 2005-05-03 Jeff Conrad <jeff_conrad@msn.com>
2593 * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using
2594 `a_delete' for `const char *'.
2596 2005-05-03 Werner LEMBERG <wl@gnu.org>
2598 * src/devices/grohtml/post-html.cpp,
2599 src/devices/grohtml/html-table.cpp,
2600 src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp:
2601 Replace malloc/free with new/delete/a_delete.
2603 * src/devices/grolbp/lbp.h: Remove superfluous semicolons which
2604 are prohibited with ANSI C++.
2605 (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the
2606 function has a variable number of arguments).
2608 * src/preproc/grn/main.cpp (doinput): Change return type to `int'.
2609 Simplify function and update all callers.
2611 2005-05-02 Werner LEMBERG <wl@gnu.org>
2613 Undo getopt changes from 2005-04-30. We don't want a dependency
2616 * src/include/getopt_int.h: Removed.
2618 * src/include/getopt.h, src/include/groff-getopt.h,
2619 src/include/Makefile.sub, src/libs/libgroff/getopt.c,
2620 src/libs/libgroff/getopt1.c: Revert to previous version.
2623 * src/include/nonposix.h (access) [_MSC_VER]: New macro.
2625 * src/include/posix.h (F_OK): Define conditionally.
2627 * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
2628 different variable name in second `for' loop to avoid MSVC compiler
2631 2005-04-30 Werner LEMBERG <wl@gnu.org>
2633 AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
2635 * aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
2636 * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
2637 * configure, src/include/config.hin: Regenerated.
2639 * PROBLEMS: Updated.
2642 Update getopt files.
2644 * src/include/getopt.h, src/libs/libgroff/getopt.c,
2645 src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2647 * src/include/getopt_int.h: New file (from GNU libc CVS).
2649 * src/include/groff-getopt.h: Updated.
2651 * src/include/Makefile.sub (HDRS): Add getopt_int.h.
2654 * font/devutf8/NOTES: Updated.
2656 2005-04-28 Werner LEMBERG <wl@gnu.org>
2658 Bug fix for Win32 relocatable code. Based on a patch from Keith
2661 * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
2664 * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
2665 (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
2667 2005-04-28 Keith Marshall <keith.d.marshall@ntlworld.com>
2669 Correct `gnu.eps' handling for build from distribution tarball, with
2670 separate source and build directories.
2672 * doc/Makefile.sub: (examples.stamp): New target; forces copy of
2673 grnexmpl.g, groff.css and gnu.eps from source to build directory;
2674 generate gnu.eps from gnu.xpm if required; touch examples.stamp.
2675 (prepare_examples): Make it depend on examples.stamp.
2676 (CLEANADD): Add examples.stamp.
2678 2005-04-27 Werner LEMBERG <wl@gnu.org>
2682 position: `(' position `)'
2686 * src/preproc/pic/pic.y (position, position_not_place): Handle
2687 additional parentheses.
2689 * doc/pic.ms: Updated.
2691 2005-04-23 Larry Jones <lawrence.jones@ugs.com>
2693 * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
2695 2005-04-18 Werner LEMBERG <wl@gnu.org>
2697 * src/roff/groff/pipeline.c: Don't include ctype.h.
2699 2005-04-13 Werner LEMBERG <wl@gnu.org>
2701 * src/roff/nroff/nroff.man: Document option `-M'.
2703 2005-04-13 Bruce Lilly <blilly@erols.com>
2705 * src/roff/nroff/nroff.sh: Make the script accept option `-M'.
2707 2005-04-01 Kees Zeelenberg <kzlg@users.sourceforge.net>
2708 Werner LEMBERG <wl@gnu.org>
2710 Add binary relocation support for Windows platforms.
2712 * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'.
2714 * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files.
2716 * src/libs/libgroff/searchpath.cpp: Handle `relocate'.
2717 (search_path::search_path, search_path::open_file_cautious): Use
2720 * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
2721 src/include/Makefile.sub (HDRS): Updated.
2723 2005-04-01 Werner LEMBERG <wl@gnu.org>
2725 * src/devices/grohtml/post-html.cpp: Don't use strdup/free but
2728 * src/libs/libgroff/font.cpp: Replace strdup with strsave.
2730 * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since
2731 lib.h already does it.
2733 * src/libs/libgroff/maxpathname.cpp: New file, defining
2736 * src/include/lib.h: Add prototype for path_name_max.
2738 * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated.
2740 * src/include/nonposix.h (PATH_EXT): New macro.
2742 2005-03-28 Werner LEMBERG <wl@gnu.org>
2744 Add support for double- and zero-width characters in grotty.
2746 * src/devices/grotty/tty.cpp (glyph): Add width.
2747 (tty_printer::make_underline, tty_printer::make_bold,
2748 tty_printer::add_character): Add parameter to pass character width.
2750 (tty_printer::end_page): Increase hpos by actual character width.
2752 * font/devutf8/R.proto: Specify zero width for non-spacing
2755 * tmac/unicode.tmac: Remove definitions for non-spacing entities.
2757 * Makefile.comm (extraclean): Remove more junk files.
2759 2005-03-25 Werner LEMBERG <wl@gnu.org>
2761 * configure.ac: Undo change from 2005-03-24.
2762 * configure: Regenerated.
2764 2005-03-24 Werner LEMBERG <wl@gnu.org>
2766 * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests.
2767 (dist): Search Makefile while descending into $(EXTRADIRS).
2769 * doc/Makefile.in (.PHONY): Add.
2770 (clean): Don't remove *.png and *.eps.
2772 (realclean): Remove *.png and *.eps.
2773 (extraclean): Depend on distclean.
2775 * configure.ac: Add copyright.
2776 Handle contrib/pdfmark/Makefile.
2778 * configure: Regenerated.
2780 2005-03-18 Larry Kollar <kollar@alltel.net>
2782 Add numbered and definition lists to www.tmac.
2784 * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
2785 www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
2786 auxiliary string registers.
2787 (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
2788 www-ol-ctr3, www-dl-shift): New auxiliary number registers.
2789 (www-level): Removed.
2790 (www-level1, www-level2, www-level3): Initialize to empty.
2791 (www-level0, www-level4, www-level5, www-level6, www-level7,
2792 www-level8, www-level9): New string registers.
2793 (www-push-li, www-pop-li): New macros.
2794 (www-push-level, www-pop-level): Renamed to...
2795 (www-push-ul-level, www-pop-ul-level): This.
2797 (www-push-ol-level, www-pop-ol-level): New macros.
2798 (ULS, ULE): Updated.
2799 (OLS, OLE, DLS, DLE): New user macros.
2800 (LI): Removed. It is aliased to one of...
2801 (www-li-ul, www-li-ol, www-li-dl): New macros.
2803 * tmac/groff_www.man: Document new macros.
2807 2005-03-18 Werner LEMBERG <wl@gnu.org>
2809 * tmac/doc-common (doc-operating-system-NetBSD-2.0.1,
2810 doc-operating-system-NetBSD-2.0.2): New strings.
2812 * tmac/groff_mdoc.man: Updated.
2814 2005-03-17 Werner LEMBERG <wl@gnu.org>
2816 * doc/Makefile.sub (CLEANADD): Add `groff.html'.
2818 2005-03-17 Werner LEMBERG <wl@gnu.org>
2820 * src/libs/libgroff/hypot.c: Renamed to...
2821 * src/libs/libgroff/hypot.cpp: This. Updated to C++.
2823 * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
2825 * src/include/lib.h: Updated.
2827 2005-03-16 Werner LEMBERG <wl@gnu.org>
2829 Add workaround for broken hypot() on Interix.
2831 * src/libs/libgroff/hypot.c: New wrapper file for `hypot'.
2833 * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'.
2834 (CSRCS): Add `hypot.c'.
2836 * src/include/lib.h: Declare `groff_hypot'.
2838 * src/preproc/grn/hgraph.cpp: Don't declare `hypot'.
2841 * src/preproc/pic/pic.h: Don't declare `hypot'.
2843 * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'.
2845 2005-03-15 Gaius Mulley <gaius@glam.ac.uk>
2847 * src/devices/grohtml/post-html.cpp
2848 (html_printer::lookahead_for_tables): End .ce properly to avoid a
2851 2005-03-15 Werner LEMBERG <wl@gnu.org>
2853 makeinfo 4.8 doesn't produce good HTML output from groff.texinfo.
2855 * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output.
2857 * doc/Makefile.in (.texinfo.html): Call fixinfo.sh.
2859 2005-03-14 Werner LEMBERG <wl@gnu.org>
2861 Add Cyrillic support to devutf8 and devhtml.
2863 * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks.
2865 * tmac/unicode.tmac: New file.
2867 * tmac/tty.tmac: Include unicode.tmac if device is utf8.
2869 * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac.
2873 2005-03-02 Keith Marshall <keith.d.marshall@ntlworld.com>
2875 * src/libs/libdriver/printer.cpp (check_for_output_error): New
2876 function. It has been introduced to catch peculiar error contexts
2877 on MS-Windows platforms.
2879 2005-02-28 Werner LEMBERG <wl@gnu.org>
2881 * src/roff/troff/input.cpp (string_iterator::fill): Protect against
2884 * tmac/papersize.tmac: Convert `paper' string contents to lowercase.
2886 * configure: Regenerated.
2890 2005-02-28 Keith Marshall <keith.d.marshall@ntlworld.com>
2892 Integrate `pdfmark' into normal groff build system;
2893 install macro `pdfmark' packages, build and install `pdfroff',
2894 and PDF format documentation.
2896 * Makefile.comm: Add PDFDOCDIR.
2898 * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
2899 pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
2900 (unstall_dirs): Add pdfdocdir.
2902 * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support
2903 `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS.
2904 (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
2905 GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
2906 (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
2907 (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
2909 (GROFF_AWK_PATH): New function; support `--with-awk' option, force
2910 use of GROFF_AWK_PREFS.
2911 (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
2912 and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
2914 * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS.
2915 Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
2916 also by modified GROFF_HTML_PROGRAMS).
2918 2005-02-27 Gaius Mulley <gaius@glam.ac.uk>
2920 * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve
2922 (html_text::done_para): Unset `start_space'.
2923 (html_text::remove_para_align): Call `retrieve_para_space' for the
2926 * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset
2928 (html_printer::do_check_center): Emit vertical space if necessary.
2930 * src/roff/troff/env.cpp (environment_switch): Preserve
2931 `seen_space', `seen_eol', and `suppress_next_eol' while switching
2934 * src/roff/troff/node.cpp (suppress_node::suppress_node): Set
2937 2005-02-20 Werner LEMBERG <wl@gnu.org>
2939 * src/preproc/eqn/eqn.man, NEWS: Document various extensions of
2942 2005-02-17 Werner LEMBERG <wl@gnu.org>
2944 * doc/pic.ms, man/groff.man: Fix typos.
2946 * doc/groff.texinfo: Fix typos.
2947 (\LEmacro): Get proper mathematical spacing.
2949 2005-02-16 Werner LEMBERG <wl@gnu.org>
2951 * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
2952 * configure: Regenerated with autoconf 2.59b.
2954 2005-02-16 Gaius Mulley <gaius@glam.ac.uk>
2956 * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
2957 html_printer::start_font): Fix handling of preformatted text.
2959 2005-02-15 Gaius Mulley <gaius@glam.ac.uk>
2961 These patches modify the indentation implementation to use `<p
2962 style=margin-left: n%>'. Many thanks to Peter and Larry for
2963 suggesting this solution. Grohtml only uses tables for `.IP' and
2964 related tags when the first operand has a short width.
2966 Similarly, they modify all vertical space code. By default, grohtml
2967 sets up a style sheet which uses no vertical space between `table',
2968 `pre', and `p' tags. It forces spaces when it needs them using
2969 `style="margin-top: 1em"'.
2971 * src/devices/grohtml/html-table.cpp: Include `html-text.h'.
2972 (html_table::emit_table_header, html_table::emit_new_row):
2974 (html_table::set_space): New function.
2975 (html_indent::html_indent): Don't set `is_used'.
2976 (html_indent::begin): Rewritten.
2977 (html_indent::end): Remove code in function.
2979 * src/devices/grohtml/html-table.h: Updated.
2980 (html_table): Make `out' public.
2982 * src/devices/grohtml/html-text.cpp (html_text::html_text):
2983 Initialize `start_space' with FALSE.
2984 (html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
2985 (html_text::issue_tag): Add argument to handle space style.
2986 (html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
2987 (html_text::flush_text): Don't set `start_space'.
2988 (html_text::push_para): Don't set `p->really_issued'.
2989 (html_text::do_emittext): Updated.
2990 (html_text::do_para): Add paremeter to handle space.
2992 (html_text::retrieve_para_space): New function.
2994 * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
2995 (tag_definition): Remove `really_issued'.
2996 (html_text): Updated.
2998 * src/devices/grohtml/post-html.cpp (html_printer): Add variables
2999 `current_column' and `row_space'.
3001 (html_printer::emit_raw, html_printer::write_header,
3002 html_printer::do_indent, html_printer::do_check_center,
3003 html_printer::do_tab_ts): Handle vertical space.
3004 (html_printer:do_tab_te, html_printer::do_end_para): Call
3005 `remove_para_space'.
3006 (html_printer::do_col): Rewritten.
3007 (html_printer::flush_globs): Remove debugging code.
3008 (html_printer::is_line_start): New function.
3009 (html_printer::start_font): Use `is_line_start'.
3010 (html_printer::writeHeadMetaStyle): New function.
3011 (html_printer::do_file_components, html_printer::~html_printer):
3012 Call `writeHeadMetaStyle'.
3014 * tmac/www.tmac (www-handle-percent): New macro.
3015 (MPIMG): Handle percent values for width and height parameters.
3018 * tmac/groff_www.man: Updated.
3020 2005-02-14 Werner LEMBERG <wl@gnu.org>
3022 * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
3023 $psname and $italic_angle.
3024 Immediately restart file input loops if `split' returns an empty
3027 2005-02-13 Michail Vidiassov <master@iaas.msu.ru>
3028 Werner LEMBERG <wl@gnu.org>
3030 Update afmtodit to better support Unicode (Michail).
3031 Update afmtodit to use Perl 5 syntax (Werner).
3033 * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
3035 Decorate variables with `my' where necessary.
3036 Use `defined' where necessary to avoid warnings.
3037 Don't use `do' for subroutine calls.
3038 Other minor syntax updates.
3039 Check for both `uXXXX[X[X]]' and `uniXXXX'.
3040 Handle glyph variants properly.
3041 (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
3044 * src/utils/afmtodit/afmtodit.man: Updated.
3046 2005-02-13 Werner LEMBERG <wl@gnu.org>
3048 Make groff.texinfo work with texinfo 4.8.
3050 * doc/groff.texinfo (@Var): Use @r and @slanted.
3051 (@defdummy, @Def*): Use @c to avoid empty lines.
3052 (\angles): Replaced with...
3053 (\Langlemacro, \Ranglemacro): New TeX macros.
3054 (@Langlemacro, @Ranglemacro): New variables defined with @set.
3055 (@angles): Use @Langlemacro and @Ranglemacro.
3056 (\LE): Replaced with...
3057 (\LEmacro): New TeX macro.
3058 (@LEmacro): New variable defined with @set.
3059 (@LE): Use @LEmacro.
3060 (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
3061 variables defined with @set.
3062 (@lparen, @rparen, @lbrack, @rbrack): Replaced with...
3063 (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
3066 Other minor updates.
3068 * doc/texinfo.tex: Update to texinfo version 4.8.
3070 * README.CVS: Updated.
3072 2005-02-09 Alejandro López-Valencia <palopez@etb.net.co> (tiny change)
3074 * doc/groff.texinfo (ms Document Control Registers): Document `HY'
3075 and `FAM' registers.
3077 2005-02-05 Werner LEMBERG <wl@gnu.org>
3079 * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
3080 tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
3083 2005-02-01 Werner LEMBERG <wl@gnu.org>
3085 * src/roff/groff/groff.man: Add information about paper size.
3087 2005-01-25 Werner LEMBERG <wl@gnu.org>
3089 * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale. From
3092 2005-01-22 Ruslan Ermilov <ru@FreeBSD.org>
3094 * tmac/doc.tmac (Sm): Improved. It didn't work properly in many
3096 (Re): Emit a warning if called without `.Rs'.
3097 (doc-finish-reference): Use parameter for decreasing
3098 `doc-reference-count'.
3099 (doc-print-reference): Pass specific count parameters to
3100 `doc-finish-reference'.
3102 2005-01-21 Werner LEMBERG <wl@gnu.org>
3104 * src/libs/libdriver/input.cpp (delete_current_env, do_file):
3105 Reset pointers to zero after deallocation. This fixes a crash
3106 if a driver is called with multiple input files. Reported by
3107 Ken Chilton <ken@chiltonfamily.org>.
3109 * src/devices/grops/grops.man: Add more info on DSC.
3111 2005-01-17 Ruslan Ermilov <ru@FreeBSD.org>
3113 * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
3116 2005-01-17 Werner LEMBERG <wl@gnu.org>
3118 * src/roff/troff/div.cpp (top_level_diversion::space): Protect
3119 against division by zero.
3121 2005-01-13 Ruslan Ermilov <ru@FreeBSD.org>
3123 * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
3125 2004-12-19 Werner LEMBERG <wl@gnu.org>
3127 * install-sh: New version; taken from texinfo CVS.
3129 2004-12-17 Werner LEMBERG <wl@gnu.org>
3131 * tmac/devtag.tmac: Protect against loading twice.
3132 Protect agains compatibility mode.
3133 * tmac/www.tmac: Protect against loading twice.
3134 Load `devtag.tmac' before switching off compatibility mode.
3135 * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
3137 2004-12-16 Mike Bianchi <mbianchi@Foveal.com>
3139 * configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
3140 * configure: Updated.
3142 2004-12-15 Thomas Klausner <wiz@netbsd.org>
3144 * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
3146 2004-12-15 Werner LEMBERG <wl@gnu.org>
3148 Make `test-groff' work again -- previously, wrong paths have been
3149 used. Additionally, it can now be called from anywhere.
3151 * test-groff.in: Don't test for groff binary. This is no longer
3152 necessary since the proper paths are determined by `configure'.
3153 (EXEEXT): Removed. No longer used.
3154 (srcdir, builddir): Use values provided by the configure script.
3155 (XENVIRONMENT): Updated.
3159 2004-12-14 Gaius Mulley <gaius@glam.ac.uk>
3161 Make .tag and .taga work for all devices (but only grohtml actually
3164 * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
3165 (text_glob::is_br, page::add_tag, html_printer::troff_tag,
3166 html_printer::handle_assertion): Don't use hard-coded string
3168 (html_printer::lookahead_for_table): Reset `tbl' properly if
3170 (html_printer::devtag): New function, handling `devtag'.
3171 (html_printer::special): Don't handle `html-tag'.
3173 * src/include/printer.h, src/libs/libdriver/printer.cpp
3174 (printer::devtag): New virtual function.
3176 * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
3179 * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
3180 src/roff/troff/node.cpp: s/html-tag/devtag/.
3182 * src/roff/troff/input.cpp (tag, taga): Always call
3185 * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
3186 macros instead of HTML-TAG*.
3188 * tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
3190 * tmac/www.tmac: Load devtag.tmac.
3191 Replace HTML-TAG* macros with DEVTAG* macros.
3192 (HTML, HTML-NS): Changed definitions.
3194 (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
3196 * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
3198 2004-12-10 Werner LEMBERG <wl@gnu.org>
3200 Import Mike's `gdiffmk' package.
3202 * contrib/gdiffmk/*: New files.
3203 * Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
3206 2004-12-08 Werner LEMBERG <wl@gnu.org>
3208 Import Keith's `pdfmark' package. Integration is very preliminary.
3210 * contrib/pdfmark/*: New files.
3211 * Makefile.in (OTHERDIRS): Add contrib/pdfmark.
3214 2004-12-07 Gaius Mulley <gaius@glam.ac.uk>
3216 Fix a bug with title handling in HTML.
3218 * src/devices/grohtml/post-html.cpp (text_glob::is_nf,
3219 text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
3221 (html_printer::handle_tag_within_title): New function.
3222 (html_printer::do_title): Use it.
3224 * tmac/s.tmac (TL): Don't set `need_eo_tl'.
3225 (cov*tl-au-print): Emit `.eo.tl' tag.
3227 2004-12-05 Alejandro López-Valencia <dradul@etb.net.co>
3229 * man/groff_char.man: Minor imrovements.
3231 2004-12-04 Werner LEMBERG <wl@gnu.org>
3233 * src/preproc/eqn/eqn.man: Revised.
3235 2004-11-25 Werner LEMBERG <wl@gnu.org>
3237 * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
3241 Remove X_NOT_STDC_ENV conditional.
3242 (Version_string, program_name): New global variables.
3243 (groff_flag): Removed.
3245 (usage): Take a stream as argument.
3248 (main): Add `long_options' array for `--help' and `--version'.
3249 Make `-g' a dummy option.
3250 Handle `-v' and unknown options.
3251 Remove unused `position' variable.
3253 * src/utils/xtotroff/Makefile.sub (MAN1): Define.
3254 (XLIBS): Add LIBGROFF.
3256 * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
3259 * src/devices/xditview/Dvi.c (default_font_map): Split into three
3260 parts to avoid compiler warning.
3261 (resources): Don't initialize with `default_font_map'.
3262 (ClassInitialize): Initialize first element of `resources'.
3264 * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
3267 * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
3268 src/utils/pfbtops/pfbtops.man: Revised, updated.
3270 * configure.ac: Generate src/utils/xtotroff/Makefile.
3271 * configure: Regenerated.
3273 2004-11-24 Werner LEMBERG <wl@gnu.org>
3275 First fixes to get produce HTML.
3277 * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
3280 * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
3281 (HR, LI): Use `HTML</p>', not `HTML'.
3283 * doc/webpage.ms: Minor updates.
3285 2004-11-23 Larry Kollar <kollar@alltel.net>
3287 Add option -S grohtml to determine the file split level.
3289 * src/devices/grohtml/post-html.cpp (split_level): New global
3291 (html_header::determine_header_level): Use split_level.
3292 (main): Handle `-S' command line option.
3295 * src/preproc/html/pre-html.cpp (scanArguments): Updated.
3297 * src/devices/grohtml/grohtml.man: Document it.
3300 * NEWS: Document it.
3302 2004-11-23 Y T <doarhop@hotmail.com>
3304 * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling
3305 the volume and number refer entries.
3307 2004-11-22 Werner LEMBERG <wl@gnu.org>
3309 * src/devices/grohtml/html-table.cpp
3310 (html_table::emit_table_header): Don't emit `cols' attribute which
3311 doesn't exist in HTML 4.0 and is thus invalid.
3313 * NEWS: More minor fixes and updates.
3315 2004-11-18 Werner LEMBERG <wl@gnu.org>
3317 * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
3318 (HTML</p>): Minor clean-up.
3320 * tmac/groff_www.man: Updated.
3322 * src/devices/grohtml/grohtml.man: Revised and updated.
3326 2004-11-18 Gaius Mulley <gaius@glam.ac.uk>
3328 * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
3329 Fix space insertion.
3330 (html_printer::do_links): Fix rules generation around automatic
3333 * tmac/www.tmac (LK): Use HTML-TAG-NS.
3335 No longer emit empty line for non-HTML devices.
3337 2004-11-17 Werner LEMBERG <wl@gnu.org>
3339 * doc/Makefile.in (prepare_examples, webpage.html): Handle
3342 * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD,
3343 prepare_examples, webpage.html): Handle `groff.css'.
3345 2004-11-15 Werner LEMBERG <wl@gnu.org>
3347 * NEWS, README, doc/webpage.ms: Updated.
3349 * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
3351 2004-10-30 Gaius Mulley <gaius@glam.ac.uk>
3353 * src/include/printer.h (printer): Remove virtual function
3355 Update all source files.
3357 * src/devices/grohtml/post-html.cpp (html_printer): New member
3358 function `round_width'.
3360 2004-10-20 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
3362 * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
3363 column key letter suffix.
3365 2004-10-14 Werner LEMBERG <wl@gnu.org>
3367 * Makefile.in (check): Depend on `site.exp' and `docheck'.
3368 (docheck): Run dejagnu's `runtest' if it exists.
3369 (site.exp): Create dejagnu configuration file.
3371 * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
3373 2004-10-13 Werner LEMBERG <wl@gnu.org>
3375 * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
3376 src/devices/grohtml/post-html.cpp (make_val,
3377 html_printer::handle_state_assertion): Fix compiler warnings.
3379 * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'.
3380 (diversion::diversion): Fix order of initializers.
3382 * src/roff/troff/div.h: Don't include `mtsm.h'.
3384 * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'.
3385 (environment::environment): Fix order of initializers.
3386 (environment::make_tag, environment::construct_format_state): Fix
3389 * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'.
3390 (input_iterator::input_iterator, macro::macro): Fix order of
3393 * src/roff/troff/mtsm.cpp: Include only necessary header files.
3394 (state_set::add, state_set::val): Fix compiler warnings.
3396 * src/roff/troff/mtsm.h: Don't include `stringclass.h'.
3397 (bool_value_state, int_value_state, units_value_state,
3398 string_value_state): Remove comma after last element which causes
3399 an error with g++ 3.3.3.
3401 * src/roff/troff/node.cpp: Include `stringclass.h'.
3402 (hline_node::hline_node, vline_node::vline_node,
3403 space_char_hmotion_node, left_italic_corrected_node): Fix compiler
3405 (zero_width_node::zero_width_node): Fix order of initializers.
3407 * src/roff/troff/node.h: Don't include `mtsm.h'.
3408 (hmotion_node): Fix compiler warnings.
3410 * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'.
3412 2004-10-12 Gaius Mulley <gaius@glam.ac.uk>
3414 * doc/groff.css: New file.
3416 * doc/webpage.ms: Use `groff.css'.
3419 * tmac/an-old.tmac (need_eo_h): New number register.
3420 (TH): Emit `.eo.tl' tag after title.
3421 (SH): Set `need_eo_h'.
3422 (an-trap): Handle `need_eo_h'.
3423 (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/.
3425 * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers.
3426 (TL): Always start diversion.
3428 (@AI): Always call `par@reset'.
3429 (@AB): Update code for -Thtml.
3430 (cov*tl-au-print): Handle -Thtml.
3431 (par@reset): Handle `need_eo_tl', `need_eo_h'.
3433 (@IT-html): Removed.
3434 (@SH): Set `need_eo_h' for -Thtml.
3435 (par@TL): s/HTML-TAG/HTMl-TAG-NS/.
3437 (@NH): s/HTML-TAG/HTMl-TAG-NS/.
3438 Set `need_eo_h' for -Thtml.
3439 (@EQ, @EN): Don't handle -Thtml specially.
3440 (par@load-init): Don't handle -Thtml specially.
3442 * tmac/www.tmac (www:paraspace): New macro.
3443 (HTML-NS, HTML-TAG-NS): Use new `tag' request.
3444 (HTML</p>, HTML-TAG-NEXT): New macros.
3445 (HnE): Emit tag `.eo.h' instead of break.
3446 (HR): s/HTML-NS/HTML/.
3447 (www-end-nowhere): End diversion only if `www-html' not set.
3449 (ULS, ULE): s|HTML|HTML</p>|.
3450 (LI): Call `www:paraspace'.
3453 2004-10-11 Gaius Mulley <gaius@glam.ac.uk>
3455 * src/roff/troff/request.h (macro): Make `p' public.
3456 New variable `is_a_diversion'.
3457 New member function `is_diversion'.
3460 * src/devices/grohtml/html.h (simple_output): New member function
3463 * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix
3464 computation of `total'.
3465 (tabs::check_init): New function.
3466 (html_table::emit_table_header): Emit style data.
3467 (html_table::insert_column): Improved.
3469 * src/devices/grohtml/html-table.h: Updated.
3471 * src/devices/grohtml/html-text.cpp (html_text::html_text):
3472 Initialize `start_space' with TRUE.
3473 (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG'
3475 (html_text::flush_text): Set `start_space' flag.
3476 (html_text::uses_indent, html_text::remove_para_space,
3477 html_text::get_alignment): New functions.
3478 (html_text::push_para): Updated.
3479 (html_text::do_para): Check for empty argument.
3480 Don't set `space_emitted'.
3481 (html_text::do_space, html_text::emit_space): Updated.
3483 * src/devices/grohtml/html-text.h (tag_definition): New variable
3485 (html_text): New member function `uses_indent', `remove_para_space',
3488 * src/devices/grohtml/output.cpp (simple_output::force_nl): New
3490 (simple_output:nl): Always emit `\n'.
3492 * src/devices/grohtml/post-html.cpp: Include `string.h'.
3493 (BASE_POINT_SIZE): Removed.
3494 (base_point_size, head_info): New global variables.
3495 (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl',
3497 (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1'
3499 (page::add_and_encode): Pass additional parameter for tag flag.
3500 (assert_pos): New structure.
3501 (assert_state): New class.
3502 (html_printer): Remove `indentation', `prev_indent'.
3503 Add variables `troff_indent', `device_indent', `temp_indent'.
3504 Add variables `seen_indent', `next_indent', `seen_pageoffset',
3505 `next_pageoffset', `seen_linelenght', `next_linelength',
3506 `seen_center', `next_center', `seen_space', `seen_break', `as'.
3507 Add member functions `do_check_center', `do_space', `do_head',
3508 `get_troff_indent', `restore_troff_indent', `handle_assertion',
3509 `handle_state_assertion', `do_end_para', `set_char_and_width'.
3510 Change argument to `do_fill' to `char *'.
3512 (html_printer::emit_raw): Call `shutdown_table'.
3514 (html_printer::do_center): Simplified.
3515 (html_printer::do_title): Improved.
3516 (html_printer::write_header): Emit one more newline.
3518 (html_printer::do_heading, html_printer::do_indent,
3519 html_printer::do_eol, html_printer::do_tab_ts,
3520 html_printer::do_tab, html_printer::do_tab0,
3521 html_printer::calc_po_in, html_printer::next_horiz_pos,
3522 html_printer::remove_courier_tabs,
3523 html_printer::insert_tab0_foreach_tab, html_printer::begin_page):
3525 (html_printer::do_linelength, html_printer::do_pageoffset,
3526 html_printer::do_indentation, html_printer::do_tempindent,
3527 html_printer::do_tab_te): Simplified.
3528 (html_printer::do_pointsize): Check whether point size is really
3529 associated a `.tl' tag.
3530 (html_printer::do_break): Rewritten.
3531 (html_printer::troff_tag): Improved.
3532 (html_printer::flush_globs): Updated.
3533 (html_printer::lookahead_for_tables): Handle `is_br'.
3535 (html_printer::set_char): Check `sbuf_style.f'.
3536 (html_printer::write_navigation): Use string comparison.
3537 (html_printer::~html_printer): Emit `head_info'.
3538 (html_printer::special): Rewritten.
3539 (get_str, make_val): New functions.
3540 (main): New option `s' to set the base point size.
3542 * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'.
3544 2004-10-10 Gaius Mulley <gaius@glam.ac.uk>
3546 * src/roff/troff/node.cpp: New extern `debug_state'.
3547 Include `stringclass.h' and `mtsm.h'.
3548 Implement new classes and class members from `node.h'.
3549 (real_output_file): Make `fp' public.
3550 (troff_output_file): New variables `cur_div_level' and `tag_list'.
3551 Update constructors.
3552 (troff_output_file::really_print_line): Check whether we should push
3553 the current troff state and use the state at the start of the
3554 invocation of this diversion.
3555 (troff_output_file::add_to_tag_list): New member function.
3556 (node::add_char): Handle `glyph_comp_np'.
3558 * src/roff/troff/node.h: Include `mtsm.h'.
3559 (node): New variables `state', `push_state', `div_nest_level',
3560 `is_special'. Update constructors, all descendants.
3561 Pass additional argument to `add_char' member function.
3562 New virtual member functions `is_tag', `debug_node',
3563 `debug_node_list'. Update all descendants.
3564 (tag_node): New class for handling tags.
3565 (output_file): Add variable `state'.
3567 2004-10-09 Gaius Mulley <gaius@glam.ac.uk>
3569 * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files,
3570 providing a minimal troff state machine to emit meta tags for the
3571 post-grohtml device driver.
3573 * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new
3576 2004-10-09 Werner LEMBERG <wl@gnu.org>
3578 * tmac/trace.tmac: Fix handling of `am' and `am1' calls.
3580 2004-10-06 Gaius Mulley <gaius@glam.ac.uk>
3582 * src/roff/troff/column.cpp (vjustify_node::copy): Updated.
3584 * src/roff/troff/div.h: Include `mtsm.h'.
3585 (diversion): New variables `any_chars_added', `needs_push',
3586 `saved_seen_break', `saved_seen_space', `saved_seen_eol',
3587 `saved_suppress_next_eol', `modified_tag'.
3588 New virtual member function `is_diversion'. Update all descendants.
3590 * src/roff/troff/div.cpp (diversion::diversion,
3591 macro_diversion::macro_diversion): Updated.
3592 (do_divert): Handle `seen_break', `seen_space', `seen_eol',
3593 `suppress_next_eol'.
3594 (top_level_diversion::space): Handle `curenv->seen_space'.
3595 (page_offset): Update tag handling.
3596 (space_request, blank_line, flush_output): Don't call `add_html_tag'.
3598 * src/roff/troff/env.h (environment): Make `tabs' public.
3599 Remove `ignore_next_eol', `emitted_node'.
3600 Update `output_line', `output'.
3601 New variables `seen_space', `seen_eol', `suppress_next_eol',
3603 New member functions `construct_state', `make_tag',
3604 `construct_format_state, `construct_new_line_state,
3606 Remove `add_html_tag', `make_html_tag'.
3608 * src/roff/troff/env.cpp: New externs `suppress_push',
3609 `get_diversion_state', `global_diverted_space'.
3610 (pending_output_line): New variable `was_centered'.
3611 Update constructor and all callers.
3612 (pending_output_line::output): Call `curenv->construct_format_state'.
3613 (environment::environment, environment::copy): Updated.
3614 (environment::output): Handle `was_centered'.
3615 (environment::add_char): Handle construct and diversion state.
3616 (environment::add_node): Handle construct state.
3617 (environment::newline): Handle `was_centered'.
3618 (environment::output_line): Updated.
3619 (environment::possibly_break_line): Updated.
3620 Update tag handling.
3621 (environment::add_html_tag): Replaced with...
3622 (environment::make_tag): New function.
3623 (environment::add_html_tag_tabs, environment::make_html_tag): Removed.
3624 (environment::dump_troff_state): New debugging function.
3625 (environment::construct_state, environment::construct_format_state,
3626 environment::construct_new_line_state): New functions.
3627 (environment::do_break): Updated.
3628 Handle `global_diverted_space'.
3629 (environment::handle_tag): Update tag handling.
3630 (point_size, fill, do_break_request): Don't call `add_html_tag'.
3631 (no_fill): Don't call `add_html_tag'.
3632 Set `suppress_next_eol'.
3633 (center, right_justify, line_length, indent, temporary_indent,
3635 Update tag handling.
3637 * src/roff/troff/input.cpp: Don't include `stringclass.h'.
3638 (input_iterator): New variables `is_diversion', `diversion_state'.
3639 Update constructors.
3640 (input_stack): New member functions `get_div_level',
3641 `get_diversion_state', `check_end_diversion'.
3642 New variables `div_level', `diversion_state'. Initialize them.
3643 (suppress_push, global_diverted_space): New global variables.
3644 (input_stack::finish_get, input_stack::finish_peek,
3645 input_stack::remove_boundary, input_stack::end_file,
3646 input_stack::clear, input_stack::pop_macro): Call
3647 `check_end_diversion'.
3648 (input_stack::push): Handle `div_level' and `diversion_state'.
3649 (get_diversion_state): New function.
3650 (diverted_space_node::reread): Handle `global_diverted_space'.
3651 (macro::macro): Update constructors.
3652 (macro::is_diversion): New function.
3653 (macro::operator=): Set `is_a_diversion'.
3654 (string_iterator): New member function `is_diversion'.
3655 (string_iterator::string_iterator): Update constructors.
3656 (string_iterator::fill): Set `div_nest_level'.
3657 (macro_iterator): New member function `is_diversion'.
3658 (do_if_request): Handle `suppress_push'.
3659 (tag, taga): New functions.
3660 (init_input_requests): Add `tag' and `taga' requests.
3662 2004-10-05 Gaius Mulley <gaius@glam.ac.uk>
3664 * src/include/font.h (font): New member function
3665 `get_image_generator'.
3666 New variables `unscaled_charwidths' and `image_generator'.
3668 * src/libs/libgroff/font.cpp (font::get_width): Always return the
3669 character's unscaled width if `font::unscaled_charwidths' is set.
3670 (font::get_image_generator): New function.
3671 (font::load_desc): Check the `unscaled_charwidths' and
3672 `image_generator' keywords.
3674 * src/libs/libgroff/fontfile.cpp: Initialize
3675 `font::unscaled_charwidths' and `font::image_generator'.
3677 * font/devhtml/DESC.proto: s/html/unscaled_charwidths/.
3679 * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword.
3681 * man/groff_font.man: Document `unscaled_charwidths' and
3684 * src/preproc/html/pre-html.cpp: Include `device.h'.
3685 (image_gen): New global variable.
3686 (imageList::createPage): Use `image_gen'.
3687 (main): Use `image_generator' keyword.
3689 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
3691 * tmac/html.tmac: Handle \[sqrtex].
3693 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
3695 * src/include/printer.h (printer): New virtual method `round_width'.
3697 * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
3698 src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
3699 src/devices/grotty/tty.cpp (printer::round_width): New function
3702 * src/devices/grohtml/post-html.cpp (printer::round_width): New
3704 (html_printer::set_numbered_char): Use it.
3706 2004-10-03 Gaius Mulley <gaius@glam.ac.uk>
3708 * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
3710 * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
3712 * configure: Regenerated.
3714 * Makefile.in (GHOSTSCRIPT): New variable.
3715 (MDEFINES): Add GHOSTSCRIPT.
3717 2004-10-03 Werner LEMBERG <wl@gnu.org>
3719 * INSTALL.gen: Updated (taken from texinfo CVS).
3721 2004-09-28 Werner LEMBERG <wl@gnu.org>
3725 2004-09-28 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
3727 * tmac/groff_www.man: Revised and updated.
3729 2004-09-26 Werner LEMBERG <wl@gnu.org>
3731 Fix \$@ and \$* to handle any number of arguments.
3733 * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
3736 * src/roff/troff/input.cpp (input_iterator::internal_level):
3738 (input_stack): New member functions `increase_level' and
3740 (input_stack::get_level): Don't use `internal_level'.
3741 (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
3742 (end_quote_iterator): Completely removed.
3743 (interpolate_arg): Build string for \$@ and \$* which is then
3744 pushed onto the input stack.
3746 2004-09-23 Keith Marshall <keith.d.marshall@ntlworld.com>
3748 * tmac/groff_ms.man, doc/groff.texinfo (ms Document Control
3749 Registers): Document changes from 2004-09-19.
3751 2004-09-23 Werner LEMBERG <wl@gnu.org>
3753 * tmac/an-old.tmac (ne): Using default scaling operator.
3755 2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com>
3757 This change implements the following features:
3760 New numeric register: Defines number of lines following LP, PP,
3761 QP, IP or XP, which must be kept together, before any automatic
3762 page break. If insufficient space remains on the current page, a
3763 page break is forced before the new paragraph begins.
3766 New numeric register: Sets number of lines of following paragraph
3767 which must be kept with a heading, defined by NH or SH, before any
3768 automatic page break. If insufficient space remains on the
3769 current page, a page break is forced before the heading.
3772 (Thanks to Joerg van den Hoff, for this idea).
3774 New numeric register: Sets the first level of heading (set with
3775 NH), which will keep the same point size as body text; e.g. if
3776 GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
3777 point size specified by \n[PS], but .NH 2 and .NH 1 will have
3778 progressively larger point sizes, determined by \n[PSINCR] (see
3782 New numeric register: Sets the point size increment for each level
3783 of heading, (set with NH), below the threshold level set by
3784 GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
3785 then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
3786 and all other levels will remain at 10pt, (because \n[PS] = 10).
3789 Existing macro now accepts a numeric argument, to make heading
3790 size match that of NH with same argument value, when the
3791 GROWPS/PSINCR feature is enabled.
3794 New string, set by NH macro, replaces the existing (undocumented)
3795 use of SN, to represent the assigned section number.
3798 New string, set by NH macro, represents the assigned section
3799 number, but omits the terminal period (periods at intermediate
3800 levels are retained).
3803 String set by NH macro, originally undocumented, now implemented
3804 as an alias for SN-DOT (which reproduces original behaviour).
3806 * tmac/s.tmac (PORPHANS): New register.
3807 (par*start): Use it.
3808 (HORPHANS, GROWPS, PSINCR): New registers.
3809 (SH-NO-TAG, @SH): Use them.
3812 2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com>
3814 * NEWS, doc/groff.texinfo (ms Display and Keeps), tmac/groff_ms.man:
3815 Document the deletion of `Ds' and `De' macros.
3817 2004-09-10 Werner LEMBERG <wl@gnu.org>
3819 In tbl, handle \a as an interpreted leader character if in
3822 * src/preproc/tbl/table.h (PREFIX, PREFIX_CHAR, LEADER,
3823 LEADER_CHAR): New macros.
3824 (compatible_flag): New declaration.
3826 * src/preproc/tbl/main.cpp (table_input): Add LEADER_1, LEADER_2,
3827 LEADER_3, and LEADER_4 to `state'.
3828 (table_input::get): Handle `\a'.
3830 * src/preproc/tbl/table.cpp (PREFIX): Removed.
3831 (LEADER_REG): New macro.
3832 (table::init_output): Define LEADER_REG string register if in
3835 * src/preproc/tbl/tbl.man: Document it.
3837 2004-08-18 Werner LEMBERG <wl@gnu.org>
3839 * tmac/doc.tmac (An): Fix error message.
3841 2004-08-06 Werner LEMBERG <wl@gnu.org>
3843 * src/preproc/tbl/main.cpp (main): Call `fatal' not `error' if a
3844 file can't be opened. UNIX tbl has the same behaviour.
3846 2004-08-05 Y T <doarhop@hotmail.com>
3848 * src/preproc/grn/hdb.cpp (compatibility_flag): Add declaration.
3849 (DBRead): If in compatibility mode, take into account the text
3850 when computing figure boundaries.
3852 2004-08-05 Werner LEMBERG <wl@gnu.org>
3854 * src/preproc/soelim/soelim.man: Improved. Based on suggestions
3855 from Tadziu Hoffmann.
3857 2004-08-03 Werner LEMBERG <wl@gnu.org>
3859 * doc/meref.me: Document `_M' register.
3861 2004-08-03 Martin Husemann <martin@duskware.de>
3863 Make hpftodit work correctly on big-endian systems.
3865 * src/utils/hpftodit/hpftodit.cpp (File): New method
3866 `get_uint32(char *)'.
3867 (entry): New member `orig_value'.
3868 (read_tags): Use new method.
3869 (output_font_name, read_and_output_pcltypeface, dump_ascii):
3872 2004-08-01 Werner LEMBERG <wl@gnu.org>
3874 * tmac/s.tmac: Undo change 2003-06-29. The proper macro definitions
3875 are already in X11's `macros.t' file.
3877 2004-08-01 Jeff Conrad <jeff_conrad@msn.com>
3879 * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii):
3881 (read_and_output_pcltypeface): Handle strings with length <= 4.
3883 2004-07-27 Egil Kvaleberg <egil@kvaleberg.no>
3885 * tmac/s.tmac (pg@top): Don't save `PO' register.
3886 (pg*end-col, pg*end-page): Directly use `PO' register.
3888 2004-07-27 Werner LEMBERG <wl@gnu.org>
3890 * man/groff_tmac.man: Mention `trace' and `pic' macro packages.
3892 * src/preproc/refer/refer.cpp (output_references): Check for
3894 * src/preproc/refer/refer.man: Improve documentation of
3895 `bibliography' command.
3897 2004-07-26 Werner LEMBERG <wl@gnu.org>
3899 Add requests `fcolor' and `gcolor'.
3901 * src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
3903 (init_env_requests): Add `fcolor' and `gcolor'.
3905 * src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
3907 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo
3908 (Colors): Document new requests.
3910 2004-07-24 Werner LEMBERG <wl@gnu.org>
3912 Add support for fractional point sizes in ms macros. A value for
3913 PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
3914 by 1000. For example, `.nr PS 10250' sets the font size to 10.25p.
3916 * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
3917 PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
3919 * tmac/groff_ms.man, docs/groff.texinfo (ms Document Control
3920 Registers), NEWS: Document it.
3922 2004-07-19 Werner LEMBERG <wl@gnu.org>
3924 * src/preproc/pic/lex.cpp (for_input): Add member `from'.
3926 (do_for, for_input::get, for_input::peek): Handle negative `by'.
3927 * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
3929 2004-07-08 Thomas Klausner <wiz@netbsd.org>
3931 * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
3932 * tmac/groff_mdoc.man: Updated.
3934 2004-07-05 Werner LEMBERG <wl@gnu.org>
3936 * doc/groff.texinfo (Manipulating Hyphenation): Further improve
3937 documentation of `hcode'.
3939 2004-07-04 Sang Dae Yu <sdyu@bh.knu.ac.kr>
3941 Improve appearance of arrows in pic.
3943 * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
3945 Use two line segments for drawing non-filled arrow head.
3946 (line_object::print, spline_object::print): Shorten line length to
3947 avoid arrow sticking.
3948 (arc_object::print): Take arrow direction into account.
3950 2004-07-03 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
3952 * tmac/groff_www.man: Update documentation of .MPIMG.
3954 2004-07-03 Werner LEMBERG <wl@gnu.org>
3956 * tmac/an-old.tmac (RI): Always start with font `R'.
3957 (RI, IR): Properly end with font `R'.
3959 2004-07-02 Paul Eggert <eggert@cs.ucla.edu>
3961 * man/ditroff.man, man/groff_font.man, man/groff_out.man,
3962 src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
3963 src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
3964 Don't pass more than six arguments to .R, .I, .B, etc., for
3965 compatibility with traditional troff macros.
3967 2004-07-02 Werner LEMBERG <wl@gnu.org>
3969 * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
3970 s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
3972 (PUSH_COMP_MODE): New internal character constant.
3975 * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
3976 PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
3977 (token::next, macro::append): Handle PUSH_COMP_MODE.
3978 (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
3979 POP_GROFFCOMP after each of the decoded arguments to make them
3980 independent from the compatibility mode status.
3981 (comp_mode): Add `COMP_ENABLE'.
3982 (do_define_string, do_define_macro): Handle COMP_ENABLE.
3983 (define_string, append_string, define_macro, define_indirect_macro,
3984 append_macro, append_indirect_macro): Handle `compatible_flag'.
3985 (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
3987 * man/groff_diff.man, doc/groff.texinfo: Updated.
3989 2004-07-01 Werner LEMBERG <wl@gnu.org>
3991 * doc/groff.texinfo: Improve documentation of `hcode'.
3992 Use @documentencoding and convert document to latin-1; to do that
3993 make latin characters active and assign proper macros (within a
3994 @tex...@end tex environment).
3995 * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
3996 * doc/Makefile.sub (groff): Ditto.
3998 2004-06-29 Werner LEMBERG <wl@gnu.org>
4000 Implement two new conditional operators `F <name>' and `S <name>'
4001 which check whether <name> is a valid font or style, respectively.
4003 * src/libs/libgroff/font.cpp (text_file): Add `silent' member.
4004 (text_file::text_file): Updated.
4005 (text_file::error): Don't emit message if `silent' is set.
4006 (font::load_font): Add optional third argument (which is directly
4008 (font::load): Add optional second argument to check the header of
4009 a font only, without emitting warning or error messages.
4010 * src/include/font.h (font): Updated.
4012 * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
4014 * src/roff/troff/node.cpp (mount_font_no_translate): Add optional
4015 fourth argument to check a font without mounting.
4016 (check_font, check_style): New functions.
4017 * src/roff/troff/node.h: Updated.
4019 * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4022 2004-06-27 Werner LEMBERG <wl@gnu.org>
4024 Implement new string-valued register `.sty' to return the current
4027 * env.cpp (environment::get_style_name_string): New function.
4028 (init_env_requests): Add `.sty' register.
4029 * env.h (environment): Updated.
4030 * node.cpp (font_info): Make `get_style_name' a friend.
4031 (get_style_name): New function.
4034 * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4037 2004-06-15 Werner LEMBERG <wl@gnu.org>
4039 * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle
4042 2004-06-10 Colin Percival <colin.percival@wadham.ox.ac.uk>
4044 * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
4045 and \n[mo] to avoid dependency on current date.
4047 2004-06-08 Werner LEMBERG <wl@gnu.org>
4049 * Makefile.sub (install_data): New target.
4051 2004-06-04 Werner LEMBERG <wl@gnu.org>
4053 * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define.
4055 2004-06-03 Werner LEMBERG <wl@gnu.org>
4057 * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and
4059 (install_data): Add $(srcdir).
4061 * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of
4064 2004-06-02 Werner LEMBERG <wl@gnu.org>
4066 * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
4067 Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
4068 Add test for Xmu library.
4069 (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4070 GROFF_APPRESDIR_DEFAULT): New macros.
4072 * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4073 and GROFF_APPRESDIR_DEFAULT.
4075 * configure: Regenerated.
4077 * Makefile.in (appresdir): New variable.
4078 (MDEFINES): Add appresdir.
4080 * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
4082 (install_data, uninstall_sub): New targets to handle GXditview.ad.
4084 * src/utils/indxbib/Makefiles.ub (install_data): Depend on
4085 `$(srcdir)/eign', not `eign'.
4087 * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
4089 * man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
4090 src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
4091 Protect (g)xditview with `\%' to avoid hyphenation.
4092 Other minor formatting.
4094 2004-06-01 Werner LEMBERG <wl@gnu.org>
4096 Integrate gxditview into groff's standard directory hierarchy.
4098 * src/xditview/*: Moved to ...
4099 * src/devices/xditview/*: Here.
4100 Moved DviChar.h and XFontName.h to src/include.
4101 Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
4102 Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
4103 Moved xtotroff.c to new directory src/utils/xtotroff.
4104 Provide proper Makefile.sub files (reusing the stuff from
4106 DESC renamed to DESC.in.
4107 Removed GXDitview-ad.h, INSTALL, Imakefile.in.
4108 Converted everything from K&R to ANSI C.
4109 Decorated with const where appropriate.
4110 Cast string constants with `String' and `char *' where appropriate.
4111 Made it compile with C++ (used as a C compiler).
4112 Removed other minor compiler warnings.
4114 * src/devices/xditview/device.c: Include config.h, string.h, and
4116 Don't declare `exit', `strtok', `strchr', and `getenv'.
4119 * src/devices/xditview/font.c: Don't declare `XParseFontName' and
4122 * src/devices/xditview/xditview.c: Include config.h.
4123 Include stdio.h earlier.
4124 Protect declaration of `popen' and `pclose' with
4125 NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
4126 Replace `caddr_t' with `XtPointer'.
4127 (MakePromptFunc): New typedef.
4128 (DoPrint): Use RETSIGTYPE.
4129 (promptfunction): Change type to MakePromptFunc.
4130 (MakePrompt): Use MakePromptFunc for third argument.
4133 * src/devices/xditview/ad2c: Add casts to `String'.
4135 * src/include/XFontName.h (XFontNameString): Don't use array
4137 Add prototypes for `XParseFontName', `XFormatFontName',
4138 `XCompareFontName', and `XCopyFontName'.
4140 * src/include/Makefile.sub (HDRS): Add `DviChar.h' and
4143 * src/utils/xtotroff/xtotroff.c: Include getopt.h.
4144 Don't declare `XParseFontName' and `XFormatFontName'.
4146 (main): Remove `optind' and `optarg'.
4148 * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
4149 (to select programs which need X).
4150 Make XDEVIDIRS depend on `FORCE'.
4151 (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
4153 (MDEFINES): Updated.
4154 (LIBDIRS): Use XLIBDIRS.
4155 (CPROGDIRS): Use XPROGDIRS.
4156 (DEVDIRS): Remove font directories for gxditview.
4157 (ALLDIRS, DISTDIRS): Add XDEVDIRS.
4158 (EXTRADIRS): Remove src/xditview.
4160 * Makefile.sub (DISCLEANFILES): Updated.
4162 * Makefile.comm (LIBXUTIL): New variable.
4163 (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
4164 (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
4166 * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
4168 * aclocal.m4 (GROFF_X11): New function.
4170 * configure.ac: Call GROFF_X11.
4171 Don't create src/xditview/Imakefile.
4172 Don't emit notice how to build gxditview.
4174 * configure: Regenerated.
4176 * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
4178 2004-05-28 Akihiro Sagawa <sagawa@sohgoh.net>
4180 * Makefile.in (CPPFLAGS): Define.
4181 (MDEFINES): Add CPPFLAGS.
4183 2004-05-27 Werner LEMBERG <wl@gnu.org>
4185 * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
4187 2004-05-26 Niklas Edmundsson <nikke@acc.umu.se>
4189 Fix problems with `friend name injections'.
4191 * src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
4192 make_script_box), src/roff/troff/div.h (end_diversions),
4193 src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
4196 2004-05-25 Bernd Warken <bwarken@mayn.de>
4198 * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
4200 2004-05-25 Werner LEMBERG <wl@gnu.org>
4202 * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
4203 src/libs/libgroff/color.cpp: Include lib.h.
4205 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
4207 * PROBLEMS: Update documentation for problems with Sun C++ 5.0
4208 through Forte 6u1, and for how to get GNU make on Solaris.
4210 2004-05-24 Werner LEMBERG <wl@gnu.org>
4212 * PROBLEMS: Document problems with gcc 3.4.0 on Sun. Reported
4215 2004-05-15 Keith Marshall <keith.d.marshall@ntlworld.com>
4217 * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit
4220 2004-05-14 Werner LEMBERG <wl@gnu.org>
4222 * REVISION: Set to 2.
4224 * aclocal.m4 (GROFF_STDINT_H): Removed.
4225 (GROFF_INTTYPES_H): Define HAVE_CC_INTTYPES_H.
4227 * configure.ac: Updated.
4228 * configure, src/include/config.hin: Regenerated.
4230 * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
4231 inttypes.h conditionally.
4233 2004-05-13 Werner LEMBERG <wl@gnu.org>
4235 Version 1.19.1 released
4236 =======================
4238 2004-05-10 Stephen Gildea <http://www.gildea.com/stephen>
4240 * src/preproc/refer/label.y (same_author_last_name,
4241 same_author_name): Handle empty sort keys.
4243 2004-05-10 Werner LEMBERG <wl@gnu.org>
4245 * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
4248 * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
4249 doc-str-Lb-librt): Reset font.
4250 (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
4251 Provide `doc-str-Lb' to reset font.
4252 * tmac/groff_mdoc.man: Updated.
4254 2004-05-08 Jan Schaumann <jschauma@netmeister.org>
4256 * src/preproc/html/pre-html.cpp (make_message): Make it work for
4257 snprintf versions which don't conform to ANSI C 99 (this is,
4258 counting the string's trailing null byte in the return value).
4260 2004-05-07 Keith Marshall <keith.d.marshall@ntlworld.com>
4262 * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect
4263 that all implementations of sprintf handle null pointers correctly.
4265 2004-05-04 Werner LEMBERG <wl@gnu.org>
4267 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4268 Document `.U' register.
4270 * src/roff/troff/env.cpp (environment::mark_last_line)
4271 [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.
4273 2004-05-04 Larry Kollar <kollar@alltel.net>
4275 New read-only register `.U'; it returns 1 in safer mode and 0
4278 * src/roff/troff/input.cpp (init_input_requests): Implement `.U'
4281 2004-05-03 Werner LEMBERG <wl@gnu.org>
4283 * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
4285 2004-04-17 Werner LEMBERG <wl@gnu.org>
4287 * src/include/font.h (font): Use `int' for ch_index.
4288 * src/libs/libgroff/font.cpp (font::alloc_ch_index,
4289 font::compact): Updated.
4291 * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
4294 * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
4295 (hyphen_word): Fix compiler warnings.
4296 * src/roff/troff/input.cpp (get_char_for_escape_name): Return
4299 (get_delim_number, get_line_arg): Change second argument type to
4301 (macro_header::copy, token::next, do_define_string,
4302 do_define_character, substring_request, asciify_macro,
4303 unformat_macro, read_size, non_interpreted_node::interpret,
4304 while_request, main: Fix compiler warnings.
4305 (read_color_draw_node): Initialize `col'.
4307 * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
4308 `start_col' and `end_col' of type `int'.
4309 (vertical_rule): Make `col' of type `int'.
4311 * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
4314 * src/preproc/refer/label.y (uppercase_array, lowercase_array):
4316 (format_serial): Use them to remove dependency on ASCII.
4318 * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
4320 * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
4323 * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
4325 (glyph): Change type of `hpos' to `int'.
4327 * src/devices/lbp/lbp.cpp (strsep): Removed. Unused.
4328 * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
4330 * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
4332 * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
4334 2004-04-16 Werner LEMBERG <wl@gnu.org>
4336 * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
4337 src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
4338 src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
4339 `double' instead of `float' everywhere.
4340 * src/preproc/grn/main.cpp: Use `double' instead of `float'
4342 (main): Add return value.
4343 * src/preproc/grn/hdb.cpp: Use `double' instead of `float'
4345 Update all user functions.
4347 * src/include/search.h, src/include/ptable.h, src/include/printer.h,
4348 src/preproc/eqn/box.h, src/preproc/pic/object.h,
4349 src/preproc/refer/refer.h, src/preproc/tbl/table.h,
4350 src/preproc/tbl/table.cpp, src/roff/troff/env.h,
4351 src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
4352 src/roff/troff/input.cpp, src/roff/troff/request.h,
4353 src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
4356 * src/utils/indxbib/signal.c: Include stdlib.h.
4358 2004-04-14 Keith Marshall <keith.d.marshall@ntlworld.com>
4360 * tmac/s.tmac (@init, RP): Allow initialization of the PO register
4361 before the first page.
4363 2004-04-14 Thomas Klausner <wiz@netbsd.org>
4365 * tmac/doc-common (doc-volume-as-*): Use lowercase names.
4366 (doc-operating-system-*): Updated.
4367 * tmac/doc-syms (doc-str-St-*): Various small fixes.
4368 (doc-str-Lb-*): Add more library names.
4370 2004-04-10 Art Haas <ahaas@airmail.net>
4372 * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't
4375 2004-04-09 Art Haas <ahaas@airmail.net>
4377 * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.
4379 2004-04-09 Keith Marshall <keith.d.marshall@ntlworld.com>
4381 * arch/misc/shdeps.sh: Generate better comment for sed script.
4383 2004-04-08 Art Haas <ahaas@airmail.net>
4385 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
4386 src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
4387 src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
4388 src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
4389 (polyfill), src/preproc/grn/main.cpp (polyfill),
4390 src/preproc/refer/command.cpp (command_table),
4391 src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
4392 gcc 3.5 doesn't like).
4394 2004-04-08 Werner LEMBERG <wl@gnu.org>
4396 Removing many compiler warnings. groff should now compile with
4397 a C++ compiler used for C files also. [Simple variable renamings
4398 to avoid shadowing aren't logged in detail.]
4400 * src/devices/grodvi/dvi.cpp: Some local variable renamings.
4401 (draw_dvi_printer::draw) ['c']: Enclose in block.
4403 * src/devices/grohtml/post-html.cpp: Some local variable renamings.
4404 (page::add_line): Fix typos.
4405 * src/devices/grohtml/html-text.cpp: Some local variable renamings.
4407 * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
4408 Some local variable renamings.
4409 * src/devices/grolbp/lbp.h: Some local variable renamings.
4411 * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
4414 * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
4415 Remove redundant local variable declaration.
4416 * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
4417 Don't use `caddr_t' but `void *'.
4418 Enclose functions with `extern "C"' for C++.
4420 * src/libs/libdriver/input.cpp (remember_filename,
4421 remember_source_filename): Use cast for string constant.
4423 * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
4424 src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
4425 src/libs/libgroff/geometry.cpp: Some local variable renamings.
4426 * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
4428 Enclose functions with `extern "C"' for C++.
4429 * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
4430 (needs_quoting): Return `int'.
4431 (quote_arg): Add proper casts to malloc and realloc.
4432 * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
4433 various MS Windows environments.
4434 (spawnvp_wrapper): Add proper cast to malloc.
4436 * src/preproc/eqn/box.h: Remove redundant declarations of
4437 `make_script_box', `make_mark_box' and `make_lineup_box'.
4438 * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
4439 * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
4442 * src/preproc/grn/hpoint.cpp: Some local variable renamings.
4443 * src/preproc/grn/hgraph.cpp: Some local variable renamings.
4444 (dx, dy): Renamed functions to...
4445 (deltax, deltay): This.
4446 * src/preproc/grn/main.cpp: Some local variable renamings.
4447 (deffont): Add `const'.
4448 (initpic, conv): Use cast for string constant.
4450 * src/preproc/html/pre-html.cpp: Some local variable renamings.
4451 (makeFileName, alterDeviceTo, addZ): Use cast for string constant.
4452 (char_buffer::run_output_filter): Second argument is unused.
4453 * src/preproc/html/pushback.cpp: Some local variable renamings.
4455 * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
4456 * src/preproc/pic/object.cpp: Some local variable renamings.
4458 * src/preproc/refer/label.y (lookup_label): Remove redundant
4459 declaration of local variable.
4461 * src/preproc/soelim.cpp: Remove redundant declaration of
4462 `interpret_lf_args'.
4464 * src/preproc/tbl/main.cpp: Some local variable renamings.
4466 * src/roff/groff/groff.cpp (main): Use cast for string constant.
4467 * src/roff/groff/pipeline.c: Enclose declarations of `error',
4468 `c_fatal', and `i_to_a' with `extern "C"' for C++.
4469 Don't use C++-style comments.
4471 * src/roff/troff/env.h: Remove redundant declaration of `title'.
4472 * src/roff/troff/node.h, src/roff/troff/env.cpp,
4473 src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
4475 * src/roff/troff/div.h: Remove redundant declaration of
4477 * src/roff/troff/troff.h: Remove redundant declaration of
4479 * src/roff/troff/input.cpp: Remove redundant declaration of
4480 `handle_first_page_transition' and `process_input_stack'.
4482 * src/utils/hpftodit.cpp: Some local variable renamings.
4484 * src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
4486 Don't define RETSIGTYPE.
4487 * src/utils/indxbib/indxbib.cpp: Some local variable renamings.
4489 * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
4490 (error): Use `const' in argument.
4491 (main): Remove redundant declaration of `optind'.
4492 Move declaration of `Version_string' to top-level.
4494 * PROBLEMS: Document difficulties compiling signal.c if a C++
4495 compiler is used for C.
4497 2004-04-07 Werner LEMBERG <wl@gnu.org>
4499 * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
4501 2004-04-06 Keith Marshall <keith.d.marshall@ntlworld.com>
4503 Make scripts like nroff.sh and neqn.sh portable across various
4504 (Unix-like) shell implementations from Cygwin, MSYS, etc., which use
4505 non-POSIX path separators. The idea is to extend those scripts to
4506 decide at run-time (of the script) which path separator to use.
4508 * arch/misc/Makefile.sub: New file.
4509 * arch/misc/shdeps.sh: New file, generating OS dependency fixups.
4510 This script handles @GROFF_BIN_PATH_SETUP@, replacing it with
4511 a proper definition of the variable `GROFF_RUNTIME'.
4513 * Makefile.in (SH_DEPS_SED_SCRIPT): New variable.
4514 (MDEFINES): Add SH_DEPS_SED_SCRIPT.
4515 (PROGDEPDIRS): New variable.
4517 (PROGDIRS): Add PROGDEPDIRS.
4519 * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT.
4520 Don't substitute @SEP@ and @BINDIR@.
4521 * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@.
4522 (PATH): Use GROFF_RUNTIME.
4524 * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT.
4525 Don't substitute @SEP@ and @BINDIR@.
4526 * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@.
4527 (PATH): Use GROFF_RUNTIME.
4529 2004-04-05 Keith Marshall <keith.d.marshall@ntlworld.com>
4531 * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from
4532 Cygwin which doesn't handle stderr correctly.
4534 2004-03-08 Werner LEMBERG <wl@gnu.org>
4536 * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops
4537 against empty argument. Problem reported by <cgd@broadcom.com>.
4539 2004-03-05 Keith Marshall <keith.d.marshall@ntlworld.com>
4541 * Makefile.in (SEP): Replaced with...
4542 (RT_SEP, SH_SEP): Separators for the target platform's native path
4543 separator and the build environment, respectively.
4544 (fontpath, tmacpath): Use RT_SEP.
4545 (MDEFINES): Updated.
4547 * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
4548 * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
4549 * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
4551 2004-03-05 Werner LEMBERG <wl@gnu.org>
4553 * font/devlj4/Makefile.sub (LJ4RES): Set to 1200. This helps to
4554 reduce alignment problems with newer printers which use built-in
4555 TrueType fonts (instead of the older Intellifonts). The ideal
4556 solution is to provide a second set of groff metric files, but this
4557 is extremely time-consuming to produce, given that HP's metric
4558 files are very rudimentary.
4560 2004-03-01 Werner LEMBERG <wl@gnu.org>
4562 * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.
4563 s/operand/argument/ in error message.
4565 2004-03-01 Keith Marshall <keith.d.marshall@ntlworld.com>
4567 * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
4570 2004-03-01 Antti Kantee <pooka@netbsd.org>
4572 * tmac/s.tmac (XE): Fix error message.
4574 2004-02-27 Jeff Conrad <jeff_conrad@msn.com>
4576 * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:
4579 * src/roff/groff/pipeline.c: Declare strcasecmp.
4580 (run_pipeline) [_WIN32]: Use function name variants which don't
4582 Fix stream handling.
4584 2004-02-27 Keith Marshall <keith.d.marshall@ntlworld.com>
4586 * src/include/nonposix.h: Fix declaration of `system_shell_name'.
4587 Declare `spawnvp_wrapper' and macro definitions of spawnvp only
4588 for platforms which use the native Win32 runtime libraries.
4589 (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
4591 * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
4592 QUOTE_ARG_REALLOC_ERROR): Fix string.
4594 * src/preproc/html/pre-html.cpp: Remove declaration of
4596 Don't use __MINGW32__.
4597 s/DEBUG_FILE/DEBUG_FILE_DIR/.
4598 (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
4599 (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
4600 (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
4601 calls to `set_redirection' and `WAIT'.
4602 [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
4603 Fix calls to `set_redirection' and `save_and_redirect'.
4604 (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
4605 to `set_redirection' and `save_and_redirect'.
4606 (usage): Fix message.
4607 (makeTempFiles, main): Use `DEBUG_FILE'.
4609 2004-02-21 Werner LEMBERG <wl@gnu.org>
4611 * src/roff/troff/troff.h (WARN_TOTAL): Fix value.
4613 2004-02-21 Keith Marshall <keith.d.marshall@ntlworld.com>
4615 * src/libs/libgroff/quotearg.c: New file, providing proper argument
4616 quoting for MSVC's spawn* and exec* functions.
4617 * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
4618 spawnvp with proper quoting for MSVC.
4620 * src/libs/libgroff/assert.cpp (program_name),
4621 src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
4622 * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
4624 * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
4626 * src/include/error.h (program_name): Declare as `extern "C"'.
4627 * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
4629 2004-02-21 Jeff Conrad <jeff_conrad@msn.com>
4631 * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
4633 [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
4635 2004-02-20 Jeff Conrad <jeff_conrad@msn.com>
4637 * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global
4639 (sbasename) [__MSDOS__ || ...]: New function.
4640 (system_shell_name) [__MSDOS__ || ...]: Use a different, more
4642 (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
4643 (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
4645 Use STDOUT_FILENO instead of hardcoded file handle.
4646 (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
4648 2004-02-19 Werner LEMBERG <wl@gnu.org>
4650 * src/roff/troff/div.cpp: Include nonposix.h after troff.h to
4651 avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
4653 2004-02-18 Werner LEMBERG <wl@gnu.org>
4655 * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
4656 new font and mapping files.
4658 2004-02-18 Jeff Conrad <jeff_conrad@msn.com>
4659 Keith Marshall <keith.d.marshall@ntlworld.com>
4661 * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
4662 an input pipe. This is needed for the MSVC compiler to make troff's
4665 * src/roff/troff/div.cpp: Include nonposix.h.
4666 (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
4668 2004-02-17 Werner LEMBERG <wl@gnu.org>
4670 * font/devlj4/generate/special.awk: New script.
4671 * font/devlj4/generate/Makefile (S): Use special.awk.
4672 * font/devlj4/*: Regenerated, including the following new files:
4673 Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
4674 MS Symbol (SYMBOL), Wingdings (WINGDINGS).
4675 * NEWS: Document new lj4 fonts and revised hpftodit.
4677 2004-02-17 Paco Andrés Verdú <pandres@dragonet.es>
4679 * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.
4681 2004-01-25 Werner LEMBERG <wl@gnu.org>
4683 * src/libs/libgroff/progname.cpp: Replaced with...
4684 * src/libs/libgroff/progname.c: New file.
4685 * src/libs/libgroff/Makefile.sub: Updated accordingly.
4687 2004-01-17 Werner LEMBERG <wl@gnu.org>
4689 * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.
4691 2004-01-16 Jeff Conrad <jeff_conrad@msn.com>
4693 * font/devlj4/generate/wingdings.map,
4694 font/devlj4/generate/symbol.map: Include unnamed glyphs.
4695 Use groff glyph names where possible.
4696 * src/devices/grolj4/lj4_font.man: Minor updates.
4698 2004-01-13 Werner LEMBERG <wl@gnu.org>
4700 * tmac/www.tmac (DC): Handle TTY devices.
4702 * doc/webpage.ms: Document viewCVS from ffii.org.
4703 * NEWS, README: Updated.
4705 * src/roff/groff/groff.man: Mention lj4_font man page.
4707 * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
4709 (FONTS): Add SYMBOL and WINGDINGS.
4710 (SYMBOL, WINGDINGS): New targets.
4712 2004-01-13 Jeff Conrad <jeff_conrad@msn.com>
4714 * src/devices/grolj4/lj4_font.man: New man page.
4715 * src/devices/grolj4/Makefile.sub (MAN5): New variable.
4716 * src/devices/grolj4.man: Mention lj4_font man page.
4718 * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
4719 * src/utils/hpftodit/hpftodit.man: Document it.
4721 Remove details about fonts (which are now in lj4_font.man).
4723 * font/devlj4/generate/symbol.map,
4724 font/devlj4/generate/wingdings.map: New files.
4726 2004-01-12 Werner LEMBERG <wl@gnu.org>
4728 * README: Mention ffii's viewcvs access.
4730 2004-01-09 Werner LEMBERG <wl@gnu.org>
4732 * font/devlj4/generate/special.map: Map MSL 228 to U+221F.
4734 2004-01-09 Jeff Conrad <jeff_conrad@msn.com>
4736 Revert most of the change from 2004-01-03 to better control used
4739 * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
4740 (text_symbol_sets, special_symbol_sets): New arrays.
4741 (symbol_set_table): New global variable.
4742 (read_symbol_sets): Use search order given in the text_symbol_sets
4743 and special_symbol_sets arrays. If command line flag -a is not
4744 given, search both arrays.
4745 (output_charset): Require x_height_tag only for command line flag -i.
4747 2004-01-06 Werner LEMBERG <wl@gnu.org>
4749 Implement string-valued registers \n[.m] and \n[.M] to return the
4750 name of the current drawing and background color, respectively.
4752 * src/roff/troff/symbol.h: Moved to...
4753 * src/include/symbol.h: Here.
4754 Small fixes to make it work outside of the `troff' directory.
4755 * src/roff/troff/symbol.cpp: Moved to...
4756 * src/libs/libgroff/symbol.cpp: Here.
4757 Small fixes to make it work outside of the `troff' directory.
4759 * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
4760 (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
4763 * src/include/color.h: Include symbol.h.
4764 (color): Add new field `nm'.
4765 * src/libs/libgroff/color.cpp (color::color): Updated.
4767 * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
4768 src/roff/troff/node.cpp, src/roff/troff/number.cpp,
4769 src/roff/troff/reg.cpp: Don't include symbol.h.
4771 * src/roff/troff/env.cpp: Don't include symbol.h.
4772 (environment::get_glyph_color_string,
4773 environment_get_fill_color_string): New member functions.
4774 (init_env_requests): Handle `.m' and `.M' registers.
4775 * src/roff/troff/input.cpp: Don't include symbol.h.
4776 (default_symbol): Moved to symbol.cpp/symbol.h.
4777 (do_glyph_color, do_fill_color, define_color): Pass symbol name
4778 to color constructor.
4779 * src/roff/troff/env.h: Updated.
4781 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4782 Document new registers.
4784 2004-01-05 Werner LEMBERG <wl@gnu.org>
4786 * src/roff/troff/node.cpp (space_node::get_breakpoints,
4787 space_node::nbreaks): Protect against zero `next' field.
4789 2004-01-03 Jeff Conrad <jeff_conrad@msn.com>
4791 In hpftodit, use the symbol sets offered in the TFM.
4793 * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
4794 (symbol_set, text_symbol_sets, special_symbol_sets,
4795 symbol_set_table): Removed.
4796 (get_printcode): Removed.
4797 (read_symbol_sets): Initialize `symbol_set' field with
4799 Simplify code to just use the `kind' value.
4800 (output_charset): Improve output formatting.
4801 (dump_symbols): Simplified.
4803 2004-01-02 Werner LEMBERG <wl@gnu.org>
4805 * font/devlj4/generate/text.map: Add more MSL numbers.
4807 2004-01-02 Jeff Conrad <jeff_conrad@msn.com>
4809 * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
4810 (text_symbol_sets): Add more symbol sets.
4811 (debug_flag): New static variable (moved from `main').
4812 (get_printcode, show_symset): New functions.
4813 (main): Remove `debug_flag'.
4814 (output_charset): Use `show_symset'.
4815 (dump_symbols): Use `show_symset'.
4816 Print symsets for all glyphs.
4817 (read_map): Actually call `unicode_to_ucode_make' but this time
4820 2004-01-01 Werner LEMBERG <wl@gnu.org>
4822 * font/devlj4/generate/text.map, font/devlj4/generate/special.map:
4823 Fix placement of comments.
4825 2004-01-01 Jeff Conrad <jeff_conrad@msn.com>
4827 * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
4828 option `-d' is given.
4829 (output_charset): Improve warning messages to give more information.
4830 (dump_symbols): Make information more precise.
4832 (read_map): Don't call unicode_to_ucode_name; the glyph names must
4833 appear as-is and shouldn't be decomposed.
4835 2003-12-31 Werner LEMBERG <wl@gnu.org>
4837 * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.
4838 * font/devlj4/generate/Makefile (IFLAG): Updated to new units.
4839 (FONTS): Add TrueType font families Arial and Times New Roman.
4840 (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
4841 * font/devlj4/generate/text.map: Fix Unicode values of `fi' and
4844 2003-12-31 Jeff Conrad <jeff_conrad@msn.com>
4846 * test-groff.in (SEP): Quote value.
4847 * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
4848 `tem' to `char*' to avoid deallocation of a pointer to a constant
4849 object which some compilers don't like.
4851 2003-12-31 Werner LEMBERG <wl@gnu.org>
4853 * font/devlj4/generate (text.map, special.map): Rewritten to work
4854 with the new hpftodit version.
4856 2003-12-30 Jeff Conrad <jeff_conrad@msn.com>
4858 * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
4859 set and 8bit character code for all glyphs also.
4861 2003-12-30 Werner LEMBERG <wl@gnu.org>
4863 * src/libs/libgroff/strcasecmp.c: Updated from gnulib.
4865 2003-12-29 Werner LEMBERG <wl@gnu.org>
4867 More fixes for MSVC compiler.
4869 * doc/Makefile.sub (GROFF_BIN_PATH): Use $(SEP).
4871 * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
4872 STDERR_FILENO) [_MSC_VER]: Define conditionally.
4873 (getpid) [_MSC_VER]: Remove.
4874 Include direct.h and process.h conditionally.
4876 * src/roff/troff/node.cpp (suppress_node::tprint): Don't use
4877 parentheses for a_delete.
4879 * src/utils/lookbib/lookbib.cpp: Include nonposix.h.
4881 * test-groff: Replaced with...
4882 * test-groff.in: This new template to handle path separator
4885 * configure.ac: Check for direct.h and process.h.
4886 Generate test-groff script.
4887 * configure, src/include/config.hin: Regenerated.
4889 2003-12-28 Werner LEMBERG <wl@gnu.org>
4891 Add integral extension glyph.
4892 Add new option `-x' to afmtodit to suppress use of built-in AGL.
4894 * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
4896 * font/devps/generate/textmap: Provide entry for `integralex' to
4897 override (old) PUA value of the AGL.
4898 * font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
4899 * font/devps/*: Regenerated.
4901 * src/utils/afmtodit/afmtodit.pl: Add option `-x'.
4902 * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
4904 2003-12-27 Werner LEMBERG <wl@gnu.org>
4906 Add forgotten `coproduct' symbol (already available for DVI).
4908 * font/devhtml/R.proto, font/devps/generate/textmap,
4909 font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
4910 src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
4911 U+2210 (\[coproduct]).
4913 2003-12-26 Jeff Conrad <jeff_conrad@msn.com>
4915 hpftodit has been extended to handle TrueType metric files and
4916 more glyphs. See hpftodit.man for more details.
4918 * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h,
4919 ctype.h, and unicode.h.
4920 s/msl/charcode/ everywhere since we now handle Unicode values also.
4921 (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
4922 Use it where appropriate.
4923 (MULTIPLIER): Replaced with...
4924 (multiplier): New global static variable.
4926 (tag_type): Add more TFM tags.
4927 (tag_name): New array.
4928 (ENUM_TYPE, FLOAT_TYPE): Removed.
4929 (BYTE_TYPE): New value assigned.
4930 (ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
4931 (text_symbol_sets, special_symbol_sets): Extended to cover more
4933 (check_type): Add return value.
4934 (check_units): Add parameters to get ppi and upem values.
4935 Handle TrueType TFM data.
4936 (output_font_name): New function.
4937 (output_charset): Add parameter to handle TFM type.
4938 Handle TrueType TFMs also.
4939 (em_fract): New macro.
4940 (dump_tags): Be much more verbose and handle more tags.
4941 (dump_ascii, dump_symbol_sets, dump_symbols): New functions.
4942 (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
4944 (read_map): Add parameter to handle TFM type.
4945 Handle both MSL and Unicode mappings.
4946 (main): Add two new command line options `-a' and `-q'.
4947 Updated to make use of new functions.
4950 * src/utils/hpftodit/hpuni.cpp: New file.
4952 * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
4955 2003-12-25 Werner LEMBERG <wl@gnu.org>
4957 * src/include/nonposix.h (read) [_MSC_VER]: Define.
4959 2003-12-24 Werner LEMBERG <wl@gnu.org>
4961 * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested
4962 by Michail Vidiassov <master@iaas.msu.ru>.
4964 2003-12-20 Werner LEMBERG <wl@gnu.org>
4966 * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
4968 Add missing latin-2 glyphs.
4969 * font/devutf8/R.proto: Add missing latin-2 glyphs.
4971 * tmac/troffrc: Load `composite.tmac' earlier.
4973 * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
4974 u00{53,73}_0327, and u0049_0307.
4975 * tmac/X.tmac: Add u00{47,67}_0306.
4976 * tmac/tty-char.tmac: Use composite glyph names for readability.
4980 * src/include/unicode.h: Remove `extern' keywords.
4982 2003-12-20 Nilgün Belma Bugüner <nilgun@superonline.com>
4984 * tmac/latin5.tmac: New file.
4986 2003-12-19 Werner LEMBERG <wl@gnu.org>
4988 Add some glyphs needed for Turkish.
4990 * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
4993 * tmac/composite.tmac: Add `,' as a synonym for `ac' accent.
4994 * tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
4995 u00{53,73}_0327, and u0049_0307.
4997 2003-12-18 Werner LEMBERG <wl@gnu.org>
4999 * src/devices/grops/ps.cc (ps_output::put_float): Revert change
5001 Remove trailing zeros.
5003 2003-12-17 Werner LEMBERG <wl@gnu.org>
5005 Make \? transparent to end-of-sentence recognition.
5007 * src/roff/troff/input.cc (non_interpreted_node): Add
5008 `ends_sentence' member function.
5010 2003-12-16 Werner LEMBERG <wl@gnu.org>
5012 * doc/groff.texinfo: Document `dt' request correctly.
5013 Other minor typographical improvements.
5015 2003-12-10 Michail Vidiassov <master@iaas.msu.ru>
5017 * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
5019 2003-12-10 Richard Stallman <rms@gnu.org>
5021 * LICENSE: Better wording.
5023 2003-12-09 Werner LEMBERG <wl@gnu.org>
5025 * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
5026 * configure, NEWS: Updated.
5028 2003-12-08 Werner LEMBERG <wl@gnu.org>
5030 * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).
5032 2003-12-07 Bernd Warken <bwarken@mayn.de>
5036 2003-12-07 Werner LEMBERG <wl@gnu.org>
5038 * INSTALL: Improved.
5040 2003-12-05 Keith Marshall <keith.d.marshall@ntlworld.com>
5042 Use path separator character of target platform for compiled-in
5045 * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
5046 * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
5047 * configure: Regenerated.
5048 * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
5050 2003-12-05 Werner LEMBERG <wl@gnu.org>
5052 * src/include/nonposix.h (PATH_SEP_CHAR): New definition.
5053 Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
5055 2003-12-04 Bernd Warken <bwarken@mayn.de>
5057 * LICENSE: New file.
5059 2003-12-03 Werner LEMBERG <wl@gnu.org>
5061 * src/utils/afmtodit/afmtodit.pl: Comment out code which handles
5062 ligatures present in AFM files since groff currently only
5063 understands some standard ligatures and nothing else.
5065 2003-12-03 Jeff Conrad <jeff_conrad@msn.com>
5067 * src/roff/groff/groff.cpp (main): Don't run the spooler if
5070 * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
5073 Don't use Unix wait flags.
5075 2003-12-02 Werner LEMBERG <wl@gnu.org>
5077 * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
5078 src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
5079 src/roff/troff/uniuni.cpp: Moved to...
5080 * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
5081 src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
5082 src/libs/libgroff/uniuni.cpp: Here.
5084 * src/include/Makefile.sub.old (HDRS),
5085 src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
5086 src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
5088 2003-12-01 Keith Marshall <keith.d.marshall@ntlworld.com>
5090 * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to
5094 2003-12-01 Werner LEMBERG <wl@gnu.org>
5096 * groff.texinfo: Document special behaviour of `.vs 0'.
5097 Improve documentation of `cflags' request.
5100 2003-11-29 Werner LEMBERG <wl@gnu.org>
5102 * font/devlj4/generate/Makefile (CORONET): Use correct TFM.
5103 * font/devlj4/CORONET: Regenerated.
5105 2003-11-24 Werner LEMBERG <wl@gnu.org>
5107 * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
5108 if processing hyphenation patterns in traditional mode.
5109 Improve error messages.
5111 2003-11-20 Werner LEMBERG <wl@gnu.org>
5113 * src/roff/troff/node.cpp (troff_output_file::put_char_width,
5114 troff_output_file::put_char): Fix type of local variable `c'.
5116 2003-11-19 Werner LEMBERG <wl@gnu.org>
5118 * src/roff/groff/pipeline.c (P): Removed. Updated all function
5120 (i_to_a): Removed. libgroff already provides this function.
5121 (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
5123 2003-11-18 Keith Marshall <keith.d.marshall@ntlworld.com>
5125 * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
5128 2003-11-17 Werner LEMBERG <wl@gnu.org>
5130 * COPYING: Use correct version.
5132 2003-11-11 Werner LEMBERG <wl@gnu.org>
5134 LynxOS 4.0.0 doesn't declare vfprintf.
5136 * configure.ac: Check for vfprintf.
5137 * configure: Regenerated.
5138 * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
5139 * src/include/config.hin: Regenerated.
5141 2003-11-10 Werner LEMBERG <wl@gnu.org>
5143 LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.
5145 * configure.ac: Check for vsnprintf.
5146 * configure: Regenerated.
5147 * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
5149 * src/include/config.hin: Regenerated.
5151 2003-11-09 Werner LEMBERG <wl@gnu.org>
5153 * aclocal.m4: Updated syntax to autoconf 2.59.
5154 (GROFF_HTML_PROGRAMS): Use AC_FOREACH.
5155 Don't check for gsos2.
5156 (GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides
5157 working abs_top_srcdir and abs_top_builddir.
5159 * configure.ac: Updated syntax to autoconf 2.59.
5160 Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
5161 Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
5162 * configure: Regenerated.
5164 * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
5165 s/@groff_top_builddir@/@abs_top_builddir@/.
5167 * src/roff/groff/pipeline.c (xstrsignal):
5168 s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
5170 2003-11-07 Werner LEMBERG <wl@gnu.org>
5172 * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
5173 make start angle smaller than end angle to circumvent a bug in tpic
5174 handling of some versions of dvipdfm (and dvipdfmx).
5176 2003-10-30 Werner LEMBERG <wl@gnu.org>
5178 * src/devices/grops/grops.man: Improve section on creating EPS.
5180 2003-10-29 Werner LEMBERG <wl@gnu.org>
5182 * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
5185 2003-10-28 Werner LEMBERG <wl@gnu.org>
5187 * doc/groff.texinfo: Fix documentation of `.if'.
5189 2003-10-27 Michail Vidiassov <master@iaas.msu.ru>
5191 * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of
5192 the form `uniXXXX' also.
5194 2003-10-27 Werner LEMBERG <wl@gnu.org>
5196 * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,
5197 contrib/pic2graph/pic2graph.sh: Implement secure management of
5199 Pass `-P-pletter' to groff to avoid data outside of the converted
5200 area -- some versions of `convert' (for example 5.3.8) don't check
5201 the bounding box of the image but always use a fixed image size
5202 (letter paper format).
5203 * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man,
5204 contrib/pic2graph/pic2graph.man: Updated.
5206 * src/roff/groff/groff.man: Document $TMP and $TEMP.
5208 2003-10-26 Werner LEMBERG <wl@gnu.org>
5210 * src/preproc/pic/troff.cpp (troff_output::simple_circle,
5211 troff_output::simple_ellipse, troff_output::simple_arc,
5212 troff_output::simple_line, troff_output::simple_spline,
5213 troff_output::simple_polygon): Insert a space before arguments.
5214 (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the
5215 latter doesn't produce a node, so the following `.sp -1' would do
5217 Don't emit `.sp -1' after \M. This also doesn't produce a token
5218 (and we don't have to care about compatibility mode).
5219 (troff_output::set_color, troff_output::reset_color): Don't emit
5220 `.sp -1' after \M and \m.
5222 * src/roff/troff/input.cpp (old_have_input): New global variable.
5223 (input_stack::get): Handle `old_have_input'.
5224 (process_input_stack) <token::TOKEN_NEWLINE>: Call
5225 `trapping_blank_line' depending on `old_have_input', not
5228 2003-10-20 Keith Marshall <keith.d.marshall@ntlworld.com>
5230 * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32]
5231 (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing
5232 default directory names for temporary files.
5233 [__MSDOS__, _Win32] (temp_init::temp_init): Use them.
5235 * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h.
5236 [__MSDOS__] (run_pipeline): Honour environment variables.
5237 Don't use `tmpnam' but `tempnam' to work around messy
5240 * README.MinGW: New file.
5242 2003-10-16 Werner LEMBERG <wl@gnu.org>
5244 * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
5245 `(*t)->next' without testing validity of `*t'.
5246 (usage): Make it more readable.
5248 2003-10-16 Keith Marshall <keith.d.marshall@ntlworld.com>
5250 Make html device run under both MS-DOS and Win32.
5252 * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS,
5253 MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether
5254 spawn or fork+exec has to be used, and whether parent must sleep
5255 until the child process terminates. Used in
5256 `char_buffer::run_output_filter'.
5257 (copyofstdoutfd): Removed.
5258 (char_buffer): Replace `write_file_html' and `write_file_troff'
5259 member functions with `emit_troff_output' and `run_output_filter'.
5260 (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New
5262 (replaceFd): Replaced with...
5263 (set_redirection): New auxiliary function.
5264 (waitForChild): Replaced with...
5265 (save_and_redirect): New auxiliary function for.
5267 (char_buffer::do_html, char_buffer::do_image): Simplified, using new
5270 2003-10-14 Keith Marshall <keith.d.marshall@ntlworld.com>
5272 * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
5273 (GROFF_LIBC): New function.
5274 * configure.ac: Call GROFF_LIBC.
5276 * configure: Regenerated.
5278 * src/include/lib.h: Handle __MINGW32__.
5279 * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
5280 Add macro for `pipe'.
5283 * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
5286 * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
5289 2003-10-12 Werner LEMBERG <wl@gnu.org>
5291 * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
5292 src/roff/troff/input.cc (usage): Updated.
5294 * NEWS, doc/groff.texinfo: Updated.
5296 2003-10-12 Peter Miller <millerp@canb.auug.org.au>
5298 * src/libs/libgroff/searchpath.cpp
5299 (search_path::open_file_cautious): New function which also handles
5300 `-' as stdin and stdout depending on the access mode.
5301 * src/include/searchpath.h (search_path): Updated.
5303 * src/devices/grops/ps.cpp (main): Handle new `-I' switch.
5304 * src/devices/grops/ps.h: Include `searchpath.h'.
5305 * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
5306 Open resource file with `include_search_path.open_file_cautious'.
5307 * src/devices/grops/grops.man: Document new `-I' switch.
5309 * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
5310 (main), src/devices/grolj4/lj4.cpp (main),
5311 src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
5313 * src/preproc/soelim/soelim.cpp (include_list_length, include_list):
5315 (include_search_path): New global variable.
5316 (include_path_append): Removed.
5317 (main): Use `include_search_path.command_line_dir' to handle `-I'.
5318 (do_file): Simplify, using new
5319 `include_search_path.open_file_cautious'.
5321 * src/roff/groff/groff.cpp (print_commands): Accept file handle as
5323 (main): Pass arguments to `-I' to both troff and devices.
5324 Improve handling of `-V'.
5325 * src/roff/groff/groff.man: Document changes to -I and -V.
5327 * src/roff/troff/input.cpp (include_search_path): New global
5329 (next_file, source, ps_bbox_request, transparent_file,
5330 process_input_file): Use new
5331 `include_search_path.open_file_cautious'.
5332 (main) Handle `-I' switch.
5333 * src/roff/troff/node.cpp (troff_output_file::really_copy_file):
5334 Use new `include_search_path.open_file_cautious'.
5335 * src/roff/troff/node.h: New extern symbol `include_search_path'.
5336 * src/roff/troff/troff.man: Document new `-I' switch.
5338 2003-09-15 Ruslan Ermilov <ru@FreeBSD.org>
5340 Support multiple calls of .Lb in LIBRARY section.
5342 * tmac/doc-common (doc-in-library-section): New register.
5343 (doc-section-library): New string.
5344 (Sh): Set `doc-in-library-section'.
5346 * tmac/doc-syms (Lb): Insert breaks before and after arguments
5347 if in LIBRARY section.
5348 * tmac/doc.tmac (doc-save-global-vars): Updated.
5349 * NEWS, tmac/groff_mdoc.man: Updated.
5351 2003-09-14 Ruslan Ermilov <ru@FreeBSD.org>
5353 * tmac/doc-common (doc-default-operating-system): New variable.
5356 2003-09-08 Werner LEMBERG <wl@gnu.org>
5358 * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also.
5360 2003-08-31 Werner LEMBERG <wl@gnu.org>
5362 * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
5363 (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
5364 $(DEVFILES) are not empty.
5365 * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
5367 2003-08-23 Stephen Gildea <http://www.gildea.com/stephen>
5369 * src/preproc/ref/ref.cpp (reference::compute_sort_key): Always
5370 insert SORT_SEP. With certain combinations of sort specifications,
5371 refer sorted entries in the wrong order. In particular, entries
5372 with a missing field should be be sorted before all entries that
5373 have that field, before refer looks to the next field.
5375 2003-08-23 Werner LEMBERG <wl@gnu.org>
5377 * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the
5378 g++ linker is used. Reported by Mark J. Reed
5379 <mark.reed@turner.com>.
5381 2003-08-16 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
5383 Add key character `x' to tbl which makes tbl call a user-defined
5384 macro on a table cell.
5386 * src/preproc/tbl/table.h (entry_modifier): Add `macro'.
5387 * src/preproc/tbl/table.cpp (block_entry::do_divert): Call
5388 `set_modifier' after printing the compatibility request.
5389 (set_modifier): Print call to `m->macro' if not empty.
5390 * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
5392 (process_format): Implement cases `x' and `X'.
5393 * src/preproc/tbl/tbl.man, NEWS: Updated.
5395 2003-08-15 Werner LEMBERG <wl@gnu.org>
5397 * doc/groff.texinfo: Minor fixes.
5399 2003-08-09 Werner LEMBERG <wl@gnu.org>
5401 * tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
5403 2003-08-07 Werner LEMBERG <wl@gnu.org>
5405 * doc/Makefile.sub: Not all shells expand wildcards in the `for'
5406 argument list to nothing if there is no file to match. Use `ls' as
5407 a protection, similar to autoconf.
5409 * Makefile.comm (install_dev, uninstall_dev): Protect `for' against
5410 empty argument lists.
5412 * doc/groff.texinfo: Improve documentation how vertical spacing
5413 and line breaks interact.
5416 * tmac/www.tmac: Initialize `www-htmlimage-gap'.
5418 2003-08-03 Werner LEMBERG <wl@gnu.org>
5420 * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
5421 EPS (using eps2eps or similar programs to compute the bounding box).
5423 2003-07-24 Werner LEMBERG <wl@gnu.org>
5425 * doc/groff.texinfo: Use the new @/ command to avoid overlong lines.
5426 * doc/texinfo.tex: Updated from texinfo 4.6.
5427 * README.CVS: From now on we need texinfo 4.6.
5429 2003-07-23 Werner LEMBERG <wl@gnu.org>
5431 Add requests `dei1' and `ami1' for completeness.
5433 * src/roff/troff/input.cc (calling_mode): Remove
5434 CALLING_DISABLE_COMP.
5435 (comp_mode): New enumeration.
5436 (do_define_string, define_string, define_nocomp_string,
5437 append_string, append_nocomp_string): Updated.
5438 (do_define_macro): Add third parameter.
5439 (define_macro, define_nocomp_macro, define_indirect_macro,
5440 append_macro, append_nocomp_macro, append_indirect_macro): Updated.
5441 (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
5444 (init_input_requests): Add `dei1' and `ami1'.
5446 * tmac/trace.tmac: Handle de1 and am1.
5447 (de): Improve tracing message.
5448 (am): Add missing `do'.
5451 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5452 Document new requests.
5454 2003-07-22 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
5456 Add option -G to .MPIMG to insert a gap between text and the image.
5458 * tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
5459 www-finish-left-ll): Updated.
5460 (www-image-just, www-image-gap, www-htmlimage-gap): New variables.
5461 (MPIMG): Make option -L and -R optional.
5462 Implement option -G.
5464 2003-07-22 Gaius Mulley <gaius@glam.ac.uk>
5466 * src/devices/grohtml/post-html.cpp
5467 (html_printer::do_file_components): Don't use `stdout' as lvalue
5468 since it can be a macro.
5470 2003-07-22 Werner LEMBERG <wl@gnu.org>
5472 * src/libs/libgroff/strerror.c: Include errno.h to be in sync with
5473 the corresponding test in aclocal.m4.
5475 2003-07-21 Werner LEMBERG <wl@gnu.org>
5477 * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour
5478 names but RGB values directly. Otherwise pnmtopng depends on
5479 an external file `rgb.txt' which maps colour names to values.
5481 2003-07-20 Werner LEMBERG <wl@gnu.org>
5483 * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
5484 * configure, src/include/config.hin: Regenerated.
5486 * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
5488 2003-07-19 Werner LEMBERG <wl@gnu.org>
5490 * PROBLEMS: Add solution for UTF-8 problem with hyphens.
5492 2003-07-18 Werner LEMBERG <wl@gnu.org>
5494 * *.man: Switch to non-compatibility mode temporarily if GNU
5495 syntax extensions are used in the particular man page.
5497 * PROBLEMS: Add solutions for SGR problems.
5499 2003-07-17 Werner LEMBERG <wl@gnu.org>
5501 Don't ignore grotty's command line options if \X'tty: sgr ...' is
5502 used to change the drawing scheme.
5504 * src/devives/grotty/tty.cpp (bold_flag_option,
5505 underline_flag_option, italic_flag_option, reverse_flag_option,
5506 bold_underline_mode_option): New global variables.
5507 (update_options): New function.
5508 (tty_printer::special): Call update_options.
5509 (main): Don't set xxx_flag but xxx_flag_option, then call
5512 2003-07-14 Werner LEMBERG <wl@gnu.org>
5514 Make grotty emit proper Unicode box drawing characters for -Tutf8.
5516 * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum
5518 (hline_char, vline_char): New global variables.
5519 (tty_printer::tty_printer): Initialize them.
5520 (tty_printer::draw): Emit START_LINE and END_LINE flags for both
5521 horizontal and vertical lines.
5522 (crossings): New global array.
5523 (tty_printer::end_page): Use it to determine the proper crossing
5524 character for -Tutf8.
5526 2003-07-12 Werner LEMBERG <wl@gnu.org>
5528 * doc/Makefilesub (HTMLDOCFILESALL): New macro.
5529 (HTMLDOCFILES): Revert to `pic.html'.
5530 (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
5532 2003-07-11 Werner LEMBERG <wl@gnu.org>
5534 * doc/pic.ms: Improve documentation of absolute coordinates.
5535 Document absolute positioning of pictures.
5537 * NEWS: Add new pic capability.
5539 2003-07-09 Hartmut Henkel <hartmut_henkel@gmx.de>
5541 * src/libs/libgroff/geometry.cpp (check_output_arc_limits):
5544 2003-07-07 Werner LEMBERG <wl@gnu.org>
5546 Implement support for dashed and dotted ellipses in pic. Based on
5547 a patch from Hartmut Henkel <hartmut_henkel@gmx.de>.
5549 * src/preproc/pic/common.cpp (common_output::ellipse_arc,
5550 common_output::dashed_ellipse, common_output::dotted_ellipse): New
5551 functions. Ellipse arcs are approximated with circle arcs.
5552 * src/preproc/pic/common.h (common_output): Updated.
5553 * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse
5555 * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto.
5557 * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated.
5559 2003-07-06 Werner LEMBERG <wl@gnu.org>
5561 Make grotty work on platforms which have unsigned char as the
5562 default for char. Based on a patch by Thomas Klausner
5565 * src/devices/grotty/tty.cpp (schar): New typedef.
5566 Updated calls to declare_ptable and implement_ptable.
5567 (glyph): Use schar for back_color_idx and fore_color_idx.
5568 (tty_printer): Use schar for curr_fore_idx and curr_back_idx.
5569 (tty_printer::tty_color, tty_printer::tty_printer,
5570 tty_printer::color_to_idx, tty_printer::put_color): Updated.
5572 2003-07-06 Ruslan Ermilov <ru@FreeBSD.org>
5574 * src/roff/nroff/nroff.sh: Add option -d for completeness.
5575 * src/roff/nroff/nroff.man: Updated.
5577 2003-07-05 Werner LEMBERG <wl@gnu.org>
5579 * NEWS, tmac/groff_www.man: Updated.
5580 * doc/Makefile.sub: Updated.
5582 2003-07-05 Gaius Mulley <gaius@glam.ac.uk>
5584 Implement support for multiple HTML output files.
5586 * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
5587 -j command line option.
5589 * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
5591 (file): New fields `new_output_file', `require_links',
5593 (file::file): Updated.
5594 (files::set_file_name, files::set_links_required,
5595 files::are_links_required, files::is_new_output_file,
5596 files::file_name, files::next_file_name): New functions.
5597 (header_desc): New fields `no_of_level_one_headings',
5599 (header_desc::header_desc): Updated.
5600 (header_desc::write_headings): Handle multiple files.
5601 (html_printer::write_header): Save file name in which header occurs.
5602 (html_printer::determine_header_level): Possibly split files on
5604 (html_printer::do_links, html_printer::troff_tag): Updated.
5605 (html_printer::insert_split_file, html_printer::do_job_name,
5606 html_printer::emit_link, html_printer::write_navigation,
5607 html_printer::do_file_components): New functions.
5608 (html_printer::~html_printer): Handle multiple files.
5609 (main): Handle command line option `-j'.
5611 * src/devices/grohtml/grohtml.man: Updated.
5613 * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
5616 * tmac/www.tmac (JOBNAME): New macro.
5617 * tmac/s.tmac (SH-NO-TAG): New macro.
5618 (@SH): Call SH-NO-TAG.
5621 2003-07-05 Ruslan Ermilov <ru@FreeBSD.org>
5623 * tmac/groff_mdoc.man: Improve documentation of punctuation
5626 2003-07-04 Ruslan Ermilov <ru@FreeBSD.org>
5628 * tmac/doc.tmac (Bd): Change to doc-Li-font later.
5630 2003-07-03 Werner LEMBERG <wl@gnu.org>
5632 * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
5634 2003-07-01 Ruslan Ermilov <ru@FreeBSD.org>
5636 * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
5637 after `/*' and `*/'.
5639 (Fn, Fo): Reduce indentation in synopsis.
5641 * tmac/doc-common (doc-check-depth): New macro.
5642 (doc-end-macro, Sh, Ss): Use it.
5643 (Cd): Fix behaviour in synopsis.
5644 (In): Make it parsed and callable.
5645 If not in the synopsis, represent the C header file enclosed in
5647 (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
5648 Use minus, not hyphen.
5650 * tmac/groff_mdoc.man: Updated.
5652 2003-07-01 Werner LEMBERG <wl@gnu.org>
5654 Integrated grap2graph, contributed by Eric S. Raymond.
5656 * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
5658 * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
5659 contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
5661 2003-07-01 Colin Watson <cjwatson@debian.org>
5663 * src/xditview/*.c: Add prototypes, fix return types, add includes.
5664 Based on work by Fumitoshi UKAI <ukai@debian.or.jp>.
5666 2003-06-31 Ruslan Ermilov <ru@FreeBSD.org>
5668 * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.
5670 2003-06-31 Werner LEMBERG <wl@gnu.org>
5672 * doc/Makefile.sub (CLEANADD): Remove all files created by
5673 running `make groff.{pdf,dvi}'.
5675 * Makefile.sub (DISTCLEANFILES): Remove all non-source files from
5678 2003-06-30 Werner LEMBERG <wl@gnu.org>
5680 * Makefile.in (SHELL): Define as @SHELL@.
5681 (mkinstalldirs): Use $(SHELL).
5682 (MDEFINES): Add $(SHELL).
5683 * Makefile.comm (SHELL): Removed.
5685 2003-06-29 Werner LEMBERG <wl@gnu.org>
5687 * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively.
5688 The X11 documentation files use them.
5689 * tmac/groff_ms.man, doc/groff.texinfo: Document them.
5691 2003-06-15 Robert Goulding <goulding@Princeton.EDU>
5693 * tmac/e.tmac (@C): Handle .ad also.
5695 2003-06-12 Werner LEMBERG <wl@gnu.org>
5697 * src/preproc/tbl/tbl.man: Document formatting of text blocks.
5699 * src/roff/troff/input.cc (token::next) <handle_escape_char>:
5700 Assign `n' even here. It is possible to construct a node
5701 immediately following an escape character:
5709 2003-06-10 Werner LEMBERG <wl@gnu.org>
5711 * README.WIN32: Removed.
5712 * MANIFEST: Updated.
5714 2003-06-07 Werner LEMBERG <wl@gnu.org>
5716 * src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
5718 2003-06-05 Werner LEMBERG <wl@gnu.org>
5720 * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug
5721 in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885).
5723 2003-06-03 Werner LEMBERG <wl@gnu.org>
5725 * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
5726 is done by the calling function.
5728 2003-05-22 Ruslan Ermilov <ru@FreeBSD.org>
5730 * tmac/X.tmac: Fix definition of `em'.
5732 2003-05-22 Werner LEMBERG <wl@gnu.org>
5734 * src/roff/troff/input.cc (return_macro_request): Fix detection of
5737 2003-05-18 Werner LEMBERG <wl@gnu.org>
5739 * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
5740 to make items work which consist only of a tag.
5742 2003-05-17 Werner LEMBERG <wl@gnu.org>
5744 * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
5745 aren't stretched in a tag (this can fail with unformatted boxes).
5746 Instead, insert a break and go back one line.
5748 2003-05-16 Werner LEMBERG <wl@gnu.org>
5750 * src/roff/troff/input.cc (return_macro_request): If called with
5751 argument pop macro twice. We need this to trace `return'.
5753 * tmac/trace.tmac: Handle `return'.
5756 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5759 2003-05-15 Larry Kollar <kollar@alltel.net>
5761 * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
5762 registers `FPS', `FVS', and `FPD'.
5764 2003-05-15 Werner LEMBERG <wl@gnu.org>
5766 * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter
5769 2003-05-03 Ruslan Ermilov <ru@FreeBSD.org>
5771 * tmac/groff_mdoc.man: Slight improvements.
5773 2003-05-03 Werner LEMBERG <wl@gnu.org>
5775 * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
5776 `doc-header-space' after header line if register `cR' is set.
5778 2003-05-02 Werner LEMBERG <wl@gnu.org>
5782 2003-05-01 Ruslan Ermilov <ru@FreeBSD.org>
5784 * tmac/doc-common (Nd): Use \[em].
5786 2003-05-01 Werner LEMBERG <wl@gnu.org>
5788 * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
5789 doc-footer-space): Initialize to 0.5i.
5790 (doc-setup-page-layout): Don't set doc-header-space and
5793 2003-04-30 Werner LEMBERG <wl@gnu.org>
5795 * REVISION: Set to 1.
5797 * doc/pic.ms: Document possible problems with `figname'.
5799 2003-04-29 Werner LEMBERG <wl@gnu.org>
5801 Version 1.19 released
5802 =====================
5804 * VERSION: Set to 1.19.
5805 * REVISION: Set to 0.
5806 * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
5808 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
5809 Define charset as `US-ASCII' in html output.
5811 * tmac/www.tmac (ULE): Add missing scaling indicator.
5813 * win32-diffs: Removed.
5815 2003-04-28 Werner LEMBERG <wl@gnu.org>
5817 * doc/groff.texinfo: Document `dn' and `dl' registers if used with
5819 Document how to insert discardable whitespace with `.ss'.
5821 2003-04-27 Werner LEMBERG <wl@gnu.org>
5823 * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code
5824 work with plain TeX also.
5826 * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
5828 2003-04-25 Gaius Mulley <gaius@glam.ac.uk>
5830 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
5833 2003-04-24 Werner LEMBERG <wl@gnu.org>
5835 * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
5836 vbox with positive height and zero depth if in TeX mode.
5838 * NEWS: Document glyph name changes for grodvi and grolj4.
5840 2003-04-23 Werner LEMBERG <wl@gnu.org>
5842 * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code.
5843 * doc/pic.ms: Fixed.
5845 2003-04-21 Werner LEMBERG <wl@gnu.org>
5847 HP-UX 10.20 has `snprintf' but it isn't declared.
5849 * configure.ac: Add declaration test for snprintf.
5850 * configure: Regenerated.
5851 * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
5852 * src/include/config.hin: Regenerated.
5854 2003-04-19 Werner LEMBERG <wl@gnu.org>
5856 Add keyword `figname' to pic, specifying the name of the picture
5857 box in TeX mode. Based on a patch from William J Poser
5858 <wjposer@unagi.cis.upenn.edu>.
5860 * src/preproc/pic/pic.y: New token `FIGNAME'.
5861 (macro_name): New rule of type <str>.
5862 (placeless_element): Handle `FIGNAME'.
5863 * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
5864 * src/preproc/pic/main.cpp (graphname): New global variable.
5865 (do_picture): Initialize `graphname'.
5866 * src/preproc/pic/pic.h: Updated.
5867 * src/preproc/pic/tex.cpp (tex_output::start_picture): Use
5870 (tex_output::text): Beautify output.
5871 * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
5872 `shaded' and `outlined' unconditionally.
5873 * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
5876 * PROBLEMS, README.CVS: Mention that bison version 1.875b or
5877 greater is necessary.
5879 2003-04-17 Hartmut Henkel <hartmut_henkel@gmx.de>
5881 Add option -r to soelim to avoid emission of `.lf' lines.
5882 Add option -t to produces TeX comment lines instead of `.lf' lines.
5884 * src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
5887 (main): Handle `-r' and `-t'.
5888 (set_location): Handle `raw_flag' and `tex_flag'.
5889 * src/preproc/soelim/soelim.man, NEWS: Updated.
5891 2003-04-17 Werner LEMBERG <wl@gnu.org>
5893 * tmac/hyphenex.sh: Replaced with...
5894 * tmac/hyphenex.pl: This perl script to avoid sed compatibility
5897 * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
5898 if --quiet is used for the configure script.
5899 * configure: Regenerated.
5901 2003-04-16 Werner LEMBERG <wl@gnu.org>
5903 * src/devices/grohtml/post-html.cpp (text_glob::text_glob):
5904 Add `const' to second argument.
5905 (html_printer::add_table_end): Add `const' to argument.
5906 * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
5907 `const' to arguments.
5908 * src/devices/grohtml/html-text.h: Updated.
5910 * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
5911 * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
5914 * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
5915 cast for integer constant.
5917 * src/preproc/html/pre-html.cpp (image_device): Use `const'.
5918 (writeNbytes): Add `const' to first argument.
5919 (writeString): Add `const' to argument.
5920 (char_buffer::can_see): Add `const' to third argument.
5921 * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
5922 `const' to argument.
5923 * src/preproc/html/pushback.h: Updated.
5925 * src/preproc/soelim/soelim.cpp (include_list): Add `const'.
5926 (include_path_append): Add `const' to argument.
5929 * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
5931 (unicode_to_glyph_init::unicode_to_glyph_init): Updated.
5932 * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
5934 (unicode_decompose_init::unicode_decompose_init): Updated.
5935 * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
5937 (glyph_to_unicode_init::glyph_to_unicode_init): Updated.
5938 * src/roff/troff/input.cc (process_startup_file): Add `const' to
5941 * tmac/hyphenex.sh: Make script more portable by using a here
5944 2003-04-15 Werner LEMBERG <wl@gnu.org>
5946 Renamed all `*.cc' files to `*.cpp'.
5947 Updated all configuration files, makefiles, and documentation.
5949 2003-04-14 Werner LEMBERG <wl@gnu.org>
5951 * tmac/hyphenex.sh: Slight improvements.
5953 2003-04-13 Werner LEMBERG <wl@gnu.org>
5955 * font/devascii/R.proto, font/devcp1037/R.proto,
5956 font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
5957 character slots with unnamed glyphs.
5959 * tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
5960 (an-first): New global variable.
5961 (an-header): Emit vertical space between multiple man pages.
5963 2003-04-11 Werner LEMBERG <wl@gnu.org>
5965 * doc/groff.texinfo, man/groff_out.man: \S only accepts integer
5968 2003-04-10 Werner LEMBERG <wl@gnu.org>
5970 * PROBLEMS: Revised.
5972 2003-04-10 Bernd Warken <bwarken@mayn.de>
5974 * doc/webpage.ms: Improved.
5976 2003-04-09 Werner LEMBERG <wl@gnu.org>
5978 Add register \n[.height] which returns the value of \H.
5979 Add register \n[.slant] which returns the value of \S.
5981 * src/roff/troff/env.cc (init_env_requests): Implement.
5982 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5985 2003-04-08 Werner LEMBERG <wl@gnu.org>
5987 * tmac/html.tmac: Move some of the data into html-end.tmac.
5988 Remove most of the character translations for eqn since html fonts
5989 now cover those characters.
5991 * tmac/html-end.tmac: New file.
5992 * tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
5993 * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
5994 * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
5996 2003-04-07 Werner LEMBERG <wl@gnu.org>
5998 * man/groff_out.man: Document negative values of `N' if -Thtml is
6001 2003-04-06 Werner LEMBERG <wl@gnu.org>
6003 * Makefile.comm (depend.temp): Check location of YTABC.
6005 2003-04-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6007 * doc/Makefile.in (TROFFBIN): New variable for troff
6009 (GROFFBIN): New variable for groff binary path.
6010 (groff_bin_path): Rename to GROFF_BIN_PATH.
6011 (TROFF): Use TROFFBIN.
6012 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6013 * doc/Makefile.sub (GROFFBIN): New variable for groff
6015 (groff_bin_path): Rename to GROFF_BIN_PATH.
6016 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6018 * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
6019 with INSTALL_SCRIPT.
6020 (uninstall_dev): Uninstall scripts from DEVSCRIPTS.
6021 * Makefile.dev (all): Depend on DEVSCRIPTS.
6022 (install_dev): Likewise.
6023 * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
6025 * font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
6026 (DEVGENSCRIPTS): New variable to hold generated scripts.
6028 2003-04-05 Werner LEMBERG <wl@gnu.org>
6030 * src/libs/libdriver/input.cc (IntArray::operator[],
6031 IntArray::get_data): Remove meaningless `const' in return value.
6033 * README.CVS: New file.
6035 2003-04-04 Werner LEMBERG <wl@gnu.org>
6037 Check for stdint.h in C++, not in C.
6039 * aclocal.m4 (GROFF_STDINT_H): New function,
6040 * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
6042 * configure, src/include/config.hin: Regenerated.
6043 * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
6046 Fix handling of in grohtml. To do this, troff emits `N'
6047 with a negative value, representing the width of the unbreakable
6048 space (only for -Thtml). grohtml then converts this back to
6049 and uses the value of N as its width.
6051 * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6052 unbreakable_space_node::tprint): Emit `N-<width>'.
6053 * src/include/printer.h (printer::set_numbered_char): Make it
6055 Make members `font_table' and `nfonts' protected instead of private.
6056 * src/devices/grohtml/post-html.cc
6057 (html_printer::set_numbered_char): New member function.
6060 * src/libs/libgroff/maxfilename.cc:
6061 s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
6063 * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
6066 2003-04-03 Sergey A. Osokin <osa@freebsd.org.ru>
6068 * man/roff.man: Small fixes.
6070 2003-04-03 Werner LEMBERG <wl@gnu.org>
6072 Make groff independent from locale's numeric settings.
6074 * configure.ac: Check for `setlocale'.
6075 * configure, src/include/config.hin: Regenerated.
6077 * src/include/lib.h: Handle HAVE_SETLOCALE.
6079 * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
6080 (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
6081 (main), src/preproc/pic/main.cc (main): Call `setlocale'.
6084 * doc/groff.texinfo: Change dir category to `Typesetting'.
6085 (Man font macros): Mention that there is no space between arguments
6088 * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
6089 (*printer::change_color, *printer::change_fill_color): Add missing
6092 2003-04-02 Werner LEMBERG <wl@gnu.org>
6094 * src/devices/grohtml/html-table.cc (html_table::emit_col,
6095 html_table::is_gap): Compute table widths after converting border
6096 positions to avoid rounding errors.
6098 2003-04-01 Werner LEMBERG <wl@gnu.org>
6100 * src/devices/grohtml/html-text.cc (html_text::do_space): Handle
6101 `space_emitted' properly.
6103 2003-03-31 Werner LEMBERG <wl@gnu.org>
6105 * src/devices/grohtml/html-table.cc: Fix column width calculation.
6106 (html_table::set_linelength): Don't add 1.
6107 (html_table::add_indent): Don't subtract 1.
6109 * tmac/html.tmac: Set default page offset to zero.
6111 2003-03-30 Werner LEMBERG <wl@gnu.org>
6113 Make groff emit ` ' for `\ ' and `\~' if `-Thtml' is used.
6115 * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6116 unbreakable_space_node::tprint): New functions.
6117 (troff_output_file): Make space_char_hmotion_mode::tprint and
6118 unbreakable_space_node::tprint to friends.
6119 * src/roff/troff/node.h: Updated.
6121 * font/devhtml/R.proto: Add ` ' at position 0xA0 (as defined
6122 in the HTML standard).
6124 2003-03-29 Werner LEMBERG <wl@gnu.org>
6126 * src/roff/troff/env.cc (point_size): Fix emission of html tag.
6127 Otherwise, the following code
6136 produces `x a' instead of `xa'. This is a temporary fix, disabling
6137 font changes in diversions for -Thtml.
6139 * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
6141 (an-do-tag-html): Merge with ...
6142 (an-do-tag): This macro.
6143 Change code slightly to circumvent grohtml bug.
6144 * tmac/troffrc-end: Define dummy for HTML-TAG-NS.
6146 * src/devices/grohtml/html-table.cc (html_table::emit_col,
6147 html_table::is_gap): Round `width' properly.
6149 * tmac/html.tmac: Provide some default layout parameters for
6152 * font/devhtml/DESC.proto: Don't use discrete values for `sizes'
6155 2003-03-28 Werner LEMBERG <wl@gnu.org>
6157 src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
6159 2003-03-27 Werner LEMBERG <wl@gnu.org>
6161 * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
6164 2003-03-20 Werner LEMBERG <wl@gnu.org>
6166 * src/roff/troff/env.cc (vertical_spacing): Allow zero value for
6168 * doc/groff.texinfo: Updated.
6170 2003-03-19 Werner LEMBERG <wl@gnu.org>
6172 * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
6173 TOKEN_END_TRAP>: Reset `have_input'.
6175 2003-03-18 Werner LEMBERG <wl@gnu.org>
6177 * src/roff/groff/groff.man: Mention groff_trace man page.
6179 2003-03-16 Werner LEMBERG <wl@gnu.org>
6181 * Makefile.in (LIBEXT): New variable to indicate the file extension
6182 of library files. Computed heuristically from $(OBJEXT).
6183 (MDEFINES): Add $(LIBEXT).
6184 * Makefile.lib, Makefile.comm: Use it.
6186 * src/utils/pfbtops/pfbtops.c (get_text): New function. Split
6187 overlong lines into smaller chunks.
6188 (get_binary): New function.
6190 * src/utils/pfbtops/pfbtops.man: Updated.
6192 2003-03-15 Colin Watson <cjwatson@debian.org>
6194 * src/roff/groff/groff.man: Minor syntax fix.
6196 2003-03-14 Egil Kvaleberg <egil@kvaleberg.no>
6198 * src/devices/grops/ps.cc (ps_printer::media_set,
6199 ps_printer::~ps_printer): Handle zero paper width and length.
6201 2003-03-13 Werner LEMBERG <wl@gnu.org>
6203 Add options -p and -l to grodvi.
6205 * src/devices/grodvi/dvi.cc: Include paper.h.
6206 (landscape_flag, user_paper_length, user_paper_width): New global
6208 (dvi_printer::begin_page): Emit `papersize' special.
6209 Set color after initialization of `cur_h' and `cur_v'.
6210 (main): Add options `-l' and `-p'.
6211 * font/devdvi/Makefile.sub (DESC): Set `papersize'.
6212 * src/devices/grodvi/grodvi.man, NEWS: Updated.
6214 * src/devices/grops/psrm.cc (valid_input_table): Fixed.
6216 2003-03-12 Werner LEMBERG <wl@gnu.org>
6218 * src/devices/grops/grops.man: Move documentation of .PSPIC to...
6219 * man/groff_tmac.man: This man page.
6220 * man/groff_font.man: Declare `paperwidth' and `paperlength' as
6223 * tmac/X.tmac: Don't load pspic.tmac.
6225 2003-03-11 Werner LEMBERG <wl@gnu.org>
6227 Make variable `pr' local to libdriver/input.cc. Based on a patch
6228 by Bernd Warken <bwarken@mayn.de>.
6230 * src/include/driver.h (pr): Removed.
6232 * src/libs/libdriver/input.cc (pr): New global variable.
6233 (do_file): Deallocate `pr'.
6234 * src/libs/libdriver/printer.cc (pr): Removed.
6236 * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
6237 (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
6238 (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
6239 (main): Don't delete `pr'.
6241 2003-03-10 Werner LEMBERG <wl@gnu.org>
6243 * tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
6244 * tmac/papersize.tmac: New file.
6245 * tmac/troffrc: Include `papersize.tmac'.
6246 * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
6247 * tmac/an-old.tmac: Set LT to LL by default.
6249 * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
6250 doc/groff.texinfo: Updated.
6252 * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
6253 bug which caused all odd iso papers to have wrong dimensions.
6255 * src/devices/grops/ps.cc (user_paper_width): New global variable.
6256 (main) <'p'>: Set `user_paper_width' also.
6257 (ps_printer::media_width, ps_printer::media_height): Use values
6258 given with option `-p'.
6260 2003-03-09 Werner LEMBERG <wl@gnu.org>
6262 * src/include/nonposix.h: Provide default for SET_BINARY.
6264 * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc,
6265 src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY
6268 * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally.
6269 (main): Treat \r\n as \n.
6271 2003-03-08 Werner LEMBERG <wl@gnu.org>
6273 * tmac/an-old.tmac: Use register `HY' to control hyphenation.
6274 * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
6276 2003-03-07 Werner LEMBERG <wl@gnu.org>
6278 Added support to access more than 256 glyphs in Type 1 fonts.
6280 * src/devices/grops/ps.cc (subencoding): New structure.
6281 (style): Add `sub' field.
6283 (ps_printer): Add `subencodings' and `next_subencoding_index' fields.
6284 Add `set_subencoding', `get_subfont' and `encode_subfont' member
6287 (ps_printer::set_char): Use `set_subencoding'.
6288 (make_subencoding_name): New function.
6289 (ps_printer::set_style): Handle case where `sty.sub' is not zero.
6290 (ps_printer::~ps_printer): Emit subencoding definitions.
6292 * src/devices/grops/psrm.cc (valid_input_table): New array to
6293 properly support EBCDIC.
6294 (white_space): Add `\f'.
6295 (ps_get_line): Change first argument to be of type `string &'.
6296 Updated all callers.
6297 This allows to get lines of arbitrary length.
6298 Use `valid_input_table'.
6299 Remove warning about non-conforming PS line length. This seems
6300 not to be of great importance -- for example, dvips don't emit
6302 (PS_LINE_MAX): Removed.
6303 (matches_comment): Change first argument to be of type `string &'.
6305 * src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
6307 * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
6308 %AGL_to_unicode, %default_ligatures): New hash tables.
6309 Read all map entries.
6310 Add unencoded characters.
6311 Check for default ligatures if there are no `L' entries.
6312 Print all kern entries.
6313 Print all characters in charset.
6314 * src/utils/afmtodit/afmtodit.man: Updated.
6316 * font/devps/*: Regerated all fonts.
6318 * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
6319 of characters, just use `.trin'. Otherwise the mapping depends
6320 on the font encoding.
6321 * tmac/ps.tmac: Add `fi' and `fl'.
6322 Improve `Fi' and `Fl'.
6323 * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
6324 * tmac/Xps.tmac: Fix `em'.
6328 2003-03-04 Werner LEMBERG <wl@gnu.org>
6330 * src/roff/troff/input.cc (charinfo_to_node_list): Reset
6333 2003-03-03 Werner LEMBERG <wl@gnu.org>
6335 * Makefile.sub (DISTCLEANFILES): Add gxditview._man.
6337 * font/devps/generate/textmap: Remove entry `similarequal'.
6338 * font/devps/symbolmap: Updated.
6340 2003-03-02 Werner LEMBERG <wl@gnu.org>
6342 * src/libs/libgroff/font.cc (font::load): Fix error message for
6345 * src/devices/grops/grops.man: Improve documentation of the -b
6348 * tmac/tty.tmac: Load latin1.tmac for all TTY devices except
6349 `ascii' and `cp1047'.
6351 2003-03-01 Werner LEMBERG <wl@gnu.org>
6353 Document composite glyphs and the `composite' request.
6355 * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
6357 2003-02-28 Werner LEMBERG <wl@gnu.org>
6359 * font/devdvi/generate/ec.map: Add some more Unicode entities.
6360 * font/devdvi/*EC: Updated.
6362 * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
6363 * tmac/latin1 (latin1-tr): Undo any previous mapping.
6364 * tmac/troffrc: Load `composite.tmac'.
6365 * tmac/Makefile.sub (NORMALFILES): Updated.
6367 * doc/groff.texinfo (Input Encodings): New section.
6370 2003-02-27 Werner LEMBERG <wl@gnu.org>
6372 * doc/texinfo.tex: New version 2003-02-11.06.
6374 * tmac/doc-common (Dt): Don't emit warning for unknown section.
6375 * tmac/groff_mdoc.man: Fix description of `Dt'.
6377 2003-02-26 Egil Kvaleberg <egil@kvaleberg.no>
6379 * font/devps/prologue.ps: Fix for included Postscript that does
6380 a setpagedevice -- which is now safely ignored.
6384 * src/devices/grops/ps.cc: Now sets the page size in the generated
6385 document. This is done in two ways: Via a %%-comment for gv and
6386 the like, and via a PageSize and setpagedevice for programs that
6387 understands Postscript proper, like ps2pdf.
6389 * src/devices/grops/ps.h: New broken-flag to avoid page size
6390 definition, if required.
6392 * src/devices/grops/grops.man: New broken-flag 16 mentioned.
6394 * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
6395 Not really necessary due to the fix in prologue.ps, but cleaner:
6396 Such information does not belong in an .eps file.
6398 * doc/Makefile.sub: See doc/Makefile.in.
6400 2003-02-26 Ralph Corderoy <ralph@inputplus.co.uk>
6402 * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
6403 instead of P1 since the latter is broken in some versions of netpbm.
6404 * configure: Updated.
6406 2003-02-26 Larry Kollar <kollar@alltel.net>
6408 Make man pages more customizable.
6410 * tmac/an-old.tmac (FT): New register holding footer distance from
6412 (HF): New string holding the default heading font.
6413 (TH): Handle registers `IN' and `SN' set on the command line.
6415 (PT, BT): New strings to customize header and footer lines.
6416 (an-header, an-footer): Use them.
6418 * tmac/groff_man.man: Document changes.
6420 * doc/groff.texinfo: Document man changes.
6421 Document Ultrix extensions of man.
6423 2003-02-26 Werner LEMBERG <wl@gnu.org>
6425 * src/roff/troff/input.cc (do_width, do_if_request): Reset
6426 `have_input' after changing back to old environment.
6428 * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
6429 function up to be defined before first call. This is necessary to
6430 avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
6432 * src/utils/afmtodit/afmtodit.pl: Make script search for files in
6433 the default font directory also. Based on a patch from James
6434 J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
6435 * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
6436 * src/utils/afmtodit/afmtodit.man: Document it.
6440 * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
6442 2003-02-25 Gaius Mulley <gaius@glam.ac.uk>
6444 * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
6445 (GROFF_PNMTOPS_NOSETPAGE): New macro.
6446 * configure.ac: Use it.
6447 * configure: Regenerated.
6448 * Makefile.in: Updated.
6450 * tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
6451 (CLEANADD): Add www.tmac-sed.
6452 (pnmtops_nosetpage): Define default.
6453 (install_data): Handle www.tmac-sed and substitute
6454 @PNMTOPS_NOSETPAGE@.
6455 (stamp-sed): Add www.tmac.
6456 * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
6457 It now breaks URLs at suitable places.
6458 (www:substring_ok): New register set by...
6459 (www:@test_substring): New macro.
6460 (www:error): New alias to www-error.
6461 (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
6463 (URL): Use www:url_breaks.
6464 (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
6465 (CDS, CDE): New macros.
6467 2003-02-25 Werner LEMBERG <wl@gnu.org>
6469 * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
6472 2003-02-24 Werner LEMBERG <wl@gnu.org>
6474 Contrary to the PCL5 Developer's Guide, the ascenders in TFM files
6475 can be negative also.
6477 * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be
6479 (read_char_table): Avoid negative ascenders.
6480 (output_charset): Add cast.
6481 * font/devlj4/*: Regenerated.
6483 Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where
6486 * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it.
6487 * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead
6489 * font/devdvi/*: Regenerated.
6491 Map `la' and `ra' to U+27E8 and U+27E9. These two characters have
6492 normal width, while the previously used characters (U+2329 and
6493 U+232A) are classified as wide due to canonical equivalence with the
6494 CJK punctuation characters U+3008 and U+3009.
6496 * font/devutf8/R.proto: Updated.
6497 * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto.
6499 * man/groff_char.man: Simplify handling of table traps by
6500 introducing `start block' and `end block' macros.
6501 (Ns, Ne, 2s, 2e, Ds, De): New macros.
6502 (DL): Make it work with Unix troff also.
6503 Fix code values of `la' and `ra'.
6505 * tmac/dvi.tmac: Define `<>' for CW and CWI.
6507 2003-02-23 Gaius Mulley <gaius@glam.ac.uk>
6509 * src/devices/grohtml/post-html.cc (element_list::~element_list):
6510 New destructor, fixing a major memory leak.
6512 2003-02-22 Werner LEMBERG <wl@gnu.org>
6514 * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'
6515 to be in conformance with Unicode 3.0 and newer.
6517 * font/devlj4/generate/text.map: Add `Eu'.
6518 * font/devlj4/generate/special.map: Flip `*e' and `+e'.
6519 * font/devlj4/S: Regenerated.
6521 * man/groff_char.man: Completely rewritten.
6523 * doc/groff.texinfo: Fix description of request and macro arguments.
6525 2003-02-20 Gaius Mulley <gaius@glam.ac.uk>
6529 * src/devices/grohtml/html-table.cc (html_table::~html_table):
6530 Deallocate `columns' list.
6531 * src/devices/grohtml/post-html.cc (char_block::~char_block):
6533 (text_glob::text_glob_html, text_glob::text_glob_special,
6534 text_glob::text_glob_line, text_glob::text_glob_auto_image,
6535 text_glob::text_glob_tag): Avoid memory leaks.
6536 (text_glob::remember_table): Free memory before reassigning.
6538 2003-02-19 Werner LEMBERG <wl@gnu.org>
6540 Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
6541 alias `hbar'), the Planck constant over two pi.
6543 * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
6544 `+e' for position 34.
6545 * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
6546 `u2662' and `u2661'.
6547 * font/devdvi/{MI,S}: Regenerated.
6548 * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
6549 * font/devlbp/*: Add `hbar' alias.
6550 * font/devlj4/generate/special.map: Ditto.
6551 * font/devlj4/S: Regenerated.
6552 * font/devps/generate/symbolchars: Add `+e'.
6553 * font/devps/generate/textmap: Fix PS name for `-h'.
6555 * font/devps/symbolmap: Regenerated.
6557 * src/devices/grops/ps.cc (transform_fill): Removed since unused.
6559 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
6561 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
6564 * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
6566 * tmac/tty-char.tmac: Add `+e'.
6568 2003-02-17 Werner LEMBERG <wl@gnu.org>
6570 Another round trying to really fix problems with `have_input'.
6572 * src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
6573 (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
6575 * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
6576 handling if both foreground and background colors are default.
6578 * doc/groff.texinfo (Debugging): Document .lf differences to
6581 2003-02-16 Werner LEMBERG <wl@gnu.org>
6583 * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid
6584 null-bytes in created string.
6586 * src/roff/troff/input.cc (lookup_color, interpolate_macro,
6587 alias_macro, lookup_request): Improve warning messages.
6589 * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave',
6591 Free `last_image_filename'.
6593 * src/preproc/html/pre-html.cc (char_block::char_block): Initialize
6595 (imageList::createPage, imageList::createImage): Use `free', not
6597 (imageItem::~imageItem): Free `imageName'.
6598 (addRegDef): Use `strsave', not `strdup'.
6599 (get_resolution): Free `pathp'.
6601 2003-02-15 Werner LEMBERG <wl@gnu.org>
6603 * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer
6606 2003-02-14 Werner LEMBERG <wl@gnu.org>
6608 Add memory management for colors to deallocate unnamed colors
6611 * src/include/color.h (color): New members `free_list' and `next'.
6612 New member functions `new' and `delete'.
6614 * src/libs/libgroff/color.cc: Implement it.
6616 * src/libs/libgroff/font.cc (font::add_kern): Use integer cast
6617 for array size of new operator.
6619 * src/libs/libdriver/input.cc (IntArray::operator[]): Remove
6620 redundant comparison.
6622 * src/roff/troff/input.cc (word_space_node::reread,
6623 hmotion_node::reread): Avoid warning about unused parameter.
6624 (reset_output_registers): Remove redundant parameter.
6625 (define_color): Undo change 2003-02-12.
6627 * src/roff/troff/reg.h: Updated.
6629 * src/roff/troff/node.cc (troff_output_file::really_print_line,
6630 output_file::put_filename, real_output_file::really_put_filename,
6631 ascii_output_file::really_print_line,
6632 break_char_node::get_hyphen_list): Avoid warning about unused
6634 (suppress_node::tprint): Updated.
6636 * configure.ac: Check declaration for rand() and srand().
6637 * configure: Regenerated.
6639 * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
6641 * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
6644 * src/preproc/eqn/delim.cc (delim_table): Add missing initializers
6645 to avoid compiler warnings.
6647 * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
6650 * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
6652 * src/devices/grops/psrm.cc (skip_possible_newline): Remove first
6654 Updated all callers.
6656 * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
6658 * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
6659 * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
6661 * src/devices/grohtml/post-html.cc (html_printer::emit_line):
6662 Parameter is unused.
6663 (html_printer::add_table_end): Define parameter conditionally.
6664 * src/devices/grohtml/output.cc (simple_output::special): Parameter
6667 * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
6668 (lbp_printer::set_char): Last parameter is unused.
6670 * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
6672 2003-02-13 Werner LEMBERG <wl@gnu.org>
6674 New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
6675 Make \D'f ...' move horizontally again for backwards compatibility.
6676 Replace it with \D'Fg ...' where appropriate to avoid dependency
6677 on horizontal resolution.
6679 * src/roff/troff/input.cc (do_get_long_name): New function.
6680 (get_long_name): Call it.
6682 (read_draw_node): Handle `\D'Fx ...' by calling ...
6683 (read_color_draw_node): New function.
6685 (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
6687 Pass it to `do_get_long_name' which is used instead of
6690 * src/libs/libdriver/input.cc (color_from_Df_command): Remove
6691 unnecessary value guard.
6692 (parse_D_command) <'f'>: Add horizontal shift.
6694 * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
6695 * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
6696 (FILL_MAX): Removed.
6698 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6701 2003-02-12 Werner LEMBERG <wl@gnu.org>
6703 * src/roff/troff/input.cc (do_name_test, do_expr_test,
6704 do_zero_width): Push `\n' if closing delimiter is missing.
6706 (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'.
6707 <'F'>: Make \F non-transparent at the beginning of line.
6708 (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
6709 token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
6712 (define_color): Free color in case of reassignment.
6714 * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
6715 @DefescListEnd): Use @Var, not @var.
6718 * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
6720 * src/preproc/pic/object.cc (object_spec::~object_spec): Free
6721 `shaded' and `outlined' arrays.
6722 (object_spec::object_spec): Initialize `shaded' and `outlined'.
6723 (graphic_object::set_fill_color, graphic_object::set_outline_color):
6725 (closed_object::set_fill_color): Ditto.
6726 * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
6728 (troff_output::reset_color): Use a_delete instead of free.
6729 * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
6731 2003-02-11 Werner LEMBERG <wl@gnu.org>
6733 * doc/groff.texinfo: Improve documentation of `ad'.
6734 Document that \D'f...' is dependent on the horizontal resolution.
6735 * man/groff_diff.man: Improve documentation of \D'f...'.
6737 * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
6738 compensating \h'...' for \D'f ...' since the latter no longer moves
6740 * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
6742 2003-02-10 Werner LEMBERG <wl@gnu.org>
6744 Improve error messages for `x F' (and `F') commands.
6746 * src/include/error.h: Add declaration for
6747 `current_source_filename'.
6748 * src/libs/libgroff/filename.cc: Add `current_source_filename'.
6749 * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add
6750 parameter for source file string.
6751 Updated all callers.
6753 * src/libs/libdriver/input.cc: Add `current_source_filename'.
6754 (remember_source_filename): New function.
6755 (parse_x_command <'F'>, do_file <'F'>): Use it.
6757 2003-02-09 Werner LEMBERG <wl@gnu.org>
6759 Make grotty not emit warnings about unknown colors more than
6762 * src/devices/grotty/tty.cc: Include `ptable.h'.
6763 (TTY_MAX_COLORS): Removed.
6764 (DEFAULT_COLOR_IDX): Defined to -1.
6765 (glyph): Change `back_color_idx' and `fore_color_idx' to `char'.
6766 (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'.
6767 Change `tty_colors' to be a ptable.
6768 First arg of `put_color' is now `char'.
6769 New functions `make_rgb_string' and `tty_color'.
6770 (tty_printer::tty_printer): Use `tty_color'.
6771 (tty_printer::color_to_idx): Return value is now `char'.
6774 * src/include/color.h (color): Add `print_color' member function.
6775 * src/libs/libgroff/color.cc (color::print_color): Implement it.
6777 2003-02-08 Werner LEMBERG <wl@gnu.org>
6781 * src/devices/grops/ps.cc (ps_printer::define_encoding): Close
6784 * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always
6785 assume that value has been allocated with `new[]', thus use
6786 `a_delete' for deallocation.
6788 * src/libs/libdriver/input.cc (get_integer_arg,
6789 get_possibly_int_args, parse_x_command, do_file): Use `a_delete'
6792 * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define.
6793 * src/libs/libgroff/nametoindex.cc
6794 (character_indexer::named_char_index): Use `new <type>[1]'.
6796 * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new
6798 * src/preproc/eqn/text.cc (set_special_char_type): Ditto.
6799 (split_text): Use `a_delete'.
6801 * src/preproc/pic/pic.y (define_label, define_variable): Use `new
6804 * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid
6805 harmless memory leak.
6806 (hyphen_trie::read_patterns_file): Initialize `buf'.
6807 * src/roff/troff/node.cc (troff_output_file::troff_output_file):
6808 Initialize `current_fill_color'and `current_glyph_color'.
6809 * src/roff/troff/glyphuni.cc
6810 (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'.
6811 * src/roff/troff/uniuni.cc
6812 (unicode_decompose_init::unicode_decompose_init): Ditto.
6813 * src/roff/troff/uniglyph.cc
6814 (unicode_to_glyph_init::unicode_to_glyph_init): Ditto.
6816 2003-01-26 Werner LEMBERG <wl@gnu.org>
6818 * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with
6819 `access' before calling `unlink'.
6820 (do_file): Handle __EMX__.
6822 * src/include/nonposix.h: Handle __EMX__.
6824 * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
6825 (fontpath,tmacpath): Use it.
6827 Sorted alphabetically.
6829 * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
6831 * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle
6834 2003-01-27 Werner LEMBERG <wl@gnu.org>
6836 * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
6837 New files, copied from gnulib.
6838 * src/libs/libgroff/Makefile.sub (CSRCS): Add them.
6839 * configure.ac: Updated.
6840 * configure: Regenerated.
6842 * src/include/config.hin: Regenerated.
6843 * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'.
6844 Don't define `strcasecmp' as `strcmp'.
6845 [!HAVE_STRNCASECMP]: Declare `strncasecmp'.
6846 Dont define `strncasecmp' as `strncmp'.
6848 * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
6851 2003-01-26 Werner LEMBERG <wl@gnu.org>
6853 * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo:
6856 2003-01-25 Werner LEMBERG <wl@gnu.org>
6858 * doc/groff.texinfo (Ligatures and Kerning): Mention limitations.
6860 2003-01-24 Werner LEMBERG <wl@gnu.org>
6862 Add US-english hyphenation exceptions (converted from Barbara
6863 Beeton's hyphenation exception log reports which appear irregularly
6866 * tmac/hyphen.us: Updated to latest version.
6867 * tmac/README: Updated.
6868 * tmac/hyphenex.us, tmac/hyphenex.sh: New files.
6869 * tmac/troffrc: Load `hyphenex.us'.
6870 * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
6871 * doc/groff.texinfo: Updated.
6873 2003-01-23 Werner LEMBERG <wl@gnu.org>
6875 Improve hyphenation slightly. This is a first step in redesigning
6876 the hyphenation algorithm to make it more flexible (e.g. allowing
6877 kerns and ligatures between the hyphenation character and the
6878 following character -- while not used normally in English, other
6879 languages like German would benefit).
6881 * src/roff/troff/env.cc (environment::hyphenate_line): Use
6882 assertion instead of if-clause.
6883 Let `get_hyphen_list' return the number of involved characters in
6884 the hyphenation pattern instead of computing it directly (which
6885 often yields too small values).
6886 * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
6887 * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
6890 2003-01-22 Werner LEMBERG <wl@gnu.org>
6892 Fixing a bug which caused groff to hang if the hyphenation exception
6893 dictionary tried to grow.
6895 * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
6896 hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
6897 pointer to dictionary.
6899 2003-01-20 Werner LEMBERG <wl@gnu.org>
6901 * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress
6902 negative left italic correction.
6903 * src/utils/afmtodit/afmtodit.man: Document it.
6905 * font/devps/generate/Makefile (RFLAG): Add `-m'.
6906 * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR,
6907 S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'.
6911 2003-01-16 Werner LEMBERG <wl@gnu.org>
6915 2003-01-16 Jörgen Grahn <jgrahn@algonet.se>
6917 * src/preproc/refer/refer.man: Mention REFER environment variable.
6919 2003-01-05 Werner LEMBERG <wl@gnu.org>
6921 Similar to \[is], the square root glyph (\[sr]) and the square root
6922 extension glyph (\[radicalex]) are now text symbols. The new
6923 mathematical versions are called \[sqrt] and \[sqrtex],
6926 * font/devX*/S: Regenerated.
6927 * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
6928 * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
6929 * font/devdvi/EX, font/devdvi/S: Regenerated.
6930 * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
6931 * font/devlj4/generate/special.map: Add `sqrt'.
6932 * font/devlj4/S: Regenerated.
6933 * font/devps/generate/textmap: Add `sqrt'.
6934 * font/devps/S, font/devps/symbolmap: Regenerated.
6936 * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
6937 SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
6938 * src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
6939 overlap horizontally.
6941 * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
6942 * tmac/dvi.tmac: Add `sr', and `sqrtex'.
6945 * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
6946 and `sqrtex' are overlapping glyphs.
6948 2003-01-04 Werner LEMBERG <wl@gnu.org>
6950 * font/devdvi/generate/texsy.map: Add `is'.
6951 * font/devps/symbolmap: Regenerated.
6952 * font/devdvi/*TC, MI, S: Regenerated.
6954 * tmac/dvi.tmac: Remove `is'.
6956 2003-01-03 Werner LEMBERG <wl@gnu.org>
6958 `is' is now a text symbol (only relevant for dvi). The math variant
6959 can be accessed with `integral'.
6961 * font/devX*/S: Regenerated.
6962 * font/devdvi/generate/texex.map: Remove `is'.
6963 * font/devdvi/EX: Updated.
6964 * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'.
6965 * font/devlj4/generate/special.map: Ditto.
6966 * font/devlj4/S: Regenerated.
6967 * font/devps/generate/textmap: Add `integral'.
6968 * font/devps/S: Regenerated.
6970 * tmac/dvi.tmac: Define `is'.
6972 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'.
6974 * src/preproc/tbl/main.cc (process_format): Fix error message.
6976 2003-01-02 Werner LEMBERG <wl@gnu.org>
6978 * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
6979 * font/devps/textmap: Fix entries for `ne' and `nc'.
6980 * font/devps/symbolmap: Regenerated.
6982 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list),
6983 src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18',
6984 `38', `58', `78', `-+', `|=', `nc', `ne'.
6986 * tmac/dvi.tmac: Add `nm', `ne', `nc'.
6987 Use `schar' for `aq'.
6988 * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'.
6989 * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'.
6990 * tmac/tty.tmac: Add `ne'.
6992 * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro'
6993 for fallback glyphs.
6995 2002-12-29 Werner LEMBERG <wl@gnu.org>
6999 * font/devX*/*: Regenerated.
7000 * font/devdvi/generate/ec.map: Remove `eq'.
7001 * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'.
7002 Assign `|=' to position 39.
7003 * font/devdvi/*EC, S: Regenerated.
7004 * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='.
7005 * font/devlj4/generate/special.map: Make `~=' the same as `~~'.
7006 Assign `|=' to position 549.
7007 * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove
7009 Add `uni2243' for `|='.
7011 * tmac/ec.tmac: Add `eq'.
7012 * tmac/dvi.tmac: Add `=~'.
7013 * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add
7016 2002-12-21 Werner LEMBERG <wl@gnu.org>
7018 * font/devdvi/generate/tc.map: Remove `**'.
7019 * font/devdvi/*TC: Regenerated.
7020 * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58',
7022 * font/devutf8/NOTES: Updated.
7024 * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function.
7025 Don't give default parameter to `set_macro'.
7026 * src/roff/troff/input.cc (do_define_character): Use `setx_macro'
7027 instead of `set_macro'.
7028 (charinfo::setx_macro): Implement it.
7029 (charinfo::set_macro): Don't change `mode'.
7031 * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'.
7032 * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'.
7033 * tmac/dvi.tmac: Define `!=' with `.schar'.
7035 2002-12-20 Werner LEMBERG <wl@gnu.org>
7037 * font/devX*/S: Regenerated.
7038 * font/devdvi/generate/ec.map: Remove `pl'.
7039 * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'.
7040 * font/devdvi/*{TC,EC}: Regenerated.
7041 * font/devhtml/R.proto: Add `-+'.
7042 Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'.
7043 * font/devlbp/*: Remove `or'.
7044 * font/devlj4/generate/special.map: Remove `or'.
7045 * font/devlj4/S: Regenerated.
7046 * font/devps/generate/textmap: Add `fiveeighths', `oneeighth',
7047 `seveneighths', `threeeighths'.
7049 Replace `minusplus' with `uni2213'.
7050 * font/devps/symbolmap: Regenerated.
7051 * font/devutf8/R.proto: Replace `shc' with unnamed glyph.
7054 * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline
7056 * src/roff/troff/node.cc (troff_output_file::put_char_width):
7057 Call glyph_color and fill_color even if tcommand_flag isn't set.
7058 (make_node, node::add_char): Check not ci->is_fallback but
7061 * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'.
7062 * tmac/ec.tmac: Add .rchar entry for `f/'.
7063 Don't remove `12', `14', `34'.
7064 Define `pl' to be always roman.
7065 * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros.
7066 Define `18', `38', `58', `78'.
7067 * tmac/tty.tmac: Add `-+'.
7068 * tmac/dvi.tmac: Define `f/'.
7069 (dvi-frac): Use `f/'.
7070 * tmac/X.tmac (X-frac, X-frac-mono): New macros.
7071 Define `18', `38', `58', `78'.
7073 2002-12-15 Colin Watson <cjwatson@debian.org>
7075 * contrib/pic2graph/pic2graph.sh: Add missing `;;'.
7077 2002-12-10 Werner LEMBERG <wl@gnu.org>
7079 Add glyph `tno', a textual variant of `no'.
7081 * font/devX*/*: Regenerated.
7082 * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
7083 * font/devdvi/generate/{tc.map: Replace `no' with `tno'.
7084 * font/devdvi/generated/{texsy,textex}.map: Add `tno'.
7085 * font/devdvi/*: Regenerated.
7086 * font/devlbp/*: Add `tno'.
7087 * font/devlj4/generate/tex.map: Replace `no' with `tno'.
7088 * font/devlj4/*: Regenerated.
7089 * font/devps/generate/textmap: Replace `no' with `tno'.
7090 * font/devps/generate/symbolchars: Add `no'.
7091 * font/devps/*: Regenerated.
7093 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
7095 * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
7096 * tmac/tty-char.tmac: Add entry for `tno' and `3d'.
7100 * tmac/dvi.tmac: Replace most `\\' with `\E'.
7101 Add definition for `sd'.
7102 * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
7104 * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
7106 2002-12-08 Werner LEMBERG <wl@gnu.org>
7108 * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
7109 mode to avoid rounding errors.
7110 (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
7112 * src/roff/groff/groff.man, src/roff/nroff/nroff.man,
7113 src/roff/troff/troff.man: Improve documentation of -T.
7115 2002-12-07 Jeff Conrad <jeff_conrad@msn.com>
7117 * src/roff/groff/pipeline.c: Don't define `const' for _WIN32.
7118 (run_pipeline) [_WIN32]: Provide working function without `fork'.
7120 2002-12-06 Werner LEMBERG <wl@gnu.org>
7122 * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol
7123 glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
7124 Scaling Euro.sansserif glyphs down to have the same height as
7126 Removed unnecessary points; added some extrema.
7128 * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7131 2002-12-04 Werner LEMBERG <wl@gnu.org>
7133 * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted'
7134 and `Euro.symbol.bold.slanted'.
7135 Improve some glyph offsets and widths.
7136 * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7138 * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
7140 * font/devps/generate/sfdtopfa.pe: Generate PFA in current
7143 * tmac/europs.tmac: Updated to new glyph indices.
7144 Use Euro.symbol for font familiy `A'.
7146 * doc/groff.texinfo: Minor improvements.
7148 2002-12-02 Werner LEMBERG <wl@gnu.org>
7150 * font/devdvi/generate.tc.map: s/%O/%0/.
7151 * font/devdvi/*TC: Regenerated.
7153 * src/roff/troff/div.cc (init_div_requests): Sorted.
7155 * tmac/dvi.tmac: Remove `Ye'.
7156 * tmac/ec.tmac: Remove `Ye'.
7157 Add .rchar entry for `de'.
7159 * man/groff.man, man/groff_diff.man: Document register `.pe'.
7160 * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
7163 2002-11-30 Werner LEMBERG <wl@gnu.org>
7165 Add PS font for various Euro glyphs.
7167 * font/devps/generate/freeeuro.sfd: New master font file for
7169 * font/devps/generate/sfdtopfa.pe: New conversion script for
7171 * font/devps/generate/Makefile (FONTS): Add `EURO'.
7172 (EURO, freeeuro.afm, freeeuro.pfa): New rules.
7173 * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
7175 * font/devps/EURO: Generated from `freeeuro.afm'.
7176 * font/devps/download: Add `freeuro.pfa'.
7177 * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
7180 * tmac/europs.tmac: New file.
7181 * tmac/ps.tmac: Include `europs.tmac'.
7182 * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
7184 2002-11-29 Werner LEMBERG <wl@gnu.org>
7186 * font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
7187 * font/devdvi/S: Regenerated.
7188 * font/devhtml/R.proto: Fix `CR' and `ci'.
7190 * font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
7192 * font/devps/symbolmap: Regenerated.
7193 * font/devutf8/R.proto: Fix `CR' and `ci'.
7195 * font/devutf8/NOTES: Updated.
7197 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
7200 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7202 * tmac/dvi.tmac: Add `lh' and `rh'.
7203 * tmac/Xps.tmac: Fix `lh' and `rh'.
7204 * tmac/X.tmac: Add `OK'.
7205 * tmac/lj4.tmac: Ditto.
7207 2002-11-24 Werner LEMBERG <wl@gnu.org>
7209 * font/devX*/S: Regenerated.
7210 * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
7211 `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
7212 * font/devdvi/generate/texsy.map: Remove `or' glyph.
7213 * font/devdvi/S: Regenerated.
7214 * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
7215 `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
7216 `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
7217 `bracketleftbt', `bracketrighttp', `bracketrightex',
7218 `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
7219 `braceex', `braceleftex', `bracerightex', `bracerighttp',
7220 `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
7222 * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
7223 * font/devutf8/NOTES: Updated.
7224 * font/devlj4/generate/special.map: Add glyph `braceex'.
7225 * font/devlj4/S: Regenerated.
7227 * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
7229 2002-11-14 Werner LEMBERG <wl@gnu.org>
7231 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'
7234 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7236 * doc/texinfo.tex: New version from texinfo 4.3.
7237 * doc/groff.texinfo: Updated for texinfo 4.3.
7238 Use @tie{} where appropriate.
7239 * font/devdvi/generate/ec.map: Don't include `or' and `bv'.
7240 * font/devdvi/generate/tc.map: Remove `rn'.
7241 * font/devdvi/*TC, font/devdvi/*EC: Regenerated.
7242 * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
7244 * font/devX100/*, font/devX100-12/*, font/devX75/*,
7245 font/devX75-12/*: Regenerated.
7247 * tmac/dvi.tmac: Add special fonts `SA' and `SB'.
7248 Use .char (again) for `br', `ul', `rn', `or', and `ru'.
7249 Improve definition of `an'.
7250 * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
7252 * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
7253 * tmac/X.tmac: Add definition for `or'.
7254 * tmac/Xps.tmac: Undo change 2002-11-05.
7255 * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
7257 2002-11-11 Werner LEMBERG <wl@gnu.org>
7259 * src/roff/troff/node.cc (troff_output_file::put_char): Always
7262 2002-11-10 Werner LEMBERG <wl@gnu.org>
7264 Added three new requests `schar', `fschar', and `rfschar'. `schar'
7265 defines a glyph which is searched after the check for fonts declared
7266 with `.special' (and before the check for all mounted special
7267 fonts). `fschar' defines a glyph for a particular font which is
7268 searched after the check for fonts declared with `.fspecial' (and
7269 before the check for fonts declared with `.special'). `rfschar'
7270 removes glyphs defined with `fschar'.
7272 * src/roff/troff/token.h (char_mode): New enum.
7273 Declare do_define_character.
7274 * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
7276 (charinfo::is_fallback): Updated.
7277 (charinfo::is_special): New method.
7278 * src/roff/troff/input.cc (do_define_character): Add and use
7279 optional second parameter used as a prefix for font-specific glyph
7281 (define_character, define_fallback_character): Updated.
7282 (define_special_character): New function.
7283 (init_input_requests): Add `schar'.
7284 (charinfo::charinfo, charinfo::set_macro): Updated.
7285 * src/roff/troff/node.cc: Include `stringclass.h'.
7286 (make_glyph_node): Handle special glyphs defined with `.schar' and
7288 (define_font_special_character, remove_font_special_character): New
7290 (init_node_requests): Sorted.
7291 Add `fschar' and `rfschar'.
7292 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
7293 Document new requests.
7295 * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
7296 * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
7298 2002-11-08 Werner LEMBERG <wl@gnu.org>
7300 Added new font `SC' (cmtex10) to devdvi.
7302 * devdvi/generate/Makefile (FONTS): Add `SC'.
7304 * devdvi/generate/textex.map: New map file for cmtex.
7306 * devdvi/Makefile.sub (DEVFILES): Updated.
7307 * tmac/dvi.tmac: Add fspecial entries for SC.
7308 Add `MI', `S' and `CW' to the `special' call. Otherwise, `SC' is
7309 found before `S' since the font position of `SC' is lower due to the
7310 gaps in DESC's `font' line.
7311 * tmac/ec.tmac: Add a `special' call.
7314 * font/devhtml/R.proto: Remove double entry for `ti'.
7315 * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
7316 * tmac/tty-char.tmac: Remove entry for `bq'.
7317 * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
7318 * tmac/ec.tmac: Don't remove `aq' glyph.
7319 * tmac/X.tmac: Fix entry for `em'.
7320 Add entries for `fo' and `fc'.
7321 * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
7323 * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
7324 documentation of `special' and `fspecial' requests.
7326 2002-11-05 Werner LEMBERG <wl@gnu.org>
7328 * font/devascii/R.proto, font/devcp1047/R.proto,
7329 font/devlatin1/R.proto: Remove entry for `.i'.
7330 * font/devdvi/generate/textt.map: Add entry for `ad'.
7331 * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
7332 font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
7333 We need this for getting kerning values to compose `/l' and `/L'.
7334 * font/devdvi: Regenerated font definition files for CM fonts.
7335 * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
7336 * font/devutf8/R.proto: Ditto.
7337 Remove double entry for `ti'.
7339 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
7340 for (groff) ligatures, `la', and `ra'.
7341 Add "'C", "'c", `IJ', and `ij'.
7342 Remove double entry for `ti'.
7343 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
7345 Add "'C", "'c", `IJ', and `ij'.
7346 Fix entries for (groff) ligatures, `la', and `ra'.
7348 * tmac/ps.tmac (ps-achar): New macro.
7349 Define "'c" and "'C".
7350 * tmac/tty.tmac: Add entry for `.i'.
7351 * tmac/X.tmac (X-achar): New macro.
7352 Define "'c", "'C", and `:Y'.
7353 Add entries for `IJ' and `ij'.
7354 * tmac/Xps.tmac (Xps-achar): New macro.
7355 Define "'c" and "'C".
7356 Add entries for `IJ' and `ij'.
7357 * tmac/lbp.tmac (lbp-achar): New macro.
7358 Add fallback characters for all groff ligatures and many other
7360 * tmac/dvi.tmac: Fix definitions of `_' and `ul'.
7361 Add entries for `/l' and `/L'.
7362 Define "'c" and "'C".
7363 Add entries for `IJ' and `ij'.
7365 2002-11-02 Larry Kollar <kollar@alltel.net>
7367 * PROBLEMS: Document how to solve Mac OS X compilation problems.
7369 2002-11-02 Werner LEMBERG <wl@gnu.org>
7371 Adding support for composite glyphs: \[xxx yyy ...] and the
7372 `composite' request.
7374 * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
7375 to Unicode-based glyph names.
7376 * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
7377 glyph names to groff glyph names.
7378 * src/roff/troff/uniuni.cc: New file for canonically decomposing
7379 Unicode-based glyph names.
7380 * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
7381 for handling Unicode glyph names.
7382 * src/roff/troff/input.cc: Include unicode.h.
7383 (composite_glyph_name): New function.
7384 (token::next) <'['>: Handle Unicode glyph names and composite
7386 (composite_dictionary): New dictionary for the `composite' request.
7387 (composite_request): Implement `composite' request.
7388 (init_input_requests): Add `composite'.
7389 Alphabetically sorted.
7390 * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
7392 (init_env_requests): Alphabetically sorted.
7393 Removed `tas' and `tar' (already commented out).
7394 * src/roff/troff/Makefile.sub: Updated.
7396 2002-10-31 Ruslan Ermilov <ru@FreeBSD.org>
7398 * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description
7401 2002-10-29 Werner LEMBERG <wl@gnu.org>
7403 Fix computation of .trunc register. Additionally, its value (and
7404 the value of the .ne register) is now always set before entering the
7407 * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
7408 `needed_space' before calling `space'.
7409 (top_level_diversion::space): Remove special code for 'sp before the
7411 Call `begin_page' with the discarded space as a parameter.
7412 (top_level_diversion::begin_page): Add optional parameter to set
7414 * src/roff/troff/div.h: Updated.
7416 * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
7419 * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
7420 (LP): Remove superfluous call to `br'.
7421 * tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
7422 * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7424 2002-10-26 Werner LEMBERG <wl@gnu.org>
7426 * tmac/doc-ditroff: Remove useless switch/variable -rC.
7427 (doc-setup-header): Don't set page register `%'.
7428 * tmac/doc-nroff: Remove variable `C'.
7429 (doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
7430 (doc-setup-header): Don't set page register `%'.
7432 * tmac/doc-common (doc-header): Call `ns'.
7433 (doc-paragraph): Protect .sp with .br so that it survives traps
7434 possibly set by the user.
7435 * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7437 * tmac/doc*: Replace ' with . for consistency if no effect.
7439 2002-10-26 Werner LEMBERG <wl@gnu.org>
7441 * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
7442 so that it survives traps possibly set by the user.
7444 * src/roff/troff/node.cc: Fix the changes from 2002-10-23.
7445 (troff_output_file::set_font): Call flush_tbuf if necessary.
7446 (troff_output_file::fill_color, troff_output_file::glyph_color): Call
7447 flush_tbuf and do_motion only if necessary.
7448 (troff_output_file::start_special,
7449 troff_output_file::put_char_width, troff_output_file::put_char,
7450 troff_output_file::draw): Updated.
7451 (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7452 vmotion_node::tprint): Undo change 2002-10-23.
7454 2002-10-25 Werner LEMBERG <wl@gnu.org>
7456 * tmac/www.tmac (DC): Fix case of overlapping images.
7458 2002-10-23 Werner LEMBERG <wl@gnu.org>
7460 * src/roff/troff/node.cc (troff_output_file::fill_color,
7461 troff_output_file::glyph_color): Set current color before testing
7463 (troff_output_file::put_char_width, troff_output_file::put_char,
7464 troff_output_file::draw): Don't call flush_tbuf and/or do_motion
7466 (troff_output_file::file_color, troff_output_file::glyph_color):
7468 (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7469 vmotion_node::tprint): Move first, then call fill_color.
7471 2002-10-20 Werner LEMBERG <wl@gnu.org>
7473 * doc/groff.texinfo, man/groff_tmac.man: Document that it is not
7474 possible to use multiple main macro packages.
7476 2002-10-19 Werner LEMBERG <wl@gnu.org>
7478 * src/devices/grops/ps.cc (cmyk_flag): New global variable.
7479 (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
7480 (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
7482 * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
7483 `where' construction since `cmyksetcolor' is a PS Level 2 operator.
7485 2002-10-16 Werner LEMBERG <wl@gnu.org>
7487 * NEWS, doc/webpage.ms: Updated.
7489 2002-10-14 Werner LEMBERG <wl@gnu.org>
7491 * src/roff/troff/node.cc (troff_output_file::put_char_width,
7492 troff_output_file::put_char, troff_output_file::fill_color,
7493 troff_output_file::glyph_color): Handle case where color pointer
7496 2002-10-13 Ruslan Ermilov <ru@FreeBSD.org>
7498 Add the new -r option to grotty. It is similar to the -i option
7499 except it tells grotty(1) to use the `reverse video' attribute to
7500 render italic fonts.
7502 * src/devices/grotty/tty.cc (reverse_flag): New global variable.
7503 (SGR_REVERSE, SGR_NO_REVERSE): New macros.
7504 (tty_printer::make_underline, tty_printer::put_color,
7505 tty_printer::end_page): Use it.
7506 (main): Add -r switch.
7508 * src/devices/grotty/grotty.man: Document it.
7510 2002-10-11 Ruslan Ermilov <ru@FreeBSD.org>
7512 * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
7513 cast to `unsigned char' to properly read patterns with 8bit
7516 2002-10-08 Werner LEMBERG <wl@gnu.org>
7518 * REVISION: Increased to 2.
7520 Copyright 2002, 2003, 2004, 2005, 2006, 2007
7521 Free Software Foundation, Inc.
7523 Copying and distribution of this file, with or without modification,
7524 are permitted in any medium without royalty provided the copyright
7525 notice and this notice are preserved.
7528 version-control: never