| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use
$(SEP).
* src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
STDERR_FILENO) [_MSC_VER]: Define conditionally.
(getpid) [_MSC_VER]: Remove.
Include direct.h and process.h conditionally.
* src/roff/troff/node.cpp (suppress_node::tprint): Don't use
parentheses for a_delete.
* src/utils/lookbib/lookbib.cpp: Include nonposix.h.
* test-groff: Replaced with...
* test-groff.in: This new template to handle path separator
properly.
* configure.ac: Check for direct.h and process.h.
Generate test-groff script.
* configure, src/include/config.hin: Regenerated.
|
|
|
|
| |
Other minor typographical improvements.
|
|
|
|
|
| |
Improve documentation of `cflags' request.
* NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Check for vsnprintf.
* src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
`HAVE_VSNPRINTF'.
* src/include/config.hin: Regenerated.
* aclocal.m4: Updated syntax to autoconf 2.59.
(GROFF_HTML_PROGRAMS): Use AC_FOREACH.
Don't check for gsos2.
(GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides
working abs_top_srcdir and abs_top_builddir.
* configure.ac: Updated syntax to autoconf 2.59.
Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
* configure: Regenerated.
* Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
s/@groff_top_builddir@/@abs_top_builddir@/.
* src/roff/groff/pipeline.c (xstrsignal):
s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
* src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
make start angle smaller than end angle to circumvent a bug in tpic
handling of some versions of dvipdfm (and dvipdfmx).
|
|
|
|
|
| |
* contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
-P-pletter).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/roff/troff/input.cc (usage): Updated.
* NEWS, doc/groff.texinfo: Updated.
* src/libs/libgroff/searchpath.cpp
(search_path::open_file_cautious): New function which also handles
`-' as stdin and stdout depending on the access mode.
* src/include/searchpath.h (search_path): Updated.
* src/devices/grops/ps.cpp (main): Handle new `-I' switch.
* src/devices/grops/ps.h: Include `searchpath.h'.
* src/devices/grops/psrm.cpp (resource_manager::supply_resource):
Open resource file with `include_search_path.open_file_cautious'.
* src/devices/grops/grops.man: Document new `-I' switch.
* src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
(main), src/devices/grolj4/lj4.cpp (main),
src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
* src/preproc/soelim/soelim.cpp (include_list_length, include_list):
Replaced with...
(include_search_path): New global variable.
(include_path_append): Removed.
(main): Use `include_search_path.command_line_dir' to handle `-I'.
(do_file): Simplify, using new
`include_search_path.open_file_cautious'.
* src/roff/groff/groff.cpp (print_commands): Accept file handle as
parameter.
(main): Pass arguments to `-I' to both troff and devices.
Improve handling of `-V'.
* src/roff/groff/groff.man: Document changes to -I and -V.
* src/roff/troff/input.cpp (include_search_path): New global
variable.
(next_file, source, ps_bbox_request, transparent_file,
process_input_file): Use new
`include_search_path.open_file_cautious'.
(main) Handle `-I' switch.
* src/roff/troff/node.cpp (troff_output_file::really_copy_file):
Use new `include_search_path.open_file_cautious'.
* src/roff/troff/node.h: New extern symbol `include_search_path'.
* src/roff/troff/troff.man: Document new `-I' switch.
|
|
|
|
| |
* tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
argument list. Use `ls' to expand, similar to autoconf.
* Makefile.comm (install_dev, uninstall_dev): Protect `for' against
empty argument lists.
* doc/groff.texinfo: Improve documentation how vertical spacing
and line breaks interact.
Other minor fixes.
* tmac/www.tmac: Initialize `www-htmlimage-gap'.
|
|
|
|
|
| |
* doc/texinfo.tex: Updated from texinfo 4.6.
* README.CVS: From now on we need texinfo 4.6.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/input.cc (calling_mode): Remove
CALLING_DISABLE_COMP.
(comp_mode): New enumeration.
(do_define_string, define_string, define_nocomp_string,
append_string, append_nocomp_string): Updated.
(do_define_macro): Add third parameter.
(define_macro, define_nocomp_macro, define_indirect_macro,
append_macro, append_nocomp_macro, append_indirect_macro): Updated.
(define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
functions.
(ignore): Updated.
(init_input_requests): Add `dei1' and `ami1'.
* tmac/trace.tmac: Handle de1 and am1.
(de): Improve tracing message.
(am): Add missing `do'.
(return): Use de1.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document new requests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
www-finish-left-ll): Updated.
(www-image-just, www-image-gap, www-htmlimage-gap): New variables.
(MPIMG): Make option -L and -R optional.
Implement option -G.
* src/devices/grohtml/post-html.cpp
(html_printer::do_file_components): Don't use `stdout' as lvalue
since it can be a macro.
* src/libs/libgroff/strerror.c: Include errno.h to be in sync with
the corresponding test in aclocal.m4.
|
|
|
|
|
| |
(HTMLDOCFILES): Revert to `pic.html'.
(CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
|
|
|
|
| |
Document absolute positioning of pictures.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
default for char. Based on a patch by Thomas Klausner
<wiz@netbsd.org>.
* src/devices/grotty/tty.cpp (schar): New typedef.
Updated calls to declare_ptable and implement_ptable.
(glyph): Use schar for back_color_idx and fore_color_idx.
(tty_printer): Use schar for curr_fore_idx and curr_back_idx.
(tty_printer::tty_color, tty_printer::tty_printer,
tty_printer::color_to_idx, tty_printer::put_color): Updated.
* src/roff/nroff/nroff.sh: Add option -d for completeness.
* src/roff/nroff/nroff.man: Updated.
* NEWS, tmac/groff_www.man: Updated.
* doc/Makefile.sub: Updated.
Implement support for multiple HTML output files.
* src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
-j command line option.
* src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
global variables.
(file): New fields `new_output_file', `require_links',
`output_file_name'.
(file::file): Updated.
(files::set_file_name, files::set_links_required,
files::are_links_required, files::is_new_output_file,
files::file_name, files::next_file_name): New functions.
(header_desc): New fields `no_of_level_one_headings',
`header_filename'.
(header_desc::header_desc): Updated.
(header_desc::write_headings): Handle multiple files.
(html_printer::write_header): Save file name in which header occurs.
(html_printer::determine_header_level): Possibly split files on
level one headings.
(html_printer::do_links, html_printer::troff_tag): Updated.
(html_printer::insert_split_file, html_printer::do_job_name,
html_printer::emit_link, html_printer::write_navigation,
html_printer::do_file_components): New functions.
(html_printer::~html_printer): Handle multiple files.
(main): Handle command line option `-j'.
* src/devices/grohtml/grohtml.man: Updated.
* doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
which splits file.
* tmac/www.tmac (JOBNAME): New macro.
* tmac/s.tmac (SH-NO-TAG): New macro.
(@SH): Call SH-NO-TAG.
(@NH): Updated.
|
|
|
|
| |
* tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
|
|
|
|
|
|
|
| |
running `make groff.{pdf,dvi}'.
* Makefile.sub (DISTCLEANFILES): Remove all non-source files from
src/xditview also.
|
|
|
|
|
| |
The X11 documentation files use them.
* tmac/groff_ms.man, doc/groff.texinfo: Document them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
aren't stretched in a tag (this can fail with unformatted boxes).
Instead, insert a break and go back one line.
* src/roff/troff/input.cc (return_macro_request): If called with
argument pop macro twice. We need this to trace `return'.
* tmac/trace.tmac: Handle `return'.
Fix typos.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document.
* tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
registers `FPS', `FVS', and `FPD'.
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
doc-footer-space): Initialize to 0.5i.
(doc-setup-page-layout): Don't set doc-header-space and
doc-footer-space.
* REVISION: Set to 1.
* doc/pic.ms: Document possible problems with `figname'.
|
|
|
|
|
|
|
|
|
|
| |
* REVISION: Set to 0.
* doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
* src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
Define charset as `US-ASCII' in html output.
* tmac/www.tmac (ULE): Add missing scaling indicator.
|
|
|
|
|
| |
`.da' and `.boxa'.
Document how to insert discardable whitespace with `.ss'.
|
|
|
|
|
|
| |
work with plain TeX also.
* src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
|
|
|
|
|
|
|
|
|
| |
Use a loose DTD.
* src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
vbox with positive height and zero depth if in TeX mode.
* NEWS: Document glyph name changes for grodvi and grolj4.
|
|
|
|
| |
* doc/pic.ms: Fixed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
box in TeX mode. Based on a patch from William J Poser
<wjposer@unagi.cis.upenn.edu>.
* src/preproc/pic/pic.y: New token `FIGNAME'.
(macro_name): New rule of type <str>.
(placeless_element): Handle `FIGNAME'.
* src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
* src/preproc/pic/main.cpp (graphname): New global variable.
(do_picture): Initialize `graphname'.
* src/preproc/pic/pic.h: Updated.
* src/preproc/pic/tex.cpp (tex_output::start_picture): Use
`graphname'.
Simplify TeX code.
(tex_output::text): Beautify output.
* src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
`shaded' and `outlined' unconditionally.
* NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
Minor improvements.
* PROBLEMS, README.CVS: Mention that bison version 1.875b or
greater is necessary.
|
|
|
|
| |
Updated all configuration files, makefiles, and documentation.
|
|
|
|
| |
values.
|
|
|
|
| |
* doc/webpage.ms: Improved.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add register \n[.slant] which returns the value of \S.
* src/roff/troff/env.cc (init_env_requests): Implement.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document.
* tmac/html.tmac: Move some of the data into html-end.tmac.
Remove most of the character translations for eqn since html fonts
now cover those characters.
Load www.tmac.
* tmac/html-end.tmac: New file.
* tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
* tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
* tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
* man/groff_out.man: Document negative values of `N' if -Thtml is
used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
binary path.
(groff_bin_path): Rename to GROFF_BIN_PATH.
(GROFF): Use GROFFBIN and GROFF_BIN_PATH.
* doc/Makefile.in (TROFFBIN): New variable for troff
binary path.
(GROFFBIN): New variable for groff binary path.
(groff_bin_path): Rename to GROFF_BIN_PATH.
(TROFF): Use TROFFBIN.
(GROFF): Use GROFFBIN and GROFF_BIN_PATH.
* doc/Makefile.sub (GROFFBIN): New variable for groff
binary path.
(groff_bin_path): Rename to GROFF_BIN_PATH.
(GROFF): Use GROFFBIN and GROFF_BIN_PATH.
* Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
with INSTALL_SCRIPT.
(uninstall_dev): Uninstall scripts from DEVSCRIPTS.
* Makefile.dev (all): Depend on DEVSCRIPTS.
(install_dev): Likewise.
* font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
scripts.
* font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
(DEVGENSCRIPTS): New variable to hold generated scripts.
* src/libs/libdriver/input.cc (IntArray::operator[],
IntArray::get_data): Remove meaningless `const' in return value.
* README.CVS: New file.
|
|
|
|
|
|
| |
* src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
(*printer::change_color, *printer::change_fill_color): Add missing
`const'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Check for `setlocale'.
* configure, src/include/config.hin: Regenerated.
* src/include/lib.h: Handle HAVE_SETLOCALE.
* src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
(main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
(main), src/preproc/pic/main.cc (main): Call `setlocale'.
* doc/groff.texinfo (Man font macros): Mention that there is no
space between arguments of .BI and friends.
* man/roff.man: Small fixes.
|
|
|
|
|
| |
`.vs'.
* doc/groff.texinfo: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
by Bernd Warken <bwarken@mayn.de>.
* src/include/driver.h (pr): Removed.
* src/libs/libdriver/input.cc (pr): New global variable.
(do_file): Deallocate `pr'.
* src/libs/libdriver/printer.cc (pr): Removed.
* src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
(main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
(main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
(main): Don't delete `pr'.
* tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
* tmac/papersize.tmac: New file.
* tmac/troffrc: Include `papersize.tmac'.
* tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
* tmac/an-old.tmac: Set LT to LL by default.
* NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
doc/groff.texinfo: Updated.
* src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
bug which caused all odd iso papers to have wrong dimensions.
* src/devices/grops/ps.cc (user_paper_width): New global variable.
(main) <'p'>: Set `user_paper_width' also.
(ps_printer::media_width, ps_printer::media_height): Use values
given with option `-p'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
Added support to access more than 256 glyphs in Type 1 fonts.
* src/devices/grops/ps.cc (subencoding): New structure.
(style): Add `sub' field.
Updated all users.
(ps_printer): Add `subencodings' and `next_subencoding_index' fields.
Add `set_subencoding', `get_subfont' and `encode_subfont' member
functions.
Updated all users.
(ps_printer::set_char): Use `set_subencoding'.
(make_subencoding_name): New function.
(ps_printer::set_style): Handle case where `sty.sub' is not zero.
(ps_printer::~ps_printer): Emit subencoding definitions.
* src/devices/grops/psrm.cc (valid_input_table): New array to
properly support EBCDIC.
(white_space): Add `\f'.
(ps_get_line): Change first argument to be of type `string &'.
Updated all callers.
This allows to get lines of arbitrary length.
Use `valid_input_table'.
Remove warning about non-conforming PS line length. This seems
not to be of great importance -- for example, dvips don't emit
a warning either.
(PS_LINE_MAX): Removed.
(matches_comment): Change first argument to be of type `string &'.
* src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
* src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
%AGL_to_unicode, %default_ligatures): New hash tables.
Read all map entries.
Add unencoded characters.
Check for default ligatures if there are no `L' entries.
Print all kern entries.
Print all characters in charset.
* src/utils/afmtodit/afmtodit.man: Updated.
* font/devps/*: Regerated all fonts.
* tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
of characters, just use `.trin'. Otherwise the mapping is depending
on the font encoding.
* tmac/ps.tmac: Add `fi' and `fl'.
Improve `Fi' and `Fl'.
* tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
* tmac/Xps.tmac: Fix `em'.
* NEWS: Updated.
|
|
|
|
| |
* man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devdvi/*EC: Updated.
* tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
* tmac/latin1 (latin1-tr): Undo any previous mapping.
* tmac/troffrc: Load `composite.tmac'.
* tmac/Makefile.sub (NORMALFILES): Updated.
* NEWS: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (Dt): Don't emit warning for unknown section.
* tmac/groff_mdoc.man: Fix description of `Dt'.
* font/devps/prologue.ps: Fix for included Postscript that does
a setpagedevice -- which is now safely ignored.
* NEWS: Updated.
* src/devices/grops/ps.cc: Now sets the page size in the generated
document. This is done in two ways: Via a %%-comment for gv and
the like, and via a PageSize and setpagedevice for programs that
understands Postscript proper, like ps2pdf.
* src/devices/grops/ps.h: New broken-flag to avoid page size
definition, if required.
* src/devices/grops/grops.man: New broken-flag 16 mentioned.
* doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
Not really necessary due to the fix in prologue.ps, but cleaner:
Such information does not belong in an .eps file.
* doc/Makefile.sub: See doc/Makefile.in.
* aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
instead of P1 since the latter is broken in some versions of netpbm.
* configure: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/an-old.tmac (FT): New register holding footer distance from
bottom.
(HF): New string holding the default heading font.
(TH): Handle registers `IN' and `SN' set on the command line.
Use `FT'.
(PT, BT): New strings to customize header and footer lines.
(an-header, an-footer): Use them.
(SH, SS): Use `HF'.
* tmac/groff_man.man: Document changes.
* doc/groff.texinfo: Document man changes.
Document Ultrix extensions of man.
* src/roff/troff/input.cc (do_width, do_if_request): Reset
`have_input' after changing back to old environment.
* src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
function up to be defined before first call. This is necessary to
avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
* src/utils/afmtodit/afmtodit.pl: Make script search for files in
the default font directory also. Based on a patch from James
J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
* src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
* src/utils/afmtodit/afmtodit.man: Document it.
* NEWS: Updated.
* tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
|
|
|
|
|
|
|
|
|
|
|
|
| |
to be conform with Unicode 3.0 and newer.
* font/devlj4/generate/text.map: Add `Eu'.
* font/devlj4/generate/special.map: Flip `*e' and `+e'.
* font/devlj4/S: Regenerated.
* man/groff_char.man: Completely rewritten.
* doc/groff.texinfo: Fix description of request and macro arguments.
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
(token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
* src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
handling if both foreground and background colors are default.
* doc/groff.texinfo (Debugging): Document .lf differences to
AT&T troff.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make \D'f ...' move horizontally again for backwards compatibility.
Replace it with \D'Fg ...' where appropriate to avoid dependency
on horizontal resolution.
* src/roff/troff/input.cc (do_get_long_name): New function.
(get_long_name): Call it.
(read_draw_node): Handle `\D'Fx ...' by calling ...
(read_color_draw_node): New function.
(read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
`end'.
Pass it to `do_get_long_name' which is used instead of
`get_long_name'.
* src/libs/libdriver/input.cc (color_from_Df_command): Remove
unnecessary value guard.
(parse_D_command) <'f'>: Add horizontal shift.
* src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
* src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
(FILL_MAX): Removed.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Updated.
* src/roff/troff/input.cc (do_name_test, do_expr_test,
do_zero_width): Push `\n' if closing delimiter is missing.
(token::next) <ESCAPE_NEWLINE>, <'\n'>, <'\ '>: Reset `have_input'.
<'F'>: Make \F non-transparent at the beginning of line.
(process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
`have_input'.
(define_color): Free color in case of reassignment.
* doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
@DefescListEnd): Use @Var, not @var.
Fix all calls.
* src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
* src/preproc/pic/object.cc (object_spec::~object_spec): Free
`shaded' and `outlined' arrays.
(object_spec::object_spec): Initialize `shaded' and `outlined'.
(graphic_object::set_fill_color, graphic_object::set_outline_color):
Use strsave.
(closed_object::set_fill_color): Ditto.
* src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
instead of strdup.
(troff_output::reset_color): Use a_delete instead of free.
* src/preproc/pic/main.cc (do_file): Free `out' in case of error.
|
|
|
|
|
|
|
|
|
|
| |
Document that \D'f...' is dependent on the horizontal resolution.
* man/groff_diff.man: Improve documentation of \D'f...'.
* src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
compensating \h'...' for \D'f ...' since the latter no longer moves
current position.
* src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Beeton's hyphenation exception log reports which appear irregularly
in TUGBoat).
* tmac/hyphen.us: Updated to latest version.
* tmac/README: Updated.
* tmac/hyphenex.us, tmac/hyphenex.sh: New files.
* tmac/troffrc: Load `hyphenex.us'.
* tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
* doc/groff.texinfo: Updated.
Improve hyphenation slightly. This is a first step in redesigning
the hyphenation algorithm to make it more flexible (e.g. allowing
kerns and ligatures between the hyphenation character and the
following character -- while not used normally in English, other
languages like German would benefit).
* src/roff/troff/env.cc (environment::hyphenate_line): Use
assertion instead of if-clause.
Let `get_hyphen_list' return the number of involved characters in
the hyphenation pattern instead of computing it directly (which
often yields too small values).
* src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
* src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
parameter.
Fixing a bug which caused groff to hang if the hyphenation exception
dictionary tried to grow.
* src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
pointer to dictionary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
extension glyph (\[radicalex]) are now text symbols. The new
mathematical versions are called \[sqrt] and \[sqrtex],
respectively.
* font/devX*/S: Regenerated.
* font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
* font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
* font/devdvi/EX, font/devdvi/S: Regenerated.
* font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
* font/devlj4/generate/special.map: Add `sqrt'.
* font/devlj4/S: Regenerated.
* font/devps/generate/textmap: Add `sqrt'.
* font/devps/S, font/devps/symbolmap: Regenerated.
* src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
* src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
overlap horizontally.
* tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
* tmac/dvi.tmac: Add `sr', and `sqrtex'.
Fix `radicalex'.
* doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
and `sqrtex' are overlapping glyphs.
|