| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
* extra space in expression removed in EPIC
* EPIC can leftadjust with -L
* EPIC was drawing 1v down
* forgot to add mmse.tmac and mm.tmac to cvs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Mention troff.org.
|
|
|
|
|
|
|
| |
* Added mm.tmac and mmse.tmac wrappers
* Fixed bug in mmroff so a .qrf-file always will be created
* .EQ mark was not correctly positioned anymore.
* changed SP to sp in DS/DE to further correct .EQ
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/preproc/pic/pic.y: Make `.', BOX, CIRCLE, ELLIPSE, ARC, LINE,
ARROW, SPLINE, and `[' left-associative tokens to fix shift/reduce
conflicts.
(object_spec): Add rule for `WITH' and `position'.
(relative_path): Give `corner' the precedence of `CHOP'.
* src/preproc/pic/object.h (path): New members `pos' and
`is_position'.
* src/preproc/pic/object.cc: Updated initializers of `path'.
(path::follow): Handle `is_position'.
* doc/pic.ms: Completely updated grammar description.
Many typographical improvements.
|
|
|
|
|
|
|
|
|
|
| |
in pic.
* src/preproc/pic/lex.cc (lookup_keyword): Add NORTH, SOUTH, EAST,
and WEST.
(yylex): Handle them.
* src/preproc/pic/pic.y: Add tokens NORTH, SOUTH, EAST, and WEST.
(corner): Handle them.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
env_definite_font(curenv) instead of curenv->get_font(). Otherwise
\X''\% crashes, for example.
* doc/groff.texinfo: Document \! and \? used at top-level.
* src/preproc/pic/pic.man: Fix some keyword syntax.
Other minor typographical fixes.
* src/roff/groff/groff.man: Fix typos.
* src/roff/groff/groff.man ([ShortOpt]): Renamed to...
(ShortOpt[]): This to avoid problems with refer.
* doc/pic.ms: Fix typo.
Fix pic grammar description.
* tmac/an-old.tmac (ne): Use de1, not de.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/groff.texinfo: Include it.
Define and use @copying.
Starting with separating glyph, symbol, and character.
* Makefile.in (EXEEXT): Set it.
* src/*/Makefile.sub (PROG): Add $(EXEEXT) for all non-script
programs.
* src/include/nonposix.h: Define GS_NAME.
* src/preproc/html/pre-html.cc (createAllPages): Use GS_NAME.
Some preliminary changes for EMX support under OS/2.
* src/preproc/pic/main.cc (main), src/roff/groff/pipeline.c: Add
__EMX__ similar to __MSDOS__.
* src/utils/indxbib/indxbib.cc (main) [__EMX__]: Use `unlink'.
|
|
|
|
|
|
| |
Some macro fixes.
* man/groff_out.man: Minor fixes.
|
|
|
|
|
| |
correct page references.
Fixed many index entries.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* font/devdvi/generate/tc.map: Remove entry for `sr'.
* font/devdvi/*TC: Regenerated.
|
|
|
|
|
|
| |
if not in compatibility mode, i.e., increment relative to the
previous height.
* doc/groff.texinfo: Updated accordingly.
|
| |
|
|
|
|
| |
Other minor fixes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
Other minor fixes.
|
|
|
|
|
| |
arguments.
Other minor fixes.
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
* tmac/latin1.tmac, tmac/cp1047.tmac: Translate soft hyphen to `\%'.
* NEWS: Updated.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(resource_manager::do_begin_binary,
resource_manager::do_begin_data): Use it.
* doc/texinfo.tex: Updated to version 4.2.
* src/roff/troff/token.h: Add TOKEN_ZERO_WIDTH_BREAK for `\:'.
(token::zero_width_break): New inline function.
* src/roff/troff/input.cc (token::next): Use it.
(token::description): Updated.
(encode_char): Ignore `\%', `\&', `\)', and `\:'.
(token::add_to_node_list, token::process): Use it.
* NEWS, doc/groff.texinfo: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`.ps' register instead of `.s' to handle fractional point sizes.
* src/preproc/eqn/limit.cc (limit_box::compute_metrics,
limit_box::output): Ditto.
* src/preproc/eqn/other.cc (size_box::compute_metrics,
size_box::output): Ditto.
* src/preproc/eqn/over.cc (over_box::compute_metrics,
over_box::output): Ditto.
* src/preproc/eqn/script.cc (script_box::compute_metrics,
script_box::output): Ditto.
* src/preproc/eqn/sqrt.cc (sqrt_box::compute_metrics,
sqrt_box::output): Ditto.
|
|
|
|
| |
Fix `\' vs. `\\'.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix typo.
* doc/homepage.ms: Reduce title size.
* doc/groff.texinfo: Fix documentation of .t register.
* src/roff/troff/input.cc (exit_troff): Emit LAST_PAGE_EJECTOR
only if page length is positive to avoid a loop.
* tmac/an-old.tmac (ne): Increase page length to avoid problems with
tbl.
|
|
|
|
| |
s/__CYGWIN32__/__CYGWIN__/.
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/Makefile (gnu.eps, gnu.png): Use pnmdepth.
(homepage.html): Be dependent on gnu.eps.
* doc/homepage.ms: Updated to new image.
* src/devices/grohtml/post-html.cc (html_printer): New member
`sbuf_prev_hpos'.
(html_printer::flush_sbuf, html_printer::set_char): Set it.
(html_printer::sbuf_continuation): Use it.
|
|
|
|
| |
* tmac/README: More on hyphen.tex license.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/lj4.tmac, tmac/tty.tmac: Replace most `.char' with `.fchar'.
* tmac/dvi.tmac: Improve definition of \[Fo] and \[Fc].
|
|
|
|
|
|
|
|
| |
* 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.
|