summaryrefslogtreecommitdiff
path: root/tmac
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
|
* * tmac/doc-common (Dt): Start a new page if necessary and set upwl2008-11-053-2/+7
| | | | | | | | | headers. * tmac/andoc.tmac (reload-doc): Simplify due to change in doc-common. * NEWS: Document it.
* * tmac/doc-common (doc-operating-system-*), tmac/groff_mdoc.man: Addwl2008-10-162-4/+7
| | | | NetBSD 4.0.1.
* * tmac/andoc.tmac: Rewritten, based on a preliminary version fromwl2008-10-044-13/+80
| | | | | | | | 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 (doc-operating-system-*): Update releases.wl2008-10-041-13/+37
|
* * tmac/www.tmac (TS, TE, EQ, EN): Don't use .als for setting upwl2008-10-041-4/+24
| | | | default macros. This causes endless loops (at least for TE).
* * src/roff/troff/input.cpp (do_suppress): Make \O[3], \O[4], andwl2008-10-041-1/+1
| | | | | \O[5] non-transparent w.r.t. beginning-of-line recognition (similar to the other \O variants).
* * tmac/trace.tmac: Much improved.wl2008-10-012-226/+228
| | | | | | | | | | | | | (trace-full): New register to be set on the command line; it controls whether number and string register assignments get traced also. (!!c): New macro for comments. (rm): New traced macro. (de, de1, am, am1): Use \\[xxx]\\ calling method to pass \$0 to `!!xxx'; this makes doc.tmac completely traceable. Trace call of .de and friends also. * tmac/groff_tmac.man, NEWS: Update.
* typowl2008-09-281-1/+1
|
* Formatting.wl2008-09-281-1/+1
|
* Don't use `.de1' for `.rn' and `.nr'.wl2008-09-261-11/+11
|
* * tmac/trace.tmac: Add copyright message.wl2008-09-261-110/+229
| | | | | | | Use `.de1' where possible to make source code more readable. (so, mso, als, rn): Restore escape character before executing the request. (de, de1, am, am1): Trace `.foo' also if called as `\\[foo]'.
* * tmac/an-old.tmac (FT): Initialize properly. Reported by Tadziuwl2008-09-091-2/+3
| | | | Hoffmann.
* * tmac/doc-common (Dd, Os, Dt): Reset `doc-command-name' to makewl2008-09-062-1/+10
| | | | `.Nm' work properly if next manual page is printed.
* * tmac/eqnrc (.EQ, .EN): Provide default definitions. Reportedwl2008-07-262-10/+13
| | | | | | by Denis M. Wilson. * tmac/www.tmac (.EQ, .EN, .TS, .TE): Fix definitions.
* Add better support for `.TAG #<label>' in non-HTML documents:wl2008-04-051-4/+31
| | | | | | | | | | | | In case of a forward reference in a call to .URL, write `(see below)'. In case of a backwards reference use the page number instead. The reference gets stored in a string `TAG_<label>' and can be overridden while calling `.TAG' with its new optional argument -- this is useful for a second-pass system which resolves forward references. * tmac/www.tmac (www:url_check_tag): New function. (URL): Use it. (TAG): Add optional argument to define string `TAG_<label>.
* * tmac/trace.tmac (so, mso): Added.wl2008-03-243-3/+33
| | | | | | | | | | | * tmac/www.tmac (PIMG): Replace `.ie' (without `.el') with `.if'. If used with -mtrace, and this clause was active, the macro was executed twice. * tmac/pspic.tmac (PSPIC): Accept option `-C' for orthogonality. This makes `.PIMG -C <file>' (from www.tmac) work on non-HTML devices. * man/groff_tmac.man: Document it.
* * src/preproc/html/pre-html.cpp (usage): Don't describe options butwl2008-01-193-9/+26
| | | | | | | | | | mention that it should never be called stand-alone. * tmac/groff_www.man, doc/groff.texinfo, man/groff_font.man, man/groff_tmac.man, man/groff_out.man, README, README.MinGW, src/roff/groff/groff.man: Mention -Txhtml. * man/groff_font.man, man/groff_tmac.man, man/roff.man: Revised.
* * tmac/ec.tmac: Add CM fonts to the .fspecial lines; those fontswl2007-12-291-10/+10
| | | | contain additional glyphs (like some uppercase Greek letters).
* * NEWS: Updated.wl2007-12-061-3/+3
| | | | | | | | * src/roff/nroff/nroff.sh: Add options -w and -W. * src/roff/nroff/nroff.man: Document them. * tmac/hyphenex.pl: Update header output.
* * tmac/hyphenex.pl: Generate copyright notice (this has beenwl2007-11-162-1/+7
| | | | | approved By Barbara Beeton). * tmac/hyphenex.us: Updated.
* * tmac/doc-syms (doc-str-St--susv3): New string.wl2007-11-112-0/+4
| | | | * tmac/groff_mdoc.man: Document it.
* Typowl2007-10-301-1/+1
|
* * tmac/cs.tmac: New file holding Czech strings, contributed bywl2007-10-304-1/+3864
| | | | | | | | | Marcela Maslanova <mmaslano@redhat.com>. * tmac/hyphen.cs, tmac/hyphenex.cs: New hyphenation pattern files for Czech, taken from CTAN. * LICENSES: Updated. * tmac/Makefile (NORMALFILES): Add Czech stuff. * doc/groff_tmac.man: Mention cs.tmac.
* Move comment lines to make it work without stripping. Suggested by Gunnarwl2007-10-201-10/+10
| | | | Ritter.
* * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, documentwl2007-10-023-5/+6
| | | | | | FreeBSD 5.5 and 7.0. * tmac/doc-syms: Give better names for System V releases.
* * doc/groff.texinfo: Document new .O register and add crosswl2007-09-193-75/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reference entries. * NEWS: Updated. * src/devices/grohtml/grohtml.man: Document new -V and -y options. * src/devices/grohtml/html-table.cpp: Add support for XHTML 1.1. (html_table:: emit_colspan, html_table::emit_td): New methods. (html_table::emit_col): Use html_table::emit_td. (html_table::emit_table_header): Use html_table::emit_colspan if dialect xhtml is specified. (html_table::finish_row): Updated. * src/devices/grohtml/html-table.h (html_table): Declare emit_colspan, emit_td. * src/devices/grohtml/html-text.cpp: Modified tags to comply with xhtml if this dialect was requested. * src/devices/grohtml/html-text.h (html_dialect): New enumeration. (html_text): Add new variable `dialect'. * src/devices/grohtml/post-html.cpp: Modify header tags to be XHTML compliant. (valid_flag, groff_sig, dialect): New global variables. (html_printer::handle_valid_flag, html_printer::do_math, html_printer::write_html_anchor, html_printer::write_xhtml_anchor, html_printer::do_math, html_printer::handle_valid_flag): New methods. (html_printer::emit_line, html_printer::emit_raw, html_printer::do_check_center, html_printer::write_title, write_rule, html_printer::writeHeadMetaStyle, generate_img_src, html_printer::begin_page): Altered to be XHTML compliant. (html_printer::write_header): Updated. (html_printer::troff_tag): Call do_math. (html_printer::insert_split_file, html_printer::do_file_components, html_printer::write_navigation): Create XHTML file components if necessary and also produces a groff signature if requested. (~html_printer): Call writeHeadMetaStyle at appropriate places depending upon html_dialect. (html_printer::special): Handle new tags `html<?p>' and `math<?p>'. (main): Added options -x, -V, and -y. (usage): Updated. * src/preproc/eqn/box.cpp: Create a distinction between the MathML device and the XHTML device. (do_text): Issue a newline at the end of the equation if XHTML was specified. (box::top_level): Prefix the output of an equation by the .MATHML macro. (output_string): Suppress \n if XHTML was specified. * src/preproc/eqn/main.cpp (xhtml): New global flag. (inline_equation): Skip leading spaces after inline equation for XHTML device. (main): Set `xhtml' flag if `-Tmathml:xhtml' is specified. * src/preproc/eqn/eqn.h (xhtml): New external flag. * src/preproc/eqn/text.cpp (entity_table): Fix typo. * src/preproc/html/pre-html.cpp (html_dialect): New enumeration. (dialect, eqn_flag): New global variables. (html_system): Improve debugging support. (alterDeviceTo): Test for -Txhtml when altering device to the image device and reset to -Txhtml. (addZ): Renamed to... (addArg): This. Introducea a general parameter. (print_args): New debugging function. (char_buffer::run_output_filter): Use print_args and addArg rather than addZ. (char_buffer::do_html, char_buffer::do_image): Add -rxhtml=1 command line parameter as an argument to the html generation of text when xhtml is needed. Include -e on the command line if mathml is required. (scanArguments): Allow -e, -V, -y and -x options. -V, -y are handled by the back end. -e sets `eqn_flag'. -x determines HTML dialect. * src/roff/groff/groff.cpp (possible_command): New method `clear_name'. (main): Set eflag if -e is present on command line. Set is_xhtml if -Txhtml is present. Pass `-x x' to the HTML pre and post processors. Pass `-e' to the HTML pre processor if required. Pass `-Tmathml:xhtml' to eqn if XHTML is requested. * src/roff/troff/input.cpp (init_input_requests): Introduce new number register `\n[.O]'. * tmac/s.tmac: (LP): Use .nop for semantic sugar. (cov*ab-init) reformat. (@EQ): Use EQN-HTML-IMAGE and friends rather than HTML-IMAGE. (CHECK-FOOTER-AND-KEEP): Define FS, FE such that they use <cite></cite> for the html device rather than generate images for footnotes. * tmac/troffrc-end: Define EQN-HTML-IMAGE, EQN-HTML-IMAGE-END, EQN-HTML-IMAGE-RIGHT, EQN-HTML-IMAGE-LEFT, EQN-HTML-IMAGE-INLINE, EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END as null strings. * tmac/www.tmac: (HTML<?p>): New macro. (MATH<?p>): New macro. (IMG, PIMG, MPIMG, HR): Use XHTML compliant syntax. (www-emit-ltag): New macro. (www-push-li): Updated. (ULS): Ensure that tags are balanced in order by use of www-emit-ltag. (ULE): Likewise: Use www-emit-ltag and shut down paragraphs in order. (OLS, OLE, DLS, DLE): Ditto. <global>: Define EQ and EN to EQN-HTML-IMAGE and EQN-HTML-IMAGE-END respectively. (www-li-ul, www-li-ol, www-li-dl): Updated. (EQN-HTML-IMAGE, EQN-HTML-IMAGE-RIGHT, EQN-HTML-IMAGE-LEFT, EQN-HTML-IMAGE-INLINE, EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END, MATHML): New macros.
* * tmac/unicode.tmac: Add ` and '.wl2007-09-152-0/+4
| | | | * tmac/html.tmac: Load unicode.tmac.