ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* About Big-5 Traditional Chinese
@ 2003-04-23  9:21 Edward G.J. Lee
  2003-04-23 12:54 ` Francisco V Leung
  2003-04-23 16:36 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Edward G.J. Lee @ 2003-04-23  9:21 UTC (permalink / raw)


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

Dear all,

ConTeXt has Big-5 Traditional Chinese build-in(thanks :), but I
can't let it work normally. Because of the `\' and `}' character
in Big-5 charset. For example, Big5-0xB35C(uni8A31), Big5-0xA55C
(uni529F) and Big5-0xB67D(uni958B).

I use ttf2pt1 to produce *.tfm, *.enc and *.map file for ConTeXt,
and use default Poorman's Chinese encoding, I can let the pdfetex
grasp TTF directly, but I don't know how to escape `\' and `}'.

My system,

Slackware Linux 8.1
teTeX-1.0.7
pdfTeX (Web2C 7.3.7) 3.14159-1.00b-pretest-20020211
ConTeXt: TeXExec 3.2 - ConTeXt / PRAGMA ADE 1997-2003
I change font-chi.tex to use \TraChi default, and
change to my Arphic public font`bsmi00lp'.

I attach a simple test file(in Big-5 encoding).

Did I miss something? Thanks for the help.



Edward


[-- Attachment #2: cont-b5.tex.gz --]
[-- Type: application/x-gzip, Size: 91 bytes --]

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

* Re: About Big-5 Traditional Chinese
  2003-04-23  9:21 About Big-5 Traditional Chinese Edward G.J. Lee
@ 2003-04-23 12:54 ` Francisco V Leung
  2003-04-23 14:45   ` Edward G.J. Lee
  2003-04-23 16:36 ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Francisco V Leung @ 2003-04-23 12:54 UTC (permalink / raw)


See if the following modification on your test file works:
\setupoutput[pdftex] % for my system only
\usemodule[chinese]
\TraChi % for my system only
\starttext
¤¤¤å´ú¸Õ¡C

% When '\' or '}' is the second byte of a Big5 character, use
% \uchar{###}{###} to represent the character instead. For example,
% ³\¥\¶}¡C is represented as:
\uchar{179}{92}\uchar{165}{92}\uchar{182}{125}¡C

\stoptext

----- Original Message -----
From: "Edward G.J. Lee" <edt1023@ms17.hinet.net>
To: "ConTeXt" <ntg-context@ntg.nl>
Sent: Wednesday, April 23, 2003 5:21 PM
Subject: [NTG-context] About Big-5 Traditional Chinese


> Dear all,
>
> ConTeXt has Big-5 Traditional Chinese build-in(thanks :), but I
> can't let it work normally. Because of the `\' and `}' character
> in Big-5 charset. For example, Big5-0xB35C(uni8A31), Big5-0xA55C
> (uni529F) and Big5-0xB67D(uni958B).
>
> I use ttf2pt1 to produce *.tfm, *.enc and *.map file for ConTeXt,
> and use default Poorman's Chinese encoding, I can let the pdfetex
> grasp TTF directly, but I don't know how to escape `\' and `}'.
>
> My system,
>
> Slackware Linux 8.1
> teTeX-1.0.7
> pdfTeX (Web2C 7.3.7) 3.14159-1.00b-pretest-20020211
> ConTeXt: TeXExec 3.2 - ConTeXt / PRAGMA ADE 1997-2003
> I change font-chi.tex to use \TraChi default, and
> change to my Arphic public font`bsmi00lp'.
>
> I attach a simple test file(in Big-5 encoding).
>
> Did I miss something? Thanks for the help.
>
>
>
> Edward
>
>

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

* Re: About Big-5 Traditional Chinese
  2003-04-23 12:54 ` Francisco V Leung
@ 2003-04-23 14:45   ` Edward G.J. Lee
  0 siblings, 0 replies; 4+ messages in thread
From: Edward G.J. Lee @ 2003-04-23 14:45 UTC (permalink / raw)


Hello Francisco,

On Wed, Apr 23, 2003, Francisco V Leung wrote:
> See if the following modification on your test file works:
> \setupoutput[pdftex] % for my system only
> \usemodule[chinese]
> \TraChi % for my system only
> \starttext
> ¤¤¤å´ú¸Õ¡C
> 
> % When '\' or '}' is the second byte of a Big5 character, use
> % \uchar{###}{###} to represent the character instead. For example,
> % ³\¥\¶}¡C is represented as:
> \uchar{179}{92}\uchar{165}{92}\uchar{182}{125}¡C
> 
> \stoptext

  Yes, it works, thanks.

  But is it possible to integrate into ConTeXt?


Edward

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

* Re: About Big-5 Traditional Chinese
  2003-04-23  9:21 About Big-5 Traditional Chinese Edward G.J. Lee
  2003-04-23 12:54 ` Francisco V Leung
@ 2003-04-23 16:36 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2003-04-23 16:36 UTC (permalink / raw)


At 17:21 23/04/2003 +0800, you wrote:
>Dear all,
>
>ConTeXt has Big-5 Traditional Chinese build-in(thanks :), but I
>can't let it work normally. Because of the `\' and `}' character
>in Big-5 charset. For example, Big5-0xB35C(uni8A31), Big5-0xA55C
>(uni529F) and Big5-0xB67D(uni958B).
>
>I use ttf2pt1 to produce *.tfm, *.enc and *.map file for ConTeXt,
>and use default Poorman's Chinese encoding, I can let the pdfetex
>grasp TTF directly, but I don't know how to escape `\' and `}'.

I'll send you a couple of perl scripts that i use for that

tex2uc filename

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

end of thread, other threads:[~2003-04-23 16:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-23  9:21 About Big-5 Traditional Chinese Edward G.J. Lee
2003-04-23 12:54 ` Francisco V Leung
2003-04-23 14:45   ` Edward G.J. Lee
2003-04-23 16:36 ` Hans Hagen

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