| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* src/preproc/html/pushback.cpp (pushBackBuffer::pushBackBuffer,
pushBackBuffer::~pushBackBuffer): Abort if `dup' fails.
|
| |
|
|
|
|
|
|
|
| |
Problem reported by Andy Spencer <andy753421@gmail.com>.
* src/preproc/eqn/pile.cpp (pile_box::compute_metrics): Fix
rounding.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While problems ` and ' have been unintentionally introduced rather
recently, the limitation regarding # was there from the beginning.
At the same time, fix a small bug causing `.lf' requests not
starting a line.
* src/preproc/tbl/table.cpp (table::init_output,
table::compute_expand_width, table::compute_separation_factor,
table::define_bottom_macro, table::do_bottom): Temporarily switch
off eqn delimiters, wrapping the code into a `.ig' block. This uses
the new functionality just added to eqn.
* src/preproc/eqn/eqn.man, src/preproc/tbl/tbl.man: Updated.
|
| |
|
| |
|
|
|
|
|
| |
* src/preproc/eqn/lex.cpp (do_delim): Handle multiple sequences of
`delim on' gracefully (ditto for `delim off').
|
|
|
|
|
|
|
|
|
| |
* src/preproc/eqn/lex.cpp (start_delim_saved, end_delim_saved): New
global variables.
(do_delim): Handle `delim on' to restore previous start and end
delimiters.
* src/preproc/eqn/eqn.man, NEWS: Document it.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/preproc/html/pre-html.cpp (alterDeviceTo): Avoid ambiguous
if-else clause.
* src/preproc/grn/main.cpp (sccsid): Comment out.
* src/roff/troff/number.cpp (parse_expr) <case '*'>: Add cast.
* src/devices/xditview/Makefile.sub (EXTRA_CFLAGS): Add `-Dlint' so
that unused static ID arrays don't cause a warning.
(Some) problems reported by Bjarni Ingi Gislason
<bjarniig@rhi.hi.is>.
|
|
|
|
| |
Problem reported by Doug McIlroy <doug@cs.dartmouth.edu>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/preproc/eqn/main.cpp (do_file), src/roff/troff/env.cpp
(environment::print_env), src/roff/troff/mtsm.cpp
(statem::display_state): Add syntactical sugar.
* src/utils/tfmtodit/tfmtodit.cpp (char_info_word): Use `unsigned
char' for all members.
* src/devices/grohtml/html-text.cpp (html_text::remove_def): Remove
unused variable `q'.
* src/devices/grohtml/post-html.cpp
(html_printer::lookahead_for_tables): Remove unused variable `left'
and `seen_text'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devpdf/*: New device files for gropdf.
* src/devices/gropdf/*: New device.
* Makefile.comm (install_dev, uninstall_dev): Handle more
subdirectories.
* Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Add directories
related to gropdf.
* MANIFEST: Updated.
* test-groff.in (GROFF_BIN_PATH): Updated.
* tmac/Makefile.sub (NORMALFILES): Updated.
* tmac/pdf.tmac: New file.
* tmac/troffrc: Updated.
* doc/groff.texinfo: Document it.
* doc/Makefile.in, doc/Makefile.sub (groff_bin_dirs): Udpated.
* doc/pic.ms: Updated.
* man/groff_out.man, src/devices/grops/grops.man,
src/preproc/pic/pic.man, src/roff/groff/groff.man,
src/utils/afmtodit/afmtodit.man, src/utils/pfbtops/pfbtops.man:
Updated.
* contrib/pdfmark/pdfmark.ms: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/e.tmac (n1, n2, TH, PS): Implement it.
(@h, @n, @o, @t, @k, )b, (c, (q, )q, (l, )l, (f, @q, PE): Updated.
* doc/meref.me: Document changes.
* src/preproc/tbl/table.cpp (ROW_START_LINE_REG, ROW_SAVE_LINE_REG,
ROW_MAX_LINE_REG, REPEATED_NM_SET_MACRO, REPEATED_NM_SUS_MACRO): New
macros.
(table::init_output): Define REPEATED_NM_SET_MACRO and
REPEATED_NM_SUS_MACRO.
(table::print_single_hline, table::print_double_hline,
table::define_bottom_macro, table::do_row, table::do_top,
table::do_bottom): Updated.
* doc/webpage.ms: Updated.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* src/preproc/tbl/table.h (table): Add `NOWARN' enumeration value.
* src/preproc/tbl/main.cpp (process_options),
src/preprox/tbl/table.cpp (table::compute_expand_width,
table::compute_separation_factor): Handle `NOWARN'.
* src/preproc/tbl/tbl.man, NEWS: Document it.
|
|
|
|
|
|
| |
* src/preproc/tbl/table.cpp (table::compute_expand_width,
table::compute_separation_factor): Add file name strings to
warnings.
|
| |
|
|
|
|
|
|
| |
This is needed for cooperation with gropdf.
* src/preproc/pic/troff.cpp (troff_output::text): Use GROPS_REG.
|
| |
|
|
|
|
|
|
| |
Problem reported by Michael Kain <mcain6925@comcast.net>.
* src/preproc/eqn/eqn.man, src/preproc/tbl/tbl.man: Do it.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/preproc/pic/object.cpp (object_spec::make_arc): It can happen
that test `radius < d' in the loop is satisfied, but the difference
in the two values is on the order of 1e-10. If `radius' is small,
doubling the value can lead to a fairly gross error.
The original code appears to have been intended to deal with the
situation when radius is orders of magnitude less than `d'. The
replacement code simply assigns `radius' the smallest value that
avoids problems with the floating point code further on in the
routine.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reported by Doug McIlroy <doug@cs.dartmouth.edu>.
* src/preproc/pic/pic.y: Split `expr' into `expr_lower_than' and
`expr_not_lower_than' so that we can handle
(1/3)<(1/2)<foo,bar>,baz>
correctly. Without the patch, `(1/3)<(1/2)' is handled prematurely
as a comparison.
|
|
|
|
|
| |
to...
(MOSTLYCLEANADD, MOSTLYCLEANNOTSRCDIRADD, MOSTLYCLEANDIRADD): This.
|
| |
|
| |
|
|
|
|
|
| |
table::compute_separation_factor): In warning messages, don't refer
to pages but to input line numbers.
|
|
|
|
| |
Improve documentation of e specifier.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tbl, more than a single `x' specifier can be used. At the same
time, remove most of the code from change 2007-02-09 which collides
with the new implementation.
* src/preproc/tbl/main.cpp (format): Add `expand' array.
(format::format, format::~format): Updated.
(input_entry_format): Add `expand' field.
(input_entry_format::input_entry_format): Updated.
(input_entry_format::debug_print): Handle `expand'.
(process_format): Handle `x' specifier.
(process_data): Updated.
* src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): Remove.
(EXPAND_REG): New macro.
(table_entry::divert, block_entry::divert,
alphabetic_block_entry::divert): Add parameter to control whether
expanded columns shall be handled.
(block_entry::do_width): Remove.
(block_entry::do_divert): Add parameter to control whether expanded
columns shall be handled.
Treat expanded columns like columns with a minimum width.
Remove `experimental' code.
(table::table, table::~table, table::allocate): Updated.
(table::set_expand_column): New function.
(table::count_block_columns): Replace with...
(table::count_expand_columns): This function.
(table::divide_span): Handle expanded columns the same as equal
columns.
(table::sum_columns): Add parameter to control whether expanded
columns shall be handled.
(table::compute_available_block_width): Replace with...
(table::compute_expand_width): This function.
(table::compute_total_separation): New function, taking code from
`compute_separation_factor'.
(table::compute_separation_factor): Simpler code. The check for the
`EXPAND' flag has been moved to the caller.
(table::compute_widths): Add `top-level' changes to handle expanded
blocks.
* src/preproc/tbl/table.h (table): New field `total_separation'.
Remove `blockflag' array.
Add `expand' array.
Update member function declarations.
* src/preproc/tbl/tbl.man: Document `x' specifier.
Expand documentation to cover all aspects of Lesk's tbl reference.
* NEWS: Document `x' specifier.
|
| |
|
| |
|
|
|
|
|
|
| |
scaling operator for minimum width. Without this fix, `lw3' (or
`lw(3)' would be handled as a column with a minimum width of 3u
instead of 3n.
|
| |
|
|
|
|
|
|
|
| |
`m' and `M', respectively.
Sort entries in `switch' block.
* src/preproc/tbl/tbl.man: Updated.
Sort key entries; other minor improvements.
|
|
|
|
|
|
|
| |
New function.
(table::compute_widths): Replace some code with new function
(shifted to a more appropriate place).
* src/preproc/tbl/table.h: Updated.
|
|
|
|
|
|
|
|
|
|
| |
is based on input from Tom Van Vleck <thvv@multicians.org>.
* src/preproc/eqn/sqrt.cpp (sqrt_box::compute_metrics): Assure that
value of `rst' register is not zero, as can happen for the HTML
output device. Otherwise, there are too many loops, and we get a
stack overflow because of recursion.
|
|
|
|
|
| |
not insert SORT_SEP before the first field, so that sort_key
has the same format as before the patch of 2003-08-23.
|
| |
|
|
|
|
|
|
| |
src/preproc/soelim/soelim.man: Correct documentation of -I switch.
Reported by Larry Kollar.
Other minor formatting issues.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/preproc/preconv/preconv.cpp (default_encoding): Make it an
array.
Update all users.
(main): Handle new option -D.
(usage): Updated.
* src/preproc/preconv/preconv.man: Updated.
* src/roff/groff/groff.cpp (main): Handle new option -D.
(synopsis, help): Updated.
* src/roff/groff/groff.man: Updated.
|