summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve documentation of the width of text block spans.wl2008-11-081-5/+5
|
* Improve documentation of text block widths.wl2008-11-071-3/+8
|
* * src/preproc/tbl/table.cpp (table::compute_widths): Use defaultwl2008-11-072-1/+8
| | | | | | 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.
* * tmac/doc-common (Dt): Start a new page if necessary and set upwl2008-11-055-7/+24
| | | | | | | | | headers. * tmac/andoc.tmac (reload-doc): Simplify due to change in doc-common. * NEWS: Document it.
* Clarify meaning of `z' modifier.wl2008-10-271-1/+3
|
* * src/preproc/tbl/main.cpp (process_format): Rename `x' and `X' towl2008-10-187-181/+192
| | | | | | | `m' and `M', respectively. Sort entries in `switch' block. * src/preproc/tbl/tbl.man: Updated. Sort key entries; other minor improvements.
* * src/preproc/tbl/table.cpp (table::compute_available_block_width):wl2008-10-183-19/+40
| | | | | | | New function. (table::compute_widths): Replace some code with new function (shifted to a more appropriate place). * src/preproc/tbl/table.h: Updated.
* * tmac/doc-common (doc-operating-system-*), tmac/groff_mdoc.man: Addwl2008-10-163-4/+17
| | | | NetBSD 4.0.1.
* * man/roff.man, doc/groff.texinfo: Improve the history part. Thiswl2008-10-104-170/+119
| | | | | | | | | | 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.
* * src/preproc/ref/ref.cpp (reference::compute_sort_key): Dowl2008-10-092-2/+11
| | | | | not insert SORT_SEP before the first field, so that sort_key has the same format as before the patch of 2003-08-23.
* s/with other words/in other words/wl2008-10-051-1/+1
|
* * tmac/andoc.tmac: Rewritten, based on a preliminary version fromwl2008-10-047-13/+111
| | | | | | | | 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.
* * tmac/doc-common (doc-operating-system-*): Update releases.wl2008-10-042-13/+41
|
* More warnings w.r.t. `.als'.wl2008-10-041-0/+4
|
* s/with other words/in other words/wl2008-10-041-6/+6
|
* * doc/groff.texinfo: Improve documentation of `.als'.wl2008-10-042-4/+50
|
* * tmac/www.tmac (TS, TE, EQ, EN): Don't use .als for setting upwl2008-10-042-4/+27
| | | | default macros. This causes endless loops (at least for TE).
* * src/roff/troff/input.cpp (do_suppress): Make \O[3], \O[4], andwl2008-10-043-3/+13
| | | | | \O[5] non-transparent w.r.t. beginning-of-line recognition (similar to the other \O variants).
* * src/devices/grops/grops.man, src/roff/troff/troff.man,wl2008-10-035-71/+95
| | | | | | src/preproc/soelim/soelim.man: Correct documentation of -I switch. Reported by Larry Kollar. Other minor formatting issues.
* * tmac/trace.tmac: Much improved.wl2008-10-014-227/+244
| | | | | | | | | | | | | (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.
* Restore behaviour of \$0 if a macro is called with string syntaxwl2008-09-302-1/+29
| | | | | | | | (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.
* Make \\*[xxx]\\ within a macro (with `xxx' a macro too) work aswl2008-09-293-9/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Formatting.wl2008-09-292-32/+53
|
* Formatting.wl2008-09-291-83/+84
|
* Fix two swapped default values.esr2008-09-291-4/+4
|
* Merge in information about pic2plot.esr2008-09-292-21/+106
|
* Cope withnsaty convert(1) changes.esr2008-09-295-12/+60
|
* typowl2008-09-281-1/+1
|
* Formatting.wl2008-09-281-1/+1
|
* If a macro is called as a string, inherit value of \n[.br] from thewl2008-09-283-10/+72
| | | | | | | | | | | | 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.
* Don't use `.de1' for `.rn' and `.nr'.wl2008-09-261-11/+11
|
* * tmac/trace.tmac: Add copyright message.wl2008-09-262-110/+237
| | | | | | | 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]'.
* Formatting.wl2008-09-251-2375/+2289
|
* Fix incompatibility between `.de1' and `.do'. Without this change,wl2008-09-254-15/+49
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix typo.wl2008-09-221-3/+3
|
* * tmac/an-old.tmac (FT): Initialize properly. Reported by Tadziuwl2008-09-092-2/+8
| | | | Hoffmann.
* We need grap 1.42 or newer.wl2008-09-071-3/+4
|
* * tmac/doc-common (Dd, Os, Dt): Reset `doc-command-name' to makewl2008-09-063-1/+15
| | | | `.Nm' work properly if next manual page is printed.
* * src/preproc/tbl/tbl.man: Document computation of element widths.wl2008-08-202-0/+49
|
* Add default encoding option -D to preconv and groff.wl2008-08-205-12/+63
| | | | | | | | | | | | | * 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.
* *** empty log message ***wl2008-08-191-1/+1
|
* Typo.wl2008-08-191-1/+1
|
* minor doc fixwl2008-08-091-2/+2
|
* * tmac/eqnrc (.EQ, .EN): Provide default definitions. Reportedwl2008-07-263-10/+20
| | | | | | by Denis M. Wilson. * tmac/www.tmac (.EQ, .EN, .TS, .TE): Fix definitions.
* New options -f and -k for afmtodit.wl2008-07-244-9/+36
| | | | | | | * 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.
* * src/preproc/tbl/table.cpp (table::compute_separation_factor): Emitwl2008-07-183-14/+40
| | | | | | | | 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.
* * contrib/chem/Makefile.sub (README, examples/README): In makefiles,wl2008-05-024-4/+15
| | | | | | | | | | 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.
* * Makefile.comm (depend.temp): Add `EXTRA_CCFLAGS'.wl2008-04-302-2/+6
|
* * src/eqn/script.cpp (script_box::output): Portability fix.wl2008-04-292-3/+7
|
* Add better support for `.TAG #<label>' in non-HTML documents:wl2008-04-052-4/+45
| | | | | | | | | | | | 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>.