summaryrefslogtreecommitdiff
path: root/tmac/e.tmac
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bunch of typos.wl2013-02-011-2/+2
| | | | From Gilles Espinasse <g.esp@free.fr>.
* * 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
* [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.
* Fix typos.wl2011-10-081-1/+1
| | | | Found by Kevin Lyda <kevin@ie.suberic.net>.
* 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.
* Add `refer' support to -me.wl2011-01-281-111/+1
| | | | | | | | | | | | | * 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.
* * tmac/s.tmac (@TS, TE, @EQ, @EN), tmac/an-old.tmac (TS, TE, EQ,wl2009-01-051-0/+14
| | | | | EN), tmac/e.tmac (TS, TE, EQ, EN): Set line length to a large value if processed with -Thtml.
* 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.
* Typo.wlemb2003-06-161-0/+1
|
* * tmac/e.tmac (@C): Handle .ad also.wlemb2003-06-161-0/+2
|
* * doc/Makefile (clean): Add *.eps.wlemb2002-02-171-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (MEMACROS): Removed. (TFLAG): New variable. (TROFF): Use it. Add -ww. (GROFF): Use TFLAG, FFLAG, -U, -p, -e, -t, and -ww. (.me.dit): Fixed. (.ms.html, .ms.ascii, .ms.ps, homepage.html): Simplify. * tmac/www.tmac: Use dummy diversion while resetting and disabling `.tl'. * tmac/e.tmac: Inserted some more `\"' to remove warnings if used unstripped. * src/roff/troff/troff.man: Fix order of parameter description. * NEWS: Updated. Simplify image handling for grohtml. Fix <p> bug. * src/devices/grohtml/html-text.cc (DEBUGGING): Don't undefine but comment out. (html_text::dump_stack): Don't emit newline while debugging. (html_text::do_push) [DEBUGGING]: Print more info. (html_text::check_emit_text): Fix handling of <p>. * src/devices/grohtml/html.h: Updated. * src/devices/grohtml/output.cc (FPUTC, FPUTS, PUTC): New macros, replacing `fputc', `fputs', `putc'. If DEBUGGING is defined, they send its data to stderr also. Update all callers. (simple_output::space_or_newline) [DEBUGGING]: Removed. * src/devices/grohtml/post-html.cc (html_printer::do_links, html_printer::html_printer): Remove `DEBUGGING' conditionals. * src/include/html-strings.h (HTML_IMAGE_{CENTERED,LEFT,RIGHT,END}): Removed. * src/libs/libgroff/htmlhint.cc (is_in_graphic_start, is_inline_image): Removed. (html_begin_suppress, html_end_suppress): Don't take a parameter. (graphic_start, graphic_end): Removed. * src/include/htmlindicate.h: Updated. * src/preproc/html/pre-html.cc (DEBUG_HTML): Removed. (macroset_template): New global variable. (makeFileName): Use `macroset_template'. (write_end_image): Don't take a parameter. Don't emit newline. (write_start_image: Don't emit newline. (char_buffer::write_upto_newline): Updated. (char_buffer::skip_to_newline): Renamed to ... (char_buffer::skip_until_newline): This. Fix code. (char_buffer::write_file_troff, char_buffer::write_file_html): Simplified. (createAllPages, createImage) [DEBUGGING]: Handle `debug' flag. (removeAllPages): Remove `DEBUGGING' conditionals. (addRegDef, dump_args): New functions. (char_buffer::do_html, char_buffer::do_image): Handle `www-image-template' command line variable. Add more debugging code. (addps4html): Removed. (removeTempFiles) [DEBUGGING]: Handle `debug' flag. * src/preproc/eqn/main.cc: Include `ctype.h'. (suppress_html): Removed. (do_file): Updated. (inline_equation): Use `html_begin_suppress' and `html_end_suppress'. * src/preproc/pic/troff.cc: Don't include `htmlindicate.h'. (troff_output::start_picture, troff_output::finish_picture): Updated. * src/preproc/tbl/main.cc: Don't include `htmlindicate.h'. (process_input_file): Updated. * src/roff/troff/div.cc (page_number): Set page number only if the `ps4html' register isn't defined. * src/roff/troff/input.cc (image_no): New external variable. (do_suppress): Use it. * src/roff/troff/node.h (suppress_node::image_id): New member. * src/roff/troff/node.cc (image_no): Remove `static' keyword. (suppress_node::suppress_node): Initialize `image_id' member. (suppress_node::same): Handle `image_id' also. (suppress_node::copy): Updated. (last_image_id): New global variable. (suppress_node::tprint): Use it. * tmac/an-old.tmac (TS, TE, EQ, EN): Use HTML-IMAGE and HTML-IMAGE-END. * tmac/pspic.mac (PSPIC): Fix html support. * tmac/s.tmac (@EQ, @EN, @TS, TE, PS, PE): Ditto. * tmac/www.tmac (www-image-template): Set up. (HTMLINDEX): Renamed to... (HX): This. (BODYCOLOR): Renamed to... (BCL): This. (BACKGROUND): Renamed to... (BGIMG): This. (URL): Change order of parameters for consistency. (MAILTO): Renamed to... (MTO): This. (IMAGE, PNG-IMAGE, MARGIN-PNG-IMAGE): Renamed to... (IMG, PIMG, MPIMG): This. (HTML-H-BEGIN, HTML-H-END): Renamed to... (HnS, HnE): This. (LINKS): Renamed to... (LK): This. (LINE): Renamed to... (HR): This. (NO-AUTO-RULE): Renamed to... (NHR): This. (HTML-TL): Renamed to... (HTL): This. (UL-BEGIN, UL-END): Renamed to... (ULS, ULE): This. (DROPCAP): Renamed to... (DC): This. (TS, TE, EQ, EN): Provide default definitions. (www-make-unique-name): Updated. (HTML-IMAGE-INLINE): Fix typo. * tmac/groff_www.man: Updated. * doc/Makefile (homepage.html): Add option -r to grohtml. Use shortened image name. * doc/groff.texinfo: Updated info on grohtml strings and macros. * doc/homepage.ms: Updated and extended.
* Illegal -> Invalid.wlemb2002-02-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/libs/libgroff/illegal.cc: Renamed to ... * src/libs/libgroff/invalid.cc: This. (illegal_char_table): Renamed to ... (invalid_char_table): This. * src/libs/libgroff/Makefile.sub: Updated. * win32-diffs: Updated. * doc/groff.texinfo, src/devices/grops/psrm.cc (ps_get_line), src/libs/libdriver/input.cc (fatal_command, parse_color_command, parse_x_command), src/libs/libgroff/font.cc (text_file::next, font::load), src/preproc/eqn/main.cc (read_line, main), src/preproc/eqn/lex.cc (file_input::read_line), src/preproc/pic/lex.cc (file_input::read_line, simple_file_input::get, simple_file_input::peek), src/preproc/pic/main.cc (top_input::get, top_input::peek), src/preproc/pic/pic.man, src/preproc/refer/main.cc (input_stack::push_file), src/preproc/refer/refer.cc (do_file, do_bib), src/preproc/tbl/main.cc (table_input::get), src/preproc/grn/grn.man, src/preproc/grn/main.cc (interpret), src/roff/troff/input.cc (file_iterator::fill, file_iterator::peek, do_zero_width, read_request, encode_char, ps_get_line, transparent_file, get_char_for_escape_name, transparent_translate, asciify, input_char_description, read_string, set_string), src/roff/troff/env.cc (environment::add_html_tag), src/roff/troff/troff.man, tmac/e.tmac (`@(', `(f'): Do it. * src/include/lib.h: Updated. * src/preproc/eqn/eqn.cc: Removed. * doc/gnu.xpm: New image. * doc/Makefile (DOCS): Add homepage.ps Add rules for converting xpm->png and xpm->eps. Use `gnu.{xpm,eps}' as image names. * doc/homepage.ms: Updated.
* * src/preproc/eqn/Makefile.sub (MAN1): Added neqn.man.wlemb2000-12-131-1/+3
| | | | | | | | | | | | | | | | | * src/preproc/eqn/neqn.man: Small fixes and additions. * src/utils/addftinfo/addftinfo.man, src/devices/grops/grops.man: Fixing typo. * src/preproc/eqn/neqn.man: New file. * src/preproc/tbl/table.cc (table::print): Fix `indent cannot be negative' warning. * tmac/e.tmac: Add `.T&' macro. Fix `indent cannot be negative' warning. * tmac/s.tmac: Fix `indent cannot be negative' warning.
* Convert macros `tmac.XXX' to `XXX.tmac'. Special cases:wlemb2000-10-261-0/+1661
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).