summaryrefslogtreecommitdiff
path: root/man
Commit message (Collapse)AuthorAgeFilesLines
* * man/groff_font.man: Typographical improvements and typos.wl2012-12-273-33/+33
| | | | Copyright years.
* * man/ditroff.man: Typographical improvements and typos.wl2012-12-271-6/+4
|
* * man/groff_diff.man: Typographical improvements and typos.wl2012-12-181-18/+17
|
* * man/groff_char.man: Typographical improvements.wl2012-12-161-12/+12
|
* * man/groff.man: Typographical improvements (and one typo).wl2012-12-161-21/+21
|
* Improve documentation of `\.'.wl2012-12-031-10/+7
|
* Provide proper Unicode mapping from and to dotless j.wl2012-08-101-3/+2
| | | | | * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list), src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Add it.
* Add Unicode code point for dotless j.esr2012-08-081-1/+1
|
* In tables, eliminate spaces before tab stops. Set a tab width of 20 in Emacs.esr2012-08-081-245/+246
|
* * man/groff_char.man: Clean-ups.wl2012-08-081-22/+23
|
* Clue in TBL.esr2012-08-081-0/+1
|
* Un-hardwire some section references.esr2012-08-081-4/+4
|
* Add inadvertently omitted header cookies.esr2012-08-081-1/+1
|
* Rip out all the hideous macrology in this thing and use real TBLesr2012-08-081-854/+639
| | | | | tables instead. This makes structural translation to XML via doclifter possible.
* groff.man: Fix typo.wl2012-05-121-4/+4
| | | | From Bjarni Ingi Gislason <bjarniig@rhi.hi.is>.
* Fix typos.wl2011-10-081-1/+1
| | | | Found by Kevin Lyda <kevin@ie.suberic.net>.
* Add new output device `gropdf'.wl2011-07-261-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Documentation typos.wl2011-01-211-2/+2
|
* Improve CJK support with new values for `.cflags'.wl2010-12-181-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Implement support for character classes.wl2010-12-132-21/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch uses standard C++ headers, contrary to the rest of groff. Ideally, everything in groff should be updated to do the same. * src/include/font.h (glyph_to_unicode): New function. * src/libs/libgroff/font.cpp (glyph_to_unicode): Implement it. (font::contains, font::get_code): Use it. * src/roff/troff/charinfo.h: Include <vector> and <utility>. (charinfo): New members `ranges' and `nested_classes'. New member functions `get_unicode_code' and `get_flags'. New member functions `add_to_class', `is_class', and `contains'. (charinfo::overlaps_horizontally, charinfo::overlaps_vertically, charinfo::can_break_before, charinfo::can_break_after, charinfo::can_break_after, charinfo::ends_sentence, charinfo::transparent,, charinfo:ignore_hcodes): Use `get_flags', which handles character classes also. * src/roff/troff/input.cpp (char_class_dictionary): New global variable. (define_class): New function. (init_input_requests): Register `class'. (charinfo::get_unicode_code, charinfo::get_flags, charinfo::contains): Implement it. * NEWS, doc/groff.texinfo (Character Classes), man/groff_diff.man, man/groff.man: Document it.
* * doc/groff.texinfo, man/groff.man: Document `!' operator better.wl2010-07-281-2/+10
|
* * man/groff_diff.man: Document \n[.P].wl2010-06-051-0/+5
|
* * man/groff_diff.man: Document \n[.O].wl2010-06-041-2/+8
|
* Make patterns with uppercase letters work.wl2009-12-311-0/+4
| | | | | | | | Problem reported by Bjarni Ingi Gislason <bjarniig@rhi.hi.is>. * src/roff/troff/input.cpp (init_hpf_code_table): Use `cmlower'. * doc/groff.texinfo, man/groff_diff.man: Update documentation of `hpfcode' request.
* * man/groff_char.man: Fix white heart and diamond unicode values.wl2009-08-141-2/+2
|
* Use straight quotes where appropriate.wl2009-04-241-7/+7
| | | | | | Reported by Reuben Thomas <rrt@sc3d.org>. * man/groff.man: Do it.
* Add a new `file' warning category.wl2009-02-211-0/+6
| | | | | | | | | | | * src/roff/troff/troff.h (warning_type): Add WARN_FILE. * src/roff/troff/input.cpp (DEFAULT_WARNING_MASK): Include WARN_FILE. (warning_table): Add `file' category. (macro_source): Convert error on missing macro file to a warning. * NEWS, doc/groff.texinfo (I/O, Warnings), man/groff_diff.man, src/roff/troff/troff.man: Document new warning category.
* Implement a leading spaces macro request, `lsm', in analogy towl2009-02-142-1/+40
| | | | | | | | | | | | | | | | | `blm'. Implement two new number registers, \n[lsn] and \n[lss], which hold the number of spaces and the horizontal space, respectively, which would be inserted if the macro registered by `lsm' wasn't called. * src/roff/troff/input.cpp (leading_spaces_macro_name, leading_spaces_number, leading_spaces_space): New global variables. (leading_spaces_macro): New function. (process_input_stack) <token::TOKEN_SPACE>: Handle `lsm'. (init_input_requests): Register `lsm', \n[lsn], and \n[lss]. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo (Leading Spaces Traps): Document new requests and registers.
* * man/groff.man: Document missing number registers (`$$', `.b',wl2009-02-101-0/+60
| | | | | | | | `.F', `.j', `.k', `.L', `.O', `.P', `.R', `opmaxx', `opmaxy', `opminx', `opminy'). * doc/groff.texinfo: Document missing `.R' register. Add `.U' to register index.
* 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.