summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year.wl2009-01-053-4/+4
|
* * doc/texinfo.tex (\key): Fix excessive whitespace.wl2009-01-051-2/+2
| | | | (\texinfoversion): Tag file as patched.
* * */*: Update GPL2 to GPL3.wl2009-01-043-16/+13
|
* Updated.wl2009-01-041-0/+2
|
* * doc/texinfo.tex: Updated from `texinfo' CVS repository.wl2009-01-043-661/+2880
| | | | | | * doc/txi-en.tex: New file from `texinfo' CVS repository. Typo.
* Update .cvsignore files.wl2009-01-031-2/+5
|
* Typo.wl2009-01-031-1/+1
|
* * doc/webpage.ms: Updated.wl2009-01-031-23/+413
|
* * NEWS, groff.texinfo, font/devps/*, VERSION, REVISION: Prepare forwl2009-01-031-4/+4
| | | | version 1.20.
* * man/roff.man, doc/groff.texinfo: Improve the history part. Thiswl2008-10-101-16/+28
| | | | | | | | | | 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.
* More warnings w.r.t. `.als'.wl2008-10-041-0/+4
|
* s/with other words/in other words/wl2008-10-041-6/+6
|
* * doc/groff.texinfo: Improve documentation of `.als'.wl2008-10-041-4/+48
|
* * src/devices/grops/grops.man, src/roff/troff/troff.man,wl2008-10-031-3/+3
| | | | | | src/preproc/soelim/soelim.man: Correct documentation of -I switch. Reported by Larry Kollar. Other minor formatting issues.
* Formatting.wl2008-09-291-83/+84
|
* Fix two swapped default values.esr2008-09-291-4/+4
|
* Merge in information about pic2plot.esr2008-09-291-21/+101
|
* If a macro is called as a string, inherit value of \n[.br] from thewl2008-09-281-9/+54
| | | | | | | | | | | | caller. This is useful for `trace.tmac'. * src/roff/troff/input.cpp (string_iterator): New members `with_break' and `get_break_flag'. (string_iterator::string_iterator): Updated. * doc/groff.texinfo: Improve documentation of \$0 and string syntax calling of macros. Document behaviour of \n[.br] within strings.
* Formatting.wl2008-09-251-2375/+2289
|
* Fix incompatibility between `.de1' and `.do'. Without this change,wl2008-09-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | the following snippet .de1 xx . tm \\n(.C .. .cp 1 .do xx prints 1 instead of 0. * src/roff/troff/input.cc (do_request): If a macro gets processed, call tok.next(). (interpolate_macro): Add optional argument. Update callers. (request::invoke): Add optional argument. (macro::invoke): Add optional argument to delay call of tok.next(). * src/roff/troff/request.h (request_or_macro): Add argument to `invoke' member. Update all derived classes. * doc/groff.texinfo: Improve documentation of .do request.
* Improve documentation of \n[.U].wl2008-02-261-2/+3
|
* add some index entrieswl2008-02-251-0/+3
|
* Add some cross references.wl2008-02-201-2/+2
|
* * doc/groff.texinfo: Improve documentation of .cf request.wl2008-02-171-0/+5
|
* Updating Back-Cover Text.wl2008-01-311-3/+3
|
* * src/preproc/html/pre-html.cpp (usage): Don't describe options butwl2008-01-191-14/+27
| | | | | | | | | | 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/+8
| | | | | | | | Handle single-letter names correctly. * doc/groff.texinfo, man/groff_diff.man: Extend documentation of \^ and \|. * NEWS: Updated.
* * doc/groff.texinfo: Fix top-level structure to make it compilablewl2008-01-121-36/+7
| | | | | again with all texinfo modes. Reported by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
* * doc/pic.ms: Mention that compass points of line objects arewl2008-01-111-2/+6
| | | | arbitrarily located.
* * src/devices/grotty/tty.cpp (tty_printer::line): Fix line lengths.wl2007-11-291-1/+1
| | | | typo.
* * doc/pic.ms: Add Heinz-Jürgen's 3d boxes example.wl2007-11-201-4/+62
|
* * src/groff/preproc/pic/lex.cpp (table): Add box attributeswl2007-11-191-4/+24
| | | | | | | | | | | | | | | | | | | | | `xslanted' and `yslanted'. * src/groff/preproc/pic/object.cpp (object_spec::object_spec): Initialize `xslanted' and `yslanted'. (graphic_object): Add methods `set_xlanted' and `set_yslanted'. (closed_object): Ditto. Add members `xslanted' and `yslanted'. (box_object::print): Use them. (object_spec::make_object): Handle slant values. * src/groff/preproc/pic/object.h (IS_XSLANTED, IS_YSLANTED): New constants. (object_spec): Add members `xslanted' and `yslanted'. * src/groff/preproc/pic/pic.y (XSLANTED, YSLANTED): New left-valued tokens. Add rules for them. * src/groff/preproc/pic/pic.man, NEWS, doc/pic.ms: Document above changes.
* * doc/Makefile.in, doc/Makefile.sub (.ms.html): Add -P-V switch towl2007-09-252-10/+12
| | | | | | | | | | | | | | | | | | | | | the production of html files. (pic.html): Ditto. Remove background colour switch. (.SUFFIXES, clean): Handle *.xhtml files. * src/devices/grohtml/grohtml.man: Document that -V option now generates an HTML-4.01 validator or XHTML validator. * src/devices/grohtml/html-text.cpp (html_text::end_tag, html_text::start_tag): Suppress <small>, <big>, and <color> tags if we are inside a <pre> block. * src/devices/grohtml/post-html.cpp (html_printer::handle_valid_flag): Add a parameter to indicate whether it needs to generate a paragraph block. (html_printer::write_navigation): Updated. (html_printer::do_file_components): Generate an HTML-4.01 blue validator button also.
* * doc/groff.texinfo: Document new .O register and add crosswl2007-09-191-82/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-7/+9
| | | | | | * doc/groff.texinfo: Ditto. Remove references to `\@' which isn't a valid escape sequence in groff.
* * tmac/s.tmac (SN): Define unconditionally.keithmarshall2007-04-081-10/+25
| | | | | | (SN-STYLE): New string; define. * NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
* * tmac/trace.tmac (rn): Added.wl2007-03-211-3/+3
| | | | | | | | | (nr, ds, ds1, as, as1, substring): Restore escape character while executing the macro. (nr): Remove dead code. * src/preproc/eqn/box.cpp (box::top_level): Use \E in string definitions to make them traceable.
* The other Bell Labs localisms are now enabled when you call .SC.esr2007-02-011-16/+17
| | | | It is no longer necessary to specift "-r bell=1" on the command line.
* Add some Bell labs extensions to the -ms macros.wl2007-02-011-0/+16
| | | | | | * tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros. * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
* * doc/groff.texinfo (Changing Fonts): Font translations with .ftrwl2006-12-311-0/+9
| | | | can't be chained.
* Support up to 32 macro arguments in pic (and up to 16 on EBCDICwl2006-12-111-2/+3
| | | | | | | | | | | | | | hosts). * src/preproc/pic/lex.cpp (ARG1): Redefine. Update all users. (MAX_ARG): New macro. Use it everywhere to replace hard-coded limit of 9 arguments. (process_body): Handle argument numbers with more than a single digit. (interpolate_macro_with_args): Protect against exceeding number of arguments. * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Document it.
* * doc/Makefile.sub (uninstall_sub): Fix names for info files.wl2006-11-211-1/+1
|
* * man/roff.man, doc/groff.texinfo: Improve history of roff, based onwl2006-11-191-9/+20
| | | | | | | | | | | | | | | | information from Tom Van Vleck <thvv@multicians.org>. * tmac/62bit.tmac: New macro package. * tmac/Makefile.sub (NORMALFILES): Add it. * NEWS: Document it. * tmac/trace.tmac: Protect against being loaded again. (nr): Always show result. * doc/groff.texinfo (Input Encodings): Document latin-5. * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
* * doc/groff.texinfo (Page Location Traps) [.wh]: Give more detailswl2006-11-131-0/+13
| | | | on negative trap positions.
* * doc/Makefile.sub (install_data): Take care of proper paths whilewl2006-11-081-2/+3
| | | | installing info files. Bug reported by Bernd Warken.
* Add `\%^' escape to handle the parameters to a macro as a stringwl2006-10-261-0/+24
| | | | | | | | | | | | | | | | | | | | | | argument. * src/roff/troff/input.h (DOUBLE_QUOTE): New special character. * src/roff/troff/input.cpp (input_iterator, input_stack, macro_iterator): Add `space_follows_arg' member function. (macro_iterator::add_arg): Add parameter to set the `space_follows' flag. (arg_list): Add member `space_follows'. Update constructor and all callers. (decode_args): Store discarded double quotes. (interpolate_args): Handle DOUBLE_QUOTE. Add `\%^' escape. (get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE. * tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1. * docs/groff.texinfo (Parameters), man/groff.man, man/groff_diff.man, NEWS: Document it.
* typowl2006-10-231-1/+1
|
* * doc/groff.texinfo (Expressions): Improve documentation of `!'.wl2006-10-231-2/+4
| | | | * tmac/trace.tmac (return): Don't call `substring'.
* * src/roff/troff/input.cpp (read_size): Revert previous changewl2006-09-101-2/+2
| | | | | | w.r.t. `\s-[-...]'. * doc/groff.texinfo (Fractional Size Types): Clarify syntax of \s.
* Add a request `pev' to print environment information (similar towl2006-09-021-0/+7
| | | | | | | | | | | | | | | `pnr' and `ptr' to print number registers and traps). * src/roff/troff/env.h (environment): Add member function print_env. * src/roff/troff/env.cpp: (environment::print_env): New function to print a given environment state. (print_env): New global function to iterate through the environments, printing each one. (init_env_requests): Register `pev'. * doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man, NEWS: Document `pev' request.