[NTG-context] startcombination place reference left of images instead below

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Mon Mar 23 17:20:57 CET 2020


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



More information about the ntg-context mailing list