ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: korean
Date: Thu, 31 Oct 2013 10:50:06 +0100	[thread overview]
Message-ID: <527227CE.7060207@wxs.nl> (raw)

[-- Attachment #1: Type: text/plain, Size: 2168 bytes --]

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 #2: koreandemo.pdf --]
[-- Type: application/pdf, Size: 22391 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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	other threads:[~2013-10-31  9:50 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-31  9:50 Hans Hagen [this message]
     [not found] <mailman.1.1383476401.28008.ntg-context@ntg.nl>
2013-11-03 12:01 ` korean Jeong Dal
2013-11-04 13:14   ` korean Hans Hagen
     [not found] <mailman.1.1383390001.25931.ntg-context@ntg.nl>
2013-11-02 12:44 ` korean Jeong Dal
2013-11-02 15:09   ` korean Wolfgang Schuster
     [not found] <mailman.105.1383379181.2136.ntg-context@ntg.nl>
2013-11-02  9:16 ` korean Jeong Dal
2013-11-02  9:33   ` korean Wolfgang Schuster
     [not found] <mailman.3.1383303602.25914.ntg-context@ntg.nl>
2013-11-01 13:55 ` korean Jeong Dal
2013-11-01 14:09   ` korean Hans Hagen
     [not found] <mailman.83.1383229032.2136.ntg-context@ntg.nl>
2013-11-01  4:50 ` korean Jeong Dal
2013-11-01  5:51   ` korean Wolfgang Schuster
2013-11-01  6:11     ` korean Henning Hraban Ramm
  -- strict thread matches above, loose matches on Subject: below --
2009-02-05  0:43 Korean polytope
     [not found] <mailman.29.1233735747.6181.ntg-context@ntg.nl>
2009-02-04 12:12 ` Korean polytope
2009-02-03 20:27 korean Hans Hagen
2009-02-03 20:49 ` korean Wolfgang Schuster
2009-02-04  0:34   ` korean Dohyun Kim
2009-02-04  0:25 ` korean Wolfgang Schuster
2009-02-04  1:36   ` korean Dohyun Kim
2009-02-04  8:05     ` korean Wolfgang Schuster
2009-02-04  8:13       ` korean Wolfgang Schuster
2009-02-04  9:57       ` korean Dohyun Kim
2009-02-04 10:19         ` korean Wolfgang Schuster
2009-02-04 11:03         ` korean Hans Hagen
2009-02-04 11:16           ` korean Yue Wang
2009-02-04 11:25             ` korean Hans Hagen
2009-02-04 11:32             ` korean Hans Hagen
2009-02-04 11:46               ` korean Yue Wang
2009-02-04 12:23               ` korean Dohyun Kim
2009-02-04 12:47                 ` korean Hans Hagen
2009-02-04 13:50                   ` korean Dohyun Kim
2009-02-04 11:38             ` korean Yue Wang
2009-02-04 12:16               ` korean Hans Hagen
2009-02-04 12:33                 ` korean Yue Wang
2009-02-04 12:39                   ` korean Hans Hagen
2009-02-04 14:57                     ` korean Yue Wang
2009-02-04 15:05                       ` korean luigi scarso
2009-02-04 15:22                         ` korean Yue Wang
2009-02-04 15:35                           ` korean luigi scarso
2009-02-04 15:52                             ` korean Yue Wang
2009-02-04 16:04                               ` korean luigi scarso
2009-02-04 16:20                       ` korean Dohyun Kim
2009-02-04 11:41           ` korean Arthur Reutenauer
2009-02-04 11:49             ` korean Hans Hagen
2009-02-04 12:21               ` korean Arthur Reutenauer
2009-02-04 23:25                 ` korean Arthur Reutenauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527227CE.7060207@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).