summaryrefslogtreecommitdiff
path: root/tmac
Commit message (Collapse)AuthorAgeFilesLines
* * tmac/e.tmac (bl): Make it work inside blocks.wl2012-01-251-1/+6
| | | | | | | See threads starting with http://lists.gnu.org/archive/html/groff/2011-12/msg00055.html http://lists.gnu.org/archive/html/groff/2012-01/msg00000.html
* [mdoc] Add `-isoC-2011'.wl2012-01-032-0/+4
| | | | | * tmac/doc-syms (doc-str-St--isoC-2011): Add it. * tmac/groff_mdoc.man: Document it.
* [me] Fix behaviour of centered block.wl2011-12-011-0/+1
| | | | | | | | Problem and possible fix reported in thread starting at http://lists.gnu.org/archive/html/groff/2011-11/msg00002.html * tmac/e.tmac (`(c'): Always start with a new line.
* [man] Print volume headers like mdoc.wl2011-12-011-3/+12
| | | | | * tmac/an-old.tmac (an-init): Add default volume name if fifth argument to `.TH' is missing.
* * tmac/groff_man.man: Minor documentation improvements.wl2011-11-221-2/+11
| | | | Suggested by Jeff Conrad <jeff_conrad@msn.com>.
* [mdoc] Synchronize string tables with the mandoc(1) utility.wl2011-10-293-15/+151
| | | | | | | | | | | * tmac/doc-common: Add many architecture names used in NetBSD and OpenBSD (and "arm" from FreeBSD) and remove the duplicate OS version entry for Darwin-10.6.0. * tmac/doc-syms: Add many library names used in NetBSD and FreeBSD. * tmac/groff_mdoc.man: Document all supported architecture names, OS versions, and library names.
* Fix typos.wl2011-10-083-7/+6
| | | | Found by Kevin Lyda <kevin@ie.suberic.net>.
* [mdoc] Add some library strings.wl2011-09-112-0/+6
| | | | | * tmac/doc-syms: Add `libdwarf' and `libelf'. * tmac/groff_mdoc.man: Document them.
* Add new output device `gropdf'.wl2011-07-263-1/+741
| | | | | | | | | | | | | | | | | | | | | | | | | | | * font/devpdf/*: New device files for gropdf. * src/devices/gropdf/*: New device. * Makefile.comm (install_dev, uninstall_dev): Handle more subdirectories. * Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Add directories related to gropdf. * MANIFEST: Updated. * test-groff.in (GROFF_BIN_PATH): Updated. * tmac/Makefile.sub (NORMALFILES): Updated. * tmac/pdf.tmac: New file. * tmac/troffrc: Updated. * doc/groff.texinfo: Document it. * doc/Makefile.in, doc/Makefile.sub (groff_bin_dirs): Udpated. * doc/pic.ms: Updated. * man/groff_out.man, src/devices/grops/grops.man, src/preproc/pic/pic.man, src/roff/groff/groff.man, src/utils/afmtodit/afmtodit.man, src/utils/pfbtops/pfbtops.man: Updated. * contrib/pdfmark/pdfmark.ms: Updated.
* Improve line numbering support in tbl and with me macros.wl2011-07-201-14/+106
| | | | | | | | | | | | | | | | | * tmac/e.tmac (n1, n2, TH, PS): Implement it. (@h, @n, @o, @t, @k, )b, (c, (q, )q, (l, )l, (f, @q, PE): Updated. * doc/meref.me: Document changes. * src/preproc/tbl/table.cpp (ROW_START_LINE_REG, ROW_SAVE_LINE_REG, ROW_MAX_LINE_REG, REPEATED_NM_SET_MACRO, REPEATED_NM_SUS_MACRO): New macros. (table::init_output): Define REPEATED_NM_SET_MACRO and REPEATED_NM_SUS_MACRO. (table::print_single_hline, table::print_double_hline, table::define_bottom_macro, table::do_row, table::do_top, table::do_bottom): Updated. * doc/webpage.ms: Updated.
* mdoc: Update more OS versions strings.wl2011-07-031-0/+12
| | | | | * tmac/doc-common: Add versions strings for NetBSD, OpenBSD, FreeBSD, and DragonFly.
* mdoc: Update various strings related to Mac OS X and FreeBSD.wl2011-04-082-0/+14
| | | | | * tmac/doc-common: Add strings for FreeBSD 8.2 and Darwin 9.7-11.0. * tmac/doc-syms: Add strings -lbsm and -lSystem.
* Add another POSIX standard.wl2011-03-301-0/+2
| | | | * tmac/doc-syms: Add POSIX 1003.1b.
* [mdoc] Within .An, .Aq, .Ao, and .Ac now use `<' and `>'.wl2011-03-041-4/+16
| | | | | | | Problem reported by Ulrich Spörlein <uqs@spoerlein.net> * tmac/doc.tmac (Aq, Ao, Ac): Implement it to follow RFC 822 and RFC 2822.
* Handle `refer*.tmac'.wl2011-01-282-108/+2
| | | | | * tmac/Makefile.sub (NORMALFILES): Add `refer*.tmac'. * tmac/refer-mm.tmac: Moved to contrib/mm.
* Add `refer' support to -me.wl2011-01-286-262/+636
| | | | | | | | | | | | | * tmac/refer.tmac, tmac/refer-me.tmac, tmac/refer-ms.tmac, tmac/refer-mm.tmac: New files. The code in refer.tmac is based on the old code from `s.tmac'. * tmac/s.tmac: Remove direct refer support and include `refer-ms.tmac' instead. * tmac/e.tmac: Remove direct refer support and include `refer-me.tmac' instead. * NEWS: Updated.
* Documentation typos.wl2011-01-211-2/+2
|
* Improve CJK support with new values for `.cflags'.wl2010-12-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces three new values to `.cflags': don't break before character: 128 don't break after character: 256 allow inter-character break: 512 They are handled differently if compared to other cflags values: (1) hcode values are completely ignored (2) similar to kern values, and contrary to the other cflags values, troff looks at pairs of characters to decide whether a break gets inserted A yet-to-be-written patch should add inter-character spacing if those flags are active; currently, only zero-width breakpoints are inserted. * src/roff/troff/charinfo.h (charinfo): Change type of `flags' to `int'. Update callers accordingly. New enum values `DONT_BREAK_BEFORE', `DONT_BREAK_AFTER', and `INTER_CHAR_SPACE'. New member functions `prohibit_break_before', `prohibit_break_after', and `inter_char_space'. * src/roff/troff/input.cpp: Updated. * src/roff/troff/node.cpp (inter_char_space_node): New class similar to kern_pair_node, collecting charinfo entities with the abovementioned cflags values. (break_char_type): Add new enum values. (glyph_node::merge_glyph_node): Handle abovementioned cflags values and emit an `inter_char_space_node' if necessary. * tmac/ja.tmac: Use new cflags values. * doc/groff.texinfo, NEWS, man/groff_diff.man: Document new values.
* Add Japanese localization.wl2010-12-132-2/+53
| | | | | | | Remove trailing spaces. * tmac/ja.tmac: New file. * tmac/Makefile.sub (NORMALFILES): Updated.
* [mdoc]: Complete previous patch and document OpenBSD releases.wl2010-11-022-3/+60
| | | | | | | | | | | | | * tmac/doc-common (doc-operating-system-NetBSD): Add versions 5.0, 5.0.1, and 5.0.2. (doc-operating-system-OpenBSD-*): New strings. (doc-operating-system-FreeBSD-*): Add version 8.1. (doc-operating-system-DragonFly-*): Add versions 2.2, 2.4, 2.6, and 2.8. (Os): Handle DragonFly and OpenBSD. * tmac/groff_mdoc.man: Document OpenBSD releases. Add DragonFly release 2.8.
* [mdoc]: Improve man page.wl2010-11-021-12/+14
| | | | | | * tmac/groff_tmac.man: Fix prologue macro order. Update NetBSD, FreeBSD, and DragonflyBSD version numbers. Other minor layout improvements.
* mdoc: Improve documentation for `.Nm'.wl2010-06-041-1/+6
| | | | From Krzysztof Zelechowski <giecrilj@stegny.2a.pl>
* s/legalize/legalese/ where appropriate.wl2010-06-022-3/+3
| | | | Suggested by Krzysztof Zelechowski <giecrilj@stegny.2a.pl>.
* * tmac/groff_ms.man: Document \n[DD] register.wl2010-03-101-1/+3
| | | | Problem reported by Ted.
* Add new FreeBSD and Posix versions.wl2010-02-243-2/+9
| | | | | | * tmac/doc-common: Add FreeBSD versions 7.2, 7.3, and 8.0 * tmac/doc-syms: Add Posix 2008 * tmac/groff_mdoc.man: Document it.
* * tmac/www.tmac (www-li-ol): Fix indentation if more than 10 items.wl2010-02-081-2/+2
|
* Fix `MC' macro of the ms package.wl2010-01-231-2/+2
| | | | | | | | | | | | | | | | | | | * tmac/s.tmac (@MC): Define `pg*col-top' after the paragraph has been initialized. Otherwise, using this example, .nh .nf .kern 0 .pl 6c .ll 70n .MC 30n Text for multiple columns. Text for multiple columns. Text for multiple columns. Text for multiple columns. Text for multiple columns. the columns start at different vertical positions.
* * tmac/www.tmac (www-li-{ul,ol,dl}): Handle `PORPHANS' register.wl2010-01-231-1/+7
|
* * tmac/doc-common (Dx): Define register.wl2009-10-261-0/+1
|
* Implement `%U' in mdoc for URL references.wl2009-10-263-1/+75
| | | | | | | | | | | | * tmac/doc-common (%U): New register. (Rd): Handle `doc-url-count' and `doc-url-name'. * tmac/doc.tmac (doc-url-count, doc-url-name): New registers. (doc-save-global-vars, doc-restore-global-vars, doc-reset-reference, doc-print-reference): Handle `doc-url-count' and `doc-url-name'. (%U): New macro. * NEWS, tmac/groff_mdoc.man: Document `%U' macro.
* Minor wording improvement.wl2009-10-111-1/+2
|
* * tmac/hyphen.fr: Fix typo which prevents hyphenation.wl2009-07-291-2/+2
| | | | Reported by Seb <sbb@tuxfamily.org>.
* Fix two typos.wl2009-07-221-1/+1
| | | | From Colin.
* * tmac/doc.tmac: Call `ec' before mapping characters.wl2009-04-011-3/+3
|
* * */Makefile.* (CLEANADD, CLEANNOTSRCDIRADD, CLEANDIRADD): Renamedgroff-1_20_1wl2009-01-081-1/+1
| | | | | to... (MOSTLYCLEANADD, MOSTLYCLEANNOTSRCDIRADD, MOSTLYCLEANDIRADD): This.
* Update FDL 1.1 to FDL 1.3.wl2009-01-051-1/+1
|
* Update copyright year.wl2009-01-0516-17/+19
|
* * tmac/s.tmac (@TS, TE, @EQ, @EN), tmac/an-old.tmac (TS, TE, EQ,wl2009-01-054-2/+41
| | | | | EN), tmac/e.tmac (TS, TE, EQ, EN): Set line length to a large value if processed with -Thtml.
* * tmac/www.tmac (TS, TE, EQ, EN): Set line length to a large valuewl2009-01-041-4/+16
| | | | | if processed with -Thtml to avoid warning messages (from code inserted by tbl, for example).
* * */*: Update GPL2 to GPL3.wl2009-01-0416-76/+59
|
* * tmac/de.tmac: Fix German date string. Reported by Axel Kielhorn.wl2009-01-041-4/+4
|
* * tmac/groff_ms.man: Improve formatting of tables.wl2009-01-031-58/+34
|
* * tmac/www.tmac (www->): Handle XHTML.wl2009-01-021-5/+9
| | | | | (HTML</p>): Handle non-HTML devices. (www:url_check_tag): Avoid warnings.
* * tmac/an-old.tmac, tmac/doc.tmac: For -Tutf8, map \-, -, ', and `wl2009-01-022-1/+26
| | | | conservatively to ASCII for the sake of easy cut and paste.
* * tmac/groff_mdoc.man: Update OS version string listing.wl2009-01-021-2/+2
|
* * tmac/ptx.tmac: New file.wl2009-01-021-0/+40
| | | | * NEWS, man/groff_tmac: man: Document it.
* Formatting.wl2009-01-021-38/+62
| | | | Minor typos and simplifications.
* Fix more quoting issues.wl2008-12-301-16/+17
| | | | | | * tmac/www.tmac (BCL, BGIMG, PIMG, MPIMG, LNS): For the sake of XHTML, quote more arguments. (IMG): Fix quoting.
* Fix quoting issues in www.tmac.wl2008-12-301-58/+63
| | | | | | | | | | | | | | | | * tmac/www.tmac (www:url_breaks_splitted): Renamed to... (www:url_breaks_split): This. (www->): New string to close tag singletons like <img> or <hr>. In XHTML mode (not implemented yet), this has to be changed from `>' to `/>'. (IMG): Don't use </img> Use www->. (PIMG, MPIMG): Don't use </img> Use www->. Fix doublequote issues. (HR): Don't use </hr>. Use www->. (LNS): Fix doublequote issues.
* * tmac/doc-common: Add entries for Mac OS X and FreeBSD.wl2008-12-241-1/+4
|