summaryrefslogtreecommitdiff
path: root/font
Commit message (Collapse)AuthorAgeFilesLines
* Removing the grohtml-old device driver which is now obsolete.wlemb2001-04-1419-5168/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * src/include/nonposix.h (fileno) [_MSC_VER]: Removed.wlemb2001-04-111-0/+2
| | | | | | | | | | | | | | | | | | | | * 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).
* Implement continuous underlining for nroff mode. To do that, a newwlemb2001-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/ps.tmac: Remove call of psold.tmac.wlemb2001-01-182-17/+2
| | | | | | | | | * 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.
* newwlemb2001-01-171-0/+34
|
* removewlemb2001-01-1722-5174/+0
|
* Initial revisionwlemb2001-01-175-0/+333
|
* First cut of the new html device driver. Changes to pre-html andwlemb2001-01-173-0/+361
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* First cut of the new html device driver. Changes to pre-html andwlemb2001-01-173-353/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Initial revisionwlemb2001-01-1719-0/+5168
|
* Convert macros `tmac.XXX' to `XXX.tmac'. Special cases:wlemb2000-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Invert current behaviour: Search first FOOBAR.tmac, thenwlemb2000-10-251-2/+2
| | | | | | | | | | | | | | | | | 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.
* *** empty log message ***wlemb2000-10-242-0/+0
|
* * man/roff.man, src/roff/troff/troff.man, NEWS, doc/groff.texinfo:wlemb2000-10-241-4/+4
| | | | | | | | Updated and minor fixes. Rename font/devps/generate/dingbats[r]map to dingbats.[r]map. * font/devps/generate/Makefile.sub, arch/djgpp/README: Adjust.
* * aclocal.m4 (GROFF_PAGE): Add test for new directory structure.wlemb2000-10-231-1/+1
| | | | | | | * 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.
* * font/devps/generate/Makefile (SHELL): Define explicitly towlemb2000-08-253-3/+7
| | | | | | | | | | "/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.
* Initial revisionwlemb2000-08-253-0/+353
|
* Adding font CWI (constant width italic) to devdvi.groff-1_16wlemb2000-05-2330-20/+614
| | | | | | | | | | | | | | | | | | * 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.
* * doc/Makefile: Added rule for creating info files.wlemb2000-05-2243-1252/+1875
| | | | | | | | | | | | * 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.
* Adding `cq' (PS name `quoteright') glyph name as an alias for "'".wlemb2000-05-19185-48/+228
| | | | | | | | | | | | * 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.
* * font/devdvi/DESC.in: Change size 11pt to 10.95pt (as used inwlemb2000-05-051-1/+1
| | | | | | | | | LaTeX 2e). * NEWS: Document it. * man/troff.man: Minor optical improvements. * font/*/*: Implement it.
* Adding `dq' (PS name `quotedbl') glyph name as an alias for `"'.wlemb2000-05-04176-4236/+4411
| | | | | * fonts/*/*: Implement it. * man/groff_char.man, NEWS: Document it.
* * tmac/groff_tmac.man, man/groff.man, man/roff.man: Fixing @MANxEXT@wlemb2000-05-021-1/+1
| | | | | | | | | | 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).
* Initial revisionwlemb2000-04-293-0/+394
|
* Adding EBCDIC code page 1047.wlemb2000-04-29173-218/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * src/roff/troff/troff.man, doc/groff.texinfo, NEWS: Document thewlemb2000-04-222-17/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `.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.
* * src/utils/indxbib/indxbib.cc (main): Use mkstemp() for temporarywlemb2000-03-011-10/+20
| | | | | | files. Windows NT 4.0). Uses _MSC_VER define where necessary.
* Initial revisionwlemb2000-02-2720-0/+7577
|
* Initial revisionwlemb2000-02-06230-0/+76069