Re: [NTG-context] circled number for item head

2011-03-21 Thread Wolfgang Schuster

Am 21.03.2011 um 00:39 schrieb Jeong Dalyoung:

 Dear all,
 
 I'd like to use circled number for item head.
 I found one method which use a counter as follows:

- http://www.ntg.nl/pipermail/ntg-context/2009/041430.html
- http://www.ntg.nl/pipermail/ntg-context/2006/017319.html

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


Re: [NTG-context] circled number for item head (Wolfgang Schuster)

2011-03-21 Thread Jeong Dalyoung
Dear Wolfgang,

Thank you for reminding me the thread.
I also found it yesterday evening and it made me realize how dumb I am.

I am so sorry to give you a needless work.

I'd like to ask you one more.
I was looking for a way to use some characters as an item head like 
\startitemize[a] because an official document usually use numbers and some 
characters as item heads.
For consecutive characters in unicode, it is possible to do that using unicode.

 \def\circledja#1{\uchar{50}{95+#1}} 
 \def\circledga#1{\uchar{50}{109+#1}} 
 \def\circleden#1{\uchar{36}{207+#1}} 

and \defineconversion[][].

But for characters which are not listed consecutively, I don't know how to make 
it appear automatically.
I may use \sym{} 
AC00, B098, B2E4, B77C, ...
These are the same characters in the area 320E ~ 321B without parenthesis.  
Is it possible to make those characters appear automatically as item heads?


I hope that it is not a silly question.

Thank you again.

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


Re: [NTG-context] circled number for item head (Wolfgang Schuster)

2011-03-21 Thread Aditya Mahajan

On Tue, 22 Mar 2011, Jeong Dalyoung wrote:


Dear Wolfgang,

Thank you for reminding me the thread.
I also found it yesterday evening and it made me realize how dumb I am.

I am so sorry to give you a needless work.

I'd like to ask you one more.
I was looking for a way to use some characters as an item head like 
\startitemize[a] because an official document usually use numbers and some 
characters as item heads.
For consecutive characters in unicode, it is possible to do that using unicode.

\def\circledja#1{\uchar{50}{95+#1}}
\def\circledga#1{\uchar{50}{109+#1}}
\def\circleden#1{\uchar{36}{207+#1}}

and \defineconversion[][].

But for characters which are not listed consecutively, I don't know how to make 
it appear automatically.
I may use \sym{}
AC00, B098, B2E4, B77C, ...
These are the same characters in the area 320E ~ 321B without parenthesis.
Is it possible to make those characters appear automatically as item heads?


\defineconversion[whatever][One, Two, Three, Four]

\starttext

\startitemize[whatever]
  \item First
  \item Second
  \item Third
\stopitemize
\stoptext

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


Re: [NTG-context] circled number for item head

2011-03-21 Thread Jeong Dalyoung

Dear Aditya,

Thank you for the solution.
You cleared one of my  wish list in one sentence.

 \defineconversion[whatever][One, Two, Three, Four]

I was just looking for a way to use the counter.

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


[NTG-context] circled number for item head

2011-03-20 Thread Jeong Dalyoung
Dear all,

I'd like to use circled number for item head.
I found one method which use a counter as follows:

 \def\circlednum#1{\uchar{36}{95+#1}} 
\defineconversion[myitem][\circlednum]

\starttext
\startitemize[myitem, pack]
\item 111
\item 222
\item 333
\item 444
\item 555
\stopitemize
\stoptext

But it has a limitation of numbers. I think that there is a better way for this 
like using overlay something, I guess.

Is there any general method which is good for any letter?

Thanks for reading.

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