| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
`doc-header-space' after header line if register `cR' is set.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
| |
* configure.ac: Add declaration test for snprintf.
* configure: Regenerated.
* src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
* src/include/config.hin: Regenerated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
Add option -t to produces TeX comment lines instead of `.lf' lines.
* src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
and `tex_flag'.
(usage): Updated.
(main): Handle `-r' and `-t'.
(set_location): Handle `raw_flag' and `tex_flag'.
* src/preproc/soelim/soelim.man, NEWS: Updated.
|
|
|
|
|
| |
if --quiet is used for the configure script.
* configure: Regenerated.
|
|
|
|
| |
Remove nested paired braces also.
|
|
|
|
|
| |
* tmac/hyphenex.pl: This perl script to avoid sed compatibility
nightmares.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add `const' to second argument.
(html_printer::add_table_end): Add `const' to argument.
* src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
`const' to arguments.
* src/devices/grohtml/html-text.h: Updated.
* src/devices/grolbp/charset.h (symset): Use `unsigned char'.
* src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
argument.
* src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
cast for integer constant.
* src/preproc/html/pre-html.cpp (image_device): Use `const'.
(writeNbytes): Add `const' to first argument.
(writeString): Add `const' to argument.
(char_buffer::can_see): Add `const' to third argument.
* src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
`const' to argument.
* src/preproc/html/pushback.h: Updated.
* src/preproc/soelim/soelim.cpp (include_list): Add `const'.
(include_path_append): Add `const' to argument.
(do_file): Updated.
* src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
for `value'.
(unicode_to_glyph_init::unicode_to_glyph_init): Updated.
* src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
for `value'.
(unicode_decompose_init::unicode_decompose_init): Updated.
* src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
for `value'.
(glyph_to_unicode_init::glyph_to_unicode_init): Updated.
* src/roff/troff/input.cc (process_startup_file): Add `const' to
argument.
|
|
|
|
| |
document.
|
|
|
|
| |
Updated all configuration files, makefiles, and documentation.
|
| |
|
|
|
|
|
|
|
|
|
| |
font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
character slots with unnamed glyphs.
* tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
(an-first): New global variable.
(an-header): Emit vertical space between multiple man pages.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with a negative value, representing the width of the unbreakable
space (only for -Thtml). grohtml then converts this back to
and uses the value of N as its width.
* src/roff/troff/node.cc (space_char_hmotion_node::tprint,
unbreakable_space_node::tprint): Emit `N-<width>'.
* src/include/printer.h (printer::set_numbered_char): Make it
virtual.
Make members `font_table' and `nfonts' protected instead of private.
* src/devices/grohtml/post-html.cc
(html_printer::set_numbered_char): New member function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* aclocal.m4 (GROFF_STDINT_H): New function,
* configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
AC_CHECK_HEADERS.
* configure, src/include/config.hin: Regenerated.
* src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
* src/libs/libgroff/maxfilename.cc:
s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
* src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
emit word marker.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
html_table::is_gap): Compute table widths after converting border
positions to avoid rounding errors.
* src/devices/grohtml/html-text.cc (html_text::do_space): Handle
`space_emitted' properly.
|
|
|
|
| |
pg*extra-footer-size in the calculation of pg*last-pos
|
|
|
|
| |
the original
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(html_table::set_linelength): Don't add 1.
(html_table::add_indent): Don't subtract 1.
* tmac/html.tmac: Set default page offset to zero.
Make groff emit ` ' for `\ ' and `\~' if `-Thtml' is used.
* src/roff/troff/node.cc (space_char_hmotion_node::tprint,
unbreakable_space_node::tprint): New functions.
(troff_output_file): Make space_char_hmotion_mode::tprint and
unbreakable_space_node::tprint to friends.
* src/roff/troff/node.h: Updated.
* font/devhtml/R.proto: Add ` ' at position 0xA0 (as defined
in the HTML standard).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise, the following code
.di xxx
.ps 10
a
.br
.di
x\*[xxx]
produces `x a' instead of `xa'. This is a temporary fix, disabling
font changes in diversions for -Thtml.
* tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
`HTML-TAG'.
(an-do-tag-html): Merge with ...
(an-do-tag): This macro.
Change code slightly to circumvent grohtml bug.
* tmac/troffrc-end: Define dummy for HTML-TAG-NS.
* src/devices/grohtml/html-table.cc (html_table::emit_col,
html_table::is_gap): Round `width' properly.
* tmac/html.tmac: Provide some default layout parameters for
grohtml.
* font/devhtml/DESC.proto: Don't use discrete values for `sizes'
command.
src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
* tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
defined.
|
| |
|
|
|
|
|
| |
That will also enable cov*default-firm from the mm locale-file
to work.
|
|
|
|
| |
header environment properly
|
|
|
|
|
| |
`.vs'.
* doc/groff.texinfo: Updated.
|
|
|
|
| |
TOKEN_END_TRAP>: Reset `have_input'.
|
| |
|
|
|
|
| |
<goulding@Princeton.EDU>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of library files. Computed heuristically from $(OBJEXT).
(MDEFINES): Add $(LIBEXT).
* Makefile.lib, Makefile.comm: Use it.
* src/utils/pfbtops/pfbtops.c (get_text): New function. Split overlong
lines into smaller chunks.
(get_binary): New function.
(main): Use them.
* src/utils/pfbtops/pfbtops.man: Updated.
* src/roff/groff/groff.man: Minor syntax fix.
|
|
|
|
| |
ps_printer::~ps_printer): Handle zero paper width and length.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/devices/grodvi/dvi.cc: Include paper.h.
(landscape_flag, user_paper_length, user_paper_width): New global
variables.
(dvi_printer::begin_page): Emit `papersize' special.
Set color after initialization of `cur_h' and `cur_v'.
(main): Add options `-l' and `-p'.
* font/devdvi/Makefile.sub (DESC): Set `papersize'.
* src/devices/grodvi/grodvi.man, NEWS: Updated.
* src/devices/grops/psrm.cc (valid_input_table): Fixed.
* src/devices/grops/grops.man: Move documentation of .PSPIC to...
* man/groff_tmac.man: This man page.
* man/groff_font.man: Declare `paperwidth' and `paperlength' as
deprecated.
* tmac/X.tmac: Don't load pspic.tmac.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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'.
|