| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
table::compute_separation_factor): In warning messages, don't refer
to pages but to input line numbers.
|
|
|
|
|
|
|
|
|
| |
m4/lib-link.m4, m4/lib-prefix.m4, src/include/localcharset.h,
src/libs/libgroff/config.charset, src/libs/libgroff/localcharset.c,
src/libs/libgroff/ref-add.sin, src/libs/libgroff/ref-del.sin:
Updated from `gnulib' git repository.
* configure: Regenerated.
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
\O[5] non-transparent w.r.t. beginning-of-line recognition (similar
to the other \O variants).
|
|
|
|
|
|
| |
src/preproc/soelim/soelim.man: Correct documentation of -I switch.
Reported by Larry Kollar.
Other minor formatting issues.
|
|
|
|
|
|
|
|
| |
(problem caused by change on 2008-09-29).
* src/roff/troff/input.cpp (input_iterator, input_stack,
macro_iterator): Add `get_macro_name' member function.
(interpolate_string): Use it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
expected. Without the patch,
.de aaa
\\*[bbb]\\
. tm \\$*
..
.de bbb
. shift
..
.aaa 1 2 3
prints `2 3' instead of `1 2 3'.
* src/roff/troff/input.cpp (input_iterator, input_stack,
macro_iterator): Add `get_arg_list' member function.
(macro): Add `is_a_string', `is_string', and `clear_string_flag'
members.
Update constructors and operators.
(arg_list): Add copy constructor.
(macro_iterator): Add optional argument to constructor to indicate
whether arguments shall be inherited from calling macro.
(interpolate_string): If string argument is a macro, push a macro
iterator on the stack.
(do_define_macro): Call clear_string_flag if macro data contains a
newline.
* src/roff/troff/request.h: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
caller. This is useful for `trace.tmac'.
* src/roff/troff/input.cpp (string_iterator): New members
`with_break' and `get_break_flag'.
(string_iterator::string_iterator): Updated.
* doc/groff.texinfo: Improve documentation of \$0 and string syntax
calling of macros.
Document behaviour of \n[.br] within strings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the following snippet
.de1 xx
. tm \\n(.C
..
.cp 1
.do xx
prints 1 instead of 0.
* src/roff/troff/input.cc (do_request): If a macro gets processed,
call tok.next().
(interpolate_macro): Add optional argument. Update callers.
(request::invoke): Add optional argument.
(macro::invoke): Add optional argument to delay call of tok.next().
* src/roff/troff/request.h (request_or_macro): Add argument to
`invoke' member. Update all derived classes.
* doc/groff.texinfo: Improve documentation of .do request.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* src/afmtodit/afmtodit.pl: New options `-f NAME' sets the internal
name of the groff font.
New option `-k' disables output of kerning data.
* src/afmtodit/afmtodit.man, NEWS: Document new options.
|
|
|
|
|
|
|
|
| |
warning messages if table gets squeezed.
(table::compute_widths): Fix computation of AVAILABLE_REG.
Emit warning if table is wider than line length.
* src/preproc/tbl/tbl.man: Minor improvements.
|
| |
|
|
|
|
|
| |
Update all occurrences so that \n[.U] works as advertised. Bug
reported by Dorai Sitaram.
|
|
|
|
|
|
|
|
|
|
| |
mention that it should never be called stand-alone.
* tmac/groff_www.man, doc/groff.texinfo, man/groff_font.man,
man/groff_tmac.man, man/groff_out.man, README, README.MinGW,
src/roff/groff/groff.man: Mention -Txhtml.
* man/groff_font.man, man/groff_tmac.man, man/roff.man: Revised.
|
|
|
|
|
|
|
|
| |
Handle single-letter names correctly.
* doc/groff.texinfo, man/groff_diff.man: Extend documentation of \^
and \|.
* NEWS: Updated.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Don't remove itself if there is no glyph associated with the node
yet. This happens, for example, in this situation:
.ll 15000u
.ft I
x x
(\,f
|
|
|
|
| |
* src/preproc/eqn/lex.cpp (troff_defs): Fix typo.
|
|
|
|
|
|
|
|
|
|
|
| |
* */*.man: Replace .URL with .UR/.UE (except in groff_www.tmac).
Replace .MTO with .MT/.ME (except in groff_www.tmac).
Insert `\:' in URLs where appropriate.
Don't include www.tmac (except in groff_www.tmac).
* man/groff.man (.ESC[]): Fix font of closing bracket.
(.ESCq): Fix font of closing quote character.
Many other improvements.
|
|
|
|
| |
(html_printer::writeHeadMetaStyle): Fix CSS output.
|
|
|
|
|
|
|
|
| |
* src/roff/nroff/nroff.sh: Add options -w and -W.
* src/roff/nroff/nroff.man: Document them.
* tmac/hyphenex.pl: Update header output.
|
|
|
|
| |
typo.
|
|
|
|
|
|
|
|
| |
variable. Problem reported by Michael G Schwern
<schwern@pobox.com>.
* src/roff/nroff/nroff.man: Document it.
Other minor updates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`xslanted' and `yslanted'.
* src/groff/preproc/pic/object.cpp (object_spec::object_spec):
Initialize `xslanted' and `yslanted'.
(graphic_object): Add methods `set_xlanted' and `set_yslanted'.
(closed_object): Ditto.
Add members `xslanted' and `yslanted'.
(box_object::print): Use them.
(object_spec::make_object): Handle slant values.
* src/groff/preproc/pic/object.h (IS_XSLANTED, IS_YSLANTED): New
constants.
(object_spec): Add members `xslanted' and `yslanted'.
* src/groff/preproc/pic/pic.y (XSLANTED, YSLANTED): New left-valued
tokens.
Add rules for them.
* src/groff/preproc/pic/pic.man, NEWS, doc/pic.ms: Document above
changes.
|
|
|
|
|
|
|
| |
`utf-16le', `utf-16be-with-signature', `utf-16le-with-signature'.
(is_comment_line): Handle '\" and '\# also.
* src/preproc/preconv/preconv.man: Revise and make complete.
|
|
|
|
| |
Typos.
|
|
|
|
|
| |
comments correctly. Reported by Frank Jahnke
<jahnke@sonatabio.com>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the production of html files.
(pic.html): Ditto.
Remove background colour switch.
(.SUFFIXES, clean): Handle *.xhtml files.
* src/devices/grohtml/grohtml.man: Document that -V option now
generates an HTML-4.01 validator or XHTML validator.
* src/devices/grohtml/html-text.cpp (html_text::end_tag,
html_text::start_tag): Suppress <small>, <big>, and <color> tags if
we are inside a <pre> block.
* src/devices/grohtml/post-html.cpp
(html_printer::handle_valid_flag): Add a parameter to indicate
whether it needs to generate a paragraph block.
(html_printer::write_navigation): Updated.
(html_printer::do_file_components): Generate an HTML-4.01 blue
validator button also.
|
|
|
|
|
|
|
| |
* man/groff_char.man: Normalize character set names as defined
by IANA. Based on a patch from Axel Kielhorn.
* src/preproc/refer/label.y: Undo change from 2007-09-19.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
warning.
* src/preproc/eqn/pile.cpp (pile_box::output, matrix_box::output):
Remove compiler warning.
* src/preproc/refer/label.y: Remove compiler warning.
* src/preproc/pic/pic.y: Remove doubled token entries.
|