| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but not completely identical to grolbp's extension). grops now has
a -p command line option to override `papersize'. Finally, grolbp
has been adapted to the new syntax.
* src/libs/libgroff/paper.cc, src/include/paper.h: New files. It
defines and initializes the `papersizes[]' array with NUM_PAPERSIZES
elements.
* src/libs/libgroff/Makefile.sub (OBJS): Add `paper.o'.
(CCSRCS): Add `paper.cc'.
* src/include/font.h (font): Add `papersize' element.
* src/libs/libgroff/font.cc (font::unit_scale): New helper function.
(font::scan_papersize): New function.
(font::load_desc): Use it for handling `papersize' keyword.
* src/libs/libgroff/fontfile.cc: Initialize `font::papersize'.
* src/devices/grops/ps.cc: Include paper.h.
(user_paper_length): New global variable.
(ps_printer): Use paper length as initializer.
(make_printer): Updated.
(main): Handle new `-p' option.
* src/devices/grops/grops.man: Updated.
* src/devices/grolbp/lbp.cc: Include paper.h.
s/papersizes/lbp_papersizes/.
(set_papersize): Use new `papersizes' array.
(handle_unknown_desc_command): Don't handle `papersize'.
(main): Use `font::scan_papersize' for handling `-p' option.
* src/devices/grolbp/grolbp.man: Updated.
* man/groff_font.man: Document `papersize'.
* NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/input.cc (transparent): Remove unused declaration.
(output_request): New function.
(init_input_requests): Add it.
Sorted.
* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
Document it.
* Makefile.in (MDEFINES): Add INSTALL_INFO.
* doc/groff.texinfo (@direntry): Fix it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if at outer level; at start-up we are at outer level.
* src/roff/troff/input.cc (do_suppress): Implement it.
Simplify \O[3].
Add option -p to show progress information.
pre-grohtml will now render only one page at a time, reducing the
size of needed disk resources enormously.
* src/preproc/html/pre-html.cc (imagePageStem): Replaced with...
(imagePageName): New global variable.
(psPageName, show_progress, currentPageNo): New global variables.
(html_system): Close saved stderr and stdout handles.
(write_end_image): Accept a parameter to control \O escape.
(write_start_image): Adapted to new \O meaning.
(char_buffer::write_upto_newline): Updated.
(createAllPages): Replaced with...
(createPage): This new function to create a single page for images.
It uses `psselect' from the psutils package.
(removeAllPages): Removed.
(createImage): Updated.
Handle progress display.
(char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Removed.
(scanArguments): Add option -p.
(makeTempFiles): Updated to create temp files for psPageName and
imagePageName.
(removeTempFiles): Removed.
(main): Updated.
* src/devices/grohtml/post-html.cc (header_desc::write_headings,
html_printer::write_header): Append `\0' to `buffer'.
(html_printer::do_eol): Depend on `current_paragraph->emitted_text'.
(main): Handle -p.
* src/devices/grohtml/html-text.cc (html_text::dump_stack_element):
Handle `text_emitted'.
(html_text::table_is_void): Slightly rewritten.
(stop): New external symbol.
(html_text::do_push) [DEBUGGING]: Use it and simplify.
(html_text::shutdown): Call `dump_stack'.
(html_text::do_space): Rewritten.
* src/devices/grohtml/grohtml.man: Document -p and the need of
`psselect'.
* tmac/www.tmac (DC, HTML-DO-IMAGE, HTML-IMAGE-END): Updated to
new \O syntax.
Call \O[0] if `ps4html' is active.
* tmac/s.tmac (@EQ, @EN): Handle html better.
(@TS, TE): Ditto.
* tmac/html.tmac: Don't use black for background colour.
* src/roff/troff/node.cc: Include `div.h'.
(troff_output_file::really_print_line): Don't use `is_on'.
(troff_output_file::word_marker, troff_output_file::flush_tbuf
troff_output_file::check_charinfo,
troff_output_file::put_char_width, troff_output_file::put_char,
troff_output_file::determine_line_limits, troff_output_file::draw,
real_output_file::begin_page, glyph_color_node::tprintf,
fill_color_node::tprint, hline_node::tprint, vline_node::tprint):
Use `is_on'.
(troff_output_file::really_on): Call `do_motion'.
(suppress_node::tprint): Use `get_page_number' instead of `%'
register.
Call `reset_output_registers' conditionally on `is_on'.
* doc/groff.texinfo: Document new syntax of \O.
* NEWS, man/groff_diff.man: Updated.
|
|
|
|
|
| |
code of x in range 0-127) also.
* doc/groff.texinfo, man/groff_diff.man: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jeffrey Friedl <jfriedl@yahoo.com>.
* src/roff/troff/input.cc (spread_limit, warn_scale,
warn_scaling_indicator): New global variables.
(warnscale_request, spreadwarn_requests): New functions.
(main): Initialize `warn_scale' and `warn_scaling_indicator'.
(init_input_requests): Updated.
(error_type): Add `OUTPUT_WARNING'.
(do_error): Handle it.
(output_warning): New warning function which shows output location.
* src/roff/troff/env.h (spread_limit): New external variable.
* src/roff/troff/env.cc (environment::choose_breakpoint): Use
`output_warning'.
(distribute_space): Emit warning if added space is larger than
`spread_limit'.
(environment::possibly_break_line): Emit warning if a line can't
be adjusted on both sides.
* doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
headers (both in the text and the table of contents).
* man/groff_tmac.man, src/roff/troff/troff.man: Fix order of tmac
directories.
Use registers LL and LT (similar to -ms) for controlling the
length of title and line, respectively, in the -man and -mdoc
macro packages.
* tmac/doc-ditroff (doc-setup-page-layout), tmac/doc-nroff
(doc-setup-page-layout): Use \n[LL] and \n[LT].
* tmac/an-old.tmac: Set \n[LL] and \n[LT] if not defined.
(TH): Use \n[LL].
(an-header, an-p-footer): Use \n[LT].
* NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
doc/groff.texinfo: Document it.
|
|
|
|
|
|
| |
Some macro fixes.
* man/groff_out.man: Minor fixes.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
will now form a chain, e.g.
.pi foo
.pi bar
is now the same as
.pi foo | bar
This is for compatibility with plan 9's troff.
* tmac/tty.tmac: Set default tab values to 0.8i to be compatible
with UNIX troff.
* NEWS: Updated.
* doc/groff.texinfo: Add documentation of remaining requests and
registers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/input.cc (token::next): Handle \F.
* src/roff/troff/env.cc (environment::set_family): Handle
`interrupted' flag.
* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
Document it.
* tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of
spaces in tags.
* tmac/Xps.tmac: Remove some redundant code.
* tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac,
tmac/dvi.tmac, contrib/groffer/groffer.man, man/roff.man,
man/groff_out.man, man/groff.man, man/groff_diff.man,
src/roff/groff/groff.man: Replace \f[P] with \f[].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
\m[] and \M[], respectively.
* src/roff/troff/symbol.cc (EMPTY_SYMBOL): New global variable.
(symbol::symbol): Handle NULL string and empty string differently.
* src/roff/troff/symbol.h (symbol::is_empty): New inline function.
* src/roff/troff/input.cc (read_escape_name, read_long_escape_name):
Add optional parameter.
Updated calling functions.
(get_copy, do_glyph_color, do_fill_color, token::next): Use
`symbol::is_empty'.
* src/roff/troff/env.cc (environment::set_font): Ditto.
* src/preproc/pic/troff.cc (troff_output::set_fill,
troff_output::reset_color: Updated.
* tmac/www.tmac: Updated.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo,
doc/homepage.ms, src/devices/grotty/grotty.man, tmac/groff_www.man:
Updated.
* src/include/printer.h, src/libs/libdriver/printer.cc
(printer::change_fill_color): New member function.
* src/libs/libdriver/input.cc (parse_D_command): Use it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/include/color.h: Decorate with `const'.
Use `size_t'.
Include `stddef.h'.
* src/libs/libgroff.color.cc: Decorate with `const'.
Use `size_t'.
(color::color): Initialize members.
* src/libs/libdriver/input.cc (parse_D_command): Handle `f'
command according to the documentation.
* man/groff_out.man: Updated.
Minor fixes.
* src/preproc/html/pre-html.cc (write_start_image): Remove
redundant output.
* tmac/www.tmac (DC, HTML-DO-IMAGE): Ditto.
* src/devices/grohtml/post-html.cc (page::add_and_encode): Using
\C'hy' caused an assertion failure.
* src/roff/troff/env.cc (environment::environment): Initialize
`emitted_node'.
(environment::copy): Handle `ignore_next_eol' and `emitted_node'.
|
|
|
|
|
|
|
| |
Document pvs request and .pvs register.
* doc/groff.texinfo: Improve and fix documentation of diversions
and environments.
|
|
|
|
|
|
|
| |
* tmac/lbp.tmac: Load latin1.tmac.
* tmac/X.tmac, tmac/Xps.tmac: Load latin1.tmac or cp1047.tmac.
* font/devX*/*: Regenerated (all chars > 0x80 removed).
|
|
|
|
|
|
|
|
|
|
| |
* font/devlbp/*: Remove all `charXXX' entities.
* src/libs/libgroff/font.cc (font::~font): Deallocate
`special_device_coding'.
(font::load): Use `new' for allocating `special_device_coding'.
* src/libs/libgroff/nametoindex.cc (character_indexer::lookup_char):
Removed unused member.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of `+-', `mu', and `di', respectively.
* font/devascii/R.proto, font/devutf8/R.proto,
font/devlatin1/R.proto, font/devhtml/R.proto,
font/devcp1047/R.proto, font/devlpb/*: Add them.
* font/devps/generate/textmap: Ditto.
* font/devps/*: Regenerated.
* font/devlj4/generate/text.map: Add them.
* font/devlj4/*: Regenerated.
* font/devdvi/generate/tc.map: Use them.
* font/devdvi/generate/texsy.map: Add them.
* font/devdvi/*: Regenerated.
* font/devX*/*: Regenerated.
* tmac/latin1.tmac, tmac/cp1047.tmac, tmac/tty.tmac,
tmac/tty-char.tmac: Updated.
* NEWS, man/groff_char.man: Updated.
|
|
|
|
|
|
|
|
| |
* tmac/ec.tmac: Remove `.rchar' calls (no longer necessary since
we use `.fchar' in dvi.tmac.
* tmac/Xps.tmac: Simplify some char definitions.
Add definition for \[f/].
* man/groff_char.man: Updated for new X.tmac.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use most of TeX's pattern files unmodified. To make the process
more flexible, a new request `hpfcode' has been added which
provides a character code mapping for the `hpf' request. See
comment before hpf_getc() for more details.
* src/roff/troff/env.cc (insert_hyphenation, hpf_getc): New
functions.
(read_patterns_file): Additional parameter for exception dictionary.
Extended to recognize \pattern, \hyphenation, and \endinput.
(do_hyphenation_patterns_file): Updated.
* src/roff/troff/env.h (hpf_code_table): New extern.
* src/roff/troff/input.cc (hpf_code_table): New array.
(init_hpf_code_table, hyphenation_patterns_file_code): New
functions.
(hyphenation_code): Handle translation from `trin' correctly.
(main, init_input_requests): Updated.
(charinfo::set_translation): Handle hyphenation code also.
* src/roff/troff/charinfo.h (charinfo::get_translation_input): New
inline function.
* src/roff/troff/env.cc (WORD_MAX): Reduced to 256 since `unsigned
char' is used for offsets in hyphenation exceptions.
* tmac/hyphen.us: Replace with contents of unmodified `hyphen.tex'.
* NEWS, man/groff_diff.man, man/groff.man: Document it.
* doc/groff.texinfo: Document possible conflict between `tr' and
`char' requests.
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
parameter `append'.
(hyphenation_patterns_file): Renamed to...
(do_hyphenation_patterns_file): This.
(hyphenation_patterns_file, hyphenation_patterns_file_append): New
functions.
(init_hyphen_requests): Updated.
* NEWS, man/groff.man, man/groff_diff.man: Document it.
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/input.cc (write_request): Renamed to...
(do_write_request): This.
Added one parameter.
(write_request, write_request_continue): New functions.
(init_input_requests): Updated.
* NEWS, man/groff.man, man/groff_diff.man: Document it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
correctly. This is necessary since `charXXX' entity names are no
longer hardcoded in font definition files.
* src/roff/troff/charinfo.h (charinfo): Add `asciify_code' and
`translate_input' members.
(charinfo::set_asciify_code, charinfo::get_asciify_code,
charinfo::set_translation_input): New methods.
(charinfo::set_translation): Add third argument.
* src/roff/troff/input.cc (charinfo:set_translation): Set
`asciify_code'.
(do_translate): Add second argument.
(translate_input): New function.
(init_input_requests): Updated.
* src/roff/troff/node.cc (glyph_node::asciify,
composite_node::asciify): Use `get_asciify_code'.
* tmac/cp1047.tmac, tmac/latin1.tmac: Use `trin'.
* NEWS, man/groff.man, man/groff_diff.man: Updated.
|
|
|
|
|
|
|
|
|
|
|
| |
files.
* src/roff/troff/env.cc (override_sizes): New function.
(init_env_requests): Use it.
* src/roff/troff/token.h: Export `read_string'.
* NEWS, man/groff_diff.man, man/groff.man: Document it.
* doc/groff.texinfo: More fixes for texinfo 4.1 and higher.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
files (as grops already does).
* src/utils/afmtodit/afmtodit.man: Document comment lines in map
files.
* src/devices/grops/grops.man: Document comment lines in encoding
files.
* tmac/cp1047.tmac: New file.
* tmac/dvi.tmac, tmac/tty-char.tmac: Use it.
* tmac/ps.tmac: Load latin1.tmac or cp1047.tmac.
* tmac/Makefile.sub (NORMALFILES): Updated.
* tmac/ec.tmac: Don't load latin1.tmac again.
* fonts/devps/generate/lgreekmap, fonts/devps/generate/symbolchars,
fonts/devps/generate/dingbats.map,
fonts/devps/generate/dingbats.rmap, fonts/devps/text.enc,
fonts/devps/generate/Makefile (symbolmap): Add header comment.
* fonts/devps/generate/textmap: Ditto.
Remove `charXXX' entries.
* fonts/devps/symbolmap: Regenerated.
* fonts/devps/*: Regenerated all font definition files.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adobe Glyph List).
* font/devps/generate/textmap, font/devps/symbolmap: Add
`arrowupdn'.
* doc/groff.texinfo: Minor additions and fixes.
* man/groff_diff.man: Remove documentation of fp request. This
is already covered in the original troff manual.
Updated to be consistent with other doc files.
* NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TTYDEVDIRS.
Define new variable OTHERDEVDIRS (containing `font/devlj4
font/devlbp' if not EBCDIC).
* Makefile.in (TTYDEVDIRS): Always include `font/devutf8'.
(OTHERDEVDIRS): New variable.
(MDEFINES, DEVDIRS, ALLDIRS, DISTDIRS): Updated.
* configure: Regenerated.
* NEWS, src/devices/grotty/grotty.man: Updated.
* src/roff/troff/input.cc (do_overstrike, do_bracket,
get_line_arg): Honour input level.
Add new symbol `mc' corresponding to U+00B5 MICRO SIGN.
* font/*/*: Implement it in all font files.
* font/devps/generate/textmap, font/devps/generate/symbolchars,
* font/devps/symbolmap: Updated.
* font/devlj4/generate/text.map: Updated.
* font/devdvi/generate/CompileFonts (sizes): Add LaTeX sizes.
* font/devdvi/generate/texmi.map: Updated.
* font/devutf8/R.proto: Remove all `charXXX' entries.
* font/devutf8/NOTES: Updated.
* font/devX*/*: Regenerated with xtotroff, using fonts from XFree86
version 4.1.0.
* tmac/latin1.tmac, tmac/psold.tmac, tmac/tty-char.tmac: Updated.
* NEWS, man/groff_char.man: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`snprintf' and `vsnprintf'.
* src/include/htmlindicate.h: Renamed to...
* src/include/htmlhint.h: This.
* src/include/Makefile.sub: Updated.
* src/preproc/eqn/main.cc: Updated.
* man/roff.man, man/groff_out.man, man/groff.man,
man/groff_diff.man, man/ditroff.man, src/roff/groff/groff.man,
src/roff/troff/troff.man: Updated to latest changes in www.tmac.
* win32-diffs: Updated.
|
|
|
|
|
| |
* man/groff_tmac.man: This place.
* tmac/Makefile.sub, man/Makefile.sub: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
scheme) to nroff.
* src/roff/nroff/nroff.sh: Implement it.
Remove `-Wall'.
* NEWS, src/roff/nroff/nroff.man: Updated.
Implementing color support in grotty. The new switch -c activates
the old drawing scheme, disabling color at the same time. The new
switch `-i' selects italic instead of underlining (SGR only).
* src/devices/grotty/tty.cc (putstring): New define instead of
`fputs'. Updated all callers.
(old_drawing_scheme): New global variable.
(COLOR_CHANGE): New enum value.
(SGR_*): New defines containing color handling escape sequences.
(TTY_MAX_COLORS, DEFAULT_COLOR_IDX): New defines.
(glyph): New members `back_color_idx' and `fore_color_idx'.
(glyph::order): Add COLOR_CHANGE.
(tty_printer): New members `cur_fore_idx', `curr_back_idx',
`is_underline', `is_bold', `cu_flag', `tty_colors'.
New methods `make_underline', `make_bold', `color_to_idx',
`change_color', `put_color'.
(cu_flag): Moved into `tty_printer' class.
(tty_printer::tty_printer): Initialize colors.
(tty_printer::add_char, tty_printer::set_char, tty_printer::special,
tty_printer::draw, tty_printer::end_page): Handle colors also.
(main): Add options `-c' and `-i'.
(usage): Updated.
* NEWS, src/devices/grotty/grotty.man: Updated.
* src/include/errarg.h (errarg): Add support for `unsigned int'.
* src/libs/libgroff/errarg.c: Implement it.
* src/include/printer.h (printer): Add `change_color' method
(currently used by grotty only).
* src/libs/libdriver/printer.cc: Implement it.
* src/libs/libdriver/input.cc (parse_D_command, do_file): Add
call to `pr->change_color'.
* src/roff/troff/node.cc (troff_output_file::fill_color,
troff_output_file::glyph_color): Call `do_motion'.
* tmac/tty.tmac: Add color definitions.
* src/roff/groff/groff.man: Minor fixes.
|
|
|
|
|
| |
* man/groff_diff.man: Improve documentation of `.am1' and `.as1'.
* tmac/tty.tmac: Add `EUR' as replacement for `eu' and `Eu'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
are equivalent to `ds' and `as' with the difference that
compatibility mode is saved on entry, switched off during string
expansion, and restored on exit. The latter is the pendant to `dei'
for `am'.
(do_define_string): Use `define_mode' and `calling mode'.
Insert COMPATIBLE_SAVE and COMPATIBLE_RESTORE at the beginning and
end of string, respectively.
(define_string, append_string): Use `calling_mode'.
(define_nocomp_string, append_nocomp_string,
define_string_indirect): New functions.
(init_input_requests): Updated.
* NEWS, man/groff_diff.man, man/groff.man: Document it.
* src/preproc/eqn/box.cc (box::top_level, box::extra_space): Use
`as1' for assigning LINE_STRING (this is `10' usually). Sun's
mm macro package accesses this string register directly.
* src/preproc/eqn/main.cc (inline_equation): Use `as1'.
* tmac/trace.tmac: Trace calls to `am' also. Make it work in
compatibility mode.
|
|
|
|
| |
* man/groff_out.man: Revised and updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Complete revision of color support:
Adapt programs to the new libdriver/input.cc.
Color spaces are no longer converted to RGB but transferred as-is
in the troff intermediate output format.
Handle default color gracefully. troff now supports a `default'
color (which can't be changed).
grops will now use the proper color space functions if available.
Update pic.
Note that currently grohtml doesn't handle colors properly. This
has to be fixed.
* src/libgroff/itoa.c (UINT_DIGITS): New macro.
(ui_to_a): New function.
* src/include/lib.h: Updated.
* src/include/color.h (color_scheme): Replace `NONE' with `DEFAULT'.
(color): Simplified; removed all `double' members and methods.
A new array `components' now holds the color parameters.
(color::is_default, color::get_components): New methods.
(color::operator==, color:operator!=): New.
(Red, Green, Blue, Cyan, Magenta, Yellow, Black, Gray): New macros
to make access to the `components' array more comprehensible.
* src/libgroff/color.cc: Implement new color support.
(atoh): Small fixes.
(color::read_encoding): Simplified for new troff intermediate color
output format.
(default_color): New global variable.
* src/roff/troff/input.cc (default_symbol): New global variable.
(lookup_color): Use it.
(default_black): Removed.
(do_glyph_color, do_fill_color): Simplified.
(define_color): Handle default color.
Improve warnings.
(do_if_request): Handle default color.
* src/roff/troff/env.cc (environment::environment): Initialize
colors with `default_color'.
* src/roff/troff/node.cc (troff_output_file::put): Add method
for `unsigned int'.
(troff_output_file::hex): Removed.
(troff_output_file::fill_color, troff_output_file::glyph_color):
Updated to include/color.h and libdriver/input.cc.
* src/preproc/pic/object.cc (draw_arrow): New parameter to set
fill color properly (identically to the outline color). \D'f...'
doesn't work any more.
All function calls to it updated.
* src/devices/grohtml/post-html.cc (html_printer::do_body, main):
Updated.
* src/devices/grohtml/html-text.cc (html_text::issue_color_begin):
Updated.
* src/devices/grops/ps.cc (ps_output::put_color): New method.
(ps_printer::sbuf_color): Make a real member instead of pointer.
(ps_printer::fill_color, ps_printer::output_color): Removed.
(ps_printer::ps_printer): Updated.
(ps_printer::set_char): Ditto.
(ps_printer::set_color): Use various color schemes.
Use `put_color' method.
(ps_printer::flush_sbuf): Don't set color.
(ps_printer::fill_path): Take `environment' as parameter.
Simplify color handling.
(ps_printer::set_line_thickness): Renamed to ...
(ps_printer::set_line_thickness_and_color): This (and updated).
(ps_printer::set_color): Change second parameter from `complete'
to `fill' which better describes what it does.
(ps_printer::draw): Call `flush_sbuf' to output graphic commands
and text in the right order.
Updated.
Remove branches for `f' and `F'; this is handled by
libdriver/input.cc.
* src/devices/grops/ps.h: Updated.
* font/devps/prologue (FL): Redefined
({F,C}r,k,g: New color functions (with and without filling).
* doc/pic.ms, src/preproc/pic/pic.man: Small fixes.
* man/groff_diff.man, man/groff.man, man/groff_out.man,
doc/groff.texinfo, NEWS: Updated.
* src/libs/libdriver/input.cc: Completely rewritten. See comments
in this file for what has been changed.
|
| |
|
|
|
|
| |
* doc/groff.texinfo, doc/groff.man: More on a printable backslash.
|
|
|
|
|
|
|
| |
* man/roff.man: Minor fixes.
* src/roff/troff/troff.man: Some reordering.
* tmac/an-old.tmac: Add dummy macros for equation support.
|
| |
|
|
|
|
| |
* man/ditroff.man, src/roff/groff/groff.man, man/groff.man: Revised.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
registers defined in macro packages.
Revising the ms part.
* doc/groff.texinfo: Add documentation for ms macros.
First step in adding PS support for the Euro symbol. `eu' is the
official Euro logo, `Eu' is a font-specific glyph variant.
* font/devps/text.enc: Add `Euro' at position 9.
* font/devps/generate/textmap: Add `Euro' as symbol `Eu'.
* font/devps/symbolmap: Regenerated.
* NEWS: Updated.
* man/roff.man: Revised.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/env.h (environment): New member
`continued_input_trap'.
Make `do_input_trap' a friend function instead of `input_trap'.
* src/roff/troff/env.cc (environment::environment,
environment::copy): Updated.
(environment::newline): Implement it.
(do_input_trap): New function.
(input_trap): Call `do_input_trap'.
(input_trap_continued): New function.
(init_env_requests): Updated.
* src/roff/troff/TODO: Updated.
* tmac/an-old.tmac (SH, SS, B, I, SM, SB, TP): Use `.itc' instead of
`.it'.
* src/preproc/grn/hdb.cc (DBRead): Really chop after 127 characters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/charinfo.h (charinfo): New flag `fallback'.
(is_fallback): New inline function.
* src/roff/troff/input.cc (do_define_character): New function.
(define_character): Call `do_define_character'.
(define_fallback_character): New function.
(init_input_requests): Add `fchar'.
(charinfo::charinfo): Updated.
(charinfo::set_macro): New argument to set `fallback' flag.
* src/roff/troff/node.cc (make_glyph_node, make_node,
node::add_char): Check `fallback' flag.
* NEWS, man/groff_diff.man, man/groff_man: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
real (internal) font name.
* env.cc (environment::get_font_name_string): New function.
(init_env_requests): Add `.fn' register.
* env.h (environment): Updated.
* node.cc (font_info): Make `get_font_name' a friend.
(get_font_name): New function.
* node.h: Updated.
* man/groff_diff.man, man/groff.man, NEWS: Updated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/groff/groff.man: Replace man page references with a
pointer to roff.man.
* man/roff.man: Completely rewritten.
* Makefile.sim, groff_mm.man, groff_mmse.man: Minor fixes.
* mmroff.man: This is a section 1 man page.
Minor fixes.
* Makefile.sub: Install mmroff.man in section 1.
|
| |
|
| |
|
|
|
|
| |
* man/ditroff.man: New file.
|
| |
|