summaryrefslogtreecommitdiff
path: root/tmac/cp1047.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-03-10 21:51:48 +0000
committerwlemb <wlemb>2003-03-10 21:51:48 +0000
commite5a5511bec4711ad70aee2b3dcc294140951969b (patch)
tree9ba89516146f0df01cdd17ace839f95730a60b68 /tmac/cp1047.tmac
parent7726b20550a3a3a64f6c0dbc9140877be153ca84 (diff)
downloadgroff-e5a5511bec4711ad70aee2b3dcc294140951969b.tar.gz
* tmac/an-old.tmac: Use register `HY' to control hyphenation.
* 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.
Diffstat (limited to 'tmac/cp1047.tmac')
-rw-r--r--tmac/cp1047.tmac192
1 files changed, 94 insertions, 98 deletions
diff --git a/tmac/cp1047.tmac b/tmac/cp1047.tmac
index 125f3115..84135f02 100644
--- a/tmac/cp1047.tmac
+++ b/tmac/cp1047.tmac
@@ -2,104 +2,100 @@
.\"
.nr _C \n(.C
.cp 0
-.de cp1047-tr
-. if c\\$2 .if !c\\$1 .trin \\$1\\$2
-..
-.
-.cp1047-tr \[char66] \[^a]
-.cp1047-tr \[char67] \[:a]
-.cp1047-tr \[char68] \[`a]
-.cp1047-tr \[char69] \['a]
-.cp1047-tr \[char70] \[~a]
-.cp1047-tr \[char71] \[oa]
-.cp1047-tr \[char72] \[,c]
-.cp1047-tr \[char73] \[~n]
-.cp1047-tr \[char74] \[ct]
-.cp1047-tr \[char81] \['e]
-.cp1047-tr \[char82] \[^e]
-.cp1047-tr \[char83] \[:e]
-.cp1047-tr \[char84] \[`e]
-.cp1047-tr \[char85] \['i]
-.cp1047-tr \[char86] \[^i]
-.cp1047-tr \[char87] \[:i]
-.cp1047-tr \[char88] \[`i]
-.cp1047-tr \[char89] \[ss]
-.cp1047-tr \[char98] \[^A]
-.cp1047-tr \[char99] \[:A]
-.cp1047-tr \[char100] \[`A]
-.cp1047-tr \[char101] \['A]
-.cp1047-tr \[char102] \[~A]
-.cp1047-tr \[char103] \[oA]
-.cp1047-tr \[char104] \[,C]
-.cp1047-tr \[char105] \[~N]
-.cp1047-tr \[char106] \[bb]
-.cp1047-tr \[char112] \[/o]
-.cp1047-tr \[char113] \['E]
-.cp1047-tr \[char114] \[^E]
-.cp1047-tr \[char115] \[:E]
-.cp1047-tr \[char116] \[`E]
-.cp1047-tr \[char117] \['I]
-.cp1047-tr \[char118] \[^I]
-.cp1047-tr \[char119] \[:I]
-.cp1047-tr \[char120] \[`I]
-.cp1047-tr \[char128] \[/O]
-.cp1047-tr \[char138] \[Fo]
-.cp1047-tr \[char139] \[Fc]
-.cp1047-tr \[char140] \[Sd]
-.cp1047-tr \[char141] \['y]
-.cp1047-tr \[char142] \[Tp]
-.cp1047-tr \[char143] \[t+-]
-.cp1047-tr \[char144] \[de]
-.cp1047-tr \[char154] \[Of]
-.cp1047-tr \[char155] \[Om]
-.cp1047-tr \[char156] \[ae]
-.cp1047-tr \[char157] \[ac]
-.cp1047-tr \[char158] \[AE]
-.cp1047-tr \[char159] \[Cs]
-.cp1047-tr \[char160] \[mc]
-.cp1047-tr \[char170] \[r!]
-.cp1047-tr \[char171] \[r?]
-.cp1047-tr \[char172] \[-D]
-.cp1047-tr \[char174] \[TP]
-.cp1047-tr \[char175] \[rg]
-.cp1047-tr \[char176] \[tno]
-.cp1047-tr \[char177] \[Po]
-.cp1047-tr \[char178] \[Ye]
-.cp1047-tr \[char179] \[pc]
-.cp1047-tr \[char180] \[co]
-.cp1047-tr \[char181] \[sc]
-.cp1047-tr \[char182] \[ps]
-.cp1047-tr \[char183] \[14]
-.cp1047-tr \[char184] \[12]
-.cp1047-tr \[char185] \[34]
-.cp1047-tr \[char186] \['Y]
-.cp1047-tr \[char187] \[ad]
-.cp1047-tr \[char188] \[a-]
-.cp1047-tr \[char190] \[aa]
-.cp1047-tr \[char191] \[tmu]
+.trin \[char66]\[^a]
+.trin \[char67]\[:a]
+.trin \[char68]\[`a]
+.trin \[char69]\['a]
+.trin \[char70]\[~a]
+.trin \[char71]\[oa]
+.trin \[char72]\[,c]
+.trin \[char73]\[~n]
+.trin \[char74]\[ct]
+.trin \[char81]\['e]
+.trin \[char82]\[^e]
+.trin \[char83]\[:e]
+.trin \[char84]\[`e]
+.trin \[char85]\['i]
+.trin \[char86]\[^i]
+.trin \[char87]\[:i]
+.trin \[char88]\[`i]
+.trin \[char89]\[ss]
+.trin \[char98]\[^A]
+.trin \[char99]\[:A]
+.trin \[char100]\[`A]
+.trin \[char101]\['A]
+.trin \[char102]\[~A]
+.trin \[char103]\[oA]
+.trin \[char104]\[,C]
+.trin \[char105]\[~N]
+.trin \[char106]\[bb]
+.trin \[char112]\[/o]
+.trin \[char113]\['E]
+.trin \[char114]\[^E]
+.trin \[char115]\[:E]
+.trin \[char116]\[`E]
+.trin \[char117]\['I]
+.trin \[char118]\[^I]
+.trin \[char119]\[:I]
+.trin \[char120]\[`I]
+.trin \[char128]\[/O]
+.trin \[char138]\[Fo]
+.trin \[char139]\[Fc]
+.trin \[char140]\[Sd]
+.trin \[char141]\['y]
+.trin \[char142]\[Tp]
+.trin \[char143]\[t+-]
+.trin \[char144]\[de]
+.trin \[char154]\[Of]
+.trin \[char155]\[Om]
+.trin \[char156]\[ae]
+.trin \[char157]\[ac]
+.trin \[char158]\[AE]
+.trin \[char159]\[Cs]
+.trin \[char160]\[mc]
+.trin \[char170]\[r!]
+.trin \[char171]\[r?]
+.trin \[char172]\[-D]
+.trin \[char174]\[TP]
+.trin \[char175]\[rg]
+.trin \[char176]\[tno]
+.trin \[char177]\[Po]
+.trin \[char178]\[Ye]
+.trin \[char179]\[pc]
+.trin \[char180]\[co]
+.trin \[char181]\[sc]
+.trin \[char182]\[ps]
+.trin \[char183]\[14]
+.trin \[char184]\[12]
+.trin \[char185]\[34]
+.trin \[char186]\['Y]
+.trin \[char187]\[ad]
+.trin \[char188]\[a-]
+.trin \[char190]\[aa]
+.trin \[char191]\[tmu]
.\" The soft-hyphen character is only an input character
.tr \[char202]\%
-.cp1047-tr \[char203] \[^o]
-.cp1047-tr \[char204] \[:o]
-.cp1047-tr \[char205] \[`o]
-.cp1047-tr \[char206] \['o]
-.cp1047-tr \[char207] \[~o]
-.cp1047-tr \[char218] \[S1]
-.cp1047-tr \[char219] \[^u]
-.cp1047-tr \[char220] \[:u]
-.cp1047-tr \[char221] \[`u]
-.cp1047-tr \[char222] \['u]
-.cp1047-tr \[char223] \[:y]
-.cp1047-tr \[char225] \[tdi]
-.cp1047-tr \[char234] \[S2]
-.cp1047-tr \[char235] \[^O]
-.cp1047-tr \[char236] \[:O]
-.cp1047-tr \[char237] \[`O]
-.cp1047-tr \[char238] \['O]
-.cp1047-tr \[char239] \[~O]
-.cp1047-tr \[char250] \[S3]
-.cp1047-tr \[char251] \[^U]
-.cp1047-tr \[char252] \[:U]
-.cp1047-tr \[char253] \[`U]
-.cp1047-tr \[char254] \['U]
+.trin \[char203]\[^o]
+.trin \[char204]\[:o]
+.trin \[char205]\[`o]
+.trin \[char206]\['o]
+.trin \[char207]\[~o]
+.trin \[char218]\[S1]
+.trin \[char219]\[^u]
+.trin \[char220]\[:u]
+.trin \[char221]\[`u]
+.trin \[char222]\['u]
+.trin \[char223]\[:y]
+.trin \[char225]\[tdi]
+.trin \[char234]\[S2]
+.trin \[char235]\[^O]
+.trin \[char236]\[:O]
+.trin \[char237]\[`O]
+.trin \[char238]\['O]
+.trin \[char239]\[~O]
+.trin \[char250]\[S3]
+.trin \[char251]\[^U]
+.trin \[char252]\[:U]
+.trin \[char253]\[`U]
+.trin \[char254]\['U]
.cp \n(_C