ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Context & Vietnamese UTF-8
@ 2004-11-15 22:42 VnPenguin
  2004-11-16 12:36 ` Adam Lindsay
  0 siblings, 1 reply; 4+ messages in thread
From: VnPenguin @ 2004-11-15 22:42 UTC (permalink / raw)


Hi all,
I'm newbie of ConTeXt. I use VnTeX (vietnamese package for LaTeX of
Han The Thanh) with UTF-8 without any problem on teTeX 2.x (with
pdflatex).

Now I would like to try ConTeXt and if it works I'll convert all my
LaTeX src into ConTeXt later.

Anyone could give me some  links to read for this please.

Thank you in advance

-- 
http://vnoss.org/forum/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Context & Vietnamese UTF-8
  2004-11-15 22:42 Context & Vietnamese UTF-8 VnPenguin
@ 2004-11-16 12:36 ` Adam Lindsay
  2004-11-16 14:20   ` VnPenguin
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Lindsay @ 2004-11-16 12:36 UTC (permalink / raw)


VnPenguin said this at Mon, 15 Nov 2004 23:42:29 +0100:

>Hi all,
>I'm newbie of ConTeXt. I use VnTeX (vietnamese package for LaTeX of
>Han The Thanh) with UTF-8 without any problem on teTeX 2.x (with
>pdflatex).
>
>Now I would like to try ConTeXt and if it works I'll convert all my
>LaTeX src into ConTeXt later.
>
>Anyone could give me some  links to read for this please.

Hi there.

I've worked on a bit of Unicode (output) for ConTeXt recently, and I
noticed that Vietnamese needs a little bit more work. There's already
viscii input and x5 encoding output (apparently) working in ConTeXt.

As I understand it, UTF-8 support will then require an update to
ConTeXt's unic-* files (giving named glyphs for input) and then a slight
update to the enco-x5 file. I guess what's really needed are canonical
internal names (like 'ygrave' or 'ohornhook') for ConTeXt's use.

Don't be afraid: it's not difficult, just a bit tedious. So I should ask,
Mr Penguin, how are you with sed, Perl, or Ruby?

Also, do you have any good references for character tables for the
encoding(s?) that VnTeX uses? I don't have it installed on my machine (yet).

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Context & Vietnamese UTF-8
  2004-11-16 12:36 ` Adam Lindsay
@ 2004-11-16 14:20   ` VnPenguin
  2004-11-16 14:39     ` Adam Lindsay
  0 siblings, 1 reply; 4+ messages in thread
From: VnPenguin @ 2004-11-16 14:20 UTC (permalink / raw)
  Cc: ConTeXt users

On Tue, 16 Nov 2004 12:36:24 +0000, Adam Lindsay <atl@comp.lancs.ac.uk> wrote:
> 
> Hi there.

Hi,
 
> I've worked on a bit of Unicode (output) for ConTeXt recently, and I
> noticed that Vietnamese needs a little bit more work. There's already
> viscii input and x5 encoding output (apparently) working in ConTeXt.

With current vnTeX (vntex.sf.net), we can use viscii, tcvn, vps and
unicode (utf8) for input encoding.
 
> As I understand it, UTF-8 support will then require an update to
> ConTeXt's unic-* files (giving named glyphs for input) and then a slight
> update to the enco-x5 file. I guess what's really needed are canonical
> internal names (like 'ygrave' or 'ohornhook') for ConTeXt's use.
> 
> Don't be afraid: it's not difficult, just a bit tedious. So I should ask,
> Mr Penguin, how are you with sed, Perl, or Ruby?

I could use Perl and sed (for simple jobs) without problem :)
 
> Also, do you have any good references for character tables for the
> encoding(s?) that VnTeX uses? I don't have it installed on my machine (yet).

You can download vnTeX from http://vntex.sourceforge.net

Regards,
-- 
http://vnoss.org/forum/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Context & Vietnamese UTF-8
  2004-11-16 14:20   ` VnPenguin
@ 2004-11-16 14:39     ` Adam Lindsay
  0 siblings, 0 replies; 4+ messages in thread
From: Adam Lindsay @ 2004-11-16 14:39 UTC (permalink / raw)
  Cc: ConTeXt users

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

VnPenguin said this at Tue, 16 Nov 2004 15:20:21 +0100:

>With current vnTeX (vntex.sf.net), we can use viscii, tcvn, vps and
>unicode (utf8) for input encoding.

Cool. If there are users of things other than viscii or utf8 who come to
ConTeXt, then they should be able to be accommodated with a little work.
 
>> As I understand it, UTF-8 support will then require an update to
>> ConTeXt's unic-* files (giving named glyphs for input) and then a slight
>> update to the enco-x5 file. I guess what's really needed are canonical
>> internal names (like 'ygrave' or 'ohornhook') for ConTeXt's use.
>> 
>> Don't be afraid: it's not difficult, just a bit tedious. So I should ask,
>> Mr Penguin, how are you with sed, Perl, or Ruby?
>
>I could use Perl and sed (for simple jobs) without problem :)

Okay. This first task is more a bit of human pattern recognition:
Take the appropriate Unicode "page":
  <http://www.unicode.org/charts/PDF/U1E00.pdf>
and fill in the attached unic-030 with the glyph names that go down the
list. I've filled in the a's to set the convention (tone accent goes
last, 'dot' gets called 'dotbelow').
(one step after this, and you can get started with your UTF-8 typesetting
with x5 fonts, I think. Another step beyond, and we all can use it with
Unicode fonts, and the final file to edit is to help viscii users hook
into the global VN support we just created for ConTeXt. :)
 
>> Also, do you have any good references for character tables for the
>> encoding(s?) that VnTeX uses? I don't have it installed on my machine
(yet).
>
>You can download vnTeX from http://vntex.sourceforge.net

Cheers, it looks like OSS is alive and well in VN, contrary to the
impression I got in my recent project dealing with the GDVT. 
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

[-- Attachment #2: unic-030.tex --]
[-- Type: application/x-tex, Size: 904 bytes --]

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-16 14:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-15 22:42 Context & Vietnamese UTF-8 VnPenguin
2004-11-16 12:36 ` Adam Lindsay
2004-11-16 14:20   ` VnPenguin
2004-11-16 14:39     ` Adam Lindsay

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).