KTUGFaq
KTUG FAQ
FrontPage › XeTeX
Mac OS X¿¡¼ ½ÇÇàµÇ´Â »õ·Î¿î °³³äÀÇ TeX ½Ã½ºÅÛ.
[ÆíÁý]
install °úÁ¤ ¶
- i-installer¸¦ ÀÌ¿ëÇÏ¿© ¸¦ ¼³Ä¡ÇÕ´Ï´Ù. ÀÌ·¸°Ô Çϸé /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt ÀÌ »ý±é´Ï´Ù. ±×·±µ¥ XeTeX+ConTeXt¸¦ »ç¿ëÇϱâ À§Çؼ´Â ÀÌ°ÍÀ» /usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-en.fmt ¿¡ ¿Å°ÜÁÝ´Ï´Ù.
- `sudo texexec --make --xtx en ` À» Çϸé
/usr/local/teTeX/share/texmf.local/web2c/xetex/cont-en.fmt
ÀÌ »ý±é´Ï´Ù.
- type-xkor.texÀ» ~/Library/texmf/tex/xetex/ ¿¡ ÀúÀåÇÕ´Ï´Ù. ÀÌ ÆÄÀÏÀÇ À̸§Àº Àû´çÈ÷ Á¤Çϼŵµ µË´Ï´Ù. ±×¸®°í ³»¿ë¿¡ ÀÖ´Â typescript ¿¡´Â ½Ã½ºÅÛ ÆùÆ®¿¡ ÀÖ´Â ÇѱÛÀ̸§À» Àû¾îÁÖ¼Å¾ß ÇÕ´Ï´Ù. ÀÌ ÆÄÀÏÀº Adam LindsayÀÇ µµ¿òÀ¸·Î ¸¸µé¾ú½À´Ï´Ù.
- º»¹®¿¡
\usetypescriptfile[type-xkor] \usetypescript[myface] \setupbodyfont[Myface, 10pt, rm]
À» Àû¾îÁÝ´Ï´Ù.
- ÆÄÀÏÀÇ ÀúÀåÀº utf-8 no BOMÀ¸·Î ÇÏ¸é µË´Ï´Ù.
- texexec --xtx filename À¸·Î compile ÇÕ´Ï´Ù.
[ÆíÁý]
¿¹Á¦ ¶
\usetypescriptfile[type-xkor] \usetypescript[myface] \setupbodyfont[Myface, 10pt, rm] \starttext ÇÑ±Û Å×½ºÆ®ÀÔ´Ï´Ù. \stoptext
[ÆíÁý]
Âü°í ¶
Apple ¸íÁ¶¸¦ ¾²±âÀ§Çؼ´Â ´ÙÀ½À» type-xkor.tex¿¡¼
\starttypescript[serif][myungjo][uc] % Regular variant: \definefontsynonym[MyungjoRegular][(AppleMyungjo\space Regular)][encoding=uc] \definefontsynonym[MyungjoBold][(AppleMyungjo\space Regular)][encoding=uc] \definefontsynonym[MyungjoLight][(AppleMyungjo\space Regular)][encoding=uc] \stoptypescript % Start another typescript that associates generic names with % mid-level names: \starttypescript[serif][myungjo][name] \definefontsynonym[Serif][MyungjoRegular] \definefontsynonym[SerifBold][MyungjoBold] \definefontsynonym[SerifItalic][MyungjoLight] \stoptypescriptÀ» Ãß°¡ÇÏ°í
%Start a convenience typescript that ties it all together: \starttypescript[myface] %\definetypeface[Myface][rm][serif][smmjr][default][encoding=uc] \definetypeface[Myface][rm][serif][myungjo][default][encoding=uc] % \definetypeface[Myface][ss][sans][yoonche][default][encoding=uc] %\definetypeface[Myface][tt][mono][type][default][encoding=uc] % \definetypeface [Myface][mm][math,boldmath] [lucida] [default] [encoding=uc] \stoptypescript¿Í °°ÀÌ ¼öÁ¤ÇÕ´Ï´Ù...