| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
`zapfdr.ps'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<ralf.wildenhues@gmx.de>
* pdfroff.sh: Avoid unsafe quoting in variable substitutions of
the form "${VAR+"set"}"; remove outer quotes everywhere; prefix
with `x' on each side of comparisons.
($NULLCMD): Define when `$ZSH_VERSION' is set, i.e. when host
has `/bin/sh -> zsh'; also...
(emulate sh): Invoke, for this case.
Enhancement/bug fix requested by Werner LEMBERG <wl@gnu.org>
* pdfroff.sh (--help): Direct output to `stdout', not `stderr'.
(--keep-temporary-files): New option; implement it.
* pdfroff.man (OPTIONS): Document `--keep-temporary-files' option.
(FILES): Note names and purpose of files it affects.
* Makefile.sub (PDFROFF): Add `--keep-temporary-files' option;
retain them in `GROFF_TMPDIR=.'.
(CLEANADD): Include temporary files matching `pdf[0-9]*'.
|
| |
|
| |
|
|
|
|
|
| |
* src/roff/troff/node.cpp (make_glyph_node): Improve warning message
for single-letter glyph names.
|
|
|
|
|
|
|
| |
for -mm.
* tmac/hyphen.sv: New hyphenation pattern file for Swedish, taken
from CTAN.
* tmac/README: Updated.
|
| |
|
|
|
|
|
|
| |
* tmac/fr.tmac: Add French translations.
* tmac/composite.tmac: Add entry for `:'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(install_html, uninstall_sub): Updated.
Introduce Unicode fonts.
* font/devhtml/DESC.proto: Mark as unicode. font/devhtml/R.proto: Remove all
* charset entries that are already
in glyphuni.cpp. font/devutf8/DESC.proto: Mark as unicode.
* font/devutf8/R.proto: Remove all charset entries. src/include/font.h
* (font): New static field `is_unicode'.
Change order of fields. src/libs/libgroff/font.cpp: Include unicode.h.
* (font::font): Update for
changed order of fields. (font::contains, font::get_width, font::get_height,
font::get_depth, font::get_italic_correction,
font::get_left_italic_correction, font::get_subscript_correction,
font::get_character_type, font::get_code,
font::get_special_device_encoding): Handle both the explicitly enumerated
glyphs and use general code for Unicode fonts. (font::load): Make the
charset section optional when the font is declared unicode.
(font::load_desc): Recognize the `unicode' attribute.
* src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.sub: Add DESTDIR to install and uninstall targets
to support staged installations.
* Makefile.comm: Likewise.
* doc/Makefile.sub: Likewise.
* contrib/eqn2graph/Makefile.sub: Likewise.
* contrib/gdiffmk/Makefile.sub: Likewise.
* contrib/grap2graph/Makefile.sub: Likewise.
* contrib/pic2graph/Makefile.sub: Likewise.
* src/devices/xditview/Makefile.sub: Likewise.
* src/preproc/eqn/Makefile.sub: Likewise.
* src/roff/grog/Makefile.sub: Likewise.
* src/roff/nroff/Makefile.sub: Likewise.
* src/utils/afmtodit/Makefile.sub: Likewise.
* src/utils/indxbib/Makefile.sub: Likewise.
* tmac/Makefile.sub: Likewise.
|
|
|
|
| |
staged installations.
|
|
|
|
| |
to support staged installations.
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Removed #ADD_BREAK register from FOOTNOTE and ENDNOTE, along with
the routines it invoked
o Added an optional argument, BREAK, to FOOTNOTE OFF and ENDNOTE
OFF, for correct and flexible handling of punctuation and
continued lines when FOOTNOTE or ENDNOTE are called while nofill
mode is active.
o Created an alias for .so, INCLUDE.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
for \-.
Remove commented out entries for \' and \` (there are no such glyph
names).
* src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
commented out entries for \' and \`.
* */*: s/legal/valid/ where appropriate.
|
| |
|
| |
|
|
|
|
| |
and \` entries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
entry for `shc'.
* font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc'
entry with unnamed glyph.
* tmac/html/tmac: Remove `shc' entry from call to `.cflags'.
* src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD
specially.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/include/font.h (struct glyph): Remove class.
(struct glyph): Renamed from struct glyphinfo.
(glyph_to_index): New inline function.
(glyph_to_name): Make extern, not inline.
(glyph_to_number): Update.
(font): Use `glyph *' instead of `glyph'.
* src/libs/libgroff/nametoindex.cpp (charinfo): Inherit from class
`glyph'. Make `name' field public.
(character_indexer, number_to_glyph, name_to_glyph): Use `glyph *'
instead of `glyph'.
(glyph_to_name): Renamed from `glyph::glyph_name'.
* src/roff/troff/charinfo.h (charinfo): Inherit from class `glyph'.
Use `glyph *' instead of `glyph'.
* src/roff/troff/input.cpp (name_to_glyph, number_to_glyph): Use
`glyph *' instead of `glyph'.
(glyph_to_name): Renamed from `glyph::glyph_name'.
* src/libs/libgroff/font.cpp: Use `glyph *' instead of `glyph',
and `glyph_to_index' instead of `glyph::glyph_index'.
* src/include/printer.h (printer): Use `glyph *' instead of `glyph'.
* src/libs/libdriver/printer.cpp: Likewise.
* src/devices/grodvi/dvi.cpp: Likewise.
* src/devices/grohtml/post-html.cpp: Likewise.
* src/devices/grolbp/lbp.cpp: Likewise.
* src/devices/grolj4/lj4.cpp: Likewise.
* src/devices/grops/ps.cpp: Likewise.
* src/devices/grotty/tty.cpp: Likewise.
|
| |
|
|
|
|
| |
for `sqrt'.
|
|
|
|
| |
* font/devdvi/*TC: Regenerated.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
methods and fields from *_index to *_glyph.
(character_indexer::named_char_glyph): Test for `charNNN' name
here...
(name_to_glyph): ... not here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
font::name_to_index.
(number_to_glyph): Renamed from font::number_to_index.
(glyph_to_name): Renamed from font::index_to_name.
(glyph_to_number): Renamed from font::index_to_number.
* src/libs/libgroff/nametoindex.cpp: Likewise.
* src/roff/troff/charinfo.h (charinfo::as_glyph): Renamed from
charinfo::get_index.
* src/roff/troff/input.cpp: All callers changed.
* src/roff/troff/node.cpp: Likewise.
* src/libs/libgroff/font.cpp: Likewise.
* src/devices/grops/ps.cpp: Likewise.
* src/devices/grohtml/post-html.cpp: Likewise.
* src/libs/libdriver/printer.cpp: Likewise.
|
|
|
|
|
| |
(NEXT_PTABLE_SIZE_DEFINED): Use it to avoid multiple declaration
of external symbol `next_ptable_size' (used by both header files).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(struct glyph): Change internal representation.
Change constructor signature.
New method glyph::glyph_number().
(glyph::glyph, glyph glyph::undefined_glyph, glyph::glyph_index,
glyph::operator==, glyph::operator!=): Update.
(font::index_to_name, font::index_to_number): New functions.
* src/include/itable.h: New file, based on src/include/ptable.h.
* src/libs/libgroff/nametoindex.cpp: Include itable.h.
(class charinfo): New class.
(class character_indexer): Change table result type from `int' to
`class charinfo'.
Add table with integer key.
(character_indexer::character_indexer): Update.
(character_indexer::ascii_char_index): Update.
(character_indexer::numbered_char_index): Use NULL as name, not a
string starting with a space.
(character_indexer::named_char_index): Update.
(font::number_to_index, font::name_to_index): Remove no-op cast.
(glyph::glyph_name): New method.
* src/roff/troff/charinfo.h (class charinfo): Inherit from class
glyphinfo.
(NUMBERED): Remove flag bit.
(charinfo::numbered, charinfo::get_index): Update.
* src/roff/troff/input.cpp (charinfo::charinfo): Update.
(charinfo::set_number, charinfo::get_number): Update.
(glyph::glyph_name): New method.
|
|
|
|
| |
entries for `>>', `<<', `*f', and `+f'. Reported by Bruno.
|
| |
|
| |
|
|
|
|
| |
dvips.
|
|
|
|
|
|
|
| |
Update all callers.
* src/devices/grotty/tty.cpp: s/glyph/tty_glyph/.
s/output_character_t/output_character/.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/include/ptable.h (declare_ptable): Add a return value to the
'define' method, and declare a 'lookupassoc' method.
(implement_ptable): Return the stored key in 'define'. Implement
lookupassoc.
* src/include/font.h (glyph_t): Add 'name' field. Add an argument to
the constructor.
(glyph_t::glyph_name): New method.
* src/libs/libgroff/nametoindex.cpp (character_indexer): Change
return type of methods and field member type to glyph_t.
(character_indexer::character_indexer): Update.
(character_indexer::ascii_char_index): Allocate a name for the glyph.
Return a glyph_t with name.
(character_indexer::numbered_char_index): Return a glyph_t without a
name.
(character_indexer::named_char_index): Return a glyph_t with a name.
(font::number_to_index, font::name_to_index): Update.
* src/roff/troff/input.cpp (charinfo::charinfo): Use the symbol as
the glyph's name.
|
|
|
|
|
|
| |
(tty_printer::make_bold, tty_printer::add_char, tty_printer::put_char):
Change argument type to output_character_t.
(crossings): Change element type to output_character_t.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/include/font.h (glyph_t): New class.
(name_to_index, number_to_index): Change return type to glyph_t.
(font::contains, font::get_width, font::get_height, font::get_depth,
font::get_character_type, font::get_kern, font::get_skew,
font::get_italic_correction, font::get_left_italic_correction,
font::get_subscript_correction, font::get_code,
font::get_special_device_encoding, font::add_entry, font::copy_entry,
font::add_kern, font::hash_kern): Change argument type to glyph_t.
* src/libs/libgroff/font.cpp (struct font_kern_list): Change members
type and constructor argument types to glyph_t.
(font::contains, font::get_width, font::get_height, font::get_depth,
font::get_character_type, font::get_kern, font::get_skew,
font::get_italic_correction, font::get_left_italic_correction,
font::get_subscript_correction, font::get_code,
font::get_special_device_encoding, font::add_entry, font::copy_entry,
font::add_kern, font::hash_kern): Change argument type to glyph_t.
(font::load): Use glyph_t variables.
* src/libs/libgroff/nametoindex.cpp (name_to_index, number_to_index):
Change return type to glyph_t.
* src/roff/troff/charinfo.h (charinfo::index): Change type to glyph_t.
(charinfo::get_index): Change return type to glyph_t.
* src/roff/troff/env.cpp: Include font.h.
* src/roff/troff/node.cpp: Include font.h before charinfo.h.
* src/roff/troff/input.cpp: Include font.h before charinfo.h.
(charinfo::charinfo): Update.
(name_to_index, number_to_index): Change return type to glyph_t.
* src/include/printer.h (printer::set_char_and_width): Change return
type to glyph_t.
* src/libs/libdriver/printer.cpp (printer::set_char_and_width): Change
return type to glyph_t.
* src/devices/grodvi/dvi.cpp (dvi_printer::set_char): Change argument
type to glyph_t.
* src/devices/grohtml/post-html.cpp (page::add_and_encode): Update.
(html_printer::space_glyph): Renamed from space_char_index.
(html_printer::add_to_sbuf, html_printer::sbuf_continuation,
html_printer::overstrike, html_printer::set_char): Change argument type
to glyph_t.
(html_printer::set_char_and_width): Change return type to glyph_t.
* src/devices/grolbp/lbp.cpp (lbp_printer::set_char): Change argument
type to glyph_t.
* src/devices/grolj4/lj4.cpp (lj4_printer::set_char): Change argument
type to glyph_t.
* src/devices/grops/ps.cpp (ps_printer::space_glyph): Renamed from
space_char_index.
(ps_printer::set_subencoding, ps_printer::set_char): Change argument
type to glyph_t.
* src/devices/grotty/tty.cpp (tty_printer::set_char): Change argument
type to glyph_t.
|
|
|
|
|
|
| |
negative value.
* src/libs/libgroff/font.cpp (font::load): Remove failure tests for
font::name_to_index.
|
|
|
|
|
| |
interpolated.
Apply some rephrasing, contributed by Michael Burt.
|
| |
|
| |
|
| |
|
|
|
|
| |
* man/groff_tmac.man: Mention fr.tmac.
|
|
|
|
|
|
|
|
|
|
|
| |
me, ms, mom) to different locales. In particular, add support for
French. For activation, simply use `-mfr' as the last macro
package. This feature has been contributed by Fabrice Ménard
<menard.fabrice@wanadoo.fr>.
* tmac/fr.tmac, tmac/trans.tmac, tmac/hyphen.fr: New files.
* tmac/README: Mention hyphen.fr.
* NEWS: Updated.
|
|
|
|
| |
pages in PRINTSTYLE TYPEWRITE.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid future tense.
* font/devhtml/R.proto: Remove the entity names from the font's
special_encoding_encoding column.
* src/devices/grohtml/post-html.cpp (get_html_entity): New function,
handling the entity names here.
(get_html_translation): Use it. Change return type to 'const
char *'.
(page::add_and_encode): Update, removing a useless cast.
|
| |
|