HI All Contexters out there!
I'm a Guy from sweden who will appreciate a possible solution to
following problem.
I'm interested in to do a personalized itemlist with a symbol created in
metapost.
Here is an example:
\startuniqueMPgraphic{square}
draw roundedsquare(20,20,2) withrgbcolor (.625,0,0);
\stopuniqueMPgraphic
\defineoverlay[square][\uniqueMPgraphic{square}]
\setupitemgroup
[itemize]
[1]
[symbol=square]
\starttext
\startitemize[1,columns]
\dorecurse{10}{\item itempoint \par}
\stopitemize
\stoptext
This doesn't have any effect so my question is how do I manage this?
I did following as an alternative solution and it worked as I wanted but
If I run this example the linebreak comes in to the next column(third
item), which is not what I want. See example below!
\definedescription
[task]
[text=\uniqueMPgraphic{square}, width=broad]
\startcolumns
\dorecurse{5}{\task very long sentence i will now write to create this
weird issue \par}
\stopcolumns
How do I prevent this, or is there a better solution?
Many thanks in advance
Janneman
\startuniqueMPgraphic{square}
draw roundedsquare(20,20,2) withrgbcolor (.625,0,0);
\stopuniqueMPgraphic
\defineoverlay[square][\uniqueMPgraphic{square}]
\definedescription
[task]
[text=\uniqueMPgraphic{square}, width=broad]
\setupitemgroup
[itemize]
[1]
[symbol=square]
\starttext
\section {First try to change symbol}
\startitemize[1,columns]
\dorecurse{10}{\item itempoint \par}
\stopitemize
\section {Next try to define an own description}
\startcolumns
\dorecurse{5}{\task very long sentence i will now write to create this weird issue \par}
\stopcolumns
\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
___________________________________________________________________________________