| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* NEWS, man/groff_tmac: man: Document it.
|
|
|
|
| |
Minor typos and simplifications.
|
| |
|
| |
|
|
|
|
|
| |
o Control of null pagenumbering of covers passed to \n%; formerly
handled by \n[#PAGE_NUM_ADJ]
|
|
|
|
|
|
| |
* tmac/www.tmac (BCL, BGIMG, PIMG, MPIMG, LNS): For the sake of
XHTML, quote more arguments.
(IMG): Fix quoting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/www.tmac (www:url_breaks_splitted): Renamed to...
(www:url_breaks_split): This.
(www->): New string to close tag singletons like <img> or <hr>. In
XHTML mode (not implemented yet), this has to be changed from `>' to
`/>'.
(IMG): Don't use </img>
Use www->.
(PIMG, MPIMG): Don't use </img>
Use www->.
Fix doublequote issues.
(HR): Don't use </hr>.
Use www->.
(LNS): Fix doublequote issues.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
capitalization of reserved strings when designing recto and/or
verso headers. Fixed docs accordingly.
o Added .nr #DIVER_DEPTH 0 to end of PRINT_PAGE_NUMBER to ensure
that #DIVER_DEPTH=0
o Moved string definition of $FONT in macro FT to top of macro.
o Moved string definition of $FAMILY in macro FAMILY to top of
macro.
o Changed condition generating #NO_BREAK at top of macro COLLATE
from
.if ( \\n[.t] < \\n[.v] ) \{ .nr #NO_BREAK 1 \}
to
.if ( (\\n[.t]-1) <= \\n[.v] ) \{ .nr #NO_BREAK 1 \}
(Bottom-of-page trap is tripped 1 unit below last legal
baseline, not on it.)
o Commented out what appears to be a superfluous and destructive
resetting of #VARIABLE_FOOTER_POSITION at line 13347 in FOOTNOTE
macro. For now, fixes the "vanishing first footnote with some
overflow" bug.
o Added a bit to .PP to accommodate .PP_FONT I when PRINTSTYLE is
TYPEWRITE and ITALIC_MEANS_ITALIC
o Removed spurious 'sp |\\n[MN-curr-pos]u from MNbottom-right, prior
to re-invoking traps. Hopefully, fixes vanishing RH margin notes
bug.
o Added missing spaced paras bit in blockquotes.
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
headers.
* tmac/andoc.tmac (reload-doc): Simplify due to change in
doc-common.
* NEWS: Document it.
|
| |
|
|
|
|
|
|
|
| |
`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.
|
|
|
|
| |
NetBSD 4.0.1.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
Tadziu Hoffmann. It can now process multiple man pages with both
man and mdoc formats intermixed.
* NEWS, tmaca/groff_man.man, tmac/groff_mdoc.man,
man/groff_tmac.man: Document it.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
default macros. This causes endless loops (at least for TE).
|
|
|
|
|
| |
\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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(trace-full): New register to be set on the command line; it
controls whether number and string register assignments get traced
also.
(!!c): New macro for comments.
(rm): New traced macro.
(de, de1, am, am1): Use \\[xxx]\\ calling method to pass \$0 to
`!!xxx'; this makes doc.tmac completely traceable.
Trace call of .de and friends also.
* tmac/groff_tmac.man, NEWS: Update.
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
|
|
| |
Use `.de1' where possible to make source code more readable.
(so, mso, als, rn): Restore escape character before executing the
request.
(de, de1, am, am1): Trace `.foo' also if called as `\\[foo]'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|