summaryrefslogtreecommitdiff
path: root/font/devhtml/R.proto
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-07-19 09:32:01 +0000
committerwlemb <wlemb>2002-07-19 09:32:01 +0000
commit122d6946f786f3616a1453470a0c10c232b4c7db (patch)
treed1a3eb9ada0ed7cccb396b12c4b671a146f0e684 /font/devhtml/R.proto
parent8ed23b5b55ece9bf5ff2ca33dc6e56af1450dd48 (diff)
downloadgroff-122d6946f786f3616a1453470a0c10c232b4c7db.tar.gz
* font/devhtml/R.proto: Updated to HTML 4, adding many glyphs.
* font/devutf8/R.proto: Adding some missing glyphs. * font/devutf8/NOTES: Updated. * tmac/dvi.tmac: Add more composite glyphs. * tmac/html.tmac: Updated. * man/groff_char.man: Add `sum' and `product' entities. * NEWS: Updated. Improved table, tab, and indenting support. * src/roff/troff/input.cc (file_iterator::suppress_newline_flag, string_iterator::suppress_newline_flag): Removed. Updated all function which have used it. * src/roff/troff/env.cc: Include `input.h'. (environment::add_node): Accept 0 as parameter. (environment::add_html_tag): Add `force' parameter. Updated all callers. (environment::add_html_tag_tabs): Ditto. For the moment, support left-aligned tabs only. (environment::make_html_tag): New function. (fill, no_fill): Set .br html tag additionally. (environment::newline): Emit `eol.ce' or `eol' tag for html. (environment::add_html_tag_eol): Removed. (tab_stops::distance_to_next_tab): Add variant for handling nextpos'. (environment::distance_to_next_tab): Ditto. Updated all callers. (environment::handle_tab): Handle tabs for html. * src/roff/troff/env.h: Updated. * src/roff/troff/div.cc: Updated all callers of `environment::add_html_tag'. * src/devices/grohtml/html-table.cc, src/devices/grohtml/html-table.h: New files. * src/devices/grohtml/html-text.cc (html_text): New members `blank_para' and `start_space'. (html_text::issue_tag): Don't emit TABLE_TAG. Handle indentation for PRE_TAG and P_TAG. (html_text::end_tag): Updated. (html_text::table_is_void, html_text::issue_table_begin, html_text::issue_table_end): Removed. (html_text::do_push): Simplified. [DEBUGGING]: Small fix. (html_text::push_para): Add new parameter for indentation; updated all callers. Handle PRE_TAG. (html_text::do_indent, html_text::do_table, html_text::done_table, html_text::is_in_table): Removed. (html_text::do_pre): Handle P_TAG also. (html_text::shutdown): Handle p->indent. (html_text::check_emit_text): Simplified. (html_text::do_emittext): Reset `blank_para'. (html_text::do_para): Add new parameter for indentation; updated all callers. (html_text::remove_indent): New function. (html_text::do_space): Handle verbatim text properly. (html_text::ever_emitted_text, html_text::starts_with_space, html_text::remove_para_align): New functions. (html_text::dump_stack_element, html_text::dump_stack): Updated. * src/devices/grohtml/html_text.h (HTML_TAG): Remove TABLE_TAG. Updated. * src/devices/grohtml/post-html.cc: Include html-table.h. (INDENTATION): Removed. (text_glob): Added many `is_<foo>' functions. Added table description `tab'. Added `get_arg',`get_tab_args', `remember_table', and `get_table' member functions. (list): Add `insert' and `move_to' member functions. (page): Add `insert_tag' member function. (page::dump_page) [DEBUG_TABLES]: Improved. (html_printer): Add `table' and `max_linelength' elements. Add many `do_<foo>', `insert_<foo>', `next_horiz_pos', `lookahead_for_tables', `shutdown_table', `calc_nf', `calc_po_in', `remove_tabs', `remove_courier_tabs'. (html_printer::emit_raw): Handle indentation. (html_printer::do_center, html_printer::write_header): Updated. (html_printer::is_courier_until_eol): Check for tag. (html_printer::do_linelength): Handle max_linelength. (html_printer::do_page_offset, html_printer::do_indentation): Handle fill_on. (html_printer::do_tempindent): Updated. (html_printer::do_indentedparagraph): Removed. (html_printer::do_indent): Simplified. (html_printer::do_eol): Use `ever_emitted_text'. (html_printer::do_flush, html_printer::do_links): Don't call done_table. (html_printer::do_break): Handle end_tempindent. (html_printer::troff_tag): Get argument. Don't handle `.ip'. Handle `.tab-ts', `.tab-te', `.col', `tab', and `tab0' tags. (html_printer::flush_page): Call `lookahead_for_tables'. Don't call `done_table'. (html_printer::add_to_sbuf): Always call do_indent. * src/devices/grohtml/Makefile.sub: Updated. * tmac/an-old.tmac (TP): Don't handle html device specially. (an-do-tag-html): New function which will be used instead of `an-do-tag' if html device is used. * tmac/html.tmac: Call .po to pass default page offset to grohtml. * tmac/s.tmac (@IP): Don't handle html device specially. (@IP-html): New function which will be used instead of `@IP' if html device is used. * tmac/www.tmac (HTML-NS, HTML-TAG-NS): New auxiliary macros -- this is a hack which will eventually vanish again. (PIMG): Handle `-C' option correctly if not html. (HR): Use HTML-NS.
Diffstat (limited to 'font/devhtml/R.proto')
-rw-r--r--font/devhtml/R.proto184
1 files changed, 174 insertions, 10 deletions
diff --git a/font/devhtml/R.proto b/font/devhtml/R.proto
index 15a3726b..3af836de 100644
--- a/font/devhtml/R.proto
+++ b/font/devhtml/R.proto
@@ -12,18 +12,14 @@ Do "
% 24 0 0x0025
& 24 0 0x0026 &amp;
aq 24 0 0x0027
-' "
( 24 0 0x0028
) 24 0 0x0029
* 24 0 0x002A
+ 24 0 0x002B
pl "
, 24 0 0x002C
-\- 24 0 0x002D
-hy "
+hy 24 0 0x002D
- "
-mi "
-en "
. 24 0 0x002E
/ 24 0 0x002F
sl "
@@ -40,11 +36,9 @@ sl "
: 24 0 0x003A
; 24 0 0x003B
< 24 0 0x003C &lt;
-la "
= 24 0 0x003D
eq "
> 24 0 0x003E &gt;
-ra "
? 24 0 0x003F
@ 24 0 0x0040
at "
@@ -86,7 +80,8 @@ ha "
_ 24 0 0x005F
ru "
ul "
-` 24 0 0x0060
+\` 24 0 0x0060
+ga "
a 24 0 0x0061
b 24 0 0x0062
c 24 0 0x0063
@@ -221,7 +216,176 @@ tdi "
'y 24 0 0x00FD &yacute;
Tp 24 0 0x00FE &thorn;
:y 24 0 0x00FF &yuml;
-\` 24 0 0x2018 &grave;
-ga "
+.i 24 0 0x0131 &#305;
+/L 24 0 0x0141 &#321;
+/l 24 0 0x0142 &#322;
+OE 24 0 0x0152 &OElig;
+oe 24 0 0x0153 &oelig;
+vS 24 0 0x0160 &Scaron;
+vs 24 0 0x0161 &scaron;
+:Y 24 0 0x0178 &Yuml;
+vZ 24 0 0x017D &#381;
+vz 24 0 0x017E &#382;
+Fn 24 0 0x0192 &fnof;
+ah 24 0 0x02C7 &#711;
+ab 24 0 0x02D8 &#728;
+a. 24 0 0x02D9 &#729;
+ao 24 0 0x02DA &#730;
+ho 24 0 0x02DB &#731;
+a" 24 0 0x02DD &#733;
+*A 24 0 0x0391 &Alpha;
+*B 24 0 0x0392 &Beta;
+*G 24 0 0x0393 &Gamma;
+*D 24 0 0x0394 &Delta;
+*E 24 0 0x0395 &Epsilon;
+*Z 24 0 0x0396 &Zeta;
+*Y 24 0 0x0397 &Eta;
+*H 24 0 0x0398 &Theta;
+*I 24 0 0x0399 &Iota;
+*K 24 0 0x039A &Kappa;
+*L 24 0 0x039B &Lambda;
+*M 24 0 0x039C &Mu;
+*N 24 0 0x039D &Nu;
+*C 24 0 0x039E &Xi;
+*O 24 0 0x039F &Omicron;
+*P 24 0 0x03A0 &Pi;
+*R 24 0 0x03A1 &Rho;
+*S 24 0 0x03A3 &Sigma;
+*T 24 0 0x03A4 &Tau;
+*U 24 0 0x03A5 &Upsilon;
+*F 24 0 0x03A6 &Phi;
+*X 24 0 0x03A7 &Chi;
+*Q 24 0 0x03A8 &Psi;
+*W 24 0 0x03A9 &Omega;
+*a 24 0 0x03B1 &alpha;
+*b 24 0 0x03B2 &beta;
+*g 24 0 0x03B3 &gamma;
+*d 24 0 0x03B4 &delta;
+*e 24 0 0x03B5 &epsilon;
+*z 24 0 0x03B6 &zeta;
+*y 24 0 0x03B7 &eta;
+*h 24 0 0x03B8 &theta;
+*i 24 0 0x03B9 &iota;
+*k 24 0 0x03BA &kappa;
+*l 24 0 0x03BB &lambda;
+*m 24 0 0x03BC &mu;
+*n 24 0 0x03BD &nu;
+*c 24 0 0x03BE &xi;
+*o 24 0 0x03BF &omicron;
+*p 24 0 0x03C0 &pi;
+*r 24 0 0x03C1 &rho;
+ts 24 0 0x03C2 &sigmaf;
+*s 24 0 0x03C3 &sigma;
+*t 24 0 0x03C4 &tau;
+*u 24 0 0x03C5 &upsilon;
+*f 24 0 0x03C6 &phi;
+*x 24 0 0x03C7 &chi;
+*q 24 0 0x03C8 &psi;
+*w 24 0 0x03C9 &omega;
++h 24 0 0x03D1 &thetasym;
++f 24 0 0x03D5 &#981;
++p 24 0 0x03D6 &piv;
+en 24 0 0x2013 &ndash;
+em 24 0 0x2014 &mdash;
+` 24 0 0x2018 &lsquo;
+oq "
+' 24 0 0x2019 &rsquo;
+cq "
+bq 24 0 0x201A &sbquo;
+lq 24 0 0x201C &ldquo;
+rq 24 0 0x201D &rdquo;
+Bq 24 0 0x201E &bdquo;
+dg 24 0 0x2020 &dagger;
+dd 24 0 0x2021 &Dagger;
+bu 24 0 0x2022 &bull;
+%0 24 0 0x2030 &permil;
+fm 24 0 0x2032 &prime;
+sd 24 0 0x2033 &Prime;
+fo 24 0 0x2039 &lsaquo;
+fc 24 0 0x203A &rsaquo;
+rn 24 0 0x203E &oline;
+f/ 24 0 0x2044 &frasl;
Eu 24 0 0x20AC &euro;
eu "
+Im 24 0 0x2111 &image;
+wp 24 0 0x2118 &weierp;
+Re 24 0 0x211C &real;
+tm 24 0 0x2122 &trade;
+Ah 24 0 0x2135 &alefsym;
+<- 24 0 0x2190 &larr;
+ua 24 0 0x2191 &uarr;
+-> 24 0 0x2192 &rarr;
+da 24 0 0x2193 &darr;
+<> 24 0 0x2194 &harr;
+lA 24 0 0x21D0 &lArr;
+uA 24 0 0x21D1 &uArr;
+rA 24 0 0x21D2 &rArr;
+dA 24 0 0x21D3 &dArr;
+hA 24 0 0x21D4 &hArr;
+fa 24 0 0x2200 &forall;
+pd 24 0 0x2202 &part;
+te 24 0 0x2203 &exist;
+es 24 0 0x2205 &empty;
+gr 24 0 0x2207 &nabla;
+mo 24 0 0x2208 &isin;
+nm 24 0 0x2209 &notin;
+st 24 0 0x220B &ni;
+product 24 0 0x220F &prod;
+sum 24 0 0x2211 &sum;
+\- 24 0 0x2212 &minus;
+mi "
+** 24 0 0x2217 &lowast;
+sr 24 0 0x221A &radic;
+pt 24 0 0x221D &prop;
+if 24 0 0x221E &infin;
+/_ 24 0 0x2220 &ang;
+AN 24 0 0x2227 &and;
+OR 24 0 0x2228 &or;
+ca 24 0 0x2229 &cap;
+cu 24 0 0x222A &cup;
+is 24 0 0x222B &int;
+tf 24 0 0x2234 &there4;
+3d "
+ti 24 0 0x223C &sim;
+ap "
+=~ 24 0 0x2245 &cong;
+~~ 24 0 0x2248 &asymp;
+~= "
+!= 24 0 0x2260 &ne;
+== 24 0 0x2261 &equiv;
+<= 24 0 0x2264 &le;
+>= 24 0 0x2265 &ge;
+sb 24 0 0x2282 &sub;
+sp 24 0 0x2283 &sup;
+nb 24 0 0x2284 &nsub;
+ib 24 0 0x2286 &sube;
+ip 24 0 0x2287 &supe;
+c+ 24 0 0x2295 &oplus;
+c* 24 0 0x2297 &otimes;
+pp 24 0 0x22A5 &perp;
+md 24 0 0x22C5 &sdot;
+lc 24 0 0x2308 &lceil;
+rc 24 0 0x2309 &rceil;
+lf 24 0 0x230A &lfloor;
+rf 24 0 0x230B &rfloor;
+la 24 0 0x2329 &lang;
+ra 24 0 0x232A &rang;
+CR 24 0 0x240D &#9229;
+an 24 0 0x2500 &#9472;
+br 24 0 0x2502 &#9474;
+bv "
+rk 24 0 0x251D &#9501;
+lk 24 0 0x2525 &#9509;
+lt 24 0 0x256D &#9581;
+rt 24 0 0x256E &#9582;
+rb 24 0 0x256F &#9583;
+lb 24 0 0x2570 &#9584;
+sq 24 0 0x25A1 &#9633;
+lz 24 0 0x25CA &loz;
+ci 24 0 0x25EF &#9711;
+lh 24 0 0x261C &#9756;
+rh 24 0 0x261E &#9758;
+SP 24 0 0x2660 &spades;
+CL 24 0 0x2663 &clubs;
+HE 24 0 0x2665 &hearts;
+DI 24 0 0x2666 &diams;