summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * font/devps/generate/make-zapfdr: New script for generatingwl2006-03-092-0/+96
| | | | `zapfdr.ps'.
* Incorporate portability recommendations by Ralf Wildenhueskeithmarshall2006-03-094-16/+151
| | | | | | | | | | | | | | | | | | | | | | | <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]*'.
* Fix URLs for Adobe's documentation files.wl2006-03-085-6/+6
|
* * doc/groff.css (pre): Fix `background-color' value.wl2006-03-082-1/+5
|
* * tmac/groff_ms.man: Document PT, HD, and BT.wl2006-03-054-6/+33
| | | | | * src/roff/troff/node.cpp (make_glyph_node): Improve warning message for single-letter glyph names.
* * tmac/sv.tmac: New file; currently holding only the Swedish stringswl2006-03-034-0/+4918
| | | | | | | for -mm. * tmac/hyphen.sv: New hyphenation pattern file for Swedish, taken from CTAN. * tmac/README: Updated.
* * mse.tmac: Remove common Swedish strings and load sv.tmac instead.wl2006-03-037-63/+21
|
* * tmac/trans.tmac (Liec, Letdate, Letns!14): Add it (for -mm).wl2006-02-284-0/+14
| | | | | | * tmac/fr.tmac: Add French translations. * tmac/composite.tmac: Add entry for `:'.
* * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable. (CLEANADD): Use it.wl2006-02-269-1719/+380
| | | | | | | | | | | | | | | | | | | | | | | | (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.in: Add comment about DESTDIR.wl2006-02-2618-159/+211
| | | | | | | | | | | | | | | | | | * 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.
* o Makefile.sub: Add DESTDIR to install and uninstall targets to supportwl2006-02-262-17/+26
| | | | staged installations.
* * Makefile.sub: Add DESTDIR to install and uninstall targetswl2006-02-266-50/+71
| | | | to support staged installations.
* o Removed superfluous "if" from FONT, line 492wl2006-02-257-112/+294
| | | | | | | | | | | | 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.
* Wrap .trf example with calls to .ev.wl2006-02-251-0/+6
|
* Typo. Found by Thomas Klausner.wl2006-02-251-1/+1
|
* * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entrywl2006-02-2421-55/+67
| | | | | | | | | | | | 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.
* Add comments from Bruno.wl2006-02-231-0/+8
|
* *** empty log message ***wl2006-02-231-52/+0
|
* * font/devhtml/R.proto, font/devutf8/R.proto: Remove incorrect \'wl2006-02-234-6/+71
| | | | and \` entries.
* Remove all remaining traces from the `shc' glyph.wl2006-02-237-14/+40
| | | | | | | | | | | | | | * 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.
* Concretize the glyph datatype.wl2006-02-2314-187/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* add commentwl2006-02-221-0/+3
|
* * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entrywl2006-02-222-1/+4
| | | | for `sqrt'.
* * font/devdvi/generate/tc.map: Add `sr' glyph.wl2006-02-2212-10/+16
| | | | * font/devdvi/*TC: Regenerated.
* more info w.r.t. `***'.wl2006-02-221-1/+2
|
* * man/groff_char.man: Explain `***' marker.wl2006-02-222-1/+9
|
* typo. Found by Andrew Galante.wl2006-02-201-3/+3
|
* typoswl2006-02-201-4/+4
|
* * src/libs/libgroff/nametoindex.cpp (character_indexer): Renamewl2006-02-172-41/+58
| | | | | | | methods and fields from *_index to *_glyph. (character_indexer::named_char_glyph): Test for `charNNN' name here... (name_to_glyph): ... not here.
* * src/include/font.h (name_to_glyph): Renamed fromwl2006-02-1710-77/+90
| | | | | | | | | | | | | | | | | 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.
* * src/include/ptable.h, src/include/itable.hwl2006-02-173-0/+211
| | | | | (NEXT_PTABLE_SIZE_DEFINED): Use it to avoid multiple declaration of external symbol `next_ptable_size' (used by both header files).
* * src/include/font.h (struct glyphinfo): New class.wl2006-02-175-54/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Fixwl2006-02-142-5/+12
| | | | entries for `>>', `<<', `*f', and `+f'. Reported by Bruno.
* Add comment for `sqrt' glyph (which doubles `sr').wl2006-02-141-1/+2
|
* Typo. From Bruno.wl2006-02-141-1/+1
|
* * font/devps/prologue.ps (RE): Check `UniqueID' also, similar towl2006-02-142-1/+9
| | | | dvips.
* * src/include/font.h: s/glyph_t/glyph/.wl2006-02-1118-296/+333
| | | | | | | Update all callers. * src/devices/grotty/tty.cpp: s/glyph/tty_glyph/. s/output_character_t/output_character/.
* New accessor method glyph_t::glyph_name().wl2006-02-115-30/+100
| | | | | | | | | | | | | | | | | | | | | * 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.
* * src/devices/grotty/tty.cpp (output_character_t): New type.wl2006-02-112-15/+18
| | | | | | (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.
* Make the glyph data type abstract.wl2006-02-1116-249/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * src/roff/troff/input.cpp (font::name_to_index): Never return awl2006-02-113-19/+12
| | | | | | negative value. * src/libs/libgroff/font.cpp (font::load): Remove failure tests for font::name_to_index.
* * doc/groff.texinfo (Assigning Formats): Number registers are alwayswl2006-02-112-28/+31
| | | | | interpolated. Apply some rephrasing, contributed by Michael Burt.
* * tmac/fr.tmac <ms>: Set `HY' register.wl2006-02-072-0/+6
|
* typowl2006-02-071-1/+1
|
* Always load the file.wl2006-02-071-3/+0
|
* * tmac/LOCALIZATION: New file.wl2006-02-073-4/+80
| | | | * man/groff_tmac.man: Mention fr.tmac.
* Add framework for simple adaptation of the main macro packages (mm,wl2006-02-076-6/+1684
| | | | | | | | | | | 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.
* o Small fix to handling of underlining of italic text spanningwl2006-02-042-6/+15
| | | | pages in PRINTSTYLE TYPEWRITE.
* * man/groff_font.man: Updated documentation of `entity_name' field.wl2006-01-284-631/+908
| | | | | | | | | | | | | 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.
* Minor doc improvement. From Bruno.wl2006-01-261-6/+8
|