| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Hoffmann.
|
| |
|
|
|
|
| |
`.Nm' work properly if next manual page is printed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
by Denis M. Wilson.
* tmac/www.tmac (.EQ, .EN, .TS, .TE): Fix definitions.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
the `$<' macro is only guaranteed to be defined in inference rules,
not in explicit target rules. Since there is only one input file in
the places where it is used, the `$?' macro (which is guaranteed to be
defined for both kinds of rules) is a suitable replacement.
* hdtbl/examples/fonts_n.in, hdtbl/examples/fonts_n.in: Most
versions of ls don't have a `--color' option.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In case of a forward reference in a call to .URL, write `(see below)'. In
case of a backwards reference use the page number instead. The reference
gets stored in a string `TAG_<label>' and can be overridden while calling
`.TAG' with its new optional argument -- this is useful for a second-pass
system which resolves forward references.
* tmac/www.tmac (www:url_check_tag): New function.
(URL): Use it.
(TAG): Add optional argument to define string `TAG_<label>.
|