Hi,

Some new cool korean goodie:

\starttext

\definefontfeature
  [korean-composed]
  [goodies=hanbatanglvt,
   colorscheme=default,
   mode=node,
   ljmo=yes,
   tjmo=yes,
   vjmo=yes,
   script=hang,
   language=kor]

\definefont[KoreanJMO] [hanbatanglvt*korean-composed]

\startbuffer
    % Hunminjeongeum: http://en.wikipedia.org/wiki/Hunminjeongeum
나랏말ᄊᆞ미中듕國 귁에달아문ᄍᆞᆼ와로서르ᄉᆞᄆᆞᆺ디아니ᄒᆞᆯᄊᆡ% 사ᄅᆞᆷ마다ᄒᆡᅇᅧ수ᄫᅵ니겨날로ᄡᅮ메便뼌安 ᅙᅡᆫ킈ᄒᆞ고져ᄒᆞᇙᄯᆞᄅᆞ미니라
\stopbuffer

\definecolor[colorscheme:100:1][r=.75]
\definecolor[colorscheme:100:2][g=.75]
\definecolor[colorscheme:100:3][b=.75]

\definecolor[colorscheme:101:1][g=.75,b=.75]
\definecolor[colorscheme:101:2][r=.75,b=.75]
\definecolor[colorscheme:101:3][r=.75,g=.75]

\startTEXpage[offset=5pt,foregroundstyle=\KoreanJMO]
                            \getbuffer \par
    \setfontcolorscheme[100]\getbuffer \par
    \setfontcolorscheme[101]\getbuffer \par
\stopTEXpage

\stoptext

This example was made at the TUG 2013 conference after a presentation by Chof. The font most recent version of the font (adapted by by Dohyun Kim) can be downloaded from: http://ftp.ktug.org/KTUG/hcr-lvt/1.910_nomac/. The coloring of components is driven by an already existing mechanism.

Coloring Korean this way can help in education (which was what the presentation by Chof was about, apart from pointing out that tex is one of the few applications that can do these things.)

Hans



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

Attachment: koreandemo.pdf
Description: Adobe PDF document

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to