ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Fwd:  how to change 'figure 1.1' to '그림 1.1'
Date: Tue, 4 Dec 2007 11:12:14 +0100	[thread overview]
Message-ID: <115224fb0712040212g6d354b3eub676a2bb9893fbdb@mail.gmail.com> (raw)
In-Reply-To: <115224fb0712040211r5ee3982fm870253abc648f4f2@mail.gmail.com>

---------- Forwarded message ----------
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Date: 04.12.2007 11:11
Subject: Re: [NTG-context] how to change 'figure 1.1' to '그림 1.1'
To: Dalyoung Jeong <haksan@mac.com>


2007/12/4, Dalyoung Jeong <haksan@mac.com>:
> Dear all,
>
> Last september, I asked about how to change the label text of figures
> and of tables in my own language.
> At that time, Wolfgang suggested me to make lang-kor.tex like lang-
> chi.tex.
>
> Yesterday, I made lang-kor.tex and test it. But it is not working.
> I got the following error message for a simple test file.
>
> .........
> .........
> (/usr/local/gwTeX/texmf.pkgs/tex/context/base/sort-lan.mkii)) (./test-
> label.tuo
> ) (./test-label.tuo)
> systems         : begin file test-label at line 3
> ! Undefined control sequence.
> <argument> \koreanencoding
>
> \doenableencoding ...\edef \characterencoding {@#1
>                                                    @}\fi \edef
> \nocharacteren...
> <to be read again>
>                     \koencodedintro
> \dogetupsometextprefix ...csname #2#1#3\endcsname
>                                                    \else \ifcsname
> #2#3\endcs...
>
> \labeltexts #1#2->\leftlabeltext {#1}
>                                       #2\rightlabeltext {#1}
> \sectionblocklabel ...sectionblock \c!label }}{#2}
>                                                    \fi
> ...
> l.9 \section{figures}
>
> ?
> %%%%%%%%%%%%
>
> Would you please check what is wrong in here?
> I test it using XeTeX+ ConTeXt in gwTeX(mac OSX 10.5).
>
> Thank you.
>
> Best regards,
>
> Dalyoung

Hi,

it is hard to reproduce your problem, I have no fonts on my system to test
it and a test file is also missing but you can try the following method.

Replace

\unexpanded\def\koencoding{\enableencoding[\koreanencoding]}

with

\unexpanded\def\koencoding{\enableencoding[cjk-uni]}

You use a undefined command \koreanecnoding and this will always fail,
you should also remove the commented lines at the end of the files and
change the file information, subtitle should Korean and not Chinese and
you should also change the date.

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2007-12-04 10:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-04  4:49 Dalyoung Jeong
     [not found] ` <115224fb0712040211r5ee3982fm870253abc648f4f2@mail.gmail.com>
2007-12-04 10:12   ` Wolfgang Schuster [this message]
2007-12-04 16:43 ` Mojca Miklavec

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=115224fb0712040212g6d354b3eub676a2bb9893fbdb@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).