summaryrefslogtreecommitdiff
path: root/tmac/groff_man.man
Commit message (Collapse)AuthorAgeFilesLines
* Enter wrong connection for tbl(1) in tmac/groff_man.man.bwarken2013-01-301-1/+1
|
* * tmac/groff_man.man: Minor documentation improvements.wl2011-11-221-2/+11
| | | | Suggested by Jeff Conrad <jeff_conrad@msn.com>.
* Minor wording improvement.wl2009-10-111-1/+2
|
* Fix two typos.wl2009-07-221-1/+1
| | | | From Colin.
* Update copyright year.wl2009-01-051-1/+1
|
* * tmac/andoc.tmac: Rewritten, based on a preliminary version fromwl2008-10-041-1/+2
| | | | | | | | 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 (Dd, Os, Dt): Reset `doc-command-name' to makewl2008-09-061-1/+2
| | | | `.Nm' work properly if next manual page is printed.
* * tmac/groff_man.man: Revised to improve visual appearance.wl2007-02-201-246/+350
| | | | | | Reduce use of future tense. * tmac/groff_trace.man: Revosed to improve visual appearance.
* Change .UR/.UE and .MT/.ME so the start macro no longer takesesr2007-02-061-12/+17
| | | | | a second argument that is pasted to the end of the generated text. Instead, the end macro takes an argument that does the same thing.
* Fix a typo (not one of mine).esr2007-02-031-1/+1
|
* And clearly, I'm still not awake...esr2007-02-031-2/+3
|
* A fix because I was awake way too late last night.esr2007-02-031-0/+1
|
* Added portability advice.esr2007-02-031-19/+72
|
* Fix some usage errors, do a little visual tweaking.esr2007-02-031-10/+18
|
* Document the extension macros.esr2007-02-031-15/+210
|
* Usewl2007-02-021-1/+1
| | | | | | | | | | '\" <word> not .\" <word> in first line to indicate the need for a preprocessor in man pages.
* Backward compatibility support for `man' program.wl2005-09-011-1/+29
| | | | | | | | | * tmac/an-old.tmac (LL): Initialize it to respect prior LL register assignment, prior `.ll' request and then package defaults, in this specified order of decreasing priority. * tmac/groff_man.man, doc/groff.texinfo: Document altered `LL' register initialization priorities.
* Update copyright year.wl2005-08-281-1/+1
|
* tmac/groff_man.man: Minor fixes.bwarken2005-08-271-78/+167
|
* * tmac/an-old.tmac (RI): Always start with font `R'.wlemb2004-07-031-2/+2
| | | | | | | | | | (RI, IR): Properly end with font `R'. * man/ditroff.man, man/groff_font.man, man/groff_out.man, src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man, src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man: Don't pass more than six arguments to .R, .I, .B, etc., for compatibility with traditional troff macros.
* Make variable `pr' local to libdriver/input.cc. Based on a patchwlemb2003-03-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by Bernd Warken <bwarken@mayn.de>. * src/include/driver.h (pr): Removed. * src/libs/libdriver/input.cc (pr): New global variable. (do_file): Deallocate `pr'. * src/libs/libdriver/printer.cc (pr): Removed. * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc (main): Don't delete `pr'. * tmac/a4.tmac, tmac/composite.tmac: Use `.do'. * tmac/papersize.tmac: New file. * tmac/troffrc: Include `papersize.tmac'. * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'. * tmac/an-old.tmac: Set LT to LL by default. * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man, doc/groff.texinfo: Updated. * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing bug which caused all odd iso papers to have wrong dimensions. * src/devices/grops/ps.cc (user_paper_width): New global variable. (main) <'p'>: Set `user_paper_width' also. (ps_printer::media_width, ps_printer::media_height): Use values given with option `-p'.
* * tmac/an-old.tmac: Use register `HY' to control hyphenation.wlemb2003-03-101-37/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it. Added support to access more than 256 glyphs in Type 1 fonts. * src/devices/grops/ps.cc (subencoding): New structure. (style): Add `sub' field. Updated all users. (ps_printer): Add `subencodings' and `next_subencoding_index' fields. Add `set_subencoding', `get_subfont' and `encode_subfont' member functions. Updated all users. (ps_printer::set_char): Use `set_subencoding'. (make_subencoding_name): New function. (ps_printer::set_style): Handle case where `sty.sub' is not zero. (ps_printer::~ps_printer): Emit subencoding definitions. * src/devices/grops/psrm.cc (valid_input_table): New array to properly support EBCDIC. (white_space): Add `\f'. (ps_get_line): Change first argument to be of type `string &'. Updated all callers. This allows to get lines of arbitrary length. Use `valid_input_table'. Remove warning about non-conforming PS line length. This seems not to be of great importance -- for example, dvips don't emit a warning either. (PS_LINE_MAX): Removed. (matches_comment): Change first argument to be of type `string &'. * src/devices/grops/grops.man, src/devices/grops/TODO: Updated. * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed, %AGL_to_unicode, %default_ligatures): New hash tables. Read all map entries. Add unencoded characters. Check for default ligatures if there are no `L' entries. Print all kern entries. Print all characters in charset. * src/utils/afmtodit/afmtodit.man: Updated. * font/devps/*: Regerated all fonts. * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence of characters, just use `.trin'. Otherwise the mapping is depending on the font encoding. * tmac/ps.tmac: Add `fi' and `fl'. Improve `Fi' and `Fl'. * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'. * tmac/Xps.tmac: Fix `em'. * NEWS: Updated.
* Make man pages more customizable.wlemb2003-02-261-54/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tmac/an-old.tmac (FT): New register holding footer distance from bottom. (HF): New string holding the default heading font. (TH): Handle registers `IN' and `SN' set on the command line. Use `FT'. (PT, BT): New strings to customize header and footer lines. (an-header, an-footer): Use them. (SH, SS): Use `HF'. * tmac/groff_man.man: Document changes. * doc/groff.texinfo: Document man changes. Document Ultrix extensions of man. * src/roff/troff/input.cc (do_width, do_if_request): Reset `have_input' after changing back to old environment. * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move function up to be defined before first call. This is necessary to avoid a compilation problem with Sun's WorkShop 6 C++ compiler. * src/utils/afmtodit/afmtodit.pl: Make script search for files in the default font directory also. Based on a patch from James J. Ramsey <jjramsey_6x9eq42@yahoo.com>. * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@. * src/utils/afmtodit/afmtodit.man: Document it. * NEWS: Updated. * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
* * doc/Makefile.in (.texinfo.html): Add -I switch.wlemb2002-09-061-0/+9
| | | | | | | | | | | | | | | * doc/groff.texinfo: Add @ifnottex block for top node to make translation to HTML work. * src/preproc/html/pre-html.cc (LETTER_LENGTH): Removed. (get_papersize, determine_vertical_offset): Removed. (char_buffer::do_image): Always specify letter size. (main): Updated. (imageList::createPage): Use -dDEVICEHEIGHTPOINTS instead of -sPAPERSIZE. * doc/groff.texinfo, tmac/groff_man.man: Improve documentation of default indentation.
* * doc/groff.texinfo: Don't use the string `Appendix' for appendixwlemb2002-05-031-0/+10
| | | | | | | | | | | | | | | | | | headers (both in the text and the table of contents). * man/groff_tmac.man, src/roff/troff/troff.man: Fix order of tmac directories. Use registers LL and LT (similar to -ms) for controlling the length of title and line, respectively, in the -man and -mdoc macro packages. * tmac/doc-ditroff (doc-setup-page-layout), tmac/doc-nroff (doc-setup-page-layout): Use \n[LL] and \n[LT]. * tmac/an-old.tmac: Set \n[LL] and \n[LT] if not defined. (TH): Use \n[LL]. (an-header, an-p-footer): Use \n[LT]. * NEWS, tmac/groff_man.man, tmac/groff_mdoc.man, doc/groff.texinfo: Document it.
* doc/groff.texinfo: Fix documentation of glyph searching algorithm.wlemb2002-01-071-13/+13
| | | | | | * tmac/an-old.tmac: Revert change 2001-12-23. This breaks too many man pages. * tmac/groff_man.man: Small improvements.
* * src/preproc/eqn/main.cc (inline_equation): Fix typos.wlemb2001-12-121-9/+0
| | | | * tmac/groff_man.man, doc/groff.texinfo: There is no .R macro.
* * tmac/an-old.tmac, tmac/doc.tmac, contrib/mm/m.tmac: Assure thatwlemb2001-11-281-4/+4
| | | | | | the macro package is loaded only once. * tmac/groff_man.man: Minor cosmetic fix.
* Fix problems with preprocessor string for `man' program.wlemb2001-06-271-2/+6
| | | | | | | * *.man: Don't use `s' in preprocessor string -- it doesn't exist. Updated/added copyright. Moved Emacs's local variable to identify nroff mode to the end of the file; add local variable if missing.
* Replaced mdoc implementation. The new version is `state of thewlemb2001-03-231-0/+3
| | | | | | | | | | | | | | | | | | | art', using almost all new features of groff 1.17 -- it won't run with older versions. * tmac/doc.tmac: Completely rewritten. * tmac/doc-common: Ditto. * tmac/doc-nroff: Ditto. * tmac/doc-ditroff: Ditto. * tmac/doc-syms: Ditto. * tmac/mdoc.local: New file. * tmac/groff_mdoc.samples.man: Replaced with ... * tmac/groff_mdoc.reference.man: New file, covering mdoc completely. * tmac/strip.sed: Updated. * tmac/Makefile.sub: Updated. * INSTALL: Updated. * tmac/groff_man.man: Add `man.local' to the FILES section.
* First cut of the new html device driver. Changes to pre-html andwlemb2001-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the new grohtml are too numerous to be documented here. Stuff related to `html' has been renamed to `html-old' and `html2' stuff has been renamed to `html' (including directories). The new html device driver is therefore invoked as `-Thtml'. Added new `O' escape to suppress output (needed by html driver). Added functions and code to pass info about input-level commands (`.in', `.fl', etc.) to html driver. Three new functions (.html-begin, .html-end, and .html-image) for better html handling: `html-begin' will execute the remaining line if at the outermost nesting level, increasing an internal counter. `html-end' does the same but decreases the internal counter. `html_image' puts its arguments into a special node (suppress_node) to define an image region. The `output' request has been removed. * tmac/html-tags.tmac: Removed. * tmac/arkup.tmac: Updated and renamed to ... * tmac/www.tmac: New file. * tmac/markup.tmac Updated and renamed to ... * tmac/mwww.tmac: New file. * tmac/Makefile.sub: Updated. * tmac/an-old.tmac: Updated. * tmac/eqnrc: Updated. * tmac/groff_man.man * tmac/groff_markup.man: Updated and renamed to ... * tmac/groff_mwww.man: New file. * tmac/groff_tmac.man: Updated. * tmac/html-old.tmac: Updated and Renamed from html.tmac. * tmac/html.tmac: Updated and renamed from html2.tmac. * tmac/pspic.tmac: Updated html support. * tmac/s.tmac: Added html output support. * tmac/troffrc, tmac/troffrc-end: Updated. * Makefile.in, doc/Makefile: Updated. * doc/groff.texinfo: Added info about new `O' escape. * doc/homepage.ms: Use `MAILTO' macro. * font/devhtml/DESC.proto: Add `C' font. * font/devhtml/Makefile.sub: Updated. * font/devhtml/R.proto: Minor fixes. * font/devhtml-old/Makefile.sub: Updated. * src/devices/grohtml-old/Makefile.sub: Updated. * src/libs/libdriver/printer.cc (printer::get_font_from_index): New method. * src/libs/libgroff/htmlindicate.cc (html_begin_suppress, graphic_start): Add `inline' parameter. Update. (html_end_suppress, graphic_end): Update. * src/include/html-strings.h: New file. * src/include/htmlindicate.h: Comments updated. * src/include/printer.h: Updated. * src/preproc/eqn/main.cc (do_file, main): Updated. * src/preproc/pic/troff.cc (troff_output::start_picture, troff_output::finish_picture): Updated. * src/preproc/tbl/main.cc (process_input_file): Updated. * src/roff/groff/groff.cc (main): Updated. Pass device arguments to predrivers also. Use `ps' device for `eqn' preprocessor if `-Thtml' is given. * src/roff/troff/env.h (environment): Updated. New elements `need_eol' and `ignore_next_eol' (for html output). * src/roff/troff/env.cc (environment::environment): Add initializers for `need_eol' and `ignore_next_eol'. (environment::add_html_tag_eol, environment::add_html_tag_tabs): New functions. (point_size, fill, no_fill, center, right_justify, line_length, indent, temporary_indent, break_request, handle_tab): Use `add_html_tag()'. (set_tabs): Use `add_html_tag_tabs()'. (environment::add_html_tag): Updated. (environment::do_break): Updated. * src/roff/troff/div.cc (space_request, flush_output): Use `environment::add_html_tag()'. * src/roff/troff/input.cc: Updated. New variable `html_level' to indicate nested `html-begin' requests. (file_iterator::fill): Use `environment::add_html_tag_eol()'. (non_interpreted_char_node, token_node, non_interpreted_node): Add `force_tprint()' method. (token::next): Handle `O'. (do_suppress): Implement it. (html_begin, html_end, html_image): New functions. (init_output_requests): Renamed to ... (init_html_requests): this. (main): Use it. (macro::append_str, macro::append_unsigned, macro::append_int): New methods. New variable `output_low_mark_miny' to limit minimal value of y. (reset_output_registers): Use it. (output_request): Removed. (get_output_registers): New function. * src/roff/troff/node.h (node): Make `force_tprint()' virtual. (*_node): Added `force_tprint()' if necessary. (special_node): New elements `tf' and `get_tfont()'. (suppress_node): New class. * src/roff/troff/node.cc: New global variables `image_no' and `suppress_start_page'. (real_output_file): New method `is_on()'. (troff_output_file): New method `start_special(tfont)'. (troff_output_file::really_print_line): Use `tprint' conditionally. (real_output_file::print_line): Updated. (real_output_file::on): Updated. (*_node): Added `force_tprint()'. (special_node::special_node): Initializer updated. (special_node::same, special_node::copy, special_node::tprint_start): Updated. (get_reg_int, get_reg_str): New functions. (suppress_node::*): New methods. New global variables last_position, last_image_filename; (min): New inline function. * src/roff/troff/reg.h, src/roff/troff/request.h, src/roff/troff/troff.h: Updated.
* * PROBLEMS: Added info about adding -lPW on HP-UX to satisfy thewlemb2000-12-061-2/+2
| | | | | | | | | | | `alloca' symbol . * MORE.STUFF: Added info about deroff for djgpp. * tmac/an-old.tmac, tmac/groff_man.man, doc/groff.texinfo, NEWS: Fix documentation of -rcR switch if -rcR=1 (which is now the default in nroff mode), a single, very
* * tmac/an-old.tmac: Implementing the -rcR switch (similar to mdoc);wlemb2000-12-031-0/+7
| | | | | | | | | | | if -rcR1 (which is now the default in nroff mode), a single, very long page is created instead of multiple pages: All `.ne' and `.wh' requests are put into conditionals; a new macro `an-end' is added to be called with `.em'. Some other minor cleanups. * NEWS, tmac/groff_man.man, doc/groff.texinfo: Updated.
* Convert macros `tmac.XXX' to `XXX.tmac'. Special cases:wlemb2000-10-261-20/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tmac.doc.old -> doc-old.tmac tmac.an.old -> an-old.tmac * tmac/tmac.*: Moved to ... * tmac/*.tmac: this. * tmac/man.local: Fix comment. * tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man, tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated. Added some `FILES' sections. More use of @...@ directives. Other minor updates. * arch/djgpp/README, font/devutf8/NOTES: Updated. * doc/homepage.ms, doc/groff.texinfo: Updated. * man/groff.man, man/roff.man: Updated. * src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man, src/devices/grops/grops.man, src/devices/grotty/grotty.man: Updated. * src/preproc/pic/pic.man: Updated. * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old instead of -mdoc.old. * src/roff/grog/grog.man: Document -mdoc and -mdoc-old. * src/roff/nroff/nroff.man: Updated. * NEWS: Updated. * tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment. * tmac/mm.diff: Removed -- it has no use now since the mm package is part of groff. * tmac/*: Removed trailing spaces. * arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac subdirectory also).
* * tmac/tmac.an: Added a new command line option `-rSxx' (`xx' can bewlemb2000-05-221-4/+11
| | | | | | | | | | | | | | | | | | | | 10, 11, or 12) to support output with 11pt and 12pt base font sizes. `.SS' now produces a heading with a smaller size than `.SH'. Completely formatted. * doc/groff.texinfo, tmac/groff_man.man, NEWS: Document it. * man/groff.man: Improved table appearance. Use of `eo' request to reduce number of doubled backslashes in macro definitions. Replacing `e' with `(rs'. Other minor fixes. * src/preproc/tbl/main.cc: Insert HTML table end tag before `lf' to have correct line number. * INSTALL: Small improvement. * man/roff.man, tmac/groff_tmac.man: Updates (with corrections by WL).
* * doc/Makefile (clean): Include more index files.wlemb2000-04-081-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add rule texinfo->dvi. * doc/groff.texinfo: Added new index `op' for operators. More info on end of sentence characters. More use of @Deffn. * */*.man: Adding a note that a whitespace can be inserted between a command line option and its parameter -- we are using GNU getopt. * src/roff/groff/groff.man: Add example of `-m mandoc'. Correct anachronism of calling the man macro file with `-man' instead of `-m man' etc. * tmac/tmac.man, tmac/tmac.mandoc, tmac/tmac.markup, tmac/tmac.mdoc, tmac/tmac.me, tmac/tmac.ms: New files tmac.m<package> which simply load tmac.<package>. * tmac/Makefile.sub: Updated. Take care of $(tmac_an_prefix) etc. * NEWS: Updated. * doc/groff.texinfo: Updated. * tmac/groff_man.man: Copyright added. (I've basically taken groff_man.man). Introducing new indices `ma'
* * doc/groff.texinfo: Added section about man macro packagewlemb2000-03-201-11/+17
| | | | | | | (I've basically taken groff_man.man). Introducing no indices `ma' for macros/strings and `gl' for glyph names. Other minor fixes. * tmac/groff_man.man: Fixed some typos.
* * src/libs/libgroff/htmlindicate.cc: Added library file which is nowwlemb2000-03-101-20/+96
| | | | | | | | | | used by pic and eqn to tell grohtml where the graphic regions start and end. * src/libs/libgroff/Makefile.sub: Use it. * src/preproc/eqn/main.cc, src/preproc/pic/troff.cc: Altered to use graphic_start() and graphic_end() from htmlindicate.cc. * tmac/groff_man.man: More fixes.
* Other minor fixings.wlemb2000-03-061-6/+30
|
* * tmac/groff_man.man: Completely revised to cover everything inwlemb2000-03-061-35/+174
| | | | | | | | | | | | | | | | | | | | tmac.an. Adding a request `evc' to copy environments. * src/roff/troff/env.cc (environment::copy, environment_copy): Implement it. * src/roff/troff/env.h: Add prototype. Adding strsep() -- Solaris 8 doesn't have it. * configure.in: Test it. * src/devices/grolbp/lbp.cc: Add code. * NEWS, PROJECTS: Updated.
* Initial revisionwlemb2000-02-061-0/+171