summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
...
* Support up to 32 macro arguments in pic (and up to 16 on EBCDICwl2006-12-111-2/+3
| | | | | | | | | | | | | | hosts). * src/preproc/pic/lex.cpp (ARG1): Redefine. Update all users. (MAX_ARG): New macro. Use it everywhere to replace hard-coded limit of 9 arguments. (process_body): Handle argument numbers with more than a single digit. (interpolate_macro_with_args): Protect against exceeding number of arguments. * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Document it.
* * doc/Makefile.sub (uninstall_sub): Fix names for info files.wl2006-11-211-1/+1
|
* * man/roff.man, doc/groff.texinfo: Improve history of roff, based onwl2006-11-191-9/+20
| | | | | | | | | | | | | | | | information from Tom Van Vleck <thvv@multicians.org>. * tmac/62bit.tmac: New macro package. * tmac/Makefile.sub (NORMALFILES): Add it. * NEWS: Document it. * tmac/trace.tmac: Protect against being loaded again. (nr): Always show result. * doc/groff.texinfo (Input Encodings): Document latin-5. * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
* * doc/groff.texinfo (Page Location Traps) [.wh]: Give more detailswl2006-11-131-0/+13
| | | | on negative trap positions.
* * doc/Makefile.sub (install_data): Take care of proper paths whilewl2006-11-081-2/+3
| | | | installing info files. Bug reported by Bernd Warken.
* Add `\%^' escape to handle the parameters to a macro as a stringwl2006-10-261-0/+24
| | | | | | | | | | | | | | | | | | | | | | argument. * src/roff/troff/input.h (DOUBLE_QUOTE): New special character. * src/roff/troff/input.cpp (input_iterator, input_stack, macro_iterator): Add `space_follows_arg' member function. (macro_iterator::add_arg): Add parameter to set the `space_follows' flag. (arg_list): Add member `space_follows'. Update constructor and all callers. (decode_args): Store discarded double quotes. (interpolate_args): Handle DOUBLE_QUOTE. Add `\%^' escape. (get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE. * tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1. * docs/groff.texinfo (Parameters), man/groff.man, man/groff_diff.man, NEWS: Document it.
* typowl2006-10-231-1/+1
|
* * doc/groff.texinfo (Expressions): Improve documentation of `!'.wl2006-10-231-2/+4
| | | | * tmac/trace.tmac (return): Don't call `substring'.
* * src/roff/troff/input.cpp (read_size): Revert previous changewl2006-09-101-2/+2
| | | | | | w.r.t. `\s-[-...]'. * doc/groff.texinfo (Fractional Size Types): Clarify syntax of \s.
* Add a request `pev' to print environment information (similar towl2006-09-021-0/+7
| | | | | | | | | | | | | | | `pnr' and `ptr' to print number registers and traps). * src/roff/troff/env.h (environment): Add member function print_env. * src/roff/troff/env.cpp: (environment::print_env): New function to print a given environment state. (print_env): New global function to iterate through the environments, printing each one. (init_env_requests): Register `pev'. * doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man, NEWS: Document `pev' request.
* Add new flag to .cflags to enable hyphenation without looking atwl2006-08-111-6/+27
| | | | | | | | | | | | | hcode values. * src/roff/troff/charinfo.h (charinfo): New enumeration value `IGNORE_HCODES'. New member function `ignore_hcodes'. * src/roff/troff/node.cpp (break_char_node::add_self, node::add_char): Updated. * doc/groff.texinfo, man/groff_diff.man, NEWS: Document it.
* typos, grammar fixeswl2006-07-312-2/+2
|
* Add a request `.fzoom' and a number register `.zoom' to magnifywl2006-07-121-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fonts. * src/include/font.h (font): Add member variable `zoom'. Add member functions `set_zoom' and `get_zoom'. Remove `static' attribute from `scale' member function. * src/libs/libgroff/font.cpp (font::font): Updated. (scale_round): New version with three parameters to handle zoom factor. (font::scale, font::get_width): Handle zoom factor. (font::set_zoom, font::get_zoom): New functions. (font::load): Handle `zoom' while computing `space_width'. * src/roff/troff/env.h: Declare `env_get_zoom'. (environment): Add member function `get_zoom'. * src/roff/troff/env.cpp (environment::get_zoom): New function. (init_env_requests): Initialize `.zoom' register. * src/roff/troff/node.cpp (font_info): New member functions `set_zoom' and `get_zoom'. (tfont): New member function `get_zoom'. (env_get_zoom): New function. (troff_output_file::set_font): Handle zoom factor. (font_zoom_request): New function. (init_node_requests): Initialize `fzoom' request. * docs/groff.texinfo (Changing Fonts), man/groff.man, man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom' register. * src/roff/troff/TODO: Updated.
* * doc/groff.texinfo (Drawing Requests): Improve documentation ofwl2006-07-111-0/+18
| | | | \D'P ...'.
* * tmac/pspic.tmac: Make .PSPIC work for all devices.wl2006-07-011-0/+2
| | | | | | | | | | | | | | | | Print image file name for devices which don't support PS image inclusion. Handle multiple inclusions. Add lots of comments. * tmac/dvi.tmac, tmac/html.tmac, tmac/ps.tmac: Don't load pspic.tmac. * tmac/troffrc: Load pspic.tmac. * man/groff_tmac.man: Update .PSPIC documentation. * NEWS: Updated.
* * tmac/strip.sed: Strip `\#' also.wl2006-06-061-5/+38
| | | | * doc/groff.texinfo: Document usage of \? for string comparison.
* * doc/groff.texinfo: Add more index entries for copy-in mode.wl2006-06-051-10/+72
| | | | Document that a font definition file must not be called `DESC'.
* * src/roff/troff/input.cpp (token::next) <\N>: Catch negative valueswl2006-05-311-3/+3
| | | | | | | here. * doc/Makefile.sub (EXAMPLEFILES): Move gnu.eps to... (PROCESSEDEXAMPLEFILES): Here.
* * src/libs/libgroff/font.cpp (font::load): Reject fonts calledwl2006-05-301-1/+2
| | | | | | | | | | | | | | | | | | | | `DESC'. Reduce number of false positives for `.if F ...' conditionals. Improve warning messages. * tmac/Makefile.sub: Add copyright notice. (NORMALFILES): Add man.tmac and ms.tmac. (SPECIALFILES): Remove man.tmac and ms.tmac. (CLEANADD): Remove man.tmac-sed and ms.tmac-sed. (install_data, uninstall_sub): Don't handle man.tmac and ms.tmac specially. (stamp-sed): Don't handle man.tmac and ms.tmac. Remove obsolete components in sed's regexp. * doc/Makefile.sub (EXAMPLEFILES): Add gnu.eps. * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add hdtbl.
* * doc/groff.texinfo: Correct death circumstances of Joe Ossanna.wl2006-05-281-1/+2
|
* Vertical positions in traps are always multiples of \n[.V].wl2006-05-281-4/+5
|
* * tmac/www.tmac: Decorate `.ds' with trailing `\"' where missing.wl2006-05-071-2/+2
| | | | | | Normalize handling of `"' in arguments. (PIMG): Remove debug message. Simplify code.
* Implement new number register `.br' which is set to 1 if a macro haswl2006-04-041-0/+25
| | | | | | | | | | | | | | | | | | | | | | been called as .foo and to 0 if called as 'bar. This is useful for -mtrace so that requests can be reliably traced too. * src/roff/troff/input.cpp (input_iterator): Add virtual function `get_break_flag'. (macro_iterator): Add `with_break' member and `get_break_flag' function. Update constructors. (input_stack): Add function `get_break_flag'. (break_flag_reg): New number register class. (input_init_requests): Register `.br'. * src/roff/troff/TODO: Updated. * tmac/trace.tmac: s/!!sp/!!!sp/. Modify definitions of `de', `de1', `am', and `am1' to use \n[.br]. * docs/groff.texinfo, man/groff.man, man/groff_diff.man, NEWS: Document it.
* Add two request `.device' and `.devicem' which are equivalent towl2006-03-271-2/+7
| | | | | | | | | | | `\X' and `\Y', respectively. * src/roff/troff/input.cpp (device_request, device_macro_request): New functions. (init_input_requests): Register them. * doc/groff.texinfo, man/groff_diff.man, man/groff.man, NEWS: Document them.
* * src/roff/troff/input.cpp (encode_char): Emit special characterswl2006-03-271-3/+2
| | | | | | | for -Thtml as `\[...]'. * src/devices/grohtml/post-html.cpp (page::add_and_encode): Updated. * doc/groff.texinfo (\X): Updated.
* * doc/groff.texinfo: More documentation on end-of-macro symbol ofwl2006-03-261-1/+25
| | | | | `.de'. Minor addition ot `.di' description.
* * src/preproc/pic/pic.y (object_spec THEN): For compatibility withwl2006-03-211-1/+4
| | | | | | | | | | | | | | | | | | | both DWB pic and dpic, make right; line then down; equal to right; line right then down; instead of right; line 0 then down; * doc/pic.ms: Document this.
* * doc/pic.ms: With permission of Eric Raymond, put it under thewl2006-03-201-8/+34
| | | | | | GPL. * NEWS: Updated.
* * src/preproc/pic/objects.cpp (object_spec::make_line): Handle `at'wl2006-03-191-2/+2
| | | | | attribute in combination with `with'. Bug reported by Jennifer Sayers <jenjen@mail.usyd.edu.au>.
* * doc/groff.texinfo: Improve documentation of `.sp'.wl2006-03-191-1/+21
|
* * doc/groff.texinfo (Operators in Conditionals): Mention that `c'wl2006-03-131-2/+3
| | | | | | works with \N'...' also. * man/groff_diff.man: Ditto. Remove use of future tense where possible.
* * doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.wl2006-03-101-0/+14
|
* Fix URLs for Adobe's documentation files.wl2006-03-082-3/+3
|
* * doc/groff.css (pre): Fix `background-color' value.wl2006-03-081-1/+1
|
* * tmac/groff_ms.man: Document PT, HD, and BT.wl2006-03-051-1/+1
| | | | | * src/roff/troff/node.cpp (make_glyph_node): Improve warning message for single-letter glyph names.
* * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable. (CLEANADD): Use it.wl2006-02-261-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | (install_html, uninstall_sub): Updated. Introduce Unicode fonts. * font/devhtml/DESC.proto: Mark as unicode. font/devhtml/R.proto: Remove all * charset entries that are already in glyphuni.cpp. font/devutf8/DESC.proto: Mark as unicode. * font/devutf8/R.proto: Remove all charset entries. src/include/font.h * (font): New static field `is_unicode'. Change order of fields. src/libs/libgroff/font.cpp: Include unicode.h. * (font::font): Update for changed order of fields. (font::contains, font::get_width, font::get_height, font::get_depth, font::get_italic_correction, font::get_left_italic_correction, font::get_subscript_correction, font::get_character_type, font::get_code, font::get_special_device_encoding): Handle both the explicitly enumerated glyphs and use general code for Unicode fonts. (font::load): Make the charset section optional when the font is declared unicode. (font::load_desc): Recognize the `unicode' attribute. * src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
* * Makefile.in: Add comment about DESTDIR.wl2006-02-261-36/+46
| | | | | | | | | | | | | | | | | | * Makefile.sub: Add DESTDIR to install and uninstall targets to support staged installations. * Makefile.comm: Likewise. * doc/Makefile.sub: Likewise. * contrib/eqn2graph/Makefile.sub: Likewise. * contrib/gdiffmk/Makefile.sub: Likewise. * contrib/grap2graph/Makefile.sub: Likewise. * contrib/pic2graph/Makefile.sub: Likewise. * src/devices/xditview/Makefile.sub: Likewise. * src/preproc/eqn/Makefile.sub: Likewise. * src/roff/grog/Makefile.sub: Likewise. * src/roff/nroff/Makefile.sub: Likewise. * src/utils/afmtodit/Makefile.sub: Likewise. * src/utils/indxbib/Makefile.sub: Likewise. * tmac/Makefile.sub: Likewise.
* Wrap .trf example with calls to .ev.wl2006-02-251-0/+6
|
* * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entrywl2006-02-241-2/+2
| | | | | | | | | | | | for \-. Remove commented out entries for \' and \` (there are no such glyph names). * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove commented out entries for \' and \`. * */*: s/legal/valid/ where appropriate.
* * src/include/font.h: s/glyph_t/glyph/.wl2006-02-111-1/+1
| | | | | | | Update all callers. * src/devices/grotty/tty.cpp: s/glyph/tty_glyph/. s/output_character_t/output_character/.
* * doc/groff.texinfo (Assigning Formats): Number registers are alwayswl2006-02-111-28/+25
| | | | | interpolated. Apply some rephrasing, contributed by Michael Burt.
* Don't use future tense.wl2006-01-213-94/+94
|
* * m4/groff.m4: Renamed from aclocal.m4.wl2006-01-033-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | * m4/codeset.m4: New file, from gnulib. * m4/iconv.m4: New file, from gnulib. * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from gnulib. * config.rpath: New file, from gnulib. * config.guess, config.sub: New files, from gnulib. * Makefile.sub (M4MACROS): New variable. (configure): Fix typo. (aclocal.m4): New rule. (stamp-h.in): Depend on aclocal.m4. * configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET. * Makefile.in (LIBICONV): New variable. (MDEFINES): Pass it to recursive makes. * src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and HAVE_ICONV instead of I18N macro. * src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable. * aclocal.m4, configure, src/include/config.hin: (Re)generated. * doc/Makefile.in (webpage.html): Simplify. * doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in. * doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
* * doc/Makefile.in: separate rule for webpage.html so that extragaius2005-11-283-52/+60
| | | | | | | | | | | command line options can be passed to grohtml. * doc/groff.css: changed all margins to 0%. * doc/webpage.ms: now uses new macros ALN, LNS and LNE so that left navigation is exploited. Also updated webpage to contain new sections on licences, mailing lists, cvs/ftp access, groff dependencies and bug reports. * tmac/groff_www.man: documented the new macros ALN, LNS and LNE. * tmac/www.tmac: implemented the new macros ALN, LNS and LNE.
* * aclocal.m4 (GROFF_MAKEINFO): Use `groff.info' in tests.wl2005-11-183-13/+13
| | | | | | | | | | | | Announce makeinfo version. * configure: Regenerated. * Makefile.in: Declare proper dependencies between make targets. * doc/Makefile.in: Rename groff info page to `groff.info'. * doc/Makefile.sub: Likewise. * doc/groff.texinfo: Likewise.
* texinfo 4.8, not 4.6, is needed to build groff.texinfo.sinuhe2005-10-301-1/+1
|
* * aclocal.m4 (GROFF_MAKEINFO): New function for checking whetherwl2005-10-272-7/+1
| | | | | | | | | | | | makeinfo 4.8 or newer is available. * configure.ac: Call GROFF_MAKEINFO. * configure: Regenerated. * Makefile.in (MAKEINFO): Use autoconf variable. (MDEFINES): Add MAKEINFO. * doc/Makefile.in (MAKEINFO): Use autoconf variable. * doc/Makefile.sub (MAKEINFO): Remove.
* Mention $MANPAGER variable used with some `man' systems.wl2005-10-171-2/+3
| | | | * doc/webpage.ms, src/devices/grotty/grotty.man, NEWS: Updated.
* * doc/webpage.ms: Updated.wl2005-09-041-0/+9
|
* * tmac/groff_ms.man, doc/groff.texinfo: Synchronize.wl2005-09-041-467/+559
| | | | | | * tmac/groff_ms.man: Document `PO' better. * NEWS: Document grotty changes.