PageRenderTime 63ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/contrib/groff/ChangeLog.118

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 3794 lines | 2794 code | 1000 blank | 0 comment | 0 complexity | 1769b737e87bfacd5259f7c0267c0183 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.0, LGPL-2.1, BSD-2-Clause, 0BSD, JSON, AGPL-1.0, GPL-2.0
  1. Version 1.18.1 released
  2. =======================
  3. 2002-10-08 Werner LEMBERG <wl@gnu.org>
  4. * doc/webpage.ms, NEWS: Updated.
  5. 2002-10-07 Werner LEMBERG <wl@gnu.org>
  6. * tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to
  7. suppress additional whitespace after the header.
  8. * tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync
  9. with NetBSD.
  10. * src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated.
  11. 2002-10-07 Ruslan Ermilov <ru@FreeBSD.org>
  12. * tmac/doc-common(doc-volume-operating-system-ateol): New flag.
  13. (Dt): Use it to improve language localization (especially Russian
  14. and French).
  15. 2002-10-07 Daniel Senderowicz <daniel@synchrods.com>
  16. * src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros.
  17. * src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier
  18. drawing commands.
  19. * src/preproc/grn/hgraph.cc (drawwig): Add parameter to control
  20. curve type.
  21. Call `picurve' for BSPLINE.
  22. (HGPrintElt): Handle BSPLINE.
  23. * src/preproc/grn/README: Document it.
  24. 2002-10-03 Werner LEMBERG <wl@gnu.org>
  25. * src/roff/troff/node.cc (break_char_node::col): New variable.
  26. Updated constructor.
  27. (space_node::tprint, word_space_node::tprint): Call `fill_color'
  28. unconditionally.
  29. (space_node::space_node): Remove assertion.
  30. (break_char_node::add_self): Pass color argument to space node.
  31. * src/roff/troff/input.cc (token::add_to_node_list, token::process):
  32. Ditto.
  33. * src/roff/troff/env.cc (environment::do_break,
  34. environment::add_padding): Ditto.
  35. 2002-10-02 Werner LEMBERG <wl@gnu.org>
  36. Redesigning color support in troff. Colors are no longer
  37. represented as separate nodes but are now part of glyph nodes and
  38. friends. This fixes the current formatting misbehaviour due to the
  39. changes introduced on 2002-09-20. Some extra code is necessary for
  40. proper grotty support: Without adding color variables to
  41. space-related nodes, the background color would be changed too late.
  42. * src/roff/troff/node.h, src/roff/troff/node.cc:
  43. s/current_pagecolor/current_fill_color/.
  44. s/current_glyphcolor/current_glyph_color/.
  45. (glyph_color_node, fill_color_node): Removed.
  46. (node::get_glyph_color, node::get_fill_color): New virtual member
  47. functions.
  48. (space_node::col): New variable.
  49. Updated constructors of space_node and derived classes accordingly.
  50. (hmotion_node::col): New variable.
  51. Updated constructors of hmotion_node and space_char_hmotion_node
  52. accordingly.
  53. (vmotion_node::col): New variable.
  54. Updated constructor accordingly.
  55. (draw_node::gcol, draw_node::fcol): New variables.
  56. Updated constructor accordingly.
  57. (special_node::gcol, special_node::fcol): New variables.
  58. Updated constructors accordingly.
  59. (troff_output_file::put_char, troff_output_file::put_charwidth,
  60. troff_output_file::draw): Set glyph and fill color.
  61. (troff_output_file::start_special): Set glyph and fill color.
  62. Always set current font.
  63. (troff_output_file::fill_color, troff_output_file::glyph_color):
  64. Don't call `do_motion'.
  65. (glyph_node::gcol, glyph_node::fcol): New variables.
  66. Updated constructors of glyph_node and ligature_node accordingly.
  67. (glyph_node::get_glyph_color, glyph_node::get_fill_color): New
  68. member functions.
  69. (glyph_node::merge_glyph_node,
  70. kern_pair_node::add_discretionary_hyphen,
  71. node::add_discretionary_hyphen): Updated.
  72. (break_char_node::merge_self): Updated.
  73. (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
  74. vmotion_node::tprint): Handle color.
  75. (make_glyph_node, make_node, node::add_char): Updated.
  76. * src/roff/troff/env.cc (environment::space_newline,
  77. environment::space, environment::output_line, environment::do_break,
  78. environment::make_tab_node, environment::add_padding, title):
  79. Updated.
  80. (environment_switch, environment_copy): Don't add color nodes.
  81. * src/roff/troff/input.cc (do_glyph_color, do_fill_color): Return
  82. nothing.
  83. (token::next): Updated.
  84. \m and \M now are as transparent as \s.
  85. (process_input_stack, token::add_to_node_list, token::process,
  86. read_draw_node): Updated.
  87. (charinfo_to_node_list): Don't add color nodes.
  88. * doc/groff.texinfo: Updated.
  89. 2002-09-27 Ruslan Ermilov <ru@FreeBSD.org>
  90. * tmac/doc-common (ds-operating-system-FreeBSD-4.*): New version
  91. strings.
  92. 2002-09-27 Colin Watson <cjwatson@debian.org>
  93. * src/roff/troff/node.cc (bracket_node::copy): Check `list' != 0.
  94. 2002-09-23 Werner LEMBERG <wl@gnu.org>
  95. * src/devices/grolbp/lbp.cc: Replace `300' with `font::res' where
  96. appropriate.
  97. (DEFAULT_LINEWIDTH_FACTOR): New macro.
  98. (linewidth_factor): New global variable.
  99. (lbp_printer::set_line_thickness): Fix case for size < 0, using
  100. linewidth_factor.
  101. (long_options): Add -w/--linewidth option.
  102. (usage): Updated.
  103. (main): Handle -w option to set linewidth_factor.
  104. (lbp_printer::lbp_printer): Initialize req_linethickness, not
  105. line_thickness.
  106. * src/devices/grolbp/grolbp.man, NEWS, doc/webpage.ms: Updated.
  107. 2002-09-22 Paco Andrés Verdú <pandres@dragonet.es>
  108. Fixed a bug in the line thickness setting code.
  109. * src/devices/grolbp/lbp.cc (lbp_printer::req_linethickness): New
  110. variable.
  111. (lbp_printer::set_line_thickness): Pass environment as second
  112. parameter.
  113. Implement it actually.
  114. (lpb_printer::set_char, lbp_printer::draw): Use `req_linethickness'
  115. and `set_line_thickness, depending on the current font size.
  116. 2002-09-21 Werner LEMBERG <wl@gnu.org>
  117. Some Debian patches.
  118. * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase to 12.
  119. * src/roff/troff/node.cc (bracket_node::copy): Initialize
  120. `list->last'.
  121. 2002-09-20 Werner LEMBERG <wl@gnu.org>
  122. * configure: Regenerated with autoconf 2.54.
  123. 2002-09-20 Werner LEMBERG <wl@gnu.org>
  124. * src/roff/troff/env.h (environment): Rename cur_glyph_color to
  125. glyph_color.
  126. Rename cur_fill_color to fill_color.
  127. * src/roff/troff/env.cc: Updated.
  128. 2002-09-20 Werner LEMBERG <wl@gnu.org>
  129. * src/roff/troff/env.cc (title): Copy color status after processing
  130. title.
  131. * src/roff/troff/input.cc (charinfo_to_node_list): Emit glyph and
  132. fill color nodes to reset colors properly.
  133. * tmac/www.tmac (DC): Fix color handling.
  134. * src/preproc/pic/pic.man, doc/pic.ms: Document some color issues.
  135. * doc/groff.texinfo: Fixing documentation of `tl' request.
  136. * doc/webpage.ms: Updated.
  137. 2002-09-19 Werner LEMBERG <wl@gnu.org>
  138. * src/roff/troff/env.cc (environent_switch, environment_copy):
  139. Emit glyph and fill color nodes to initialize colors properly.
  140. 2002-09-17 Colin Watson <cjwatson@debian.org>
  141. * src/roff/troff/env.cc (environment::set_glyph_color,
  142. environment::set_fill_color): Fix typo which prevented \m[] work
  143. correctly.
  144. 2002-09-17 Werner LEMBERG <wl@gnu.org>
  145. Add left and right italic correction to non-slanted PS fonts. This
  146. is an experimental feature to improve image rendering of grohtml.
  147. * font/devps/generate/Makefile (RFLAG): New variable, set to `-i 0'.
  148. ({T,H,C,P,N,BM,A,HN}{R,B}, ZD, S, ZDR): Use it.
  149. * font/devps/*: All non-slanted fonts regenerated.
  150. * NEWS: Updated.
  151. 2002-09-16 Werner LEMBERG <wl@gnu.org>
  152. Add a site-specific font directory.
  153. * Makefile.in (localfontdir, legacyfontdir): New variables.
  154. (fontpath): Use them.
  155. (MDEFINES, uninstall_dirs): Updated.
  156. * Makefile.comm (.man.n): Add `LOCALFONTDIR' and `LEGACYFONTDIR'.
  157. Remove `FONTPATH' and `MACROPATH'.
  158. * src/roff/troff/troff.man, NEWS: Updated.
  159. * doc/groff.texinfo (Font Directories): New section.
  160. Other minor fixes.
  161. * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
  162. src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
  163. src/preproc/grn/grn.man: Minor fixes.
  164. * src/devices/grohtml/post-html.cc (html_printer::do_tab_ts):
  165. Remove unused variable.
  166. 2002-09-11 Werner LEMBERG <wl@gnu.org>
  167. * doc/groff.texinfo, man/groff_font.man: Clarify argument of \N.
  168. * man/groff_out.man: Fix documentation of 'N'.
  169. 2002-09-09 Gaius Mulley <gaius@glam.ac.uk>
  170. * doc/Makefile.in (webpage.html): Depend on gnu.eps also.
  171. * src/roff/troff/env.cc (indent): Emit html tag only if break_flag is
  172. set.
  173. * src/devices/grohtml/post-html.cc (text_glob::is_br_ni): Removed.
  174. (text_glob::is_br, html_printer::lookahead_for_tables): Updated.
  175. (html_printer::do_tab_ts): Call `emit_table_header' with `FALSE'.
  176. * src/devices/grohtml/html-text.cc (html_text::start_tag) <P_TAG,
  177. PRE_TAG>: Call `begin' with `FALSE'.
  178. 2002-09-09 Ralph Corderoy <ralph@inputplus.demon.co.uk>
  179. * src/libs/libgroff/string.cc (string::extract): Fix position of
  180. terminating null byte.
  181. 2002-09-08 Werner LEMBERG <wl@gnu.org>
  182. Add global option `nospaces' to tbl so that leading and trailing
  183. spaces in data items are ignored.
  184. * src/libs/libgroff/string.cc (string::remove_spaces): New member
  185. function to remove leading and trailing spaces.
  186. * src/include/stringclass.h: Updated.
  187. * src/preproc/tbl/table.h (table): Add flag `NOSPACES'.
  188. * src/preproc/tbl/main.cc (process_options): Handle `nospaces'
  189. option.
  190. Fix typo in error messages.
  191. (process_data): Implement `nospaces' option.
  192. * src/preproc/tbl/tbl.man, NEWS, doc/webpage.ms: Updated.
  193. 2002-09-07 Werner LEMBERG <wl@gnu.org>
  194. * src/include/config.hin: Add `HAVE_ISATTY'.
  195. * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Drop `const' for
  196. `fname' member.
  197. * src/libs/libgroff/tmpname.cc: Include `time.h'.
  198. * src/libs/libdriver/input.cc (Char): Add `operator==' and
  199. `operator!=' for `char'.
  200. * doc/groff.texinfo: Replace @ifnottex block for top node with
  201. @ifhtml block.
  202. 2002-09-06 Werner LEMBERG <wl@gnu.org>
  203. * doc/Makefile.in (.texinfo.html): Add -I switch.
  204. * doc/groff.texinfo: Add @ifnottex block for top node to make
  205. translation to HTML work.
  206. 2002-09-05 Gaius Mulley <gaius@glam.ac.uk>
  207. * src/preproc/html/pre-html.cc (LETTER_LENGTH): Removed.
  208. (get_papersize, determine_vertical_offset): Removed.
  209. (char_buffer::do_image): Always specify letter size.
  210. (main): Updated.
  211. (imageList::createPage): Use -dDEVICEHEIGHTPOINTS instead of
  212. -sPAPERSIZE.
  213. 2002-09-05 Werner LEMBERG <wl@gnu.org>
  214. * doc/groff.texinfo, tmac/groff_man.man: Improve documentation of
  215. default indentation.
  216. 2002-09-04 Gaius Mulley <gaius@glam.ac.uk>
  217. * src/preproc/html/pre-html.cc (imageList::createPage): Use
  218. -sPAPERSIZE for gs.
  219. (generateImages): Clean up push-back buffer.
  220. 2002-09-04 Ralph Corderoy <ralph@inputplus.demon.co.uk>
  221. * doc/groff.texinfo: Minor fixes.
  222. 2002-08-21 Gaius Mulley <gaius@glam.ac.uk>
  223. * src/preproc/html/pre-html.cc (DEFAULT_LINE_LENGTH): New macro.
  224. (MAX_WIDTH, A4_LENGTH, A4_OFFSET, LETTER_OFFSET): Removed.
  225. (gsPaper): Removed.
  226. (determine_vertical_offset): Use LETTER_LENGTH.
  227. (createPage): Moved to ...
  228. (imageList::createPage): This.
  229. Call gs with -dDEVICEWIDTHPOINTS to avoid cropping.
  230. (imageList::getMaxX): New function.
  231. (createImage): Moved to ...
  232. (imageList::createImage): This.
  233. (imageList::createImages): New function.
  234. (generateImages): Read `maxx' directly.
  235. Updated.
  236. (scanArguments): Don't specify `gsPaper' for `-o'.
  237. (makeTempFiles): Call `xtmpfile' with the last argument set to
  238. `TRUE'.
  239. 2002-08-24 Werner LEMBERG <wl@gnu.org>
  240. * src/include/nonposix.h (mkdir, WAIT, creat) [_MSC_VER]: Define.
  241. (WAIT, _WAIT_CHILD) [!_MSC_VER]: Define.
  242. * src/preproc/html/pre-html.cc (waitForChild): Use WAIT.
  243. * src/preproc/html/pushback.cc: Include nonposix.h.
  244. * src/roff/groff/pipeline.c: Define strcasecmp and strncasecmp
  245. conditionally.
  246. 2002-08-23 Werner LEMBERG <wl@gnu.org>
  247. Use $(OBJEXT) for the object file extension.
  248. * Makefile.comm (.SUFFIXES): Add .obj.
  249. (.cc.obj, .c.obj): New implicit rules.
  250. * Makefile.in (OBJEXT): New variable, initialized from autoconf.
  251. (MDEFINES): Add EXEEXT and OBJEXT.
  252. * */Makefile.sub: s/.o/.$(OBJEXT)/.
  253. 2002-08-22 Werner LEMBERG <wl@gnu.org>
  254. * INSTALL: Mention texinfo 4.2 as a prerequisite.
  255. 2002-08-21 Gaius Mulley <gaius@glam.ac.uk>
  256. * src/devices/grohtml/post-html.cc (colType): Make enum global to
  257. the file.
  258. (html_printer::update_min_max, html_printer::add_table_end): New
  259. methods.
  260. (html_printer::lookahead_for_tables): Use them.
  261. Reset page offset correctly.
  262. (html_printer::~html_printer): Add creation of creator comment up.
  263. 2002-08-20 Werner LEMBERG <wl@gnu.org>
  264. * tmac/an-old.tmac (T&): New dummy macro to avoid warning.
  265. * man/groff_tmac.man: Fix typos.
  266. * man/groff_font.man: Minor reordering.
  267. * contrib/eqn2graph/eqn2graph.man (Tp): New macro.
  268. 2002-08-18 Gaius Mulley <gaius@glam.ac.uk>
  269. Avoid endless loops while scanning for tables.
  270. * src/devices/grohtml/post-html.cc (list::insert): Set
  271. ptr->right->left.
  272. (html_printer::next_horiz_pos): Add `text_glob' argument; update
  273. all callers.
  274. Return immediately if that argument is NULL.
  275. (html_printer::calc_nf): Don't test if `g' is NULL.
  276. (html_printer::lookahead_for_tables): Use
  277. `glyphs.move_right_get_data'.
  278. Don't test if `g' is NULL.
  279. 2002-08-18 Gaius Mulley <gaius@glam.ac.uk>
  280. A better fix, replacing fix 2002-08-15, for increasing SIZE.
  281. * src/devices/grohtml/post-html.cc (char_block): Make `buffer'
  282. a pointer.
  283. (char_block::char_block): Allocate `buffer'.
  284. (char_buffer::add_string): Use it.
  285. 2002-08-15 Werner LEMBERG <wl@gnu.org>
  286. * src/devices/grops/grops.man, src/devices/grolj4/grolj4.man,
  287. src/devices/grodvi/grodvi.man: Document default line thickness.
  288. 2002-08-15 Gaius Mulley <gaius@glam.ac.uk>
  289. * src/devices/grohtml/post-html.cc (char_block): Increase SIZE to
  290. 8192.
  291. 2002-08-14 Werner LEMBERG <wl@gnu.org>
  292. * doc/webpage.ms: Updated.
  293. 2002-08-09 Werner LEMBERG <wl@gnu.org>
  294. * src/roff/troff/node.cc (node::add_char): Call `freeze_space' for
  295. unbreakable space.
  296. 2002-08-08 Aaron Campbell <aaron@monkey.org>
  297. * src/preproc/pic/object.cc (object_spec::make_move): Fix typo
  298. (&& -> &).
  299. 2002-08-08 Werner LEMBERG <wl@gnu.org>
  300. * src/roff/troff/input.cc (read_rgb, read_cmy, read_cmyk): Call
  301. tok.next().
  302. (read_gray): Ditto.
  303. Don't push back a space but a newline onto the stack.
  304. 2002-08-07 Gaius Mulley <gaius@glam.ac.uk>
  305. Add fonts `CI', `CB', and `CBI' to grohtml which have been omitted
  306. inadvertently.
  307. * src/devices/grohtml/post-html.cc (html_printer::end_font,
  308. html_printer::start_font): Handle them.
  309. * src/devices/grohtml/html-text.cc (html_text::do_italic): Don't
  310. reset bold and tt.
  311. (html_text::do_bold): Don't reset italic and tt.
  312. (html_text::do_tt, html_text::do_pre): Don't reset bold and italic.
  313. * font/devhtml/DESC.proto: Add those fonts.
  314. * font/devhtml/Makefile.sub (PROTOFONTS): Updated.
  315. 2002-08-07 Werner LEMBERG <wl@gnu.org>
  316. * MORE.STUFF: Added gpresent.
  317. * tmac/trace.tmac: Show nesting level by a corresponding amount of
  318. whitespace before printing the logging message.
  319. 2002-07-31 Colin Watson <cjwatson@debian.org>
  320. * src/devices/grohtml/html-table.cc (html_table::finish_row):
  321. Initialize `n' to zero. This fixes a segfault on ARM.
  322. 2002-07-30 Werner LEMBERG <wl@gnu.org>
  323. * doc/grnexmpl.me: Remove calls to .st and .sc which are undefined.
  324. 2002-07-29 Werner LEMBERG <wl@gnu.org>
  325. * src/preproc/pic/pic.y (print_arg, relative_path): Add missing
  326. final semicolon.
  327. 2002-07-28 Colin Watson <cjwatson@debian.org>
  328. * src/devices/grohtml/post-html (html_printer::troff_tag): Handle
  329. `.ps'.
  330. (html_printer::html_printer): Initialize `pointsize'.
  331. 2002-07-26 Werner LEMBERG <wl@gnu.org>
  332. * doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Remove gnu.eps and
  333. gnu.png.
  334. (CLEANNOTSRCDIRADD): Add gnu.eps and gnu.png.
  335. (gnu.eps): Add -rle switch to pnmtops.
  336. (distfiles): Add gnu.eps and gnu.png.
  337. 2002-07-25 Petter Reinholdtsen <pere@hungry.com>
  338. * src/libs/libdriver/input.cc (Char): Add const to `operator=='.
  339. Add `operator!='.
  340. 2002-07-24 Werner LEMBERG <wl@gnu.org>
  341. * doc/Makefile.in, doc/Makefile.sub (groff_bin_path): Don't use
  342. ' \+' but ' *' for sed.
  343. (GROFF): Set GROFF_COMMAND_PREFIX to empty value.
  344. 2002-07-23 Werner LEMBERG <wl@gnu.org>
  345. * doc/groff.texinfo: Document `papersize' keyword.
  346. * NEWS, man/groff_font.man: Updated.
  347. 2002-07-23 Colin Watson <cjwatson@debian.org>
  348. Extend papersize keyword to accept more than a single entry. The
  349. first valid will be used.
  350. * src/libs/libgroff/font.cc (font::load_desc): Implement it.
  351. (font::scan_papersize): Really skip final newline.
  352. * src/preproc/html/pre-html.cc (get_papersize): Ditto.
  353. 2002-07-23 Werner LEMBERG <wl@gnu.org>
  354. * configure.ac: Test for isatty.
  355. * configure: Regenerated.
  356. * src/include/posix.h: Check HAVE_ISATTY.
  357. * src/roff/troff/input.cc [ISATTY_MISSING]: Removed.
  358. * src/utils/lookbib/lookbib.cc: Include posix.h.
  359. Don't declare isatty.
  360. 2002-07-21 Werner LEMBERG <wl@gnu.org>
  361. * NEWS: Add `output' request.
  362. * REVISION: Increased to 1.
  363. Version 1.18.0 released
  364. =======================
  365. 2002-07-19 Gaius Mulley <gaius@glam.ac.uk>
  366. Allow internal glyph indices > 0xFF in grohtml for input characters.
  367. * src/devices/grohtml/post-html.cc (to_unicode): Use `unsigned int'
  368. as parameter.
  369. (html_printer::add_to_sbuf): Use `unsigned int' as first parameter.
  370. Updated all callers.
  371. (html_printer::sbuf_continuation, html_printer::overstrike): Ditto.
  372. (html_printer): Updated.
  373. 2002-07-19 Werner LEMBERG <wl@gnu.org>
  374. * font/devhtml/R.proto: Updated to HTML 4, adding many glyphs.
  375. * font/devutf8/R.proto: Adding some missing glyphs.
  376. * font/devutf8/NOTES: Updated.
  377. * tmac/dvi.tmac: Add more composite glyphs.
  378. * tmac/html.tmac: Updated.
  379. * man/groff_char.man: Add `sum' and `product' entities.
  380. * NEWS: Updated.
  381. 2002-07-18 Gaius Mulley <gaius@glam.ac.uk>
  382. Improved table, tab, and indenting support.
  383. * src/roff/troff/input.cc (file_iterator::suppress_newline_flag,
  384. string_iterator::suppress_newline_flag): Removed. Updated all
  385. function which have used it.
  386. * src/roff/troff/env.cc: Include `input.h'.
  387. (environment::add_node): Accept 0 as parameter.
  388. (environment::add_html_tag): Add `force' parameter.
  389. Updated all callers.
  390. (environment::add_html_tag_tabs): Ditto.
  391. For the moment, support left-aligned tabs only.
  392. (environment::make_html_tag): New function.
  393. (fill, no_fill): Set .br html tag additionally.
  394. (environment::newline): Emit `eol.ce' or `eol' tag for html.
  395. (environment::add_html_tag_eol): Removed.
  396. (tab_stops::distance_to_next_tab): Add variant for handling
  397. nextpos'.
  398. (environment::distance_to_next_tab): Ditto.
  399. Updated all callers.
  400. (environment::handle_tab): Handle tabs for html.
  401. * src/roff/troff/env.h: Updated.
  402. * src/roff/troff/div.cc: Updated all callers of
  403. `environment::add_html_tag'.
  404. * src/devices/grohtml/html-table.cc,
  405. src/devices/grohtml/html-table.h: New files.
  406. * src/devices/grohtml/html-text.cc (html_text): New members
  407. `blank_para' and `start_space'.
  408. (html_text::issue_tag): Don't emit TABLE_TAG.
  409. Handle indentation for PRE_TAG and P_TAG.
  410. (html_text::end_tag): Updated.
  411. (html_text::table_is_void, html_text::issue_table_begin,
  412. html_text::issue_table_end): Removed.
  413. (html_text::do_push): Simplified.
  414. [DEBUGGING]: Small fix.
  415. (html_text::push_para): Add new parameter for indentation; updated
  416. all callers.
  417. Handle PRE_TAG.
  418. (html_text::do_indent, html_text::do_table, html_text::done_table,
  419. html_text::is_in_table): Removed.
  420. (html_text::do_pre): Handle P_TAG also.
  421. (html_text::shutdown): Handle p->indent.
  422. (html_text::check_emit_text): Simplified.
  423. (html_text::do_emittext): Reset `blank_para'.
  424. (html_text::do_para): Add new parameter for indentation; updated
  425. all callers.
  426. (html_text::remove_indent): New function.
  427. (html_text::do_space): Handle verbatim text properly.
  428. (html_text::ever_emitted_text, html_text::starts_with_space,
  429. html_text::remove_para_align): New functions.
  430. (html_text::dump_stack_element, html_text::dump_stack): Updated.
  431. * src/devices/grohtml/html_text.h (HTML_TAG): Remove TABLE_TAG.
  432. Updated.
  433. * src/devices/grohtml/post-html.cc: Include html-table.h.
  434. (INDENTATION): Removed.
  435. (text_glob): Added many `is_<foo>' functions.
  436. Added table description `tab'.
  437. Added `get_arg',`get_tab_args', `remember_table', and `get_table'
  438. member functions.
  439. (list): Add `insert' and `move_to' member functions.
  440. (page): Add `insert_tag' member function.
  441. (page::dump_page) [DEBUG_TABLES]: Improved.
  442. (html_printer): Add `table' and `max_linelength' elements.
  443. Add many `do_<foo>', `insert_<foo>', `next_horiz_pos',
  444. `lookahead_for_tables', `shutdown_table', `calc_nf', `calc_po_in',
  445. `remove_tabs', `remove_courier_tabs'.
  446. (html_printer::emit_raw): Handle indentation.
  447. (html_printer::do_center, html_printer::write_header): Updated.
  448. (html_printer::is_courier_until_eol): Check for tag.
  449. (html_printer::do_linelength): Handle max_linelength.
  450. (html_printer::do_page_offset, html_printer::do_indentation): Handle
  451. fill_on.
  452. (html_printer::do_tempindent): Updated.
  453. (html_printer::do_indentedparagraph): Removed.
  454. (html_printer::do_indent): Simplified.
  455. (html_printer::do_eol): Use `ever_emitted_text'.
  456. (html_printer::do_flush, html_printer::do_links): Don't call
  457. done_table.
  458. (html_printer::do_break): Handle end_tempindent.
  459. (html_printer::troff_tag): Get argument.
  460. Don't handle `.ip'.
  461. Handle `.tab-ts', `.tab-te', `.col', `tab', and `tab0' tags.
  462. (html_printer::flush_page): Call `lookahead_for_tables'.
  463. Don't call `done_table'.
  464. (html_printer::add_to_sbuf): Always call do_indent.
  465. * src/devices/grohtml/Makefile.sub: Updated.
  466. * tmac/an-old.tmac (TP): Don't handle html device specially.
  467. (an-do-tag-html): New function which will be used instead of
  468. `an-do-tag' if html device is used.
  469. * tmac/html.tmac: Call .po to pass default page offset to grohtml.
  470. * tmac/s.tmac (@IP): Don't handle html device specially.
  471. (@IP-html): New function which will be used instead of `@IP' if
  472. html device is used.
  473. * tmac/www.tmac (HTML-NS, HTML-TAG-NS): New auxiliary macros -- this
  474. is a hack which will eventually vanish again.
  475. (PIMG): Handle `-C' option correctly if not html.
  476. (HR): Use HTML-NS.
  477. 2002-07-17 Werner LEMBERG <wl@gnu.org>
  478. * src/utils/afmtodit/afmtodit.pl: Don't use `-P-' for invoking perl.
  479. 2002-07-14 Eric S. Raymond <esr@thyrsus.com>
  480. * contrib/pic2graph/pic2graph.*: Use convert(1).
  481. * contrib/eqn2graph/eqn2graph.*: Minor fixes.
  482. 2002-07-14 Bernd Warken <bwarken@mayn.de>
  483. * tmac/groff_trace.man: New file.
  484. * tmac/Makefile.sub: Updated.
  485. * NEWS: Updated.
  486. 2002-07-13 Werner LEMBERG <wl@gnu.org>
  487. * src/roff/groff/groff.man: Add some cross references.
  488. 2002-07-12 Werner LEMBERG <wl@gnu.org>
  489. * src/roff/troff/input.cc (substring_request): Add warnings for
  490. string indices out of range.
  491. 2002-07-11 Werner LEMBERG <wl@gnu.org>
  492. * font/devdvi/generate/ec.map: Fix typo (`(l' -> `/l').
  493. * font/devdvi/*EC: Regenerated.
  494. 2002-07-10 Bernd Warken <bwarken@mayn.de>
  495. * man/groff_char.man: Updated and extended.
  496. 2002-07-10 Werner LEMBERG <wl@gnu.org>
  497. * src/roff/troff/input.cc (length_macro): Renamed to...
  498. (length_request): This.
  499. Move call of `tok.next()' to the very end, otherwise the register
  500. value hasn't been updated yet.
  501. (init_input_requests): Updated.
  502. 2002-07-09 Werner LEMBERG <wl@gnu.org>
  503. * src/roff/troff/input.cc (substring_macro): Renamed to...
  504. (substring_request): This.
  505. (init_input_requests): Updated.
  506. * src/roff/troff/request.h: Updated.
  507. 2002-07-08 Robert D. Goulding <goulding@Princeton.EDU>
  508. * src/roff/grog/grog.sh: Fix typo.
  509. 2002-07-08 Werner LEMBERG <wl@gnu.org>
  510. * win32-diffs: Updated.
  511. Handle `papersize' keyword properly in DESC.
  512. * src/libs/libgroff/font.cc (font::scan_papersize): Fix argument
  513. type.
  514. Updated all callers.
  515. * src/libs/libgroff/paper.cc: Add four more paper formats used by
  516. grolj4.
  517. * src/include/paper.h: Updated.
  518. * src/devices/grolbp/lbp.cc: Remove unnecessary semicolons.
  519. Other minor C syntax fixes.
  520. (papersize, paperlength, paperwidth): Renamed to `user_*'.
  521. (lbp_printer): Add `papersize', `paperlength', and `paperwidth'
  522. members.
  523. (lbp_printer::lbp_printer): Pass three arguments.
  524. Set paper dimensions properly.
  525. (make_printer, main): Updated.
  526. (handle_unknown_desc_command): Fix error messages.
  527. (main): Handle papersize keyword in DESC properly.
  528. * src/devices/grolj4/lj4.cc (paper_size): Renamed to
  529. `user_paper_size'.
  530. (lbp_printer::lbp_printer): Pass an argument.
  531. Set paper_size properly.
  532. (handle_unknown_desc_command): Removed.
  533. (make_printer, main): Updated.
  534. * src/devices/grolj4/grolj4.man: Minor documentation fix.
  535. * man/groff_font.man, NEWS: Updated.
  536. 2002-07-07 Werner LEMBERG <wl@gnu.org>
  537. Integrated eqn2graph, contributed by Eric S. Raymond.
  538. * contrib/eqn2graph/{Makefile.sub, eqn2graph.sh, eqn2graph.man}: New
  539. files.
  540. * Makefile.in, NEWS: Updated.
  541. 2002-06-04 Werner LEMBERG <wl@gnu.org>
  542. Changing the substring request to make it fit better with other
  543. string manipulation functions in other programming languages:
  544. Index 0 is now the first character in the string, and index -1
  545. indicates the last character. Since this request didn't work
  546. properly anyway in the last release, it doesn't harm too much to
  547. change the syntax.
  548. * src/roff/troff/input.cc (substring_macro): Use loops to get
  549. the real string length (ignoring COMPATIBLE_SAVE and
  550. COMPATIBLE_RESTORE) and offsets.
  551. Implement change described above.
  552. * man/groff_char.man, tmac/doc-common (doc-header), tmac/doc.tmac
  553. (doc-do-Bd-args, doc-do-Bl-args): Changed accordingly.
  554. * NEWS, doc/groff.texinfo, man/groff_diff.man: Updated.
  555. 2002-06-03 Werner LEMBERG <wl@gnu.org>
  556. Make .chop work with .de1 and friends. COMPATIBLE_SAVE and
  557. COMPATIBLE_RESTORE are completely ignored.
  558. * src/roff/troff/input.cc (char_list::set, char_list::get): New
  559. functions.
  560. (macro): `length' field renamed to `len'.
  561. Added new field `empty_macro' (1 if macro is empty), to be used
  562. instead of checking `len'.
  563. Updated all callers.
  564. (macro::empty): Updated.
  565. (macro::length, macro::set, macro::get): New functions.
  566. (macro::append): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
  567. Set `empty_macro'.
  568. (chop_macro): Check and remove trailing COMPATIBLE_SAVE/
  569. COMPATIBLE_RESTORE pairs.
  570. (asciify): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
  571. * src/roff/troff/request.h: Updated.
  572. * doc/groff.texinfo: Document .chop's behaviour better.
  573. 2002-06-02 Werner LEMBERG <wl@gnu.org>
  574. * doc/pic.ms: Fix documentation for the addition of positions.
  575. * tmac/doc.tmac, tmac/an-old.tmac: Need groff version 1.18.
  576. 2002-06-29 Werner LEMBERG <wl@gnu.org>
  577. Implementation of string arguments of the form \*[foo arg1 arg2 ...]
  578. * src/roff/troff/input.cc (have_string_arg): New global variable.
  579. (read_mode): New enumeration.
  580. (read_escape_name): Use it. Update all calls.
  581. (read_long_escape_name): Use it. Update all calls.
  582. Set have_string_arg if appropriate.
  583. (get_char_for_escape_name): Add parameter for handling space
  584. character.
  585. (interpolate_string_with_args, decode_string_args): New functions.
  586. (get_copy, token::next): Call it if necessary.
  587. (interpolate_string): Fix error message.
  588. * NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
  589. Document it.
  590. 2002-06-24 Bernd Warken <bwarken@mayn.de>
  591. * man/groff_tmac.man: Updated and extended.
  592. 2002-06-24 Werner LEMBERG <wl@gnu.org>
  593. * doc/pic.ms, src/preproc/pic/pic.man: Fix description of `:='.
  594. 2002-06-23 Werner LEMBERG <wl@gnu.org>
  595. * doc/pic.ms: Improve documentation of composite block objects.
  596. 2002-06-22 Werner LEMBERG <wl@gnu.org>
  597. * src/roff/troff/input.cc (init_registers): Add three registers
  598. `seconds', `minutes', and `hours' to hold the current time.
  599. * NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
  600. Updated.
  601. 2002-06-20 Werner LEMBERG <wl@gnu.org>
  602. Make \X accept both `\ ' and `\~', converting them to single space
  603. characters.
  604. * src/roff/troff/token.h (token): Add TOKEN_UNSTRETCHABLE_SPACE.
  605. (token::unstretchable_space): New inline function.
  606. * src/roff/troff/input.cc (token::next, token::delimiter,
  607. token::description, token::add_to_node_list, token::process): Handle
  608. TOKEN_UNSTRETCHABLE_NODE.
  609. (encode_char): Handle tok.stretchable_space and
  610. tok.unstretchable_space.
  611. * NEWS, doc/groff.texinfo: Document it..
  612. 2002-06-19 Werner LEMBERG <wl@gnu.org>
  613. * src/devices/grops/ps.cc (ps_printer::special): Fix error message.
  614. * src/devices/grotty/tty.cc (tty_printer::special): Add `sgr'
  615. keyword to enable/disable SGR output.
  616. (tty_printer::change_fill_color): New function.
  617. * NEWS, src/devices/grotty/grotty.man: Document `sgr' special.
  618. * src/roff/troff/input.cc (output_request): Add missing `tok.next()'
  619. call.
  620. 2002-06-18 Werner LEMBERG <wl@gnu.org>
  621. Add a `color' request and a `.color' register to control usage of
  622. colours.
  623. * src/roff/troff/input.cc (disable_color_flag): Replaced with...
  624. (color_flag): This (which is the inverse).
  625. (activate_color): New function.
  626. (main, init_input_requests): Updated.
  627. * src/roff/troff/troff.h, src/roff/troff/node.cc
  628. (troff_output_file::fill_color, troff_output_file::glyph_color):
  629. Updated.
  630. * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
  631. Document the changes.
  632. 2002-06-17 Colin Watson <cjwatson@debian.org>
  633. Circumvent bug in autoconf 2.53 regarding top_builddir.
  634. * aclocal.m4 (GROFF_BUILDDIR): s/top_builddir/groff_top_builddir/.
  635. * Makefile.in, doc/Makefile.in:
  636. s/@top_builddir@/@groff_top_builddir@/.
  637. * configure: Regenerated (with autoconf 2.53).
  638. 2002-06-17 Werner LEMBERG <wl@gnu.org>
  639. * src/libs/libgroff/font.cc (font::load_desc): Fix computation of
  640. `paperwidth' and `paperlength' for the `papersize' keyword.
  641. 2002-06-16 P. Alejandro Lopez-Valencia <dradul@007mundo.com>
  642. * src/devices/grops/grops.man: Add info about Type 42 fonts.
  643. 2002-06-15 Gaius Mulley <gaius@glam.ac.uk>
  644. * src/devices/grohtml/post-html.cc (html_printer::emit_raw,
  645. html_printer::do_linelength, html_printer::do_pageoffset,
  646. html_printer::do_indentation, html_printer::do_tempindent,
  647. html_printer::do_break, html_printer::begin_page): Clear indented
  648. text.
  649. * tmac/html.tmac: Disable hyphenation.
  650. 2002-06-15 Werner LEMBERG <wl@gnu.org>
  651. Don't produce HTML files if utility programs are missing.
  652. * Makefile.in (make_html, make_install_html): New variables.
  653. (MDEFINES): Updated.
  654. * aclocal.m4 (GROFF_HTML_PROGRAMS): New function to test for HTML
  655. utility programs.
  656. * configure.ac: Use it.
  657. * configure: Regenerated.
  658. * doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Move webpage.html to...
  659. (HTMLEXAMPLESFILES): This new variable.
  660. (EXAMPLESIMAGEFILES): Renamed to...
  661. (HTMLEXAMPLEIMAGEFILES): This.
  662. (CLEANADD): Add HTMLEXAMPLEFILES.
  663. (all): Use `make_html'.
  664. (html): New target.
  665. (install_data): Use `make_install_html'.
  666. Move html stuff to...
  667. (install_html): This new target.
  668. (uninstall_sub): Updated.
  669. 2002-06-14 Bernd Warken <bwarken@mayn.de>
  670. * src/roff/grog/Makefile.sub (grog): Renamed to...
  671. (grog.old): This.
  672. (grog): New rule to always install grog.sh as grog.
  673. 2002-06-08 Bernd Warken <bwarken@mayn.de>
  674. * src/roff/grog/grog.pl: Fix typo.
  675. 2002-06-07 Werner LEMBERG <wl@gnu.org>
  676. * doc/groff.texinfo: Add more info on .tr arguments.
  677. 2002-06-05 Werner LEMBERG <wl@gnu.org>
  678. * NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
  679. * aclocal.m4 (GROFF_MKSTEMP): Include unistd.h.
  680. * configure: Regenerated.
  681. 2002-06-05 Ralph Corderoy <ralph@inputplus.demon.co.uk>
  682. * src/roff/troff/symbol.cc (table_sizes): Add more values.
  683. * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Recognize mom.
  684. 2002-06-04 Werner LEMBERG <wl@gnu.org>
  685. * aclocal.m4 (GROFF_PAGE): Don't use `prefix' directly since it
  686. is not initialized at the time we need it in case `--prefix' hasn't
  687. been set. Check for `ac_default_prefix' also.
  688. Test for `papersize' keyword also and generalize allowed whitespace.
  689. * configure: Regenerated.
  690. * font/devps/Makefile.sub (DESC): Use `papersize' instead of
  691. `paperlength'.
  692. * src/libs/libgroff/Makefile.sub (version, revision): Replaced
  693. with...
  694. (src_version, src_revision): New variables to avoid overwriting
  695. from parent make process.
  696. (version.cc): Updated.
  697. * src/preproc/html/pre-html.cc: Include paper.h and font.h.
  698. (linebuf, linebufsize): New global variables.
  699. (sys_fatal): Use `fatal' to abort properly.
  700. (get_line): New function.
  701. (get_resolution): Use it.
  702. Improve error messages.
  703. (get_papersize): Check `papersize' also.
  704. Use `get_line'.
  705. Improve error messages.
  706. 2002-06-03 Werner LEMBERG <wl@gnu.org>
  707. * Makefile.comm (CLEANNOTSRCDIRADD): New target for files which
  708. should be removed only if builddir is not srcdir.
  709. (mostlyclean): Handle `CLEANNOTSRCDIRADD'.
  710. (clean): Depend on `mostlyclean'.
  711. (distclean): Depend on `clean'.
  712. (realclean, extraclean): Depend on `distclean'.
  713. (.y.cc, .y.o): Simplified. The output files are no longer written
  714. to srcdir but to builddir.
  715. * Makefile.in (MDEFINES): Add `version' and `revision'.
  716. (uninstall_dirs): Fix order of directories.
  717. * doc/Makefile.sub (version, revision): Removed.
  718. (CLEANADD): Removed grnexmpl.g, groff, groff-*.
  719. Added `HTMLDOCFILES'.
  720. (CLEANNOTSRCDIRADD): New target for grnexmpl.h, groff, groff-*.
  721. * src/preproc/eqn/Makefile.sub, src/preproc/pic/Makefile.sub,
  722. src/preproc/refer/Makefile.sub (YTABC, YTABH): Don't use `srcdir'
  723. as prefix.
  724. * doc/texinfo.tex (\authortt): New macro.
  725. (\shortcontt): Define.
  726. (\titlepage): Set \tt to \authortt while defining \authorfont.
  727. (\appendixbox): New macro.
  728. (\chapmacro, \appendixentry): Use \appendixbox to get even
  729. indentation for letters.
  730. (\summarycontents): Set \tt.
  731. (\internalpagesize): Add two arguments for real paper width and
  732. height as needed by pdfTeX.
  733. (\letterpaper, \smallbook, \afourpaper, \afivepaper, \afourlatex):
  734. Updated.
  735. (\tempdima, \tempdimb): New temporary dimensions.
  736. (\pagesizesyyy): Updated.
  737. 2002-06-02 Werner LEMBERG <wl@gnu.org>
  738. Adding a new keyword `papersize' to the DESC file format (similar
  739. but not completely identical to grolbp's extension). grops now has
  740. a -p command line option to override `papersize'. Finally, grolbp
  741. has been adapted to the new syntax.
  742. * src/libs/libgroff/paper.cc, src/include/paper.h: New files. It
  743. defines and initializes the `papersizes[]' array with NUM_PAPERSIZES
  744. elements.
  745. * src/libs/libgroff/Makefile.sub (OBJS): Add `paper.o'.
  746. (CCSRCS): Add `paper.cc'.
  747. * src/include/font.h (font): Add `papersize' element.
  748. * src/libs/libgroff/font.cc (font::unit_scale): New helper function.
  749. (font::scan_papersize): New function.
  750. (font::load_desc): Use it for handling `papersize' keyword.
  751. * src/libs/libgroff/fontfile.cc: Initialize `font::papersize'.
  752. * src/devices/grops/ps.cc: Include paper.h.
  753. (user_paper_length): New global variable.
  754. (ps_printer): Use paper length as initializer.
  755. (make_printer): Updated.
  756. (main): Handle new `-p' option.
  757. * src/devices/grops/grops.man: Updated.
  758. * src/devices/grolbp/lbp.cc: Include paper.h.
  759. s/papersizes/lbp_papersizes/.
  760. (set_papersize): Use new `papersizes' array.
  761. (handle_unknown_desc_command): Don't handle `papersize'.
  762. (main): Use `font::scan_papersize' for handling `-p' option.
  763. * src/devices/grolbp/grolbp.man: Updated.
  764. * man/groff_font.man: Document `papersize'.
  765. * NEWS: Updated.
  766. 2002-05-30 Werner LEMBERG <wl@gnu.org>
  767. * src/devices/grops/TODO: Updated.
  768. * src/devices/grops/grops.man: More info on paper formats.
  769. * man/groff_font.man: Document `paperheight' and `paperwidth'.
  770. 2002-05-29 Werner LEMBERG <wl@gnu.org>
  771. * doc/Makefile.sub (CLEANADD): Add grnexmpl.g, groff, and groff-*
  772. to list only if srcdir != currdir.
  773. (distfiles): New target.
  774. * Makefile.in (EXTRADIRS): Add font/devlj4/generate.
  775. (NOMAKEDIRS): New variable.
  776. (DISTDIRS): Use it.
  777. 2002-05-26 Werner LEMBERG <wl@gnu.org>
  778. Add .output request, similar to \! at top-level.
  779. * src/roff/troff/input.cc (transparent): Remove unused declaration.
  780. (output_request): New function.
  781. (init_input_requests): Add it.
  782. Sorted.
  783. * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
  784. Document it.
  785. * Makefile.in (MDEFINES): Add INSTALL_INFO.
  786. (prepare_examples): Fix typo.
  787. * doc/groff.texinfo (@direntry): Fix it.
  788. 2002-05-25 Werner LEMBERG <wl@gnu.org>
  789. Including the doc subdir into groff's Makefile system.
  790. * aclocal.m4 (GROFF_INSTALL_INFO): New function.
  791. * configure.ac: Use it.
  792. Generate `doc/Makefile'.
  793. * configure: Regenerated.
  794. * Makefile.in (infodir, INSTALL_INFO): New variables.
  795. (MDEFINES, uninstall_dirs): Updated.
  796. (OTHERDIRS): Add `doc'.
  797. * Makefile.comm (CLEANDIRADD): New variable.
  798. (mostlyclean): Use it.
  799. * doc/Makefile.sub, doc/Makefile.in: New files.
  800. * doc/Makefile: Removed.
  801. * NEWS, INSTALL: Updated.
  802. 2002-05-24 Werner LEMBERG <wl@gnu.org>
  803. * doc/homepage.ms: Renamed to ...
  804. * doc/webpage.ms: This.
  805. Use `.NHR'.
  806. 2002-05-23 Werner LEMBERG <wl@gnu.org>
  807. Integrating the `mom' macro package, contributed by Peter Schaffter
  808. <df191@ncf.ca>.
  809. * contrib/mom/*: New subdirectory tree.
  810. * Makefile.in (docdir, exampledir, htmldocdir): New variables to
  811. be used for documentation files.
  812. (MDEFINES, uninstall_dirs): Use them.
  813. (OTHERDIRS): Add contrib/mom.
  814. * Makefile.comm (.man.n): Add @DOCDIR@, @EXAMPLEDIR@, and
  815. @HTMLDOCDIR@.
  816. * MANIFEST, NEWS: Updated.
  817. 2002-05-22 Gaius Mulley <gaius@glam.ac.uk>
  818. Change syntax of \O: \O[0] suppresses output, \O[1] enables output
  819. if at outer level; at start-up we are at outer level.
  820. * src/roff/troff/input.cc (do_suppress): Implement it.
  821. Simplify \O[3].
  822. Add option -p to show progress information.
  823. pre-grohtml will now render only one page at a time, reducing the
  824. size of needed disk resources enormously.
  825. * src/preproc/html/pre-html.cc (imagePageStem): Replaced with...
  826. (imagePageName): New global variable.
  827. (psPageName, show_progress, currentPageNo): New global variables.
  828. (html_system): Close saved stderr and stdout handles.
  829. (write_end_image): Accept a parameter to control \O escape.
  830. (write_start_image): Adapted to new \O meaning.
  831. (char_buffer::write_upto_newline): Updated.
  832. (createAllPages): Replaced with...
  833. (createPage): This new function to create a single page for images.
  834. It uses `psselect' from the psutils package.
  835. (removeAllPages): Removed.
  836. (createImage): Updated.
  837. Handle progress display.
  838. (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Removed.
  839. (scanArguments): Add option -p.
  840. (makeTempFiles): Updated to create temp files for psPageName and
  841. imagePageName.
  842. (removeTempFiles): Removed.
  843. (main): Updated.
  844. * src/devices/grohtml/post-html.cc (header_desc::write_headings,
  845. html_printer::write_header): Append `\0' to `buffer'.
  846. (html_printer::do_eol): Depend on `current_paragraph->emitted_text'.
  847. (main): Handle -p.
  848. * src/devices/grohtml/html-text.cc (html_text::dump_stack_element):
  849. Handle `text_emitted'.
  850. (html_text::table_is_void): Slightly rewritten.
  851. (stop): New external symbol.
  852. (html_text::do_push) [DEBUGGING]: Use it and simplify.
  853. (html_text::shutdown): Call `dump_stack'.
  854. (html_text::do_space): Rewritten.
  855. * src/devices/grohtml/grohtml.man: Document -p and the need of
  856. `psselect'.
  857. * tmac/www.tmac (DC, HTML-DO-IMAGE, HTML-IMAGE-END): Updated to
  858. new \O syntax.
  859. Call \O[0] if `ps4html' is active.
  860. * tmac/s.tmac (@EQ, @EN): Handle html better.
  861. (@TS, TE): Ditto.
  862. * tmac/html.tmac: Don't use black for background colour.
  863. * src/roff/troff/node.cc: Include `div.h'.
  864. (troff_output_file::really_print_line): Don't use `is_on'.
  865. (troff_output_file::word_marker, troff_output_file::flush_tbuf
  866. troff_output_file::check_charinfo,
  867. troff_output_file::put_char_width, troff_output_file::put_char,
  868. troff_output_file::determine_line_limits, troff_output_file::draw,
  869. real_output_file::begin_page, glyph_color_node::tprintf,
  870. fill_color_node::tprint, hline_node::tprint, vline_node::tprint):
  871. Use `is_on'.
  872. (troff_output_file::really_on): Call `do_motion'.
  873. (suppress_node::tprint): Use `get_page_number' instead of `%'
  874. register.
  875. Call `reset_output_registers' conditionally on `is_on'.
  876. * doc/groff.texinfo: Document new syntax of \O.
  877. * NEWS, man/groff_diff.man: Updated.
  878. 2002-05-22 Werner LEMBERG <wl@gnu.org>
  879. * MORE.STUFF: Add info about David Frey's deroff implementation.
  880. Mention troff.org.
  881. 2002-05-16 Werner LEMBERG <wl@gnu.org>
  882. Pic's `with' attribute now accepts positions.
  883. * src/preproc/pic/pic.y: Make `.', BOX, CIRCLE, ELLIPSE, ARC, LINE,
  884. ARROW, SPLINE, and `[' left-associative tokens to fix shift/reduce
  885. conflicts.
  886. (object_spec): Add rule for `WITH' and `position'.
  887. (relative_path): Give `corner' the precedence of `CHOP'.
  888. * src/preproc/pic/object.h (path): New members `pos' and
  889. `is_position'.
  890. * src/preproc/pic/object.cc: Updated initializers of `path'.
  891. (path::follow): Handle `is_position'.
  892. * doc/pic.ms: Completely updated grammar description.
  893. Many typographical improvements.
  894. 2002-05-15 Werner LEMBERG <wl@gnu.org>
  895. * src/roff/troff/env.cc(hyphen_trie::hpf_getc): Accept ^^x (char
  896. code of x in range 0-127) also.
  897. * doc/groff.texinfo, man/groff_diff.man: Updated.
  898. Added keywords `north', `south', `east', and `west' for corners
  899. in pic.
  900. * src/preproc/pic/lex.cc (lookup_keyword): Add NORTH, SOUTH, EAST,
  901. and WEST.
  902. (yylex): Handle them.
  903. * src/preproc/pic/pic.y: Add tokens NORTH, SOUTH, EAST, and WEST.
  904. (corner): Handle them.
  905. 2002-05-14 Werner LEMBERG <wl@gnu.org>
  906. * src/devices/grops/grops.man: Clarify handling of `download' file.
  907. 2002-05-11 Werner LEMBERG <wl@gnu.org>
  908. Adding `warnscale' and `spreadwarn' requests, based on a patch from
  909. Jeffrey Friedl <jfriedl@yahoo.com>.
  910. * src/roff/troff/input.cc (spread_limit, warn_scale,
  911. warn_scaling_indicator): New global variables.
  912. (warnscale_request, spreadwarn_requests): New functions.
  913. (main): Initialize `warn_scale' and `warn_scaling_indicator'.
  914. (init_input_requests): Updated.
  915. (error_type): Add `OUTPUT_WARNING'.
  916. (do_error): Handle it.
  917. (output_warning): New warning function which shows output location.
  918. * src/roff/troff/env.h (spread_limit): New external variable.
  919. * src/roff/troff/env.cc (environment::choose_breakpoint): Use
  920. `output_warning'.
  921. (distribute_space): Emit warning if added space is larger than
  922. `spread_limit'.
  923. (environment::possibly_break_line): Emit warning if a line can't
  924. be adjusted on both sides.
  925. * doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document it.
  926. 2002-05-08 Werner LEMBERG <wl@gnu.org>
  927. * src/roff/troff/node.cc (special_node::special_node): Use
  928. env_definite_font(curenv) instead of curenv->get_font(). Otherwise
  929. \X''\% crashes, for example.
  930. * doc/groff.texinfo: Document \! and \? used at top-level.
  931. 2002-05-06 Werner LEMBERG <wl@gnu.org>
  932. * src/preproc/pic/pic.man: Fix some keyword syntax.
  933. Other minor typographical fixes.
  934. * src/roff/groff/groff.man: Fix typos.
  935. 2002-05-04 Werner LEMBERG <wl@gnu.org>
  936. * src/roff/groff/groff.man ([ShortOpt]): Renamed to...
  937. (ShortOpt[]): This to avoid problems with refer.
  938. * doc/pic.ms: Fix typo.
  939. Fix pic grammar description.
  940. * tmac/an-old.tmac (ne): Use de1, not de.
  941. 2002-05-03 Werner LEMBERG <wl@gnu.org>
  942. * doc/groff.texinfo: Finished separation of glyphs and characters.
  943. Don't use the string `Appendix' for appendix headers (both in
  944. the text and the table of contents).
  945. * man/groff_tmac.man, src/roff/troff/troff.man: Fix order of tmac
  946. directories.
  947. Use registers LL and LT (similar to -ms) for controlling the
  948. length of title and line, respectively, in the -man and -mdoc
  949. macro packages.
  950. * tmac/doc-ditroff (doc-setup-page-layout), tmac/doc-nroff
  951. (doc-setup-page-layout): Use \n[LL] and \n[LT].
  952. * tmac/an-old.tmac: Set \n[LL] and \n[LT] if not defined.
  953. (TH): Use \n[LL].
  954. (an-header, an-p-footer): Use \n[LT].
  955. * NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
  956. doc/groff.texinfo: Document it.
  957. 2002-05-02 Werner LEMBERG <wl@gnu.org>
  958. * doc/fdl.texi: New file.
  959. * doc/groff.texinfo: Include it.
  960. Define and use @copying.
  961. Starting with separating glyph, symbol, and character.
  962. 2002-04-27 Werner LEMBERG <wl@gnu.org>
  963. * Makefile.in (EXEEXT): Set it.
  964. * src/*/Makefile.sub (PROG): Add $(EXEEXT) for all non-script
  965. programs.
  966. * src/include/nonposix.h: Define GS_NAME.
  967. * src/preproc/html/pre-html.cc (createAllPages): Use GS_NAME.
  968. Some preliminary changes for EMX support under OS/2.
  969. * src/preproc/pic/main.cc (main), src/roff/groff/pipeline.c: Add
  970. __EMX__ similar to __MSDOS__.
  971. * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Use `unlink'.
  972. 2002-04-25 Werner LEMBERG <wl@gnu.org>
  973. * doc/groff.texinfo: Integrated groff_out.man.
  974. Some macro fixes.
  975. 2002-04-23 Werner LEMBERG <wl@gnu.org>
  976. * man/groff_out.man: Minor fixes.
  977. 2002-04-23 Werner LEMBERG <wl@gnu.org>
  978. * doc/groff.texinfo: Moving @cindex entries after @Def* to get
  979. correct page references.
  980. Fixed many index entries.
  981. 2002-04-23 Bernd Warken <bwarken@mayn.de>
  982. * man/roff.man: Enlarged.
  983. 2002-04-22 Werner LEMBERG <wl@gnu.org>
  984. * doc/groff.texinfo: More examples, other fixes.
  985. 2002-04-20 Werner LEMBERG <wl@gnu.org>
  986. * src/roff/troff/input.cc (pipe_output): Multiple calls to `pi'
  987. will now form a chain, e.g.
  988. .pi foo
  989. .pi bar
  990. is now the same as
  991. .pi foo | bar
  992. This is for compatibility with plan 9's troff.
  993. * tmac/tty.tmac: Set default tab values to 0.8i to be compatible
  994. with UNIX troff.
  995. * NEWS: Updated.
  996. * doc/groff.texinfo: Add documentation of remaining requests and
  997. registers.
  998. 2002-04-19 Werner LEMBERG <wl@gnu.org>
  999. * doc/groff.texinfo: Add documentation of remaining escapes.
  1000. * font/devdvi/generate/tc.map: Remove entry for `sr'.
  1001. * font/devdvi/*TC: Regenerated.
  1002. 2002-04-18 Werner LEMBERG <wl@gnu.org>
  1003. * src/roff/troff/input.cc (token::next): Make \H behave consistently
  1004. if not in compatibility mode, i.e., increment relative to the
  1005. previous height.
  1006. * doc/groff.texinfo: Updated accordingly.
  1007. 2002-04-17 Werner LEMBERG <wl@gnu.org>
  1008. * doc/groff.texinfo: Document \\, \e, \E, \., and \c.
  1009. 2002-04-16 Bernd Warken <bwarken@mayn.de>
  1010. * src/roff/groff/groff.man: Improve documentation of -P option.
  1011. Other minor fixes.
  1012. 2002-04-15 Werner LEMBERG <wl@gnu.org>
  1013. Add new escape \F to switch font family.
  1014. * src/roff/troff/input.cc (token::next): Handle \F.
  1015. * src/roff/troff/env.cc (environment::set_family): Handle
  1016. `interrupted' flag.
  1017. * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
  1018. Document it.
  1019. 2002-04-14 Werner LEMBERG <wl@gnu.org>
  1020. * tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of
  1021. spaces in tags.
  1022. 2002-04-13 Werner LEMBERG <wl@gnu.org>
  1023. Implement \f[] as an alternative to \fP. Change \mP and \MP to
  1024. \m[] and \M[], respectively.
  1025. * src/roff/troff/symbol.cc (EMPTY_SYMBOL): New global variable.
  1026. (symbol::symbol): Handle NULL string and empty string differently.
  1027. * src/roff/troff/symbol.h (symbol::is_empty): New inline function.
  1028. * src/roff/troff/input.cc (read_escape_name, read_long_escape_name):
  1029. Add optional parameter.
  1030. Updated calling functions.
  1031. (get_copy, do_glyph_color, do_fill_color, token::next): Use
  1032. `symbol::is_empty'.
  1033. * src/roff/troff/env.cc (environment::set_font): Ditto.
  1034. * src/preproc/pic/troff.cc (troff_output::set_fill,
  1035. troff_output::reset_color: Updated.
  1036. * tmac/www.tmac: Updated.
  1037. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo,
  1038. doc/homepage.ms, src/devices/grotty/grotty.man, tmac/groff_www.man:
  1039. Updated.
  1040. * tmac/Xps.tmac: Remove some redundant code.
  1041. * tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac,
  1042. tmac/dvi.tmac, man/roff.man, man/groff_out.man, man/groff.man,
  1043. man/groff_diff.man, src/roff/groff/groff.man: Replace \f[P] with
  1044. \f[].
  1045. 2002-04-13 Bernd Warken <bwarken@mayn.de>
  1046. * src/include/printer.h, src/libs/libdriver/printer.cc
  1047. (printer::change_fill_color): New member function.
  1048. * src/libs/libdriver/input.cc (parse_D_command): Use it.
  1049. 2002-04-12 Werner LEMBERG <wl@gnu.org>
  1050. * doc/groff.texinfo: Completed pass on gtroff reference.
  1051. 2002-04-11 Werner LEMBERG <wl@gnu.org>
  1052. * doc/groff.texinfo: More fixes.
  1053. 2002-04-11 Bernd Warken <bwarken@mayn.de>
  1054. * src/include/color.h: Decorate with `const'.
  1055. Use `size_t'.
  1056. Include `stddef.h'.
  1057. * src/libs/libgroff.color.cc: Decorate with `const'.
  1058. Use `size_t'.
  1059. (color::color): Initialize members.
  1060. * src/libs/libdriver/input.cc (parse_D_command): Handle `f'
  1061. command according to the documentation.
  1062. * man/groff_out.man: Updated.
  1063. Minor fixes.
  1064. 2002-04-11 Gaius Mulley <gaius@glam.ac.uk>
  1065. * src/preproc/html/pre-html.cc (write_start_image): Remove
  1066. redundant output.
  1067. * tmac/www.tmac (DC, HTML-DO-IMAGE): Ditto.
  1068. * src/devices/grohtml/post-html.cc (page::add_and_encode): Using
  1069. \C'hy' caused an assertion failure.
  1070. * src/roff/troff/env.cc (environment::environment): Initialize
  1071. `emitted_node'.
  1072. (environment::copy): Handle `ignore_next_eol' and `emitted_node'.
  1073. 2002-04-10 Werner LEMBERG <wl@gnu.org>
  1074. * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
  1075. Document pvs request and .pvs register.
  1076. 2002-04-09 Werner LEMBERG <wl@gnu.org>
  1077. * doc/groff.texinfo: Improve and fix documentation of diversions
  1078. and environments.
  1079. 2002-04-08 Werner LEMBERG <wl@gnu.org>
  1080. * doc/groff.texinfo: Fix documentation of drawing functions.
  1081. Other minor fixes.
  1082. 2002-04-07 Werner LEMBERG <wl@gnu.org>
  1083. * doc/groff.texinfo: Better documentation of double quotes as
  1084. arguments.
  1085. Other minor fixes.
  1086. 2002-04-06 Werner LEMBERG <wl@gnu.org>
  1087. * man/groff_font.man: Document names of special characters better.
  1088. * doc/groff.texinfo: Minor improvements.
  1089. * tmac/lbp.tmac: Load latin1.tmac.
  1090. * tmac/X.tmac, tmac/Xps.tmac: Load latin1.tmac or cp1047.tmac.
  1091. * font/devX*/*: Regenerated (all chars > 0x80 removed).
  1092. 2002-04-05 Werner LEMBERG <wl@gnu.org>
  1093. * tmac/tty.tmac: Don't use shc request.
  1094. * tmac/latin1.tmac, tmac/cp1047.tmac: Translate soft hyphen to `\%'.
  1095. * NEWS: Updated.
  1096. * man/groff_diff.man: Minor fixes.
  1097. * font/devlbp/*: Remove all `charXXX' entities.
  1098. * src/libs/libgroff/font.cc (font::~font): Deallocate
  1099. `special_device_coding'.
  1100. (font::load): Use `new' for allocating `special_device_coding'.
  1101. * src/libs/libgroff/nametoindex.cc (character_indexer::lookup_char):
  1102. Removed unused member.
  1103. 2002-04-05 Werner LEMBERG <wl@gnu.org>
  1104. * src/drivers/grops/psrm.cc (skip_possible_newline): New function.
  1105. (resource_manager::do_begin_binary,
  1106. resource_manager::do_begin_data): Use it.
  1107. * doc/texinfo.tex: Updated to version 4.2.
  1108. * src/roff/troff/token.h: Add TOKEN_ZERO_WIDTH_BREAK for `\:'.
  1109. (token::zero_width_break): New inline function.
  1110. * src/roff/troff/input.cc (token::next): Use it.
  1111. (token::description): Updated.
  1112. (encode_char): Ignore `\%', `\&', `\)', and `\:'.
  1113. (token::add_to_node_list, token::process): Use it.
  1114. * NEWS, doc/groff.texinfo: Updated.
  1115. * src/preproc/eqn/over.cc (over_box::output): Fix typo.
  1116. * tmac/tty.tmac: Add missing backslash.
  1117. 2002-04-04 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
  1118. * src/preproc/eqn/box.cc (set_script_size, box::top_level): Use
  1119. `.ps' register instead of `.s' to handle fractional point sizes.
  1120. * src/preproc/eqn/limit.cc (limit_box::compute_metrics,
  1121. limit_box::output): Ditto.
  1122. * src/preproc/eqn/other.cc (size_box::compute_metrics,
  1123. size_box::output): Ditto.
  1124. * src/preproc/eqn/over.cc (over_box::compute_metrics,
  1125. over_box::output): Ditto.
  1126. * src/preproc/eqn/script.cc (script_box::compute_metrics,
  1127. script_box::output): Ditto.
  1128. * src/preproc/eqn/sqrt.cc (sqrt_box::compute_metrics,
  1129. sqrt_box::output): Ditto.
  1130. 2002-04-03 Michael Selway <mas@ssl.co.uk>
  1131. * src/drivers/grops/psrm.cc (resource_manager::do_begin_binary):
  1132. Fix typo.
  1133. 2002-04-03 Werner LEMBERG <wl@gnu.org>
  1134. * doc/homepage.ms: Reduce title size.
  1135. * doc/groff.texinfo: Fix documentation of .t register.
  1136. Fix handling of colon.
  1137. Fix `\' vs. `\\'.
  1138. * src/roff/troff/input.cc (exit_troff): Emit LAST_PAGE_EJECTOR
  1139. only if page length is positive to avoid a loop.
  1140. * tmac/an-old.tmac (ne): Increase page length to avoid problems with
  1141. tbl.
  1142. 2002-04-02 P. Alejandro Lopez-Valencia <dradul@yahoo.com>
  1143. * src/include/nonposix.h, src/roff/groff/pipeline.c:
  1144. s/__CYGWIN32__/__CYGWIN__/.
  1145. 2002-03-28 Gaius Mulley <gaius@glam.ac.uk>
  1146. * doc/gnu.xpm: New image contributed by Emily Mulley.
  1147. * doc/Makefile (gnu.eps, gnu.png): Use pnmdepth.
  1148. (homepage.html): Be dependent on gnu.eps.
  1149. * doc/homepage.ms: Updated to new image.
  1150. * src/devices/grohtml/post-html.cc (html_printer): New member
  1151. `sbuf_prev_hpos'.
  1152. (html_printer::flush_sbuf, html_printer::set_char): Set it.
  1153. (html_printer::sbuf_continuation): Use it.
  1154. 2002-03-28 Werner LEMBERG <wl@gnu.org>
  1155. * src/libs/libgroff/getopt.c: Updated to latest version.
  1156. * tmac/README: More on hyphen.tex license.
  1157. 2002-03-26 Larry Kollar <kollar@alltel.net>
  1158. * doc/groff.texinfo: Add documentation of most missing requests.
  1159. 2002-03-25 Werner LEMBERG <wl@gnu.org>
  1160. Add three glyphs `t+-', `tmu', and `tdi' which are textual variants
  1161. of `+-', `mu', and `di', respectively.
  1162. * font/devascii/R.proto, font/devutf8/R.proto,
  1163. font/devlatin1/R.proto, font/devhtml/R.proto,
  1164. font/devcp1047/R.proto, font/devlpb/*: Add them.
  1165. * font/devps/generate/textmap: Ditto.
  1166. * font/devps/*: Regenerated.
  1167. * font/devlj4/generate/text.map: Add them.
  1168. * font/devlj4/*: Regenerated.
  1169. * font/devdvi/generate/tc.map: Use them.
  1170. * font/devdvi/generate/texsy.map: Add them.
  1171. * font/devdvi/*: Regenerated.
  1172. * font/devX*/*: Regenerated.
  1173. * tmac/latin1.tmac, tmac/cp1047.tmac, tmac/tty.tmac,
  1174. tmac/tty-char.tmac: Updated.
  1175. * NEWS, man/groff_char.man: Updated.
  1176. 2002-03-24 Werner LEMBERG <wl@gnu.org>
  1177. * tmac/dvi.tmac, tmac/X.tmac, tmac/ps.tmac, tmac/html.tmac,
  1178. tmac/lj4.tmac, tmac/tty.tmac: Replace most `.char' with `.fchar'.
  1179. * tmac/ec.tmac: Remove `.rchar' calls (no longer necessary since
  1180. we use `.fchar' in dvi.tmac.
  1181. * tmac/dvi.tmac: Improve definition of \[Fo] and \[Fc].
  1182. * tmac/Xps.tmac: Simplify some char definitions.
  1183. Add definition for \[f/].
  1184. * man/groff_char.man: Updated for new X.tmac.
  1185. * tmac/README: New file.
  1186. 2002-03-23 Phil Lobbes <phil@perkpartners.com>
  1187. * Makefile.comm (.y.o): New rule for make on Solaris 2.5.1 -- the
  1188. internal .y.o rule took precendence over the .y.cc rule, compiling
  1189. the yacc files with gcc instead of g++.
  1190. 2002-03-23 Werner LEMBERG <wl@gnu.org>
  1191. * tmac/dvi.tmac: Add replacement font for `CB'.
  1192. * tmac/doc.tmac: s/request/macro/ in messages.
  1193. (doc-generic-macro): Improve error message.
  1194. * tmac/groff_mdoc.man: Minor improvements.
  1195. 2002-03-22 Werner LEMBERG <wl@gnu.org>
  1196. * doc/groff.texinfo: Document possible conflict between `tr' and
  1197. `char' requests.
  1198. 2002-03-21 Werner LEMBERG <wl@gnu.org>
  1199. Improve handling of hyphenation patterns. It is now possible to
  1200. use most of TeX's pattern files unmodified. To make the process
  1201. more flexible, a new request `hpfcode' has been added which
  1202. provides a character code mapping for the `hpf' request. See
  1203. comment before hpf_getc() for more details.
  1204. * src/roff/troff/env.cc (insert_hyphenation, hpf_getc): New
  1205. functions.
  1206. (read_patterns_file): Additional parameter for exception dictionary.
  1207. Extended to recognize \pattern, \hyphenation, and \endinput.
  1208. (do_hyphenation_patterns_file): Updated.
  1209. * src/roff/troff/env.h (hpf_code_table): New extern.
  1210. * src/roff/troff/input.cc (hpf_code_table): New array.
  1211. (init_hpf_code_table, hyphenation_patterns_file_code): New
  1212. functions.
  1213. (hyphenation_code): Handle translation from `trin' correctly.
  1214. (main, init_input_requests): Updated.
  1215. (charinfo::set_translation): Handle hyphenation code also.
  1216. * src/roff/troff/charinfo.h (charinfo::get_translation_input): New
  1217. inline function.
  1218. * src/roff/troff/env.cc (WORD_MAX): Reduced to 256 since `unsigned
  1219. char' is used for offsets in hyphenation exceptions.
  1220. * tmac/hyphen.us: Replace with contents of unmodified `hyphen.tex'.
  1221. * NEWS, man/groff_diff.man, man/groff.man: Document it.
  1222. 2002-03-20 Larry Kollar <kollar@alltel.net>
  1223. * doc/groff.texinfo: Add documentation for `hpfa' and `trin'
  1224. requests.
  1225. 2002-03-18 Werner LEMBERG <wl@gnu.org>
  1226. * tmac/html.tmac: Fix serious typo.
  1227. 2002-03-17 Larry Kollar <kollar@alltel.net>
  1228. * doc/groff.texinfo: Add documentation for `writec' request.
  1229. 2002-03-17 Werner LEMBERG <wl@gnu.org>
  1230. Added request `hpfa' to append hyphenation patterns.
  1231. * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
  1232. parameter `append'.
  1233. (hyphenation_patterns_file): Renamed to...
  1234. (do_hyphenation_patterns_file): This.
  1235. (hyphenation_patterns_file, hyphenation_patterns_file_append): New
  1236. functions.
  1237. (init_hyphen_requests): Updated.
  1238. * NEWS, man/groff.man, man/groff_diff.man: Document it.
  1239. 2002-03-16 Werner LEMBERG <wl@gnu.org>
  1240. Added request `writec' in analogy to `tmc'.
  1241. * src/roff/troff/input.cc (write_request): Renamed to...
  1242. (do_write_request): This.
  1243. Added one parameter.
  1244. (write_request, write_request_continue): New functions.
  1245. (init_input_requests): Updated.
  1246. * NEWS, man/groff.man, man/groff_diff.man: Document it.
  1247. * font/devdvi/DESC.in (sizes): Allow all sizes in the range
  1248. 5-10000pt.
  1249. * NEWS: Document it.
  1250. 2002-03-15 Werner LEMBERG <wl@gnu.org>
  1251. * man/groff.man: Add writem request.
  1252. Add request `trin' (translate input) to make `.asciify' work
  1253. correctly. This is necessary since `charXXX' entity names are no
  1254. longer hardcoded in font definition files.
  1255. * src/roff/troff/charinfo.h (charinfo): Add `asciify_code' and
  1256. `translate_input' members.
  1257. (charinfo::set_asciify_code, charinfo::get_asciify_code,
  1258. charinfo::set_translation_input): New methods.
  1259. (charinfo::set_translation): Add third argument.
  1260. * src/roff/troff/input.cc (charinfo:set_translation): Set
  1261. `asciify_code'.
  1262. (do_translate): Add second argument.
  1263. (translate_input): New function.
  1264. (init_input_requests): Updated.
  1265. * src/roff/troff/node.cc (glyph_node::asciify,
  1266. composite_node::asciify): Use `get_asciify_code'.
  1267. * tmac/cp1047.tmac, tmac/latin1.tmac: Use `trin'.
  1268. * NEWS, man/groff.man, man/groff_diff.man: Updated.
  1269. 2002-03-14 Larry Kollar <kollar@alltel.net>
  1270. * doc/groff.texinfo: Improve documentation of .RS and .RE.
  1271. 2002-03-14 Werner LEMBERG <wl@gnu.org>
  1272. Add a new request `sizes' similar to the `sizes' command in DESC
  1273. files.
  1274. * src/roff/troff/env.cc (override_sizes): New function.
  1275. (init_env_requests): Use it.
  1276. * src/roff/troff/token.h: Export `read_string'.
  1277. * NEWS, man/groff_diff.man, man/groff.man: Document it.
  1278. 2002-03-12 Werner LEMBERG <wl@gnu.org>
  1279. * doc/groff.texinfo: More fixes for texinfo 4.1 and higher.
  1280. 2002-03-10 Werner LEMBERG <wl@gnu.org>
  1281. * tmac/pspic.tmac: Add support for -Tdvi.
  1282. * tmac/dvi.tmac: Include pspic.tmac.
  1283. * src/devices/grodvi/grodvi.man: Document it.
  1284. * NEWS: Updated.
  1285. * font/devlj4/generate/Makefile: Fix URL of metric files.
  1286. 2002-03-09 Werner LEMBERG <wl@gnu.org>
  1287. * PROBLEMS: The static constructor bug has been fixed in z/OS V1R3.
  1288. 2002-03-09 Larry Kollar <kollar@alltel.net>
  1289. * tmac/groff_ms.man: Add documentation for RS and RE macros.
  1290. 2002-03-08 Werner LEMBERG <wl@gnu.org>
  1291. * doc/groff.texinfo: Fixes for texinfo 4.1.
  1292. 2002-03-07 Werner LEMBERG <wl@gnu.org>
  1293. * src/include/lib.h: Include getopt.h if groff-getopt.h can't be
  1294. included.
  1295. Handle CYGWIN properly.
  1296. 2002-03-07 Paco Andrés Verdú <pandres@dragonet.es>
  1297. * font/devlbp/Makefile.sub (DEVFILES): Add some missing fonts.
  1298. * tmac/lbp.tmac: Add some font translations.
  1299. 2002-03-02 Werner LEMBERG <wl@gnu.org>
  1300. * font/devcp1047/R.proto, font/devlatin1/R.proto,
  1301. font/devhtml/R.proto: Remove `charXXX' entries.
  1302. * tmac/tty.tmac, tmac/html.tmac: Load latin1.tmac or cp1047.tmac
  1303. where appropriate.
  1304. * font/devlj4/generate/text.map: Remove `charXXX' entries.
  1305. * font/devlj4/*: Regenerated all font definition files.
  1306. * tmac/lj4.tmac: Load latin1.tmac.
  1307. * src/utils/hpftodit/hpftodit.cc (do_file): Partially undo change
  1308. from 2000-06-17: LJ4 metric files are *not* text files.
  1309. * tmac/troffrc, tmac/dvi.tmac, tmac/ps.tmac: Don't use .T string
  1310. register to test for EBCDIC.
  1311. 2002-03-01 Werner LEMBERG <wl@gnu.org>
  1312. * src/utils/afmtodit/afmtodit.pl: Skip comment lines in encoding
  1313. files (as grops already does).
  1314. * src/utils/afmtodit/afmtodit.man: Document comment lines in map
  1315. files.
  1316. * src/devices/grops/grops.man: Document comment lines in encoding
  1317. files.
  1318. * tmac/cp1047.tmac: New file.
  1319. * tmac/dvi.tmac, tmac/tty-char.tmac: Use it.
  1320. * tmac/ps.tmac: Load latin1.tmac or cp1047.tmac.
  1321. * tmac/Makefile.sub (NORMALFILES): Updated.
  1322. * tmac/ec.tmac: Don't load latin1.tmac again.
  1323. * font/devps/generate/lgreekmap, font/devps/generate/symbolchars,
  1324. font/devps/generate/dingbats.map,
  1325. font/devps/generate/dingbats.rmap, font/devps/text.enc,
  1326. font/devps/generate/Makefile (symbolmap): Add header comment.
  1327. * font/devps/generate/textmap: Ditto.
  1328. Remove `charXXX' entries.
  1329. * font/devps/symbolmap: Regenerated.
  1330. * font/devps/*: Regenerated all font definition files.
  1331. 2002-02-28 Werner LEMBERG <wl@gnu.org>
  1332. Add color support to grodvi (for drawing colors are currently
  1333. translated to gray values).
  1334. * src/devices/grodvi/dvi.cc (FILL_MAX): Removed.
  1335. (dvi_printer): Add `cur_color' member.
  1336. (dvi_printer::set_color): New function.
  1337. (draw_dvi_printer): Remove `fill'.
  1338. (draw_dvi_printer::fill_next): Pass environment as parameter.
  1339. Update code for new color support translated to gray.
  1340. (dvi_printer::set_char): Updated.
  1341. (dvi_printer::begin_page, dvi_printer::end_page): Handle color
  1342. changes crossing the page border.
  1343. (dvi_printer::draw): Updated.
  1344. Remove cases `f' and `F'.
  1345. * tmac/dvi.tmac: Add color definitions.
  1346. * NEWS, src/devices/grodvi/grodvi.man: Updated.
  1347. * tmac/an-old.tmac (R): Make this a macro to emit a warning if
  1348. used incorrectly.
  1349. * aclocal.m4 (GROFF_NEED_DECLARATION): Use test similar to recent
  1350. versions of autoconf.
  1351. * configure: Updated.
  1352. * doc/homepage.ms: Use `.blm'.
  1353. * tmac/www.tmac (www-depth): New auxiliary variable.
  1354. (www-pop-level): Don't issue HTML tag.
  1355. (ULS, ULE, LI): Use absolute indentation.
  1356. * src/devices/grops/ps.cc (ps_printer::begin_page,
  1357. ps_printer::end_page): Switch forth and back to default color while
  1358. starting a new page.
  1359. 2002-02-27 Werner LEMBERG <wl@gnu.org>
  1360. Add EC and TC fonts to devdvi.
  1361. * src/utils/tfmtodit/tfmtodit.man: Document patching of exbase.mf.
  1362. * font/devdvi/generate/cork.map: Renamed to...
  1363. * font/devdvi/generate/ec.map: This.
  1364. Remove entry for `aq'.
  1365. * font/devdvi/generate/tc.map: New file.
  1366. * font/devdvi/generate/Makefile (*EC, *TC): New creation rules for
  1367. EC and TC fonts.
  1368. (FONTS): Updated.
  1369. * font/devdvi/*EC, font/devdvi/*TC: New font definition files.
  1370. * font/devdvi/Makefile.sub (DEVFILES): Updated.
  1371. * tmac/ec.tmac: New file.
  1372. * tmac/Makefile.sub (NORMALFILES): Updated.
  1373. * NEWS, src/devices/grodvi/grodvi.man: Updated.
  1374. * man/groff_char.man: Check `ECFONTS' register.
  1375. * font/devdvi/{TR,TI,TB,TBI,HR}: Fix `name' field.
  1376. 2002-02-26 Werner LEMBERG <wl@gnu.org>
  1377. * font/devdvi/generate/*.map: Remove all `charXXX' entries.
  1378. * font/devdvi/generate/cork.map: Add 'y and 'Y.
  1379. * font/devdvi/*: Updated.
  1380. * tmac/dvi.tmac: Formatting.
  1381. Add font `HBI' for the dvi output.
  1382. Add support for font families `T' and `H'.
  1383. * font/devdvi/HBI: New file.
  1384. * font/devdvi/B: Renamed to ...
  1385. * font/devdvi/TB: This.
  1386. * font/devdvi/BI: Renamed to ...
  1387. * font/devdvi/TBI: This.
  1388. * font/devdvi/I: Renamed to ...
  1389. * font/devdvi/TI: This.
  1390. * font/devdvi/R: Renamed to ...
  1391. * font/devdvi/TR: This.
  1392. * font/devdvi/H: Renamed to ...
  1393. * font/devdvi/HR: This.
  1394. * font/devdvi/Makefile.sub (DEVFILES): Updated.
  1395. * font/devdvi/generate/Makefile (HBI): New rule.
  1396. (FONTS): Updated.
  1397. (R, I, B, BI, H): Renamed to ...
  1398. (TR, TI, TB, TBI, HR): This, respectively.
  1399. (srcdir): Fixed.
  1400. * NEWS, src/devices/grodvi/grodvi.man: Updated.
  1401. * font/devdvi/DESC.in: Don't mount R, I, B, BI, and CWI.
  1402. Add `styles' and `family' keywords.
  1403. * tmac/dvi.tmac: Alias `H' to `HR'.
  1404. Add some fspecial requests for italic fonts.
  1405. Add TR and TI as special.
  1406. Add support for `_' with font CWI.
  1407. * src/roff/troff/number.cc (parse_expr): Add missing `break' for
  1408. operator `:'. Until now, the expression `0:1' would return 2
  1409. instead of 1.
  1410. 2002-02-25 Werner LEMBERG <wl@gnu.org>
  1411. * man/groff_char.man: Added some missing PS glyph names (from the
  1412. Adobe Glyph List).
  1413. * font/devps/generate/textmap, font/devps/symbolmap: Add
  1414. `arrowupdn'.
  1415. * doc/groff.texinfo: Minor additions and fixes.
  1416. * man/groff_diff.man: Remove documentation of fp request. This
  1417. is already covered in the original troff manual.
  1418. Updated to be consistent with other doc files.
  1419. * NEWS: Updated.
  1420. 2002-02-24 Werner LEMBERG <wl@gnu.org>
  1421. * aclocal.m4 (GROFF_EBCDIC): Don't include `font/devutf8' in
  1422. TTYDEVDIRS.
  1423. Define new variable OTHERDEVDIRS (containing `font/devlj4
  1424. font/devlbp' if not EBCDIC).
  1425. * Makefile.in (TTYDEVDIRS): Always include `font/devutf8'.
  1426. (OTHERDEVDIRS): New variable.
  1427. (MDEFINES, DEVDIRS, ALLDIRS, DISTDIRS): Updated.
  1428. * configure: Regenerated.
  1429. * NEWS, src/devices/grotty/grotty.man: Updated.
  1430. 2002-02-23 Werner LEMBERG <wl@gnu.org>
  1431. * src/roff/troff/input.cc (do_overstrike, do_bracket,
  1432. get_line_arg): Honour input level.
  1433. Add new symbol `mc' corresponding to U+00B5 MICRO SIGN.
  1434. * font/*/*: Implement it in all font files.
  1435. * font/devps/generate/textmap, font/devps/generate/symbolchars,
  1436. * font/devps/symbolmap: Updated.
  1437. * font/devlj4/generate/text.map: Updated.
  1438. * font/devdvi/generate/CompileFonts (sizes): Add LaTeX sizes.
  1439. * font/devdvi/generate/texmi.map: Updated.
  1440. * font/devutf8/R.proto: Remove all `charXXX' entries.
  1441. * font/devutf8/NOTES: Updated.
  1442. * font/devX*/*: Regenerated with xtotroff, using fonts from XFree86
  1443. version 4.1.0.
  1444. * tmac/latin1.tmac, tmac/psold.tmac, tmac/tty-char.tmac: Updated.
  1445. * NEWS, man/groff_char.man: Updated.
  1446. 2002-02-21 Phil Lobbes <phil@perkpartners.com>
  1447. * src/include/lib.h [HAVE_SNPRINTF]: Include stdarg.h.
  1448. 2002-02-20 Ralph Corderoy <ralph@inputplus.demon.co.uk>
  1449. * src/roff/grog/grog.pl: Fix computation of $refer.
  1450. 2002-02-19 Werner LEMBERG <wl@gnu.org>
  1451. * src/include/lib.h [!HAVE_SNPRINTF]: Add declarations for
  1452. `snprintf' and `vsnprintf'.
  1453. * src/include/htmlindicate.h: Renamed to...
  1454. * src/include/htmlhint.h: This.
  1455. * src/include/Makefile.sub: Updated.
  1456. * src/preproc/eqn/main.cc: Updated.
  1457. 2002-02-18 Werner LEMBERG <wl@gnu.org>
  1458. * man/roff.man, man/groff_out.man, man/groff.man,
  1459. man/groff_diff.man, man/ditroff.man, src/roff/groff/groff.man,
  1460. src/roff/troff/troff.man: Updated to latest changes in www.tmac.
  1461. * win32-diffs: Updated.
  1462. 2002-02-17 Werner LEMBERG <wl@gnu.org>
  1463. * doc/Makefile (clean): Add *.eps.
  1464. (MEMACROS): Removed.
  1465. (TFLAG): New variable.
  1466. (TROFF): Use it.
  1467. Add -ww.
  1468. (GROFF): Use TFLAG, FFLAG, -U, -p, -e, -t, and -ww.
  1469. (.me.dit): Fixed.
  1470. (.ms.html, .ms.ascii, .ms.ps, homepage.html): Simplify.
  1471. * tmac/www.tmac: Use dummy diversion while resetting and disabling
  1472. `.tl'.
  1473. * tmac/e.tmac: Inserted some more `\"' to remove warnings if used
  1474. unstripped.
  1475. * src/roff/troff/troff.man: Fix order of parameter description.
  1476. * NEWS: Updated.
  1477. 2002-02-16 Gaius Mulley <gaius@glam.ac.uk>
  1478. Simplify image handling for grohtml.
  1479. Fix <p> bug.
  1480. * src/devices/grohtml/html-text.cc (DEBUGGING): Don't undefine but
  1481. comment out.
  1482. (html_text::dump_stack): Don't emit newline while debugging.
  1483. (html_text::do_push) [DEBUGGING]: Print more info.
  1484. (html_text::check_emit_text): Fix handling of <p>.
  1485. * src/devices/grohtml/html.h: Updated.
  1486. * src/devices/grohtml/output.cc (FPUTC, FPUTS, PUTC): New macros,
  1487. replacing `fputc', `fputs', `putc'. If DEBUGGING is defined, they
  1488. send its data to stderr also.
  1489. Update all callers.
  1490. (simple_output::space_or_newline) [DEBUGGING]: Removed.
  1491. * src/devices/grohtml/post-html.cc (html_printer::do_links,
  1492. html_printer::html_printer): Remove `DEBUGGING' conditionals.
  1493. * src/include/html-strings.h (HTML_IMAGE_{CENTERED,LEFT,RIGHT,END}):
  1494. Removed.
  1495. * src/libs/libgroff/htmlhint.cc (is_in_graphic_start,
  1496. is_inline_image): Removed.
  1497. (html_begin_suppress, html_end_suppress): Don't take a parameter.
  1498. (graphic_start, graphic_end): Removed.
  1499. * src/include/htmlindicate.h: Updated.
  1500. * src/preproc/html/pre-html.cc (DEBUG_HTML): Removed.
  1501. (macroset_template): New global variable.
  1502. (makeFileName): Use `macroset_template'.
  1503. (write_end_image): Don't take a parameter.
  1504. Don't emit newline.
  1505. (write_start_image: Don't emit newline.
  1506. (char_buffer::write_upto_newline): Updated.
  1507. (char_buffer::skip_to_newline): Renamed to ...
  1508. (char_buffer::skip_until_newline): This.
  1509. Fix code.
  1510. (char_buffer::write_file_troff, char_buffer::write_file_html):
  1511. Simplified.
  1512. (createAllPages, createImage) [DEBUGGING]: Handle `debug' flag.
  1513. (removeAllPages): Remove `DEBUGGING' conditionals.
  1514. (addRegDef, dump_args): New functions.
  1515. (char_buffer::do_html, char_buffer::do_image): Handle
  1516. `www-image-template' command line variable.
  1517. Add more debugging code.
  1518. (addps4html): Removed.
  1519. (removeTempFiles) [DEBUGGING]: Handle `debug' flag.
  1520. * src/preproc/eqn/main.cc: Include `ctype.h'.
  1521. (suppress_html): Removed.
  1522. (do_file): Updated.
  1523. (inline_equation): Use `html_begin_suppress' and
  1524. `html_end_suppress'.
  1525. * src/preproc/pic/troff.cc: Don't include `htmlindicate.h'.
  1526. (troff_output::start_picture, troff_output::finish_picture):
  1527. Updated.
  1528. * src/preproc/tbl/main.cc: Don't include `htmlindicate.h'.
  1529. (process_input_file): Updated.
  1530. * src/roff/troff/div.cc (page_number): Set page number only if the
  1531. `ps4html' register isn't defined.
  1532. * src/roff/troff/input.cc (image_no): New external variable.
  1533. (do_suppress): Use it.
  1534. * src/roff/troff/node.h (suppress_node::image_id): New member.
  1535. * src/roff/troff/node.cc (image_no): Remove `static' keyword.
  1536. (suppress_node::suppress_node): Initialize `image_id' member.
  1537. (suppress_node::same): Handle `image_id' also.
  1538. (suppress_node::copy): Updated.
  1539. (last_image_id): New global variable.
  1540. (suppress_node::tprint): Use it.
  1541. * tmac/an-old.tmac (TS, TE, EQ, EN): Use HTML-IMAGE and
  1542. HTML-IMAGE-END.
  1543. * tmac/pspic.mac (PSPIC): Fix html support.
  1544. * tmac/s.tmac (@EQ, @EN, @TS, TE, PS, PE): Ditto.
  1545. * tmac/www.tmac (www-image-template): Set up.
  1546. (HTMLINDEX): Renamed to...
  1547. (HX): This.
  1548. (BODYCOLOR): Renamed to...
  1549. (BCL): This.
  1550. (BACKGROUND): Renamed to...
  1551. (BGIMG): This.
  1552. (URL): Change order of parameters for consistency.
  1553. (MAILTO): Renamed to...
  1554. (MTO): This.
  1555. (IMAGE, PNG-IMAGE, MARGIN-PNG-IMAGE): Renamed to...
  1556. (IMG, PIMG, MPIMG): This.
  1557. (HTML-H-BEGIN, HTML-H-END): Renamed to...
  1558. (HnS, HnE): This.
  1559. (LINKS): Renamed to...
  1560. (LK): This.
  1561. (LINE): Renamed to...
  1562. (HR): This.
  1563. (NO-AUTO-RULE): Renamed to...
  1564. (NHR): This.
  1565. (HTML-TL): Renamed to...
  1566. (HTL): This.
  1567. (UL-BEGIN, UL-END): Renamed to...
  1568. (ULS, ULE): This.
  1569. (DROPCAP): Renamed to...
  1570. (DC): This.
  1571. (TS, TE, EQ, EN): Provide default definitions.
  1572. (www-make-unique-name): Updated.
  1573. (HTML-IMAGE-INLINE): Fix typo.
  1574. * tmac/groff_www.man: Updated.
  1575. * doc/Makefile (homepage.html): Add option -r to grohtml.
  1576. Use shortened image name.
  1577. * doc/groff.texinfo: Updated info on grohtml strings and macros.
  1578. * doc/homepage.ms: Updated and extended.
  1579. 2002-02-14 Werner LEMBERG <wl@gnu.org>
  1580. Don't use `CSI 39 m' and `CSI 49 m' but `CSI 0 m'.
  1581. * src/devices/grotty/tty.cc (SGR_DEFAULT_COLOR,
  1582. SGR_BACK_DEFAULT_COLOR): Replaced with ...
  1583. (tty_printer::put_color): Use it.
  1584. (ttr_printer::end_page): Simplify.
  1585. 2002-02-13 Werner LEMBERG <wl@gnu.org>
  1586. * tmac/groff_tmac.man: Moved to...
  1587. * man/groff_tmac.man: This place.
  1588. * tmac/Makefile.sub, man/Makefile.sub: Updated.
  1589. 2002-02-12 Werner LEMBERG <wl@gnu.org>
  1590. * src/libs/libgroff/Makefile.sub (snprintf.o): Don't use
  1591. $(COMPILE.c) to not include groff's assert.h.
  1592. * src/drivers/grotty/tty.cc (main): Add GROFF_NO_SGR environment
  1593. variable.
  1594. * NEWS, src/drivers/grotty/grotty.man: Document it.
  1595. 2002-02-11 Werner LEMBERG <wl@gnu.org>
  1596. * src/libs/snprintf/snprintf.c: Updated to latest version
  1597. (2002-02-11).
  1598. * src/roff/grog/grog.pl (process): Fix handling of `.['. We now
  1599. test whether there is `.]' also.
  1600. Don't check for spaces after `.['.
  1601. * src/roff/grog/grog.sh: Do the same.
  1602. 2002-02-10 Werner LEMBERG <wl@gnu.org>
  1603. Illegal -> Invalid.
  1604. * src/libs/libgroff/illegal.cc: Renamed to ...
  1605. * src/libs/libgroff/invalid.cc: This.
  1606. (illegal_char_table): Renamed to ...
  1607. (invalid_char_table): This.
  1608. * src/libs/libgroff/Makefile.sub: Updated.
  1609. * win32-diffs: Updated.
  1610. * doc/groff.texinfo, src/devices/grops/psrm.cc (ps_get_line),
  1611. src/libs/libdriver/input.cc (fatal_command, parse_color_command,
  1612. parse_x_command), src/libs/libgroff/font.cc (text_file::next,
  1613. font::load), src/preproc/eqn/main.cc (read_line, main),
  1614. src/preproc/eqn/lex.cc (file_input::read_line),
  1615. src/preproc/pic/lex.cc (file_input::read_line,
  1616. simple_file_input::get, simple_file_input::peek),
  1617. src/preproc/pic/main.cc (top_input::get, top_input::peek),
  1618. src/preproc/pic/pic.man, src/preproc/refer/main.cc
  1619. (input_stack::push_file), src/preproc/refer/refer.cc (do_file,
  1620. do_bib), src/preproc/tbl/main.cc (table_input::get),
  1621. src/preproc/grn/grn.man, src/preproc/grn/main.cc (interpret),
  1622. src/roff/troff/input.cc (file_iterator::fill, file_iterator::peek,
  1623. do_zero_width, read_request, encode_char, ps_get_line,
  1624. transparent_file, get_char_for_escape_name, transparent_translate,
  1625. asciify, input_char_description, read_string, set_string),
  1626. src/roff/troff/env.cc (environment::add_html_tag),
  1627. src/roff/troff/troff.man, tmac/e.tmac (`@(', `(f'): Do it.
  1628. * src/include/lib.h: Updated.
  1629. * src/preproc/eqn/eqn.cc: Removed.
  1630. * NEWS: Updated.
  1631. * src/preproc/grn/hdb.cc (DBRead): Fix fscanf() fields.
  1632. 2002-02-09 Werner LEMBERG <wl@gnu.org>
  1633. * doc/gnu.xpm: New image.
  1634. * doc/Makefile (DOCS): Add homepage.ps.
  1635. Add rules for converting xpm->png and xpm->eps.
  1636. Use `gnu.{xpm,eps}' as image names.
  1637. * doc/homepage.ms: Updated.
  1638. 2002-02-09 Gaius Mulley <gaius@glam.ac.uk>
  1639. * tmac/www.tmac (www-error): New macro, replacing calls to `@error'.
  1640. (IMAGE): Change image position parameters to `-L', `-R', and `-C'.
  1641. Remove calls to `B1' and `B2'
  1642. (PNG-IMAGE): New macro for inclusion of images in PNG format.
  1643. (www-left-ll-trap, www-left-po-trap, www-right-ll-trap): New
  1644. auxiliary variables for MARGIN-PNG-IMAGE.
  1645. (www-finish-left-po, www-finish-right-ll, www-finish-left-ll): New
  1646. auxiliary macros for MARGIN-PNG-IMAGE.
  1647. (MARGIN-PNG-IMAGE): New macro to put an image in PNG format into
  1648. the margin.
  1649. (www-heading-no): New auxiliary variable for HTML-H-{BEGIN,END}.
  1650. (HTML-H-BEGIN, HTML-H-END): New macros to begin and end a heading.
  1651. (DROPCAP): New macro to produce dropcap characters.
  1652. (www-do-image): Renamed back to...
  1653. (HTML-DO-IMAGE): This.
  1654. Updated all callers.
  1655. * doc/Makefile (gnubw.eps): Updated.
  1656. * doc/homepage.ms: Updated.
  1657. 2002-02-08 Werner LEMBERG <wl@gnu.org>
  1658. * doc/pic.ms: Fixed typos (\(*tx -> \*(tx).
  1659. Added `linethick' to table in section `Style Variables'.
  1660. 2002-02-08 Gaius Mulley <gaius@glam.ac.uk>
  1661. * src/libs/libdriver/input.cc (get_extended_arg): Fix conditional.
  1662. 2002-02-07 Werner LEMBERG <wl@gnu.org>
  1663. Adding options -C (compatibility mode) and -c (grotty's old output
  1664. scheme) to nroff.
  1665. * src/roff/nroff/nroff.sh: Implement it.
  1666. Remove `-Wall'.
  1667. * NEWS, src/roff/nroff/nroff.man: Updated.
  1668. * PROBLEMS: Document bison 1.32 bug.
  1669. Some fixes to make groff compile on z/OS 1.2 UNIX (was OS/390).
  1670. * src/roff/troff/node.cc (make_tfont): Define it earlier.
  1671. * src/roff/troff/div.h: Add prototype for `end_diversions'.
  1672. * src/roff/troff/input.cc: Add prototype for `process_input_stack'.
  1673. * src/roff/troff/env.h: Add prototype for `title'.
  1674. Adding EBCDIC support to grotty.
  1675. * src/devices/grotty/tty.cc (CSI): New macro.
  1676. (SGR_*, tty_printer::put_color): Use it.
  1677. 2002-02-06 Werner LEMBERG <wl@gnu.org>
  1678. Implementing color support in grotty. The new switch -c activates
  1679. the old drawing scheme, disabling color at the same time. The new
  1680. switch `-i' selects italic instead of underlining (SGR only).
  1681. * src/devices/grotty/tty.cc (putstring): New define instead of
  1682. `fputs'. Updated all callers.
  1683. (old_drawing_scheme): New global variable.
  1684. (COLOR_CHANGE): New enum value.
  1685. (SGR_*): New defines containing color handling escape sequences.
  1686. (TTY_MAX_COLORS, DEFAULT_COLOR_IDX): New defines.
  1687. (glyph): New members `back_color_idx' and `fore_color_idx'.
  1688. (glyph::order): Add COLOR_CHANGE.
  1689. (tty_printer): New members `cur_fore_idx', `curr_back_idx',
  1690. `is_underline', `is_bold', `cu_flag', `tty_colors'.
  1691. New methods `make_underline', `make_bold', `color_to_idx',
  1692. `change_color', `put_color'.
  1693. (cu_flag): Moved into `tty_printer' class.
  1694. (tty_printer::tty_printer): Initialize colors.
  1695. (tty_printer::add_char, tty_printer::set_char, tty_printer::special,
  1696. tty_printer::draw, tty_printer::end_page): Handle colors also.
  1697. (main): Add options `-c' and `-i'.
  1698. (usage): Updated.
  1699. * NEWS, src/devices/grotty/grotty.man: Updated.
  1700. * src/include/errarg.h (errarg): Add support for `unsigned int'.
  1701. * src/libs/libgroff/errarg.c: Implement it.
  1702. * src/include/printer.h (printer): Add `change_color' method
  1703. (currently used by grotty only).
  1704. * src/libs/libdriver/printer.cc: Implement it.
  1705. * src/libs/libdriver/input.cc (parse_D_command, do_file): Add
  1706. call to `pr->change_color'.
  1707. * src/roff/troff/node.cc (troff_output_file::fill_color,
  1708. troff_output_file::glyph_color): Call `do_motion'.
  1709. * tmac/tty.tmac: Add color definitions.
  1710. * src/roff/groff/groff.man: Minor fixes.
  1711. 2002-02-05 Bernd Warken <bwarken@mayn.de>
  1712. * src/libs/libdriver/input.cc: Introduce `EnvInt' typedef and use
  1713. it. This is a preparation for future changes.
  1714. 2002-02-05 Werner LEMBERG <wl@gnu.org>
  1715. * src/roff/troff/input.cc (process_input_stack): Fix the case
  1716. where leading spaces are followed by \f or \s; previously, an
  1717. incorrect space width has been used.
  1718. * doc/roff.man (quoted_char): Fix argument.
  1719. (comment): Define string.
  1720. 2002-02-04 Larry Kollar <kollar@alltel.net>
  1721. * doc/groff.texinfo: More fixes.
  1722. 2002-02-04 Werner LEMBERG <wl@gnu.org>
  1723. * src/preproc/eqn/box.cc (output_string): Don't use \\*[...].
  1724. * src/preproc/eqn/main.cc (do_file, inline_equation): Call
  1725. `restore_compatibility' before `output_string' -- the LINE_STRING
  1726. register now already contains proper switches from and to
  1727. compatibility mode.
  1728. * man/groff_char.man: Add Euro symbol.
  1729. * man/groff_diff.man: Improve documentation of `.am1' and `.as1'.
  1730. * tmac/tty.tmac: Add `EUR' as replacement for `eu' and `Eu'.
  1731. * doc/groff.texinfo (Defstr*): Print strings with full syntax.
  1732. Other minor fixes.
  1733. * doc/Makefile (.SUFFIXES, .texinfo.pdf, clean): Add support for
  1734. texinfo->pdf.
  1735. (.texinfo.html): Add support for texinfo->html.
  1736. 2002-02-03 Werner LEMBERG <wl@gnu.org>
  1737. Added three new requests `ds1', `as1', and `ami'. The former two
  1738. are equivalent to `ds' and `as' with the difference that
  1739. compatibility mode is saved on entry, switched off during string
  1740. expansion, and restored on exit. The latter is the pendant to `dei'
  1741. for `am'.
  1742. (do_define_string): Use `define_mode' and `calling mode'.
  1743. Insert COMPATIBLE_SAVE and COMPATIBLE_RESTORE at the beginning and
  1744. end of string, respectively.
  1745. (define_string, append_string): Use `calling_mode'.
  1746. (define_nocomp_string, append_nocomp_string,
  1747. define_string_indirect): New functions.
  1748. (init_input_requests): Updated.
  1749. * NEWS, man/groff_diff.man, man/groff.man: Document it.
  1750. * src/preproc/eqn/box.cc (box::top_level, box::extra_space): Use
  1751. `as1' for assigning LINE_STRING (this is `10' usually). Sun's
  1752. mm macro package accesses this string register directly.
  1753. * src/preproc/eqn/main.cc (inline_equation): Use `as1'.
  1754. * tmac/trace.tmac: Trace calls to `am' also. Make it work in
  1755. compatibility mode.
  1756. 2002-02-02 Larry Kollar <kollar@alltel.net>
  1757. * doc/groff.texinfo, tmac/groff_ms.man: More fixes.
  1758. 2002-01-31 Werner LEMBERG <wl@gnu.org>
  1759. * tmac/an-old.tmac (I): Use \, and \/ to improve spacing.
  1760. 2002-01-31 Bernd Warken <bwarken@mayn.de>
  1761. * src/devices/grolbp/lbp.cc (main): Delete `pr'.
  1762. * man/groff_out.man: Revised and updated.
  1763. 2002-01-30 Bernd Warken <bwarken@mayn.de>
  1764. * src/libs/libdriver/input.cc [USE_ENV_STACK]: New macro to comment
  1765. out the unused `{' and `}' commands. Undefined by default.
  1766. (IntArray): Make `data' private.
  1767. (IntArray::operator[], IntArray::get_data, IntArray::len): Use these
  1768. new methods instead.
  1769. (skip_line_D, skip_to_end_of_line): New functions.
  1770. (get_D_fixed_args): Use `skip_line_D'.
  1771. Changed to handle dummy odd arguments by ...
  1772. (get_D_fixed_args_odd_dummy): This new function.
  1773. (get_D_variable_args): Split some code into ...
  1774. (get_possibly_integer_args): This new function.
  1775. (send_draw): Use more `const'.
  1776. (delete_current_env): New function.
  1777. (position_to_end_of_args): Use `size_t'.
  1778. Updated.
  1779. (send_draw): Updated.
  1780. (parse_D_command): Handle `c', `C', and `t' better.
  1781. Updated.
  1782. (do_file): Updated.
  1783. 2002-01-29 Werner LEMBERG <wl@gnu.org>
  1784. * NEWS: Revised.
  1785. * doc/groff.texinfo: Introduce @Def...List, @Def...Item, and
  1786. @Def...ListEnd which replaces @Def...x. This is necessary to get
  1787. proper HTML output -- see the comment in the file for more
  1788. information.
  1789. Updated all calls.
  1790. 2002-01-29 Gaius Mulley <gaius@glam.ac.uk>
  1791. Fixes to make color changes of 2002-01-21 work with grohtml.
  1792. * src/devices/grohtml/post-html.cc (style): Updated.
  1793. (html_printer): Remove unused methods.
  1794. (html_printer::do_font, html_printer::draw, html_printer::set_char,
  1795. html_printer::special): Updated.
  1796. * src/devices/grohtml/html-text.cc (debugStack, turnDebug,
  1797. html_text::dump_stack_element, html_text::dump_stack) [DEBUGGING]:
  1798. Added some debugging code.
  1799. (html_text::start_tag): Updated.
  1800. (html_text::do_push): New method.
  1801. (html_text::push_para): Call it.
  1802. Add method for handling color.
  1803. (html_text::do_color): Updated.
  1804. (html_text::shutdown): Handle color.
  1805. * src/devices/grohtml/html-text.h (tag_definition): New member
  1806. `col'.
  1807. Updated.
  1808. 2002-01-28 Werner LEMBERG <wl@gnu.org>
  1809. * tmac/ps.tmac, tmac/html.tmac: Fix compatibility mode issues.
  1810. 2002-01-27 Gaius Mulley <gaius@glam.ac.uk>
  1811. Add two switches -a and -g to control the antialiasing bits for
  1812. text and graphics, respectively.
  1813. * src/devices/grohtml/post-html.cc (main): Dummy code for `-a' and
  1814. `-g'.
  1815. * src/devices/grohtml/grohtml.man: Document them.
  1816. * src/preproc/html/pre-html.cc (MIN_ALPHA_BITS, MAX_ALPHA_BITS):
  1817. New macros.
  1818. (textAlphaBits, graphicAlphaBits, antiAlias): New global variables.
  1819. (setupAntiAlias): New function.
  1820. (createAllPages): Updated.
  1821. (scanArguments): Handle `-a' and `-g'.
  1822. (main): Call `setupAntiAlias'.
  1823. * NEWS: Updated.
  1824. 2002-01-27 Werner LEMBERG <wl@gnu.org>
  1825. * doc/groff.texinfo (Def*): Call index function after deffn.
  1826. * tmac/html.tmac: Call `nroff' request.
  1827. 2002-01-26 Larry Kollar <kollar@alltel.net>
  1828. * tmac/groff_ms.man: Add some omissions.
  1829. 2002-01-25 Larry Kollar <kollar@alltel.net>
  1830. * tmac/groff_ms.man: Typographical improvements.
  1831. 2002-01-25 Werner LEMBERG <wl@gnu.org>
  1832. * doc/groff.texinfo: Updated version and copyright.
  1833. * src/devices/grops/grops.man: Updated.
  1834. * tmac/groff_tmac.man: Fix `ig' macro.
  1835. * tmac/an-old.tmac (ne): Redefine `ne' request to be a no-op in
  1836. nroff mode.
  1837. Use `.ne' unconditionally everywhere.
  1838. (TS): Only insert some vertical space. Doing a page break is no
  1839. longer necessary due to the redefinition of the `ne' request.
  1840. * src/libs/libdriver/input.cc (parse_D_command): Don't emit a
  1841. warning for unknown subcommands but parse and pass them to the
  1842. device driver.
  1843. 2002-01-24 Werner LEMBERG <wl@gnu.org>
  1844. * tmac/groff_www.man, NEWS: Fix typos.
  1845. 2002-01-21 Werner LEMBERG <wl@gnu.org>
  1846. Complete revision of color support:
  1847. Adapt programs to the new libdriver/input.cc.
  1848. Color spaces are no longer converted to RGB but transferred as-is
  1849. in the troff intermediate output format.
  1850. Handle default color gracefully. troff now supports a `default'
  1851. color (which can't be changed).
  1852. grops will now use the proper color space functions if available.
  1853. Update pic.
  1854. Note that currently grohtml doesn't handle colors properly. This
  1855. has to be fixed.
  1856. * src/libs/libgroff/itoa.c (UINT_DIGITS): New macro.
  1857. (ui_to_a): New function.
  1858. * src/include/lib.h: Updated.
  1859. * src/include/color.h (color_scheme): Replace `NONE' with `DEFAULT'.
  1860. (color): Simplified; removed all `double' members and methods.
  1861. A new array `components' now holds the color parameters.
  1862. (color::is_default, color::get_components): New methods.
  1863. (color::operator==, color:operator!=): New.
  1864. (Red, Green, Blue, Cyan, Magenta, Yellow, Black, Gray): New macros
  1865. to make access to the `components' array more comprehensible.
  1866. * src/libs/libgroff/color.cc: Implement new color support.
  1867. (atoh): Small fixes.
  1868. (color::read_encoding): Simplified for new troff intermediate color
  1869. output format.
  1870. (default_color): New global variable.
  1871. * src/roff/troff/input.cc (default_symbol): New global variable.
  1872. (lookup_color): Use it.
  1873. (default_black): Removed.
  1874. (do_glyph_color, do_fill_color): Simplified.
  1875. (define_color): Handle default color.
  1876. Improve warnings.
  1877. (do_if_request): Handle default color.
  1878. * src/roff/troff/env.cc (environment::environment): Initialize
  1879. colors with `default_color'.
  1880. * src/roff/troff/node.cc (troff_output_file::put): Add method
  1881. for `unsigned int'.
  1882. (troff_output_file::hex): Removed.
  1883. (troff_output_file::fill_color, troff_output_file::glyph_color):
  1884. Updated to include/color.h and libdriver/input.cc.
  1885. * src/preproc/pic/object.cc (draw_arrow): New parameter to set
  1886. fill color properly (identically to the outline color). \D'f...'
  1887. doesn't work any more.
  1888. All function calls to it updated.
  1889. * src/devices/grohtml/post-html.cc (html_printer::do_body, main):
  1890. Updated.
  1891. * src/devices/grohtml/html-text.cc (html_text::issue_color_begin):
  1892. Updated.
  1893. * src/devices/grops/ps.cc (ps_output::put_color): New method.
  1894. (ps_printer::sbuf_color): Make a real member instead of pointer.
  1895. (ps_printer::fill_color, ps_printer::output_color): Removed.
  1896. (ps_printer::ps_printer): Updated.
  1897. (ps_printer::set_char): Ditto.
  1898. (ps_printer::set_color): Use various color schemes.
  1899. Use `put_color' method.
  1900. (ps_printer::flush_sbuf): Don't set color.
  1901. (ps_printer::fill_path): Take `environment' as parameter.
  1902. Simplify color handling.
  1903. (ps_printer::set_line_thickness): Renamed to ...
  1904. (ps_printer::set_line_thickness_and_color): This (and updated).
  1905. (ps_printer::set_color): Change second parameter from `complete'
  1906. to `fill' which better describes what it does.
  1907. (ps_printer::draw): Call `flush_sbuf' to output graphic commands
  1908. and text in the right order.
  1909. Updated.
  1910. Remove branches for `f' and `F'; this is handled by
  1911. libdriver/input.cc.
  1912. * src/devices/grops/ps.h: Updated.
  1913. * font/devps/prologue (FL): Redefined.
  1914. ({F,C}r,k,g: New color functions (with and without filling).
  1915. * doc/pic.ms, src/preproc/pic/pic.man: Small fixes.
  1916. * man/groff_diff.man, man/groff.man, man/groff_out.man,
  1917. doc/groff.texinfo, NEWS: Updated.
  1918. 2002-01-20 Bernd Warken <bwarken@mayn.de>
  1919. * src/libs/libdriver/input.cc: Completely rewritten. See comments
  1920. in this file for what has been changed.
  1921. 2002-01-19 Werner LEMBERG <wl@gnu.org>
  1922. * test-groff: Fix GROFF_FONT_PATH.
  1923. * tmac/andoc.tmac: Add dummy macros for equation support -- eqnrc
  1924. is read before .TH or .Dd is parsed.
  1925. 2002-01-18 Gaius Mulley <gaius@glam.ac.uk>
  1926. * src/libs/libgroff/geometry.cc (check_output_arc_limits): Fix
  1927. quadrant boundaries.
  1928. 2002-01-18 Werner LEMBERG <wl@gnu.org>
  1929. * devices/grops/ps.cc: Aargh! Fix the fix of the incorrectly
  1930. applied last patch.
  1931. 2002-01-17 Ruslan Ermilov <ru@FreeBSD.org>
  1932. * tmac/doc.common: Initialize %I register for the %I macro to
  1933. avoid (harmless) warning.
  1934. * tmac/doc.tmac (Bd): There is no reason to enforce -compact
  1935. when in the SYNOPSIS section.
  1936. 2002-01-17 Bruno Haible <haible@clisp.cons.org>
  1937. * src/preproc/pic/lex.cc (get_token): Fix typo.
  1938. 2002-01-17 Werner LEMBERG <wl@gnu.org>
  1939. * devices/grops/ps.cc: Fix incorrectly applied last patch.
  1940. 2002-01-17 Larry Kollar <kollar@alltel.net>
  1941. * tmac/groff_ms.man: Completely rewritten.
  1942. 2002-01-16 Werner LEMBERG <wl@gnu.org>
  1943. * tmac/an-old.tmac (TS): Force break, inserting some vertical space.
  1944. 2002-01-15 Gaius Mulley <gaius@glam.ac.uk>
  1945. * devices/grops/ps.cc (ps_printer::fill_path): Fix handling of
  1946. fill colors.
  1947. (ps_printer::draw): Ditto.
  1948. 2002-01-14 Ruslan Ermilov <ru@FreeBSD.org>
  1949. * tmac/groff_mdoc.man: Minor fixes.
  1950. 2002-01-13 Werner LEMBERG <wl@gnu.org>
  1951. * man/groff_out.man: Some fixes.
  1952. 2002-01-13 Gaius Mulley <gaius@glam.ac.uk>
  1953. * doc/pic.ms: Fix typos.
  1954. 2002-01-12 Werner LEMBERG <wl@gnu.org>
  1955. * doc/groff.texinfo, doc/groff.man: More on a printable backslash.
  1956. 2002-01-10 Werner LEMBERG <wl@gnu.org>
  1957. * font/devutf8/R.proto, font/devhtml/R.prot: Add `Eu' and `eu'
  1958. symbols.
  1959. * NEWS: Updated.
  1960. 2002-01-09 Bernd Warken <bwarken@mayn.de>
  1961. * man/groff_out.man: Revised.
  1962. * man/roff.man: Minor fixes.
  1963. * src/roff/troff/troff.man: Some reordering.
  1964. 2002-01-09 Werner LEMBERG <wl@gnu.org>
  1965. * tmac/an-old.tmac: Add dummy macros for equation support.
  1966. 2002-01-07 Werner LEMBERG <wl@gnu.org>
  1967. doc/groff.texinfo: Fix documentation of glyph searching algorithm.
  1968. * tmac/an-old.tmac: Revert change 2001-12-23. This breaks too many
  1969. man pages.
  1970. * tmac/groff_man.man: Small improvements.
  1971. 2002-01-07 Bernd Warken <bwarken@mayn.de>
  1972. * man/groff_diff.man: Revised.
  1973. 2002-01-06 Werner LEMBERG <wl@gnu.org>
  1974. * tmac/www.tmac: Remove extraneous backslash.
  1975. 2002-01-06 Bernd Warken <bwarken@mayn.de>
  1976. * man/ditroff.man, src/roff/groff/groff.man, man/groff.man: Revised.
  1977. 2002-01-05 Werner LEMBERG <wl@gnu.org>
  1978. Integrated groffer, contributed by Bernd Warken.
  1979. * contrib/groffer/*: New.
  1980. * Makefile.in, NEWS: Updated.
  1981. 2002-01-04 Werner LEMBERG <wl@gnu.org>
  1982. * doc/groff.texinfo: Added macros `@Defmpreg' and `@Defmpregx' for
  1983. registers defined in macro packages.
  1984. Revising the ms part.
  1985. 2002-01-04 Larry Kollar <kollar@alltel.net>
  1986. * doc/groff.texinfo: Add documentation for ms macros.
  1987. 2002-01-02 Werner LEMBERG <wl@gnu.org>
  1988. First step in adding PS support for the Euro symbol. `eu' is the
  1989. official Euro logo, `Eu' is a font-specific glyph variant.
  1990. * font/devps/text.enc: Add `Euro' at position 9.
  1991. * font/devps/generate/textmap: Add `Euro' as symbol `Eu'.
  1992. * font/devps/symbolmap: Regenerated.
  1993. * NEWS: Updated.
  1994. 2002-01-02 Bernd Warken <bwarken@mayn.de>
  1995. * man/roff.man: Revised.
  1996. 2002-01-01 Bernd Warken <bwarken@mayn.de>
  1997. * src/roff/groff/groff.man: Completely rewritten.
  1998. 2001-12-31 Werner LEMBERG <wl@gnu.org>
  1999. * doc/Makefile: Updated.
  2000. 2001-12-30 Werner LEMBERG <wl@gnu.org>
  2001. * tmac/www.tmac: Make all names of internal macros/registers/strings
  2002. lowercase, and prepend `www-'.
  2003. Other minor changes.
  2004. * src/roff/troff/troff.man: Add preprocessor string at BOF.
  2005. 2001-12-30 Gaius Mulley <gaius@glam.ac.uk>
  2006. Implement option `-b' in grohtml to set the HTML background colour.
  2007. * src/devices/grohtml/post-html.cc (default_background): New global
  2008. variable.
  2009. (html_printer::html_printer): Initialize `background' to
  2010. `default_background'.
  2011. (main): Implement option `-b'.
  2012. (usage): Updated.
  2013. * src/preproc/html/pre-html.cc (scanArguments): Add dummy handling
  2014. of `-b' option.
  2015. * src/devices/grohtml/grohtml.man: Updated.
  2016. * doc/Makefile (.ms.html): Use `-b'.
  2017. * tmac/html.tmac: Don't set background color.
  2018. Add new grohtml tag `.html-tl'.
  2019. * src/devices/grohtml/post-html.cc (title_desc): Add `with_h1'
  2020. member variable.
  2021. (title_desc::title_desc): Updated.
  2022. (html_printer::troff_tag): Handle `.html-tl'.
  2023. (html_printer::write_title): Use `with_h1'.
  2024. * tmac/www.tmac (www-end-nowhere): New auxiliary macro.
  2025. (HTML-TL): New macro.
  2026. Add support for unordered lists in HTML.
  2027. * tmac/www.tmac (www-level): New auxiliary register.
  2028. (www-level1, www-level2, www-level3): New auxiliary strings.
  2029. (www-push-level, www-pop-level): New auxiliary macros
  2030. (UL-BEGIN, UL-END, LI): User macros for unordered lists.
  2031. Miscellaneous.
  2032. * src/preproc/html/pre-html.cc (DEFAULT_IMAGE_RES): Increase to 100.
  2033. (DEFAULT_VERTICAL_OFFSET): Removed.
  2034. (IMAGE_BOARDER_PIXELS): Set to 0.
  2035. (A4_LENGTH, A4_OFFSET, LETTER_LENGTH, LETTER_OFFSET): New macros.
  2036. (vertical_offset): Initialize with 0.
  2037. (gsPaper): New global variable.
  2038. (get_resolution): Scan for and return unsigned int.
  2039. (get_papersize): New function to get paper length from devps/DESC.
  2040. (determine_vertical_offset): New function.
  2041. (createAllPages): Produce gray-level images and use proper page
  2042. length.
  2043. (createImage): Use `-quiet' option of pnmcrop.
  2044. (addZ): Fix passing of `-Z'.
  2045. (scanArguments): Fix handling of `-o'.
  2046. (main): Call `determine_vertical_offset'.
  2047. * src/devices/grohtml/post-html.cc (html_printer::draw): Comment out
  2048. code for `l'.
  2049. * src/libs/libgroff/tmpfile.cc (add_tmp_file): Fix buffer length.
  2050. * src/roff/troff/node.cc (troff_output_file::check_charinfo): Handle
  2051. glyph descenders properly.
  2052. * doc/homepage.ms: Include `gnubw.eps'.
  2053. * doc/Makefile (gnubw.eps): New rule.
  2054. (homepage.html): Depend on `gnubw.eps'.
  2055. 2001-12-25 Werner LEMBERG <wl@gnu.org>
  2056. * src/roff/troff/input.cc (default_black): Fix return value.
  2057. 2001-12-24 Ruslan Ermilov <ru@FreeBSD.org>
  2058. * tmac/doc-common (Dt): Change output of architecture strings.
  2059. Do some syntax cleanup.
  2060. * tmac/groff_mdoc.man: Updated.
  2061. 2001-12-23 Werner LEMBERG <wl@gnu.org>
  2062. Adding an `itc' request (input line trap accepting \c).
  2063. * src/roff/troff/env.h (environment): New member
  2064. `continued_input_trap'.
  2065. Make `do_input_trap' a friend function instead of `input_trap'.
  2066. * src/roff/troff/env.cc (environment::environment,
  2067. environment::copy): Updated.
  2068. (environment::newline): Implement it.
  2069. (do_input_trap): New function.
  2070. (input_trap): Call `do_input_trap'.
  2071. (input_trap_continued): New function.
  2072. (init_env_requests): Updated.
  2073. * src/roff/troff/TODO: Updated.
  2074. * tmac/an-old.tmac (SH, SS, B, I, SM, SB, TP): Use `.itc' instead of
  2075. `.it'.
  2076. * src/preproc/grn/hdb.cc (DBRead): Really chop after 127 characters.
  2077. 2001-12-22 Ruslan Ermilov <ru@FreeBSD.org>
  2078. * tmac/doc-common, tmac/doc-syms: Small updates.
  2079. 2001-12-22 Colin Watson <cjwatson@debian.org>
  2080. * tmac/an-old.tmac (an-p-footer): Set title length in environment 1.
  2081. 2001-12-22 Bernd Warken <bwarken@mayn.de>
  2082. * MANIFEST: New file.
  2083. 2001-12-22 Werner LEMBERG <wl@gnu.org>
  2084. * src/preproc/grn/grn.man: Updated.
  2085. 2001-12-22 Solar Designer <solar@openwall.com>
  2086. * src/preproc/grn/hdb.cc (MAXSTRING_S): New macro.
  2087. (DBRead): Use it.
  2088. 2001-12-19 Werner LEMBERG <wl@gnu.org>
  2089. Implement a fallback character request `.fchar'.
  2090. * src/roff/troff/charinfo.h (charinfo): New flag `fallback'.
  2091. (is_fallback): New inline function.
  2092. * src/roff/troff/input.cc (do_define_character): New function.
  2093. (define_character): Call `do_define_character'.
  2094. (define_fallback_character): New function.
  2095. (init_input_requests): Add `fchar'.
  2096. (charinfo::charinfo): Updated.
  2097. (charinfo::set_macro): New argument to set `fallback' flag.
  2098. * src/roff/troff/node.cc (make_glyph_node, make_node,
  2099. node::add_char): Check `fallback' flag.
  2100. * NEWS, man/groff_diff.man, man/groff_man: Updated.
  2101. 2001-12-16 Werner LEMBERG <wl@gnu.org>
  2102. * groff.texinfo: Document exact search algorithm for glyphs.
  2103. 2001-12-15 Werner LEMBERG <wl@gnu.org>
  2104. * Makefile.cpg, Makefile.ccpg, Makefile.man: Add dummy file to
  2105. the left side of $(MANPAGES) rule to make it always non-empty.
  2106. 2001-12-14 Werner LEMBERG <wl@gnu.org>
  2107. * src/roff/troff/input.cc (default_black): Define default color
  2108. `black' if not yet defined.
  2109. 2001-12-13 Werner LEMBERG <wl@gnu.org>
  2110. Implement new string-valued register `.fn' to return the current
  2111. real (internal) font name.
  2112. * env.cc (environment::get_font_name_string): New function.
  2113. (init_env_requests): Add `.fn' register.
  2114. * env.h (environment): Updated.
  2115. * node.cc (font_info): Make `get_font_name' a friend.
  2116. (get_font_name): New function.
  2117. * node.h: Updated.
  2118. * man/groff_diff.man, man/groff.man, NEWS: Updated.
  2119. 2001-12-12 Ralph Corderoy <ralph@inputplus.demon.co.uk>
  2120. * src/preproc/eqn/main.cc (inline_equation): Fix typos.
  2121. 2001-12-12 Werner LEMBERG <wl@gnu.org>
  2122. * tmac/groff_man.man, doc/groff.texinfo: There is no .R macro.
  2123. 2001-12-10 Gaius Mulley <gaius@glam.ac.uk>
  2124. * man/groff_diff.man: Adding documentation for \O.
  2125. 2001-12-10 Werner LEMBERG <wl@gnu.org>
  2126. * src/preproc/html/pre-html.cc (TROFF_COMMAND): Removed.
  2127. (scanArguments): Use PROG_PREFIX for the name of the troff binary.
  2128. 2001-12-09 Werner LEMBERG <wl@gnu.org>
  2129. * man/roff.man: Revised.
  2130. * src/roff/groff/groff.man: Replace man page references with a
  2131. pointer to roff.man.
  2132. 2001-12-09 Bernd Warken <bwarken@mayn.de>
  2133. * man/roff.man: Completely rewritten.
  2134. 2001-12-06 Ralph Corderoy <ralph@inputplus.demon.co.uk>
  2135. * src/preproc/eqn/main.cc (inline_equation): Improve error message.
  2136. 2001-12-05 Werner LEMBERG <wl@gnu.org>
  2137. * src/roff/troff/input.cc (get_delim_file_name): Removed since no
  2138. longer used.
  2139. * src/devices/grohtml/post-html.cc (html_printer::html_printer): Fix
  2140. order of initializers.
  2141. * NEWS: Updated.
  2142. 2001-12-05 Gaius Mulley <gaius@glam.ac.uk>
  2143. * doc/groff.texinfo: Fix documentation of \O.
  2144. * src/devices/grohtml/html-text.cc (html_text::do_indent,
  2145. html_text::do_table, html_text::do_emittext, html_text::do_para):
  2146. Use `const' for first argument.
  2147. (html_text::do_table): Use cast.
  2148. * src/devices/grohtml/html-text.h: Updated.
  2149. * src/devices/grohtml/output.cc (simple_output::put_string): Add
  2150. method for `const string &s'.
  2151. * src/devices/grohtml/html.h: Updated.
  2152. * src/devices/grohtml/post-html.cc (MAX_STRING_LENGTH): Removed.
  2153. (ANCHOR_TEMPLATE): Modified.
  2154. (manufacture_headings): New global variable to handle `-h' option.
  2155. (is_subsection): Removed.
  2156. (char_buffer::add_string): Add `const' to first argument.
  2157. Protect against invalid string argument.
  2158. Add method for `const string &s'.
  2159. (text_glob): Completely redesigned.
  2160. (page): Use `const' for strings and remove string length variable.
  2161. (page::add_html): Removed.
  2162. (page::add_end_encode): New member function.
  2163. (to_unicode): Moved upwards.
  2164. (title_desc, header_desc): Updated.
  2165. (header_desc::write_headings): Updated to new ANCHOR_TEMPLATE
  2166. definition.
  2167. (html_printer::is_bold, html_printer::make_bold): New member
  2168. functions.
  2169. (html_printer::end_of_line): Updated.
  2170. (generate_img_src, html_printer::do_auto_image,
  2171. html_printer::do_title, html_printer::write_header,
  2172. html_printer::determine_header_level, html_printer::do_heading,
  2173. html_printer::do_linelength, html_printer::do_pageoffset,
  2174. html_printer::do_indentation, html_printer::do_tempindent,
  2175. html_printer::do_indentedparagraph, html_printer::do_break,
  2176. html_printer::flush_sbuf, get_html_translation,
  2177. html_printer::begin_page, html_printer::special): Rewritten to get
  2178. rid of static string length limit.
  2179. (html_printer::troff_tag): Added `.no-auto-rule'.
  2180. (html_printer::flush_globs): Small fix.
  2181. (html_printer::determine_space): Don't compute `space_width'.
  2182. (html_printer::translate_to_html): Renamed to ...
  2183. (html_printer::emit_html): This (with updates).
  2184. (html_printer::write_header): Implement `-h' option.
  2185. (html_printer::draw): Remove commented-out code. Handle `F'
  2186. command.
  2187. (html_printer::add_char_to_sbuf): Removed.
  2188. (html_printer::add_to_sbuf): Rewritten.
  2189. (html_printer::sbuf_continuation): Fixed.
  2190. (html_printer::seen_backwards_escape, reverse,
  2191. html_printer::remove_last_char_from_sbuf): Removed.
  2192. (char_translate_to_html, str_translate_to_html): Removed.
  2193. (html_printer::overstrike): New function member.
  2194. (html_printer::set_char): Use it.
  2195. (html_printer::do_body): New function member.
  2196. (html_printer::~html_printer): Use it.
  2197. (main): Handle `-h' option.
  2198. (usage): Updated.
  2199. * src/devices/grohtml/grohtml.man: Document -h switch.
  2200. * src/preproc/html/pre-html.cc: Include searchpath.h
  2201. Replace `POSTSCRIPTRES' macro with `postscriptRes' variable.
  2202. (get_resolution): New function.
  2203. (checkImageDir): Use `0777' permissions in mkdir()
  2204. (write_start_image): Rewritten to use `\O[5...]'.
  2205. (createImage, generateImages): Updated.
  2206. (main): Handle `F' and `h' options.
  2207. Use `get_resolution'.
  2208. * src/roff/troff/input.cc (begin, end, image): Removed.
  2209. (do_suppress): Take parameter.
  2210. Handle modified syntax of `\O'.
  2211. (token::next): Updated.
  2212. (init_markup_requests): Removed.
  2213. (main): Updated.
  2214. * src/roff/troff/div.h: Add declaration for begin_page().
  2215. * tmac/color-html.tmac: Removed. Contents moved to...
  2216. * tmac/html.tmac: Here. Set background color.
  2217. * tmac/color.tmac: Removed. Contents moved to...
  2218. * tmac/ps.tmac: Here.
  2219. * tmac/www.tmac: Remove the title command when generating images
  2220. for html.
  2221. (NO_AUTO_RULE): New macro.
  2222. (HTML_DO_IMAGE): Use revised `\O' escapes.
  2223. * tmac/Makefile.sub, tmac/groff_www.man, tmac/troffrc: Updated.
  2224. 2001-12-02 Werner LEMBERG <wl@gnu.org>
  2225. * tmac/groff_mdoc.man: Fix typo.
  2226. 2001-12-01 Colin Watson <cjwatson@debian.org>
  2227. * man/roff.man: Fix typo.
  2228. 2001-11-29 Werner LEMBERG <wl@gnu.org>
  2229. * src/libs/libbib/map.c, src/utils/pfbtops/pfbtops.c: Include
  2230. stdlib.h.
  2231. * src/roff/troff/input.cc (read_draw_node): Emit error message if
  2232. more than one argument to \D'f ...'.
  2233. * tmac/Makefile.sub (NORMALFILES): Add lbp.tmac.
  2234. 2001-11-28 Werner LEMBERG <wl@gnu.org>
  2235. * tmac/an-old.tmac, tmac/doc.tmac: Assure that the macro package is
  2236. loaded only once.
  2237. * tmac/groff_man.man: Minor cosmetic fix.
  2238. 2001-11-27 Werner LEMBERG <wl@gnu.org>
  2239. * src/roff/groff/groff.man, tmac/groff_tmac.man,
  2240. tmac/groff_www.man: s/mwww/www/.
  2241. 2001-11-26 Werner LEMBERG <wl@gnu.org>
  2242. * aclocal.m4 (GROFF_MKSTEMP): Implement test using C++ linkage.
  2243. * configure: Regenerated.
  2244. * win32-diffs: Updated.
  2245. * tmac/groff_mwww.tmac: Renamed to ...
  2246. * tmac/groff_www.tmac: This.
  2247. * tmac/mwww.tmac: Removed.
  2248. * NEWS, tmac/Makefile.sub: Updated.
  2249. 2001-11-21 Werner LEMBERG <wl@gnu.org>
  2250. * doc/groff.texinfo: Improve documentation of the `\v' escape.
  2251. Fix explanation of `\D' and `rt'.
  2252. 2001-11-20 Werner LEMBERG <wl@gnu.org>
  2253. * tmac/an-old.tmac (an-header): Set header length equal to page
  2254. width.
  2255. * doc/groff.texinfo: Improve documentation of `ne' request. Other
  2256. minor fixes.
  2257. * NEWS: Small fix.
  2258. 2001-11-19 Werner LEMBERG <wl@gnu.org>
  2259. * NEWS, man/Makefile.sub: Updated.
  2260. 2001-11-19 Bernd Warken <bwarken@mayn.de>
  2261. * man/ditroff.man: New file.
  2262. 2001-11-17 Werner LEMBERG <wl@gnu.org>
  2263. * man/groff_differences.man: Renamed to ...
  2264. * man/groff_diff.man: This. Updated.
  2265. * man/Makefile.sub, src/roff/troff/troff.man, NEWS: Updated.
  2266. * src/preproc/html/pushbackbuffer.cc: Renamed to ...
  2267. * src/preproc/html/pushback.cc: This. Updated.
  2268. * src/preproc/html/pushbackbuffer.h: Renamed to ...
  2269. * src/preproc/html/pushback.h: This.
  2270. * src/preproc/html/Makefile.sub, src/preproc/html/pre-html.cc:
  2271. Updated.
  2272. * src/libs/libgroff/htmlindicate.cc: Renamed to ...
  2273. * src/libs/libgroff/htmlhint.cc: This.
  2274. * src/libs/libgroff/Makefile.sub: Updated.
  2275. * tmac/an-old.tmac (an-end): Fix page length.
  2276. 2001-11-16 Werner LEMBERG <wl@gnu.org>
  2277. * NEWS, man/groff_differences.man, doc/groff.texinfo: Updated.
  2278. * man/Makefile.sub: Include groff_differences.man.
  2279. * VERSION: Set to 1.18.
  2280. * REVISION: Set to 0.
  2281. 2001-11-16 Bernd Warken <bwarken@mayn.de>
  2282. * src/roff/troff/input.cc (do_define_macro): Allow whitespace before
  2283. the second dot (or ending macro name) to end a macro.
  2284. * doc/groff.texinfo: Doc fix.
  2285. 2001-11-16 Ruslan Ermilov <ru@FreeBSD.org>
  2286. * tmac/doc-common (doc-header): Handle very long document titles
  2287. better.
  2288. 2001-11-16 Werner LEMBERG <wl@gnu.org>
  2289. * tmac/doc.tmac (doc-do-Bl-args): Fix .substring requests.
  2290. 2001-11-15 Werner LEMBERG <wl@gnu.org>
  2291. * src/roff/troff/troff.man: Revised and split into troff.man and...
  2292. * man/groff_differences.man: New file.
  2293. * NEWS: Updated.
  2294. 2001-11-13 Werner LEMBERG <wl@gnu.org>
  2295. * tmac/an-old.tmac (TS, TE): New macros for table support.
  2296. 2001-11-12 Werner LEMBERG <wl@gnu.org>
  2297. * src/include/lib.h: Provide a fix for emx to not include
  2298. groff-getopt.h.
  2299. 2001-10-27 Werner LEMBERG <wl@gnu.org>
  2300. * src/roff/troff/input.cc (substring_macro): Fix computation of
  2301. boundary values.
  2302. 2001-10-20 Werner LEMBERG <wl@gnu.org>
  2303. Undo change from 2001-08-28.
  2304. * src/roff/troff/input.cc (have_input): New global variable.
  2305. (token::next): Set `have_input' for \f, \H, \R, \s, and \S if not
  2306. in compatibility mode.
  2307. (process_input_stack): Use it.
  2308. 2001-10-19 Ruslan Ermilov <ru@FreeBSD.org>
  2309. * tmac/doc.tmac (doc-flag-recursion): Protect arguments against
  2310. being handled as end-of-sentence characters,
  2311. 2001-10-10 Gaius Mulley <gaius@glam.ac.uk>
  2312. * src/roff/troff/input.cc (file_iterator): New members
  2313. `suppress_newline_flag' and `seen_escape'.
  2314. (file_iterator::next_file): Updated.
  2315. (file_iterator::fill): Use it.
  2316. (string_iterator): New member `suppress_newline_flag'.
  2317. (string_iterator::fill): Set it.
  2318. (get_color_element): Use MAX_COLOR_VAL.
  2319. * src/roff/troff/env.cc (environment): Remove `need_eol'.
  2320. (no_fill): Don't set `env->ignore_next_eol'.
  2321. (environment::newline): Handle `eol' tag properly.
  2322. Emit `eol.ce'.
  2323. (environment::add_html_tag): Set `env->ignore_next_eol'.
  2324. Don't handle `.ce'.
  2325. * src/roff/troff/env.h (environment): Updated.
  2326. * src/devices/grohtml/post-html.cc (text_glob::is_eol_ce): New
  2327. member function.
  2328. (html_printer::outstanding_eol): New member function.
  2329. (html_printer::do_title): Use new functions.
  2330. (html_printer::troff_tag): Test `id_eol_ce'.
  2331. 2001-10-10 Werner LEMBERG <wl@gnu.org>
  2332. * tmac/color.tmac, tmac/color-html.tmac: Use `.do' to make those
  2333. files work with -C also.
  2334. 2001-10-05 Werner LEMBERG <wl@gnu.org>
  2335. * doc/pic.ms: Minor fix.
  2336. * src/preproc/html/pre-html.cc (scanArguments): Don't handle `-?'
  2337. as a valid command line switch.
  2338. * src/devices/grohtml/post-html.cc (main): Ditto.
  2339. (usage): Updated.
  2340. * src/devices/grohtml/grohtml.man: Updated.
  2341. * src/roff/groff/groff.cc (main): Pass `-v' to predriver also.
  2342. 2001-10-04 Werner LEMBERG <wl@gnu.org>
  2343. Implementing color support in troff, pic, grops, and grohtml. These
  2344. changes are based on a major patch provided by Gaius Mulley
  2345. <gaius@glam.ac.uk>.
  2346. New request: `defcolor', supporting rgb, cmy, cmyk, and gray
  2347. definitions with both hex values and fractions.
  2348. New escapes: \m and \M for drawing and background color,
  2349. respectively. This corresponds to the troff output commands `m'
  2350. and `DF'.
  2351. groff and troff accept command line switch `-c' to disable color
  2352. output (which is automatically disabled in compatibility mode).
  2353. New scaling indicator `f' for fractions (1f = 65536u).
  2354. New conditional operator `m' to test for defined colors with `if'
  2355. and `ie'.
  2356. New keywords `color' (or `colour', `colored', `coloured'), `outline'
  2357. (or `outlined'), and `shaded' added to pic.
  2358. * src/include/color.h: New file.
  2359. * src/include/driver.h: Include it.
  2360. * src/include/printer.h: Include color.h.
  2361. (environment): New members `col' and `fill'.
  2362. (printer): Remove `adjust_arc_center' member function.
  2363. * src/include/Makefile.sub: Updated.
  2364. * src/libs/libdriver/input.cc (do_file): Initialize `env.col' and
  2365. `env.fill'.
  2366. Handle `m' and `DF' troff commands.
  2367. * src/libs/libgroff/color.cc: New file.
  2368. * src/libs/libgroff/Makefile.sub: Updated.
  2369. * src/preproc/html/pre-html.cc (IMAGE_BORDER_PIXELS): Set to 2.
  2370. (stop): Removed.
  2371. (createImage): Fix computation of `y2'.
  2372. Use `pnmcrop' also.
  2373. (buffer::write_file_html): Remove calls to `stop'.
  2374. * src/preproc/pic/common.h (common_output): New abstract function
  2375. members `set_color', `reset_color', `get_last_filled', and
  2376. `get_outline_color'.
  2377. * src/preproc/pic/object.h: Add `IS_SHADED' and `IS_OUTLINED'.
  2378. (object_spec): Add members `shaded' and `outlined'.
  2379. * src/preproc/pic/output.h (output): `command' is now abstract.
  2380. New function members `set_color', `reset_color', `get_last_filled',
  2381. and `get_outline_color'.
  2382. * src/preproc/pic/lex.cc (lookup_keyword): Recognize `colo[u]r[ed]',
  2383. `outline[d]', and `shaded'.
  2384. * src/preproc/pic/object.cc (output::command): Removed.
  2385. (output::set_location): Moved to output.h.
  2386. (graphic_object): Add protected members `outline_color' and
  2387. `color_fill'.
  2388. Add member functions `set_outline_color', `get_outline_color', and
  2389. `set_fill_color'.
  2390. (closed_object): Add member function `set_fill_color'.
  2391. Add member `color_fill'.
  2392. (graphic_object::print_text): Use `out->set_color' and
  2393. `out->reset_color'.
  2394. (box_object::print, ellipse_object::print, circle_object::print,
  2395. line_object::print, spline_object::print, arc_object::print): Ditto.
  2396. (object_spec::make_object): Implement `IS_OUTLINED' and `IS_SHADED'.
  2397. * src/preproc/pic/pic.y: Add tokens `COLORED', `OUTLINED', and
  2398. `SHADED', making them `%left'.
  2399. Add rules `object_spec [SHADED|COLORED|OUTLINED] text'.
  2400. * src/preproc/pic/tex.cc (tex_output): New dummy function members
  2401. `set_color', `reset_color', `get_last_filled', and
  2402. `get_outline_color'.
  2403. * src/preproc/pic/troff.cc (simple_output): New abstract function
  2404. members `set_color', `reset_color', and `get_last_filled'.
  2405. (simple_output::polygon, simple_output::circle,
  2406. simple_output::ellipse): Use `get_last_filled'.
  2407. (troff_output): New members `last_filled' and `last_outlined'.
  2408. New function members `set_color', `reset_color', `get_last_filled',
  2409. and `get_outline_color'.
  2410. (troff_output::finish_picture): Use `reset_color'.
  2411. (troff_output::set_fill): Test `last_filled'.
  2412. * src/preproc/pic/pic.man: Updated.
  2413. * src/roff/groff/groff.cc (main): Implement `-c' option.
  2414. (synopsis, help): Updated.
  2415. src/roff/groff/groff.man: Updated.
  2416. * src/roff/troff/troff.h: Include color.h.
  2417. (warning_type): Add WARN_COLOR.
  2418. * src/roff/troff/env.h (environment): New members
  2419. `{cur,prev}_{glyph,fill}_color'.
  2420. New member functions `get_{prev_,}{glyph,fill}_color'.
  2421. * src/roff/troff/env.cc: Initialize and implement them.
  2422. * src/roff/troff/input.cc: New global variable `disable_color_flag'.
  2423. Replace `NULL' with `0' everywhere for consistency.
  2424. (lookup_color, default_black, do_glyph_color, do_fill_color,
  2425. get_color_element, read_rgb, read_cmy, read_cmyk, read_gray,
  2426. define_color): New functions.
  2427. (token::next): Implement \M and \m escapes.
  2428. (do_if_request): Implement `m' operator.
  2429. (usage): Updated.
  2430. (main): Implement `-c' option.
  2431. (init_markup_requests): Add `defcolor' request.
  2432. (warning_table): Add `color' warning.
  2433. * src/roff/troff/node.h (glyph_color_node, fill_color_node): New
  2434. classes.
  2435. * src/roff/troff/node.cc (troff_output_file): New members
  2436. `current_{page,glyph}color'. New member functions `put_hex',
  2437. `glyph_color', and `fill_color'.
  2438. (glyph_color_node::*, fill_color_node::*): Implement it.
  2439. * src/roff/troff/number.cc (SCALE_INDICATOR_CHARS): Add `f'.
  2440. (parse_term): Add support for `f'.
  2441. * src/roff/troff/troff.man: Updated.
  2442. * src/devices/grodvi/dvi.cc (draw_dvi_printer::draw): Add dummy
  2443. entry for `F'.
  2444. * src/devices/grolbp/lbp.cc (lbp_printer::draw): Ditto.
  2445. * src/devices/grolj4/lj4.cc (lj4_printer::draw): Ditto.
  2446. * src/devices/grohtml/html-text.h (HTML_TAG): Add COLOR_TAG.
  2447. (tag_definition): Use `void *' for arg1.
  2448. (html_text): New member functions `do_color' and `done_color'.
  2449. Use `void *' for second parameter of `push_para' member function.
  2450. New `push_para' member function with a single parameter.
  2451. Use `char *' for parameter of `issue_table_begin' member funtion.
  2452. New `issue_color_begin' member function.
  2453. * src/devices/grohtml/html-text.cc (html_text::end_tag): Handle
  2454. COLOR_TAG.
  2455. (html_text::issue_color_begin): New function.
  2456. (html_text::issue_table_begin): Use `char *' for parameter.
  2457. (html_text::start_tag, html_text::shutdown,
  2458. html_text::check_emit_text): Updated.
  2459. (html_text::push_para): Use `void *' for second parameter.
  2460. Add same function with only one parameter.
  2461. (html_text::do_*): Updated.
  2462. (html_text::do_color, html_text::done_color): New functions.
  2463. * src/devices/grohtml/post-html.cc (style): New member `col'.
  2464. Mew member `style' with 6 parameters.
  2465. (style::style, style::operator==): Updated.
  2466. (html_printer::do_font): Use it.
  2467. (html_printer::draw): Add dummy entry for `F'.
  2468. (html_printer::set_char): Updated.
  2469. * src/devices/grohtml/grohtml.man: Updated.
  2470. * src/devices/grops/ps.cc (ps_output::put_float): Use `%g' to have
  2471. trailing zeroes removed.
  2472. (ps_printer): New members `sbuf_color', `fill_color', and
  2473. `output_color'.
  2474. Removed member `fill'.
  2475. New member function `set_color'.
  2476. (ps_printer::ps_printer, ps_printer::set_char): Updated.
  2477. (ps_printer::flush_sbuf, ps_printer::set_line_thickness,
  2478. ps_printer::fill_path, ps_printer::draw): Use `set_color'.
  2479. * tmac/color-html.tmac, tmac/color.tmac: New files.
  2480. * tmac/troffrc: Include them.
  2481. * tmac/www.tmac (URL, FTP, MAILTO): Use blue color.
  2482. * tmac/Makefile.sub: Updated.
  2483. * NEWS, doc/groff.texinfo, doc/pic.ms, man/groff_out.man,
  2484. man/groff.man: Updated.
  2485. * font/devps/prologue.ps: Define FC and CO functions.
  2486. 2001-10-04 Gaius Mulley <gaius@glam.ac.uk>
  2487. Fix incorrect cropping of images and incorrect handling of special
  2488. characters. Fix handling of file names in \O.
  2489. * src/include/geometry.h: New file.
  2490. * src/libs/libgroff/geometry.cc: New file.
  2491. * src/libs/libdriver/printer.cc (printer::adjust_arc_center): Moved
  2492. to `geometry.cc'.
  2493. * src/roff/troff/input.cc (get_delim_file_name): Fixed problem with
  2494. initial spaces.
  2495. (do_suppress): Updated.
  2496. * src/roff/troff/node.cc: Include geometry.h.
  2497. (troff_output_file::flush_tbuf): Fixed parameters to
  2498. `check_output_limits'.
  2499. (troff_output_file::check_charinfo): Ditto.
  2500. (troff_output_file::determine_line_limits): Add support for `Da'
  2501. and `Dl' commands.
  2502. * src/devices/grohtml/post-html.cc (str_translate_to_html):
  2503. Add new parameter `is_special' to decode special characters from
  2504. escape sequences.
  2505. (html_printer::do_title, html_printer::do_heading,
  2506. html_printer::do_indentedparagraph,
  2507. html_printer::translate_to_html, html_printer::special): Updated.
  2508. 2001-10-03 Werner LEMBERG <wl@gnu.org>
  2509. * Makefile.sub (DISTCLEANFILES): Add stamp-h.
  2510. Fix entry for config.h.
  2511. * test-groff (GROFF_BIN_PATH): Add $builddir/roff/groff.
  2512. * tmac/troffrc: Translate nonbreakable space character to `\~'.
  2513. * src/preproc/eqn/eqn.man: Document -d command line option.
  2514. 2001-09-27 Werner LEMBERG <wl@gnu.org>
  2515. * man/groff.man: Use
  2516. .ev xxx
  2517. .na
  2518. .nh
  2519. <table>
  2520. .ev
  2521. instead of the old code (`.ad .hy' after the table) to suppress
  2522. incorrect hyphenation for grohtml output.
  2523. 2001-09-22 Werner LEMBERG <wl@gnu.org>
  2524. * man/groff_font.man, man/groff_out.man: Minor fixes.
  2525. 2001-09-20 Werner LEMBERG <wl@gnu.org>
  2526. * PROBLEMS: Updated, reordered. Improved EPS section (thanks to
  2527. Arnold Robbins <arnold@skeeve.com>).
  2528. 2001-09-09 Werner LEMBERG <wl@gnu.org>
  2529. * configure: Regenerated with autoconf 2.52.
  2530. * doc/groff.texinfo: Complete revision of indices.
  2531. 2001-09-07 Werner LEMBERG <wl@gnu.org>
  2532. * doc/Makefile (clean): Updated to delete all indices.
  2533. 2001-09-05 Werner LEMBERG <wl@gnu.org>
  2534. * src/roff/troff/troff.man: Remove superfluous line.
  2535. * tmac/s.tmac: Enable all warnings only if no -W or -w option is
  2536. given on the command line (or rather, if only the default warnings
  2537. are set).
  2538. 2001-09-03 Werner LEMBERG <wl@gnu.org>
  2539. * man/groff.man, src/preproc/eqn/eqn.man, tmac/groff_mdoc.man: Don't
  2540. use .ne for TTY devices.
  2541. 2001-08-31 Werner LEMBERG <wl@gnu.org>
  2542. * src/roff/troff/token.h, src/roff/troff/input.cc:
  2543. s/TOKEN_TRANSPARENT_ESCAPE/TOKEN_OPAQUE_ESCAPE/.
  2544. 2001-08-28 Werner LEMBERG <wl@gnu.org>
  2545. * src/roff/troff/token.h (token_type): Add TOKEN_TRANSPARENT_ESCAPE.
  2546. * src/roff/troff/input.cc (token::next): Return
  2547. TOKEN_TRANSPARENT_ESCAPE for \f, \H, \R, \s, and \S if not in
  2548. compatibility mode.
  2549. (token::description): Updated.
  2550. (process_input_stack): Reset `bol' for TOKEN_TRANSPARENT_ESCAPE.
  2551. (token::add_to_node_list, token::process): Ignore
  2552. TOKEN_TRANSPARENT_ESCAPE.
  2553. 2001-08-27 Werner LEMBERG <wl@gnu.org>
  2554. * tmac/an-old.tmac: Fix `S' string.
  2555. 2001-08-26 Werner LEMBERG <wl@gnu.org>
  2556. * src/roff/troff/troff.man: Don't use .ne for TTY devices.
  2557. 2001-08-25 Werner LEMBERG <wl@gnu.org>
  2558. * doc/pic.ms: Replace `\\' with `\e' (and fixing some single
  2559. backslashes).
  2560. Many other minor fixes.
  2561. * configure.ac: Add message at end to inform how to compile
  2562. xditview.
  2563. * configure: Regenerated.
  2564. 2001-08-24 Werner LEMBERG <wl@gnu.org>
  2565. * src/include/getopt.h, src/libs/libgroff/{getopt.c, getopt1.c}:
  2566. Updated to latest version of libc.
  2567. 2001-08-23 Werner LEMBERG <wl@gnu.org>
  2568. * configure.ac: Don't create subdirectories before AC_CONFIG_FILES.
  2569. Autoconf 2.50 and newer can handle this.
  2570. * configure: Regenerated.
  2571. 2001-08-21 Werner LEMBERG <wl@gnu.org>
  2572. * doc/pic.ms: Fix typo.
  2573. * src/preproc/tbl/tbl.man: Document case of global options.
  2574. 2001-08-21 Gaius Mulley <gaius@glam.ac.uk>
  2575. * src/devices/grohtml/post-html.cc (html_printer::end_font): Fix
  2576. handling of `CR' font.
  2577. 2001-08-20 Werner LEMBERG <wl@gnu.org>
  2578. Use a config.h file.
  2579. * src/include/lib.h: Include config.h.
  2580. * All C files: Ditto (if necessary).
  2581. * All C++ source and header files: Include lib.h first (if
  2582. necessary).
  2583. * src/include/config.hin: New file (autogenerated by autoheader).
  2584. * stamp-h.in: New file.
  2585. * configure.ac: Updated.
  2586. * aclocal.m4: Add third parameters to AC_DEFINE macros.
  2587. (GROFF_ARRAY_DELETE): Simplified.
  2588. * Makefile.sub (DISTCLEANFILES): Updated.
  2589. Added targets for remaking config.status, config.hin, config.h,
  2590. stamp-h.in, and stamp-h.
  2591. * configure: Regenerated.
  2592. 2001-08-19 Werner LEMBERG <wl@gnu.org>
  2593. * NEWS: Updated.
  2594. 2001-08-18 Sebastian Krahmer <krahmer@suse.de>
  2595. * src/preproc/pic/pic.y (format_number): Use do_sprintf().
  2596. (do_sprintf): Use snprintf().
  2597. 2001-08-18 Werner LEMBERG <wl@gnu.org>
  2598. * src/libs/snprintf/*: Added an snprintf module written by Mark
  2599. Martinec.
  2600. * src/libs/libgroff/Makefile.sub: Updated.
  2601. * configure.ac: Add test for snprintf().
  2602. * Makefile.in: Updated.
  2603. * configure: Regenerated.
  2604. * src/preproc/html/pre-html.cc (make_message): Reactivate code which
  2605. uses snprintf().
  2606. 2001-08-14 Ruslan Ermilov <ru@FreeBSD.org>
  2607. * tmac/doc.tmac (Ex): New implementation.
  2608. * tmac/doc-common, tmac/groff_tmac.man: Updated.
  2609. 2001-08-13 Ruslan Ermilov <ru@FreeBSD.org>
  2610. * tmac/doc.tmac (Rv): Implement support for 0 or more than 1
  2611. argument.
  2612. * tmac/groff_tmac.man: Updated.
  2613. 2001-08-13 Werner LEMBERG <wl@gnu.org>
  2614. * src/preproc/tbl/tbl.man: Minor documentation update.
  2615. 2001-08-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
  2616. * src/libs/libgroff/tmpname.cc: Add prototype for gettimeofday().
  2617. * configure.ac: Add declaration test for gettimeofday().
  2618. * Makefile.in: Document NEED_DECLARATION_GETTIMEOFDAY defines.
  2619. * aclocal.m4: Include sys/time.h for gettimeofday declaration test.
  2620. * configure: Regenerated.
  2621. 2001-08-11 Werner LEMBERG <wl@gnu.org>
  2622. * aclocal.m4 (GROFF_MKSTEMP): Define HAVE_MKSTEMP.
  2623. * configure.ac: Add declaration test for strcasecmp().
  2624. * Makefile.in: Updated.
  2625. * configure: Regenerated.
  2626. * src/include/lib.h [!HAVE_MKSTEMP]: Add prototype for mkstemp() --
  2627. this is necessary because groff's mkstemp.cc is C++.
  2628. Add declaration conditionally for strcasecmp().
  2629. 2001-08-10 Werner LEMBERG <wl@gnu.org>
  2630. Integrated pic2graph, contributed by Eric S. Raymond.
  2631. * contrib/pic2graph/{Makefile.sub, pic2graph.sh, pic2graph.man}: New
  2632. files.
  2633. * Makefile.in, NEWS: Updated.
  2634. * src/preproc/tbl/tbl.man: Revised.
  2635. 2001-08-09 Eric S. Raymond <esr@thyrsus.com>
  2636. * src/preproc/tbl/tbl.man: Extended to cover all tbl features.
  2637. 2001-08-09 Werner LEMBERG <wl@gnu.org>
  2638. * src/preproc/tbl/main.cc (process_data): Fix recognition of .lf
  2639. requests.
  2640. 2001-08-08 Paul Eggert <eggert@twinsun.com>
  2641. * Makefile.sub (configure): Depend on configure.ac, not
  2642. configure.in.
  2643. * INSTALL.gen: Upgrade to autoconf 2.52's INSTALL.
  2644. 2001-08-07 Werner LEMBERG <wl@gnu.org>
  2645. * src/utils/afmtodit/afmtodit.man, src/roff/groff/groff.man: Minor
  2646. fixes.
  2647. 2001-08-06 Werner LEMBERG <wl@gnu.org>
  2648. * src/roff/troff/troff.man: Improve documentation of -E option.
  2649. 2001-07-28 Ralph Corderoy <ralph@inputplus.demon.co.uk>
  2650. * src/preproc/html/pushbackbuffer.cc (pushBackBuffer::readNumber):
  2651. Simplified.
  2652. 2001-07-27 Werner LEMBERG <wl@gnu.org>
  2653. * src/preproc/refer/refer.cc: Undo last change.
  2654. * src/devices/grohtml/post-html.cc: Ditto.
  2655. 2001-07-26 Werner LEMBERG <wl@gnu.org>
  2656. * src/preproc/refer/refer.cc: Include `lib.h'.
  2657. * src/devices/grohtml/post-html.cc: Ditto.
  2658. 2001-07-25 Gaius Mulley <gaius@glam.ac.uk>
  2659. * aclocal.m4 (GROFF_PAGE): Add `AC_DEFINE(PAGEA4)'.
  2660. * src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET.
  2661. * Makefile.in: Comment updated.
  2662. * configure: Regenerated.
  2663. 2001-07-25 Werner LEMBERG <wl@gnu.org>
  2664. * src/preproc/pic/pic.cc: Removed.
  2665. * src/preproc/pic/pic_tab.h: Removed.
  2666. * src/preproc/refer/label.cc: Removed.
  2667. * doc/Makefile (.ms.html): Don't use a file name extension in
  2668. argument to grohtml's -I option.
  2669. * Makefile.in (dist): Remove CVS directories.
  2670. Call `distfiles' target.
  2671. * src/devices/grohtml/grohtml.man: Add information about valid
  2672. versions of pnmtopng.
  2673. * src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour
  2674. name instead of number.
  2675. 2001-07-24 Werner LEMBERG <wl@gnu.org>
  2676. * doc/groff.texinfo: Minor fixes.
  2677. 2001-07-21 Gaius Mulley <gaius@glam.ac.uk>
  2678. * doc/Makefile (.ms.html): Put image files into a subdirectory.
  2679. (clean): Updated.
  2680. 2001-07-20 Werner LEMBERG <wl@gnu.org>
  2681. * src/libs/libgroff/tmpname.cc: New file, defining get_tempname().
  2682. * src/libs/libgroff/mkstemp.cc: New file.
  2683. * src/libs/libgroff/mksdir.cc: New file.
  2684. * src/libs/libgroff/tmpfile.cc [HAVE_MKSTEMP_PROTO]: Removed.
  2685. (xtmpfile) [!HAVE_MKSTEMP]: Removed.
  2686. * src/libs/libgroff/Makefile.sub: Updated.
  2687. * src/include/lib.h: Add mksdir() prototype.
  2688. * src/include/posix.h: Define S_IXUSR if not yet defined.
  2689. * src/preproc/html/pre-html.cc (MAX_RETRIES): Removed.
  2690. (createAllPages): Use mksdir() instead of current code.
  2691. * src/utils/indxbib/indxbib.cc [HAVE_MKSTEMP_PROTO]: Removed.
  2692. (main): [!HAVE_MKSTEMP]: Removed.
  2693. * aclocal.m4 (GROFF_MKSTEMP): Updated to use new mkstemp.cc file.
  2694. (GROFF_INTTYPES_H, GROFF_UNSIGNED_LONG_LONG, GROFF_UINTMAX_T): New
  2695. macros.
  2696. * configure.ac: Add tests for stdint.h, sys/time.h, and
  2697. gettimeofday().
  2698. Call new GROFF_xxx macros.
  2699. * configure: Regenerated.
  2700. * Makefile.in: Comments updated.
  2701. 2001-07-20 Gaius Mulley <gaius@glam.ac.uk>
  2702. * src/preproc/html/pre-html.cc (scanArguments): Use getopt_long()
  2703. instead of current code.
  2704. * src/devices/grohtml/post-html.cc (main): Handle `-d' option.
  2705. * src/roff/groff/groff.cc (possible_command::insert_args): New
  2706. function.
  2707. (main): Use it for predriver handling instead of insert_arg().
  2708. 2001-07-19 Werner LEMBERG <wl@gnu.org>
  2709. * doc/Makefile: Added GROFF_BIN_PATH to make it work with uninstalled
  2710. groff also.
  2711. * src/include/posix.h: Define S_IWUSR if not yet defined.
  2712. 2001-07-18 Werner LEMBERG <wl@gnu.org>
  2713. * NEWS: Updated.
  2714. 2001-07-18 Ruslan Ermilov <ru@FreeBSD.org>
  2715. * tmac/groff_mdoc.man: Document new -width and -column syntax.
  2716. Some other minor fixes.
  2717. * tmac/an-old.tmac: Add `AT' and `UC' macros.
  2718. 2001-07-17 Gaius Mulley <gaius@glam.ac.uk>
  2719. Replace call to `troff' with `groff -Z' to make it aware of
  2720. GROFF_BIN_PATH.
  2721. * src/preproc/html/pre-html.cc (TROFF_COMMAND): New macro.
  2722. (troff_command, command_prefix): Removed.
  2723. (alterDeviceTo): Use groff.
  2724. (addZ): New function.
  2725. (char_buffer::do_html): Use it.
  2726. (scanArguments): Use TROFF_COMMAND.
  2727. (findPrefix): Removed.
  2728. (main): Updated.
  2729. * src/roff/groff/groff.cc (main): Handle zflag for preprocessors.
  2730. 2001-07-17 Eric S. Raymond <esr@snark.thyrsus.com>
  2731. * doc/pic.ms: Documentation fixes.
  2732. 2001-07-17 Werner LEMBERG <wl@gnu.org>
  2733. Replace atexit() with global destructor.
  2734. * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Add constructor.
  2735. (xtmpfile_list_init): New global structure to deallocate
  2736. xtmpfile_list on exit. Its destructor inherits most code from
  2737. remove_tmp_files().
  2738. (remove_tmp_files): Deleted.
  2739. (add_tmp_file): Simplified.
  2740. 2001-07-16 Werner LEMBERG <wl@gnu.org>
  2741. Replace strdup() with strsave().
  2742. * src/devices/grolbp/lbp.cc [!HAVE_STRDUP]: Removed.
  2743. (set_papersize): Use strsave() and a_delete.
  2744. (main): Use strsave().
  2745. * src/preproc/html/pre-html.cc (make_message, createAllPages,
  2746. removeAllPages): Use strsave() and a_delete.
  2747. * configure.ac: Remove test for strdup.
  2748. * Makefile.in: Comment updated.
  2749. * configure: Regenerated.
  2750. 2001-07-15 Werner LEMBERG <wl@gnu.org>
  2751. * win32-diffs: Updated.
  2752. 2001-07-14 Werner LEMBERG <wl@gnu.org>
  2753. * src/preproc/html/pre-html.cc (makeTempFiles): Activate new code,
  2754. removing the old one.
  2755. * src/utils/indxbib/indxbib.cc (main): Remove compiler warning.
  2756. 2001-07-14 Ralph Corderoy <ralph@inputplus.demon.co.uk>
  2757. * src/libs/libgroff/tmpfile.cc (xtmpfile): Fix guard for `namep'.
  2758. 2001-07-12 Ruslan Ermilov <ru@FreeBSD.org>
  2759. Merge -xwidth into -width. Add -xwidth functionality to -column
  2760. also.
  2761. * tmac/doc.tmac (Bl): Add dummy doc-typeXXX and doc-spaceXXX to
  2762. avoid warning.
  2763. (doc-do-Bl-args): Merge -xwidth code with -width. Test whether
  2764. string immediately following a leading dot starts with a valid mdoc
  2765. argument.
  2766. Add similar code to the -column branch.
  2767. (doc-Bl-usage): Updated.
  2768. * groff_mdoc.man: s/-xwidth/-width/.
  2769. 2001-07-12 Gaius Mulley <gaius@glam.ac.uk>
  2770. * src/devices/grohtml/post-html.cc (text_glob::is_br): Stop titles
  2771. running into centered or non-formatted text.
  2772. 2001-07-11 Werner LEMBERG <wl@gnu.org>
  2773. Introduce short and long prefixes to have the selection at run-time
  2774. whether there is a 8+3 limit for names of temporary files.
  2775. * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX): Replaced with...
  2776. (TMPFILE_PREFIX_SHORT, TMPFILE_PREFIX_LONG): This.
  2777. (tmpfile_prefix, tmpfile_prefix_len, use_short_prefix): New
  2778. variables.
  2779. (temp_init): New global structure to initialize above three
  2780. variables.
  2781. (xtmptemplate): Use two parameters for long and short prefix.
  2782. Simplify code use above three variables.
  2783. (xtmpfile): Use long and short prefixes as parameters.
  2784. * src/include/lib.h: Updated.
  2785. * src/preproc/html/pre-html.cc ({PAGE,PS,REGION}_TEMPLATE): Replace
  2786. with ...
  2787. ({PAGE,PS,REGION}_TEMPLATE_{SHORT,LONG}): This.
  2788. (createAllPages, makeTempFiles): Updated.
  2789. 2001-07-09 Werner LEMBERG <wl@gnu.org>
  2790. * REVISION: Increased to 3.
  2791. Local Variables:
  2792. version-control: never
  2793. coding: latin-1
  2794. End: