summaryrefslogtreecommitdiff
path: root/man
Commit message (Collapse)AuthorAgeFilesLines
* Update FDL 1.1 to FDL 1.3.wl2009-01-057-20/+21
|
* Update copyright year.wl2009-01-057-7/+11
|
* * tmac/ptx.tmac: New file.wl2009-01-021-2/+14
| | | | * NEWS, man/groff_tmac: man: Document it.
* * man/roff.man, doc/groff.texinfo: Improve the history part. Thiswl2008-10-101-152/+77
| | | | | | | | | | is based on input from Tom Van Vleck <thvv@multicians.org>. * src/preproc/eqn/sqrt.cpp (sqrt_box::compute_metrics): Assure that value of `rst' register is not zero, as can happen for the HTML output device. Otherwise, there are too many loops, and we get a stack overflow because of recursion.
* * tmac/andoc.tmac: Rewritten, based on a preliminary version fromwl2008-10-041-0/+20
| | | | | | | | 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/trace.tmac (so, mso): Added.wl2008-03-241-4/+10
| | | | | | | | | | | * 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-194-250/+268
| | | | | | | | | | 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.
* * src/libs/libgroff/font.cpp (font::contains, font::get_code):wl2008-01-161-0/+13
| | | | | | | | Handle single-letter names correctly. * doc/groff.texinfo, man/groff_diff.man: Extend documentation of \^ and \|. * NEWS: Updated.
* * man/groff.man: Mention glyph and characters.wl2008-01-153-34/+53
| | | | | | | Minor other updates. * man/groff_char.man: Minor updates. * man/groff_diff.man: Better clarification between characters and glyphs.
* * man/groff_char.man, man/groff.man: Revised.wl2008-01-052-247/+241
| | | | * src/preproc/eqn/lex.cpp (troff_defs): Fix typo.
* * */*: s/Osanna/Ossanna/.wl2008-01-047-288/+351
| | | | | | | | | | | * */*.man: Replace .URL with .UR/.UE (except in groff_www.tmac). Replace .MTO with .MT/.ME (except in groff_www.tmac). Insert `\:' in URLs where appropriate. Don't include www.tmac (except in groff_www.tmac). * man/groff.man (.ESC[]): Fix font of closing bracket. (.ESCq): Fix font of closing quote character. Many other improvements.
* * tmac/cs.tmac: New file holding Czech strings, contributed bywl2007-10-301-2/+15
| | | | | | | | | 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.
* * man/groff.man: Fix URL of CSTR 54.wl2007-09-232-21/+21
| | | | | | | * man/groff_char.man: Normalize character set names as defined by IANA. Based on a patch from Axel Kielhorn. * src/preproc/refer/label.y: Undo change from 2007-09-19.
* * doc/groff.texinfo: Document new .O register and add crosswl2007-09-191-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * man/groff.man: Document `\_'.wl2007-09-151-3/+9
| | | | | | * doc/groff.texinfo: Ditto. Remove references to `\@' which isn't a valid escape sequence in groff.
* Typo fix.esr2007-02-191-1/+1
|
* * tmac/groff.man: This page is now viewer-portable.esr2007-02-191-4/+4
|
* Eliminate use of .eo/.ec.esr2007-02-191-111/+90
|
* Second step towards eliminating use of .eo/.ec.esr2007-02-191-27/+17
|
* * tmac/groff.man: Fix some minor rendering bugs that don'tesr2007-02-191-4/+4
| | | | | show up readily under eyeball inspection but do when the formatted new version is diffed against an old one.
* * tmac/groff.man: Surround args 2 through N of each .REQ macroesr2007-02-191-175/+175
| | | | | with quotes. This will enable us not to rely on the shift request, which is nonportable.
* * tmac/groff.man: First step towards eliminating use of .eo/.ec.esr2007-02-191-119/+368
|
* * tmac/groff.man: Get rid of the big, ugly, and totallyesr2007-02-191-73/+227
| | | | nonportable ExecFF macro. The code is simpler without it.
* * man/groff.man: Remove some unneeded code and a no-longer-usedesr2007-02-161-14/+0
| | | | inclusion of the www macros.
* s/concise/comprehensive/wl2007-02-101-4/+4
|
* formatting, typoswl2007-02-081-19/+19
|
* * man/groff_out.man (offset): Make it work reliably.wl2007-02-081-4/+4
|
* typos, simplificationswl2007-02-081-55/+55
|
* Simplify some font changes so \fP is less likely to do something surprising.esr2007-02-081-1/+1
|
* We can simplify the command macros still further if we stop trying toesr2007-02-071-23/+64
| | | | | | hide structural requesrs inside them. Also, fix some instances of \} at start of line without a dot, and make some font changes explicit in strings.
* Cleanup -- remove now-unneeded uses of .do and cp.esr2007-02-071-21/+13
|
* Final step: reduce x-command, get rid of eo/ec calls and fix macros toesr2007-02-071-24/+15
| | | | do without them. File should now be viewer-portable.
* Eliminate use of eqn in favor of micromotions that produce the sameesr2007-02-071-18/+10
| | | | visual result and can be lifted to XML-DocBook.
* Third step: reduce Da-comand, fix a call-sequence bug in the original.esr2007-02-071-9/+3
|
* Reduce D-commmand and D-command+, move font-change escapes to portable form.esr2007-02-071-31/+15
|
* First step in macro simplification; eliminate list1..n, simplifyesr2007-02-071-55/+8
| | | | | .offset and .index_offset so they no longer require groff-specific features or eqn (instead, use troff micromotions for subscripting).
* Change .UR/.UE and .MT/.ME so the start macro no longer takesesr2007-02-066-62/+62
| | | | | 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.
* Unnecessary macros removed.esr2007-02-051-181/+135
|
* Chisel away another layer of macrology.esr2007-02-051-5/+2
|
* Get rid of .unit and .argument macros. Besides being portabilityesr2007-02-051-73/+63
| | | | | | problems, these were obscuring a bug -- the argument substution with $@ rather than $* meant the trailing punctuation would get set in the wrong font.
* Remove a now-unecessaey .mso.esr2007-02-041-2/+3
|
* Got rid of ShellCommand, also incidentally fixing a bug -- typeesr2007-02-041-37/+27
| | | | | conventions for shell command lines were not matching those used for following output.
* Use TQ rather than TP, remove more unecessary code, remove a Germanism.esr2007-02-041-19/+3
|
* Adapt to use new WWW macros, remove unneeded preamble declarations.esr2007-02-041-6/+15
|
* Fix some Germanisms and one macro-escape typo.esr2007-02-041-17/+16
|
* With the macrology gone, reorganize so it's readable but apropos isesr2007-02-041-17/+4
| | | | still happy.
* Get rid of the rest of the groff-dependent macrology. File should nowesr2007-02-041-72/+35
| | | | be viewer-portable.
* Explicit is better than implicit. Get rid of another macro thatesr2007-02-041-33/+16
| | | | obscured what was actually going on.
* .eo isn't used, so there is little point in the .c macro. Remove it.esr2007-02-041-12/+8
|
* Get rid of some more macrology in favor of code that is explicit aboutesr2007-02-041-57/+15
| | | | what it's doing.