| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
w.r.t. `\s-[-...]'.
* doc/groff.texinfo (Fractional Size Types): Clarify syntax of \s.
|
|
|
|
|
|
| |
behave the same as `\s-[\n[.s]]' (this is, emit a warning and set
point size to 1). Reported by Gunnar Ritter.
Also catch `\s-[-...]' and friends (causing an error).
|
|
|
|
|
|
| |
space only if there is no previous space. This fixes a bug which
caused unwanted filling of the last line in a paragraph. Thanks to
Gunnar Ritter for an analysis.
|
|
|
|
| |
Reported by Jennifer Sayers <jenjen@isu.usyd.edu.au>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`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.
|
| |
|
| |
|
|
|
|
| |
in file names.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/devices/grops/grops.man: Document BPHook.
Reorder some sections for better readability.
* src/include/lib.h (getlocale): New macro.
(setlocale, LC_ALL, LC_CTYPE) [!HAVE_SETLOCALE]: Define, as
suggested by Bruno.
* src/preproc/preconv/preconv.cpp (main): Use getlocale.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hcode values.
* src/roff/troff/charinfo.h (charinfo): New enumeration value
`IGNORE_HCODES'.
New member function `ignore_hcodes'.
* src/roff/troff/node.cpp (break_char_node::add_self,
node::add_char): Updated.
* doc/groff.texinfo, man/groff_diff.man, NEWS: Document it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fonts.
* src/include/font.h (font): Add member variable `zoom'.
Add member functions `set_zoom' and `get_zoom'.
Remove `static' attribute from `scale' member function.
* src/libs/libgroff/font.cpp (font::font): Updated.
(scale_round): New version with three parameters to handle zoom
factor.
(font::scale, font::get_width): Handle zoom factor.
(font::set_zoom, font::get_zoom): New functions.
(font::load): Handle `zoom' while computing `space_width'.
* src/roff/troff/env.h: Declare `env_get_zoom'.
(environment): Add member function `get_zoom'.
* src/roff/troff/env.cpp (environment::get_zoom): New function.
(init_env_requests): Initialize `.zoom' register.
* src/roff/troff/node.cpp (font_info): New member functions
`set_zoom' and `get_zoom'.
(tfont): New member function `get_zoom'.
(env_get_zoom): New function.
(troff_output_file::set_font): Handle zoom factor.
(font_zoom_request): New function.
(init_node_requests): Initialize `fzoom' request.
* docs/groff.texinfo (Changing Fonts), man/groff.man,
man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom'
register.
* src/roff/troff/TODO: Updated.
|
| |
|
|
|
|
| |
s/probably/possibly/, as suggested by Keith.
|
|
|
|
|
|
|
|
|
|
|
| |
* src/devices/grotty/grotty.cpp (tty_printer::draw): Move most of
its code to...
(tty_printer::line): This function.
(tty_printer::draw): Rewritten; just call either draw_line or
draw_polygon.
(tty_printer::draw_line, tty_printer::draw_polygon): New functions.
* src/devices/grotty/grotty.man, NEWS: Document it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
declaration.
* src/preproc/refer/command.cpp (bibliography_command): Set
`have_bibliography'.
* src/preproc/refer/refer.cpp: Initialize `have_bibliography'.
(output_references): Emit warning only if `have_bibliography' is
set.
|
| |
|
| |
|
|
|
|
| |
macro (as suggested by Tadziu Hoffmann).
|
|
|
|
| |
macro (as suggested by Tadziu Hoffmann).
|
|
|
|
|
|
|
| |
here.
* doc/Makefile.sub (EXAMPLEFILES): Move gnu.eps to...
(PROCESSEDEXAMPLEFILES): Here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`DESC'.
Reduce number of false positives for `.if F ...' conditionals.
Improve warning messages.
* tmac/Makefile.sub: Add copyright notice.
(NORMALFILES): Add man.tmac and ms.tmac.
(SPECIALFILES): Remove man.tmac and ms.tmac.
(CLEANADD): Remove man.tmac-sed and ms.tmac-sed.
(install_data, uninstall_sub): Don't handle man.tmac and ms.tmac
specially.
(stamp-sed): Don't handle man.tmac and ms.tmac.
Remove obsolete components in sed's regexp.
* doc/Makefile.sub (EXAMPLEFILES): Add gnu.eps.
* Makefile.in (OTHERDIRS, NOMAKEDIRS): Add hdtbl.
|
|
|
|
|
| |
* src/roff/troff/env.cpp (environment::copy): Copy margin character
node.
|
| |
|
|
|
|
| |
Improved wording to describe effect of `-Z' option.
|
|
|
|
|
| |
swallow character immediately after `\[...]'.
Simplify code.
|
|
|
|
|
| |
information as a comment in output.
* src/utils/afmtodit/afmtodit.man, NEWS: Document it.
|
|
|
|
|
| |
<'F'>): Use `get_extended_arg' to behave as documented. Reported by
Bill Ward <william.a.ward.jr@erdc.usace.army.mil>.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`>'.
* src/roff/troff/node.cpp (real_output_file, troff_output_file): Add
second parameter to `really_put_filename' and `put_filename'.
(troff_output_file::really_put_filename): Emit `<' and `>' around
filename if second argument is set.
* src/roff/troff/node.h: Updated.
* src/roff/troff/input.cpp (file_iterator::file_iterator,
file_iterator::set_location): Update to changes in node.cpp.
|
|
|
|
| |
Handle current_paragraph only if it is non-NULL.
|
|
|
|
|
|
| |
preprocessor expression (I18N -> HAVE_ICONV).
(main): Fix handling of option `-h'.
Fix conditional preprocessor expression.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
been called as .foo and to 0 if called as 'bar. This is useful for
-mtrace so that requests can be reliably traced too.
* src/roff/troff/input.cpp (input_iterator): Add virtual function
`get_break_flag'.
(macro_iterator): Add `with_break' member and `get_break_flag'
function.
Update constructors.
(input_stack): Add function `get_break_flag'.
(break_flag_reg): New number register class.
(input_init_requests): Register `.br'.
* src/roff/troff/TODO: Updated.
* tmac/trace.tmac: s/!!sp/!!!sp/.
Modify definitions of `de', `de1', `am', and `am1' to use \n[.br].
* docs/groff.texinfo, man/groff.man, man/groff_diff.man, NEWS:
Document it.
|
|
|
|
| |
messages where appropriate.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure: Regenerated.
* Makefile.in (EGREP): New variable.
(MDEFINES): Add $(EGREP).
* src/roff/grog/grog.sh: Treat .TH between .TS and .TE properly
(bug reported by Robert Goulding <Goulding.2@nd.edu>).
Use @EGREP@.
* src/roff/grog/Makefile.sub (grog, grog.old): Use $(EGREP).
|
|
|
|
|
|
|
|
|
|
|
| |
`\X' and `\Y', respectively.
* src/roff/troff/input.cpp (device_request, device_macro_request):
New functions.
(init_input_requests): Register them.
* doc/groff.texinfo, man/groff_diff.man, man/groff.man, NEWS:
Document them.
|
|
|
|
|
|
|
| |
for -Thtml as `\[...]'.
* src/devices/grohtml/post-html.cpp (page::add_and_encode): Updated.
* doc/groff.texinfo (\X): Updated.
|
|
|
|
| |
files.
|
|
|
|
| |
insertion of PostScript snippets.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
both DWB pic and dpic, make
right;
line then down;
equal to
right;
line right then down;
instead of
right;
line 0 then down;
* doc/pic.ms: Document this.
|
|
|
|
|
| |
attribute in combination with `with'. Bug reported by Jennifer
Sayers <jenjen@mail.usyd.edu.au>.
|
| |
|
| |
|
|
|
|
|
| |
* LICENSES: This. Collect all licensing information in this file.
* tmac/README, src/libs/snprintf/README: Removed.
|
| |
|
|
|
|
|
| |
ps_printer::do_mdef): Overlong lines now cause a warning message,
not an error.
|
| |
|
|
|
|
|
| |
* src/roff/troff/node.cpp (make_glyph_node): Improve warning message
for single-letter glyph names.
|