| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/devices/grohtml-old/*: Removed.
* font/devhtml-old/*: Removed.
* src/libgroff/htmlindicate.cc (graphic_start, graphic_end): Remove
comments.
* Makefile.in (CCPROGDIRS, DEVDIRS): Updated.
* test-groff (PATH): Updated.
* tmac/Makefile.sub (NORMALFILES): Updated.
* tmac/an-old.tmac: Remove special code for html-old device.
Replace `html-or-html-old' register with `an-html'.
* tmac/eqnrc: Updated.
* tmac/html-old.tmac: Removed.
* tmac/troffrc, tmac/troffrc-end: Updated.
* tmac/www.tmac: Remove special code for html-old device.
Replace `html-or-html-old' register with `www-html'.
* src/libgroff/tmpfile.cc (remove_tmp_files),
src/libgroff/htmlindicate.cc (graphic_end), include/htmlindicate.h,
src/preproc/grn/*.cc, src/roff/groff/env.{cc,h}: Remove `void'
parameter if used as a single argument for consistency with rest of
source code.
* aclocal.m4, tmac/an-old.tmac: Fix copyright.
* src/roff/troff/troff.man: Fixing typos.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devlbp/Makefile.sub (CLEANADD): Set it.
* tmac/Makefile.sub (CLEANADD): Add tmac.local-s.
* Makefile.in (dist): Don't remove src/xditview/Imakefile, but ...
* Makefile.sub (DISTCLEANFILES): Here.
* libs/libgroff/new.cc: Include `nonposix.h'.
* win32-diffs: Updated.
When inside displays, an empty input line warning should be
suppressed. If another macro call is put inside a display,
all subsequent empty lines found in that display caused a
warning to be emitted.
(doc-empty-line): Check the `doc-display-depth' register to
determine whether we are inside display or not.
the only change is that `.Fn' and `.Fc' put a final semicolon after
a function declaration in the SYNOPSIS section).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
request in the ditroff language has been added: `x u N' (N is 0
or 1).
X and Y are now transparent to end-of-sentence recognition.
* src/include/printer.h (printer): Add `type' parameter to `special'
method.
* src/libs/libdriver/printer.cc (printer::special): Updated.
* src/libs/libdriver/input.cc (do_file): Handle `x u N'.
* src/devices/dvi/dvi.cc (dvi_printer::special): Handle only
specials of type `p'.
* src/devices/grohtml/post-html.cc (html_printer::special): Ditto.
* src/devices/grohtml-old/html.cc (html_printer::special): Ditto.
* src/devices/grops/ps.cc (ps_printer::special): Ditto.
* src/devices/grotty/tty.cc: Add new enum CU_MODE.
(glyph::order): New method.
(tty_printer::add_char): Use it.
(tty_printer::special): New method.
(tty_printer::end_page): Implement it.
* src/roff/troff/node.h (special_node): Add `no_init_string' member.
* src/roff/troff/node.cc (special_node::special_node): Add parameter
to set `no_init_string'.
(special_node::tprint_start): Use it.
(special_node::same, special_node::copy): Updated.
(special_node::ends_sentence): New method.
(troff_output_file::start_special): Add parameter to include
inititialization of special conditionally.
* src/roff/troff/env.h (environment): New member `underline_spaces'.
* src/roff/troff/env.cc (do_underline_special): New function.
(environment::set_font): Use it.
(do_underline): Use it. This was `underline()'.
(underline): Call `do_underline()'.
(continuous_underline): New function which calls `do_underline()'.
(environment::newline): Use `do_underline_special()'.
(init_env_requests): Updated.
* NEWS, man/troff_out.man: Updated.
* font/devutf8/R.proto: Fix code of 'shc'.
|
|
|
|
|
|
|
|
|
| |
* tmac/psold.tmac: Comment updated.
* tmac/psnew.tmac: Removed since no longer needed.
* tmac/Makefile.sub, NEWS, src/devices/grops/grops.man: Updated.
* font/devutf8/R.proto: Adding `shc' glyph.
* font/devutf8/NOTES: Updated.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the new grohtml are too numerous to be documented here.
Stuff related to `html' has been renamed to `html-old' and `html2'
stuff has been renamed to `html' (including directories). The new
html device driver is therefore invoked as `-Thtml'.
Added new `O' escape to suppress output (needed by html driver).
Added functions and code to pass info about input-level commands
(`.in', `.fl', etc.) to html driver.
Three new functions (.html-begin, .html-end, and .html-image) for
better html handling: `html-begin' will execute the remaining line
if at the outermost nesting level, increasing an internal counter.
`html-end' does the same but decreases the internal counter.
`html_image' puts its arguments into a special node (suppress_node)
to define an image region.
The `output' request has been removed.
* tmac/html-tags.tmac: Removed.
* tmac/arkup.tmac: Updated and renamed to ...
* tmac/www.tmac: New file.
* tmac/markup.tmac Updated and renamed to ...
* tmac/mwww.tmac: New file.
* tmac/Makefile.sub: Updated.
* tmac/an-old.tmac: Updated.
* tmac/eqnrc: Updated.
* tmac/groff_man.man
* tmac/groff_markup.man: Updated and renamed to ...
* tmac/groff_mwww.man: New file.
* tmac/groff_tmac.man: Updated.
* tmac/html-old.tmac: Updated and Renamed from html.tmac.
* tmac/html.tmac: Updated and renamed from html2.tmac.
* tmac/pspic.tmac: Updated html support.
* tmac/s.tmac: Added html output support.
* tmac/troffrc, tmac/troffrc-end: Updated.
* Makefile.in, doc/Makefile: Updated.
* doc/groff.texinfo: Added info about new `O' escape.
* doc/homepage.ms: Use `MAILTO' macro.
* font/devhtml/DESC.proto: Add `C' font.
* font/devhtml/Makefile.sub: Updated.
* font/devhtml/R.proto: Minor fixes.
* font/devhtml-old/Makefile.sub: Updated.
* src/devices/grohtml-old/Makefile.sub: Updated.
* src/libs/libdriver/printer.cc (printer::get_font_from_index): New
method.
* src/libs/libgroff/htmlindicate.cc (html_begin_suppress,
graphic_start): Add `inline' parameter. Update.
(html_end_suppress, graphic_end): Update.
* src/include/html-strings.h: New file.
* src/include/htmlindicate.h: Comments updated.
* src/include/printer.h: Updated.
* src/preproc/eqn/main.cc (do_file, main): Updated.
* src/preproc/pic/troff.cc (troff_output::start_picture,
troff_output::finish_picture): Updated.
* src/preproc/tbl/main.cc (process_input_file): Updated.
* src/roff/groff/groff.cc (main): Updated.
Pass device arguments to predrivers also.
Use `ps' device for `eqn' preprocessor if `-Thtml' is given.
* src/roff/troff/env.h (environment): Updated.
New elements `need_eol' and `ignore_next_eol' (for html output).
* src/roff/troff/env.cc (environment::environment): Add initializers
for `need_eol' and `ignore_next_eol'.
(environment::add_html_tag_eol, environment::add_html_tag_tabs): New
functions.
(point_size, fill, no_fill, center, right_justify, line_length,
indent, temporary_indent, break_request, handle_tab): Use
`add_html_tag()'.
(set_tabs): Use `add_html_tag_tabs()'.
(environment::add_html_tag): Updated.
(environment::do_break): Updated.
* src/roff/troff/div.cc (space_request, flush_output): Use
`environment::add_html_tag()'.
* src/roff/troff/input.cc: Updated.
New variable `html_level' to indicate nested `html-begin' requests.
(file_iterator::fill): Use `environment::add_html_tag_eol()'.
(non_interpreted_char_node, token_node, non_interpreted_node): Add
`force_tprint()' method.
(token::next): Handle `O'.
(do_suppress): Implement it.
(html_begin, html_end, html_image): New functions.
(init_output_requests): Renamed to ...
(init_html_requests): this.
(main): Use it.
(macro::append_str, macro::append_unsigned, macro::append_int): New
methods.
New variable `output_low_mark_miny' to limit minimal value of y.
(reset_output_registers): Use it.
(output_request): Removed.
(get_output_registers): New function.
* src/roff/troff/node.h (node): Make `force_tprint()' virtual.
(*_node): Added `force_tprint()' if necessary.
(special_node): New elements `tf' and `get_tfont()'.
(suppress_node): New class.
* src/roff/troff/node.cc:
New global variables `image_no' and `suppress_start_page'.
(real_output_file): New method `is_on()'.
(troff_output_file): New method `start_special(tfont)'.
(troff_output_file::really_print_line): Use `tprint' conditionally.
(real_output_file::print_line): Updated.
(real_output_file::on): Updated.
(*_node): Added `force_tprint()'.
(special_node::special_node): Initializer updated.
(special_node::same, special_node::copy, special_node::tprint_start):
Updated.
(get_reg_int, get_reg_str): New functions.
(suppress_node::*): New methods.
New global variables last_position, last_image_filename;
(min): New inline function.
* src/roff/troff/reg.h, src/roff/troff/request.h,
src/roff/troff/troff.h: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the new grohtml are too numerous to be documented here.
Stuff related to `html' has been renamed to `html-old' and `html2'
stuff has been renamed to `html' (including directories). The new
html device driver is therefore invoked as `-Thtml'.
Added new `O' escape to suppress output (needed by html driver).
Added functions and code to pass info about input-level commands
(`.in', `.fl', etc.) to html driver.
Three new functions (.html-begin, .html-end, and .html-image) for
better html handling: `html-begin' will execute the remaining line
if at the outermost nesting level, increasing an internal counter.
`html-end' does the same but decreases the internal counter.
`html_image' puts its arguments into a special node (suppress_node)
to define an image region.
The `output' request has been removed.
* tmac/html-tags.tmac: Removed.
* tmac/arkup.tmac: Updated and renamed to ...
* tmac/www.tmac: New file.
* tmac/markup.tmac Updated and renamed to ...
* tmac/mwww.tmac: New file.
* tmac/Makefile.sub: Updated.
* tmac/an-old.tmac: Updated.
* tmac/eqnrc: Updated.
* tmac/groff_man.man
* tmac/groff_markup.man: Updated and renamed to ...
* tmac/groff_mwww.man: New file.
* tmac/groff_tmac.man: Updated.
* tmac/html-old.tmac: Updated and Renamed from html.tmac.
* tmac/html.tmac: Updated and renamed from html2.tmac.
* tmac/pspic.tmac: Updated html support.
* tmac/s.tmac: Added html output support.
* tmac/troffrc, tmac/troffrc-end: Updated.
* Makefile.in, doc/Makefile: Updated.
* doc/groff.texinfo: Added info about new `O' escape.
* doc/homepage.ms: Use `MAILTO' macro.
* font/devhtml/DESC.proto: Add `C' font.
* font/devhtml/Makefile.sub: Updated.
* font/devhtml/R.proto: Minor fixes.
* font/devhtml-old/Makefile.sub: Updated.
* src/devices/grohtml-old/Makefile.sub: Updated.
* src/libs/libdriver/printer.cc (printer::get_font_from_index): New
method.
* src/libs/libgroff/htmlindicate.cc (html_begin_suppress,
graphic_start): Add `inline' parameter. Update.
(html_end_suppress, graphic_end): Update.
* src/include/html-strings.h: New file.
* src/include/htmlindicate.h: Comments updated.
* src/include/printer.h: Updated.
* src/preproc/eqn/main.cc (do_file, main): Updated.
* src/preproc/pic/troff.cc (troff_output::start_picture,
troff_output::finish_picture): Updated.
* src/preproc/tbl/main.cc (process_input_file): Updated.
* src/roff/groff/groff.cc (main): Updated.
Pass device arguments to predrivers also.
Use `ps' device for `eqn' preprocessor if `-Thtml' is given.
* src/roff/troff/env.h (environment): Updated.
New elements `need_eol' and `ignore_next_eol' (for html output).
* src/roff/troff/env.cc (environment::environment): Add initializers
for `need_eol' and `ignore_next_eol'.
(environment::add_html_tag_eol, environment::add_html_tag_tabs): New
functions.
(point_size, fill, no_fill, center, right_justify, line_length,
indent, temporary_indent, break_request, handle_tab): Use
`add_html_tag()'.
(set_tabs): Use `add_html_tag_tabs()'.
(environment::add_html_tag): Updated.
(environment::do_break): Updated.
* src/roff/troff/div.cc (space_request, flush_output): Use
`environment::add_html_tag()'.
* src/roff/troff/input.cc: Updated.
New variable `html_level' to indicate nested `html-begin' requests.
(file_iterator::fill): Use `environment::add_html_tag_eol()'.
(non_interpreted_char_node, token_node, non_interpreted_node): Add
`force_tprint()' method.
(token::next): Handle `O'.
(do_suppress): Implement it.
(html_begin, html_end, html_image): New functions.
(init_output_requests): Renamed to ...
(init_html_requests): this.
(main): Use it.
(macro::append_str, macro::append_unsigned, macro::append_int): New
methods.
New variable `output_low_mark_miny' to limit minimal value of y.
(reset_output_registers): Use it.
(output_request): Removed.
(get_output_registers): New function.
* src/roff/troff/node.h (node): Make `force_tprint()' virtual.
(*_node): Added `force_tprint()' if necessary.
(special_node): New elements `tf' and `get_tfont()'.
(suppress_node): New class.
* src/roff/troff/node.cc:
New global variables `image_no' and `suppress_start_page'.
(real_output_file): New method `is_on()'.
(troff_output_file): New method `start_special(tfont)'.
(troff_output_file::really_print_line): Use `tprint' conditionally.
(real_output_file::print_line): Updated.
(real_output_file::on): Updated.
(*_node): Added `force_tprint()'.
(special_node::special_node): Initializer updated.
(special_node::same, special_node::copy, special_node::tprint_start):
Updated.
(get_reg_int, get_reg_str): New functions.
(suppress_node::*): New methods.
New global variables last_position, last_image_filename;
(min): New inline function.
* src/roff/troff/reg.h, src/roff/troff/request.h,
src/roff/troff/troff.h: Updated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tmac.doc.old -> doc-old.tmac
tmac.an.old -> an-old.tmac
* tmac/tmac.*: Moved to ...
* tmac/*.tmac: this.
* tmac/man.local: Fix comment.
* tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man,
tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated.
Added some `FILES' sections. More use of @...@ directives. Other
minor updates.
* arch/djgpp/README, font/devutf8/NOTES: Updated.
* doc/homepage.ms, doc/groff.texinfo: Updated.
* man/groff.man, man/roff.man: Updated.
* src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man,
src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
src/devices/grotty/grotty.man: Updated.
* src/preproc/pic/pic.man: Updated.
* src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old
instead of -mdoc.old.
* src/roff/grog/grog.man: Document -mdoc and -mdoc-old.
* src/roff/nroff/nroff.man: Updated.
* NEWS: Updated.
* tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment.
* tmac/mm.diff: Removed -- it has no use now since the mm package
is part of groff.
* tmac/*: Removed trailing spaces.
* arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in
the tmac subdirectory also).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tmac.FOOBAR.
* src/roff/troff/input.cc: Introduce MACRO_POSTFIX.
(open_mac_file, macro_source): Implement it.
* src/roff/troff/troff.man, tmac/groff_tmac.man, man/roff.man,
doc/groff.texinfo, NEWS: Document it.
* src/roff/nroff/nroff.man, src/roff/groff/groff.man, man/groff.man:
Small documentation improvements.
* test-groff: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac
subdirectory also).
* font/devps/Makefile.sub: Fix rules for dingbats.*map.
|
| |
|
|
|
|
|
|
|
|
| |
Updated and minor fixes.
Rename font/devps/generate/dingbats[r]map to dingbats.[r]map.
* font/devps/generate/Makefile.sub, arch/djgpp/README: Adjust.
|
|
|
|
|
|
|
| |
* configure: Updated.
* arch/djgpp/README, font/devutf8/NOTES: Use it.
* man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and
@MACRODIR@ instead of hard-coded directories.
|
|
|
|
|
|
|
|
|
|
| |
"/bin/sh", for non-Unix platforms.
(extraclean): Use a more portable "" quoting instead of a
backslash (which doesn't work on DOS/Windows).
* font/devlj4/generate/Makefile (extraclean): Ditto.
* font/devdvi/generate/Makefile (extraclean): Ditto.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devdvi/CWI: New file.
* font/devdvi/generate/Makefile: Add generating rule.
* font/devdvi/DESC.in, font/devdvi/Makefile.sub, win32-diffs,
tmac/tmac.dvi: Use it.
* NEWS: Announce it.
* font/devlj4/*: Regenerated (only adding kernings for `cq' glyph).
* font/devlj4/generate/Makefile: Cosmetic changes only.
* man/groff.man: Removed most of the redundant description of
special characters (which is in groff_char.man). Added font
translation CB->CR for devdvi. Other minor fixes.
* tmac/tmac.dvi: Improved appearance of (co (copyright) and (rg
(registered) symbols.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devdvi/*: Added kernings for `cq' glyph. Updated to latest
AMS font metrics.
* font/devdvi/generate/Makefile: Fixed dependencies.
* font/devps/*: Regenerated. Heavy changes for Bookman and
NewCentury Schoolbook!
* font/devps/generate/afmname: Will now run with GNU awk.
* font/devps/generate/textmap: Added forgotten `cq' glyph name.
* font/devps/generate/Makefile: Cosmetic changes only.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/*/*: Implement it.
* man/groff_char.man, NEWS: Document it.
* src/include/unix.h: Removed. It isn't used.
* doc/groff.texinfo: Slight improvements.
* README, win32-diffs: Small fixes and improvements.
|
|
|
|
|
|
|
|
|
| |
LaTeX 2e).
* NEWS: Document it.
* man/troff.man: Minor optical improvements.
* font/*/*: Implement it.
|
|
|
|
|
| |
* fonts/*/*: Implement it.
* man/groff_char.man, NEWS: Document it.
|
|
|
|
|
|
|
|
|
|
| |
expansion.
* NEWS: Document the three new man pages.
* aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call.
* configure: Updated.
* font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fonts/devcp1047/R.proto, fonts/devcp1047/Makefile.sub,
fonts/devcp1047/DESC.proto: New files.
* aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be
either ascii/latin1 or cp1047.
* Makefile.in: Use it.
* configure: Updated.
Replacing and/or adding `md' (mathdot) glyph with `pc'
(periodcentered) in all text fonts.
* fonts/*/*: Change it.
* aclocal.m4 (GROFF_OS390): Fixing compiler flags.
* configure.in: Add check for strings.h.
* src/include/driver.h: Use HAVE_STRINGS_H.
* src/devices/grolbp/lpb.cc: Remove string.h.
* src/include/groff-getopt.h: New file. It will be used instead of
getopt.h (to be included in lib.h) to avoid endless problems with
picky C++ compilers.
* src/include/lib.h: Use groff-getopt.h.
* src/include/Makefile.sub: Updated.
* configure: Updated.
* Makefile.in: Updated.
* NEWS: Mention EBCDIC support.
* TODO: Some additions.
* src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation
of mso request.
* src/roff/troff/troff.man: Minor fixes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`.T' string register and the incompatible definition of the `.T'
number register (compared to Unix troff).
* man/groff_char.man: Add some missing characters.
* font/devutf8/NOTES: Update.
* src/include/htmlindicate.h, src/include/lib.h,
src/include/posix.h: Fix copyright.
* src/include/Makefile.sub: Update.
* src/roff/troff/input.cc (input_char_description): Removing
superfluous space char.
* tmac/tmac.X: Fix typo (bq -> (Bq.
* doc/groff.texinfo: Document EBCDIC.
Introducing `shc' as the glyph name for the soft hyphen character.
* tmac/tmac.tty, tmac/tmac.latin1, tmac/tmac.html,
font/devlatin1/R.proto: Use it.
* NEWS: Updated.
* src/devices/grops/ps.cc (ps_printer::flush_sbuf): Removing
dependency on ASCII order.
|
|
|
|
|
|
| |
files.
Windows NT 4.0). Uses _MSC_VER define where necessary.
|
| |
|
|
|