summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* * another patch from ulrich lauther to fix thejhaegg2003-11-043-23/+35
| | | | TOC up to 14 heading levels.
* * src/devices/grops/grops.man: Improve section on creating EPS.wlemb2003-10-311-2/+2
| | | | | * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter -> -P-pletter).
* * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,wlemb2003-10-286-22/+122
| | | | | | | | | | | | | contrib/pic2graph/pic2graph.sh: Implement secure management of temporary files. Pass `-P-pletter' to groff to avoid data outside of the converted area -- some versions of `convert' (for example 5.3.8) don't check the bounding box of the image but always use a fixed image size (letter paper format). * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man, contrib/pic2graph/pic2graph.man: Updated. * src/roff/groff/groff.man: Document $TMP and $TEMP.
* o Changed \n[#DRAFT] and \n[#REVISION] to strings \*[$DRAFT] andwlemb2003-10-228-77/+342
| | | | | | | | | | | | \*[$REVISION], allowing for the possibility of blank entries that don't mess up headers/footers with zeros if user doesn't want any numbers. o Extended handling of draft and revision numbers and strings in headers/footers for increased flexibility. It's possible now to have just about any combo of DRAFT_STRING, DRAFT, REVISION_STRING and REVISION, and have them come out in headers/footers as one intuitively expects/wants.
* * problem with more than 7 levels of headings fixed withjhaegg2003-10-202-4/+9
| | | | patch from ulrich lauther.
* Finally fix change 2003-08-26, based on ideas from Chuck Silverswlemb2003-10-131-8/+9
| | | | | | | <chuq@chuq.com>. * contrib/mom/Makefile.sub: Use a stamp file in the `examples' directory.
* * contrib/mom/Makefile.sub: Fix last change to make it really work.wlemb2003-09-011-1/+3
| | | | | | | * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'. (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and $(DEVFILES) are not empty. * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
* o Added a .bp after .if \\n[#START]=1 in FOOTER. Without it,wlemb2003-08-175-6/+25
| | | | | | | | in document processing mode, documents that use *none* of the docprocessing tags (yes, there are times when users want to do this) ignored the footer trap. o Changed register #DOCHEADER_LEAD_ADJ to string
* * *.man: Switch to non-compatibility mode temporarily if GNUwlemb2003-07-182-4/+13
| | | | | | syntax extensions are used in the particular man page. * PROBLEMS: Add solutions for SGR problems.
* Added a SHIM macro that calculates and moves to the next "legal"wlemb2003-07-0713-112/+326
| | | | | | | | | | | baseline during document processing (useful if user starts playing around with spacing/leading on a page and needs to get the leading back on track). Fixed handling of DOCHEADER OFF <distance> so that the first line of running text falls on a "legal" baseline when <distance> is given. Other cleanups.
* typowlemb2003-07-021-2/+2
|
* Integrated grap2graph, contributed by Eric S. Raymond.wlemb2003-07-022-3/+6
| | | | | | | * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}: New files. * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man, contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
* Initial revisionwlemb2003-07-024-0/+178
|
* o DOC_TITLE changed to be used exclusively with DOCTYPE DEFAULTwlemb2003-05-275-35/+152
| | | | | | | | | | | | | o Fixed problem with restoration of previous doc pagenum style when endnotes use a different pagenum style (set with ENDNOTES_PAGENUM_STYLE) o Fixed handling of headers/footers with respect to endnotes. Now, when either headers or footers are on, mom picks up the correct page header/footer on the last page prior to ENDNOTES, gets the pageheaders correct for endnotes pages *including the last one*, and picks up correct page headers/footers for the subsequent docs after COLLATE
* o Added TOC (finally) and a nearly complete set of associatedwlemb2003-05-1913-553/+3489
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | control macros o Added new control macros to endnotes: ENDNOTES_STRING_CAPS - capitalize the endnotes string ENDNOTES_NO_COLUMNS - allows docs in columns and endnotes not ENDNOTES_PAGENUM_STYLE - set page numbering style for endnotes ENDNOTES_FIRST_PAGENUMBER - set first pagenumber for endnotes ENDNOTES_ALLOWS_HEADERS - page headers on endnotes pages off or on ENDNOTES_NO_FIRST_PAGENUM - allows non-printing first page number when page footers are being used instead of headers ENDNOTES_SINGLE_SPACE - for TYPEWRITE, if doc double-spaced SUSPEND/RESTORE_PAGINATION - turns page numbering off for endnotes o Added an ADJUST option to ENDNOTE_LEAD o Added DOC_TITLE (like TITLE, but sets document-wide title for collated docs) o Added HDRFTR_CENTER_PAD, to allow adjustments to placement of HDRFTR_CENTER_STRING o Added BLANKPAGE macro, to output blank pages (silently numbered) o Extensive changes to DEFAULTS, START, COLLATE, HEAD, SUBHEAD and PARAHEAD because of new TOC and extended flexibility of ENDNOTES page design o Fixed DOCHEADER OFF (distance), FINIS o (Re)-fixed handling of post epigraph spacing after #START for TYPEWRITE double-spaced.
* * contrib/mom/Makefile.sub (GROFFBIN): New variable for groffwlemb2003-04-051-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | binary path. (groff_bin_path): Rename to GROFF_BIN_PATH. (GROFF): Use GROFFBIN and GROFF_BIN_PATH. * doc/Makefile.in (TROFFBIN): New variable for troff binary path. (GROFFBIN): New variable for groff binary path. (groff_bin_path): Rename to GROFF_BIN_PATH. (TROFF): Use TROFFBIN. (GROFF): Use GROFFBIN and GROFF_BIN_PATH. * doc/Makefile.sub (GROFFBIN): New variable for groff binary path. (groff_bin_path): Rename to GROFF_BIN_PATH. (GROFF): Use GROFFBIN and GROFF_BIN_PATH. * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS with INSTALL_SCRIPT. (uninstall_dev): Uninstall scripts from DEVSCRIPTS. * Makefile.dev (all): Depend on DEVSCRIPTS. (install_dev): Likewise. * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold scripts. * font/devps/Makefile.sub (DEVSCRIPTS): Likewise. (DEVGENSCRIPTS): New variable to hold generated scripts. * src/libs/libdriver/input.cc (IntArray::operator[], IntArray::get_data): Remove meaningless `const' in return value. * README.CVS: New file.
* * the footer was not adjusted by VM due to a missingjhaegg2003-04-022-6/+12
| | | | pg*extra-footer-size in the calculation of pg*last-pos
* * space adjustments in 4.MT to make it more likejhaegg2003-04-022-6/+11
| | | | the original
* * removed error check i 4.MT, .AF is not mandatory anymorejhaegg2003-03-302-4/+9
|
* * cov*firm now defined only if arg to AF is non-emptyjhaegg2003-03-292-3/+9
| | | | | That will also enable cov*default-firm from the mm locale-file to work.
* * added .ll in pg@set-env to initialize thejhaegg2003-03-292-2/+8
| | | | header environment properly
* * groff_mm.man: Some fixes from Robert D. Gouldingwlemb2003-03-192-6/+11
| | | | <goulding@Princeton.EDU>.
* o Added James Ramsey's proposed CHAPTER_TITLE macro, along with hiswlemb2003-02-2514-318/+657
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rewritten START macro and his utility macros to make START easier to read. o Expanded handling of CHAPTER_TITLE to encompass TYPEWRITE, as well as plugging it into the docheaders. Made CHAPTER_TITLE backwardly compatible so that pre-1.1.5 docs using CHAPTER_STRING to create a chapter title remain unaffected when groffed with 1.1.5. o Created control macros for CHAPTER_TITLE FAMILY, FONT and SIZE. Added defaults for handling of CHAPTER title to DEFAULTS. Documented CHAPTER_TITLE and everything that goes along with it. o Fixed broken draft and revision in headers/footers. o Fixed \*[RULE] so that it behaves properly with indents and justified copy. o Fixed/tweaked handling of epigraph spacing in TYPEWRITE. o Fixed broken spacing of docheaders in TYPEWRITE. o Fixed an oversight in CLOSING for DOCTYPE LETTER (closing wasn't being set flush left) o Changed .ne in .HEAD when PRINTSTYLE TYPESET from 5 to 4. With 5, heads required at least 2 lines of text underneath or they'd be defered to the next page, which created too much whitespace at the end of the page. Heads will now be processed on the same page if the head plus at least one line of text underneath fits. I figure it's easier for the user to break to a new page manually if this behaviour is unsatisfactory than to massage the page to fix the excess whitespace.
* * release of groffer 0.9.4wlemb2003-01-273-26/+89
| | | | | | | | | | | | | | | | | | | * groffer.sh: corrections for some restrictive shells - Possible exit codes in actual `ash' are between 0 and 63. To handle even deeper restrictions, use 7 as maximal code instead of 255 as replacement for error -1. - Remove variables $_BAD2 and $_BAD3. - Replace `trap' argument `EXIT' by 0 and write new fuctions `trap_clean' and `trap_set' to handle the restrictions of `trap' for some shells. - Correct wrong $MANPATH to $_MAN_PATH in function `man_do_filespec'. - Test existence of directory before deleting it in the `clean_up' definitions. - Correct help output in `usage' (called by `--help'). * TODO: Remove mention of `shoop' and `apropos'.
* * font/devX*/S: Regenerated.wlemb2002-12-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * font/devdvi/generate/ec.map: Remove `pl'. * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'. * font/devdvi/*{TC,EC}: Regenerated. * font/devhtml/R.proto: Add `-+'. Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'. * font/devlbp/*: Remove `or'. * font/devlj4/generate/special.map: Remove `or'. * font/devlj4/S: Regenerated. * font/devps/generate/textmap: Add `fiveeighths', `oneeighth', `seveneighths', `threeeighths'. Remove `plusmath'. Replace `minusplus' with `uni2213'. * font/devps/symbolmap: Regenerated. * font/devutf8/R.proto: Replace `shc' with unnamed glyph. Add `-+'. * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline function. * src/roff/troff/node.cc (troff_output_file::put_char_width): Call glyph_color and fill_color even if tcommand_flag isn't set. (make_node, node::add_char): Check not ci->is_fallback but ci->is_normal. * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'. * tmac/ec.tmac: Add remove entry for `f/'. Don't remove `12', `14', `34'. Define `pl' to be always roman. * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros. Define `18', `38', `58', `78'. * tmac/tty.tmac: Add `-+'. * tmac/dvi.tmac: Define `f/'. (dvi-frac): Use `f/'. * tmac/X.tmac (X-frac, X-frac-mono): New macros. Define `18', `38', `58', `78'.
* * groffer.sh: new temporary subdirectorywlemb2002-10-214-46/+71
| | | | | | | | | | | | | | | | | | | | | - Generate temporary subdirectory for storing temporary files with better names in future groffer versions (name: "groffer$$" in usual temporary directory). - Use `umask 000' for temporary files to allow cleaning up for everyone after a system break. - Change both clean_up() functions (for normal shell and for main_display() subshell) to handle the new subdirectory. - clean_up_secondary() and $_TMP_PREFIX are unnecessary now, so they were removed. * Makefile.sub: `sed' commands for "groffer:" - Remove "@g@" entry (not used in "groffer.sh"). - Add global replace for "@BINDIR@" and "@VERSION@" for future usage. * TODO: think about... - writing part of groffer in C/C++. - handling several files with different macro packages.
* * fixes of groffer 0.9.2wlemb2002-10-196-23/+76
| | | | | | | | | | | | | | | * groffer.sh: Terminate main_parse_MANOPT() if $MANOPT is empty or consists of space characters only. * groffer.man: some fixes in "GROFFER OPTIONS" - New macro ".Header_CB" for CB font in .TP headers; used for definition of variables in option --mode. - Fix some option references to refer to long options. * README: New file for general information on the groffer source; it is not installed.
* * fixes of groffer 0.9.2wlemb2002-10-143-4/+17
| | | | | | | | | | | | * Makefile.sub: add replacement "@BINDIR@" to "$(bindir)" for "groffer:" * groffer.sh: Define $_this as "@BINDIR@/${_PROGRAM_NAME}" to save the right installation position of groffer for the special shell calling. * groffer.man: - Remove double definition of filespec parameters.
* * release of groffer 0.9.2wlemb2002-10-143-432/+352
| | | | | | | | | | | | | | | | | | | | | * groffer.sh: fixes - Fix some 'sed' functions: two in func_stack_dump(), one in base_name(), add 'sed' command in list_from_cmdline(). - Finish main_parse_MANOPT() if $MANOPT is empty. - Sort $_OPTS_GROFF_SHORT_NA like groff short options (but unchanged). - Fix some comments. * groffer.man: make it more readable (but no additions) - A shortened section "SYNOPSIS" is followed by a simplified section "DESCRIPTION". - The options from "SYNOPSIS" go to new section "OPTION OVERVIEW" with all groffer options in a single subsection. - The details of all groffer options are described in section "GROFFER OPTIONS". - New macro for file names ".File_name". - "Option Parsing" is moved to section "COMPATIBILITY". - Fix some "EXAMPLES".
* * groffer.sh: replace `sed' interface by direct `sed'wlemb2002-10-074-504/+396
| | | | | | | | | | | | | | | | | | | | | | | - This improves the performance of the shell programming parts and shortens the groffer script by about 5%. - Remove functions: string_del_append(), string_del_leading(), string_del_trailing(), string_flatten(), string_get_before(), string_get_leading(), string_replace_all(), string_sed_s(), and their auxiliary functions. - Replace all calls of these functions by direct `sed' commands. - Define variables for special characters to ease `sed' calls. - Remove `$APPEND'. - Restrict list_from_string() to single character separators. - Correct list_check() and base_name(). - Add comments to all calls of `sed'. * groffer.sh: add run-time support for several shells - New option `--shell': stop execution and rerun groffer under the shell specified in the argument of `--shell'. - If no shell was specified at run-time, `ash' is tried first; if `ash' is not available continue with the shell with which groffer was called from the command line, or with the shell name in the first line of the script, actually `/bin/sh'.
* * added implicit -mm to mmroff, it's now possiblejhaegg2002-09-112-2/+9
| | | | to use mmroff with or without -mm as argument.
* o Changed .IX to .IQ. The older form still works, but emits a messagewlemb2002-09-0414-318/+489
| | | | | | | | | | | | | | | | | | | | | | | | | | advising the user to update to the newer. (The macro in om.tmac still remains IX; IQ is an alias.) Docs updated to reflect the change. *Tue Aug 20 2002 o Added new (better) way to handle inline kerning. \*[BU #] and \*[FU #] allow passing an argument to the inline string. The older forms \*[BU#] and \*[FU#] still work, though. o Changed handling of inline horizontal and vertical movements. Horizontal movements are now done with \*[BCK #<unit>] and \*[FWD #<unit>]; verticals with \*[UP #<unit>] and \*[DOWN #<unit>]. The older forms \*[FP#] and \*[BP#] still work (horizontals), as do \*[ALD#] and \*[RLD#] (verticals). *Mon Aug 19 2002 o Fixed ENDNOTES so footnotes output properly when ENDNOTES is called o Added ENDNOTES_HDRFTR_CENTER so that default no-print of header center string on endnotes page(s) when DOCTYPE is CHAPTER can be disabled (i.e. header center will be printed).
* o Fixed ENDNOTES so footnotes output properly when ENDNOTES is calledwlemb2002-08-226-15/+131
| | | | | | | | | | | o Added ENDNOTES_HDRFTR_CENTER so that default no-print of header center string on endnotes page(s) when DOCTYPE is CHAPTER can be disabled (i.e. header center will be printed). o Added .nf to top of PAD, with a test beforehand for current fill mode. If fill mode was on, it's restored after PAD completes processing. Updated reserved.html to include number register #FILL_MODE.
* * tmac/an-old.tmac (T&): New dummy macro to avoid warning.wlemb2002-08-212-5/+14
| | | | | | | * man/groff_tmac.man: Fix typos. * man/groff_font.man: Minor reordering. * contrib/eqn2graph/eqn2graph.man (Tp): New macro. * contrib/groffer/groffer.man: Fix typos.
* * m.tmac (VM): Add missing backslash.wlemb2002-08-072-3/+7
|
* * doc/grnexmpl.me: Remove calls to .st and .sc which are undefined.wlemb2002-07-311-1/+1
| | | | | * src/preproc/pic/pic.y (print_arg, relative_path): Add missing final semicolon.
* Makefile.sub (FFLAG, TFLAG): Add paths to source directories.wlemb2002-07-292-2/+6
|
* Makefile.sub (groff_bin_path): Don't use ' \+' but ' *' for sed.wlemb2002-07-242-2/+9
| | | | (GROFF): Set GROFF_COMMAND_PREFIX to empty value.
* * contrib/pic2graph/pic2graph.*: Use convert(1).wlemb2002-07-173-120/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * contrib/eqn2graph/eqn2graph.*: Minor fixes. * tmac/groff_trace.man: New file. * tmac/Makefile.sub: Updated. * NEWS: Updated. * src/roff/groff/groff.man: Add some cross references. * src/roff/troff/input.cc (substring_request): Add warnings for string indices out of range. * font/devdvi/generate/ec.map: Fix typo (`(l' -> `/l'). * font/devdvi/*EC: Regenerated. * man/groff_char.man: Updated and extended. * src/roff/troff/input.cc (length_macro): Renamed to... (length_request): This. Move call of `tok.next()' to the very end, otherwise the register value hasn't been updated yet. (init_input_requests): Updated. * src/roff/troff/input.cc (substring_macro): Renamed to... (substring_request): This. (init_input_requests): Updated. * src/roff/troff/request.h: Updated. * src/roff/grog/grog.sh: Fix typo. * win32-diffs: Updated. Handle `papersize' keyword properly in DESC. * src/libs/libgroff/font.cc (font::scan_papersize): Fix argument type. Updated all callers. * src/libs/libgroff/paper.cc: Add four more paper formats used by grolj4. * src/include/paper.h: Updated. * src/devices/grolbp/lbp.cc: Remove unnecessary semicolons. Other minor C syntax fixes. (papersize, paperlength, paperwidth): Renamed to `user_*'. (lbp_printer): Add `papersize', `paperlength', and `paperwidth' members. (lbp_printer::lbp_printer): Pass three arguments. Set paper dimensions properly. (make_printer, main): Updated. (handle_unknown_desc_command): Fix error messages. (main): Handle papersize keyword in DESC properly. * src/devices/grolj4/lj4.cc (paper_size): Renamed to `user_paper_size'. (lbp_printer::lbp_printer): Pass an argument. Set paper_size properly. (handle_unknown_desc_command): Removed. (make_printer, main): Updated. * src/devices/grolj4/grolj4.man: Minor documentation fix. * man/groff_font.man, NEWS: Updated.
* o Added capability of endnotes and pertinent control macros to om.tmac.wlemb2002-07-1712-273/+1850
| | | | | | | | | | | | | | | | | | | o Added document entries pertaining to endnote macros. o Incorporated endnote macros into elvis_syntax. o Small doc fixes. o Tidied up indenting of om.tmac. o Fixed handling of underlining of italics in PRINTSTYLE TYPEWRITE (there was a problem with footnotes getting underlined when they shouldn't have been). o Removed ENDNOTES from TODO o Fixed the character translations for UNDERLINE so they work properly with digraphs.
* * groffer.sh: enhance version informationwlemb2002-07-173-4/+30
| | | | | | | | | | | | | | | | | `groffer -v|--version' now print: - groffer's version number and date - the string `is part of ' - groff's version information (version number and copyright), but not groff's `called subprograms' information. * groffer.sh: minor fixes - Fix the argument parser to process argument `-' correctly. - Some display programs have trouble with empty input; feed a line consisting of a single space character in this case for all display modes (not for source or groff modes). * TODO: fix entry for `shoop'.
* Integrated eqn2graph, contributed by Eric S. Raymond.wlemb2002-07-071-8/+8
| | | | | | * contrib/eqn2graph/{Makefile.sub, eqn2graph.sh, eqn2graph.man}: New files. * Makefile.in, NEWS: Updated.
* Initial revisionwlemb2002-07-074-0/+171
|
* * release of groffer 0.9.0wlemb2002-06-284-79/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * groffer.sh: new mode `pdf' - PDF (Portable Document Format): -> Transform groff `ps' output into pdf using `gs'. -> Pro: PDF viewers provide text searching (!). -> Con: the transformation is quite slow. -> Not suitable as an auto mode. - New options `--pdf', `--pdf-viewer', `--mode pdf'. - Standard pdf viewers `xpdf' and `acroread'. - For `xpdf', choose zoom `z 3' for 100 dpi, `z 2' for 75 dpi. * groffer.sh: support bzip2 decompression - add test for `bzip2' with necessary options - extend functions `catz()' and `save_stdin()'. * TODO remove entry on `bzip' decompression (done). * groffer.man: - Document new `pdf' features. - Document new `bzip2' decompression. - Fix documentation for `--auto-modes'. * groffer.sh: minor fixes - Improve device tests in `tty' and `dvi' modes. - Internally, map mode `auto' to '' to facilitate tests. - Fix auto mode sequence to: `ps,x,tty' as was intended.
* Minor doc fix.wlemb2002-06-271-4/+4
|
* * groffer.sh:wlemb2002-06-254-12/+30
| | | | | | | Fix `source' mode. * groffer.man: Fix some indentations.
* * release of groffer 0.8wlemb2002-06-245-1633/+3272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.sub: add copyright section * groffer.man: - Document the new options. - Revise the documentation of the modes. - Document the configuration files in new section `FILES'. - Redesign section `EXAMPLES'. - Remove documentation for `-W'. * groffer.sh: new debugging features - Disabled by default; enabled by environment variables. - Add landmark() to catch typos with quotes. - Add a function call stack for suitable functions; implemented as within the argument checker func_check(). - This implies the need to provide `return' with some clean-up facility; implemented as `eval "$_return_..."'. - Add option `--debug' to enable debugging at run-time. - Actually, the groffer script uses only shell builtins found in `ash' (a subset of POSIX) and POSIX `sed' as the only external shell utility. * groffer.sh: customization of viewers - In `groff' mode, the groffer viewing facilities are disabled. - The postprocessor option `-P' costumizes the viewer only in some situations in the `groff' mode, so a new infrastructure for viewer customization is necessary. - Allow to specify arguments to the viewer programs specified in `--*-viewer()'. - Implement some of the essential X Toolkit resource options in groffer, but with use a leading double minus. -> `--bd': set border color. -> `--bg', `--background': set background color. -> `--bw': set border width. -> `--display': set X display. -> `--geometry': set size and position of viewer window. -> `--fg', `--foreground': set foreground color. -> `--ft', `--font': set font. -> `--resolution': set X resolution in dpi. -> `--title': set viewer window title. -> `--xrm': set X resource. - Remove misnamed option `--xrdb'. * groffer.sh: new mode structure - New Postcript mode `ps' (`--ps'): -> default viewers: gv,ghostview,gs_x11,gs; -> `--ps-viewer' sets the Postscript viewer. - New mode `www' (`--www') for displaying in a web browser: -> default browsers: mozilla,netscape,opera,amaya,arena; -> `--www-viewer' sets the web browser. - New dvi mode (`--dvi'); default viewer `xdvi': -> default viewers: xdvi,dvilx; -> `--dvi-viewer' sets the dvi viewer. - New mode `auto': -> active if no other mode is given or by new option `--auto'; -> selects from a sequence of modes that are tested until one of them succeeds. -> the default mode sequence is actually `ps', `x', `tty'. -> `--default-modes' sets this mode sequence as a comma separated string of program names, optionally each one with arguments). - New mode `groff': -> process input like groff, ignore viewing options. -> activated by new option `--groff'. -> automatically active with one of `-V', `-X', `-Z'. - Revise `tty' mode: -> allow several text devices. -> - Reorganize the mode management: -> new mode setting option `--mode'. -> logically separate source, groff, and display modes. -> intermediate output mode is now part of mode groff; remove any special features around `-Z'. - Update usage() to reflect the new option structure. * groffer.sh: add configuration files - `/etc/groff/groffer.conf' system-wide configuration. - `${HOME}/.groff/groffer.conf' user configuration. - The configuration file are shell scripts for now; later implementations can identify this from the `#! /bin/sh' line. * groffer.sh: new data structure `list': - Implement a `list' data structure as a string consisting of single-quoted elements, separated by a space character; embedded single-quotes are escaped. * groffer.sh: new option parser based on `list': - Write new option parser based on `list', compatible to both POSIX getopts() and GNU getopt(). - Long options are now available on GNU and non-GNU systems. - Get rid of POSIX getopts() and GNU getopt(). - the `-W--longopt' construct is now obsolete; remove it. - add test/function for `unset'. - Option strings are now implemented as `list's in order to allow unusual characters in options. - Parse $MANOPT first; translate essential arguments into groffer options. * groffer.man: - determine prompt length for `.Shell_cmd'* dynamically. - naming scheme for static strings and registers changed to `namespace:macro.variable'. * groffer.sh: Implement man option `--ascii' by `-mtty-char'.
* o examples/macros.mom: Fix path to penguin.ps.wlemb2002-06-182-3/+7
|
* o Macro .PS renamed to .PT_SIZE. Alias .TS removed.wlemb2002-06-1315-212/+338
| | | | | | | | o .tr bits in .CAPS rewritten in the form .tr é\['E]. o General cleanup of docs to reflect changes. o Small changes/additions to `elvis_syntax'.
* o examples/letter.mom: New file.wlemb2002-06-073-0/+42
| | | | o Makefile.sub (EXAMPLEFILES, PROCESSEDEXAMPLEFILES): Add letter.mom.