summaryrefslogtreecommitdiff
path: root/tmac/X.tmac
Commit message (Collapse)AuthorAgeFilesLines
* * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,wlemb2003-12-221-0/+5
| | | | | | | | | | | | | | | | | and u0049_0307. Add missing latin-2 glyphs. * font/devutf8/R.proto: Add missing latin-2 glyphs. * tmac/troffrc: Load `composite.tmac' earlier. * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306, u00{53,73}_0327, and u0049_0307. * tmac/X.tmac: Add u00{47,67}_0306. * tmac/tty-char.tmac: Use composite glyph names for readability. * NEWS: Updated. * src/include/unicode.h: Remove `extern' keywords.
* * tmac/X.tmac: Fix definition of `em'.wlemb2003-05-221-1/+1
|
* Add options -p and -l to grodvi.wlemb2003-03-141-2/+0
| | | | | | | | | | | | | | | | | | | | * 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.
* * tmac/an-old.tmac: Use register `HY' to control hyphenation.wlemb2003-03-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Valgrind fixes.wlemb2003-02-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/devices/grohtml/html-table.cc (html_table::~html_table): Deallocate `columns' list. * src/devices/grohtml/post-html.cc (char_block::~char_block): New destructor. (text_glob::text_glob_html, text_glob::text_glob_special, text_glob::text_glob_line, text_glob::text_glob_auto_image, text_glob::text_glob_tag): Avoid memory leaks. (text_glob::remember_table): Free memory before reassigning. Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the alias `hbar'), the Planck constant over two pi. * font/devdvi/generate/texmi.map: Use `*e' for position 15 and `+e' for position 34. * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with `u2662' and `u2661'. * font/devdvi/{MI,S}: Regenerated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'. * font/devlbp/*: Add `hbar' alias. * font/devlj4/generate/special.map: Ditto. * font/devlj4/S: Regenerated. * font/devps/generate/symbolchars: Add `+e'. * font/devps/generate/textmap: Fix PS name for `-h'. Add `hbar' alias. * font/devps/symbolmap: Regenerated. * src/devices/grops/ps.cc (transform_fill): Removed since unused. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e', `-h', `hbar'. * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e', `-h'. * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and `hbar'. * tmac/tty-char.tmac: Add `+e'.
* Similar to \[is], the square root glyph (\[sr]) and the square rootwlemb2003-01-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.wlemb2003-01-021-0/+2
| | | | | | | | | | | | | | | | | | * font/devps/textmap: Fix entries for `ne' and `nc'. * font/devps/symbolmap: Regenerated. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list), src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18', `38', `58', `78', `-+', `|=', `nc', `ne'. * tmac/dvi.tmac: Add `nm', `ne', `nc'. Use `schar' for `aq'. * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'. * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'. * tmac/tty.tmac: Add `ne'. * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro' for fallback glyphs.
* Add glyph `|='.wlemb2002-12-301-0/+1
| | | | | | | | | | | | | | | | | | | * font/devX*/*: Regenerated. * font/devdvi/generate/ec.map: Remove `eq'. * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'. Assign `|=' to position 39. * font/devdvi/*EC, S: Regenerated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='. * font/devlj4/generate/special.map: Make `~=' the same as `~~'. Assign `|=' to position 549. * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove `equalmath'. Add `uni2243' for `|='. * tmac/ec.tmac: Add `eq'. * tmac/dvi.tmac: Add `=~'. * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add `|='.
* * font/devdvi/generate/tc.map: Remove `**'.wlemb2002-12-221-0/+3
| | | | | | | | | | | | | | | | | | * font/devdvi/*TC: Regenerated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58', `78', `<<', `>>'. * font/devutf8/NOTES: Updated. * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function. Don't give default parameter to `set_macro'. * src/roff/troff/input.cc (do_define_character): Use `setx_macro' instead of `set_macro'. (charinfo::setx_macro): Implement it. (charinfo::set_macro): Don't change `mode'. * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'. * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'. * tmac/dvi.tmac: Define `!=' with `.schar'.
* * font/devX*/S: Regenerated.wlemb2002-12-211-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * font/devdvi/generate/ec.map: Remove `pl'. * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'. * font/devdvi/*{TC,EC}: Regenerated. * font/devhtml/R.proto: Add `-+'. Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'. * font/devlbp/*: Remove `or'. * font/devlj4/generate/special.map: Remove `or'. * font/devlj4/S: Regenerated. * font/devps/generate/textmap: Add `fiveeighths', `oneeighth', `seveneighths', `threeeighths'. Remove `plusmath'. Replace `minusplus' with `uni2213'. * font/devps/symbolmap: Regenerated. * font/devutf8/R.proto: Replace `shc' with unnamed glyph. Add `-+'. * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline function. * src/roff/troff/node.cc (troff_output_file::put_char_width): Call glyph_color and fill_color even if tcommand_flag isn't set. (make_node, node::add_char): Check not ci->is_fallback but ci->is_normal. * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'. * tmac/ec.tmac: Add remove entry for `f/'. Don't remove `12', `14', `34'. Define `pl' to be always roman. * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros. Define `18', `38', `58', `78'. * tmac/tty.tmac: Add `-+'. * tmac/dvi.tmac: Define `f/'. (dvi-frac): Use `f/'. * tmac/X.tmac (X-frac, X-frac-mono): New macros. Define `18', `38', `58', `78'.
* Add glyph `tno', a textual variant of `no'.wlemb2002-12-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * font/devX*/*: Regenerated. * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'. * font/devdvi/generate/{tc.map: Replace `no' with `tno'. * font/devdvi/generated/{texsy,textex}.map: Add `tno'. * font/devdvi/*: Regenerated. * font/devlbp/*: Add `tno'. * font/devlj4/generate/tex.map: Replace `no' with `tno'. * font/devlj4/*: Regenerated. * font/devps/generate/textmap: Replace `no' with `tno'. * font/devps/generate/symbolchars: Add `no'. * font/devps/*: Regenerated. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'. * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'. * tmac/tty-char.tmac: Add entry for `tno' and `3d'. * NEWS: Updated. * tmac/dvi.tmac: Replace most `\\' with `\E'. Add definition for `sd'. * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'. * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
* Add PS font for various Euro glyphs.wlemb2002-12-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * font/devps/generate/freeeuro.sfd: New master font file for pfaedit. * font/devps/generate/sfdtopfa.pe: New conversion script for pfaedit. * font/devps/generate/Makefile (FONTS): Add `EURO'. (EURO, freeeuro.afm, freeeuro.pfa): New rules. * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from `freeeuro.sfd'. * font/devps/EURO: Generated from `freeeuro.afm'. * font/devps/download: Add `freeuro.pfa'. * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and `freeeuro.pfa'. * tmac/europs.tmac: New file. * tmac/ps.tmac: Include `europs.tmac'. * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'. * font/devdvi/generate/texsy.map: Remove `lh' and `rh'. * font/devdvi/S: Regenerated. * font/devhtml/R.proto: Fix `CR' and `ci'. Add `OK'. * font/devps/generate/textmap: Fix `lh', `rh', and `sq'. Remove `bs'. * font/devps/symbolmap: Regenerated. * font/devutf8/R.proto: Fix `CR' and `ci'. Add `OK'. * font/devutf8/NOTES: Updated. * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and `ci'. Add `OK'. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto. * tmac/dvi.tmac: Add `lh' and `rh'. * tmac/Xps.tmac: Fix `lh' and `rh'. * tmac/X.tmac: Add `OK'. * tmac/lj4.tmac: Ditto.
* * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'wlemb2002-11-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | and `vA'. Fix code for `an'. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto. * doc/texinfo.tex: New version from texinfo 4.3. * doc/groff.texinfo: Updated for texinfo 4.3. Use @tie{} where appropriate. * font/devdvi/generate/ec.map: Don't include `or' and `bv'. * font/devdvi/generate/tc.map: Remove `rn'. * font/devdvi/*TC, font/devdvi/*EC: Regenerated. * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'. Fix code for `an'. * font/devX100/*, font/devX100-12/*, font/devX75/*, font/devX75-12/*: Regenerated. * tmac/dvi.tmac: Add special fonts `SA' and `SB'. Use .char (again) for `br', `ul', `rn', `or', and `ru'. Improve definition of `an'. * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and `ru'. * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'. * tmac/X.tmac: Add definition for `or'. * tmac/Xps.tmac: Undo change 2002-11-05. * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
* Added new font `SC' (cmtex10) to devdvi.wlemb2002-11-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * devdvi/generate/Makefile (FONTS): Add `SC'. (SC): New rule. * devdvi/generate/textex.map: New map file for cmtex. * devdvi/SC: New. * devdvi/Makefile.sub (DEVFILES): Updated. * tmac/dvi.tmac: Add fspecial entries for SC. Add `MI', `S' and `CW' to the `special' call. Otherwise, `SC' is found before `S' since the font position of `SC' is lower due to the gaps in DESC's `font' line. * tmac/ec.tmac: Add a `special' call. * NEWS: Updated. * font/devhtml/R.proto: Remove double entry for `ti'. * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'. * tmac/tty-char.tmac: Remove entry for `bq'. * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'. * tmac/ec.tmac: Don't remove `aq' glyph. * tmac/X.tmac: Fix entry for `em'. Add entries for `fo' and `fc'. * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'. * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix documentation of `special' and `fspecial' requests.
* * font/devascii/R.proto, font/devcp1047/R.proto,wlemb2002-11-071-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | font/devlatin1/R.proto: Remove entry for `.i'. * font/devdvi/generate/textt.map: Add entry for `ad'. * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map, font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'. We need this for getting kerning values to compose `/l' and `/L'. * font/devdvi: Regenerated font definition files for CM fonts. * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'. * font/devutf8/R.proto: Ditto. Remove double entry for `ti'. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries for (groff) ligatures, `la', and `ra'. Add "'C", "'c", `IJ', and `ij'. Remove double entry for `ti'. * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all double entries. Add "'C", "'c", `IJ', and `ij'. Fix entries for (groff) ligatures, `la', and `ra'. * tmac/ps.tmac (ps-achar): New macro. Define "'c" and "'C". * tmac/tty.tmac: Add entry for `.i'. * tmac/X.tmac (X-achar): New macro. Define "'c", "'C", and `:Y'. Add entries for `IJ' and `ij'. * tmac/Xps.tmac (Xps-achar): New macro. Define "'c" and "'C". Add entries for `IJ' and `ij'. * tmac/lbp.tmac (lbp-achar): New macro. Add fallback characters for all groff ligatures and many other glyphs. * tmac/dvi.tmac: Fix definitions of `_' and `ul'. Add entries for `/l' and `/L'. Define "'c" and "'C". Add entries for `IJ' and `ij'.
* * doc/groff.texinfo: Minor improvements.wlemb2002-04-071-0/+7
| | | | | | | * tmac/lbp.tmac: Load latin1.tmac. * tmac/X.tmac, tmac/Xps.tmac: Load latin1.tmac or cp1047.tmac. * font/devX*/*: Regenerated (all chars > 0x80 removed).
* * tmac/dvi.tmac, tmac/X.tmac: Replace `.char' with `.fchar'.wlemb2002-03-241-34/+36
| | | | | | | | * tmac/ec.tmac: Remove `.rchar' calls (no longer necessary since we use `.fchar' in dvi.tmac. * tmac/Xps.tmac: Simplify some char definitions. Add definition for \[f/]. * man/groff_char.man: Updated for new X.tmac.
* Convert macros `tmac.XXX' to `XXX.tmac'. Special cases:wlemb2000-10-261-0/+48
tmac.doc.old -> doc-old.tmac tmac.an.old -> an-old.tmac * tmac/tmac.*: Moved to ... * tmac/*.tmac: this. * tmac/man.local: Fix comment. * tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man, tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated. Added some `FILES' sections. More use of @...@ directives. Other minor updates. * arch/djgpp/README, font/devutf8/NOTES: Updated. * doc/homepage.ms, doc/groff.texinfo: Updated. * man/groff.man, man/roff.man: Updated. * src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man, src/devices/grops/grops.man, src/devices/grotty/grotty.man: Updated. * src/preproc/pic/pic.man: Updated. * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old instead of -mdoc.old. * src/roff/grog/grog.man: Document -mdoc and -mdoc-old. * src/roff/nroff/nroff.man: Updated. * NEWS: Updated. * tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment. * tmac/mm.diff: Removed -- it has no use now since the mm package is part of groff. * tmac/*: Removed trailing spaces. * arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac subdirectory also).