summaryrefslogtreecommitdiff
path: root/tmac
Commit message (Collapse)AuthorAgeFilesLines
...
* * tmac/unicode.tmac: Make `-' a pure input character by mapping itwl2007-09-141-0/+1
| | | | | | to `hy'. * src/roff/troff/input.cpp (init_charset_table): Handle `hy'.
* * tmac/s.tmac (cov*first-page-init): Remove invoking trap, to avoid possible ↵keithmarshall2007-07-151-0/+4
| | | | recursion.
* * tmac/papersize.tmac: Fix dimensions of executive paper format.wl2007-07-051-3/+6
| | | | Reported by John Rupley <rupley@u.arizona.edu>.
* * tmac/s.tmac (cov*first-page-init): Emit error message if not inwl2007-07-021-0/+4
| | | | top-level environment.
* *** empty log message ***wl2007-07-011-1/+1
|
* * tmac/fr.tmac: Handle chapter system for `me'.wl2007-06-081-1/+22
|
* * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate.wl2007-05-301-81/+87
| | | | | Recommend `tbl' instead of `-column' lists for more complicated cases.
* * tmac/s.tmac (SN): Define unconditionally.keithmarshall2007-04-082-19/+59
| | | | | | (SN-STYLE): New string; define. * NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
* * tmac/pspic.tmac: Fix harmless numeric overflow warning. Reportedwl2007-03-221-1/+1
| | | | by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
* * tmac/trace.tmac (rn): Added.wl2007-03-211-2/+27
| | | | | | | | | (nr, ds, ds1, as, as1, substring): Restore escape character while executing the macro. (nr): Remove dead code. * src/preproc/eqn/box.cpp (box::top_level): Use \E in string definitions to make them traceable.
* * tmac/s.tmac (MO, CH, pg*OH, pg*EH, pg*OF, pg*EF, *, [., .],wl2007-03-151-34/+36
| | | | | | | | | | par*define-font-macro, \[hooko]): Use \E to make it traceable. (ref*field): Add argument to control the space between previous and current argument. Update all callers. (ref*add-N): Fix handling of opening parenthesis. Problem reported by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
* * tmac/trace.tmac (als): Added.wl2007-03-151-8/+17
| | | | (de, de1, am, am1): Make traced macros aliased with .als work.
* * tmac/groff_man.man: Revised to improve visual appearance.wl2007-02-202-270/+381
| | | | | | Reduce use of future tense. * tmac/groff_trace.man: Revosed to improve visual appearance.
* Viewer portability fixes.esr2007-02-191-43/+39
|
* Change .UR/.UE and .MT/.ME so the start macro no longer takesesr2007-02-063-22/+25
| | | | | 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.
* * tmac/an-old.tmac (LP, IP, HP): Use .ns to suppress additionalwl2007-02-041-0/+3
| | | | vertical space.
* Adapted to use .UR/UE and .MT/.ME.esr2007-02-041-2/+6
|
* Adapted to use .SY/.OP/.YS, but this time with a proper Ellipsisesr2007-02-041-329/+47
| | | | string and without macro name shortening.
* 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.
* * tmac/an-ext.tmac (ME): Don't use `\:'.wl2007-02-023-10/+12
| | | | | * contrib/chem/chem.man, contrib/groffer/roff2.man, src/roff/grog/grog.man: Further refinements and normalizations.
* Added TESTING-HINTS based on wisdom from Werner.esr2007-02-021-0/+20
|
* The other Bell Labs localisms are now enabled when you call .SC.esr2007-02-012-21/+26
| | | | It is no longer necessary to specift "-r bell=1" on the command line.
* Fix a documentation glitch, and test my commit ability.esr2007-02-011-1/+1
|
* Add some Bell labs extensions to the -ms macros.wl2007-02-012-2/+54
| | | | | | * tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros. * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
* * tmac/an-ext.tmac (\n[EX]): Rename to \n[mX].wl2007-01-301-28/+95
| | | | | | | | | | | | | | | | | | | (\n[mH]): New register (set if grohtml is used). (\n[SY]): Rename to \n[mS]. (\n[a]): Rename to \n[mA]. (\n[i]): Rename to \n[mI]. (mU): New auxiliary input trap macro. (UR, UE): Replace stub with real definition. (URL): Remove. (MT, ME): New macros. (MTO): Remove. (EX, EE): Don't insert vertical space. Use a register to store (and restore) the current font. * man/ditroff.man, man/groff_diff.man, man/roff.man: Revised, based on patches from Eric Raymond. Fix URL addresses. * contrib/pdfmark/pdfroff.man: Updated.
* * tmac/an-old.tmac (an-trap, HP): Make `HP' work as expected.wl2007-01-221-0/+5
|
* * tmac/an-ext.tmac: Protect against being sourced twice.wl2007-01-221-5/+23
| | | | | (URL, EE): Use always two backslashes. (MTO): New macro.
* * tmac/an-ext.tmac: Remove code for grodvi.wl2007-01-161-10/+13
| | | | | | (SY): Fix typos. Don't insert empty line. (URL, TQ): Fix typos.
* * tmac/an-ext.tmac: New file, containing extension macroswl2007-01-154-54/+181
| | | | | | | | for -man. See discussion on the groff mailing list for background information. * tmac/an-old.tmac: Load an-ext.tmac. Decorate .ds and as with comment escapes where appropriate. * tmac/Makefile.sub (NORMALFILES): Add an-ext.tmac.
* Make -me macros ready for grohtml.wl2007-01-051-18/+385
| | | | | | | | | * tmac/e.tmac: Load devtag.tmac. (need_eo_h, need_eo_tl, need_tl): New registers. (check_need_title, (x-html, )x-html, xp-html): New macros. (@h, hl, ip, @p, sh, (b, (l, EQ, EN, TS, TE, PS, PE, GS, GE, r, i, b, rb, bi, bx, (x, )x, xp): Adapt for use with grohtml. (bp): Rename to @b only if output device is not html.
* Add support for German. For activation, simply use -mde or -mdenwl2006-12-196-1/+5477
| | | | | | | | | | | (for traditional and new orthgraphy, respectively) as the last macro package. * tmac/de.tmac, tmac/den.tmac, tmac/hyphen.det, tmac/hyphen.den, tmac/hyphenex.det: New files, partly taken from CTAN. * LICENSES: Updated list of hyphenation patterns. * man/groff_tmac.man: Mention de.tmac and den.tmac. * NEWS: Updated.
* * man/roff.man, doc/groff.texinfo: Improve history of roff, based onwl2006-11-193-6/+197
| | | | | | | | | | | | | | | | 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.
* * tmac/trace.tmac: Improve tracing of `.nr'.wl2006-10-281-6/+20
| | | | | | Trace `.substring' also. * NEWS: Updated.
* Add `\%^' escape to handle the parameters to a macro as a stringwl2006-10-261-29/+60
| | | | | | | | | | | | | | | | | | | | | | 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.
* * tmac/groff_trace.man: Mention problem with `\\\\'.wl2006-10-241-2/+38
|
* * doc/groff.texinfo (Expressions): Improve documentation of `!'.wl2006-10-232-2/+1
| | | | * tmac/trace.tmac (return): Don't call `substring'.
* * tmac/pspic.tmac: Make .PSPIC work for all devices.wl2006-07-015-17/+67
| | | | | | | | | | | | | | | | 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-1/+3
| | | | * doc/groff.texinfo: Document usage of \? for string comparison.
* * src/libs/libgroff/font.cpp (font::load): Reject fonts calledwl2006-05-301-16/+33
| | | | | | | | | | | | | | | | | | | | `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.
* * tmac/an-old.tmac (an-do-tag): Simplify.wl2006-05-271-13/+7
|
* * tmac/an-old.tmac (an-header, an-p-footer): Use named environment.wl2006-05-271-4/+4
|
* * tmac/an-old.tmac (an-do-tag): Make margin characters work.wl2006-05-271-4/+16
| | | | | * src/roff/troff/env.cpp (environment::copy): Copy margin character node.
* * tmac/trace.tmac (de1): Fix serious typo (.di -> .do) and minorwl2006-05-241-3/+3
| | | | omissions.
* * tmac/www.tmac: Decorate `.ds' with trailing `\"' where missing.wl2006-05-071-89/+118
| | | | | | Normalize handling of `"' in arguments. (PIMG): Remove debug message. Simplify code.