Christoph Hintermüller schrieb am 23.03.2020 um 17:09:
Hi Wolfgang

On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote:
This is not possible but maybe the following is a alternative for
you.

The tabulate can be used in combination with an item group to have
auto
generated numbers in a given column.

\starttext

\startitemize[a][stopper=)]
    \starttabulate
    \NI First  entry \NC\NR
    \NI Second entry \NC\NR
    \NI Third  entry \NC\NR
    \NI Fourth entry \NC\NR
    \stoptabulate
\stopitemize

\stoptext

I'm not sure if I'm doing something wrong or if I want something which
is not possible at all

I tired to ammend your above example as follows

\placetable[]
[fig:somefig]
{some caption}
{
\startuseMPgraphic{heap_add_start_with_3}
     input images/heap;
\stopuseMPgraphic
\startitemize[a][stopper=)]
      \starttabulate
      \NI { \useMPgraphic{heap_add_start_with_3} } \NC\NR
      \stoptabulate
\stopitemize
}

But id do get an "Undefined control sequence" for the \stoptabulate
command.

Is it cause i try to use \useMPgraphic inside tabulate column? or is it
something else.

You have to provide a *working* minimal example because the following dummy graphic works.

\starttext

\startplacetable[title={some caption},reference={fig:somefig}]
    \startuseMPgraphic{heap_add_start_with_3}
        draw fullcircle scaled 4cm ;
    \stopuseMPgraphic
    \startitemize[a][stopper=)]
        \starttabulate
        \NI \useMPgraphic{heap_add_start_with_3} \NC\NR
        \stoptabulate
    \stopitemize
\stopplacetable

\stoptext

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to