At 11:25 AM 4/8/2002 +0200, Martin Kolarik wrote:
>I really like software,
>
>thank you -- after I installed last beta (I have installed stable version) I
>get immediately \XMLown... :-) and after aplying the patch all works fine.
>
>I have a few next questions (maybe something was answered in the discussion
>group sooner, but I cannot find it):
>
>1. XML + \startcombination...\stopcombination
>
>I tried to define XML environment <env> containing <item>(s) represented in
>ConTeXt with \startcombination...\stopcombination. As it takes arguments in
>{} I stored items of <env> in token register (directly or using a
>special-named macro for each <item>) and at the end of </env> I flushed this
>tokens using \startcombination[...]\the\tokens\stopcombination.

\expanded{\startcombination[...]\the\tokens}\stopcombination


What exactly do you want do achieve? Combinations are meant for figures, so 
maybe a tabulate is better

>But, using this method does not respect explicit \par (or \engraf) placed
>inside the stored stream. If I use \startitemize inside
><env><item>there</item></env> the list is badly formated -- whole in one
>line until I insert \par between the list items implicitly (directly to the
>XML). The list is still not fully correct, but at least the items are
>formatted/displayed in separate paragraphs.
>
>Thus I tried to use for storing <item> \startbuffer..\stopbuffer. But this
>failed, because (I think) this environment in this (my) case collides with
>XML -- there is (after \tracingmacros=1) correctly seen argument of <item>
>(e.g. "data 1") but incorrectly data for startbuffer "data 1 and next text
>until the end of the file" in the log file. The \startbuffer is incomplete
>and TeX fails.
>
>Now the question -- I there some solution to format XML input (<env>) into
>the \start,stopcombination? and allow inside <item> paragraphs and other
>nested environments?

i need a minimal example file of what you want

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------

Reply via email to