| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
=======================
* NEWS, REVISION, doc/groff.texinfo, doc/webpage.ms: Updated.
* configure: Regenerated.
* doc/texinfo.tex: Updated from `texinfo' repository.
* src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
|
| |
|
|
|
|
|
|
|
|
|
| |
* src/preproc/eqn/lex.cpp (start_delim_saved, end_delim_saved): New
global variables.
(do_delim): Handle `delim on' to restore previous start and end
delimiters.
* src/preproc/eqn/eqn.man, NEWS: Document it.
|
|
|
|
| |
Suggested by rms.
|
|
|
|
|
|
|
|
|
| |
=======================
Due to CVE-2012-3386, ftp.gnu.org rejected uploading of version 1.22
-- in other words, 1.22 has never been released.
* NEWS, REVISION, doc/groff.texinfo, doc/webpage.ms: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
=====================
* NEWS, VERSION, doc/groff.texinfo, doc/webpage.ms: Updated.
* config.guess, config.sub: Updated from `config' repository.
* INSTALL.gen: Updated from `gnulib' repository (file `INSTALL').
* aclocal.m4, configure: Regenerated.
* doc/texinfo.tex: Updated from `texinfo' repository.
* src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/groff/groff.cpp (CHEM_INDEX): New constant.
(main) ['j']: Add `chem'.
(synopsis, help): Updated.
* src/roff/troff/pipeline.h (MAX_COMMANDS): Increase to 14.
* src/roff/groff/groff.man: Document new command line option.
* NEWS: Updated.
|
|
|
|
|
|
|
| |
=====================
* NEWS, REVISION, VERSION, doc/groff.texinfo, doc/webpage.ms: Updated.
* aclocal.m4, configure: Regenerated.
|
|
|
|
| |
* NEWS, PROBLEMS: Update.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* src/preproc/tbl/table.h (table): Add `NOWARN' enumeration value.
* src/preproc/tbl/main.cpp (process_options),
src/preprox/tbl/table.cpp (table::compute_expand_width,
table::compute_separation_factor): Handle `NOWARN'.
* src/preproc/tbl/tbl.man, NEWS: Document it.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
=======================
`gnu.png' isn't needed any more.
* doc/Makefile.in: Don't handle or create `gnu.png'.
Update all affected targets.
* doc/Makefile.sub: Don't handle or create `gnu.png'.
Update alll affected targets.
`gnu.eps' was missing in the tarball.
Problem reported by Patrik Gräser.
(PROCESSEDEXAMPLEFILES): Remove `gnu.eps'.
(MOSTLYCLEANNOTSRCDIRADD): Fix names of info files.
(install_data): Handle `gnu.eps' specially.
* MORE.STUFF: Mention texi2html's troff backend.
Mention http://groff.ffii.org/groff/contrib.
* README: Mention `MORE.STUFF'.
* NEWS, doc/webpage.ms, doc/groff.texinfo: Updated.
|
|
|
|
| |
version 1.20.
|
| |
|
|
|
|
| |
* NEWS, man/groff_tmac: man: Document it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tbl, more than a single `x' specifier can be used. At the same
time, remove most of the code from change 2007-02-09 which collides
with the new implementation.
* src/preproc/tbl/main.cpp (format): Add `expand' array.
(format::format, format::~format): Updated.
(input_entry_format): Add `expand' field.
(input_entry_format::input_entry_format): Updated.
(input_entry_format::debug_print): Handle `expand'.
(process_format): Handle `x' specifier.
(process_data): Updated.
* src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): Remove.
(EXPAND_REG): New macro.
(table_entry::divert, block_entry::divert,
alphabetic_block_entry::divert): Add parameter to control whether
expanded columns shall be handled.
(block_entry::do_width): Remove.
(block_entry::do_divert): Add parameter to control whether expanded
columns shall be handled.
Treat expanded columns like columns with a minimum width.
Remove `experimental' code.
(table::table, table::~table, table::allocate): Updated.
(table::set_expand_column): New function.
(table::count_block_columns): Replace with...
(table::count_expand_columns): This function.
(table::divide_span): Handle expanded columns the same as equal
columns.
(table::sum_columns): Add parameter to control whether expanded
columns shall be handled.
(table::compute_available_block_width): Replace with...
(table::compute_expand_width): This function.
(table::compute_total_separation): New function, taking code from
`compute_separation_factor'.
(table::compute_separation_factor): Simpler code. The check for the
`EXPAND' flag has been moved to the caller.
(table::compute_widths): Add `top-level' changes to handle expanded
blocks.
* src/preproc/tbl/table.h (table): New field `total_separation'.
Remove `blockflag' array.
Add `expand' array.
Update member function declarations.
* src/preproc/tbl/tbl.man: Document `x' specifier.
Expand documentation to cover all aspects of Lesk's tbl reference.
* NEWS: Document `x' specifier.
|
|
|
|
|
|
|
|
|
| |
headers.
* tmac/andoc.tmac (reload-doc): Simplify due to change in
doc-common.
* NEWS: Document it.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
| |
* src/afmtodit/afmtodit.pl: New options `-f NAME' sets the internal
name of the groff font.
New option `-k' disables output of kerning data.
* src/afmtodit/afmtodit.man, NEWS: Document new options.
|
|
|
|
|
|
|
|
| |
Handle single-letter names correctly.
* doc/groff.texinfo, man/groff_diff.man: Extend documentation of \^
and \|.
* NEWS: Updated.
|
|
|
|
|
|
|
|
| |
* src/roff/nroff/nroff.sh: Add options -w and -W.
* src/roff/nroff/nroff.man: Document them.
* tmac/hyphenex.pl: Update header output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/devices/xditview/Makefile.sub (install_data, uninstall_sub):
Handle `GXditview-color'.
* src/devices/xditview/gxditview.man: Updated.
* m4/groff.m4 (GROFF_APPRESDIR_CHECK): Updated.
* m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4, m4/lib-link.m4: Updated
from `gnulib' git repository.
* configure.ac: Updated.
* configure: Regenerated (using autoconf 2.61).
* config.guess, config.sub: Updated from `config' CVS repository.
* config.rpath, install-sh, mkinstalldirs: Updated from `gnulib' git
repository.
|
|
|
|
|
|
| |
(SN-STYLE): New string; define.
* NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
|
| |
|
|
|
|
| |
It is no longer necessary to specift "-r bell=1" on the command line.
|
|
|
|
|
|
| |
* tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros.
* tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
|
| |
|
|
|
|
| |
Revert last NEWS change.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(MDEFINES): Add $(oldfontdir).
(uninstall_dirs): Remove `current' link.
Remove $(oldfontdir).
* Makefile.comm (oldfontsubdir): New variable.
(install_dev): Install files collected in $(OLDDEVFILES) into
$(oldfontsubdir).
(uninstall_dev): Remove data in $(oldfontsubdir).
(.man.n): Handle @OLDFONTDIR@.
* src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man:
Document GROFF_FONT_PATH.
* src/devices/grops/grops.man: Document GROFF_FONT_PATH and
old font description files.
* font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New
variables.
* font/devps/old/*: New directory, holding the previous version
of the 35 Adobe core font description files.
* font/devps/*: Regenerated the 35 Adobe core fonts, using the
Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de.
* NEWS: Document font update.
|
|
|
|
|
|
|
|
|
|
|
| |
(for traditional and new orthgraphy, respectively) as the last
macro package.
* tmac/de.tmac, tmac/den.tmac, tmac/hyphen.det, tmac/hyphen.den,
tmac/hyphenex.det: New files, partly taken from CTAN.
* LICENSES: Updated list of hyphenation patterns.
* man/groff_tmac.man: Mention de.tmac and den.tmac.
* NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<datadir>/groff.
* Makefile.comm (install): Renamed to...
(do_install): This.
(prefix_must_exist): Removed. Code moved to Makefile.in.
* Makefile.in (TARGETS): Remove `install'.
(install): New target which first creates the directory given by
--prefix, then calling `make' to do the installation, and finishing
with the creation of the soft link.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|