1 2007-03-20 Werner LEMBERG <wl@gnu.org>
3 * tmac/trace.tmac (rn): Added.
4 (nr, ds, ds1, as, as1, substring): Restore escape character while
6 (nr): Remove dead code.
8 * src/preproc/eqn/box.cpp (box::top_level): Use \E in string
9 definitions to make them traceable.
11 2007-03-19 Werner LEMBERG <wl@gnu.org>
13 * src/roff/troff/input.cpp (get_copy): Add third argument to control
14 whether \E shall be expanded.
15 (get_char_for_escape_name): Allow \E.
17 2007-03-15 Werner LEMBERG <wl@gnu.org>
19 * tmac/s.tmac (MO, CH, pg*OH, pg*EH, pg*OF, pg*EF, *, [., .],
20 par*define-font-macro, \[hooko]): Use \E to make it traceable.
22 (ref*field): Add argument to control the space between previous and
25 (ref*add-N): Fix handling of opening parenthesis. Problem reported
26 by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
28 2007-03-14 Werner LEMBERG <wl@gnu.org>
30 * tmac/trace.tmac (als): Added.
31 (de, de1, am, am1): Make traced macros aliased with .als work.
33 2007-02-25 Werner LEMBERG <wl@gnu.org>
35 * src/devices/xditview/TODO: Add some more items.
37 * Makefile.comm (.man.n): Add @APPRESDIR@.
40 * src/devices/xditview/gxditview.man: Document GXditview resource
42 Other documentation enhancements based on a patch from Jörg.
44 2007-02-25 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
45 Joerg van den Hoff <j.van_den_hoff@fzd.de>
47 * src/devices/xditview/GXditview.ad: Make all keys work regardless
48 of the current mouse position.
50 2007-02-20 Werner LEMBERG <wl@gnu.org>
52 * tmac/groff_man.man: Revised to improve visual appearance.
53 Reduce use of future tense.
55 * tmac/groff_trace.man: Revosed to improve visual appearance.
57 2007-02-19 Eric S. Raymond <esr@snark.thyrsus.com>
59 Make groff.man viewer-portable.
61 * tmac/groff.man: Eliminate use of .eo/.ec.
62 (.REQ): Surround args 2 through N with quotes. This will enable us
63 not to rely on the shift request, which is nonportable.
64 (ExecFF): Remove. The code is simpler without it.
66 2007-02-18 Eric S. Raymond <esr@snark.thyrsus.com>
68 * tmac/groff_www.man: Viewer-portability fixes.
70 2007-02-16 Eric S. Raymond <esr@snark.thyrsus.com>
72 * man/groff.man: Remove some unneeded code and a no-longer-used
73 inclusion of the www macros.
75 2007-02-15 Eric S. Raymond <esr@snark.thyrsus.com>
77 * contrib/groffer/perl/groffer.man, contrib/groffer/perl/groffer.man:
78 Fix non-portable `if' expressions.
80 2007-02-13 Eric S. Raymond <esr@snark.thyrsus.com>
82 Use an-ext.tmac macros in groffer.man.
84 * contrib/groffer/perl/groffer.man,
85 contrib/groffer/perl/groffer.man: Replace ShellCommand with .EX/.EE
87 Don't use .TP for examples, as some viewers won't handle a display
88 macro as a tag line. Use .SY/.OP/.YS rather than elaborate custom
91 2007-02-12 Werner LEMBERG <wl@gnu.org>
93 * src/preproc/tbl/table.cpp (compute_span_width): Fix use of
95 (table::compute_widths): Simplify.
97 2007-02-11 Werner LEMBERG <wl@gnu.org>
99 * src/preproc/tbl/table.h: Don't include `stdbool.h'.
100 (table): Replace `bool' type with `char' for orthogonality.
103 * src/preproc/tbl/table.cpp (block_entry::do_divert): Fix usage of
104 AVAILABLE_REG and COLCOUNT_REG.
105 (table::table): Fix order call of initializers.
106 (table::~table): Deallocate `blockflag'.
108 2007-02-09 Eric S. Raymond <esr@snark.thyrsus.com>
110 A try at the new rule for block column allocation is now enabled by
111 the new `experimental' global option: The horizontal space up to the
112 right margin which is not used by columns without text blocks is
113 evenly distributed to the columns with text blocks.
115 It doesn't work right as yet; there appears to be some error in the
116 computation of `3avail', the available line length. The purpose of
117 this patch is (a) to make experimenting with other formulas easy,
118 and (b) leave the infrastructure for flag `experimental' in place
119 for future experiments. Do not document any behavior associated
122 * src/preproc/tbl/table.h: Include `stdbool.h'.
123 (table): Make `flags' public.
124 Add `count_block_columns' function.
125 Add `blockflag' array.
126 Add `EXPERIMENTAL' enumeration value.
128 * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): New
130 (table_entry): New member `parent' so that class and subclass
131 members can set a parent field. Update all users.
132 (block_entry::do_divert): Handle `EXPERIMENTAL' flag.
133 (block_entry::do_width): Set the parent's `blockflag'.
134 (table::allocate): Handle `blockflag'.
135 (table::count_block_columns): New function.
136 (compute_span_width): Adjust AVAILABLE_REG.
137 (table::compute_widths): Handle COLCOUNT_REG and AVAILABLE_REG.
139 * src/preproc/tbl/main.cpp (process_options): Handle `experimental'
142 2007-02-08 Zhao, Yu (William) <yzhao2@alcatel-lucent.com>
144 * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) <'e'>: Set
147 2007-02-08 Werner LEMBERG <wl@gnu.org>
149 * man/groff_out.man (offset): Make it work reliably.
151 2007-02-07 Eric S. Raymond <esr@snark.thyrsus.com>
153 * man/groff_out.man: Simplify some font changes so \fP is less
154 likely to do something surprising.
156 * man/groff_out.man: We can simplify the command macros still
157 further if we stop trying to hide structural requests inside them.
158 Also, fix some instances of \} at start of line without a dot, and
159 make some font changes explicit in strings.
161 * man/groff_out.man: Cleanup -- remove now-unneeded uses of .do and
164 * man/groff_out.man: Final step: Reduce x-command, get rid of eo/ec
165 calls and fix macros to do without them. File should now be
168 * man/groff_out.man: Fourth step: Eliminate use of eqn in favor of
169 micromotions that produce the same visual result and can be lifted
172 * man/groff_out.man: Third step: Reduce Da-comand, fix a
173 call-sequence bug in the original.
175 * man/groff_out.man: Second step: Reduce D-commmand and D-command+,
176 move font-change escapes to portable form.
178 * man/groff_out.man: First step in macro simplification; eliminate
179 list1..n, simplify .offset and .index_offset so they no longer
180 require groff-specific features or eqn (instead, use troff
181 micromotions for subscripting).
183 2007-02-06 Eric S. Raymond <esr@snark.thyrsus.com>
185 * src/preproc/eqn/eqn.man: Minor corrections.
187 * chem.man, pdfroff.man, ditroff.man, groff_diff.man, groff.man,
188 groff_out.man, groff_tmac.man, roff.man, groff.man, grog.man,
189 an-ext.tmac, groff_man.man, groff_man.n, groff_trace.man: Change
190 .UR/.UE and .MT/.ME so the start macro no longer takes a second
191 argument that is pasted to the end of the generated text. Instead,
192 the end macro takes an argument that does the same thing.
194 2007-02-05 Eric S. Raymond <esr@snark.thyrsus.com>
196 * src/preproc/eqn/lex.cpp, src/preproc/eqn/eqn.man:
197 By popular demand, make ... set three lower dots again
198 and introduce a new predefined macro 'cdots' to set
201 2007-02-05 Werner LEMBERG <wl@gnu.org>
203 * src/preproc/eqn/eqn.man: Revised.
205 * src/preproc/eqn/text.cpp (map, special_char_boc::output): Use
207 (spacing_type): Fix typo.
208 (special_to_entity): Use `const'.
209 Remove unused variable.
210 * src/preproc/eqn/other.cpp (font_box::output): Use `const'.
212 2007-02-05 Eric S. Raymond <esr@snark.thyrsus.com>
214 * src/devices/grotty/grotty.man: \m[] and \M[] aren't portable,
215 which is a shame as the effect was cute.
217 2007-02-04 Eric S. Raymond <esr@snark.thyrsus.com>
219 * man/groff_tmac.man, man/groff_diff.man: Portability conversion;
220 rip out over-elaborate macrology, use .EX/.EE and .UR/.UE where
221 possible, remove preamble declarations and macros that are no
222 longer needed. Conversion checked using the protocol described in
225 2007-02-03 Werner LEMBERG <wl@gnu.org>
227 * tmac/an-old.tmac (LP, IP, HP): Use .ns to suppress additional
230 2007-02-03 Eric S. Raymond <esr@snark.thyrsus.com>
232 * tmac/groff_man.man: Documented the extension macros, and
233 added portability advice.
235 * MORE.STUFF: More-stuff entries for doclifter and pic2plot.
238 Add support for MathML output to eqn.
240 The strategy used is very simple and relies on the fact that the box
241 models of eqn and Presentation MathML differ in only trivial ways.
242 It leaves the grammar and existing internal object structures
243 unchanged. A new global, `output_format', is defined as an
244 enumerated type with values {troff, mathml}. Most of the functions
245 and methods that emit actual output acquire a top-level conditional,
246 dispatching on this global, which has one arm for troff mode and one
247 for MathML mode. In most cases the MathML arm is drastically
250 (This strategy could be easily generalized to support other output
251 formats. TeX is a possibility that leaps to mind.)
253 The only even moderately tricky changes are in the lexer. Some of
254 the predefined macros used constructs like `up', `down', `fwd',
255 `back', and `vcenter' that have no equivalents in MathML. I
256 attacked this problem in these ways:
258 1. I eliminated three uses of `back' to compose characters in favor
259 of using equivalent groff specials `\(<<', `\(>>', and `\(<>'
260 that did not exist when these macros were written. (This will be
261 a quality improvement for troff users.)
263 2. I eliminated one use of `vcenter' by using \\(md. (Likewise...)
265 3. I then split the table of pre-definitions in three; one large
266 common table and two small troff-specific and MathML-specific
267 tables. Use of troff-only operations (up, down, back, fwd,
268 vcenter) is now confined to the former. The latter now uses
269 `size big' and drops out the explicit positioning operations,
270 counting on MathML processors to do them.
272 POTENTIAL TROUBLE SPOTS:
274 Here are notes for reviewers on places I'm not 100% sure I've done
277 * In the process of preparing the troff table, I translated three
278 definitions (dot_def, dotdot_def, and utilde def) that previously
279 used explicit \v escapes to use `up' and `down' instead. I
280 modeled the new definitions on the way `vec' and `dyad' work, but
281 it's possible I got something subtle wrong.
283 * I'm not certain the MathML implementation of font_box::output() is
284 right, because I don't quite get what the switcheroo between
285 `current_roman_font' and `old_roman_font' is supposed to
286 accomplish. It does seem to generare good MathML, though.
288 Finally, I made one purely cosmetic change in `text.cpp'; I replaced
289 with an enum some magic numbers for spacing types that I thought
290 were too ugly to live.
294 The entirety of eqn is translated when `-TMathML' is specified,
295 with the following exceptions...
297 Limitations that cannot be fixed include non-support for special,
298 up/down/fwd/back, and vcenter.
300 Limitations that might be fixable include non-support for mark and
301 lineup. I will investigate further, but if these can be implemented
302 at all it's going to be in a very complicated and nasty way.
304 The way character boxes are output means that each digit of a
305 multi-digit number gets its own <mn></mn> tag pair in the MathHTML.
306 While this is not technically wrong for Presentation MathML, it is
307 ugly and inefficient. Fixing this will require implementing a
308 little state machine in the `text.cpp' output method.
310 * src/preproc/eqn/box.cpp, src/preproc/eqn/delim.cpp,
311 src/preproc/eqn/eqn.h, src/preproc/eqn/eqn.man,
312 src/preproc/eqn/lex.cpp, src/preproc/eqn/limit.cpp,
313 src/preproc/eqn/list.cpp, src/preproc/eqn/main.cpp,
314 src/preproc/eqn/other.cpp, src/preproc/eqn/over.cpp,
315 src/preproc/eqn/pile.cpp, src/preproc/eqn/script.cpp,
316 src/preproc/eqn/sqrt.cpp, src/preproc/eqn/text.cpp,
317 src/preproc/eqn/eqn.man: MathML output mode.
321 2007-02-02 Eric S. Raymond <esr@snark.thyrsus.com>
323 * src/roff/groff/groff.man: Converted to use .SY/.OP/.YS
324 and for cross-viewer portability. Conversion checked
325 using the protocol described in tmac/TESTING-HINTS.
327 2007-02-02 Werner LEMBERG <wl@gnu.org>
329 * tmac/an-ext.tmac (ME): Don't use `\:'.
331 * contrib/chem/chem.man, contrib/groffer/roff2.man,
332 src/roff/grog/grog.man: Further refinements and normalizations.
334 2007-02-02 Eric S. Raymond <esr@snark.thyrsus.com>
336 * contrib/groffer/roff2.man, contrib/chem/chem.man,
337 src/roff/grog/grog.man: Converted to use .SY/.OP/.YS
338 and for cross-viewer portability. Conversion checked
339 using the protocol described in tmac/TESTING-HINTS.
341 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
343 * tmac/TESTING-HINTS: Added.
345 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
347 Enable the support for Bell archaisms on .SC, so the `-r bell'
348 switch is no longer needed to format old AT&T papers like
351 * tmac/s.tmac (.SC, .UC, .P1, .P2): Updated.
353 * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Updated.
355 2007-02-01 Eric S. Raymond <esr@thyrsus.com>
357 Add some Bell labs extensions to the -ms macros.
359 * tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros.
361 * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
363 2007-01-30 Werner LEMBERG <wl@gnu.org>
365 * tmac/an-ext.tmac (\n[EX]): Rename to \n[mX].
366 (\n[mH]): New register (set if grohtml is used).
367 (\n[SY]): Rename to \n[mS].
368 (\n[a]): Rename to \n[mA].
369 (\n[i]): Rename to \n[mI].
370 (mU): New auxiliary input trap macro.
371 (UR, UE): Replace stub with real definition.
373 (MT, ME): New macros.
375 (EX, EE): Don't insert vertical space.
376 Use a register to store (and restore) the current font.
378 * man/ditroff.man, man/groff_diff.man, man/roff.man: Revised, based
379 on patches from Eric Raymond.
381 * contrib/pdfmark/pdfroff.man: Updated.
383 2007-01-22 Gaius Mulley <gaius@glam.ac.uk>
385 * tmac/an-old.tmac (an-trap, HP): Make `HP' work as expected.
387 2007-01-22 Werner LEMBERG <wl@gnu.org>
389 * tmac/an-ext.tmac: Protect against being sourced twice.
390 (URL, EE): Use always two backslashes.
393 2007-01-21 Werner LEMBERG <wl@gnu.org>
395 * contrib/pdfmark/pdfroff.man: Revised, based on a patch from Eric
396 Raymond. It now uses the new macros from an-ext.tmac. This is the
397 first of a series of man patches which Eric has contributed.
399 2007-01-16 Werner LEMBERG <wl@gnu.org>
401 * tmac/an-ext.tmac: Remove code for grodvi.
403 Don't insert empty line.
404 (URL, TQ): Fix typos.
406 2007-01-14 Werner LEMBERG <wl@gnu.org>
408 * tmac/an-ext.tmac: New file, containing extension macros
409 for -man. See discussion on the groff mailing list for
410 background information.
411 * tmac/an-old.tmac: Load an-ext.tmac.
412 Decorate .ds and as with comment escapes where appropriate.
413 * tmac/Makefile.sub (NORMALFILES): Add an-ext.tmac.
415 2007-01-05 Werner LEMBERG <wl@gnu.org>
417 * src/preproc/tbl/tbl.man: Document .T# and \n[TW].
419 2007-01-04 Gaius Mulley <gaius@glam.ac.uk>
421 Make -me macros ready for grohtml.
423 * tmac/e.tmac: Load devtag.tmac.
424 (need_eo_h, need_eo_tl, need_tl): New registers.
425 (check_need_title, (x-html, )x-html, xp-html): New macros.
426 (@h, hl, ip, @p, sh, (b, (l, EQ, EN, TS, TE, PS, PE, GS, GE, r, i,
427 b, rb, bi, bx, (x, )x, xp): Adapt for use with grohtml.
428 (bp): Rename to @b only if output device is not html.
430 2007-01-01 Werner LEMBERG <wl@gnu.org>
432 * man/groff_font.man: Document empty lines.
434 * src/utils/afmtodit/afmtodit.pl: Always print a header comment at
435 the very beginning of the output.
438 * font/devps/*: Regenerate font definition files.
440 2007-01-01 Werner LEMBERG <wl@gnu.org>
442 * font/devps/generate/Makefile (AFMTODIT): Use -c flag.
444 * font/devps/*: Regenerate font definition files.
446 2006-12-31 Werner LEMBERG <wl@gnu.org>
448 * Makefile.in (oldfontdir): New variable.
449 (MDEFINES): Add $(oldfontdir).
450 (uninstall_dirs): Remove `current' link.
451 Remove $(oldfontdir).
453 * Makefile.comm (oldfontsubdir): New variable.
454 (install_dev): Install files collected in $(OLDDEVFILES) into
456 (uninstall_dev): Remove data in $(oldfontsubdir).
457 (.man.n): Handle @OLDFONTDIR@.
459 * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
460 src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
461 src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man:
462 Document GROFF_FONT_PATH.
464 * src/devices/grops/grops.man: Document GROFF_FONT_PATH and
465 old font description files.
467 * font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New
470 * font/devps/old/*: New directory, holding the previous version
471 of the 35 Adobe core font description files.
473 * font/devps/*: Regenerated the 35 Adobe core fonts, using the
474 Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de.
476 * NEWS: Document font update.
478 2006-12-31 Werner LEMBERG <wl@gnu.org>
480 * font/devps/generate/Makefile (symbolsl.afm): Use $(srcdir).
482 * Makefile.comm (fonts): New (empty) target.
483 * Makefile.in (TARGETS): Add `fonts'.
485 * MANIFEST: Add `chem'.
487 * doc/groff.texinfo (Changing Fonts): Font translations with .ftr
490 2006-12-26 Werner LEMBERG <wl@gnu.org>
492 * src/preproc/grn/hdb.cpp: Include gprint.h later. From NetBSD.
494 2006-12-19 Werner LEMBERG <wl@gnu.org>
496 Add support for German. For activation, simply use -mde or -mden
497 (for traditional and new orthgraphy, respectively) as the last
500 * tmac/de.tmac, tmac/den.tmac, tmac/hyphen.det, tmac/hyphen.den,
501 tmac/hyphenex.det: New files, partly taken from CTAN.
502 * LICENSES: Updated list of hyphenation patterns.
503 * man/groff_tmac.man: Mention de.tmac and den.tmac.
506 2006-12-11 Werner LEMBERG <wl@gnu.org>
508 Support up to 32 macro arguments in pic (and up to 16 on EBCDIC
511 * src/preproc/pic/lex.cpp (ARG1): Redefine. Update all users.
512 (MAX_ARG): New macro. Use it everywhere to replace hard-coded
513 limit of 9 arguments.
514 (process_body): Handle argument numbers with more than a single
516 (interpolate_macro_with_args): Protect against exceeding number of
519 * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Document it.
521 2006-12-10 Werner LEMBERG <wl@gnu.org>
523 * Makefile.in (site.exp, docheck): Commented out. Not working
525 (check): Just emit dummy message.
527 2006-12-08 Werner LEMBERG <wl@gnu.org>
529 During installation, create soft link from <version> to `current' in
532 * Makefile.comm (install): Renamed to...
534 (prefix_must_exist): Removed. Code moved to Makefile.in.
536 * Makefile.in (TARGETS): Remove `install'.
538 (install): New target which first creates the directory given by
539 --prefix, then calling `make' to do the installation, and finishing
540 with the creation of the soft link.
542 2006-11-21 Werner LEMBERG <wl@gnu.org>
544 * doc/Makefile.sub (uninstall_sub): Fix names for info files.
546 2006-11-18 Werner LEMBERG <wl@gnu.org>
548 * man/roff.man, doc/groff.texinfo: Improve history of roff, based on
549 information from Tom Van Vleck <thvv@multicians.org>.
551 2006-11-16 Werner LEMBERG <wl@gnu.org>
553 * tmac/62bit.tmac: New macro package.
554 * tmac/Makefile.sub (NORMALFILES): Add it.
557 * tmac/trace.tmac: Protect against being loaded again.
558 (nr): Always show result.
560 * doc/groff.texinfo (Input Encodings): Document latin-5.
562 * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
564 2006-11-13 Werner LEMBERG <wl@gnu.org>
566 * doc/groff.texinfo (Page Location Traps) [.wh]: Give more details
567 on negative trap positions.
569 2006-11-10 Werner LEMBERG <wl@gnu.org>
571 * Makefile.comm (.man.n): Handle @DATASUBDIR@.
573 2006-11-09 Werner LEMBERG <wl@gnu.org>
575 * INSTALL: Move information about external installation from
576 INSTALL.gen into this file.
579 * INSTALL.gen: Update to new version (from texinfo CVS).
581 2006-11-09 Bernd Warken
583 * INSTALL.gen: Extend the file by information on `external
584 installation'. Reorder the installation instruction as `normal
587 2006-11-08 Werner LEMBERG <wl@gnu.org>
589 * doc/Makefile.sub (install_data): Take care of proper paths while
590 installing info files. Bug reported by Bernd Warken.
592 2006-11-06 Bernd Warken
594 * src/roff/grog/grog.pl: Rewrite.
595 - Call by `#! /usr/bin/env perl'. That isn't replaced.
596 - Rename usage() to version().
598 - For `use strict', start all global variables with an upper case
599 character. Use `my' for all variables. Use several new variables.
601 - Add copyright to GPL and Emacs comment.
602 - Handle several `-m*' options.
603 - Fix handling of `-ms' and `-mm'. Add .TL and .NH.
604 - Allow options after file names.
605 - Allow only one `-' parameter (standard input).
606 - Add option abbreviations.
607 - Expand the usage information.
609 - Add single quote "'" as additional first character and allow
610 arbitrary space after the first character.
612 * src/roff/grog/grog.sh: Rewrite.
613 - Remove option `-e' of `sed'.
614 - Allow file names with space characters.
616 - Add copyright to GPL.
617 - Handle several `-m*' options.
618 - Fix handling of `-ms' and `-mm'. Add .TL and .NH.
619 - Allow options after file names.
620 - Allow only one `-' parameter (standard input).
621 - Add option abbreviations.
622 - Expand the usage information.
624 - Add single quote "'" as additional first character and allow
625 arbitrary space after the first character.
627 * src/roff/grog/Makefile.sub:
628 - Add copyright to GPL.
629 - Remove `grog:'. Move `grog.old:' to `grog:' in order to have a
630 fair chance to choose between the shell version and the Perl
631 version of `grog'. This is now again comparable to grog in groff
634 * src/roff/grog/grog.man: Rewrite.
635 - Move the license to GPL.
636 - New sections: OPTIONS, DETAILS, EXAMPLES, COPYING.
637 - Take over some setup and macros from `groffer'.
638 - Add information on options.
640 2006-10-28 Werner LEMBERG <wl@gnu.org>
642 * tmac/trace.tmac: Improve tracing of `.nr'.
643 Trace `.substring' also.
647 2006-10-28 Bernd Warken
649 * man/roff.man, src/roff/groff/groff.man: Add `chem', fix position
650 of groff development site, fix fonts.
652 * News: Add information on `chem' and `groffer'.
654 2006-10-26 Bernd Warken
656 * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add `chem' bundle.
658 2006-10-26 Werner LEMBERG <wl@gnu.org>
660 Add `\%^' escape to handle the parameters to a macro as a string
663 * src/roff/troff/input.h (DOUBLE_QUOTE): New special character.
665 * src/roff/troff/input.cpp (input_iterator, input_stack,
666 macro_iterator): Add `space_follows_arg' member function.
667 (macro_iterator::add_arg): Add parameter to set the `space_follows'
669 (arg_list): Add member `space_follows'.
670 Update constructor and all callers.
671 (decode_args): Store discarded double quotes.
672 (interpolate_args): Handle DOUBLE_QUOTE.
674 (get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE.
676 * tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1.
678 * docs/groff.texinfo (Parameters), man/groff.man,
679 man/groff_diff.man, NEWS: Document it.
681 2006-10-24 Bernd Warken
683 * Makefile.in (NOMAKEDIRS): Add groffer subdirectories.
685 2006-10-24 Werner LEMBERG <wl@gnu.org>
687 * tmac/groff_trace.man: Mention problem with `\\\\'.
689 2006-10-23 Werner LEMBERG <wl@gnu.org>
691 * doc/groff.texinfo (Expressions): Improve documentation of `!'.
693 * tmac/trace.tmac (return): Don't call `substring'.
695 2006-09-10 Werner LEMBERG <wl@gnu.org>
697 * src/roff/troff/input.cpp (read_size): Revert previous change
700 * doc/groff.texinfo (Fractional Size Types): Clarify syntax of \s.
702 2006-09-09 Werner LEMBERG <wl@gnu.org>
704 * src/roff/troff/input.cpp (read_size): Fix `\s[-\n[.s]]' so that it
705 behave the same as `\s-[\n[.s]]' (this is, emit a warning and set
706 point size to 1). Reported by Gunnar Ritter.
707 Also catch `\s-[-...]' and friends (causing an error).
709 2006-09-06 Werner LEMBERG <wl@gnu.org>
711 * src/roff/troff/env.cpp (environment::do_break): Insert zero-width
712 space only if there is no previous space. This fixes a bug which
713 caused unwanted filling of the last line in a paragraph. Thanks to
714 Gunnar Ritter for an analysis.
716 2006-09-03 Werner LEMBERG <wl@gnu.org>
718 * src/roff/groff/groff.cpp (main): Pass -U flag to pic also.
719 Reported by Jennifer Sayers <jenjen@isu.usyd.edu.au>.
721 2006-09-01 Nick Stoughton <nick@msbit.com>
722 Werner LEMBERG <wl@gnu.org>
724 Add a request `pev' to print environment information (similar to
725 `pnr' and `ptr' to print number registers and traps).
727 * src/roff/troff/env.h (environment): Add member function print_env.
729 * src/roff/troff/env.cpp: (environment::print_env): New function to
730 print a given environment state.
731 (print_env): New global function to iterate through the
732 environments, printing each one.
733 (init_env_requests): Register `pev'.
735 * doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man,
736 NEWS: Document `pev' request.
738 2006-09-01 Bernd Warken
740 * src/preproc/soelim/soelim.cpp (usage): Fix option argument of
743 2006-09-01 Werner LEMBERG <wl@gnu.org>
745 * src/preproc/pic/main.cpp (usage): Add missing options.
747 2006-08-25 Werner LEMBERG <wl@gnu.org>
749 * src/preproc/soelim/soelim.man: Document how to insert `\' and ` '
752 2006-08-19 Werner LEMBERG <wl@gnu.org>
754 * configure: Regenerated.
756 2006-08-18 Keith Marshall <keith.d.marshall@ntlworld.com>
758 * m4/groff.m4 (GROFF_MAKEINFO): Correct `makeinfo version testing
759 logic; it previously caused an `expr' syntax error, if no version of
760 `makinfo' was present. Also, remove dependency on `makeinfo' in VPATH
761 builds, if an up to date `groff.info' is present in either `builddir'
764 2006-08-12 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
766 * font/devps/prologue.ps: Add BPhook.
768 * src/devices/grops/grops.man: Document BPHook.
769 Reorder some sections for better readability.
771 2006-08-12 Werner LEMBERG <wl@gnu.org>
773 * src/include/lib.h (getlocale): New macro.
774 (setlocale, LC_ALL, LC_CTYPE) [!HAVE_SETLOCALE]: Define, as
777 * src/preproc/preconv/preconv.cpp (main): Use getlocale.
779 2006-08-11 Werner LEMBERG <wl@gnu.org>
781 Add new flag to .cflags to enable hyphenation without looking at
784 * src/roff/troff/charinfo.h (charinfo): New enumeration value
786 New member function `ignore_hcodes'.
788 * src/roff/troff/node.cpp (break_char_node::add_self,
789 node::add_char): Updated.
791 * doc/groff.texinfo, man/groff_diff.man, NEWS: Document it.
793 2006-08-09 Werner LEMBERG <wl@gnu.org>
795 Support composite Unicode characters again. Reported by Colin.
797 * font/devhtml/R.proto: Renamed to...
798 * font/devhtml/R.in: This.
800 * font/devutf8/R.proto: Renamed to...
801 * font/devutf8/R.in: This.
804 * font/make-Rproto: New script.
805 * font/devhtml/R.proto, font/devutf8/R.proto: Generated.
807 2006-07-26 Werner LEMBERG <wl@gnu.org>
809 * README: Fix description of CVS access. Reported by Joachim.
811 2006-07-11 Werner LEMBERG <wl@gnu.org>
813 Add a request `.fzoom' and a number register `.zoom' to magnify
816 * src/include/font.h (font): Add member variable `zoom'.
817 Add member functions `set_zoom' and `get_zoom'.
818 Remove `static' attribute from `scale' member function.
820 * src/libs/libgroff/font.cpp (font::font): Updated.
821 (scale_round): New version with three parameters to handle zoom
823 (font::scale, font::get_width): Handle zoom factor.
824 (font::set_zoom, font::get_zoom): New functions.
825 (font::load): Handle `zoom' while computing `space_width'.
827 * src/roff/troff/env.h: Declare `env_get_zoom'.
828 (environment): Add member function `get_zoom'.
830 * src/roff/troff/env.cpp (environment::get_zoom): New function.
831 (init_env_requests): Initialize `.zoom' register.
833 * src/roff/troff/node.cpp (font_info): New member functions
834 `set_zoom' and `get_zoom'.
835 (tfont): New member function `get_zoom'.
836 (env_get_zoom): New function.
837 (troff_output_file::set_font): Handle zoom factor.
838 (font_zoom_request): New function.
839 (init_node_requests): Initialize `fzoom' request.
841 * docs/groff.texinfo (Changing Fonts), man/groff.man,
842 man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom'
845 * src/roff/troff/TODO: Updated.
847 2006-07-10 Werner LEMBERG <wl@gnu.org>
849 * doc/groff.texinfo (Drawing Requests): Improve documentation of
852 2006-07-02 Werner LEMBERG <wl@gnu.org>
854 * man/groff_tmac.man: Document usage of .PSPIC within diversions.
856 2006-07-01 Werner LEMBERG <wl@gnu.org>
858 * tmac/pspic.tmac: Make .PSPIC work for all devices.
859 Print image file name for devices which don't support PS image
861 Handle multiple inclusions.
862 Add lots of comments.
864 * tmac/dvi.tmac, tmac/html.tmac, tmac/ps.tmac: Don't load
867 * tmac/troffrc: Load pspic.tmac.
869 * man/groff_tmac.man: Update .PSPIC documentation.
873 2006-06-29 Werner LEMBERG <wl@gnu.org>
875 * src/roff/troff/input.cpp (interpolate_macro):
876 s/probably/possibly/, as suggested by Keith.
878 2006-06-28 Werner LEMBERG <wl@gnu.org>
880 Add support for \D'p...' to grotty.
882 * src/devices/grotty/grotty.cpp (tty_printer::draw): Move most of
884 (tty_printer::line): This function.
885 (tty_printer::draw): Rewritten; just call either draw_line or
887 (tty_printer::draw_line, tty_printer::draw_polygon): New functions.
889 * src/devices/grotty/grotty.man, NEWS: Document it.
891 2006-06-27 Werner LEMBERG <wl@gnu.org>
893 * src/preproc/refer/command.h (have_bibliography): New variable
896 * src/preproc/refer/command.cpp (bibliography_command): Set
899 * src/preproc/refer/refer.cpp: Initialize `have_bibliography'.
900 (output_references): Emit warning only if `have_bibliography' is
903 2006-06-15 Michail Vidiassov <master@iaas.msu.ru>
905 * fonts/devps/Makefile.sub (DISTFILES): Add freeeuro.afm.
906 * fonts/devps/generate/Makefile (clean): Don't remove symbolsl.afm
909 2006-06-15 Werner LEMBERG <wl@gnu.org>
911 * src/preproc/tbl/tbl.man: Document limitations of .TS/.TE within a
912 macro (as suggested by Tadziu Hoffmann).
914 2006-06-12 Werner LEMBERG <wl@gnu.org>
916 * src/preproc/tbl/tbl.man: Add example for use of .TS/.TE within a
917 macro (as suggested by Tadziu Hoffmann).
919 2006-06-05 Werner LEMBERG <wl@gnu.org>
921 * tmac/strip.sed: Strip `\#' also.
923 * doc/groff.texinfo (Operators in Conditionals): Document usage of
924 \? for string comparison.
926 2006-06-04 Werner LEMBERG <wl@gnu.org>
928 * doc/groff.texinfo: Add more index entries for copy-in mode.
929 (Changing Fonts) <.ft>: Document that a font definition file must
930 not be called `DESC'.
932 2006-05-31 Werner LEMBERG <wl@gnu.org>
934 * src/roff/troff/input.cpp (token::next) <\N>: Catch negative values
937 * doc/Makefile.sub (EXAMPLEFILES): Move gnu.eps to...
938 (PROCESSEDEXAMPLEFILES): Here.
940 2006-05-30 Werner LEMBERG <wl@gnu.org>
942 * src/libs/libgroff/font.cpp (font::load): Reject fonts called
944 Reduce number of false positives for `.if F ...' conditionals.
945 Improve warning messages.
947 2006-05-29 Werner LEMBERG <wl@gnu.org>
949 * tmac/Makefile.sub: Add copyright notice.
950 (NORMALFILES): Add man.tmac and ms.tmac.
951 (SPECIALFILES): Remove man.tmac and ms.tmac.
952 (CLEANADD): Remove man.tmac-sed and ms.tmac-sed.
953 (install_data, uninstall_sub): Don't handle man.tmac and ms.tmac
955 (stamp-sed): Don't handle man.tmac and ms.tmac.
956 Remove obsolete components in sed's regexp.
958 * doc/Makefile.sub (EXAMPLEFILES): Add gnu.eps.
960 * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add hdtbl.
962 2006-05-28 Werner LEMBERG <wl@gnu.org>
964 * doc/groff.texinfo (History): Correct death circumstances of Joe
967 2006-05-27 Werner LEMBERG <wl@gnu.org>
969 * tmac/an-old.tmac (an-do-tag): Simplify.
971 2006-05-26 Werner LEMBERG <wl@gnu.org>
973 * tmac/an-old.tmac (an-do-tag): Make margin characters work.
974 (an-header, an-p-footer): Use named environment.
976 * src/roff/troff/env.cpp (environment::copy): Copy margin character
979 2006-05-21 Werner LEMBERG <wl@gnu.org>
981 * tmac/trace.tmac (de1): Fix serious typo (.di -> .do) and minor
984 2006-05-11 Keith Marshall <keith.d.marshall@ntlworld.com>
986 * src/roff/groff/groff.man: Remove superfluous word `intermediate'.
988 2006-05-10 Keith Marshall <keith.d.marshall@ntlworld.com>
990 * src/roff/groff/groff.man: Update copyright notice.
991 Improved wording to describe effect of `-Z' option.
993 2006-05-06 Werner LEMBERG <wl@gnu.org>
995 * tmac/www.tmac: Decorate `.ds' with trailing `\"' where missing.
996 Normalize handling of `"' in arguments.
997 (PIMG): Remove debug message.
1000 2006-05-05 Werner LEMBERG <wl@gnu.org>
1002 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Don't
1003 swallow character immediately after `\[...]'.
1006 2006-05-02 Gaius Mulley <gaius@glam.ac.uk>
1008 * tmac/www.tmac (PIMG): Fix the HTML device specific components.
1010 2006-05-02 Larry Kollar <kollar@alltel.net>
1012 * tmac/www.tmac (PIMG): Really default to `-C' if the alignment
1015 2006-04-30 Michail Vidiassov <master@iaas.msu.ru>
1017 * src/utils/afmtodit/afmtodit.pl: New option `-c' to add font
1018 information as a comment in output.
1019 * src/utils/afmtodit/afmtodit.man, NEWS: Document it.
1021 2006-04-26 Werner LEMBERG <wl@gnu.org>
1023 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
1024 Handle current_paragraph only if it is non-NULL.
1026 * src/libs/libdriver/input.cpp (parse_x_command <'F'>, do_file
1027 <'F'>): Use `get_extended_arg' to behave as documented. Reported by
1028 Bill Ward <william.a.ward.jr@erdc.usace.army.mil>.
1031 Surround the (pseudo) file name for the .pso request with `<' and
1034 * src/roff/troff/node.cpp (real_output_file, troff_output_file): Add
1035 second parameter to `really_put_filename' and `put_filename'.
1036 (troff_output_file::really_put_filename): Emit `<' and `>' around
1037 filename if second argument is set.
1038 * src/roff/troff/node.h: Updated.
1040 * src/roff/troff/input.cpp (file_iterator::file_iterator,
1041 file_iterator::set_location): Update to changes in node.cpp.
1043 2006-04-25 Tetsurou Okazaki <okazaki@FreeBSD.org>
1045 * src/preproc/preconv/preconv.cpp (do_file): Fix conditional
1046 preprocessor expression (I18N -> HAVE_ICONV).
1047 (main): Fix handling of option `-h'.
1048 Fix conditional preprocessor expression.
1050 2006-04-04 Werner LEMBERG <wl@gnu.org>
1052 Implement new number register `.br' which is set to 1 if a macro has
1053 been called as .foo and to 0 if called as 'bar. This is useful for
1054 -mtrace so that requests can be reliably traced too.
1056 * src/roff/troff/input.cpp (input_iterator): Add virtual function
1058 (macro_iterator): Add `with_break' member and `get_break_flag'
1060 Update constructors.
1061 (input_stack): Add function `get_break_flag'.
1062 (break_flag_reg): New number register class.
1063 (input_init_requests): Register `.br'.
1065 * src/roff/troff/TODO: Updated.
1067 * tmac/trace.tmac: s/!!sp/!!!sp/.
1068 Modify definitions of `de', `de1', `am', and `am1' to use \n[.br].
1070 * docs/groff.texinfo (Requests), man/groff.man, man/groff_diff.man,
1073 2006-03-29 Werner LEMBERG <wl@gnu.org>
1075 * src/devices/grops/ps.cpp: s/must not/should not/ in warning
1076 messages where appropriate.
1078 2006-03-28 Werner LEMBERG <wl@gnu.org>
1080 * configure.ac: Call AC_PROG_EGREP.
1081 * configure: Regenerated.
1083 * Makefile.in (EGREP): New variable.
1084 (MDEFINES): Add $(EGREP).
1086 * src/roff/grog/grog.sh: Treat .TH between .TS and .TE properly
1087 (bug reported by Robert Goulding <Goulding.2@nd.edu>).
1090 * src/roff/grog/Makefile.sub (grog, grog.old): Use $(EGREP).
1092 2006-03-27 Werner LEMBERG <wl@gnu.org>
1094 Add two requests `.device' and `.devicem' which are equivalent to
1095 `\X' and `\Y', respectively.
1097 * src/roff/troff/input.cpp (device_request, device_macro_request):
1099 (init_input_requests): Register them.
1101 * doc/groff.texinfo (Postprocessor Access), man/groff_diff.man,
1102 man/groff.man, NEWS: Document them.
1104 2006-03-27 Gaius Mulley <gaius@glam.ac.uk>
1106 * src/roff/troff/input.cpp (encode_char): Emit special characters
1107 for -Thtml as `\[...]'.
1108 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Updated.
1110 * doc/groff.texinfo (Postprocessor Access) <\X>: Updated.
1112 2006-03-27 Werner LEMBERG <wl@gnu.org>
1114 * tmac/Makefile.sub (NORMALFILES, SPECIALFILES): Add various missing
1117 2006-03-26 Werner LEMBERG <wl@gnu.org>
1119 * doc/groff.texinfo (Writing Macros): More documentation on
1120 end-of-macro symbol of `.de'.
1121 (Diversions): Minor addition to `.di' description.
1123 * src/devices/grops/grops.man: Some clarifications regarding
1124 insertion of PostScript snippets.
1126 2006-03-25 Michail Vidiassov <master@iaas.msu.ru>
1128 Add rules to generate `symbolsl.afm'.
1130 * fonts/devps/generate/zapfdr.sed,
1131 fonts/devps/generate/symbolsl.awk: New files.
1133 * fonts/devps/generate/Makefile (symbolfont, PRINTAFM): New
1135 (SS, clean): Updated.
1136 (freeeuro.afm): Use $(srcdir).
1137 (symbolsl.afm): New rule.
1138 (zapfdr.afm): Use zapfdr.sed.
1140 2006-03-22 Dwight Aplevich <aplevich@uwaterloo.ca>
1142 * src/preproc/pic/pic.y (expr <INT>): Fix code.
1144 2006-03-22 Jörgen Grahn <jgrahn@algonet.se>
1146 * tmac/sv.tmac: Add missing translations and activate support for
1147 other macro packages.
1149 2006-03-21 Francis GUDIN <fgudin@nerim.net>
1151 * tmac/doc-syms (Dx): New macro to identify DragonFly.
1152 (doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
1153 doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
1155 (doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
1156 doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
1157 doc-operating-system-DragonFly-*): New operating system strings.
1159 * tmac/groff_mdoc.man, NEWS: Document `Dx'.
1161 2006-03-21 Werner LEMBERG <wl@gnu.org>
1163 * src/preproc/pic/pic.y (object_spec THEN): For compatibility with
1164 both DWB pic and dpic, make
1172 line right then down;
1179 * doc/pic.ms: Document this.
1181 2006-03-20 Werner LEMBERG <wl@gnu.org>
1183 * doc/pic.ms: With permission of Eric Raymond, put it under the
1188 2006-03-19 Werner LEMBERG <wl@gnu.org>
1190 * src/preproc/pic/pic.y (expr <INT>): Really return integer part.
1192 * src/preproc/pic/objects.cpp (object_spec::make_line): Handle `at'
1193 attribute in combination with `with'. Bug reported by Jennifer
1194 Sayers <jenjen@mail.usyd.edu.au>.
1196 2006-03-19 Miklos Somogyi <msom@netspace.net.au>
1198 * doc/groff.texinfo (Manipulating Spacing): Improve documentation of
1201 2006-03-18 Werner LEMBERG <wl@gnu.org>
1203 * LICENSE: Renamed to...
1204 * LICENSES: This. Collect all licensing information in this file.
1205 * tmac/README, src/libs/snprintf/README: Removed.
1207 * src/devices/grops/grops.man: Add section how to install fonts.
1209 * src/utils/xtotroff/xtotroff.c: Add GPL.
1211 2006-03-17 Werner LEMBERG <wl@gnu.org>
1213 * Makefile.comm (.y.cpp): Fix #line arguments in output.
1215 2006-03-13 Werner LEMBERG <wl@gnu.org>
1217 * src/preproc/tbl/tbl.man: Mention default length of text blocks.
1219 * tmac/doc-common (Os): Add more Darwin versions.
1220 * tmac/groff_mdoc.man: Document them.
1222 * doc/groff.texinfo (Operators in Conditionals): Mention that `c'
1223 works with \N'...' also.
1224 * man/groff_diff.man: Ditto. Remove use of future tense where
1227 2006-03-12 Michail Vidiassov <master@iaas.msu.ru>
1229 * fonts/devps/generate/make-zapfdr, fonts/devps/symbolsl.ps,
1230 fonts/devps/zapfdr.ps: Add `%%EndComments' line.
1232 2006-03-10 Larry Kollar <kollar@alltel.net>
1234 * doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.
1236 2006-03-10 Werner LEMBERG <wl@gnu.org>
1238 * src/devices/grops/ps.cpp (ps_printer::do_exec, ps_printer::do_def,
1239 ps_printer::do_mdef): Overlong lines now cause a warning message,
1242 2006-03-09 Werner LEMBERG <wl@gnu.org>
1244 * font/devps/generate/make-zapfdr: New script for generating
1247 2006-03-08 Werner LEMBERG <wl@gnu.org>
1249 * doc/groff.css (pre): Fix `background-color' value.
1251 2006-03-04 Larry Kollar <kollar@alltel.net>
1253 * tmac/groff_ms.man: Document PT, HD, and BT.
1255 2006-03-04 Werner LEMBERG <wl@gnu.org>
1257 * src/roff/troff/node.cpp (make_glyph_node): Improve warning message
1258 for single-letter glyph names.
1260 2006-03-02 Werner LEMBERG <wl@gnu.org>
1262 * tmac/sv.tmac: New file; currently holding only the Swedish strings
1264 * tmac/hyphen.sv: New hyphenation pattern file for Swedish, taken
1266 * tmac/README: Updated.
1268 2006-02-27 Werner LEMBERG <wl@gnu.org>
1270 * tmac/trans.tmac (Liec, Letdate, Letns!14): Add it (for -mm).
1271 * tmac/fr.tmac: Add French translations.
1273 * tmac/composite.tmac: Add entry for `:'.
1275 2006-02-26 Werner LEMBERG <wl@gnu.org>
1277 * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable.
1279 (install_html, uninstall_sub): Updated.
1281 2006-02-26 Bruno Haible <bruno@clisp.org>
1283 Introduce Unicode fonts.
1285 * font/devhtml/DESC.proto: Mark as unicode.
1286 * font/devhtml/R.proto: Remove all charset entries that are already
1288 * font/devutf8/DESC.proto: Mark as unicode.
1289 * font/devutf8/R.proto: Remove all charset entries.
1290 * src/include/font.h (font): New static field `is_unicode'.
1291 Change order of fields.
1292 * src/libs/libgroff/font.cpp: Include unicode.h.
1293 (font::font): Update for changed order of fields.
1294 (font::contains, font::get_width, font::get_height, font::get_depth,
1295 font::get_italic_correction, font::get_left_italic_correction,
1296 font::get_subscript_correction, font::get_character_type,
1297 font::get_code, font::get_special_device_encoding): Handle both the
1298 explicitly enumerated glyphs and use general code for Unicode fonts.
1299 (font::load): Make the charset section optional when the font is
1301 (font::load_desc): Recognize the `unicode' attribute.
1302 * src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
1304 2006-02-26 Claudio Fontana <claudio@gnu.org>
1306 * Makefile.in: Add comment about DESTDIR.
1308 * Makefile.sub: Add DESTDIR to install and uninstall targets
1309 to support staged installations.
1310 * Makefile.comm: Likewise.
1311 * doc/Makefile.sub: Likewise.
1312 * contrib/eqn2graph/Makefile.sub: Likewise.
1313 * contrib/gdiffmk/Makefile.sub: Likewise.
1314 * contrib/grap2graph/Makefile.sub: Likewise.
1315 * contrib/pic2graph/Makefile.sub: Likewise.
1316 * src/devices/xditview/Makefile.sub: Likewise.
1317 * src/preproc/eqn/Makefile.sub: Likewise.
1318 * src/roff/grog/Makefile.sub: Likewise.
1319 * src/roff/nroff/Makefile.sub: Likewise.
1320 * src/utils/afmtodit/Makefile.sub: Likewise.
1321 * src/utils/indxbib/Makefile.sub: Likewise.
1322 * tmac/Makefile.sub: Likewise.
1324 2006-02-24 Werner LEMBERG <wl@gnu.org>
1326 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1328 Remove commented out entries for \' and \` (there are no such glyph
1331 * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1332 commented out entries for \' and \`.
1335 * */*: s/legal/valid/ where appropriate.
1337 2006-06-23 Werner LEMBERG <wl@gnu.org>
1339 * font/devhtml/R.proto, font/devutf8/R.proto: Remove incorrect \'
1342 2006-02-22 Werner LEMBERG <wl@gnu.org>
1344 Remove all remaining traces from the `shc' glyph.
1346 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
1347 src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1350 * font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc'
1351 entry with unnamed glyph.
1353 * tmac/html/tmac: Remove `shc' entry from call to `.cflags'.
1355 * src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD
1358 2006-02-22 Bruno Haible <bruno@clisp.org>
1360 Concretize the `glyph' datatype.
1362 * src/include/font.h (glyph): Remove class.
1363 (glyph): Renamed from struct `glyphinfo'.
1364 (glyph_to_index): New inline function.
1365 (glyph_to_name): Make extern, not inline.
1366 (glyph_to_number): Update.
1367 (font): Use `glyph *' instead of `glyph'.
1369 * src/libs/libgroff/nametoindex.cpp (charinfo): Inherit from class
1370 `glyph'. Make `name' field public.
1371 (character_indexer, number_to_glyph, name_to_glyph): Use `glyph *'
1373 (glyph_to_name): Renamed from `glyph::glyph_name'.
1375 * src/roff/troff/charinfo.h (charinfo): Inherit from class `glyph'.
1376 Use `glyph *' instead of `glyph'.
1378 * src/roff/troff/input.cpp (name_to_glyph, number_to_glyph): Use
1379 `glyph *' instead of `glyph'.
1380 (glyph_to_name): Renamed from `glyph::glyph_name'.
1382 * src/libs/libgroff/font.cpp: Use `glyph *' instead of `glyph',
1383 and `glyph_to_index' instead of `glyph::glyph_index'.
1385 * src/include/printer.h (printer): Use `glyph *' instead of `glyph'.
1386 * src/libs/libdriver/printer.cpp: Likewise.
1387 * src/devices/grodvi/dvi.cpp: Likewise.
1388 * src/devices/grohtml/post-html.cpp: Likewise.
1389 * src/devices/grolbp/lbp.cpp: Likewise.
1390 * src/devices/grolj4/lj4.cpp: Likewise.
1391 * src/devices/grops/ps.cpp: Likewise.
1392 * src/devices/grotty/tty.cpp: Likewise.
1394 2006-02-22 Werner LEMBERG <wl@gnu.org>
1396 * font/devdvi/generate/tc.map: Add `sr' glyph.
1397 * font/devdvi/*TC: Regenerated.
1399 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1402 2006-02-21 Werner LEMBERG <wl@gnu.org>
1404 * man/groff_char.man: Explain `***' marker.
1406 2006-02-17 Bruno Haible <bruno@clisp.org>
1408 * src/libs/libgroff/nametoindex.cpp (character_indexer): Rename
1409 methods and fields from *_index to *_glyph.
1410 (character_indexer::named_char_glyph): Test for `charNNN' name
1412 (name_to_glyph): ... not here.
1414 2006-02-17 Bruno Haible <bruno@clisp.org>
1416 * src/include/font.h (name_to_glyph): Renamed from
1417 font::name_to_index.
1418 (number_to_glyph): Renamed from font::number_to_index.
1419 (glyph_to_name): Renamed from font::index_to_name.
1420 (glyph_to_number): Renamed from font::index_to_number.
1421 * src/libs/libgroff/nametoindex.cpp: Likewise.
1422 * src/roff/troff/charinfo.h (charinfo::as_glyph): Renamed from
1423 charinfo::get_index.
1425 * src/roff/troff/input.cpp: All callers changed.
1426 * src/roff/troff/node.cpp: Likewise.
1427 * src/libs/libgroff/font.cpp: Likewise.
1428 * src/devices/grops/ps.cpp: Likewise.
1429 * src/devices/grohtml/post-html.cpp: Likewise.
1430 * src/libs/libdriver/printer.cpp: Likewise.
1432 2006-02-17 Werner LEMBERG <wl@gnu.org>
1434 * src/include/ptable.h, src/include/itable.h
1435 (NEXT_PTABLE_SIZE_DEFINED): Use it to avoid multiple declaration
1436 of external symbol `next_ptable_size' (used by both header files).
1438 2006-02-15 Bruno Haible <bruno@clisp.org>
1440 * src/include/font.h (glyphinfo): New class.
1441 (glyph): Change internal representation.
1442 Change constructor signature.
1443 New method glyph::glyph_number().
1444 (glyph::glyph, glyph glyph::undefined_glyph, glyph::glyph_index,
1445 glyph::operator==, glyph::operator!=): Update.
1446 (font::index_to_name, font::index_to_number): New functions.
1448 * src/include/itable.h: New file, based on src/include/ptable.h.
1450 * src/libs/libgroff/nametoindex.cpp: Include itable.h.
1451 (class charinfo): New class.
1452 (class character_indexer): Change table result type from `int' to
1454 Add table with integer key.
1455 (character_indexer::character_indexer): Update.
1456 (character_indexer::ascii_char_index): Update.
1457 (character_indexer::numbered_char_index): Use NULL as name, not a
1458 string starting with a space.
1459 (character_indexer::named_char_index): Update.
1460 (font::number_to_index, font::name_to_index): Remove no-op cast.
1461 (glyph::glyph_name): New method.
1462 * src/roff/troff/charinfo.h (class charinfo): Inherit from class
1464 (NUMBERED): Remove flag bit.
1465 (charinfo::numbered, charinfo::get_index): Update.
1467 * src/roff/troff/input.cpp (charinfo::charinfo): Update.
1468 (charinfo::set_number, charinfo::get_number): Update.
1469 (glyph::glyph_name): New method.
1471 2006-02-15 Werner LEMBERG <wl@gnu.org>
1473 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Fix
1474 entries for `>>', `<<', `*f', and `+f'. Reported by Bruno.
1476 2006-02-13 Werner LEMBERG <wl@gnu.org>
1478 * font/devps/prologue.ps (RE): Check `UniqueID' also, similar to
1481 2006-02-11 Werner LEMBERG <wl@gnu.org>
1483 * src/include/font.h: s/glyph_t/glyph/.
1486 * src/devices/grotty/tty.cpp: s/glyph/tty_glyph/.
1487 s/output_character_t/output_character/.
1489 2006-02-11 Bruno Haible <bruno@clisp.org>
1491 New accessor method glyph_t::glyph_name().
1493 * src/include/ptable.h (declare_ptable): Add a return value to the
1494 `define' method, and declare a `lookupassoc' method.
1495 (implement_ptable): Return the stored key in `define'. Implement
1497 * src/include/font.h (glyph_t): Add `name' field. Add an argument
1499 (glyph_t::glyph_name): New method.
1501 * src/libs/libgroff/nametoindex.cpp (character_indexer): Change
1502 return type of methods and field member type to glyph_t.
1503 (character_indexer::character_indexer): Update.
1504 (character_indexer::ascii_char_index): Allocate a name for the
1506 Return a glyph_t with name.
1507 (character_indexer::numbered_char_index): Return a glyph_t without a
1509 (character_indexer::named_char_index): Return a glyph_t with a name.
1510 (font::number_to_index, font::name_to_index): Update.
1512 * src/roff/troff/input.cpp (charinfo::charinfo): Use the symbol as
1515 2006-02-11 Bruno Haible <bruno@clisp.org>
1517 * src/devices/grotty/tty.cpp (output_character_t): New type.
1518 (tty_printer::make_bold, tty_printer::add_char,
1519 tty_printer::put_char): Change argument type to output_character_t.
1520 (crossings): Change element type to output_character_t.
1522 2006-02-11 Bruno Haible <bruno@clisp.org>
1524 Make the glyph data type abstract.
1526 * src/include/font.h (glyph_t): New class.
1527 (name_to_index, number_to_index): Change return type to glyph_t.
1528 (font::contains, font::get_width, font::get_height, font::get_depth,
1529 font::get_character_type, font::get_kern, font::get_skew,
1530 font::get_italic_correction, font::get_left_italic_correction,
1531 font::get_subscript_correction, font::get_code,
1532 font::get_special_device_encoding, font::add_entry,
1533 font::copy_entry, font::add_kern, font::hash_kern): Change argument
1536 * src/libs/libgroff/font.cpp (font_kern_list): Change members
1537 type and constructor argument types to glyph_t.
1538 (font::contains, font::get_width, font::get_height, font::get_depth,
1539 font::get_character_type, font::get_kern, font::get_skew,
1540 font::get_italic_correction, font::get_left_italic_correction,
1541 font::get_subscript_correction, font::get_code,
1542 font::get_special_device_encoding, font::add_entry,
1543 font::copy_entry, font::add_kern, font::hash_kern): Change argument
1545 (font::load): Use glyph_t variables.
1547 * src/libs/libgroff/nametoindex.cpp (name_to_index,
1548 number_to_index): Change return type to glyph_t.
1550 * src/roff/troff/charinfo.h (charinfo::index): Change type to
1552 (charinfo::get_index): Change return type to glyph_t.
1554 * src/roff/troff/env.cpp: Include font.h.
1556 * src/roff/troff/node.cpp: Include font.h before charinfo.h.
1558 * src/roff/troff/input.cpp: Include font.h before charinfo.h.
1559 (charinfo::charinfo): Update.
1560 (name_to_index, number_to_index): Change return type to glyph_t.
1562 * src/include/printer.h (printer::set_char_and_width): Change return
1565 * src/libs/libdriver/printer.cpp (printer::set_char_and_width):
1566 Change return type to glyph_t.
1568 * src/devices/grodvi/dvi.cpp (dvi_printer::set_char): Change
1569 argument type to glyph_t.
1571 * src/devices/grohtml/post-html.cpp (page::add_and_encode): Update.
1572 (html_printer::space_glyph): Renamed from space_char_index.
1573 (html_printer::add_to_sbuf, html_printer::sbuf_continuation,
1574 html_printer::overstrike, html_printer::set_char): Change argument
1576 (html_printer::set_char_and_width): Change return type to glyph_t.
1578 * src/devices/grolbp/lbp.cpp (lbp_printer::set_char): Change
1579 argument type to glyph_t.
1581 * src/devices/grolj4/lj4.cpp (lj4_printer::set_char): Change
1582 argument type to glyph_t.
1584 * src/devices/grops/ps.cpp (ps_printer::space_glyph): Renamed from
1586 (ps_printer::set_subencoding, ps_printer::set_char): Change argument
1589 * src/devices/grotty/tty.cpp (tty_printer::set_char): Change
1590 argument type to glyph_t.
1592 2006-02-11 Bruno Haible <bruno@clisp.org>
1594 * src/roff/troff/input.cpp (font::name_to_index): Never return a
1597 * src/libs/libgroff/font.cpp (font::load): Remove failure tests for
1598 font::name_to_index.
1600 2006-02-10 Werner LEMBERG <wl@gnu.org>
1602 * doc/groff.texinfo (Assigning Formats): Number registers are always
1604 Apply some rephrasing, contributed by Michael Burt.
1606 2006-02-07 Werner LEMBERG <wl@gnu.org>
1608 * tmac/fr.tmac <ms>: Set `HY' register.
1610 2006-02-07 Werner LEMBERG <wl@gnu.org>
1612 Add framework for simple adaptation of the main macro packages (mm,
1613 me, ms, mom) to different locales. In particular, add support for
1614 French. For activation, simply use `-mfr' as the last macro
1615 package. This feature has been contributed by Fabrice Ménard
1616 <menard.fabrice@wanadoo.fr>.
1618 * tmac/fr.tmac, tmac/trans.tmac, tmac/hyphen.fr, tmac/LOCALIZATION:
1620 * tmac/README: Mention hyphen.fr.
1621 * man/groff_tmac.man: Mention fr.tmac.
1624 2006-01-27 Werner LEMBERG <wl@gnu.org>
1626 * man/groff_font.man: Updated documentation of `entity_name' field.
1629 2006-01-27 Bruno Haible <bruno@clisp.org>
1631 * font/devhtml/R.proto: Remove the entity names from the font's
1632 special_encoding_encoding column.
1633 * src/devices/grohtml/post-html.cpp (get_html_entity): New function,
1634 handling the entity names here.
1635 (get_html_translation): Use it. Change return type to `const
1637 (page::add_and_encode): Update, removing a useless cast.
1639 2006-01-26 Werner LEMBERG <wl@gnu.org>
1641 This change is based on a patch by Bruno Haible <bruno@clisp.org>.
1643 * src/include/device.h: Add comments.
1644 * src/include/font.h: Add comments.
1645 * src/include/unicode.h: Likewise.
1646 * src/include/ptable.h, src/libs/libgroff/ptable.cpp: Likewise.
1648 2006-01-26 Keith Marshall <keith.d.marshall@ntlworld.com>
1650 Suppress `.st' request emission by `grn'.
1652 * src/preproc/grn/main.cpp (USE_ST_REQUEST): New macro.
1655 2006-01-22 Werner LEMBERG <wl@gnu.org>
1657 * install-sh: New version; taken from texinfo CVS.
1659 2006-01-21 Werner LEMBERG <wl@gnu.org>
1661 * src/preproc/preconv/preconv.cpp (main): Set program_name. Bug
1662 reported by Alexander E. Patrakov <patrakov@ums.usu.ru>.
1664 2006-01-19 Bruno Haible <bruno@clisp.org>
1666 Let `make -k install' install more files.
1668 * Makefile.in (MAKE_K_FLAG): New variable. Use it everywhere where
1669 $(MAKE) and $(MDEFINES) are used.
1670 (CPROGDIRS): Remove $(XPROGDIRS). Treat $(XPROGDIRS) like
1671 $(CPROGDIRS) everywhere.
1672 ($(DEVDIRS) $(XDEVDIRS) $(OTHERDEVDIRS) $(TTYDEVDIRS)): Don't depend
1674 ($(OTHERDIRS)): Likewise.
1677 * src/devices/grohtml/post-html.cpp (get_html_translation): Remove
1678 failure test for font::name_to_index -- it can never fail.
1680 2006-01-19 Werner LEMBERG <wl@gnu.org>
1682 * src/devices/grops/grops.man: Fix section on creating EPS files.
1683 Don't use future time in manual.
1686 2006-01-15 Gaius Mulley <gaius@glam.ac.uk>
1688 * tmac/www.tmac: New macro LINKSTYLE which allows users to set
1689 various typographical URL attributes for non-HTML devices.
1691 * tmac/groff_www.man: Document LINKSTYLE.
1693 2006-01-11 Werner LEMBERG <wl@gnu.org>
1695 * configure.ac: Test for getc_unlocked (needed for localcharset).
1696 * configure, src/include/config.hin: Regenerated.
1698 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Define
1701 * src/libs/libgroff/relocatable.h: New dummy header file for
1704 * src/libs/libgroff/localcharset.c: Updated to (unchanged) CVS
1707 2006-01-10 Bruno Haible <bruno@clisp.org>
1709 Work around unportability of nl_langinfo(CODESET).
1711 * m4/glibc21.m4: New file, from gnulib.
1712 * Makefile.sub (M4MACROS): Add m4/glibc21.m4.
1713 * configure.ac: Also test for stddef.h, and invoke jm_GLIBC21.
1714 * Makefile.in (HOST, GLIBC21): New variables.
1715 (MDEFINES): Pass them to subdirectories.
1716 * src/include/relocate.h (relocatep): Define with C linkage.
1717 * src/include/localcharset.h: New file, from gnulib.
1718 * src/libs/libgroff/localcharset.c: New file, from gnulib with a
1719 modification for relocate().
1720 * src/libs/libgroff/config.charset: New file, from gnulib.
1721 * src/libs/libgroff/ref-add.sin: New file, from gnulib.
1722 * src/libs/libgroff/ref-del.sin: New file, from gnulib.
1723 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Also define LIBDIR.
1724 (OBJS): Add localcharset.o.
1725 (CSRCS): Add localcharset.c.
1726 (all): Add dependencies to charset.alias, ref-add.sed, ref-del.sed.
1727 (charset.alias): New rule.
1728 (PACKAGE): New variable.
1729 (ref-add.sed, ref-del.sed): New rules.
1730 (MKINSTALLDIRS): New variable.
1731 (install_data): Depend on install_charset_data.
1732 (install_charset_data): New rule for creating or updating
1734 (uninstall_sub): Depend on uninstall_charset_data.
1735 (uninstall_charset_data): New rule for uninstalling or updating
1737 * src/preproc/preconv/preconv.cpp: Include localcharset.h instead
1739 (main): Initialize default_encoding from locale_charset() instead of
1740 nl_langinfo(CODESET).
1742 * aclocal.m4, configure, src/include/config.hin: Regenerated.
1744 2006-01-10 Werner LEMBERG <wl@gnu.org>
1746 * src/preproc/preconv/preconv.cpp (conversion_iconv): Use
1747 ICONV_CONST in call to iconv. Reported by Robert Goulding.
1749 2006-01-07 Werner LEMBERG <wl@gnu.org>
1751 * fonts/devps/generate/freeeuro.sfd: Run auto-hinter with recent
1753 Bump font version to 001.001.
1755 * fonts/devps/generate/Makefile (freeeuro.afm, freeeuro.pfa):
1756 Call fontforge, not pfaedit.
1758 * fonts/devps/freeeuro.afm, fonts/devps/freeeuro.pfa: Regenerated.
1760 2006-01-05 Ruslan Ermilov <ru@FreeBSD.org>
1762 * tmac/doc-common: Add new FreeBSD and NetBSD versions.
1763 * tmac/groff_mdoc.man: Updated.
1765 2006-01-05 Werner LEMBERG <wl@gnu.org>
1767 * src/preproc/preconv/preconv.cpp: s/debug/debug_flag/.
1768 (raw_flag): New global variable.
1769 (do_file): Use .lf to set file name (if `raw_flag' isn't set).
1770 Don't pass BOM to `conversion_utf8'.
1772 (main): Handle `-r' command line switch to set `raw_flag'.
1773 (get_BOM): Fix encodings in `BOM_table'.
1775 * src/preproc/preconv/preconv.man: New file. Not complete yet.
1776 * src/preproc/proconv/Makefile.sub (MAN1): New variable.
1778 2006-01-04 Werner LEMBERG <wl@gnu.org>
1780 * src/preproc/preconv/preconv.cpp (emacs_to_mime): As suggested by
1781 Bruno, comment out most encodings to support only a small set of
1782 coding tags, thus reducing potential problems with legacy encodings
1783 and character sets in the future.
1784 Add many XEmacs coding tags (now commented out).
1786 (check_encoding_tag): Renamed to...
1787 (check_coding_tag): This.
1788 (get_BOM): Return encoding as specified by BOM.
1789 Test for UTF32-LE too.
1790 (do_file): Don't check for coding tag if a BOM has been found.
1792 2006-01-03 Bruno Haible <bruno@clisp.org>
1794 * m4/groff.m4: Renamed from aclocal.m4.
1795 * m4/codeset.m4: New file, from gnulib.
1796 * m4/iconv.m4: New file, from gnulib.
1797 * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
1799 * config.rpath: New file, from gnulib.
1800 * config.guess, config.sub: New files, from gnulib.
1801 * Makefile.sub (M4MACROS): New variable.
1802 (configure): Fix typo.
1803 (aclocal.m4): New rule.
1804 (stamp-h.in): Depend on aclocal.m4.
1805 * configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET.
1806 * Makefile.in (LIBICONV): New variable.
1807 (MDEFINES): Pass it to recursive makes.
1808 * src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and
1809 HAVE_ICONV instead of I18N macro.
1810 * src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable.
1812 * aclocal.m4, configure, src/include/config.hin: (Re)generated.
1814 2006-01-03 Werner LEMBERG <wl@gnu.org>
1816 * doc/Makefile.in (webpage.html): Simplify.
1817 * doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in.
1818 * doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
1820 2006-01-01 Werner LEMBERG <wl@gnu.org>
1822 * tmac/doc-common (Os): Add some Darwin versions.
1823 * tmac/groff_mdoc.man: Document them.
1825 2006-01-01 Bruno Haible <bruno@clisp.org>
1827 * src/preproc/preconv/preconv.cpp (emacs_to_mime): Various
1829 . Don't map ascii to latin-1.
1830 . Don't use IBMxxx encodings but cpxxx for portability.
1831 . Map cp932, cp936, cp949, cp950 to itself.
1832 (emacs2mime): Protect calls to strcasecmp.
1833 (conversion_iconv): Add missing call to iconv_close.
1834 (do_file): Emit error message in case of unsupported encoding.
1836 2005-12-31 Werner LEMBERG <wl@gnu.org>
1838 Integrate preconv into the groff binary. Changes based on a patch
1839 from Michail Vidiassov.
1841 * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase by 1.
1843 * src/roff/groff/groff.cpp (PRECONV_INDEX): New macro.
1844 (SOELIM_INDEX): Updated.
1845 (help, synopsis): Updated.
1846 (main): Add command line options `-k' and `-K enc' to select
1848 Add support for GROFF_ENCODING environment variable.
1850 * src/roff/groff/groff.man: Updated and revised.
1853 Start with autoconf support for preconv.
1855 * configure.ac: Call AC_C_BIGENDIAN.
1856 * configure, src/include/config.hin: Regenerated.
1858 2005-12-30 Werner LEMBERG <wl@gnu.org>
1860 New preprocessor `preconv' to convert input encodings to something
1861 groff can understand. Not yet integrated within groff. Proper
1862 autoconf stuff is missing too.
1864 Tomohiro Kubota has written a first draft of this program, and some
1865 ideas have been reused (while almost no code has been taken
1868 * src/preproc/preconv/preconv.cpp. src/preproc/preconv/Makefile.sub:
1871 * MANIFEST, Makefile.in (CCPROGDIRS), test-groff.in
1872 (GROFF_BIN_PATH): Add preconv.
1874 2005-12-12 Werner LEMBERG <wl@gnu.org>
1876 * aclocal.m4 (GROFF_MAKEINFO): Fix regexps to be POSIX conformant.
1877 In particular, don't use `\+' since it is a GNU sed extension.
1879 * configure: Regenerated.
1881 2005-12-09 Werner LEMBERG <wl@gnu.org>
1883 * src/libs/libgroff/make-uniuni: New script to generate uniuni.cpp.
1885 * src/libs/libgroff/uniuni.cpp: Regenerated, using data from Unicode
1889 * src/utils/afmtodit/make-afmtodit-tables: New script to generate
1892 * src/utils/afmtodit/afmtodit.tables: New file, representing Unicode
1895 * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
1896 %AGL_to_unicode): Removed. Replace it with a tag.
1898 * src/utils/afmtodit/Makefile.sub (afmtodit): Adjust sed expression
1899 to replace tag with actual file contents.
1901 2005-12-08 Werner LEMBERG <wl@gnu.org>
1903 The change 2005-06-20 can indeed cause problems, so we follow the
1904 advice by using marks.
1906 * font/devps/prologue.ps (PBEGIN): Use `mark'.
1907 (PEND): Use `cleartomark'.
1909 2005-12-07 Michail Vidiassov <master@iaas.msu.ru>
1911 * src/utils/afmtodit.pl: Fix kerning output to avoid warnings for
1912 glyphs which have kern values but aren't handled (glyph variants,
1915 2005-12-02 Werner LEMBERG <wl@gnu.org>
1917 * src/devices/grops/ps.cpp (ps_printer::get_subfont): Use correct
1918 subfont index. Reported by Michail Vidiassov <master@iaas.msu.ru>.
1920 2005-11-28 Gaius Mulley <gaius@glam.ac.uk>
1922 * doc/Makefile.in: Separate rule for webpage.html so that extra
1923 command line options can be passed to grohtml.
1924 * doc/groff.css: Change all margins to 0%.
1925 * doc/webpage.ms: Now use new macros ALN, LNS, and LNE so that left
1926 navigation is exploited. Also update webpage to contain new
1927 sections on licenses, mailing lists, cvs/ftp access, groff
1928 dependencies, and bug reports.
1929 * tmac/groff_www.man: Document the new macros ALN, LNS, and LNE.
1930 * tmac/www.tmac: Implement the new macros ALN, LNS, and LNE.
1932 2005-11-25 Gaius Mulley <gaius@glam.ac.uk>
1934 * src/devices/grohtml/post-html.cpp
1935 (html_printer::do_file_components): Add fputs calls to emit the
1936 head contents and shut down the head tag whenever a new file
1937 component is generated.
1939 2005-11-22 Gaius Mulley <gaius@glam.ac.uk>
1941 * src/devices/grohtml/post-html.cpp (html_printer::flush_page): Add
1942 call to flush_text to flush any outstanding html tags on the
1945 2005-11-18 Werner LEMBERG <wl@gnu.org>
1947 * aclocal.m4 (GROFF_MAKEINFO): Use `groff.info' in tests.
1948 Announce makeinfo version.
1949 * configure: Regenerated.
1951 2005-11-18 Mike Frysinger <vapier@gentoo.org>
1953 * Makefile.in: Declare proper dependencies between make targets.
1955 * doc/Makefile.in: Rename groff info page to `groff.info'.
1956 * doc/Makefile.sub: Likewise.
1957 * doc/groff.texinfo: Likewise.
1959 2005-11-17 Peter O'Gorman <mlists@thewrittenword.com>
1961 * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c: Move
1962 definition of __GETOPT_PREFIX to the beginning of file to ensure
1963 that it is defined even on platforms where getopt.h is already
1964 included by other header files.
1966 2005-11-10 Gaius Mulley <gaius@glam.ac.uk>
1968 * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
1969 Reset font to NULL to ensure that a font block is recreated during
1972 2005-11-04 Werner LEMBERG <wl@gnu.org>
1974 * aclocal.m4 (GROFF_MAKEINFO): Fix sed expression.
1975 * configure: Regenerated.
1977 2005-10-27 Werner LEMBERG <wl@gnu.org>
1979 * aclocal.m4 (GROFF_MAKEINFO): New function for checking whether
1980 makeinfo 4.8 or newer is available.
1981 * configure.ac: Call GROFF_MAKEINFO.
1982 * configure: Regenerated.
1984 * Makefile.in (MAKEINFO): Use autoconf variable.
1985 (MDEFINES): Add MAKEINFO.
1987 * doc/Makefile.in (MAKEINFO): Use autoconf variable.
1988 * doc/Makefile.sub (MAKEINFO): Remove.
1990 2005-10-26 Werner LEMBERG <wl@gnu.org>
1992 * REVISION: Set to 3.
1994 2005-10-17 Werner LEMBERG <wl@gnu.org>
1996 Mention $MANPAGER variable used with some `man' systems.
1998 * doc/webpage.ms, src/devices/grotty/grotty.man, NEWS: Updated.
2000 2005-09-13 Werner LEMBERG <wl@gnu.org>
2002 * tmac/hyphenex.us: New version (`ushyphex.tex' from ftp.dante.de).
2004 2005-09-04 Werner LEMBERG <wl@gnu.org>
2006 Version 1.19.2 released
2007 =======================
2009 * tmac/groff_ms.man, doc/groff.texinfo: Synchronize.
2011 * doc/webpage.ms: Updated.
2013 * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
2015 2005-09-04 Jörgen Grahn <jgrahn@algonet.se>
2017 * tmac/groff_ms.man: Document `PO' better.
2019 2005-09-03 Werner LEMBERG <wl@gnu.org>
2021 * NEWS: Document grotty changes.
2023 2005-09-01 Keith Marshall <keith.d.marshall@ntlworld.com>
2025 Backward compatibility support for `man' program.
2027 * tmac/an-old.tmac (LL): Initialize it to respect prior LL register
2028 assignment, prior `.ll' request and then package defaults, in this
2029 specified order of decreasing priority.
2031 * tmac/groff_man.man, doc/groff.texinfo (Man options): Document
2032 altered `LL' register initialization priorities.
2034 2005-08-29 Gary W. Swearingen <garys@opusnet.com>
2036 * tmac/groff_mdoc.man: Go into more details how the `AUTHORS'
2037 section should look like.
2039 2005-08-29 Werner LEMBERG <wl@gnu.org>
2041 * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't
2044 2005-08-27 Bernd Warken
2046 * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor
2049 2005-08-11 Bernd Warken
2051 * tmac/www.tmac (URL, MTO): Handle empty \\$1 better.
2053 2005-08-09 Bernd Warken
2055 * tmac/www.tmac (URL, MTO): Use bold series if color support is
2058 2005-08-02 Bernd Warken
2060 * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete
2061 as argument to $(INSTALL_INFO). The latter isn't portable.
2062 Remove $(HTMLEXAMPLEFILES) too.
2064 * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and
2066 Suppress warning messages and return always true.
2068 * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too.
2070 2005-07-02 Bernd Warken
2072 * src/devices/xditview/gxditview.man: Change many `.I' to `.B'.
2073 * man/groff_out.man: More markup and minor improvements.
2074 * src/roff/groff/groff.man: Minor improvements.
2076 2005-06-28 Werner LEMBERG <wl@gnu.org>
2078 * ChangeLog: Split off older entries into...
2079 * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New
2082 2005-06-26 Bernd Warken
2084 * src/devices/xditview/gxditview.man: More minor fixes.
2086 2005-06-24 Werner LEMBERG <wl@gnu.org>
2088 * src/preproc/pic/troff.cpp (troff_output::set_fill,
2089 troff_output::set_color, troff_output::reset_color): Use .bcolor and
2090 .fcolor instead of \m and \M, respectively.
2092 2005-06-23 Bernd Warken
2094 * src/devices/xditview/gxditview.man: More minor fixes.
2095 * README: Formatting issues.
2096 Mention some problems with Debian.
2098 2005-06-23 Bernd Warken
2100 * src/devices/xditview/gxditview.man: Revised and improved.
2102 2005-06-22 Werner LEMBERG <wl@gnu.org>
2104 Another round in fixing getopt problems. Hopefully the last one!
2105 This time we use the getopt stuff from gnulib and define a prefix
2106 unconditionally so that there are no collisions with any other
2107 getopt implementations. This is a slight waste of space in case
2108 we already use a GNU getopt implementation, but on
2109 the other hand it really simplifies life.
2111 * src/include/getopt.h: Use gnulib version.
2113 * src/include/getopt_int.h: Use gnulib version.
2115 * src/include/groff-getopt.h: Removed. Obsolete now.
2117 * src/include/lib.h: Regarding getopt, don't handle any platform
2118 specially; just include getopt.h.
2119 (__GETOPT_PREFIX): Define (before getopt.h).
2121 * src/include/Makefile.sub (HDRS): Updated.
2123 * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use
2126 * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set
2129 * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c
2130 (__GETOPT_PREFIX): Define (before getopt.h).
2132 2005-06-21 Werner LEMBERG <wl@gnu.org>
2134 * src/include/lib.h: Provide a fix for Mac OS X to not include
2137 2005-06-20 Denis M. Wilson <dmw@oxytropis.plus.com>
2139 * font/devps/prologue.ps (EP): Dont' use `bind'. Reason: Using
2140 `bind' to define a procedure which contains `showpage' means that an
2141 invocation of `showpage' may execute wrongly (the exact effect
2142 depending on the interpreter). Not usually a problem except under
2143 transformations, such as combining pages.
2144 (PEND): Don't call `clear'. Reason: Using `clear' in the definition
2145 of /PEND means that stack underflow will occur if the stack is
2146 deliberately non-empty before document inclusion. If included
2147 files are found to be generally badly behaved, we could replace the
2148 `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've
2149 never found this necessary).
2151 2005-06-20 Jörgen Grahn <jgrahn@algonet.se>
2153 * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero
2154 earlier to get correct error message.
2156 2005-06-16 Bernd Warken
2157 * src/roff/nroff/nroff.sh: Add support for iso-8859-15.
2159 2005-06-15 Werner LEMBERG <wl@gnu.org>
2161 Another try to update getopt files. This time we add a dummy
2162 gettext.h file to satisfy the dependency.
2164 * src/include/getopt.h, src/libs/libgroff/getopt.c,
2165 src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2167 * src/include/getopt_int.h: New file (from GNU libc CVS).
2169 * src/include/gettext.h: Dummy file which just defines a gettext()
2172 * src/include/groff-getopt.h: Updated.
2174 * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h.
2177 * src/libs/libdriver/input.cpp (IntArray): Remove superfluous
2178 `const' keywords in return value.
2180 * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer):
2181 Remove redundant variable `old'.
2182 (pushBackBuffer::skipToNewline): Remove redundant variable `ch'.
2184 * src/preproc/tbl/main.cpp (process_table): Remove redundant
2188 Fix more friend name injection problems since modern C++ compilers
2189 fail otherwise. We simply provide (global) declarations for all
2190 functions declared as friends. This is not really necessary but
2193 * src/preproc/eqn/lex.cpp: Provide declarations for get_char,
2194 peek_char, and get_location.
2196 * src/preproc/refer/ref.h: Provide declarations for
2197 compare_reference, same_reference, same_year, same_date,
2198 same_author_last_name, and same_author_name.
2200 * src/roff/troff/div.h: Provide declarations for do_divert and
2203 * src/roff/troff/env.h: Provide declarations for title_length,
2204 space_size, fill, no_fill, adjust, no_adjust, center, right_justify,
2205 vertical_spacing, post_vertical_spacing, line_spacing, line_length,
2206 indent, temporary_indent, do_underline, do_input_trap, set_tabs,
2207 margin_character, no_number, number_lines, leader_character,
2208 tab_character, hyphenate_request, no_hyphenate,
2209 hyphen_line_max_request, hyphenation_space_request,
2210 hyphenation_margin_request, line_width, tabs_save, tabs_restore,
2211 line_tabs_request, widow_control_request, and do_divert.
2213 * src/roff/troff/input.cpp: Provide declaration for chop_macro.
2215 * src/roff/troff/node.cpp: Provide declarations for class
2217 Provide declaration for make_tfont.
2219 2005-05-29 Werner LEMBERG <wl@gnu.org>
2221 * doc/fdl.texi: Updated to version 1.2. Reported by Bernd Warken.
2223 2005-05-28 Werner LEMBERG <wl@gnu.org>
2225 * contrib/pdfmark/Makefile.sub (.ms.pdf): Use `--stylesheet', not
2228 * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove
2229 redundant semicolons.
2231 * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub,
2232 src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub:
2233 Define `MLIB'. Some compilers need this for linking with libgroff.
2235 2005-05-27 Werner LEMBERG <wl@gnu.org>
2237 * MANIFEST, README, doc/webpage.ms: Updated.
2239 2005-05-26 Werner LEMBERG <wl@gnu.org>
2241 * All affected files: Update postal address of FSF.
2243 2005-05-25 Keith Marshall <keith.d.marshall@ntlworld.com>
2246 * README: More fixes.
2248 * README.CVS: Removed. Its contents is now part of the README file.
2250 2005-05-21 Werner LEMBERG <wl@gnu.org>
2252 * README: Updated. Based on a patch from Bernd Warken.
2254 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
2256 Miscellaneous script portability enhancements.
2258 * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
2259 generated conftest.sh script, conforming to portability
2260 recommendation in autoconf docs.
2261 * configure: Likewise, for code generated by GROFF_CSH_HACK.
2262 * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
2263 to portability recommendation in autoconf docs.
2264 * contrib/gdiffmk/gdiffmk.sh: Likewise.
2265 * contrib/gdiffmk/tests/runtests.in: Likewise.
2266 * contrib/grap2graph/grap2graph.sh: Likewise.
2267 * contrib/groffer/groffer.sh: Likewise.
2268 * contrib/mm/mmroff.pl: Likewise.
2269 * contrib/mom/momdoc/appendices.html: Likewise.
2270 * contrib/pic2graph/pic2graph.sh: Likewise.
2271 * font/devps/generate/afmname: Likewise.
2272 * src/devices/xditview/ad2c: Likewise.
2273 * src/preproc/eqn/neqn.sh: Likewise.
2274 * src/roff/grog/grog.pl: Likewise.
2275 * src/roff/grog/grog.sh: Likewise.
2276 * src/roff/nroff/nroff.sh: Likewise.
2277 * PROBLEMS: Likewise, in embedded script examples.
2279 2005-05-16 Keith Marshall <keith.d.marshall@ntlworld.com>
2281 Improve portability of `pdfroff' shell script.
2283 * arch/misc/shdeps.sh: Add space in shebang, conforming to
2284 portability guidelines in `autoconf' docs.
2285 (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
2286 initialization code. Used by contrib/pdfmark/pdfroff.sh's
2287 `searchpath' function.
2289 2005-05-14 Werner LEMBERG <wl@gnu.org>
2291 * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
2292 contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
2293 needed for newer ImageMagick versions.
2295 2005-05-07 Werner LEMBERG <wl@gnu.org>
2297 * src/preproc/refer/refer.man: Many small typographic fixes.
2299 2005-05-06 Jeff Conrad <jeff_conrad@msn.com>
2301 * src/devices/grohtml/post-html.cpp (assert_state::~assert_state):
2302 Use `char *' cast for a_delete.
2304 2005-05-03 Werner LEMBERG <wl@gnu.org>
2306 * src/libs/libgroff/maxpathname.cpp: Include stdlib.h.
2307 src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
2309 2005-05-03 Jeff Conrad <jeff_conrad@msn.com>
2311 * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using
2312 `a_delete' for `const char *'.
2314 2005-05-03 Werner LEMBERG <wl@gnu.org>
2316 * src/devices/grohtml/post-html.cpp,
2317 src/devices/grohtml/html-table.cpp,
2318 src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp:
2319 Replace malloc/free with new/delete/a_delete.
2321 * src/devices/grolbp/lbp.h: Remove superfluous semicolons which
2322 are prohibited with ANSI C++.
2323 (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the
2324 function has a variable number of arguments).
2326 * src/preproc/grn/main.cpp (doinput): Change return type to `int'.
2327 Simplify function and update all callers.
2329 2005-05-02 Werner LEMBERG <wl@gnu.org>
2331 Undo getopt changes from 2005-04-30. We don't want a dependency
2334 * src/include/getopt_int.h: Removed.
2336 * src/include/getopt.h, src/include/groff-getopt.h,
2337 src/include/Makefile.sub, src/libs/libgroff/getopt.c,
2338 src/libs/libgroff/getopt1.c: Revert to previous version.
2341 * src/include/nonposix.h (access) [_MSC_VER]: New macro.
2343 * src/include/posix.h (F_OK): Define conditionally.
2345 * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
2346 different variable name in second `for' loop to avoid MSVC compiler
2349 2005-04-30 Werner LEMBERG <wl@gnu.org>
2351 AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
2353 * aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
2354 * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
2355 * configure, src/include/config.hin: Regenerated.
2357 * PROBLEMS: Updated.
2360 Update getopt files.
2362 * src/include/getopt.h, src/libs/libgroff/getopt.c,
2363 src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2365 * src/include/getopt_int.h: New file (from GNU libc CVS).
2367 * src/include/groff-getopt.h: Updated.
2369 * src/include/Makefile.sub (HDRS): Add getopt_int.h.
2372 * font/devutf8/NOTES: Updated.
2374 2005-04-28 Werner LEMBERG <wl@gnu.org>
2376 Bug fix for Win32 relocatable code. Based on a patch from Keith
2379 * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
2382 * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
2383 (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
2385 2005-04-28 Keith Marshall <keith.d.marshall@ntlworld.com>
2387 Correct `gnu.eps' handling for build from distribution tarball, with
2388 separate source and build directories.
2390 * doc/Makefile.sub: (examples.stamp): New target; forces copy of
2391 grnexmpl.g, groff.css and gnu.eps from source to build directory;
2392 generate gnu.eps from gnu.xpm if required; touch examples.stamp.
2393 (prepare_examples): Make it depend on examples.stamp.
2394 (CLEANADD): Add examples.stamp.
2396 2005-04-27 Werner LEMBERG <wl@gnu.org>
2400 position: `(' position `)'
2404 * src/preproc/pic/pic.y (position, position_not_place): Handle
2405 additional parentheses.
2407 * doc/pic.ms: Updated.
2409 2005-04-23 Larry Jones <lawrence.jones@ugs.com>
2411 * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
2413 2005-04-18 Werner LEMBERG <wl@gnu.org>
2415 * src/roff/groff/pipeline.c: Don't include ctype.h.
2417 2005-04-13 Werner LEMBERG <wl@gnu.org>
2419 * src/roff/nroff/nroff.man: Document option `-M'.
2421 2005-04-13 Bruce Lilly <blilly@erols.com>
2423 * src/roff/nroff/nroff.sh: Make the script accept option `-M'.
2425 2005-04-01 Kees Zeelenberg <kzlg@users.sourceforge.net>
2426 Werner LEMBERG <wl@gnu.org>
2428 Add binary relocation support for Windows platforms.
2430 * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'.
2432 * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files.
2434 * src/libs/libgroff/searchpath.cpp: Handle `relocate'.
2435 (search_path::search_path, search_path::open_file_cautious): Use
2438 * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
2439 src/include/Makefile.sub (HDRS): Updated.
2441 2005-04-01 Werner LEMBERG <wl@gnu.org>
2443 * src/devices/grohtml/post-html.cpp: Don't use strdup/free but
2446 * src/libs/libgroff/font.cpp: Replace strdup with strsave.
2448 * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since
2449 lib.h already does it.
2451 * src/libs/libgroff/maxpathname.cpp: New file, defining
2454 * src/include/lib.h: Add prototype for path_name_max.
2456 * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated.
2458 * src/include/nonposix.h (PATH_EXT): New macro.
2460 2005-03-28 Werner LEMBERG <wl@gnu.org>
2462 Add support for double- and zero-width characters in grotty.
2464 * src/devices/grotty/tty.cpp (glyph): Add width.
2465 (tty_printer::make_underline, tty_printer::make_bold,
2466 tty_printer::add_character): Add parameter to pass character width.
2468 (tty_printer::end_page): Increase hpos by actual character width.
2470 * font/devutf8/R.proto: Specify zero width for non-spacing
2473 * tmac/unicode.tmac: Remove definitions for non-spacing entities.
2475 * Makefile.comm (extraclean): Remove more junk files.
2477 2005-03-25 Werner LEMBERG <wl@gnu.org>
2479 * configure.ac: Undo change from 2005-03-24.
2480 * configure: Regenerated.
2482 2005-03-24 Werner LEMBERG <wl@gnu.org>
2484 * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests.
2485 (dist): Search Makefile while descending into $(EXTRADIRS).
2487 * doc/Makefile.in (.PHONY): Add.
2488 (clean): Don't remove *.png and *.eps.
2490 (realclean): Remove *.png and *.eps.
2491 (extraclean): Depend on distclean.
2493 * configure.ac: Add copyright.
2494 Handle contrib/pdfmark/Makefile.
2496 * configure: Regenerated.
2498 2005-03-18 Larry Kollar <kollar@alltel.net>
2500 Add numbered and definition lists to www.tmac.
2502 * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
2503 www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
2504 auxiliary string registers.
2505 (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
2506 www-ol-ctr3, www-dl-shift): New auxiliary number registers.
2507 (www-level): Removed.
2508 (www-level1, www-level2, www-level3): Initialize to empty.
2509 (www-level0, www-level4, www-level5, www-level6, www-level7,
2510 www-level8, www-level9): New string registers.
2511 (www-push-li, www-pop-li): New macros.
2512 (www-push-level, www-pop-level): Renamed to...
2513 (www-push-ul-level, www-pop-ul-level): This.
2515 (www-push-ol-level, www-pop-ol-level): New macros.
2516 (ULS, ULE): Updated.
2517 (OLS, OLE, DLS, DLE): New user macros.
2518 (LI): Removed. It is aliased to one of...
2519 (www-li-ul, www-li-ol, www-li-dl): New macros.
2521 * tmac/groff_www.man: Document new macros.
2525 2005-03-18 Werner LEMBERG <wl@gnu.org>
2527 * tmac/doc-common (doc-operating-system-NetBSD-2.0.1,
2528 doc-operating-system-NetBSD-2.0.2): New strings.
2530 * tmac/groff_mdoc.man: Updated.
2532 2005-03-17 Werner LEMBERG <wl@gnu.org>
2534 * doc/Makefile.sub (CLEANADD): Add `groff.html'.
2536 2005-03-17 Werner LEMBERG <wl@gnu.org>
2538 * src/libs/libgroff/hypot.c: Renamed to...
2539 * src/libs/libgroff/hypot.cpp: This. Updated to C++.
2541 * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
2543 * src/include/lib.h: Updated.
2545 2005-03-16 Werner LEMBERG <wl@gnu.org>
2547 Add workaround for broken hypot() on Interix.
2549 * src/libs/libgroff/hypot.c: New wrapper file for `hypot'.
2551 * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'.
2552 (CSRCS): Add `hypot.c'.
2554 * src/include/lib.h: Declare `groff_hypot'.
2556 * src/preproc/grn/hgraph.cpp: Don't declare `hypot'.
2559 * src/preproc/pic/pic.h: Don't declare `hypot'.
2561 * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'.
2563 2005-03-15 Gaius Mulley <gaius@glam.ac.uk>
2565 * src/devices/grohtml/post-html.cpp
2566 (html_printer::lookahead_for_tables): End .ce properly to avoid a
2569 2005-03-15 Werner LEMBERG <wl@gnu.org>
2571 makeinfo 4.8 doesn't produce good HTML output from groff.texinfo.
2573 * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output.
2575 * doc/Makefile.in (.texinfo.html): Call fixinfo.sh.
2577 2005-03-14 Werner LEMBERG <wl@gnu.org>
2579 Add Cyrillic support to devutf8 and devhtml.
2581 * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks.
2583 * tmac/unicode.tmac: New file.
2585 * tmac/tty.tmac: Include unicode.tmac if device is utf8.
2587 * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac.
2591 2005-03-02 Keith Marshall <keith.d.marshall@ntlworld.com>
2593 * src/libs/libdriver/printer.cpp (check_for_output_error): New
2594 function. It has been introduced to catch peculiar error contexts
2595 on MS-Windows platforms.
2597 2005-02-28 Werner LEMBERG <wl@gnu.org>
2599 * src/roff/troff/input.cpp (string_iterator::fill): Protect against
2602 * tmac/papersize.tmac: Convert `paper' string contents to lowercase.
2604 * configure: Regenerated.
2608 2005-02-28 Keith Marshall <keith.d.marshall@ntlworld.com>
2610 Integrate `pdfmark' into normal groff build system;
2611 install macro `pdfmark' packages, build and install `pdfroff',
2612 and PDF format documentation.
2614 * Makefile.comm: Add PDFDOCDIR.
2616 * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
2617 pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
2618 (unstall_dirs): Add pdfdocdir.
2620 * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support
2621 `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS.
2622 (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
2623 GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
2624 (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
2625 (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
2627 (GROFF_AWK_PATH): New function; support `--with-awk' option, force
2628 use of GROFF_AWK_PREFS.
2629 (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
2630 and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
2632 * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS.
2633 Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
2634 also by modified GROFF_HTML_PROGRAMS).
2636 2005-02-27 Gaius Mulley <gaius@glam.ac.uk>
2638 * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve
2640 (html_text::done_para): Unset `start_space'.
2641 (html_text::remove_para_align): Call `retrieve_para_space' for the
2644 * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset
2646 (html_printer::do_check_center): Emit vertical space if necessary.
2648 * src/roff/troff/env.cpp (environment_switch): Preserve
2649 `seen_space', `seen_eol', and `suppress_next_eol' while switching
2652 * src/roff/troff/node.cpp (suppress_node::suppress_node): Set
2655 2005-02-20 Werner LEMBERG <wl@gnu.org>
2657 * src/preproc/eqn/eqn.man, NEWS: Document various extensions of
2660 2005-02-17 Werner LEMBERG <wl@gnu.org>
2662 * doc/pic.ms, man/groff.man: Fix typos.
2664 * doc/groff.texinfo: Fix typos.
2665 (\LEmacro): Get proper mathematical spacing.
2667 2005-02-16 Werner LEMBERG <wl@gnu.org>
2669 * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
2670 * configure: Regenerated with autoconf 2.59b.
2672 2005-02-16 Gaius Mulley <gaius@glam.ac.uk>
2674 * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
2675 html_printer::start_font): Fix handling of preformatted text.
2677 2005-02-15 Gaius Mulley <gaius@glam.ac.uk>
2679 These patches modify the indentation implementation to use `<p
2680 style=margin-left: n%>'. Many thanks to Peter and Larry for
2681 suggesting this solution. Grohtml only uses tables for `.IP' and
2682 related tags when the first operand has a short width.
2684 Similarly, they modify all vertical space code. By default, grohtml
2685 sets up a style sheet which uses no vertical space between `table',
2686 `pre', and `p' tags. It forces spaces when it needs them using
2687 `style="margin-top: 1em"'.
2689 * src/devices/grohtml/html-table.cpp: Include `html-text.h'.
2690 (html_table::emit_table_header, html_table::emit_new_row):
2692 (html_table::set_space): New function.
2693 (html_indent::html_indent): Don't set `is_used'.
2694 (html_indent::begin): Rewritten.
2695 (html_indent::end): Remove code in function.
2697 * src/devices/grohtml/html-table.h: Updated.
2698 (html_table): Make `out' public.
2700 * src/devices/grohtml/html-text.cpp (html_text::html_text):
2701 Initialize `start_space' with FALSE.
2702 (html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
2703 (html_text::issue_tag): Add argument to handle space style.
2704 (html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
2705 (html_text::flush_text): Don't set `start_space'.
2706 (html_text::push_para): Don't set `p->really_issued'.
2707 (html_text::do_emittext): Updated.
2708 (html_text::do_para): Add paremeter to handle space.
2710 (html_text::retrieve_para_space): New function.
2712 * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
2713 (tag_definition): Remove `really_issued'.
2714 (html_text): Updated.
2716 * src/devices/grohtml/post-html.cpp (html_printer): Add variables
2717 `current_column' and `row_space'.
2719 (html_printer::emit_raw, html_printer::write_header,
2720 html_printer::do_indent, html_printer::do_check_center,
2721 html_printer::do_tab_ts): Handle vertical space.
2722 (html_printer:do_tab_te, html_printer::do_end_para): Call
2723 `remove_para_space'.
2724 (html_printer::do_col): Rewritten.
2725 (html_printer::flush_globs): Remove debugging code.
2726 (html_printer::is_line_start): New function.
2727 (html_printer::start_font): Use `is_line_start'.
2728 (html_printer::writeHeadMetaStyle): New function.
2729 (html_printer::do_file_components, html_printer::~html_printer):
2730 Call `writeHeadMetaStyle'.
2732 * tmac/www.tmac (www-handle-percent): New macro.
2733 (MPIMG): Handle percent values for width and height parameters.
2736 * tmac/groff_www.man: Updated.
2738 2005-02-14 Werner LEMBERG <wl@gnu.org>
2740 * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
2741 $psname and $italic_angle.
2742 Immediately restart file input loops if `split' returns an empty
2745 2005-02-13 Michail Vidiassov <master@iaas.msu.ru>
2746 Werner LEMBERG <wl@gnu.org>
2748 Update afmtodit to better support Unicode (Michail).
2749 Update afmtodit to use Perl 5 syntax (Werner).
2751 * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
2753 Decorate variables with `my' where necessary.
2754 Use `defined' where necessary to avoid warnings.
2755 Don't use `do' for subroutine calls.
2756 Other minor syntax updates.
2757 Check for both `uXXXX[X[X]]' and `uniXXXX'.
2758 Handle glyph variants properly.
2759 (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
2762 * src/utils/afmtodit/afmtodit.man: Updated.
2764 2005-02-13 Werner LEMBERG <wl@gnu.org>
2766 Make groff.texinfo work with texinfo 4.8.
2768 * doc/groff.texinfo (@Var): Use @r and @slanted.
2769 (@defdummy, @Def*): Use @c to avoid empty lines.
2770 (\angles): Replaced with...
2771 (\Langlemacro, \Ranglemacro): New TeX macros.
2772 (@Langlemacro, @Ranglemacro): New variables defined with @set.
2773 (@angles): Use @Langlemacro and @Ranglemacro.
2774 (\LE): Replaced with...
2775 (\LEmacro): New TeX macro.
2776 (@LEmacro): New variable defined with @set.
2777 (@LE): Use @LEmacro.
2778 (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
2779 variables defined with @set.
2780 (@lparen, @rparen, @lbrack, @rbrack): Replaced with...
2781 (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
2784 Other minor updates.
2786 * doc/texinfo.tex: Update to texinfo version 4.8.
2788 * README.CVS: Updated.
2790 2005-02-09 Alejandro López-Valencia <palopez@etb.net.co> (tiny change)
2792 * doc/groff.texinfo (ms Document Control Registers): Document `HY'
2793 and `FAM' registers.
2795 2005-02-05 Werner LEMBERG <wl@gnu.org>
2797 * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
2798 tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
2801 2005-02-01 Werner LEMBERG <wl@gnu.org>
2803 * src/roff/groff/groff.man: Add information about paper size.
2805 2005-01-25 Werner LEMBERG <wl@gnu.org>
2807 * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale. From
2810 2005-01-22 Ruslan Ermilov <ru@FreeBSD.org>
2812 * tmac/doc.tmac (Sm): Improved. It didn't work properly in many
2814 (Re): Emit a warning if called without `.Rs'.
2815 (doc-finish-reference): Use parameter for decreasing
2816 `doc-reference-count'.
2817 (doc-print-reference): Pass specific count parameters to
2818 `doc-finish-reference'.
2820 2005-01-21 Werner LEMBERG <wl@gnu.org>
2822 * src/libs/libdriver/input.cpp (delete_current_env, do_file):
2823 Reset pointers to zero after deallocation. This fixes a crash
2824 if a driver is called with multiple input files. Reported by
2825 Ken Chilton <ken@chiltonfamily.org>.
2827 * src/devices/grops/grops.man: Add more info on DSC.
2829 2005-01-17 Ruslan Ermilov <ru@FreeBSD.org>
2831 * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
2834 2005-01-17 Werner LEMBERG <wl@gnu.org>
2836 * src/roff/troff/div.cpp (top_level_diversion::space): Protect
2837 against division by zero.
2839 2005-01-13 Ruslan Ermilov <ru@FreeBSD.org>
2841 * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
2843 2004-12-19 Werner LEMBERG <wl@gnu.org>
2845 * install-sh: New version; taken from texinfo CVS.
2847 2004-12-17 Werner LEMBERG <wl@gnu.org>
2849 * tmac/devtag.tmac: Protect against loading twice.
2850 Protect agains compatibility mode.
2851 * tmac/www.tmac: Protect against loading twice.
2852 Load `devtag.tmac' before switching off compatibility mode.
2853 * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
2855 2004-12-16 Mike Bianchi <mbianchi@Foveal.com>
2857 * configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
2858 * configure: Updated.
2860 2004-12-15 Thomas Klausner <wiz@netbsd.org>
2862 * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
2864 2004-12-15 Werner LEMBERG <wl@gnu.org>
2866 Make `test-groff' work again -- previously, wrong paths have been
2867 used. Additionally, it can now be called from anywhere.
2869 * test-groff.in: Don't test for groff binary. This is no longer
2870 necessary since the proper paths are determined by `configure'.
2871 (EXEEXT): Removed. No longer used.
2872 (srcdir, builddir): Use values provided by the configure script.
2873 (XENVIRONMENT): Updated.
2877 2004-12-14 Gaius Mulley <gaius@glam.ac.uk>
2879 Make .tag and .taga work for all devices (but only grohtml actually
2882 * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
2883 (text_glob::is_br, page::add_tag, html_printer::troff_tag,
2884 html_printer::handle_assertion): Don't use hard-coded string
2886 (html_printer::lookahead_for_table): Reset `tbl' properly if
2888 (html_printer::devtag): New function, handling `devtag'.
2889 (html_printer::special): Don't handle `html-tag'.
2891 * src/include/printer.h, src/libs/libdriver/printer.cpp
2892 (printer::devtag): New virtual function.
2894 * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
2897 * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
2898 src/roff/troff/node.cpp: s/html-tag/devtag/.
2900 * src/roff/troff/input.cpp (tag, taga): Always call
2903 * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
2904 macros instead of HTML-TAG*.
2906 * tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
2908 * tmac/www.tmac: Load devtag.tmac.
2909 Replace HTML-TAG* macros with DEVTAG* macros.
2910 (HTML, HTML-NS): Changed definitions.
2912 (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
2914 * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
2916 2004-12-10 Werner LEMBERG <wl@gnu.org>
2918 Import Mike's `gdiffmk' package.
2920 * contrib/gdiffmk/*: New files.
2921 * Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
2924 2004-12-08 Werner LEMBERG <wl@gnu.org>
2926 Import Keith's `pdfmark' package. Integration is very preliminary.
2928 * contrib/pdfmark/*: New files.
2929 * Makefile.in (OTHERDIRS): Add contrib/pdfmark.
2932 2004-12-07 Gaius Mulley <gaius@glam.ac.uk>
2934 Fix a bug with title handling in HTML.
2936 * src/devices/grohtml/post-html.cpp (text_glob::is_nf,
2937 text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
2939 (html_printer::handle_tag_within_title): New function.
2940 (html_printer::do_title): Use it.
2942 * tmac/s.tmac (TL): Don't set `need_eo_tl'.
2943 (cov*tl-au-print): Emit `.eo.tl' tag.
2945 2004-12-05 Alejandro López-Valencia <dradul@etb.net.co>
2947 * man/groff_char.man: Minor imrovements.
2949 2004-12-04 Werner LEMBERG <wl@gnu.org>
2951 * src/preproc/eqn/eqn.man: Revised.
2953 2004-11-25 Werner LEMBERG <wl@gnu.org>
2955 * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
2959 Remove X_NOT_STDC_ENV conditional.
2960 (Version_string, program_name): New global variables.
2961 (groff_flag): Removed.
2963 (usage): Take a stream as argument.
2966 (main): Add `long_options' array for `--help' and `--version'.
2967 Make `-g' a dummy option.
2968 Handle `-v' and unknown options.
2969 Remove unused `position' variable.
2971 * src/utils/xtotroff/Makefile.sub (MAN1): Define.
2972 (XLIBS): Add LIBGROFF.
2974 * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
2977 * src/devices/xditview/Dvi.c (default_font_map): Split into three
2978 parts to avoid compiler warning.
2979 (resources): Don't initialize with `default_font_map'.
2980 (ClassInitialize): Initialize first element of `resources'.
2982 * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
2985 * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
2986 src/utils/pfbtops/pfbtops.man: Revised, updated.
2988 * configure.ac: Generate src/utils/xtotroff/Makefile.
2989 * configure: Regenerated.
2991 2004-11-24 Werner LEMBERG <wl@gnu.org>
2993 First fixes to get produce HTML.
2995 * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
2998 * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
2999 (HR, LI): Use `HTML</p>', not `HTML'.
3001 * doc/webpage.ms: Minor updates.
3003 2004-11-23 Larry Kollar <kollar@alltel.net>
3005 Add option -S grohtml to determine the file split level.
3007 * src/devices/grohtml/post-html.cpp (split_level): New global
3009 (html_header::determine_header_level): Use split_level.
3010 (main): Handle `-S' command line option.
3013 * src/preproc/html/pre-html.cpp (scanArguments): Updated.
3015 * src/devices/grohtml/grohtml.man: Document it.
3018 * NEWS: Document it.
3020 2004-11-23 Y T <doarhop@hotmail.com>
3022 * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling
3023 the volume and number refer entries.
3025 2004-11-22 Werner LEMBERG <wl@gnu.org>
3027 * src/devices/grohtml/html-table.cpp
3028 (html_table::emit_table_header): Don't emit `cols' attribute which
3029 doesn't exist in HTML 4.0 and is thus invalid.
3031 * NEWS: More minor fixes and updates.
3033 2004-11-18 Werner LEMBERG <wl@gnu.org>
3035 * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
3036 (HTML</p>): Minor clean-up.
3038 * tmac/groff_www.man: Updated.
3040 * src/devices/grohtml/grohtml.man: Revised and updated.
3044 2004-11-18 Gaius Mulley <gaius@glam.ac.uk>
3046 * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
3047 Fix space insertion.
3048 (html_printer::do_links): Fix rules generation around automatic
3051 * tmac/www.tmac (LK): Use HTML-TAG-NS.
3053 No longer emit empty line for non-HTML devices.
3055 2004-11-17 Werner LEMBERG <wl@gnu.org>
3057 * doc/Makefile.in (prepare_examples, webpage.html): Handle
3060 * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD,
3061 prepare_examples, webpage.html): Handle `groff.css'.
3063 2004-11-15 Werner LEMBERG <wl@gnu.org>
3065 * NEWS, README, doc/webpage.ms: Updated.
3067 * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
3069 2004-10-30 Gaius Mulley <gaius@glam.ac.uk>
3071 * src/include/printer.h (printer): Remove virtual function
3073 Update all source files.
3075 * src/devices/grohtml/post-html.cpp (html_printer): New member
3076 function `round_width'.
3078 2004-10-20 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
3080 * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
3081 column key letter suffix.
3083 2004-10-14 Werner LEMBERG <wl@gnu.org>
3085 * Makefile.in (check): Depend on `site.exp' and `docheck'.
3086 (docheck): Run dejagnu's `runtest' if it exists.
3087 (site.exp): Create dejagnu configuration file.
3089 * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
3091 2004-10-13 Werner LEMBERG <wl@gnu.org>
3093 * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
3094 src/devices/grohtml/post-html.cpp (make_val,
3095 html_printer::handle_state_assertion): Fix compiler warnings.
3097 * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'.
3098 (diversion::diversion): Fix order of initializers.
3100 * src/roff/troff/div.h: Don't include `mtsm.h'.
3102 * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'.
3103 (environment::environment): Fix order of initializers.
3104 (environment::make_tag, environment::construct_format_state): Fix
3107 * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'.
3108 (input_iterator::input_iterator, macro::macro): Fix order of
3111 * src/roff/troff/mtsm.cpp: Include only necessary header files.
3112 (state_set::add, state_set::val): Fix compiler warnings.
3114 * src/roff/troff/mtsm.h: Don't include `stringclass.h'.
3115 (bool_value_state, int_value_state, units_value_state,
3116 string_value_state): Remove comma after last element which causes
3117 an error with g++ 3.3.3.
3119 * src/roff/troff/node.cpp: Include `stringclass.h'.
3120 (hline_node::hline_node, vline_node::vline_node,
3121 space_char_hmotion_node, left_italic_corrected_node): Fix compiler
3123 (zero_width_node::zero_width_node): Fix order of initializers.
3125 * src/roff/troff/node.h: Don't include `mtsm.h'.
3126 (hmotion_node): Fix compiler warnings.
3128 * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'.
3130 2004-10-12 Gaius Mulley <gaius@glam.ac.uk>
3132 * doc/groff.css: New file.
3134 * doc/webpage.ms: Use `groff.css'.
3137 * tmac/an-old.tmac (need_eo_h): New number register.
3138 (TH): Emit `.eo.tl' tag after title.
3139 (SH): Set `need_eo_h'.
3140 (an-trap): Handle `need_eo_h'.
3141 (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/.
3143 * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers.
3144 (TL): Always start diversion.
3146 (@AI): Always call `par@reset'.
3147 (@AB): Update code for -Thtml.
3148 (cov*tl-au-print): Handle -Thtml.
3149 (par@reset): Handle `need_eo_tl', `need_eo_h'.
3151 (@IT-html): Removed.
3152 (@SH): Set `need_eo_h' for -Thtml.
3153 (par@TL): s/HTML-TAG/HTMl-TAG-NS/.
3155 (@NH): s/HTML-TAG/HTMl-TAG-NS/.
3156 Set `need_eo_h' for -Thtml.
3157 (@EQ, @EN): Don't handle -Thtml specially.
3158 (par@load-init): Don't handle -Thtml specially.
3160 * tmac/www.tmac (www:paraspace): New macro.
3161 (HTML-NS, HTML-TAG-NS): Use new `tag' request.
3162 (HTML</p>, HTML-TAG-NEXT): New macros.
3163 (HnE): Emit tag `.eo.h' instead of break.
3164 (HR): s/HTML-NS/HTML/.
3165 (www-end-nowhere): End diversion only if `www-html' not set.
3167 (ULS, ULE): s|HTML|HTML</p>|.
3168 (LI): Call `www:paraspace'.
3171 2004-10-11 Gaius Mulley <gaius@glam.ac.uk>
3173 * src/roff/troff/request.h (macro): Make `p' public.
3174 New variable `is_a_diversion'.
3175 New member function `is_diversion'.
3178 * src/devices/grohtml/html.h (simple_output): New member function
3181 * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix
3182 computation of `total'.
3183 (tabs::check_init): New function.
3184 (html_table::emit_table_header): Emit style data.
3185 (html_table::insert_column): Improved.
3187 * src/devices/grohtml/html-table.h: Updated.
3189 * src/devices/grohtml/html-text.cpp (html_text::html_text):
3190 Initialize `start_space' with TRUE.
3191 (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG'
3193 (html_text::flush_text): Set `start_space' flag.
3194 (html_text::uses_indent, html_text::remove_para_space,
3195 html_text::get_alignment): New functions.
3196 (html_text::push_para): Updated.
3197 (html_text::do_para): Check for empty argument.
3198 Don't set `space_emitted'.
3199 (html_text::do_space, html_text::emit_space): Updated.
3201 * src/devices/grohtml/html-text.h (tag_definition): New variable
3203 (html_text): New member function `uses_indent', `remove_para_space',
3206 * src/devices/grohtml/output.cpp (simple_output::force_nl): New
3208 (simple_output:nl): Always emit `\n'.
3210 * src/devices/grohtml/post-html.cpp: Include `string.h'.
3211 (BASE_POINT_SIZE): Removed.
3212 (base_point_size, head_info): New global variables.
3213 (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl',
3215 (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1'
3217 (page::add_and_encode): Pass additional parameter for tag flag.
3218 (assert_pos): New structure.
3219 (assert_state): New class.
3220 (html_printer): Remove `indentation', `prev_indent'.
3221 Add variables `troff_indent', `device_indent', `temp_indent'.
3222 Add variables `seen_indent', `next_indent', `seen_pageoffset',
3223 `next_pageoffset', `seen_linelenght', `next_linelength',
3224 `seen_center', `next_center', `seen_space', `seen_break', `as'.
3225 Add member functions `do_check_center', `do_space', `do_head',
3226 `get_troff_indent', `restore_troff_indent', `handle_assertion',
3227 `handle_state_assertion', `do_end_para', `set_char_and_width'.
3228 Change argument to `do_fill' to `char *'.
3230 (html_printer::emit_raw): Call `shutdown_table'.
3232 (html_printer::do_center): Simplified.
3233 (html_printer::do_title): Improved.
3234 (html_printer::write_header): Emit one more newline.
3236 (html_printer::do_heading, html_printer::do_indent,
3237 html_printer::do_eol, html_printer::do_tab_ts,
3238 html_printer::do_tab, html_printer::do_tab0,
3239 html_printer::calc_po_in, html_printer::next_horiz_pos,
3240 html_printer::remove_courier_tabs,
3241 html_printer::insert_tab0_foreach_tab, html_printer::begin_page):
3243 (html_printer::do_linelength, html_printer::do_pageoffset,
3244 html_printer::do_indentation, html_printer::do_tempindent,
3245 html_printer::do_tab_te): Simplified.
3246 (html_printer::do_pointsize): Check whether point size is really
3247 associated a `.tl' tag.
3248 (html_printer::do_break): Rewritten.
3249 (html_printer::troff_tag): Improved.
3250 (html_printer::flush_globs): Updated.
3251 (html_printer::lookahead_for_tables): Handle `is_br'.
3253 (html_printer::set_char): Check `sbuf_style.f'.
3254 (html_printer::write_navigation): Use string comparison.
3255 (html_printer::~html_printer): Emit `head_info'.
3256 (html_printer::special): Rewritten.
3257 (get_str, make_val): New functions.
3258 (main): New option `s' to set the base point size.
3260 * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'.
3262 2004-10-10 Gaius Mulley <gaius@glam.ac.uk>
3264 * src/roff/troff/node.cpp: New extern `debug_state'.
3265 Include `stringclass.h' and `mtsm.h'.
3266 Implement new classes and class members from `node.h'.
3267 (real_output_file): Make `fp' public.
3268 (troff_output_file): New variables `cur_div_level' and `tag_list'.
3269 Update constructors.
3270 (troff_output_file::really_print_line): Check whether we should push
3271 the current troff state and use the state at the start of the
3272 invocation of this diversion.
3273 (troff_output_file::add_to_tag_list): New member function.
3274 (node::add_char): Handle `glyph_comp_np'.
3276 * src/roff/troff/node.h: Include `mtsm.h'.
3277 (node): New variables `state', `push_state', `div_nest_level',
3278 `is_special'. Update constructors, all descendants.
3279 Pass additional argument to `add_char' member function.
3280 New virtual member functions `is_tag', `debug_node',
3281 `debug_node_list'. Update all descendants.
3282 (tag_node): New class for handling tags.
3283 (output_file): Add variable `state'.
3285 2004-10-09 Gaius Mulley <gaius@glam.ac.uk>
3287 * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files,
3288 providing a minimal troff state machine to emit meta tags for the
3289 post-grohtml device driver.
3291 * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new
3294 2004-10-09 Werner LEMBERG <wl@gnu.org>
3296 * tmac/trace.tmac: Fix handling of `am' and `am1' calls.
3298 2004-10-06 Gaius Mulley <gaius@glam.ac.uk>
3300 * src/roff/troff/column.cpp (vjustify_node::copy): Updated.
3302 * src/roff/troff/div.h: Include `mtsm.h'.
3303 (diversion): New variables `any_chars_added', `needs_push',
3304 `saved_seen_break', `saved_seen_space', `saved_seen_eol',
3305 `saved_suppress_next_eol', `modified_tag'.
3306 New virtual member function `is_diversion'. Update all descendants.
3308 * src/roff/troff/div.cpp (diversion::diversion,
3309 macro_diversion::macro_diversion): Updated.
3310 (do_divert): Handle `seen_break', `seen_space', `seen_eol',
3311 `suppress_next_eol'.
3312 (top_level_diversion::space): Handle `curenv->seen_space'.
3313 (page_offset): Update tag handling.
3314 (space_request, blank_line, flush_output): Don't call `add_html_tag'.
3316 * src/roff/troff/env.h (environment): Make `tabs' public.
3317 Remove `ignore_next_eol', `emitted_node'.
3318 Update `output_line', `output'.
3319 New variables `seen_space', `seen_eol', `suppress_next_eol',
3321 New member functions `construct_state', `make_tag',
3322 `construct_format_state, `construct_new_line_state,
3324 Remove `add_html_tag', `make_html_tag'.
3326 * src/roff/troff/env.cpp: New externs `suppress_push',
3327 `get_diversion_state', `global_diverted_space'.
3328 (pending_output_line): New variable `was_centered'.
3329 Update constructor and all callers.
3330 (pending_output_line::output): Call `curenv->construct_format_state'.
3331 (environment::environment, environment::copy): Updated.
3332 (environment::output): Handle `was_centered'.
3333 (environment::add_char): Handle construct and diversion state.
3334 (environment::add_node): Handle construct state.
3335 (environment::newline): Handle `was_centered'.
3336 (environment::output_line): Updated.
3337 (environment::possibly_break_line): Updated.
3338 Update tag handling.
3339 (environment::add_html_tag): Replaced with...
3340 (environment::make_tag): New function.
3341 (environment::add_html_tag_tabs, environment::make_html_tag): Removed.
3342 (environment::dump_troff_state): New debugging function.
3343 (environment::construct_state, environment::construct_format_state,
3344 environment::construct_new_line_state): New functions.
3345 (environment::do_break): Updated.
3346 Handle `global_diverted_space'.
3347 (environment::handle_tag): Update tag handling.
3348 (point_size, fill, do_break_request): Don't call `add_html_tag'.
3349 (no_fill): Don't call `add_html_tag'.
3350 Set `suppress_next_eol'.
3351 (center, right_justify, line_length, indent, temporary_indent,
3353 Update tag handling.
3355 * src/roff/troff/input.cpp: Don't include `stringclass.h'.
3356 (input_iterator): New variables `is_diversion', `diversion_state'.
3357 Update constructors.
3358 (input_stack): New member functions `get_div_level',
3359 `get_diversion_state', `check_end_diversion'.
3360 New variables `div_level', `diversion_state'. Initialize them.
3361 (suppress_push, global_diverted_space): New global variables.
3362 (input_stack::finish_get, input_stack::finish_peek,
3363 input_stack::remove_boundary, input_stack::end_file,
3364 input_stack::clear, input_stack::pop_macro): Call
3365 `check_end_diversion'.
3366 (input_stack::push): Handle `div_level' and `diversion_state'.
3367 (get_diversion_state): New function.
3368 (diverted_space_node::reread): Handle `global_diverted_space'.
3369 (macro::macro): Update constructors.
3370 (macro::is_diversion): New function.
3371 (macro::operator=): Set `is_a_diversion'.
3372 (string_iterator): New member function `is_diversion'.
3373 (string_iterator::string_iterator): Update constructors.
3374 (string_iterator::fill): Set `div_nest_level'.
3375 (macro_iterator): New member function `is_diversion'.
3376 (do_if_request): Handle `suppress_push'.
3377 (tag, taga): New functions.
3378 (init_input_requests): Add `tag' and `taga' requests.
3380 2004-10-05 Gaius Mulley <gaius@glam.ac.uk>
3382 * src/include/font.h (font): New member function
3383 `get_image_generator'.
3384 New variables `unscaled_charwidths' and `image_generator'.
3386 * src/libs/libgroff/font.cpp (font::get_width): Always return the
3387 character's unscaled width if `font::unscaled_charwidths' is set.
3388 (font::get_image_generator): New function.
3389 (font::load_desc): Check the `unscaled_charwidths' and
3390 `image_generator' keywords.
3392 * src/libs/libgroff/fontfile.cpp: Initialize
3393 `font::unscaled_charwidths' and `font::image_generator'.
3395 * font/devhtml/DESC.proto: s/html/unscaled_charwidths/.
3397 * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword.
3399 * man/groff_font.man: Document `unscaled_charwidths' and
3402 * src/preproc/html/pre-html.cpp: Include `device.h'.
3403 (image_gen): New global variable.
3404 (imageList::createPage): Use `image_gen'.
3405 (main): Use `image_generator' keyword.
3407 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
3409 * tmac/html.tmac: Handle \[sqrtex].
3411 2004-10-04 Gaius Mulley <gaius@glam.ac.uk>
3413 * src/include/printer.h (printer): New virtual method `round_width'.
3415 * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
3416 src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
3417 src/devices/grotty/tty.cpp (printer::round_width): New function
3420 * src/devices/grohtml/post-html.cpp (printer::round_width): New
3422 (html_printer::set_numbered_char): Use it.
3424 2004-10-03 Gaius Mulley <gaius@glam.ac.uk>
3426 * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
3428 * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
3430 * configure: Regenerated.
3432 * Makefile.in (GHOSTSCRIPT): New variable.
3433 (MDEFINES): Add GHOSTSCRIPT.
3435 2004-10-03 Werner LEMBERG <wl@gnu.org>
3437 * INSTALL.gen: Updated (taken from texinfo CVS).
3439 2004-09-28 Werner LEMBERG <wl@gnu.org>
3443 2004-09-28 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
3445 * tmac/groff_www.man: Revised and updated.
3447 2004-09-26 Werner LEMBERG <wl@gnu.org>
3449 Fix \$@ and \$* to handle any number of arguments.
3451 * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
3454 * src/roff/troff/input.cpp (input_iterator::internal_level):
3456 (input_stack): New member functions `increase_level' and
3458 (input_stack::get_level): Don't use `internal_level'.
3459 (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
3460 (end_quote_iterator): Completely removed.
3461 (interpolate_arg): Build string for \$@ and \$* which is then
3462 pushed onto the input stack.
3464 2004-09-23 Keith Marshall <keith.d.marshall@ntlworld.com>
3466 * tmac/groff_ms.man, doc/groff.texinfo (ms Document Control
3467 Registers): Document changes from 2004-09-19.
3469 2004-09-23 Werner LEMBERG <wl@gnu.org>
3471 * tmac/an-old.tmac (ne): Using default scaling operator.
3473 2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com>
3475 This change implements the following features:
3478 New numeric register: Defines number of lines following LP, PP,
3479 QP, IP or XP, which must be kept together, before any automatic
3480 page break. If insufficient space remains on the current page, a
3481 page break is forced before the new paragraph begins.
3484 New numeric register: Sets number of lines of following paragraph
3485 which must be kept with a heading, defined by NH or SH, before any
3486 automatic page break. If insufficient space remains on the
3487 current page, a page break is forced before the heading.
3490 (Thanks to Joerg van den Hoff, for this idea).
3492 New numeric register: Sets the first level of heading (set with
3493 NH), which will keep the same point size as body text; e.g. if
3494 GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
3495 point size specified by \n[PS], but .NH 2 and .NH 1 will have
3496 progressively larger point sizes, determined by \n[PSINCR] (see
3500 New numeric register: Sets the point size increment for each level
3501 of heading, (set with NH), below the threshold level set by
3502 GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
3503 then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
3504 and all other levels will remain at 10pt, (because \n[PS] = 10).
3507 Existing macro now accepts a numeric argument, to make heading
3508 size match that of NH with same argument value, when the
3509 GROWPS/PSINCR feature is enabled.
3512 New string, set by NH macro, replaces the existing (undocumented)
3513 use of SN, to represent the assigned section number.
3516 New string, set by NH macro, represents the assigned section
3517 number, but omits the terminal period (periods at intermediate
3518 levels are retained).
3521 String set by NH macro, originally undocumented, now implemented
3522 as an alias for SN-DOT (which reproduces original behaviour).
3524 * tmac/s.tmac (PORPHANS): New register.
3525 (par*start): Use it.
3526 (HORPHANS, GROWPS, PSINCR): New registers.
3527 (SH-NO-TAG, @SH): Use them.
3530 2004-09-19 Keith Marshall <keith.d.marshall@ntlworld.com>
3532 * NEWS, doc/groff.texinfo (ms Display and Keeps), tmac/groff_ms.man:
3533 Document the deletion of `Ds' and `De' macros.
3535 2004-09-10 Werner LEMBERG <wl@gnu.org>
3537 In tbl, handle \a as an interpreted leader character if in
3540 * src/preproc/tbl/table.h (PREFIX, PREFIX_CHAR, LEADER,
3541 LEADER_CHAR): New macros.
3542 (compatible_flag): New declaration.
3544 * src/preproc/tbl/main.cpp (table_input): Add LEADER_1, LEADER_2,
3545 LEADER_3, and LEADER_4 to `state'.
3546 (table_input::get): Handle `\a'.
3548 * src/preproc/tbl/table.cpp (PREFIX): Removed.
3549 (LEADER_REG): New macro.
3550 (table::init_output): Define LEADER_REG string register if in
3553 * src/preproc/tbl/tbl.man: Document it.
3555 2004-08-18 Werner LEMBERG <wl@gnu.org>
3557 * tmac/doc.tmac (An): Fix error message.
3559 2004-08-06 Werner LEMBERG <wl@gnu.org>
3561 * src/preproc/tbl/main.cpp (main): Call `fatal' not `error' if a
3562 file can't be opened. UNIX tbl has the same behaviour.
3564 2004-08-05 Y T <doarhop@hotmail.com>
3566 * src/preproc/grn/hdb.cpp (compatibility_flag): Add declaration.
3567 (DBRead): If in compatibility mode, take into account the text
3568 when computing figure boundaries.
3570 2004-08-05 Werner LEMBERG <wl@gnu.org>
3572 * src/preproc/soelim/soelim.man: Improved. Based on suggestions
3573 from Tadziu Hoffmann.
3575 2004-08-03 Werner LEMBERG <wl@gnu.org>
3577 * doc/meref.me: Document `_M' register.
3579 2004-08-03 Martin Husemann <martin@duskware.de>
3581 Make hpftodit work correctly on big-endian systems.
3583 * src/utils/hpftodit/hpftodit.cpp (File): New method
3584 `get_uint32(char *)'.
3585 (entry): New member `orig_value'.
3586 (read_tags): Use new method.
3587 (output_font_name, read_and_output_pcltypeface, dump_ascii):
3590 2004-08-01 Werner LEMBERG <wl@gnu.org>
3592 * tmac/s.tmac: Undo change 2003-06-29. The proper macro definitions
3593 are already in X11's `macros.t' file.
3595 2004-08-01 Jeff Conrad <jeff_conrad@msn.com>
3597 * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii):
3599 (read_and_output_pcltypeface): Handle strings with length <= 4.
3601 2004-07-27 Egil Kvaleberg <egil@kvaleberg.no>
3603 * tmac/s.tmac (pg@top): Don't save `PO' register.
3604 (pg*end-col, pg*end-page): Directly use `PO' register.
3606 2004-07-27 Werner LEMBERG <wl@gnu.org>
3608 * man/groff_tmac.man: Mention `trace' and `pic' macro packages.
3610 * src/preproc/refer/refer.cpp (output_references): Check for
3612 * src/preproc/refer/refer.man: Improve documentation of
3613 `bibliography' command.
3615 2004-07-26 Werner LEMBERG <wl@gnu.org>
3617 Add requests `fcolor' and `gcolor'.
3619 * src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
3621 (init_env_requests): Add `fcolor' and `gcolor'.
3623 * src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
3625 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo
3626 (Colors): Document new requests.
3628 2004-07-24 Werner LEMBERG <wl@gnu.org>
3630 Add support for fractional point sizes in ms macros. A value for
3631 PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
3632 by 1000. For example, `.nr PS 10250' sets the font size to 10.25p.
3634 * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
3635 PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
3637 * tmac/groff_ms.man, docs/groff.texinfo (ms Document Control
3638 Registers), NEWS: Document it.
3640 2004-07-19 Werner LEMBERG <wl@gnu.org>
3642 * src/preproc/pic/lex.cpp (for_input): Add member `from'.
3644 (do_for, for_input::get, for_input::peek): Handle negative `by'.
3645 * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
3647 2004-07-08 Thomas Klausner <wiz@netbsd.org>
3649 * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
3650 * tmac/groff_mdoc.man: Updated.
3652 2004-07-05 Werner LEMBERG <wl@gnu.org>
3654 * doc/groff.texinfo (Manipulating Hyphenation): Further improve
3655 documentation of `hcode'.
3657 2004-07-04 Sang Dae Yu <sdyu@bh.knu.ac.kr>
3659 Improve appearance of arrows in pic.
3661 * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
3663 Use two line segments for drawing non-filled arrow head.
3664 (line_object::print, spline_object::print): Shorten line length to
3665 avoid arrow sticking.
3666 (arc_object::print): Take arrow direction into account.
3668 2004-07-03 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
3670 * tmac/groff_www.man: Update documentation of .MPIMG.
3672 2004-07-03 Werner LEMBERG <wl@gnu.org>
3674 * tmac/an-old.tmac (RI): Always start with font `R'.
3675 (RI, IR): Properly end with font `R'.
3677 2004-07-02 Paul Eggert <eggert@cs.ucla.edu>
3679 * man/ditroff.man, man/groff_font.man, man/groff_out.man,
3680 src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
3681 src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
3682 Don't pass more than six arguments to .R, .I, .B, etc., for
3683 compatibility with traditional troff macros.
3685 2004-07-02 Werner LEMBERG <wl@gnu.org>
3687 * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
3688 s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
3690 (PUSH_COMP_MODE): New internal character constant.
3693 * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
3694 PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
3695 (token::next, macro::append): Handle PUSH_COMP_MODE.
3696 (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
3697 POP_GROFFCOMP after each of the decoded arguments to make them
3698 independent from the compatibility mode status.
3699 (comp_mode): Add `COMP_ENABLE'.
3700 (do_define_string, do_define_macro): Handle COMP_ENABLE.
3701 (define_string, append_string, define_macro, define_indirect_macro,
3702 append_macro, append_indirect_macro): Handle `compatible_flag'.
3703 (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
3705 * man/groff_diff.man, doc/groff.texinfo: Updated.
3707 2004-07-01 Werner LEMBERG <wl@gnu.org>
3709 * doc/groff.texinfo: Improve documentation of `hcode'.
3710 Use @documentencoding and convert document to latin-1; to do that
3711 make latin characters active and assign proper macros (within a
3712 @tex...@end tex environment).
3713 * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
3714 * doc/Makefile.sub (groff): Ditto.
3716 2004-06-29 Werner LEMBERG <wl@gnu.org>
3718 Implement two new conditional operators `F <name>' and `S <name>'
3719 which check whether <name> is a valid font or style, respectively.
3721 * src/libs/libgroff/font.cpp (text_file): Add `silent' member.
3722 (text_file::text_file): Updated.
3723 (text_file::error): Don't emit message if `silent' is set.
3724 (font::load_font): Add optional third argument (which is directly
3726 (font::load): Add optional second argument to check the header of
3727 a font only, without emitting warning or error messages.
3728 * src/include/font.h (font): Updated.
3730 * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
3732 * src/roff/troff/node.cpp (mount_font_no_translate): Add optional
3733 fourth argument to check a font without mounting.
3734 (check_font, check_style): New functions.
3735 * src/roff/troff/node.h: Updated.
3737 * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
3740 2004-06-27 Werner LEMBERG <wl@gnu.org>
3742 Implement new string-valued register `.sty' to return the current
3745 * env.cpp (environment::get_style_name_string): New function.
3746 (init_env_requests): Add `.sty' register.
3747 * env.h (environment): Updated.
3748 * node.cpp (font_info): Make `get_style_name' a friend.
3749 (get_style_name): New function.
3752 * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
3755 2004-06-15 Werner LEMBERG <wl@gnu.org>
3757 * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle
3760 2004-06-10 Colin Percival <colin.percival@wadham.ox.ac.uk>
3762 * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
3763 and \n[mo] to avoid dependency on current date.
3765 2004-06-08 Werner LEMBERG <wl@gnu.org>
3767 * Makefile.sub (install_data): New target.
3769 2004-06-04 Werner LEMBERG <wl@gnu.org>
3771 * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define.
3773 2004-06-03 Werner LEMBERG <wl@gnu.org>
3775 * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and
3777 (install_data): Add $(srcdir).
3779 * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of
3782 2004-06-02 Werner LEMBERG <wl@gnu.org>
3784 * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
3785 Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
3786 Add test for Xmu library.
3787 (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
3788 GROFF_APPRESDIR_DEFAULT): New macros.
3790 * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
3791 and GROFF_APPRESDIR_DEFAULT.
3793 * configure: Regenerated.
3795 * Makefile.in (appresdir): New variable.
3796 (MDEFINES): Add appresdir.
3798 * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
3800 (install_data, uninstall_sub): New targets to handle GXditview.ad.
3802 * src/utils/indxbib/Makefiles.ub (install_data): Depend on
3803 `$(srcdir)/eign', not `eign'.
3805 * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
3807 * man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
3808 src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
3809 Protect (g)xditview with `\%' to avoid hyphenation.
3810 Other minor formatting.
3812 2004-06-01 Werner LEMBERG <wl@gnu.org>
3814 Integrate gxditview into groff's standard directory hierarchy.
3816 * src/xditview/*: Moved to ...
3817 * src/devices/xditview/*: Here.
3818 Moved DviChar.h and XFontName.h to src/include.
3819 Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
3820 Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
3821 Moved xtotroff.c to new directory src/utils/xtotroff.
3822 Provide proper Makefile.sub files (reusing the stuff from
3824 DESC renamed to DESC.in.
3825 Removed GXDitview-ad.h, INSTALL, Imakefile.in.
3826 Converted everything from K&R to ANSI C.
3827 Decorated with const where appropriate.
3828 Cast string constants with `String' and `char *' where appropriate.
3829 Made it compile with C++ (used as a C compiler).
3830 Removed other minor compiler warnings.
3832 * src/devices/xditview/device.c: Include config.h, string.h, and
3834 Don't declare `exit', `strtok', `strchr', and `getenv'.
3837 * src/devices/xditview/font.c: Don't declare `XParseFontName' and
3840 * src/devices/xditview/xditview.c: Include config.h.
3841 Include stdio.h earlier.
3842 Protect declaration of `popen' and `pclose' with
3843 NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
3844 Replace `caddr_t' with `XtPointer'.
3845 (MakePromptFunc): New typedef.
3846 (DoPrint): Use RETSIGTYPE.
3847 (promptfunction): Change type to MakePromptFunc.
3848 (MakePrompt): Use MakePromptFunc for third argument.
3851 * src/devices/xditview/ad2c: Add casts to `String'.
3853 * src/include/XFontName.h (XFontNameString): Don't use array
3855 Add prototypes for `XParseFontName', `XFormatFontName',
3856 `XCompareFontName', and `XCopyFontName'.
3858 * src/include/Makefile.sub (HDRS): Add `DviChar.h' and
3861 * src/utils/xtotroff/xtotroff.c: Include getopt.h.
3862 Don't declare `XParseFontName' and `XFormatFontName'.
3864 (main): Remove `optind' and `optarg'.
3866 * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
3867 (to select programs which need X).
3868 Make XDEVIDIRS depend on `FORCE'.
3869 (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
3871 (MDEFINES): Updated.
3872 (LIBDIRS): Use XLIBDIRS.
3873 (CPROGDIRS): Use XPROGDIRS.
3874 (DEVDIRS): Remove font directories for gxditview.
3875 (ALLDIRS, DISTDIRS): Add XDEVDIRS.
3876 (EXTRADIRS): Remove src/xditview.
3878 * Makefile.sub (DISCLEANFILES): Updated.
3880 * Makefile.comm (LIBXUTIL): New variable.
3881 (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
3882 (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
3884 * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
3886 * aclocal.m4 (GROFF_X11): New function.
3888 * configure.ac: Call GROFF_X11.
3889 Don't create src/xditview/Imakefile.
3890 Don't emit notice how to build gxditview.
3892 * configure: Regenerated.
3894 * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
3896 2004-05-28 Akihiro Sagawa <sagawa@sohgoh.net>
3898 * Makefile.in (CPPFLAGS): Define.
3899 (MDEFINES): Add CPPFLAGS.
3901 2004-05-27 Werner LEMBERG <wl@gnu.org>
3903 * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
3905 2004-05-26 Niklas Edmundsson <nikke@acc.umu.se>
3907 Fix problems with `friend name injections'.
3909 * src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
3910 make_script_box), src/roff/troff/div.h (end_diversions),
3911 src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
3914 2004-05-25 Bernd Warken <bwarken@mayn.de>
3916 * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
3918 2004-05-25 Werner LEMBERG <wl@gnu.org>
3920 * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
3921 src/libs/libgroff/color.cpp: Include lib.h.
3923 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
3925 * PROBLEMS: Update documentation for problems with Sun C++ 5.0
3926 through Forte 6u1, and for how to get GNU make on Solaris.
3928 2004-05-24 Werner LEMBERG <wl@gnu.org>
3930 * PROBLEMS: Document problems with gcc 3.4.0 on Sun. Reported
3933 2004-05-15 Keith Marshall <keith.d.marshall@ntlworld.com>
3935 * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit
3938 2004-05-14 Werner LEMBERG <wl@gnu.org>
3940 * REVISION: Set to 2.
3942 * aclocal.m4 (GROFF_STDINT_H): Removed.
3943 (GROFF_INTTYPES_H): Define HAVE_CC_INTTYPES_H.
3945 * configure.ac: Updated.
3946 * configure, src/include/config.hin: Regenerated.
3948 * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
3949 inttypes.h conditionally.
3951 2004-05-13 Werner LEMBERG <wl@gnu.org>
3953 Version 1.19.1 released
3954 =======================
3956 2004-05-10 Stephen Gildea <http://www.gildea.com/stephen>
3958 * src/preproc/refer/label.y (same_author_last_name,
3959 same_author_name): Handle empty sort keys.
3961 2004-05-10 Werner LEMBERG <wl@gnu.org>
3963 * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
3966 * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
3967 doc-str-Lb-librt): Reset font.
3968 (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
3969 Provide `doc-str-Lb' to reset font.
3970 * tmac/groff_mdoc.man: Updated.
3972 2004-05-08 Jan Schaumann <jschauma@netmeister.org>
3974 * src/preproc/html/pre-html.cpp (make_message): Make it work for
3975 snprintf versions which don't conform to ANSI C 99 (this is,
3976 counting the string's trailing null byte in the return value).
3978 2004-05-07 Keith Marshall <keith.d.marshall@ntlworld.com>
3980 * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect
3981 that all implementations of sprintf handle null pointers correctly.
3983 2004-05-04 Werner LEMBERG <wl@gnu.org>
3985 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
3986 Document `.U' register.
3988 * src/roff/troff/env.cpp (environment::mark_last_line)
3989 [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.
3991 2004-05-04 Larry Kollar <kollar@alltel.net>
3993 New read-only register `.U'; it returns 1 in safer mode and 0
3996 * src/roff/troff/input.cpp (init_input_requests): Implement `.U'
3999 2004-05-03 Werner LEMBERG <wl@gnu.org>
4001 * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
4003 2004-04-17 Werner LEMBERG <wl@gnu.org>
4005 * src/include/font.h (font): Use `int' for ch_index.
4006 * src/libs/libgroff/font.cpp (font::alloc_ch_index,
4007 font::compact): Updated.
4009 * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
4012 * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
4013 (hyphen_word): Fix compiler warnings.
4014 * src/roff/troff/input.cpp (get_char_for_escape_name): Return
4017 (get_delim_number, get_line_arg): Change second argument type to
4019 (macro_header::copy, token::next, do_define_string,
4020 do_define_character, substring_request, asciify_macro,
4021 unformat_macro, read_size, non_interpreted_node::interpret,
4022 while_request, main: Fix compiler warnings.
4023 (read_color_draw_node): Initialize `col'.
4025 * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
4026 `start_col' and `end_col' of type `int'.
4027 (vertical_rule): Make `col' of type `int'.
4029 * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
4032 * src/preproc/refer/label.y (uppercase_array, lowercase_array):
4034 (format_serial): Use them to remove dependency on ASCII.
4036 * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
4038 * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
4041 * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
4043 (glyph): Change type of `hpos' to `int'.
4045 * src/devices/lbp/lbp.cpp (strsep): Removed. Unused.
4046 * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
4048 * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
4050 * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
4052 2004-04-16 Werner LEMBERG <wl@gnu.org>
4054 * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
4055 src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
4056 src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
4057 `double' instead of `float' everywhere.
4058 * src/preproc/grn/main.cpp: Use `double' instead of `float'
4060 (main): Add return value.
4061 * src/preproc/grn/hdb.cpp: Use `double' instead of `float'
4063 Update all user functions.
4065 * src/include/search.h, src/include/ptable.h, src/include/printer.h,
4066 src/preproc/eqn/box.h, src/preproc/pic/object.h,
4067 src/preproc/refer/refer.h, src/preproc/tbl/table.h,
4068 src/preproc/tbl/table.cpp, src/roff/troff/env.h,
4069 src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
4070 src/roff/troff/input.cpp, src/roff/troff/request.h,
4071 src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
4074 * src/utils/indxbib/signal.c: Include stdlib.h.
4076 2004-04-14 Keith Marshall <keith.d.marshall@ntlworld.com>
4078 * tmac/s.tmac (@init, RP): Allow initialization of the PO register
4079 before the first page.
4081 2004-04-14 Thomas Klausner <wiz@netbsd.org>
4083 * tmac/doc-common (doc-volume-as-*): Use lowercase names.
4084 (doc-operating-system-*): Updated.
4085 * tmac/doc-syms (doc-str-St-*): Various small fixes.
4086 (doc-str-Lb-*): Add more library names.
4088 2004-04-10 Art Haas <ahaas@airmail.net>
4090 * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't
4093 2004-04-09 Art Haas <ahaas@airmail.net>
4095 * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.
4097 2004-04-09 Keith Marshall <keith.d.marshall@ntlworld.com>
4099 * arch/misc/shdeps.sh: Generate better comment for sed script.
4101 2004-04-08 Art Haas <ahaas@airmail.net>
4103 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
4104 src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
4105 src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
4106 src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
4107 (polyfill), src/preproc/grn/main.cpp (polyfill),
4108 src/preproc/refer/command.cpp (command_table),
4109 src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
4110 gcc 3.5 doesn't like).
4112 2004-04-08 Werner LEMBERG <wl@gnu.org>
4114 Removing many compiler warnings. groff should now compile with
4115 a C++ compiler used for C files also. [Simple variable renamings
4116 to avoid shadowing aren't logged in detail.]
4118 * src/devices/grodvi/dvi.cpp: Some local variable renamings.
4119 (draw_dvi_printer::draw) ['c']: Enclose in block.
4121 * src/devices/grohtml/post-html.cpp: Some local variable renamings.
4122 (page::add_line): Fix typos.
4123 * src/devices/grohtml/html-text.cpp: Some local variable renamings.
4125 * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
4126 Some local variable renamings.
4127 * src/devices/grolbp/lbp.h: Some local variable renamings.
4129 * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
4132 * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
4133 Remove redundant local variable declaration.
4134 * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
4135 Don't use `caddr_t' but `void *'.
4136 Enclose functions with `extern "C"' for C++.
4138 * src/libs/libdriver/input.cpp (remember_filename,
4139 remember_source_filename): Use cast for string constant.
4141 * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
4142 src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
4143 src/libs/libgroff/geometry.cpp: Some local variable renamings.
4144 * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
4146 Enclose functions with `extern "C"' for C++.
4147 * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
4148 (needs_quoting): Return `int'.
4149 (quote_arg): Add proper casts to malloc and realloc.
4150 * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
4151 various MS Windows environments.
4152 (spawnvp_wrapper): Add proper cast to malloc.
4154 * src/preproc/eqn/box.h: Remove redundant declarations of
4155 `make_script_box', `make_mark_box' and `make_lineup_box'.
4156 * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
4157 * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
4160 * src/preproc/grn/hpoint.cpp: Some local variable renamings.
4161 * src/preproc/grn/hgraph.cpp: Some local variable renamings.
4162 (dx, dy): Renamed functions to...
4163 (deltax, deltay): This.
4164 * src/preproc/grn/main.cpp: Some local variable renamings.
4165 (deffont): Add `const'.
4166 (initpic, conv): Use cast for string constant.
4168 * src/preproc/html/pre-html.cpp: Some local variable renamings.
4169 (makeFileName, alterDeviceTo, addZ): Use cast for string constant.
4170 (char_buffer::run_output_filter): Second argument is unused.
4171 * src/preproc/html/pushback.cpp: Some local variable renamings.
4173 * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
4174 * src/preproc/pic/object.cpp: Some local variable renamings.
4176 * src/preproc/refer/label.y (lookup_label): Remove redundant
4177 declaration of local variable.
4179 * src/preproc/soelim.cpp: Remove redundant declaration of
4180 `interpret_lf_args'.
4182 * src/preproc/tbl/main.cpp: Some local variable renamings.
4184 * src/roff/groff/groff.cpp (main): Use cast for string constant.
4185 * src/roff/groff/pipeline.c: Enclose declarations of `error',
4186 `c_fatal', and `i_to_a' with `extern "C"' for C++.
4187 Don't use C++-style comments.
4189 * src/roff/troff/env.h: Remove redundant declaration of `title'.
4190 * src/roff/troff/node.h, src/roff/troff/env.cpp,
4191 src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
4193 * src/roff/troff/div.h: Remove redundant declaration of
4195 * src/roff/troff/troff.h: Remove redundant declaration of
4197 * src/roff/troff/input.cpp: Remove redundant declaration of
4198 `handle_first_page_transition' and `process_input_stack'.
4200 * src/utils/hpftodit.cpp: Some local variable renamings.
4202 * src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
4204 Don't define RETSIGTYPE.
4205 * src/utils/indxbib/indxbib.cpp: Some local variable renamings.
4207 * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
4208 (error): Use `const' in argument.
4209 (main): Remove redundant declaration of `optind'.
4210 Move declaration of `Version_string' to top-level.
4212 * PROBLEMS: Document difficulties compiling signal.c if a C++
4213 compiler is used for C.
4215 2004-04-07 Werner LEMBERG <wl@gnu.org>
4217 * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
4219 2004-04-06 Keith Marshall <keith.d.marshall@ntlworld.com>
4221 Make scripts like nroff.sh and neqn.sh portable across various
4222 (Unix-like) shell implementations from Cygwin, MSYS, etc., which use
4223 non-POSIX path separators. The idea is to extend those scripts to
4224 decide at run-time (of the script) which path separator to use.
4226 * arch/misc/Makefile.sub: New file.
4227 * arch/misc/shdeps.sh: New file, generating OS dependency fixups.
4228 This script handles @GROFF_BIN_PATH_SETUP@, replacing it with
4229 a proper definition of the variable `GROFF_RUNTIME'.
4231 * Makefile.in (SH_DEPS_SED_SCRIPT): New variable.
4232 (MDEFINES): Add SH_DEPS_SED_SCRIPT.
4233 (PROGDEPDIRS): New variable.
4235 (PROGDIRS): Add PROGDEPDIRS.
4237 * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT.
4238 Don't substitute @SEP@ and @BINDIR@.
4239 * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@.
4240 (PATH): Use GROFF_RUNTIME.
4242 * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT.
4243 Don't substitute @SEP@ and @BINDIR@.
4244 * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@.
4245 (PATH): Use GROFF_RUNTIME.
4247 2004-04-05 Keith Marshall <keith.d.marshall@ntlworld.com>
4249 * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from
4250 Cygwin which doesn't handle stderr correctly.
4252 2004-03-08 Werner LEMBERG <wl@gnu.org>
4254 * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops
4255 against empty argument. Problem reported by <cgd@broadcom.com>.
4257 2004-03-05 Keith Marshall <keith.d.marshall@ntlworld.com>
4259 * Makefile.in (SEP): Replaced with...
4260 (RT_SEP, SH_SEP): Separators for the target platform's native path
4261 separator and the build environment, respectively.
4262 (fontpath, tmacpath): Use RT_SEP.
4263 (MDEFINES): Updated.
4265 * contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
4266 * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
4267 * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
4268 * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
4270 2004-03-05 Werner LEMBERG <wl@gnu.org>
4272 * fonts/devlj4/Makefile.sub (LJ4RES): Set to 1200. This helps to
4273 reduce alignment problems with newer printers which use built-in
4274 TrueType fonts (instead of the older Intellifonts). The ideal
4275 solution is to provide a second set of groff metric files, but this
4276 is extremely time-consuming to produce, given that HP's metric
4277 files are very rudimentary.
4279 2004-03-01 Werner LEMBERG <wl@gnu.org>
4281 * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.
4282 s/operand/argument/ in error message.
4284 2004-03-01 Keith Marshall <keith.d.marshall@ntlworld.com>
4286 * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
4289 2004-03-01 Antti Kantee <pooka@netbsd.org>
4291 * tmac/s.tmac (XE): Fix error message.
4293 2004-02-27 Jeff Conrad <jeff_conrad@msn.com>
4295 * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:
4298 * src/roff/groff/pipeline.c: Declare strcasecmp.
4299 (run_pipeline) [_WIN32]: Use function name variants which don't
4301 Fix stream handling.
4303 2004-02-27 Keith Marshall <keith.d.marshall@ntlworld.com>
4305 * src/include/nonposix.h: Fix declaration of `system_shell_name'.
4306 Declare `spawnvp_wrapper' and macro definitions of spawnvp only
4307 for platforms which use the native Win32 runtime libraries.
4308 (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
4310 * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
4311 QUOTE_ARG_REALLOC_ERROR): Fix string.
4313 * src/preproc/html/pre-html.cpp: Remove declaration of
4315 Don't use __MINGW32__.
4316 s/DEBUG_FILE/DEBUG_FILE_DIR/.
4317 (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
4318 (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
4319 (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
4320 calls to `set_redirection' and `WAIT'.
4321 [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
4322 Fix calls to `set_redirection' and `save_and_redirect'.
4323 (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
4324 to `set_redirection' and `save_and_redirect'.
4325 (usage): Fix message.
4326 (makeTempFiles, main): Use `DEBUG_FILE'.
4328 2004-02-21 Werner LEMBERG <wl@gnu.org>
4330 * src/roff/troff/troff.h (WARN_TOTAL): Fix value.
4332 2004-02-21 Keith Marshall <keith.d.marshall@ntlworld.com>
4334 * src/libs/libgroff/quotearg.c: New file, providing proper argument
4335 quoting for MSVC's spawn* and exec* functions.
4336 * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
4337 spawnvp with proper quoting for MSVC.
4339 * src/libs/libgroff/assert.cpp (program_name),
4340 src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
4341 * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
4343 * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
4345 * src/include/error.h (program_name): Declare as `extern "C"'.
4346 * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
4348 2004-02-21 Jeff Conrad <jeff_conrad@msn.com>
4350 * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
4352 [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
4354 2004-02-20 Jeff Conrad <jeff_conrad@msn.com>
4356 * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global
4358 (sbasename) [__MSDOS__ || ...]: New function.
4359 (system_shell_name) [__MSDOS__ || ...]: Use a different, more
4361 (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
4362 (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
4364 Use STDOUT_FILENO instead of hardcoded file handle.
4365 (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
4367 2004-02-19 Werner LEMBERG <wl@gnu.org>
4369 * src/roff/troff/div.cpp: Include nonposix.h after troff.h to
4370 avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
4372 2004-02-18 Werner LEMBERG <wl@gnu.org>
4374 * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
4375 new font and mapping files.
4377 2004-02-18 Jeff Conrad <jeff_conrad@msn.com>
4378 Keith Marshall <keith.d.marshall@ntlworld.com>
4380 * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
4381 an input pipe. This is needed for the MSVC compiler to make troff's
4384 * src/roff/troff/div.cpp: Include nonposix.h.
4385 (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
4387 2004-02-17 Werner LEMBERG <wl@gnu.org>
4389 * font/devlj4/generate/special.awk: New script.
4390 * font/devlj4/generate/Makefile (S): Use special.awk.
4391 * font/devlj4/*: Regenerated, including the following new files:
4392 Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
4393 MS Symbol (SYMBOL), Wingdings (WINGDINGS).
4394 * NEWS: Document new lj4 fonts and revised hpftodit.
4396 2004-02-17 Paco Andrés Verdú <pandres@dragonet.es>
4398 * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.
4400 2004-01-25 Werner LEMBERG <wl@gnu.org>
4402 * src/libs/libgroff/progname.cpp: Replaced with...
4403 * src/libs/libgroff/progname.c: New file.
4404 * src/libs/libgroff/Makefile.sub: Updated accordingly.
4406 2004-01-17 Werner LEMBERG <wl@gnu.org>
4408 * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.
4410 2004-01-16 Jeff Conrad <jeff_conrad@msn.com>
4412 * font/devlj4/generate/wingdings.map,
4413 font/devlj4/generate/symbol.map: Include unnamed glyphs.
4414 Use groff glyph names where possible.
4415 * src/devices/grolj4/lj4_font.man: Minor updates.
4417 2004-01-13 Werner LEMBERG <wl@gnu.org>
4419 * tmac/www.tmac (DC): Handle TTY devices.
4421 * doc/webpage.ms: Document viewCVS from ffii.org.
4422 * NEWS, README: Updated.
4424 * src/roff/groff/groff.man: Mention lj4_font man page.
4426 * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
4428 (FONTS): Add SYMBOL and WINGDINGS.
4429 (SYMBOL, WINGDINGS): New targets.
4431 2004-01-13 Jeff Conrad <jeff_conrad@msn.com>
4433 * src/devices/grolj4/lj4_font.man: New man page.
4434 * src/devices/grolj4/Makefile.sub (MAN5): New variable.
4435 * src/devices/grolj4.man: Mention lj4_font man page.
4437 * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
4438 * src/utils/hpftodit/hpftodit.man: Document it.
4440 Remove details about fonts (which are now in lj4_font.man).
4442 * font/devlj4/generate/symbol.map,
4443 font/devlj4/generate/wingdings.map: New files.
4445 2004-01-12 Werner LEMBERG <wl@gnu.org>
4447 * README: Mention ffii's viewcvs access.
4449 2004-01-09 Werner LEMBERG <wl@gnu.org>
4451 * font/devlj4/generate/special.map: Map MSL 228 to U+221F.
4453 2004-01-09 Jeff Conrad <jeff_conrad@msn.com>
4455 Revert most of the change from 2004-01-03 to better control used
4458 * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
4459 (text_symbol_sets, special_symbol_sets): New arrays.
4460 (symbol_set_table): New global variable.
4461 (read_symbol_sets): Use search order given in the text_symbol_sets
4462 and special_symbol_sets arrays. If command line flag -a is not
4463 given, search both arrays.
4464 (output_charset): Require x_height_tag only for command line flag -i.
4466 2004-01-06 Werner LEMBERG <wl@gnu.org>
4468 Implement string-valued registers \n[.m] and \n[.M] to return the
4469 name of the current drawing and background color, respectively.
4471 * src/roff/troff/symbol.h: Moved to...
4472 * src/include/symbol.h: Here.
4473 Small fixes to make it work outside of the `troff' directory.
4474 * src/roff/troff/symbol.cpp: Moved to...
4475 * src/libs/libgroff/symbol.cpp: Here.
4476 Small fixes to make it work outside of the `troff' directory.
4478 * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
4479 (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
4482 * src/include/color.h: Include symbol.h.
4483 (color): Add new field `nm'.
4484 * src/libs/libgroff/color.cpp (color::color): Updated.
4486 * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
4487 src/roff/troff/node.cpp, src/roff/troff/number.cpp,
4488 src/roff/troff/reg.cpp: Don't include symbol.h.
4490 * src/roff/troff/env.cpp: Don't include symbol.h.
4491 (environment::get_glyph_color_string,
4492 environment_get_fill_color_string): New member functions.
4493 (init_env_requests): Handle `.m' and `.M' registers.
4494 * src/roff/troff/input.cpp: Don't include symbol.h.
4495 (default_symbol): Moved to symbol.cpp/symbol.h.
4496 (do_glyph_color, do_fill_color, define_color): Pass symbol name
4497 to color constructor.
4498 * src/roff/troff/env.h: Updated.
4500 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4501 Document new registers.
4503 2004-01-05 Werner LEMBERG <wl@gnu.org>
4505 * src/roff/troff/node.cpp (space_node::get_breakpoints,
4506 space_node::nbreaks): Protect against zero `next' field.
4508 2004-01-03 Jeff Conrad <jeff_conrad@msn.com>
4510 In hpftodit, use the symbol sets offered in the TFM.
4512 * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
4513 (symbol_set, text_symbol_sets, special_symbol_sets,
4514 symbol_set_table): Removed.
4515 (get_printcode): Removed.
4516 (read_symbol_sets): Initialize `symbol_set' field with
4518 Simplify code to just use the `kind' value.
4519 (output_charset): Improve output formatting.
4520 (dump_symbols): Simplified.
4522 2004-01-02 Werner LEMBERG <wl@gnu.org>
4524 * font/devlj4/generate/text.map: Add more MSL numbers.
4526 2004-01-02 Jeff Conrad <jeff_conrad@msn.com>
4528 * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
4529 (text_symbol_sets): Add more symbol sets.
4530 (debug_flag): New static variable (moved from `main').
4531 (get_printcode, show_symset): New functions.
4532 (main): Remove `debug_flag'.
4533 (output_charset): Use `show_symset'.
4534 (dump_symbols): Use `show_symset'.
4535 Print symsets for all glyphs.
4536 (read_map): Actually call `unicode_to_ucode_make' but this time
4539 2004-01-01 Werner LEMBERG <wl@gnu.org>
4541 * font/devlj4/generate/text.map, font/devlj4/generate/special.map:
4542 Fix placement of comments.
4544 2004-01-01 Jeff Conrad <jeff_conrad@msn.com>
4546 * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
4547 option `-d' is given.
4548 (output_charset): Improve warning messages to give more information.
4549 (dump_symbols): Make information more precise.
4551 (read_map): Don't call unicode_to_ucode_name; the glyph names must
4552 appear as-is and shouldn't be decomposed.
4554 2003-12-31 Werner LEMBERG <wl@gnu.org>
4556 * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.
4557 * font/devlj4/generate/Makefile (IFLAG): Updated to new units.
4558 (FONTS): Add TrueType font families Arial and Times New Roman.
4559 (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
4560 * font/devlj4/generate/text.map: Fix Unicode values of `fi' and
4563 2003-12-31 Jeff Conrad <jeff_conrad@msn.com>
4565 * test-groff.in (SEP): Quote value.
4566 * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
4567 `tem' to `char*' to avoid deallocation of a pointer to a constant
4568 object which some compilers don't like.
4570 2003-12-31 Werner LEMBERG <wl@gnu.org>
4572 * font/devlj4/generate (text.map, special.map): Rewritten to work
4573 with the new hpftodit version.
4575 2003-12-30 Jeff Conrad <jeff_conrad@msn.com>
4577 * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
4578 set and 8bit character code for all glyphs also.
4580 2003-12-30 Werner LEMBERG <wl@gnu.org>
4582 * src/libs/libgroff/strcasecmp.c: Updated from gnulib.
4584 2003-12-29 Werner LEMBERG <wl@gnu.org>
4586 More fixes for MSVC compiler.
4588 * doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use
4591 * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
4592 STDERR_FILENO) [_MSC_VER]: Define conditionally.
4593 (getpid) [_MSC_VER]: Remove.
4594 Include direct.h and process.h conditionally.
4596 * src/roff/troff/node.cpp (suppress_node::tprint): Don't use
4597 parentheses for a_delete.
4599 * src/utils/lookbib/lookbib.cpp: Include nonposix.h.
4601 * test-groff: Replaced with...
4602 * test-groff.in: This new template to handle path separator
4605 * configure.ac: Check for direct.h and process.h.
4606 Generate test-groff script.
4607 * configure, src/include/config.hin: Regenerated.
4609 2003-12-28 Werner LEMBERG <wl@gnu.org>
4611 Add integral extension glyph.
4612 Add new option `-x' to afmtodit to suppress use of built-in AGL.
4614 * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
4616 * font/devps/generate/textmap: Provide entry for `integralex' to
4617 override (old) PUA value of the AGL.
4618 * font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
4619 * font/devps/*: Regenerated.
4621 * src/utils/afmtodit/afmtodit.pl: Add option `-x'.
4622 * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
4624 2003-12-27 Werner LEMBERG <wl@gnu.org>
4626 Add forgotten `coproduct' symbol (already available for DVI).
4628 * font/devhtml/R.proto, font/devps/generate/textmap,
4629 font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
4630 src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
4631 U+2210 (\[coproduct]).
4633 2003-12-26 Jeff Conrad <jeff_conrad@msn.com>
4635 hpftodit has been extended to handle TrueType metric files and
4636 more glyphs. See hpftodit.man for more details.
4638 * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h,
4639 ctype.h, and unicode.h.
4640 s/msl/charcode/ everywhere since we now handle Unicode values also.
4641 (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
4642 Use it where appropriate.
4643 (MULTIPLIER): Replaced with...
4644 (multiplier): New global static variable.
4646 (tag_type): Add more TFM tags.
4647 (tag_name): New array.
4648 (ENUM_TYPE, FLOAT_TYPE): Removed.
4649 (BYTE_TYPE): New value assigned.
4650 (ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
4651 (text_symbol_sets, special_symbol_sets): Extended to cover more
4653 (check_type): Add return value.
4654 (check_units): Add parameters to get ppi and upem values.
4655 Handle TrueType TFM data.
4656 (output_font_name): New function.
4657 (output_charset): Add parameter to handle TFM type.
4658 Handle TrueType TFMs also.
4659 (em_fract): New macro.
4660 (dump_tags): Be much more verbose and handle more tags.
4661 (dump_ascii, dump_symbol_sets, dump_symbols): New functions.
4662 (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
4664 (read_map): Add parameter to handle TFM type.
4665 Handle both MSL and Unicode mappings.
4666 (main): Add two new command line options `-a' and `-q'.
4667 Updated to make use of new functions.
4670 * src/utils/hpftodit/hpuni.cpp: New file.
4672 * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
4675 2003-12-25 Werner LEMBERG <wl@gnu.org>
4677 * src/include/nonposix.h (read) [_MSC_VER]: Define.
4679 2003-12-24 Werner LEMBERG <wl@gnu.org>
4681 * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested
4682 by Michail Vidiassov <master@iaas.msu.ru>.
4684 2003-12-20 Werner LEMBERG <wl@gnu.org>
4686 * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
4688 Add missing latin-2 glyphs.
4689 * font/devutf8/R.proto: Add missing latin-2 glyphs.
4691 * tmac/troffrc: Load `composite.tmac' earlier.
4693 * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
4694 u00{53,73}_0327, and u0049_0307.
4695 * tmac/X.tmac: Add u00{47,67}_0306.
4696 * tmac/tty-char.tmac: Use composite glyph names for readability.
4700 * src/include/unicode.h: Remove `extern' keywords.
4702 2003-12-20 Nilgün Belma Bugüner <nilgun@superonline.com>
4704 * tmac/latin5.tmac: New file.
4706 2003-12-19 Werner LEMBERG <wl@gnu.org>
4708 Add some glyphs needed for Turkish.
4710 * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
4713 * tmac/composite.tmac: Add `,' as a synonym for `ac' accent.
4714 * tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
4715 u00{53,73}_0327, and u0049_0307.
4717 2003-12-18 Werner LEMBERG <wl@gnu.org>
4719 * src/devices/grops/ps.cc (ps_output::put_float): Revert change
4721 Remove trailing zeros.
4723 2003-12-17 Werner LEMBERG <wl@gnu.org>
4725 Make \? transparent to end-of-sentence recognition.
4727 * src/roff/troff/input.cc (non_interpreted_node): Add
4728 `ends_sentence' member function.
4730 2003-12-16 Werner LEMBERG <wl@gnu.org>
4732 * doc/groff.texinfo: Document `dt' request correctly.
4733 Other minor typographical improvements.
4735 2003-12-10 Michail Vidiassov <master@iaas.msu.ru>
4737 * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
4739 2003-12-10 Richard Stallman <rms@gnu.org>
4741 * LICENSE: Better wording.
4743 2003-12-09 Werner LEMBERG <wl@gnu.org>
4745 * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
4746 * configure, NEWS: Updated.
4748 2003-12-08 Werner LEMBERG <wl@gnu.org>
4750 * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).
4752 2003-12-07 Bernd Warken <bwarken@mayn.de>
4756 2003-12-07 Werner LEMBERG <wl@gnu.org>
4758 * INSTALL: Improved.
4760 2003-12-05 Keith Marshall <keith.d.marshall@ntlworld.com>
4762 Use path separator character of target platform for compiled-in
4765 * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
4766 * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
4767 * configure: Regenerated.
4768 * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
4770 2003-12-05 Werner LEMBERG <wl@gnu.org>
4772 * src/include/nonposix.h (PATH_SEP_CHAR): New definition.
4773 Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
4775 2003-12-04 Bernd Warken <bwarken@mayn.de>
4777 * LICENSE: New file.
4779 2003-12-03 Werner LEMBERG <wl@gnu.org>
4781 * src/utils/afmtodit/afmtodit.pl: Comment out code which handles
4782 ligatures present in AFM files since groff currently only
4783 understands some standard ligatures and nothing else.
4785 2003-12-03 Jeff Conrad <jeff_conrad@msn.com>
4787 * src/roff/groff/groff.cpp (main): Don't run the spooler if
4790 * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
4793 Don't use Unix wait flags.
4795 2003-12-02 Werner LEMBERG <wl@gnu.org>
4797 * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
4798 src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
4799 src/roff/troff/uniuni.cpp: Moved to...
4800 * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
4801 src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
4802 src/libs/libgroff/uniuni.cpp: Here.
4804 * src/include/Makefile.sub.old (HDRS),
4805 src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
4806 src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
4808 2003-12-01 Keith Marshall <keith.d.marshall@ntlworld.com>
4810 * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to
4814 2003-12-01 Werner LEMBERG <wl@gnu.org>
4816 * groff.texinfo: Document special behaviour of `.vs 0'.
4817 Improve documentation of `cflags' request.
4820 2003-11-29 Werner LEMBERG <wl@gnu.org>
4822 * font/devlj4/generate/Makefile (CORONET): Use correct TFM.
4823 * font/devlj4/CORONET: Regenerated.
4825 2003-11-24 Werner LEMBERG <wl@gnu.org>
4827 * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
4828 if processing hyphenation patterns in traditional mode.
4829 Improve error messages.
4831 2003-11-20 Werner LEMBERG <wl@gnu.org>
4833 * src/roff/troff/node.cpp (troff_output_file::put_char_width,
4834 troff_output_file::put_char): Fix type of local variable `c'.
4836 2003-11-19 Werner LEMBERG <wl@gnu.org>
4838 * src/roff/groff/pipeline.c (P): Removed. Updated all function
4840 (i_to_a): Removed. libgroff already provides this function.
4841 (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
4843 2003-11-18 Keith Marshall <keith.d.marshall@ntlworld.com>
4845 * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
4848 2003-11-17 Werner LEMBERG <wl@gnu.org>
4850 * COPYING: Use correct version.
4852 2003-11-11 Werner LEMBERG <wl@gnu.org>
4854 LynxOS 4.0.0 doesn't declare vfprintf.
4856 * configure.ac: Check for vfprintf.
4857 * configure: Regenerated.
4858 * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
4859 * src/include/config.hin: Regenerated.
4861 2003-11-10 Werner LEMBERG <wl@gnu.org>
4863 LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.
4865 * configure.ac: Check for vsnprintf.
4866 * configure: Regenerated.
4867 * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
4869 * src/include/config.hin: Regenerated.
4871 2003-11-09 Werner LEMBERG <wl@gnu.org>
4873 * aclocal.m4: Updated syntax to autoconf 2.59.
4874 (GROFF_HTML_PROGRAMS): Use AC_FOREACH.
4875 Don't check for gsos2.
4876 (GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides
4877 working abs_top_srcdir and abs_top_builddir.
4879 * configure.ac: Updated syntax to autoconf 2.59.
4880 Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
4881 Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
4882 * configure: Regenerated.
4884 * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
4885 s/@groff_top_builddir@/@abs_top_builddir@/.
4887 * src/roff/groff/pipeline.c (xstrsignal):
4888 s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
4890 2003-11-07 Werner LEMBERG <wl@gnu.org>
4892 * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
4893 make start angle smaller than end angle to circumvent a bug in tpic
4894 handling of some versions of dvipdfm (and dvipdfmx).
4896 2003-10-30 Werner LEMBERG <wl@gnu.org>
4898 * src/devices/grops/grops.man: Improve section on creating EPS.
4900 2003-10-29 Werner LEMBERG <wl@gnu.org>
4902 * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
4905 2003-10-28 Werner LEMBERG <wl@gnu.org>
4907 * doc/groff.texinfo: Fix documentation of `.if'.
4909 2003-10-27 Michail Vidiassov <master@iaas.msu.ru>
4911 * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of
4912 the form `uniXXXX' also.
4914 2003-10-27 Werner LEMBERG <wl@gnu.org>
4916 * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,
4917 contrib/pic2graph/pic2graph.sh: Implement secure management of
4919 Pass `-P-pletter' to groff to avoid data outside of the converted
4920 area -- some versions of `convert' (for example 5.3.8) don't check
4921 the bounding box of the image but always use a fixed image size
4922 (letter paper format).
4923 * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man,
4924 contrib/pic2graph/pic2graph.man: Updated.
4926 * src/roff/groff/groff.man: Document $TMP and $TEMP.
4928 2003-10-26 Werner LEMBERG <wl@gnu.org>
4930 * src/preproc/pic/troff.cpp (troff_output::simple_circle,
4931 troff_output::simple_ellipse, troff_output::simple_arc,
4932 troff_output::simple_line, troff_output::simple_spline,
4933 troff_output::simple_polygon): Insert a space before arguments.
4934 (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the
4935 latter doesn't produce a node, so the following `.sp -1' would do
4937 Don't emit `.sp -1' after \M. This also doesn't produce a token
4938 (and we don't have to care about compatibility mode).
4939 (troff_output::set_color, troff_output::reset_color): Don't emit
4940 `.sp -1' after \M and \m.
4942 * src/roff/troff/input.cpp (old_have_input): New global variable.
4943 (input_stack::get): Handle `old_have_input'.
4944 (process_input_stack) <token::TOKEN_NEWLINE>: Call
4945 `trapping_blank_line' depending on `old_have_input', not
4948 2003-10-20 Keith Marshall <keith.d.marshall@ntlworld.com>
4950 * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32]
4951 (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing
4952 default directory names for temporary files.
4953 [__MSDOS__, _Win32] (temp_init::temp_init): Use them.
4955 * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h.
4956 [__MSDOS__] (run_pipeline): Honour environment variables.
4957 Don't use `tmpnam' but `tempnam' to work around messy
4960 * README.MinGW: New file.
4962 2003-10-16 Werner LEMBERG <wl@gnu.org>
4964 * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
4965 `(*t)->next' without testing validity of `*t'.
4966 (usage): Make it more readable.
4968 2003-10-16 Keith Marshall <keith.d.marshall@ntlworld.com>
4970 Make html device run under both MS-DOS and Win32.
4972 * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS,
4973 MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether
4974 spawn or fork+exec has to be used, and whether parent must sleep
4975 until the child process terminates. Used in
4976 `char_buffer::run_output_filter'.
4977 (copyofstdoutfd): Removed.
4978 (char_buffer): Replace `write_file_html' and `write_file_troff'
4979 member functions with `emit_troff_output' and `run_output_filter'.
4980 (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New
4982 (replaceFd): Replaced with...
4983 (set_redirection): New auxiliary function.
4984 (waitForChild): Replaced with...
4985 (save_and_redirect): New auxiliary function for.
4987 (char_buffer::do_html, char_buffer::do_image): Simplified, using new
4990 2003-10-14 Keith Marshall <keith.d.marshall@ntlworld.com>
4992 * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
4993 (GROFF_LIBC): New function.
4994 * configure.ac: Call GROFF_LIBC.
4996 * configure: Regenerated.
4998 * src/include/lib.h: Handle __MINGW32__.
4999 * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
5000 Add macro for `pipe'.
5003 * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
5006 * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
5009 2003-10-13 Werner LEMBERG <wl@gnu.org>
5011 Finally fix change 2003-08-26, based on ideas from Chuck Silvers
5014 * contrib/mom/Makefile.sub: Use a stamp file in the `examples'
5017 2003-10-12 Werner LEMBERG <wl@gnu.org>
5019 * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
5020 src/roff/troff/input.cc (usage): Updated.
5022 * NEWS, doc/groff.texinfo: Updated.
5024 2003-10-12 Peter Miller <millerp@canb.auug.org.au>
5026 * src/libs/libgroff/searchpath.cpp
5027 (search_path::open_file_cautious): New function which also handles
5028 `-' as stdin and stdout depending on the access mode.
5029 * src/include/searchpath.h (search_path): Updated.
5031 * src/devices/grops/ps.cpp (main): Handle new `-I' switch.
5032 * src/devices/grops/ps.h: Include `searchpath.h'.
5033 * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
5034 Open resource file with `include_search_path.open_file_cautious'.
5035 * src/devices/grops/grops.man: Document new `-I' switch.
5037 * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
5038 (main), src/devices/grolj4/lj4.cpp (main),
5039 src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
5041 * src/preproc/soelim/soelim.cpp (include_list_length, include_list):
5043 (include_search_path): New global variable.
5044 (include_path_append): Removed.
5045 (main): Use `include_search_path.command_line_dir' to handle `-I'.
5046 (do_file): Simplify, using new
5047 `include_search_path.open_file_cautious'.
5049 * src/roff/groff/groff.cpp (print_commands): Accept file handle as
5051 (main): Pass arguments to `-I' to both troff and devices.
5052 Improve handling of `-V'.
5053 * src/roff/groff/groff.man: Document changes to -I and -V.
5055 * src/roff/troff/input.cpp (include_search_path): New global
5057 (next_file, source, ps_bbox_request, transparent_file,
5058 process_input_file): Use new
5059 `include_search_path.open_file_cautious'.
5060 (main) Handle `-I' switch.
5061 * src/roff/troff/node.cpp (troff_output_file::really_copy_file):
5062 Use new `include_search_path.open_file_cautious'.
5063 * src/roff/troff/node.h: New extern symbol `include_search_path'.
5064 * src/roff/troff/troff.man: Document new `-I' switch.
5066 2003-09-15 Ruslan Ermilov <ru@FreeBSD.org>
5068 Support multiple calls of .Lb in LIBRARY section.
5070 * tmac/doc-common (doc-in-library-section): New register.
5071 (doc-section-library): New string.
5072 (Sh): Set `doc-in-library-section'.
5074 * tmac/doc-syms (Lb): Insert breaks before and after arguments
5075 if in LIBRARY section.
5076 * tmac/doc.tmac (doc-save-global-vars): Updated.
5077 * NEWS, tmac/groff_mdoc.man: Updated.
5079 2003-09-14 Ruslan Ermilov <ru@FreeBSD.org>
5081 * tmac/doc-common (doc-default-operating-system): New variable.
5084 2003-09-08 Werner LEMBERG <wl@gnu.org>
5086 * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also.
5088 2003-08-31 Werner LEMBERG <wl@gnu.org>
5090 * contrib/mom/Makefile.sub: Fix last change to make it really work.
5091 * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
5092 (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
5093 $(DEVFILES) are not empty.
5094 * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
5096 2003-08-26 Chuck Silvers <chuq@chuq.com>
5098 * contrib/mom/Makefile.sub (prepare_make_examples): Make it work
5099 with parallel runs of `make'.
5101 2003-08-23 Stephen Gildea <http://www.gildea.com/stephen>
5103 * src/preproc/ref/ref.cpp (reference::compute_sort_key): Always
5104 insert SORT_SEP. With certain combinations of sort specifications,
5105 refer sorted entries in the wrong order. In particular, entries
5106 with a missing field should be be sorted before all entries that
5107 have that field, before refer looks to the next field.
5109 2003-08-23 Werner LEMBERG <wl@gnu.org>
5111 * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the
5112 g++ linker is used. Reported by Mark J. Reed
5113 <mark.reed@turner.com>.
5115 2003-08-16 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
5117 Add key character `x' to tbl which makes tbl call a user-defined
5118 macro on a table cell.
5120 * src/preproc/tbl/table.h (entry_modifier): Add `macro'.
5121 * src/preproc/tbl/table.cpp (block_entry::do_divert): Call
5122 `set_modifier' after printing the compatibility request.
5123 (set_modifier): Print call to `m->macro' if not empty.
5124 * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
5126 (process_format): Implement cases `x' and `X'.
5127 * src/preproc/tbl/tbl.man, NEWS: Updated.
5129 2003-08-15 Werner LEMBERG <wl@gnu.org>
5131 * doc/groff.texinfo: Minor fixes.
5133 2003-08-09 Werner LEMBERG <wl@gnu.org>
5135 * tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
5137 2003-08-07 Werner LEMBERG <wl@gnu.org>
5139 * doc/Makefile.sub: Not all shells expand wildcards in the `for'
5140 argument list to nothing if there is no file to match. Use `ls' as
5141 a protection, similar to autoconf.
5143 * Makefile.comm (install_dev, uninstall_dev): Protect `for' against
5144 empty argument lists.
5146 * doc/groff.texinfo: Improve documentation how vertical spacing
5147 and line breaks interact.
5150 * tmac/www.tmac: Initialize `www-htmlimage-gap'.
5152 2003-08-03 Werner LEMBERG <wl@gnu.org>
5154 * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
5155 EPS (using eps2eps or similar programs to compute the bounding box).
5157 2003-07-24 Werner LEMBERG <wl@gnu.org>
5159 * doc/groff.texinfo: Use the new @/ command to avoid overlong lines.
5160 * doc/texinfo.tex: Updated from texinfo 4.6.
5161 * README.CVS: From now on we need texinfo 4.6.
5163 2003-07-23 Werner LEMBERG <wl@gnu.org>
5165 Add requests `dei1' and `ami1' for completeness.
5167 * src/roff/troff/input.cc (calling_mode): Remove
5168 CALLING_DISABLE_COMP.
5169 (comp_mode): New enumeration.
5170 (do_define_string, define_string, define_nocomp_string,
5171 append_string, append_nocomp_string): Updated.
5172 (do_define_macro): Add third parameter.
5173 (define_macro, define_nocomp_macro, define_indirect_macro,
5174 append_macro, append_nocomp_macro, append_indirect_macro): Updated.
5175 (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
5178 (init_input_requests): Add `dei1' and `ami1'.
5180 * tmac/trace.tmac: Handle de1 and am1.
5181 (de): Improve tracing message.
5182 (am): Add missing `do'.
5185 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5186 Document new requests.
5188 2003-07-22 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
5190 Add option -G to .MPIMG to insert a gap between text and the image.
5192 * tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
5193 www-finish-left-ll): Updated.
5194 (www-image-just, www-image-gap, www-htmlimage-gap): New variables.
5195 (MPIMG): Make option -L and -R optional.
5196 Implement option -G.
5198 2003-07-22 Gaius Mulley <gaius@glam.ac.uk>
5200 * src/devices/grohtml/post-html.cpp
5201 (html_printer::do_file_components): Don't use `stdout' as lvalue
5202 since it can be a macro.
5204 2003-07-22 Werner LEMBERG <wl@gnu.org>
5206 * src/libs/libgroff/strerror.c: Include errno.h to be in sync with
5207 the corresponding test in aclocal.m4.
5209 2003-07-21 Werner LEMBERG <wl@gnu.org>
5211 * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour
5212 names but RGB values directly. Otherwise pnmtopng depends on
5213 an external file `rgb.txt' which maps colour names to values.
5215 2003-07-20 Werner LEMBERG <wl@gnu.org>
5217 * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
5218 * configure, src/include/config.hin: Regenerated.
5220 * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
5222 2003-07-19 Werner LEMBERG <wl@gnu.org>
5224 * PROBLEMS: Add solution for UTF-8 problem with hyphens.
5226 2003-07-18 Werner LEMBERG <wl@gnu.org>
5228 * *.man: Switch to non-compatibility mode temporarily if GNU
5229 syntax extensions are used in the particular man page.
5231 * PROBLEMS: Add solutions for SGR problems.
5233 2003-07-17 Werner LEMBERG <wl@gnu.org>
5235 Don't ignore grotty's command line options if \X'tty: sgr ...' is
5236 used to change the drawing scheme.
5238 * src/devives/grotty/tty.cpp (bold_flag_option,
5239 underline_flag_option, italic_flag_option, reverse_flag_option,
5240 bold_underline_mode_option): New global variables.
5241 (update_options): New function.
5242 (tty_printer::special): Call update_options.
5243 (main): Don't set xxx_flag but xxx_flag_option, then call
5246 2003-07-14 Werner LEMBERG <wl@gnu.org>
5248 Make grotty emit proper Unicode box drawing characters for -Tutf8.
5250 * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum
5252 (hline_char, vline_char): New global variables.
5253 (tty_printer::tty_printer): Initialize them.
5254 (tty_printer::draw): Emit START_LINE and END_LINE flags for both
5255 horizontal and vertical lines.
5256 (crossings): New global array.
5257 (tty_printer::end_page): Use it to determine the proper crossing
5258 character for -Tutf8.
5260 2003-07-12 Werner LEMBERG <wl@gnu.org>
5262 * doc/Makefilesub (HTMLDOCFILESALL): New macro.
5263 (HTMLDOCFILES): Revert to `pic.html'.
5264 (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
5266 2003-07-11 Werner LEMBERG <wl@gnu.org>
5268 * doc/pic.ms: Improve documentation of absolute coordinates.
5269 Document absolute positioning of pictures.
5271 * NEWS: Add new pic capability.
5273 2003-07-09 Hartmut Henkel <hartmut_henkel@gmx.de>
5275 * src/libs/libgroff/geometry.cpp (check_output_arc_limits):
5278 2003-07-07 Werner LEMBERG <wl@gnu.org>
5280 Implement support for dashed and dotted ellipses in pic. Based on
5281 a patch from Hartmut Henkel <hartmut_henkel@gmx.de>.
5283 * src/preproc/pic/common.cpp (common_output::ellipse_arc,
5284 common_output::dashed_ellipse, common_output::dotted_ellipse): New
5285 functions. Ellipse arcs are approximated with circle arcs.
5286 * src/preproc/pic/common.h (common_output): Updated.
5287 * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse
5289 * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto.
5291 * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated.
5293 2003-07-06 Werner LEMBERG <wl@gnu.org>
5295 Make grotty work on platforms which have unsigned char as the
5296 default for char. Based on a patch by Thomas Klausner
5299 * src/devices/grotty/tty.cpp (schar): New typedef.
5300 Updated calls to declare_ptable and implement_ptable.
5301 (glyph): Use schar for back_color_idx and fore_color_idx.
5302 (tty_printer): Use schar for curr_fore_idx and curr_back_idx.
5303 (tty_printer::tty_color, tty_printer::tty_printer,
5304 tty_printer::color_to_idx, tty_printer::put_color): Updated.
5306 2003-07-06 Ruslan Ermilov <ru@FreeBSD.org>
5308 * src/roff/nroff/nroff.sh: Add option -d for completeness.
5309 * src/roff/nroff/nroff.man: Updated.
5311 2003-07-05 Werner LEMBERG <wl@gnu.org>
5313 * NEWS, tmac/groff_www.man: Updated.
5314 * doc/Makefile.sub: Updated.
5316 2003-07-05 Gaius Mulley <gaius@glam.ac.uk>
5318 Implement support for multiple HTML output files.
5320 * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
5321 -j command line option.
5323 * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
5325 (file): New fields `new_output_file', `require_links',
5327 (file::file): Updated.
5328 (files::set_file_name, files::set_links_required,
5329 files::are_links_required, files::is_new_output_file,
5330 files::file_name, files::next_file_name): New functions.
5331 (header_desc): New fields `no_of_level_one_headings',
5333 (header_desc::header_desc): Updated.
5334 (header_desc::write_headings): Handle multiple files.
5335 (html_printer::write_header): Save file name in which header occurs.
5336 (html_printer::determine_header_level): Possibly split files on
5338 (html_printer::do_links, html_printer::troff_tag): Updated.
5339 (html_printer::insert_split_file, html_printer::do_job_name,
5340 html_printer::emit_link, html_printer::write_navigation,
5341 html_printer::do_file_components): New functions.
5342 (html_printer::~html_printer): Handle multiple files.
5343 (main): Handle command line option `-j'.
5345 * src/devices/grohtml/grohtml.man: Updated.
5347 * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
5350 * tmac/www.tmac (JOBNAME): New macro.
5351 * tmac/s.tmac (SH-NO-TAG): New macro.
5352 (@SH): Call SH-NO-TAG.
5355 2003-07-05 Ruslan Ermilov <ru@FreeBSD.org>
5357 * tmac/groff_mdoc.man: Improve documentation of punctuation
5360 2003-07-04 Ruslan Ermilov <ru@FreeBSD.org>
5362 * tmac/doc.tmac (Bd): Change to doc-Li-font later.
5364 2003-07-03 Werner LEMBERG <wl@gnu.org>
5366 * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
5368 2003-07-01 Ruslan Ermilov <ru@FreeBSD.org>
5370 * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
5371 after `/*' and `*/'.
5373 (Fn, Fo): Reduce indentation in synopsis.
5375 * tmac/doc-common (doc-check-depth): New macro.
5376 (doc-end-macro, Sh, Ss): Use it.
5377 (Cd): Fix behaviour in synopsis.
5378 (In): Make it parsed and callable.
5379 If not in the synopsis, represent the C header file enclosed in
5381 (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
5382 Use minus, not hyphen.
5384 * tmac/groff_mdoc.man: Updated.
5386 2003-07-01 Werner LEMBERG <wl@gnu.org>
5388 Integrated grap2graph, contributed by Eric S. Raymond.
5390 * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
5392 * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
5393 contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
5395 2003-07-01 Colin Watson <cjwatson@debian.org>
5397 * src/xditview/*.c: Add prototypes, fix return types, add includes.
5398 Based on work by Fumitoshi UKAI <ukai@debian.or.jp>.
5400 2003-06-31 Ruslan Ermilov <ru@FreeBSD.org>
5402 * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.
5404 2003-06-31 Werner LEMBERG <wl@gnu.org>
5406 * doc/Makefile.sub (CLEANADD): Remove all files created by
5407 running `make groff.{pdf,dvi}'.
5409 * Makefile.sub (DISTCLEANFILES): Remove all non-source files from
5412 2003-06-30 Werner LEMBERG <wl@gnu.org>
5414 * Makefile.in (SHELL): Define as @SHELL@.
5415 (mkinstalldirs): Use $(SHELL).
5416 (MDEFINES): Add $(SHELL).
5417 * Makefile.comm (SHELL): Removed.
5419 2003-06-29 Werner LEMBERG <wl@gnu.org>
5421 * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively.
5422 The X11 documentation files use them.
5423 * tmac/groff_ms.man, doc/groff.texinfo: Document them.
5425 2003-06-15 Robert Goulding <goulding@Princeton.EDU>
5427 * tmac/e.tmac (@C): Handle .ad also.
5429 2003-06-12 Werner LEMBERG <wl@gnu.org>
5431 * src/preproc/tbl/tbl.man: Document formatting of text blocks.
5433 * src/roff/troff/input.cc (token::next) <handle_escape_char>:
5434 Assign `n' even here. It is possible to construct a node
5435 immediately following an escape character:
5443 2003-06-10 Werner LEMBERG <wl@gnu.org>
5445 * README.WIN32: Removed.
5446 * MANIFEST: Updated.
5448 2003-06-07 Werner LEMBERG <wl@gnu.org>
5450 * src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
5452 2003-06-05 Werner LEMBERG <wl@gnu.org>
5454 * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug
5455 in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885).
5457 2003-06-03 Werner LEMBERG <wl@gnu.org>
5459 * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
5460 is done by the calling function.
5462 2003-05-22 Ruslan Ermilov <ru@FreeBSD.org>
5464 * tmac/X.tmac: Fix definition of `em'.
5466 2003-05-22 Werner LEMBERG <wl@gnu.org>
5468 * src/roff/troff/input.cc (return_macro_request): Fix detection of
5471 2003-05-18 Werner LEMBERG <wl@gnu.org>
5473 * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
5474 to make items work which consist only of a tag.
5476 2003-05-17 Werner LEMBERG <wl@gnu.org>
5478 * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
5479 aren't stretched in a tag (this can fail with unformatted boxes).
5480 Instead, insert a break and go back one line.
5482 2003-05-16 Werner LEMBERG <wl@gnu.org>
5484 * src/roff/troff/input.cc (return_macro_request): If called with
5485 argument pop macro twice. We need this to trace `return'.
5487 * tmac/trace.tmac: Handle `return'.
5490 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5493 2003-05-15 Larry Kollar <kollar@alltel.net>
5495 * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
5496 registers `FPS', `FVS', and `FPD'.
5498 2003-05-15 Werner LEMBERG <wl@gnu.org>
5500 * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter
5503 2003-05-03 Ruslan Ermilov <ru@FreeBSD.org>
5505 * tmac/groff_mdoc.man: Slight improvements.
5507 2003-05-03 Werner LEMBERG <wl@gnu.org>
5509 * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
5510 `doc-header-space' after header line if register `cR' is set.
5512 2003-05-02 Werner LEMBERG <wl@gnu.org>
5516 2003-05-01 Ruslan Ermilov <ru@FreeBSD.org>
5518 * tmac/doc-common (Nd): Use \[em].
5520 2003-05-01 Werner LEMBERG <wl@gnu.org>
5522 * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
5523 doc-footer-space): Initialize to 0.5i.
5524 (doc-setup-page-layout): Don't set doc-header-space and
5527 2003-04-30 Werner LEMBERG <wl@gnu.org>
5529 * REVISION: Set to 1.
5531 * doc/pic.ms: Document possible problems with `figname'.
5533 2003-04-29 Werner LEMBERG <wl@gnu.org>
5535 Version 1.19 released
5536 =====================
5538 * VERSION: Set to 1.19.
5539 * REVISION: Set to 0.
5540 * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
5542 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
5543 Define charset as `US-ASCII' in html output.
5545 * tmac/www.tmac (ULE): Add missing scaling indicator.
5547 * win32-diffs: Removed.
5549 2003-04-28 Werner LEMBERG <wl@gnu.org>
5551 * doc/groff.texinfo: Document `dn' and `dl' registers if used with
5553 Document how to insert discardable whitespace with `.ss'.
5555 2003-04-27 Werner LEMBERG <wl@gnu.org>
5557 * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code
5558 work with plain TeX also.
5560 * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
5562 2003-04-25 Gaius Mulley <gaius@glam.ac.uk>
5564 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
5567 2003-04-24 Werner LEMBERG <wl@gnu.org>
5569 * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
5570 vbox with positive height and zero depth if in TeX mode.
5572 * NEWS: Document glyph name changes for grodvi and grolj4.
5574 2003-04-23 Werner LEMBERG <wl@gnu.org>
5576 * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code.
5577 * doc/pic.ms: Fixed.
5579 2003-04-21 Werner LEMBERG <wl@gnu.org>
5581 HP-UX 10.20 has `snprintf' but it isn't declared.
5583 * configure.ac: Add declaration test for snprintf.
5584 * configure: Regenerated.
5585 * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
5586 * src/include/config.hin: Regenerated.
5588 2003-04-19 Werner LEMBERG <wl@gnu.org>
5590 Add keyword `figname' to pic, specifying the name of the picture
5591 box in TeX mode. Based on a patch from William J Poser
5592 <wjposer@unagi.cis.upenn.edu>.
5594 * src/preproc/pic/pic.y: New token `FIGNAME'.
5595 (macro_name): New rule of type <str>.
5596 (placeless_element): Handle `FIGNAME'.
5597 * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
5598 * src/preproc/pic/main.cpp (graphname): New global variable.
5599 (do_picture): Initialize `graphname'.
5600 * src/preproc/pic/pic.h: Updated.
5601 * src/preproc/pic/tex.cpp (tex_output::start_picture): Use
5604 (tex_output::text): Beautify output.
5605 * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
5606 `shaded' and `outlined' unconditionally.
5607 * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
5610 * PROBLEMS, README.CVS: Mention that bison version 1.875b or
5611 greater is necessary.
5613 2003-04-17 Hartmut Henkel <hartmut_henkel@gmx.de>
5615 Add option -r to soelim to avoid emission of `.lf' lines.
5616 Add option -t to produces TeX comment lines instead of `.lf' lines.
5618 * src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
5621 (main): Handle `-r' and `-t'.
5622 (set_location): Handle `raw_flag' and `tex_flag'.
5623 * src/preproc/soelim/soelim.man, NEWS: Updated.
5625 2003-04-17 Werner LEMBERG <wl@gnu.org>
5627 * tmac/hyphenex.sh: Replaced with...
5628 * tmac/hyphenex.pl: This perl script to avoid sed compatibility
5631 * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
5632 if --quiet is used for the configure script.
5633 * configure: Regenerated.
5635 2003-04-16 Werner LEMBERG <wl@gnu.org>
5637 * src/devices/grohtml/post-html.cpp (text_glob::text_glob):
5638 Add `const' to second argument.
5639 (html_printer::add_table_end): Add `const' to argument.
5640 * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
5641 `const' to arguments.
5642 * src/devices/grohtml/html-text.h: Updated.
5644 * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
5645 * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
5648 * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
5649 cast for integer constant.
5651 * src/preproc/html/pre-html.cpp (image_device): Use `const'.
5652 (writeNbytes): Add `const' to first argument.
5653 (writeString): Add `const' to argument.
5654 (char_buffer::can_see): Add `const' to third argument.
5655 * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
5656 `const' to argument.
5657 * src/preproc/html/pushback.h: Updated.
5659 * src/preproc/soelim/soelim.cpp (include_list): Add `const'.
5660 (include_path_append): Add `const' to argument.
5663 * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
5665 (unicode_to_glyph_init::unicode_to_glyph_init): Updated.
5666 * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
5668 (unicode_decompose_init::unicode_decompose_init): Updated.
5669 * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
5671 (glyph_to_unicode_init::glyph_to_unicode_init): Updated.
5672 * src/roff/troff/input.cc (process_startup_file): Add `const' to
5675 * tmac/hyphenex.sh: Make script more portable by using a here
5678 2003-04-15 Werner LEMBERG <wl@gnu.org>
5680 Renamed all `*.cc' files to `*.cpp'.
5681 Updated all configuration files, makefiles, and documentation.
5683 2003-04-14 Werner LEMBERG <wl@gnu.org>
5685 * tmac/hyphenex.sh: Slight improvements.
5687 2003-04-13 Werner LEMBERG <wl@gnu.org>
5689 * font/devascii/R.proto, font/devcp1037/R.proto,
5690 font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
5691 character slots with unnamed glyphs.
5693 * tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
5694 (an-first): New global variable.
5695 (an-header): Emit vertical space between multiple man pages.
5697 2003-04-11 Werner LEMBERG <wl@gnu.org>
5699 * doc/groff.texinfo, man/groff_out.man: \S only accepts integer
5702 2003-04-10 Werner LEMBERG <wl@gnu.org>
5704 * PROBLEMS: Revised.
5706 2003-04-10 Bernd Warken <bwarken@mayn.de>
5708 * doc/webpage.ms: Improved.
5710 2003-04-09 Werner LEMBERG <wl@gnu.org>
5712 Add register \n[.height] which returns the value of \H.
5713 Add register \n[.slant] which returns the value of \S.
5715 * src/roff/troff/env.cc (init_env_requests): Implement.
5716 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5719 2003-04-08 Werner LEMBERG <wl@gnu.org>
5721 * tmac/html.tmac: Move some of the data into html-end.tmac.
5722 Remove most of the character translations for eqn since html fonts
5723 now cover those characters.
5725 * tmac/html-end.tmac: New file.
5726 * tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
5727 * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
5728 * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
5730 2003-04-07 Werner LEMBERG <wl@gnu.org>
5732 * man/groff_out.man: Document negative values of `N' if -Thtml is
5735 2003-04-06 Werner LEMBERG <wl@gnu.org>
5737 * Makefile.comm (depend.temp): Check location of YTABC.
5739 2003-04-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5741 * contrib/mom/Makefile.sub (GROFFBIN): New variable for groff
5743 (groff_bin_path): Rename to GROFF_BIN_PATH.
5744 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
5745 * doc/Makefile.in (TROFFBIN): New variable for troff
5747 (GROFFBIN): New variable for groff binary path.
5748 (groff_bin_path): Rename to GROFF_BIN_PATH.
5749 (TROFF): Use TROFFBIN.
5750 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
5751 * doc/Makefile.sub (GROFFBIN): New variable for groff
5753 (groff_bin_path): Rename to GROFF_BIN_PATH.
5754 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
5756 * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
5757 with INSTALL_SCRIPT.
5758 (uninstall_dev): Uninstall scripts from DEVSCRIPTS.
5759 * Makefile.dev (all): Depend on DEVSCRIPTS.
5760 (install_dev): Likewise.
5761 * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
5763 * font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
5764 (DEVGENSCRIPTS): New variable to hold generated scripts.
5766 2003-04-05 Werner LEMBERG <wl@gnu.org>
5768 * src/libs/libdriver/input.cc (IntArray::operator[],
5769 IntArray::get_data): Remove meaningless `const' in return value.
5771 * README.CVS: New file.
5773 2003-04-04 Werner LEMBERG <wl@gnu.org>
5775 Check for stdint.h in C++, not in C.
5777 * aclocal.m4 (GROFF_STDINT_H): New function,
5778 * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
5780 * configure, src/include/config.hin: Regenerated.
5781 * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
5784 Fix handling of in grohtml. To do this, troff emits `N'
5785 with a negative value, representing the width of the unbreakable
5786 space (only for -Thtml). grohtml then converts this back to
5787 and uses the value of N as its width.
5789 * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
5790 unbreakable_space_node::tprint): Emit `N-<width>'.
5791 * src/include/printer.h (printer::set_numbered_char): Make it
5793 Make members `font_table' and `nfonts' protected instead of private.
5794 * src/devices/grohtml/post-html.cc
5795 (html_printer::set_numbered_char): New member function.
5798 * src/libs/libgroff/maxfilename.cc:
5799 s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
5801 * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
5804 2003-04-03 Sergey A. Osokin <osa@freebsd.org.ru>
5806 * man/roff.man: Small fixes.
5808 2003-04-03 Werner LEMBERG <wl@gnu.org>
5810 Make groff independent from locale's numeric settings.
5812 * configure.ac: Check for `setlocale'.
5813 * configure, src/include/config.hin: Regenerated.
5815 * src/include/lib.h: Handle HAVE_SETLOCALE.
5817 * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
5818 (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
5819 (main), src/preproc/pic/main.cc (main): Call `setlocale'.
5822 * doc/groff.texinfo: Change dir category to `Typesetting'.
5823 (Man font macros): Mention that there is no space between arguments
5826 * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
5827 (*printer::change_color, *printer::change_fill_color): Add missing
5830 2003-04-02 Werner LEMBERG <wl@gnu.org>
5832 * src/devices/grohtml/html-table.cc (html_table::emit_col,
5833 html_table::is_gap): Compute table widths after converting border
5834 positions to avoid rounding errors.
5836 2003-04-01 Werner LEMBERG <wl@gnu.org>
5838 * src/devices/grohtml/html-text.cc (html_text::do_space): Handle
5839 `space_emitted' properly.
5841 2003-03-31 Werner LEMBERG <wl@gnu.org>
5843 * src/devices/grohtml/html-table.cc: Fix column width calculation.
5844 (html_table::set_linelength): Don't add 1.
5845 (html_table::add_indent): Don't subtract 1.
5847 * tmac/html.tmac: Set default page offset to zero.
5849 2003-03-30 Werner LEMBERG <wl@gnu.org>
5851 Make groff emit ` ' for `\ ' and `\~' if `-Thtml' is used.
5853 * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
5854 unbreakable_space_node::tprint): New functions.
5855 (troff_output_file): Make space_char_hmotion_mode::tprint and
5856 unbreakable_space_node::tprint to friends.
5857 * src/roff/troff/node.h: Updated.
5859 * font/devhtml/R.proto: Add ` ' at position 0xA0 (as defined
5860 in the HTML standard).
5862 2003-03-29 Werner LEMBERG <wl@gnu.org>
5864 * src/roff/troff/env.cc (point_size): Fix emission of html tag.
5865 Otherwise, the following code
5874 produces `x a' instead of `xa'. This is a temporary fix, disabling
5875 font changes in diversions for -Thtml.
5877 * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
5879 (an-do-tag-html): Merge with ...
5880 (an-do-tag): This macro.
5881 Change code slightly to circumvent grohtml bug.
5882 * tmac/troffrc-end: Define dummy for HTML-TAG-NS.
5884 * src/devices/grohtml/html-table.cc (html_table::emit_col,
5885 html_table::is_gap): Round `width' properly.
5887 * tmac/html.tmac: Provide some default layout parameters for
5890 * font/devhtml/DESC.proto: Don't use discrete values for `sizes'
5893 2003-03-28 Werner LEMBERG <wl@gnu.org>
5895 src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
5897 2003-03-27 Werner LEMBERG <wl@gnu.org>
5899 * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
5902 2003-03-20 Werner LEMBERG <wl@gnu.org>
5904 * src/roff/troff/env.cc (vertical_spacing): Allow zero value for
5906 * doc/groff.texinfo: Updated.
5908 2003-03-19 Werner LEMBERG <wl@gnu.org>
5910 * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
5911 TOKEN_END_TRAP>: Reset `have_input'.
5913 2003-03-18 Werner LEMBERG <wl@gnu.org>
5915 * src/roff/groff/groff.man: Mention groff_trace man page.
5917 2003-03-16 Werner LEMBERG <wl@gnu.org>
5919 * Makefile.in (LIBEXT): New variable to indicate the file extension
5920 of library files. Computed heuristically from $(OBJEXT).
5921 (MDEFINES): Add $(LIBEXT).
5922 * Makefile.lib, Makefile.comm: Use it.
5924 * src/utils/pfbtops/pfbtops.c (get_text): New function. Split
5925 overlong lines into smaller chunks.
5926 (get_binary): New function.
5928 * src/utils/pfbtops/pfbtops.man: Updated.
5930 2003-03-15 Colin Watson <cjwatson@debian.org>
5932 * src/roff/groff/groff.man: Minor syntax fix.
5934 2003-03-14 Egil Kvaleberg <egil@kvaleberg.no>
5936 * src/devices/grops/ps.cc (ps_printer::media_set,
5937 ps_printer::~ps_printer): Handle zero paper width and length.
5939 2003-03-13 Werner LEMBERG <wl@gnu.org>
5941 Add options -p and -l to grodvi.
5943 * src/devices/grodvi/dvi.cc: Include paper.h.
5944 (landscape_flag, user_paper_length, user_paper_width): New global
5946 (dvi_printer::begin_page): Emit `papersize' special.
5947 Set color after initialization of `cur_h' and `cur_v'.
5948 (main): Add options `-l' and `-p'.
5949 * font/devdvi/Makefile.sub (DESC): Set `papersize'.
5950 * src/devices/grodvi/grodvi.man, NEWS: Updated.
5952 * src/devices/grops/psrm.cc (valid_input_table): Fixed.
5954 2003-03-12 Werner LEMBERG <wl@gnu.org>
5956 * src/devices/grops/grops.man: Move documentation of .PSPIC to...
5957 * man/groff_tmac.man: This man page.
5958 * man/groff_font.man: Declare `paperwidth' and `paperlength' as
5961 * tmac/X.tmac: Don't load pspic.tmac.
5963 2003-03-11 Werner LEMBERG <wl@gnu.org>
5965 Make variable `pr' local to libdriver/input.cc. Based on a patch
5966 by Bernd Warken <bwarken@mayn.de>.
5968 * src/include/driver.h (pr): Removed.
5970 * src/libs/libdriver/input.cc (pr): New global variable.
5971 (do_file): Deallocate `pr'.
5972 * src/libs/libdriver/printer.cc (pr): Removed.
5974 * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
5975 (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
5976 (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
5977 (main): Don't delete `pr'.
5979 2003-03-10 Werner LEMBERG <wl@gnu.org>
5981 * tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
5982 * tmac/papersize.tmac: New file.
5983 * tmac/troffrc: Include `papersize.tmac'.
5984 * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
5985 * tmac/an-old.tmac: Set LT to LL by default.
5987 * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
5988 doc/groff.texinfo: Updated.
5990 * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
5991 bug which caused all odd iso papers to have wrong dimensions.
5993 * src/devices/grops/ps.cc (user_paper_width): New global variable.
5994 (main) <'p'>: Set `user_paper_width' also.
5995 (ps_printer::media_width, ps_printer::media_height): Use values
5996 given with option `-p'.
5998 2003-03-09 Werner LEMBERG <wl@gnu.org>
6000 * src/include/nonposix.h: Provide default for SET_BINARY.
6002 * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc,
6003 src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY
6006 * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally.
6007 (main): Treat \r\n as \n.
6009 2003-03-08 Werner LEMBERG <wl@gnu.org>
6011 * tmac/an-old.tmac: Use register `HY' to control hyphenation.
6012 * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
6014 2003-03-07 Werner LEMBERG <wl@gnu.org>
6016 Added support to access more than 256 glyphs in Type 1 fonts.
6018 * src/devices/grops/ps.cc (subencoding): New structure.
6019 (style): Add `sub' field.
6021 (ps_printer): Add `subencodings' and `next_subencoding_index' fields.
6022 Add `set_subencoding', `get_subfont' and `encode_subfont' member
6025 (ps_printer::set_char): Use `set_subencoding'.
6026 (make_subencoding_name): New function.
6027 (ps_printer::set_style): Handle case where `sty.sub' is not zero.
6028 (ps_printer::~ps_printer): Emit subencoding definitions.
6030 * src/devices/grops/psrm.cc (valid_input_table): New array to
6031 properly support EBCDIC.
6032 (white_space): Add `\f'.
6033 (ps_get_line): Change first argument to be of type `string &'.
6034 Updated all callers.
6035 This allows to get lines of arbitrary length.
6036 Use `valid_input_table'.
6037 Remove warning about non-conforming PS line length. This seems
6038 not to be of great importance -- for example, dvips don't emit
6040 (PS_LINE_MAX): Removed.
6041 (matches_comment): Change first argument to be of type `string &'.
6043 * src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
6045 * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
6046 %AGL_to_unicode, %default_ligatures): New hash tables.
6047 Read all map entries.
6048 Add unencoded characters.
6049 Check for default ligatures if there are no `L' entries.
6050 Print all kern entries.
6051 Print all characters in charset.
6052 * src/utils/afmtodit/afmtodit.man: Updated.
6054 * font/devps/*: Regerated all fonts.
6056 * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
6057 of characters, just use `.trin'. Otherwise the mapping depends
6058 on the font encoding.
6059 * tmac/ps.tmac: Add `fi' and `fl'.
6060 Improve `Fi' and `Fl'.
6061 * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
6062 * tmac/Xps.tmac: Fix `em'.
6066 2003-03-04 Werner LEMBERG <wl@gnu.org>
6068 * src/roff/troff/input.cc (charinfo_to_node_list): Reset
6071 2003-03-03 Werner LEMBERG <wl@gnu.org>
6073 * Makefile.sub (DISTCLEANFILES): Add gxditview._man.
6075 * font/devps/generate/textmap: Remove entry `similarequal'.
6076 * font/devps/symbolmap: Updated.
6078 2003-03-02 Werner LEMBERG <wl@gnu.org>
6080 * src/libs/libgroff/font.cc (font::load): Fix error message for
6083 * src/devices/grops/grops.man: Improve documentation of the -b
6086 * tmac/tty.tmac: Load latin1.tmac for all TTY devices except
6087 `ascii' and `cp1047'.
6089 2003-03-01 Werner LEMBERG <wl@gnu.org>
6091 Document composite glyphs and the `composite' request.
6093 * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
6095 2003-02-28 Werner LEMBERG <wl@gnu.org>
6097 * font/devdvi/generate/ec.map: Add some more Unicode entities.
6098 * font/devdvi/*EC: Updated.
6100 * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
6101 * tmac/latin1 (latin1-tr): Undo any previous mapping.
6102 * tmac/troffrc: Load `composite.tmac'.
6103 * tmac/Makefile.sub (NORMALFILES): Updated.
6105 * doc/groff.texinfo (Input Encodings): New section.
6108 2003-02-27 Werner LEMBERG <wl@gnu.org>
6110 * doc/texinfo.tex: New version 2003-02-11.06.
6112 * tmac/doc-common (Dt): Don't emit warning for unknown section.
6113 * tmac/groff_mdoc.man: Fix description of `Dt'.
6115 2003-02-26 Egil Kvaleberg <egil@kvaleberg.no>
6117 * font/devps/prologue.ps: Fix for included Postscript that does
6118 a setpagedevice -- which is now safely ignored.
6122 * src/devices/grops/ps.cc: Now sets the page size in the generated
6123 document. This is done in two ways: Via a %%-comment for gv and
6124 the like, and via a PageSize and setpagedevice for programs that
6125 understands Postscript proper, like ps2pdf.
6127 * src/devices/grops/ps.h: New broken-flag to avoid page size
6128 definition, if required.
6130 * src/devices/grops/grops.man: New broken-flag 16 mentioned.
6132 * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
6133 Not really necessary due to the fix in prologue.ps, but cleaner:
6134 Such information does not belong in an .eps file.
6136 * doc/Makefile.sub: See doc/Makefile.in.
6138 2003-02-26 Ralph Corderoy <ralph@inputplus.co.uk>
6140 * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
6141 instead of P1 since the latter is broken in some versions of netpbm.
6142 * configure: Updated.
6144 2003-02-26 Larry Kollar <kollar@alltel.net>
6146 Make man pages more customizable.
6148 * tmac/an-old.tmac (FT): New register holding footer distance from
6150 (HF): New string holding the default heading font.
6151 (TH): Handle registers `IN' and `SN' set on the command line.
6153 (PT, BT): New strings to customize header and footer lines.
6154 (an-header, an-footer): Use them.
6156 * tmac/groff_man.man: Document changes.
6158 * doc/groff.texinfo: Document man changes.
6159 Document Ultrix extensions of man.
6161 2003-02-26 Werner LEMBERG <wl@gnu.org>
6163 * src/roff/troff/input.cc (do_width, do_if_request): Reset
6164 `have_input' after changing back to old environment.
6166 * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
6167 function up to be defined before first call. This is necessary to
6168 avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
6170 * src/utils/afmtodit/afmtodit.pl: Make script search for files in
6171 the default font directory also. Based on a patch from James
6172 J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
6173 * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
6174 * src/utils/afmtodit/afmtodit.man: Document it.
6178 * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
6180 2003-02-25 Gaius Mulley <gaius@glam.ac.uk>
6182 * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
6183 (GROFF_PNMTOPS_NOSETPAGE): New macro.
6184 * configure.ac: Use it.
6185 * configure: Regenerated.
6186 * Makefile.in: Updated.
6188 * tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
6189 (CLEANADD): Add www.tmac-sed.
6190 (pnmtops_nosetpage): Define default.
6191 (install_data): Handle www.tmac-sed and substitute
6192 @PNMTOPS_NOSETPAGE@.
6193 (stamp-sed): Add www.tmac.
6194 * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
6195 It now breaks URLs at suitable places.
6196 (www:substring_ok): New register set by...
6197 (www:@test_substring): New macro.
6198 (www:error): New alias to www-error.
6199 (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
6201 (URL): Use www:url_breaks.
6202 (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
6203 (CDS, CDE): New macros.
6205 2003-02-25 Werner LEMBERG <wl@gnu.org>
6207 * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
6210 2003-02-24 Werner LEMBERG <wl@gnu.org>
6212 Contrary to the PCL5 Developer's Guide, the ascenders in TFM files
6213 can be negative also.
6215 * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be
6217 (read_char_table): Avoid negative ascenders.
6218 (output_charset): Add cast.
6219 * font/devlj4/*: Regenerated.
6221 Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where
6224 * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it.
6225 * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead
6227 * font/devdvi/*: Regenerated.
6229 Map `la' and `ra' to U+27E8 and U+27E9. These two characters have
6230 normal width, while the previously used characters (U+2329 and
6231 U+232A) are classified as wide due to canonical equivalence with the
6232 CJK punctuation characters U+3008 and U+3009.
6234 * font/devutf8/R.proto: Updated.
6235 * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto.
6237 * man/groff_char.man: Simplify handling of table traps by
6238 introducing `start block' and `end block' macros.
6239 (Ns, Ne, 2s, 2e, Ds, De): New macros.
6240 (DL): Make it work with Unix troff also.
6241 Fix code values of `la' and `ra'.
6243 * tmac/dvi.tmac: Define `<>' for CW and CWI.
6245 2003-02-23 Gaius Mulley <gaius@glam.ac.uk>
6247 * src/devices/grohtml/post-html.cc (element_list::~element_list):
6248 New destructor, fixing a major memory leak.
6250 2003-02-22 Werner LEMBERG <wl@gnu.org>
6252 * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'
6253 to be in conformance with Unicode 3.0 and newer.
6255 * font/devlj4/generate/text.map: Add `Eu'.
6256 * font/devlj4/generate/special.map: Flip `*e' and `+e'.
6257 * font/devlj4/S: Regenerated.
6259 * man/groff_char.man: Completely rewritten.
6261 * doc/groff.texinfo: Fix description of request and macro arguments.
6263 2003-02-20 Gaius Mulley <gaius@glam.ac.uk>
6267 * src/devices/grohtml/html-table.cc (html_table::~html_table):
6268 Deallocate `columns' list.
6269 * src/devices/grohtml/post-html.cc (char_block::~char_block):
6271 (text_glob::text_glob_html, text_glob::text_glob_special,
6272 text_glob::text_glob_line, text_glob::text_glob_auto_image,
6273 text_glob::text_glob_tag): Avoid memory leaks.
6274 (text_glob::remember_table): Free memory before reassigning.
6276 2003-02-19 Werner LEMBERG <wl@gnu.org>
6278 Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
6279 alias `hbar'), the Planck constant over two pi.
6281 * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
6282 `+e' for position 34.
6283 * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
6284 `u2662' and `u2661'.
6285 * font/devdvi/{MI,S}: Regenerated.
6286 * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
6287 * font/devlbp/*: Add `hbar' alias.
6288 * font/devlj4/generate/special.map: Ditto.
6289 * font/devlj4/S: Regenerated.
6290 * font/devps/generate/symbolchars: Add `+e'.
6291 * font/devps/generate/textmap: Fix PS name for `-h'.
6293 * font/devps/symbolmap: Regenerated.
6295 * src/devices/grops/ps.cc (transform_fill): Removed since unused.
6297 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
6299 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
6302 * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
6304 * tmac/tty-char.tmac: Add `+e'.
6306 2003-02-17 Werner LEMBERG <wl@gnu.org>
6308 Another round trying to really fix problems with `have_input'.
6310 * src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
6311 (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
6313 * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
6314 handling if both foreground and background colors are default.
6316 * doc/groff.texinfo (Debugging): Document .lf differences to
6319 2003-02-16 Werner LEMBERG <wl@gnu.org>
6321 * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid
6322 null-bytes in created string.
6324 * src/roff/troff/input.cc (lookup_color, interpolate_macro,
6325 alias_macro, lookup_request): Improve warning messages.
6327 * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave',
6329 Free `last_image_filename'.
6331 * src/preproc/html/pre-html.cc (char_block::char_block): Initialize
6333 (imageList::createPage, imageList::createImage): Use `free', not
6335 (imageItem::~imageItem): Free `imageName'.
6336 (addRegDef): Use `strsave', not `strdup'.
6337 (get_resolution): Free `pathp'.
6339 2003-02-15 Werner LEMBERG <wl@gnu.org>
6341 * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer
6344 2003-02-14 Werner LEMBERG <wl@gnu.org>
6346 Add memory management for colors to deallocate unnamed colors
6349 * src/include/color.h (color): New members `free_list' and `next'.
6350 New member functions `new' and `delete'.
6352 * src/libs/libgroff/color.cc: Implement it.
6354 * src/libs/libgroff/font.cc (font::add_kern): Use integer cast
6355 for array size of new operator.
6357 * src/libs/libdriver/input.cc (IntArray::operator[]): Remove
6358 redundant comparison.
6360 * src/roff/troff/input.cc (word_space_node::reread,
6361 hmotion_node::reread): Avoid warning about unused parameter.
6362 (reset_output_registers): Remove redundant parameter.
6363 (define_color): Undo change 2003-02-12.
6365 * src/roff/troff/reg.h: Updated.
6367 * src/roff/troff/node.cc (troff_output_file::really_print_line,
6368 output_file::put_filename, real_output_file::really_put_filename,
6369 ascii_output_file::really_print_line,
6370 break_char_node::get_hyphen_list): Avoid warning about unused
6372 (suppress_node::tprint): Updated.
6374 * configure.ac: Check declaration for rand() and srand().
6375 * configure: Regenerated.
6377 * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
6379 * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
6382 * src/preproc/eqn/delim.cc (delim_table): Add missing initializers
6383 to avoid compiler warnings.
6385 * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
6388 * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
6390 * src/devices/grops/psrm.cc (skip_possible_newline): Remove first
6392 Updated all callers.
6394 * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
6396 * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
6397 * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
6399 * src/devices/grohtml/post-html.cc (html_printer::emit_line):
6400 Parameter is unused.
6401 (html_printer::add_table_end): Define parameter conditionally.
6402 * src/devices/grohtml/output.cc (simple_output::special): Parameter
6405 * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
6406 (lbp_printer::set_char): Last parameter is unused.
6408 * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
6410 2003-02-13 Werner LEMBERG <wl@gnu.org>
6412 New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
6413 Make \D'f ...' move horizontally again for backwards compatibility.
6414 Replace it with \D'Fg ...' where appropriate to avoid dependency
6415 on horizontal resolution.
6417 * src/roff/troff/input.cc (do_get_long_name): New function.
6418 (get_long_name): Call it.
6420 (read_draw_node): Handle `\D'Fx ...' by calling ...
6421 (read_color_draw_node): New function.
6423 (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
6425 Pass it to `do_get_long_name' which is used instead of
6428 * src/libs/libdriver/input.cc (color_from_Df_command): Remove
6429 unnecessary value guard.
6430 (parse_D_command) <'f'>: Add horizontal shift.
6432 * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
6433 * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
6434 (FILL_MAX): Removed.
6436 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6439 2003-02-12 Werner LEMBERG <wl@gnu.org>
6441 * src/roff/troff/input.cc (do_name_test, do_expr_test,
6442 do_zero_width): Push `\n' if closing delimiter is missing.
6444 (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'.
6445 <'F'>: Make \F non-transparent at the beginning of line.
6446 (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
6447 token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
6450 (define_color): Free color in case of reassignment.
6452 * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
6453 @DefescListEnd): Use @Var, not @var.
6456 * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
6458 * src/preproc/pic/object.cc (object_spec::~object_spec): Free
6459 `shaded' and `outlined' arrays.
6460 (object_spec::object_spec): Initialize `shaded' and `outlined'.
6461 (graphic_object::set_fill_color, graphic_object::set_outline_color):
6463 (closed_object::set_fill_color): Ditto.
6464 * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
6466 (troff_output::reset_color): Use a_delete instead of free.
6467 * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
6469 2003-02-11 Werner LEMBERG <wl@gnu.org>
6471 * doc/groff.texinfo: Improve documentation of `ad'.
6472 Document that \D'f...' is dependent on the horizontal resolution.
6473 * man/groff_diff.man: Improve documentation of \D'f...'.
6475 * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
6476 compensating \h'...' for \D'f ...' since the latter no longer moves
6478 * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
6480 2003-02-10 Werner LEMBERG <wl@gnu.org>
6482 Improve error messages for `x F' (and `F') commands.
6484 * src/include/error.h: Add declaration for
6485 `current_source_filename'.
6486 * src/libs/libgroff/filename.cc: Add `current_source_filename'.
6487 * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add
6488 parameter for source file string.
6489 Updated all callers.
6491 * src/libs/libdriver/input.cc: Add `current_source_filename'.
6492 (remember_source_filename): New function.
6493 (parse_x_command <'F'>, do_file <'F'>): Use it.
6495 2003-02-09 Werner LEMBERG <wl@gnu.org>
6497 Make grotty not emit warnings about unknown colors more than
6500 * src/devices/grotty/tty.cc: Include `ptable.h'.
6501 (TTY_MAX_COLORS): Removed.
6502 (DEFAULT_COLOR_IDX): Defined to -1.
6503 (glyph): Change `back_color_idx' and `fore_color_idx' to `char'.
6504 (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'.
6505 Change `tty_colors' to be a ptable.
6506 First arg of `put_color' is now `char'.
6507 New functions `make_rgb_string' and `tty_color'.
6508 (tty_printer::tty_printer): Use `tty_color'.
6509 (tty_printer::color_to_idx): Return value is now `char'.
6512 * src/include/color.h (color): Add `print_color' member function.
6513 * src/libs/libgroff/color.cc (color::print_color): Implement it.
6515 2003-02-08 Werner LEMBERG <wl@gnu.org>
6519 * src/devices/grops/ps.cc (ps_printer::define_encoding): Close
6522 * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always
6523 assume that value has been allocated with `new[]', thus use
6524 `a_delete' for deallocation.
6526 * src/libs/libdriver/input.cc (get_integer_arg,
6527 get_possibly_int_args, parse_x_command, do_file): Use `a_delete'
6530 * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define.
6531 * src/libs/libgroff/nametoindex.cc
6532 (character_indexer::named_char_index): Use `new <type>[1]'.
6534 * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new
6536 * src/preproc/eqn/text.cc (set_special_char_type): Ditto.
6537 (split_text): Use `a_delete'.
6539 * src/preproc/pic/pic.y (define_label, define_variable): Use `new
6542 * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid
6543 harmless memory leak.
6544 (hyphen_trie::read_patterns_file): Initialize `buf'.
6545 * src/roff/troff/node.cc (troff_output_file::troff_output_file):
6546 Initialize `current_fill_color'and `current_glyph_color'.
6547 * src/roff/troff/glyphuni.cc
6548 (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'.
6549 * src/roff/troff/uniuni.cc
6550 (unicode_decompose_init::unicode_decompose_init): Ditto.
6551 * src/roff/troff/uniglyph.cc
6552 (unicode_to_glyph_init::unicode_to_glyph_init): Ditto.
6554 2003-01-26 Werner LEMBERG <wl@gnu.org>
6556 * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with
6557 `access' before calling `unlink'.
6558 (do_file): Handle __EMX__.
6560 * src/include/nonposix.h: Handle __EMX__.
6562 * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
6563 (fontpath,tmacpath): Use it.
6565 Sorted alphabetically.
6567 * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
6569 * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle
6572 2003-01-27 Werner LEMBERG <wl@gnu.org>
6574 * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
6575 New files, copied from gnulib.
6576 * src/libs/libgroff/Makefile.sub (CSRCS): Add them.
6577 * configure.ac: Updated.
6578 * configure: Regenerated.
6580 * src/include/config.hin: Regenerated.
6581 * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'.
6582 Don't define `strcasecmp' as `strcmp'.
6583 [!HAVE_STRNCASECMP]: Declare `strncasecmp'.
6584 Dont define `strncasecmp' as `strncmp'.
6586 * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
6589 2003-01-26 Werner LEMBERG <wl@gnu.org>
6591 * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo:
6594 2003-01-25 Werner LEMBERG <wl@gnu.org>
6596 * doc/groff.texinfo (Ligatures and Kerning): Mention limitations.
6598 2003-01-24 Werner LEMBERG <wl@gnu.org>
6600 Add US-english hyphenation exceptions (converted from Barbara
6601 Beeton's hyphenation exception log reports which appear irregularly
6604 * tmac/hyphen.us: Updated to latest version.
6605 * tmac/README: Updated.
6606 * tmac/hyphenex.us, tmac/hyphenex.sh: New files.
6607 * tmac/troffrc: Load `hyphenex.us'.
6608 * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
6609 * doc/groff.texinfo: Updated.
6611 2003-01-23 Werner LEMBERG <wl@gnu.org>
6613 Improve hyphenation slightly. This is a first step in redesigning
6614 the hyphenation algorithm to make it more flexible (e.g. allowing
6615 kerns and ligatures between the hyphenation character and the
6616 following character -- while not used normally in English, other
6617 languages like German would benefit).
6619 * src/roff/troff/env.cc (environment::hyphenate_line): Use
6620 assertion instead of if-clause.
6621 Let `get_hyphen_list' return the number of involved characters in
6622 the hyphenation pattern instead of computing it directly (which
6623 often yields too small values).
6624 * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
6625 * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
6628 2003-01-22 Werner LEMBERG <wl@gnu.org>
6630 Fixing a bug which caused groff to hang if the hyphenation exception
6631 dictionary tried to grow.
6633 * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
6634 hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
6635 pointer to dictionary.
6637 2003-01-20 Werner LEMBERG <wl@gnu.org>
6639 * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress
6640 negative left italic correction.
6641 * src/utils/afmtodit/afmtodit.man: Document it.
6643 * font/devps/generate/Makefile (RFLAG): Add `-m'.
6644 * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR,
6645 S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'.
6649 2003-01-16 Werner LEMBERG <wl@gnu.org>
6653 2003-01-16 Jörgen Grahn <jgrahn@algonet.se>
6655 * src/preproc/refer/refer.man: Mention REFER environment variable.
6657 2003-01-05 Werner LEMBERG <wl@gnu.org>
6659 Similar to \[is], the square root glyph (\[sr]) and the square root
6660 extension glyph (\[radicalex]) are now text symbols. The new
6661 mathematical versions are called \[sqrt] and \[sqrtex],
6664 * font/devX*/S: Regenerated.
6665 * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
6666 * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
6667 * font/devdvi/EX, font/devdvi/S: Regenerated.
6668 * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
6669 * font/devlj4/generate/special.map: Add `sqrt'.
6670 * font/devlj4/S: Regenerated.
6671 * font/devps/generate/textmap: Add `sqrt'.
6672 * font/devps/S, font/devps/symbolmap: Regenerated.
6674 * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
6675 SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
6676 * src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
6677 overlap horizontally.
6679 * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
6680 * tmac/dvi.tmac: Add `sr', and `sqrtex'.
6683 * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
6684 and `sqrtex' are overlapping glyphs.
6686 2003-01-04 Werner LEMBERG <wl@gnu.org>
6688 * font/devdvi/generate/texsy.map: Add `is'.
6689 * font/devps/symbolmap: Regenerated.
6690 * font/devdvi/*TC, MI, S: Regenerated.
6692 * tmac/dvi.tmac: Remove `is'.
6694 2003-01-03 Werner LEMBERG <wl@gnu.org>
6696 `is' is now a text symbol (only relevant for dvi). The math variant
6697 can be accessed with `integral'.
6699 * font/devX*/S: Regenerated.
6700 * font/devdvi/generate/texex.map: Remove `is'.
6701 * font/devdvi/EX: Updated.
6702 * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'.
6703 * font/devlj4/generate/special.map: Ditto.
6704 * font/devlj4/S: Regenerated.
6705 * font/devps/generate/textmap: Add `integral'.
6706 * font/devps/S: Regenerated.
6708 * tmac/dvi.tmac: Define `is'.
6710 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'.
6712 * src/preproc/tbl/main.cc (process_format): Fix error message.
6714 2003-01-02 Werner LEMBERG <wl@gnu.org>
6716 * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
6717 * font/devps/textmap: Fix entries for `ne' and `nc'.
6718 * font/devps/symbolmap: Regenerated.
6720 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list),
6721 src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18',
6722 `38', `58', `78', `-+', `|=', `nc', `ne'.
6724 * tmac/dvi.tmac: Add `nm', `ne', `nc'.
6725 Use `schar' for `aq'.
6726 * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'.
6727 * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'.
6728 * tmac/tty.tmac: Add `ne'.
6730 * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro'
6731 for fallback glyphs.
6733 2002-12-29 Werner LEMBERG <wl@gnu.org>
6737 * font/devX*/*: Regenerated.
6738 * font/devdvi/generate/ec.map: Remove `eq'.
6739 * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'.
6740 Assign `|=' to position 39.
6741 * font/devdvi/*EC, S: Regenerated.
6742 * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='.
6743 * font/devlj4/generate/special.map: Make `~=' the same as `~~'.
6744 Assign `|=' to position 549.
6745 * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove
6747 Add `uni2243' for `|='.
6749 * tmac/ec.tmac: Add `eq'.
6750 * tmac/dvi.tmac: Add `=~'.
6751 * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add
6754 2002-12-21 Werner LEMBERG <wl@gnu.org>
6756 * font/devdvi/generate/tc.map: Remove `**'.
6757 * font/devdvi/*TC: Regenerated.
6758 * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58',
6760 * font/devutf8/NOTES: Updated.
6762 * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function.
6763 Don't give default parameter to `set_macro'.
6764 * src/roff/troff/input.cc (do_define_character): Use `setx_macro'
6765 instead of `set_macro'.
6766 (charinfo::setx_macro): Implement it.
6767 (charinfo::set_macro): Don't change `mode'.
6769 * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'.
6770 * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'.
6771 * tmac/dvi.tmac: Define `!=' with `.schar'.
6773 2002-12-20 Werner LEMBERG <wl@gnu.org>
6775 * font/devX*/S: Regenerated.
6776 * font/devdvi/generate/ec.map: Remove `pl'.
6777 * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'.
6778 * font/devdvi/*{TC,EC}: Regenerated.
6779 * font/devhtml/R.proto: Add `-+'.
6780 Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'.
6781 * font/devlbp/*: Remove `or'.
6782 * font/devlj4/generate/special.map: Remove `or'.
6783 * font/devlj4/S: Regenerated.
6784 * font/devps/generate/textmap: Add `fiveeighths', `oneeighth',
6785 `seveneighths', `threeeighths'.
6787 Replace `minusplus' with `uni2213'.
6788 * font/devps/symbolmap: Regenerated.
6789 * font/devutf8/R.proto: Replace `shc' with unnamed glyph.
6792 * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline
6794 * src/roff/troff/node.cc (troff_output_file::put_char_width):
6795 Call glyph_color and fill_color even if tcommand_flag isn't set.
6796 (make_node, node::add_char): Check not ci->is_fallback but
6799 * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'.
6800 * tmac/ec.tmac: Add .rchar entry for `f/'.
6801 Don't remove `12', `14', `34'.
6802 Define `pl' to be always roman.
6803 * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros.
6804 Define `18', `38', `58', `78'.
6805 * tmac/tty.tmac: Add `-+'.
6806 * tmac/dvi.tmac: Define `f/'.
6807 (dvi-frac): Use `f/'.
6808 * tmac/X.tmac (X-frac, X-frac-mono): New macros.
6809 Define `18', `38', `58', `78'.
6811 2002-12-15 Colin Watson <cjwatson@debian.org>
6813 * contrib/pic2graph/pic2graph.sh: Add missing `;;'.
6815 2002-12-10 Werner LEMBERG <wl@gnu.org>
6817 Add glyph `tno', a textual variant of `no'.
6819 * font/devX*/*: Regenerated.
6820 * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
6821 * font/devdvi/generate/{tc.map: Replace `no' with `tno'.
6822 * font/devdvi/generated/{texsy,textex}.map: Add `tno'.
6823 * font/devdvi/*: Regenerated.
6824 * font/devlbp/*: Add `tno'.
6825 * font/devlj4/generate/tex.map: Replace `no' with `tno'.
6826 * font/devlj4/*: Regenerated.
6827 * font/devps/generate/textmap: Replace `no' with `tno'.
6828 * font/devps/generate/symbolchars: Add `no'.
6829 * font/devps/*: Regenerated.
6831 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
6833 * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
6834 * tmac/tty-char.tmac: Add entry for `tno' and `3d'.
6838 * tmac/dvi.tmac: Replace most `\\' with `\E'.
6839 Add definition for `sd'.
6840 * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
6842 * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
6844 2002-12-08 Werner LEMBERG <wl@gnu.org>
6846 * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
6847 mode to avoid rounding errors.
6848 (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
6850 * src/roff/groff/groff.man, src/roff/nroff/nroff.man,
6851 src/roff/troff/troff.man: Improve documentation of -T.
6853 2002-12-07 Jeff Conrad <jeff_conrad@msn.com>
6855 * src/roff/groff/pipeline.c: Don't define `const' for _WIN32.
6856 (run_pipeline) [_WIN32]: Provide working function without `fork'.
6858 2002-12-06 Werner LEMBERG <wl@gnu.org>
6860 * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol
6861 glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
6862 Scaling Euro.sansserif glyphs down to have the same height as
6864 Removed unnecessary points; added some extrema.
6866 * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
6869 2002-12-04 Werner LEMBERG <wl@gnu.org>
6871 * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted'
6872 and `Euro.symbol.bold.slanted'.
6873 Improve some glyph offsets and widths.
6874 * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
6876 * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
6878 * font/devps/generate/sfdtopfa.pe: Generate PFA in current
6881 * tmac/europs.tmac: Updated to new glyph indices.
6882 Use Euro.symbol for font familiy `A'.
6884 * doc/groff.texinfo: Minor improvements.
6886 2002-12-02 Werner LEMBERG <wl@gnu.org>
6888 * font/devdvi/generate.tc.map: s/%O/%0/.
6889 * font/devdvi/*TC: Regenerated.
6891 * src/roff/troff/div.cc (init_div_requests): Sorted.
6893 * tmac/dvi.tmac: Remove `Ye'.
6894 * tmac/ec.tmac: Remove `Ye'.
6895 Add .rchar entry for `de'.
6897 * man/groff.man, man/groff_diff.man: Document register `.pe'.
6898 * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
6901 2002-11-30 Werner LEMBERG <wl@gnu.org>
6903 Add PS font for various Euro glyphs.
6905 * font/devps/generate/freeeuro.sfd: New master font file for
6907 * font/devps/generate/sfdtopfa.pe: New conversion script for
6909 * font/devps/generate/Makefile (FONTS): Add `EURO'.
6910 (EURO, freeeuro.afm, freeeuro.pfa): New rules.
6911 * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
6913 * font/devps/EURO: Generated from `freeeuro.afm'.
6914 * font/devps/download: Add `freeuro.pfa'.
6915 * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
6918 * tmac/europs.tmac: New file.
6919 * tmac/ps.tmac: Include `europs.tmac'.
6920 * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
6922 2002-11-29 Werner LEMBERG <wl@gnu.org>
6924 * font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
6925 * font/devdvi/S: Regenerated.
6926 * font/devhtml/R.proto: Fix `CR' and `ci'.
6928 * font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
6930 * font/devps/symbolmap: Regenerated.
6931 * font/devutf8/R.proto: Fix `CR' and `ci'.
6933 * font/devutf8/NOTES: Updated.
6935 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
6938 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
6940 * tmac/dvi.tmac: Add `lh' and `rh'.
6941 * tmac/Xps.tmac: Fix `lh' and `rh'.
6942 * tmac/X.tmac: Add `OK'.
6943 * tmac/lj4.tmac: Ditto.
6945 2002-11-24 Werner LEMBERG <wl@gnu.org>
6947 * font/devX*/S: Regenerated.
6948 * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
6949 `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
6950 * font/devdvi/generate/texsy.map: Remove `or' glyph.
6951 * font/devdvi/S: Regenerated.
6952 * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
6953 `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
6954 `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
6955 `bracketleftbt', `bracketrighttp', `bracketrightex',
6956 `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
6957 `braceex', `braceleftex', `bracerightex', `bracerighttp',
6958 `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
6960 * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
6961 * font/devutf8/NOTES: Updated.
6962 * font/devlj4/generate/special.map: Add glyph `braceex'.
6963 * font/devlj4/S: Regenerated.
6965 * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
6967 2002-11-14 Werner LEMBERG <wl@gnu.org>
6969 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'
6972 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
6974 * doc/texinfo.tex: New version from texinfo 4.3.
6975 * doc/groff.texinfo: Updated for texinfo 4.3.
6976 Use @tie{} where appropriate.
6977 * font/devdvi/generate/ec.map: Don't include `or' and `bv'.
6978 * font/devdvi/generate/tc.map: Remove `rn'.
6979 * font/devdvi/*TC, font/devdvi/*EC: Regenerated.
6980 * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
6982 * font/devX100/*, font/devX100-12/*, font/devX75/*,
6983 font/devX75-12/*: Regenerated.
6985 * tmac/dvi.tmac: Add special fonts `SA' and `SB'.
6986 Use .char (again) for `br', `ul', `rn', `or', and `ru'.
6987 Improve definition of `an'.
6988 * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
6990 * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
6991 * tmac/X.tmac: Add definition for `or'.
6992 * tmac/Xps.tmac: Undo change 2002-11-05.
6993 * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
6995 2002-11-11 Werner LEMBERG <wl@gnu.org>
6997 * src/roff/troff/node.cc (troff_output_file::put_char): Always
7000 2002-11-10 Werner LEMBERG <wl@gnu.org>
7002 Added three new requests `schar', `fschar', and `rfschar'. `schar'
7003 defines a glyph which is searched after the check for fonts declared
7004 with `.special' (and before the check for all mounted special
7005 fonts). `fschar' defines a glyph for a particular font which is
7006 searched after the check for fonts declared with `.fspecial' (and
7007 before the check for fonts declared with `.special'). `rfschar'
7008 removes glyphs defined with `fschar'.
7010 * src/roff/troff/token.h (char_mode): New enum.
7011 Declare do_define_character.
7012 * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
7014 (charinfo::is_fallback): Updated.
7015 (charinfo::is_special): New method.
7016 * src/roff/troff/input.cc (do_define_character): Add and use
7017 optional second parameter used as a prefix for font-specific glyph
7019 (define_character, define_fallback_character): Updated.
7020 (define_special_character): New function.
7021 (init_input_requests): Add `schar'.
7022 (charinfo::charinfo, charinfo::set_macro): Updated.
7023 * src/roff/troff/node.cc: Include `stringclass.h'.
7024 (make_glyph_node): Handle special glyphs defined with `.schar' and
7026 (define_font_special_character, remove_font_special_character): New
7028 (init_node_requests): Sorted.
7029 Add `fschar' and `rfschar'.
7030 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
7031 Document new requests.
7033 * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
7034 * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
7036 2002-11-08 Werner LEMBERG <wl@gnu.org>
7038 Added new font `SC' (cmtex10) to devdvi.
7040 * devdvi/generate/Makefile (FONTS): Add `SC'.
7042 * devdvi/generate/textex.map: New map file for cmtex.
7044 * devdvi/Makefile.sub (DEVFILES): Updated.
7045 * tmac/dvi.tmac: Add fspecial entries for SC.
7046 Add `MI', `S' and `CW' to the `special' call. Otherwise, `SC' is
7047 found before `S' since the font position of `SC' is lower due to the
7048 gaps in DESC's `font' line.
7049 * tmac/ec.tmac: Add a `special' call.
7052 * font/devhtml/R.proto: Remove double entry for `ti'.
7053 * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
7054 * tmac/tty-char.tmac: Remove entry for `bq'.
7055 * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
7056 * tmac/ec.tmac: Don't remove `aq' glyph.
7057 * tmac/X.tmac: Fix entry for `em'.
7058 Add entries for `fo' and `fc'.
7059 * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
7061 * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
7062 documentation of `special' and `fspecial' requests.
7064 2002-11-05 Werner LEMBERG <wl@gnu.org>
7066 * font/devascii/R.proto, font/devcp1047/R.proto,
7067 font/devlatin1/R.proto: Remove entry for `.i'.
7068 * font/devdvi/generate/textt.map: Add entry for `ad'.
7069 * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
7070 font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
7071 We need this for getting kerning values to compose `/l' and `/L'.
7072 * font/devdvi: Regenerated font definition files for CM fonts.
7073 * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
7074 * font/devutf8/R.proto: Ditto.
7075 Remove double entry for `ti'.
7077 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
7078 for (groff) ligatures, `la', and `ra'.
7079 Add "'C", "'c", `IJ', and `ij'.
7080 Remove double entry for `ti'.
7081 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
7083 Add "'C", "'c", `IJ', and `ij'.
7084 Fix entries for (groff) ligatures, `la', and `ra'.
7086 * tmac/ps.tmac (ps-achar): New macro.
7087 Define "'c" and "'C".
7088 * tmac/tty.tmac: Add entry for `.i'.
7089 * tmac/X.tmac (X-achar): New macro.
7090 Define "'c", "'C", and `:Y'.
7091 Add entries for `IJ' and `ij'.
7092 * tmac/Xps.tmac (Xps-achar): New macro.
7093 Define "'c" and "'C".
7094 Add entries for `IJ' and `ij'.
7095 * tmac/lbp.tmac (lbp-achar): New macro.
7096 Add fallback characters for all groff ligatures and many other
7098 * tmac/dvi.tmac: Fix definitions of `_' and `ul'.
7099 Add entries for `/l' and `/L'.
7100 Define "'c" and "'C".
7101 Add entries for `IJ' and `ij'.
7103 2002-11-02 Larry Kollar <kollar@alltel.net>
7105 * PROBLEMS: Document how to solve Mac OS X compilation problems.
7107 2002-11-02 Werner LEMBERG <wl@gnu.org>
7109 Adding support for composite glyphs: \[xxx yyy ...] and the
7110 `composite' request.
7112 * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
7113 to Unicode-based glyph names.
7114 * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
7115 glyph names to groff glyph names.
7116 * src/roff/troff/uniuni.cc: New file for canonically decomposing
7117 Unicode-based glyph names.
7118 * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
7119 for handling Unicode glyph names.
7120 * src/roff/troff/input.cc: Include unicode.h.
7121 (composite_glyph_name): New function.
7122 (token::next) <'['>: Handle Unicode glyph names and composite
7124 (composite_dictionary): New dictionary for the `composite' request.
7125 (composite_request): Implement `composite' request.
7126 (init_input_requests): Add `composite'.
7127 Alphabetically sorted.
7128 * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
7130 (init_env_requests): Alphabetically sorted.
7131 Removed `tas' and `tar' (already commented out).
7132 * src/roff/troff/Makefile.sub: Updated.
7134 2002-10-31 Ruslan Ermilov <ru@FreeBSD.org>
7136 * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description
7139 2002-10-29 Werner LEMBERG <wl@gnu.org>
7141 Fix computation of .trunc register. Additionally, its value (and
7142 the value of the .ne register) is now always set before entering the
7145 * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
7146 `needed_space' before calling `space'.
7147 (top_level_diversion::space): Remove special code for 'sp before the
7149 Call `begin_page' with the discarded space as a parameter.
7150 (top_level_diversion::begin_page): Add optional parameter to set
7152 * src/roff/troff/div.h: Updated.
7154 * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
7157 * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
7158 (LP): Remove superfluous call to `br'.
7159 * tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
7160 * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7162 2002-10-26 Werner LEMBERG <wl@gnu.org>
7164 * tmac/doc-ditroff: Remove useless switch/variable -rC.
7165 (doc-setup-header): Don't set page register `%'.
7166 * tmac/doc-nroff: Remove variable `C'.
7167 (doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
7168 (doc-setup-header): Don't set page register `%'.
7170 * tmac/doc-common (doc-header): Call `ns'.
7171 (doc-paragraph): Protect .sp with .br so that it survives traps
7172 possibly set by the user.
7173 * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7175 * tmac/doc*: Replace ' with . for consistency if no effect.
7177 2002-10-26 Werner LEMBERG <wl@gnu.org>
7179 * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
7180 so that it survives traps possibly set by the user.
7182 * src/roff/troff/node.cc: Fix the changes from 2002-10-23.
7183 (troff_output_file::set_font): Call flush_tbuf if necessary.
7184 (troff_output_file::fill_color, troff_output_file::glyph_color): Call
7185 flush_tbuf and do_motion only if necessary.
7186 (troff_output_file::start_special,
7187 troff_output_file::put_char_width, troff_output_file::put_char,
7188 troff_output_file::draw): Updated.
7189 (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7190 vmotion_node::tprint): Undo change 2002-10-23.
7192 2002-10-25 Werner LEMBERG <wl@gnu.org>
7194 * tmac/www.tmac (DC): Fix case of overlapping images.
7196 2002-10-23 Werner LEMBERG <wl@gnu.org>
7198 * src/roff/troff/node.cc (troff_output_file::fill_color,
7199 troff_output_file::glyph_color): Set current color before testing
7201 (troff_output_file::put_char_width, troff_output_file::put_char,
7202 troff_output_file::draw): Don't call flush_tbuf and/or do_motion
7204 (troff_output_file::file_color, troff_output_file::glyph_color):
7206 (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7207 vmotion_node::tprint): Move first, then call fill_color.
7209 2002-10-20 Werner LEMBERG <wl@gnu.org>
7211 * doc/groff.texinfo, man/groff_tmac.man: Document that it is not
7212 possible to use multiple main macro packages.
7214 2002-10-19 Werner LEMBERG <wl@gnu.org>
7216 * src/devices/grops/ps.cc (cmyk_flag): New global variable.
7217 (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
7218 (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
7220 * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
7221 `where' construction since `cmyksetcolor' is a PS Level 2 operator.
7223 2002-10-16 Werner LEMBERG <wl@gnu.org>
7225 * NEWS, doc/webpage.ms: Updated.
7227 2002-10-14 Werner LEMBERG <wl@gnu.org>
7229 * src/roff/troff/node.cc (troff_output_file::put_char_width,
7230 troff_output_file::put_char, troff_output_file::fill_color,
7231 troff_output_file::glyph_color): Handle case where color pointer
7234 2002-10-13 Ruslan Ermilov <ru@FreeBSD.org>
7236 Add the new -r option to grotty. It is similar to the -i option
7237 except it tells grotty(1) to use the `reverse video' attribute to
7238 render italic fonts.
7240 * src/devices/grotty/tty.cc (reverse_flag): New global variable.
7241 (SGR_REVERSE, SGR_NO_REVERSE): New macros.
7242 (tty_printer::make_underline, tty_printer::put_color,
7243 tty_printer::end_page): Use it.
7244 (main): Add -r switch.
7246 * src/devices/grotty/grotty.man: Document it.
7248 2002-10-11 Ruslan Ermilov <ru@FreeBSD.org>
7250 * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
7251 cast to `unsigned char' to properly read patterns with 8bit
7254 2002-10-08 Werner LEMBERG <wl@gnu.org>
7256 * REVISION: Increased to 2.
7259 version-control: never