\Quiet @STYLE(size=9, spacing=1, fontfamily=TimesRoman, topmargin=0.6in, bottommargin=0.6in, leftmargin=1in) @make(tec) @begin(text, columns=2, columnmargin=0.2in, boxed) @begin(center, size=+3, below 2) @bf[\Zw Zhong1 Wen2]#\As Scribe (ChScribe) @bf[\Zw Jian3zt Jie4] Wang2d Jing3rt Bai2,#\As Ph.D., University of Pittsurgh @end(center) @begin(description, leftmargin=+5, indent=-5) @bf[\Zw He2dr]@\As bf[\Zw Bi4]:#@\ Yi1 Ti2ts Zhong1 Wen2#\As Scribe \Zw You3 Ren2 Bu4 Mian3 Wen4mk:# He2dr Bi4?# Bu4 Shi4rt You3 Zhong1 Wen2 De1b#\As WordStar@foot[ \Zw Yi1 Zhong4h Li4ct Shi3 You1xx Jiu3p Er2 Jian3zt Lou4e De1b Ying1ctg Wen2 Wen2 Zi4bg Chu4 Li3w Qi4k De1b Fan1yy Ban3p] Ma1km?# Er2 Qie3#\As WordStar \Zw Shu3sty Yu2#\As WYSIWYG ( what you see is what you get) \Zw Lei4xd Xing2xt,# Qi3st Bu4 Bi3 Zhi3ts Ling4rt Fan2xx Suo3w De1b#\As Scribe@foot{Scribe \Zw Wei2 Mei3xd Guo2fk# Ka3st Nei4 Ji3j\- Mei2m Long2e Da4 Xue2xt Yi1 Bo2s Shi4hs Sheng1p#\As Brian Reid \Zw Suo3yj Chuang1ld,# Zai4t#@\As tex \Zw Liu2ss Hang2sr Qian2 Ceng2xr Feng1jk Mi2gt Yi1 Shi2r.} # Qiang2g#?# Qi2 Shi2bg Bu4 Ran2xs, Xian4w Dai4dr Pai2ts Ban3p Zhong1 You3 Xu3y Duo1 Wen4mk Ti2s Shi4rt#\As WYSIWYG \Zw Lei4xd Xing2xt Wen2 Zi4bg Chu4 Li3w Qi4k Suo3yj Li4hg Bu4 Neng2 Ji2 De1b,# Ru2n Bian4xu Kuan1bg Zi4bg Ti3dr# (#\As proportional fonts ) \Zw He2h Shu4fw Xue2xt Gong1bt Shi4gt,# Jiu4j Shi4rt Mu4s Qian2 Zui4rt Shou4xy Ren2 Jie1tsq Shou4xy De1b#\As Microsoft Word@foot[ \Zw Ling4kt Yi1 Zhong4h Jiao3c Xin1q De1b#\As WYSIWYG \Zw Xing2xt Ruan3c Jian4dr] Ye3 Jia1l Jin4zz Le1#\As Scribe\Zw Huo4#@\As tex@foot{@tex \Zw Wei2#\As Stanford \Zw Da4 Xue2xt#\As Donald Knuth \Zw Suo3yj Chuang1ld,# Shu4fw Xue2xt Gong1bt Shi4gt Bian1js Ji2c Neng2 Li4hg Te4n Qiang2g Er2 Chu1st Ming2,# Er2 Qie3 Mian3 Fei4xb Gong4dr Yong4tk,# Gu4fw Ying1gt Yong4tk Fei1h Chang2xd Zhi1 Guang3.}# Lei4xd Zhi3ts Ling4rt. @\As bf[\Zw Ru2n]@\As bf[\Zw He2dr]:@\ You3 Ren2 You4 Hui4rt Shuo1y:# Na4ye Jian3zt Dan1xs,# Zhong1 Wen2 Zi4bg Ge4 Ge4 Yi1 Yang4m Kuan1bg,# Xie3tb Ge4 Duan3s Cheng2h Xu4gt Chu4 Li3w Chu4 Li3w Jiu4j Hang2sr Le1.## Qi2 Shi2bg Geng1 Bu4 Ran2xs,# Xian4w Dai4dr Zhong1 Wen2 Wen2 Zhang1lt Zhong1 Duo1 Cha1ts You3 Ying1ctg Wen2 He2h Shu4fw Xue2xt.# Na4ye Mo4 Zhi1kt Hao3n Bian1js Ge4 Zhong1 Wen2/ Ying1ctg Wen2#\As Scribe? \Zw Na4ye Tai4 Fei4xb Shi2r He2h Shi4h Le1.# Wo3 De1b Ban4l Fa3ss Shi4rt Li4ld Yong4tk Guang3 Wei2 Ren2 Shi3dr Yong4tk De1b Ying1ctg Wen2#\As Scribe, \Zw Ling4kt Jia1l Ge4 Zhong1 Wen2 Qian2 Zhi4xz Yu3 Hou4 Zhi4xz Chu4 Li3w Qi4k.# Zhe4zz Yang4m Ji4yw Sheng3xm Le1 Shi2r Jian1mk,# You4 Mian3 De2srd Yong4tk Hu4d Zai4 Xue2xt Yi1 Chu4 Li3w Xi4 Tong3js. @\As bf[\Zw Yuan2ct]@\As bf[\Zw Wen2]@\As bf[\Zw Jian4dr]@\As bf[\Zw Shu1c]@\As bf[\Zw Ru4]:@\#\As Scribe \Zw Xu1yt Xian1 Shu1c Ru4 Yuan2ct Wen2 Jian4dr#(\As manuscript), \Zw Ru2n He2dr Jiang1 Zhong1 Wen2 He2h Ying1ctg Wen2 Yi1 Bing4 Shu1c Ru4?# Ben3 Ban3p Ben3#\As ChScribe \Zw Yun3xe Xu3y Yong4tk Hu4d Shi3dr Yong4tk Ren4dr He2dr Yu3#\As CCDOS ( IBM \Zw Jian1 Rong2bg Ji1m Yong4tk De1b Zhong1 Wen2 Cao1ts Zuo1dr Xi4 Tong3js#)# Tong2tk Yang4m Shu1c Chu1st Biao1m Zhun3ls#( Guo2fk Biao1m)# De1b Zhong1 Ying1ctg Wen2 Bian1js Ji2c Qi4k# (# Ru2n Zhong1 Wen2#\As WordStar \Zw He2h#\As Byx) \Zw Lai2 Shu1c Ru4 Yuan2ct Wen2,# Ru2n Yong4tk De1b Shi4rt#\As Macintosh \Zw Ge4 Ren2 Wei1sr Ji1m Ruan3c Jian4dr,# Ze2ld Xu1yt Yong4tk Suo3yj Pei4y You3 De1b Chu4 Li3w Qi4k Chu4 Li3w Yi1 Bian4zz Cai2 Neng2 Shi3dr Yong4tk.# Yuan2ct Wen2 Jian4dr#(\As manuscript) \Zw Zhong1 Ke3 Yong4tk#\As Scribe \Zw Yuan2ct You3 De1b Suo3yj You3 Zhi3ts Ling4rt,# Er2 Wu2 Xu1yt Qi2 Ta1dr Te4n You3 Zhi3ts Ling4rt. @\As bf[\Zw Chu4]@\As bf[\Zw Li3w]:#@\ Yuan2ct Wen2 Jian4dr#(\As manuscript) \Zw Xie3tb Hao3n Hou4 Ji2ye Ke3 Yong4tk#\As ChScribe \Zw Zuo1dr Yu4yy Chu4 Li3w. \As ChScribe \Zw Jiang1 Chan3 Sheng1p Ling4kt Yi1 Ying1ctg Wen2#\As Scribe \Zw Neng2 Ren4y Shi2y De1b Wen2 Jian4dr,# Bing4 Tong2tk Shi2r Chan3 Sheng1p Zhong1 Wen2 Zi4bg Ti3dr Ding4bg Yi4#\As header file. \Zw Jie1tsq Zhao2 Bian4dr Ke3 You2#\As Scribe \Zw Jiang1 Qi2 Bian4xu Wei2# @\As pslogo \Zw Wen2 Jian4dr Hou4,# Zai4 Jiang1#\As ChScribe \Zw Chan3 Sheng1p De1b Zhong1 Wen2 Zi4bg Ti3dr Ding4bg Yi4#\As header file \Zw Jia1l Zai4t Qian2 Tou2,# Bian4dr Ke3 Zhi2 Jie1tsq Da3ts Yin4ye.# Zhe4zz Guo4z Cheng2h Kan4 Lai2 Shi2 Fen1bt Fu4wr Za2xm,# Qi2 Shi2bg#\As ChScribe \Zw Yi3 Jiang1 Ci3c San1 Bu4xs Bian4xu Wei2 Yi1 Bu4xs,## Ji2ye,@* %\As chscribe myfile@* \Zw Chu1st Lai2 De1b Bian4dr Shi4rt#\As myfile.ps. @end(description) @\@ux[\Zw Yuan2ct Li3w Jian3zt Jie4:] \As ChScribe \Zw Li4ld Yong4tk#\As Scribe \Zw De1b Te4n Dian3sd,# Jiang1 Yuan2ct Wen2 Jian4dr#(\As manuscript) \Zw Zhong1 Suo3yj Yong4tk De1b@\As ux[\Zw Bu4 Tong2tk] Zhong1 Wen2 Zi4bg Fen1bt Cheng2q Ji3j Zu3js You2#\As 218 \Zw Zi4bg Mu3 Zu3js Cheng2q De1b#\As font groups, \Zw Bing4 Yong4tk Yi1 Ge4#\As RawFont ( Scribe \Zw Zi4bg Chi3#) Wen2 Jian4dr Lai2 Ding4bg Yi4 Ge4wt Zi4bg Mu3 De1b Chi3 Cun4.# Dui4y#\As Scribe \Zw Er2 Yan2xk,# Zhi1kt Yao4xn#\As RawFont \Zw Wen2 Jian4dr You3 Ding4bg Yi4 De1b Zi4bg,# Ta1bg Yi1 Gai4m Fang4fw Hang2sr.# Zhi4xt Yu2 Na3k Ge4 Shi4rt Zhong1 Wen2 Zi4bg Na3k Ge4 Shi4rt Ying1ctg Wen2 Zi4bg,# Na4ye Jiu4j Kao4xf#\As ChScribe \Zw Lai2 Pan4ld Duan4yj Le1.# \As ChScribe \Zw Mu4s Qian2 Yong4tk Le1 Yi1 Ge4 Ju4 You3 Yue1js#\As 7000 \Zw Zi4bg De1b#\As 24 x 24 \Zw Dian3sd Zhen4e Jian3zt Ti3dr Zi4bg Zi4bg Ku4gt,# Yi3yr@\As ux[\Zw Tong1zz Xun4y Yong4tk Han4ssy Zi4bg Zi4bg Fu2zt Ji2xm( Ji1xt Ben3 Ji2xm) Guo2fk Jia1bg Biao1m Zhun3ls(\As GB2312-80)]\Zw Wei2 Mu3 Ben3. @\@\As ux[\Zw Fu4e Jia1l Gong1g Neng2:]# Chuan2dr Tong3js Zhong1 Wen2 Yong4tk Dao4ld@\As begin(transparent,slant=10)\Zw Heng2m Shu4xl@\As end(transparent) \Zw Liang3 Zhong4h Pai2ts Ban3p Fang1 Shi4gt,#\As ChScribe \Zw Dou1ye Jian1 Gu4yy Dao4ld Le1. @\As newcolumn() @begin(center, size=+3, below 2) A Brief Introduction to ChScribe Jingbai Wang, Ph.D., University of Pittsurgh @end(center) @begin(description, leftmargin=+8, indent=-8) @b[Why]:@\Why ChScribe? Aren't the existing programs like Chinese WordStar that belongs to the category of WYSIWYG (what you see is what you get) better than the complicated command-driven Scribe@foot[a computer typesetter created by a CMU Ph.D. student, Brian Reid. It was quite popular before @tex flooded machines.]? Actually, nowadays many typesetting problems can't be solved successfully by WYSIWYG-type systems, such as proportional fonts and math. Even the today's most acceptable WYSIWYG Microsoft Word has to use some Scribe and @tex@foot[A very popular document formatter designed by Dr. Donald Knuth from Stanford University. It is very good at mathematics.] type commands. @b[How]:@\Someone would say: that's simple! All Chinese characters have the same width; we just need to design a simple processor to deal with it. However, most of the concurrent Chinese articles are mixed with English and mathematical formulae. Then, we have to design a brand-new Chinese Scribe? But it costs too much time and effort. My solution is to use the widely used text formatter Scribe, and design a pre-processor and post-processor. This way, the users do not have to learn another typesetter, and it saves us a great deal of time. @b[Manuscript editing]:@\To use Scribe, you need to edit the manuscript file (@i[.mss file]) first. How do you edit English and Chinese together? This version of ChScribe allows you to use any Chinese-English editor that uses the same output standard (GB standard) as CCDOS@foot[The Chinese operating system for IBM compatibles.]. If you use a Macintosh software to edit the manuscript, you have to filter it with a ChScribe built-in program before you can use it. All the original Scribe commands can be used, and essentially no additional commands are introduced. @b[Processing]:@\After the manuscript file is ready, you can use ChScribe to pre-process it. ChScribe will generate a new manuscript file that is understandable by the standard Scribe program, and in the meantime, it generates a font header file. Then, you can use Scribe to generate the @pslogo file. Afterward, the header file produced by ChScribe is prepended to this @i[.ps] file, and it is directly printable on a @pslogo printer. This process seems to be tedious, but ChScribe has merged these three steps into one, i.e., @* %chscribe myfile @* will give you @i[myfile.ps] @end(description) @newpage() @blankspace(1) @newcolumn() @\@ux[Basic principles:] ChScribe uses the features of Scribe by grouping the @ux[distinct] Chinese characters occurred in the manuscript file into a few fonts groups of 218 characters each, and the font metrices of each character is defined in a Scribe RawFont file. As far as Scribe is concerned, as long as the character is defined in the RawFont file, it will let it go. As for whether a particular character is a Chinese one or English one, it is up to the ChScribe programme. Currently, ChScribe uses a 24x24 bitmap font library of about 7000 characters, and the arrangement of the characters is based on GB2312-80 specified by the Ministry of Telecommunication of the People's Republic of China. @\@ux[Additional features:] Chinese documents were traditionally typeset up-to-down plus right-to-left column-wise and later left-to-right row-wise. ChScribe supports both. @end(text) @newpage() @set(footnotecounter=0) @begin(text, columns=2, columnmargin=0.2in, boxed) @begin(center, size=+3, below 2) @bf[\Zw Zhong1 Wen2]#@\As tex (Ch@tex) @bf[\Zw Jian3zt Jie4] Wang2d Jing3rt Bai2,#\As Ph.D., University of Pittsurgh @end(center) @begin(description, leftmargin=+5, indent=-5) @bf[\Zw He2dr]@\As bf[\Zw Bi4]:#@\ Yi1 Ti2ts Zhong1 Wen2#@\As tex \Zw You3 Ren2 Bu4 Mian3 Wen4mk:# He2dr Bi4?# Bu4 Shi4rt You3 Zhong1 Wen2 De1b#\As WordStar@foot[ \Zw Yi1 Zhong4h Li4ct Shi3 You1xx Jiu3p Er2 Jian3zt Lou4e De1b Ying1ctg Wen2 Wen2 Zi4bg Chu4 Li3w Qi4k De1b Fan1yy Ban3p] Ma1km?# Er2 Qie3#\As WordStar \Zw Shu3sty Yu2#\As WYSIWYG ( what you see is what you get) \Zw Lei4xd Xing2xt,# Qi3st Bu4 Bi3 Zhi3ts Ling4rt Fan2xx Suo3w De1b#@\As tex@foot{@tex \Zw Wei2#\As Stanford \Zw Da4 Xue2xt#\As Donald Knuth \Zw Suo3yj Chuang1ld,# Shu4fw Xue2xt Gong1bt Shi4gt Bian1js Ji2c Neng2 Li4hg Te4n Qiang2g Er2 Chu1st Ming2,# Er2 Qie3 Mian3 Fei4xb Gong4dr Yong4tk,# Gu4fw Ying1gt Yong4tk Fei1h Chang2xd Zhi1 Guang3.}# Qiang2g#?# Qi2 Shi2bg Bu4 Ran2xs, Xian4w Dai4dr Pai2ts Ban3p Zhong1 You3 Xu3y Duo1 Wen4mk Ti2s Shi4rt#\As WYSIWYG \Zw Lei4xd Xing2xt Wen2 Zi4bg Chu4 Li3w Qi4k Suo3yj Li4hg Bu4 Neng2 Ji2 De1b,# Ru2n Bian4xu Kuan1bg Zi4bg Ti3dr# (#\As proportional fonts ) \Zw He2h Shu4fw Xue2xt Gong1bt Shi4gt,# Jiu4j Shi4rt Mu4s Qian2 Zui4rt Shou4xy Ren2 Jie1tsq Shou4xy De1b#\As Microsoft Word@foot[ \Zw Ling4kt Yi1 Zhong4h Jiao3c Xin1q De1b#\As WYSIWYG \Zw Xing2xt Ruan3c Jian4dr] Ye3 Jia1l Jin4zz Le1#\As Scribe@foot{Scribe \Zw Wei2 Mei3xd Guo2fk# Ka3st Nei4 Ji3j\- Mei2m Long2e Da4 Xue2xt Yi1 Bo2s Shi4hs Sheng1p#\As Brian Reid \Zw Suo3yj Chuang1ld,# Zai4t#@\As tex \Zw Liu2ss Hang2sr Qian2 Ceng2xr Feng1jk Mi2gt Yi1 Shi2r.} Huo4#@\As tex \Zw Lei4xd Zhi3ts Ling4rt. @\As bf[\Zw Ru2n]@\As bf[\Zw He2dr]:@\ You3 Ren2 You4 Hui4rt Shuo1y:# Na4ye Jian3zt Dan1xs,# Zhong1 Wen2 Zi4bg Ge4 Ge4 Yi1 Yang4m Kuan1bg,# Xie3tb Ge4 Duan3s Cheng2h Xing4tt Chu4 Li3w Chu4 Li3w Jiu4j Hang2sr Le1.## Qi2 Shi2bg Geng1 Bu4 Ran2xs,# Xian4w Dai4dr Zhong1 Wen2 Wen2 Zhang1lt Zhong1 Duo1 Cha1ts You3 Ying1ctg Wen2 He2h Shu4fw Xue2xt.# Na4ye Mo4 Zhi1kt Hao3n Bian1js Ge4 Zhong1 Wen2/ Ying1ctg Wen2#@\As tex ? \Zw Na4ye Tai4 Fei4xb Shi2r He2h Shi4h Le1.# Wo3 De1b Ban4l Fa3ss Shi4rt Li4ld Yong4tk Guang3 Wei2 Ren2 Shi3dr Yong4tk De1b Ying1ctg Wen2#@\As tex, \Zw Ling4kt Jia1l Ge4 Zhong1 Wen2 Qian2 Zhi4xz Yu3 Hou4 Zhi4xz Chu4 Li3w Qi4k.# Zhe4zz Yang4m Ji4yw Sheng3xm Le1 Shi2r Jian1mk,# You4 Mian3 De2srd Yong4tk Hu4d Zai4 Xue2xt Yi1 Chu4 Li3w Xi4 Tong3js. @\As bf[\Zw Yuan2ct]@\As bf[\Zw Wen2]@\As bf[\Zw Jian4dr]@\As bf[\Zw Shu1c]@\As bf[\Zw Ru4]:@\#@\As tex \Zw Xu1yt Xian1 Shu1c Ru4 Yuan2ct Wen2 Jian4dr#(\As manuscript), \Zw Ru2n He2dr Jiang1 Zhong1 Wen2 He2h Ying1ctg Wen2 Yi1 Bing4 Shu1c Ru4?# Ben3 Ban3p Ben3#\As Ch@tex \Zw Yun3xe Xu3y Yong4tk Hu4d Shi3dr Yong4tk Ren4dr He2dr Yu3#\As CCDOS ( IBM \Zw Jian1 Rong2bg Ji1m Yong4tk De1b Zhong1 Wen2 Cao1ts Zuo1dr Xi4 Tong3js#)# Tong2tk Yang4m Shu1c Chu1st Biao1m Zhun3ls#( Guo2fk Biao1m)# De1b Zhong1 Ying1ctg Wen2 Bian1js Ji2c Qi4k# (# Ru2n Zhong1 Wen2#\As WordStar \Zw He2h#\As Byx) \Zw Lai2 Shu1c Ru4 Yuan2ct Wen2,# Ru2n Yong4tk De1b Shi4rt#\As Macintosh \Zw Ge4 Ren2 Wei1sr Ji1m Ruan3c Jian4dr,# Ze2ld Xu1yt Yong4tk Suo3yj Pei4y You3 De1b Chu4 Li3w Qi4k Chu4 Li3w Yi1 Bian4zz Cai2 Neng2 Shi3dr Yong4tk.# Yuan2ct Wen2 Jian4dr#(\As manuscript) \Zw Zhong1 Ke3 Yong4tk#@\As tex \Zw Yuan2ct You3 De1b Suo3yj You3 Zhi3ts Ling4rt,# Er2 Wu2 Xu1yt Qi2 Ta1dr Te4n You3 Zhi3ts Ling4rt. @\As bf[\Zw Chu4]@\As bf[\Zw Li3w]:#@\ Yuan2ct Wen2 Jian4dr#(\As manuscript) \Zw Xie3tb Hao3n Hou4 Ji2ye Ke3 Yong4tk#\As Ch@tex \Zw Zuo1dr Yu4yy Chu4 Li3w. \As Ch@tex \Zw Jiang1 Chan3 Sheng1p Ling4kt Yi1 Ying1ctg Wen2#@\As tex \Zw Neng2 Ren4y Shi2y De1b Wen2 Jian4dr,# Bing4 Tong2tk Shi2r Chan3 Sheng1p Zhong1 Wen2 Zi4bg Ti3dr Ding4bg Yi4#\As header file. \Zw Jie1tsq Zhao2 Bian4dr Ke3 You2#@\As tex \Zw Jiang1 Qi2 Bian4xu Wei2#\As dvi (device independent) \Zw Wen2 Jian4dr.# Zui4rt Hou4 Yong4tk#\As dvi2ps @pslogo \Zw Da3ts Yin4ye Qu1m Dong4y Qi4k Fan1yy Yi4y Cheng2q#@\As pslogo \Zw Wen2 Jian4dr Hou4,# Bian4dr Ke3 Zhi2 Jie1tsq Da3ts Yin4ye.# Zhe4zz Guo4z Cheng2h Kan4 Lai2 Shi2 Fen1bt Fu4wr Za2xm,# Dan4dr Ruo4ct Yong4tk#\As UNIX \Zw De1b Guan3zt Dao4zz#(\As pipe lining) \Zw Gong1g Neng2,# Yi1 Ju4bt Zhi3ts Ling4rt Bian4dr Neng2 Jie3j Jue2ls Wen4mk Ti2s,# Ji2ye,@* %\As chtex myfile|tex|dvi2ps|lpr -Fps @end(description) @\@ux[\Zw Yuan2ct Li3w Jian3zt Jie4:] \As Ch@tex \Zw Li4ld Yong4tk#@\As tex \Zw De1b Te4n Dian3sd,# Jiang1 Yuan2ct Wen2 Jian4dr#(\As manuscript) \Zw Zhong1 Suo3yj Yong4tk De1b@\As ux[\Zw Bu4 Tong2tk] Zhong1 Wen2 Zi4bg Fen1bt Cheng2q Ji3j Zu3js You2#\As 218 \Zw Zi4bg Mu3 Zu3js Cheng2q De1b#\As font groups, \Zw Bing4 Yong4tk Yi1 Xi4 Lie4ld#\As TFM ( @tex font metric ), \Zw Wen2 Jian4dr Lai2 Ding4bg Yi4 Ge4wt Zi4bg Mu3 De1b Chi3 Cun4.# Dui4y#@\As tex \Zw Er2 Yan2xk,# Zhi1kt Yao4xn#\As TFM \Zw Wen2 Jian4dr You3 Ding4bg Yi4 De1b Zi4bg,# Ta1bg Yi1 Gai4m Fang4fw Hang2sr.# Zhi4xt Yu2 Na3k Ge4 Shi4rt Zhong1 Wen2 Zi4bg Na3k Ge4 Shi4rt Ying1ctg Wen2 Zi4bg,# Na4ye Jiu4j Kao4xf#\As Ch@tex \Zw He2h#\As dvi2ps \Zw Lai2 He2rt Zuo1dr Le1.# \As Ch@tex \Zw Mu4s Qian2 Yong4tk Le1 Yi1 Ge4 Ju4 You3 Yue1js#\As 7000 \Zw Zi4bg De1b#\As 24 x 24 \Zw Dian3sd Zhen4e Jian3zt Ti3dr Zi4bg Zi4bg Ku4gt,# Yi3yr@\As ux[\Zw Tong1zz Xun4y Yong4tk Han4ssy Zi4bg Zi4bg Fu2zt Ji2xm( Ji1xt Ben3 Ji2xm) Guo2fk Jia1bg Biao1m Zhun3ls(\As GB2312-80)]\Zw Wei2 Mu3 Ben3. @\@\As ux[\Zw Fu4e Jia1l Gong1g Neng2:]# Chuan2dr Tong3js Zhong1 Wen2 Yong4tk Dao4ld@\As begin(transparent,slant=10)\Zw Heng2m Shu4xl@\As end(transparent) \Zw Liang3 Zhong4h Pai2ts Ban3p Fang1 Shi4gt,#\As Ch@tex \Zw Dou1ye Jian1 Gu4yy Dao4ld Le1. @\As newcolumn() @begin(center, size=+3, below 2) A Brief Introduction to Ch@tex Jingbai Wang , Ph.D., University of Pittsurgh @end(center) @begin(description, leftmargin=+8, indent=-8) @b[Why]:@\Why Ch@tex? Aren't the existing programs like Chinese WordStar that belongs to the category of WYSIWYG (what you see is what you get) better than the complicated command-driven @tex@foot[A very popular document formatter designed by Dr. Donald Knuth from Stanford University. It is very good at mathematics.]? Actually, nowadays many typesetting problems can't be solved successfully by WYSIWYG-type systems, such as proportional fonts and math. Even the today's most acceptable WYSIWYG Microsoft Word has to use some Scribe@foot[a computer typesetter created by a CMU Ph.D. student, Brian Reid. It was quite popular before @tex flooded machines.] and @tex type commands. @b[How]:@\Someone would say: that's simple! All Chinese characters have the same width; we just need to design a simple processor to deal with it. However, most of the concurrent Chinese articles are mixed with English and mathematical formulae. Then, we have to design a brand-new Chinese @tex? But it costs too much time and effort. My solution is to use the widely accepted text formatter @tex, and design a pre-processor and post-processor. This way, the users do not have to learn another typesetter, and it saves us a great deal of time. @b[Manuscript editing]:@\To use @tex, you need to edit the manuscript file (@i[.tex file]) first. How do you edit English and Chinese together? This version of Ch@tex allows you to use any Chinese-English editor that uses the same output standard (GB standard) as CCDOS@foot[The Chinese operating system for IBM compatibles.]. If you use a Macintosh software to edit the manuscript, you have to filter it with a Ch@tex built-in program before you can use it. All the original @tex commands can be used, and essentially no additional commands are introduced. @b[Processing]:@\After the manuscript file is ready, you can use Ch@tex to pre-process it. Ch@tex will generate a new manuscript file that is understandable by the standard @tex program, and in the meantime, it generates a font header file. Then, you can use @tex to generate the @i[dvi] (device independent file). Afterward, dvi2ps is used to produce a @pslogo file that is directly printable on a @pslogo printer. This process seems to be tedious, but if you use UNIX pipe lining feature, one line command will do it, i.e.,@* %chtex myfile | tex | dvi2ps | lpr -Fps @end(description) @newpage() @blankspace(1) @newcolumn() @\@ux[Basic principles:] Ch@tex uses the features of @tex by grouping the @ux[distinct] Chinese characters occurred in the manuscript file into a few fonts groups of 218 characters each, and the font metrices of each character is defined in a few TFM (@tex font metric) files. As far as @tex is concerned, as long as the character is defined in the TFM file, it will let it go. As for whether a particular character is a Chinese one or English one, it depends on the cooperation between Ch@tex and dvi2ps programs. Currently, Ch@tex uses a 24x24 bitmap font library of about 7000 characters, and the arrangement of the characters is based on GB2312-80 specified by the Ministry of Telecommunication of the People's Republic of China. @\@ux[Additional features:] Chinese documents were traditionally typeset up-to-down plus right-to-left column-wise and later left-to-right row-wise. Ch@tex supports both. @end(text)