Re: [NTG-context] how to change 'figure 1.1' to ' 그림 1.1'

2007-12-04 Thread Mojca Miklavec
On 12/4/07, Dalyoung Jeong wrote:
 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.

Great :)

 But it is not working.
 I got the following error message for a simple test file.

I didn't test, but I would say: forget the dirty hacks and simply write

\setuplabeltext [\s!ko]   [\v!figure=그림]

It might not work in pdfTeX, but for XeTeX and LuaTeX it should do the
job. Once you do those changes, feel free to ask again if you have
problems (and don't forget to ask Hans to include the translations).

Mojca
___
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
___


Re: [NTG-context] how to change 'figure 1.1' to ' 그림 1.1'

2007-12-03 Thread Dalyoung Jeong

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 [EMAIL PROTECTED]
  @}\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


lang-kor.tex
Description: Binary data






___
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
___


Re: [NTG-context] how to change 'figure 1.1' to ' 그림 1.1'

2007-09-07 Thread Wolfgang Schuster
2007/9/6, Jeong Dalyoung [EMAIL PROTECTED]:
 Hello,

 \placefloat will put 'figure 1.1' or 'table 1.1' below the figures(or
 tables).

 I'd like to change figure or table to my own language.
 I looked into the manual, but there is no option which change figure
 or table.

 I tried definefloat[그림][그림들], but ConTeXt did not accept it.

 Is there a way to change them?

 Thank you.

 Best regards,

 Dalyoung

Hi,

the labels for figures, tables etc. will change with your current
main language in the document.

\mainlanguage[cn]

\starttext

\placefigure{Caption}{Figure}

\stoptext

will use the chinese label for the figures.

You can also define additional labels for other languages
if there is no predefined for you.

You can look into lang-chi.tex and lang-jap.tex for the definitions
for chinese and japanese.

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
___


[NTG-context] how to change 'figure 1.1' to ' 그림 1.1'

2007-09-06 Thread Jeong Dalyoung
Hello,

\placefloat will put 'figure 1.1' or 'table 1.1' below the figures(or  
tables).

I'd like to change figure or table to my own language.
I looked into the manual, but there is no option which change figure  
or table.

I tried definefloat[그림][그림들], but ConTeXt did not accept it.

Is there a way to change them?

Thank you.

Best regards,

Dalyoung


___
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
___