Hi,

If I make sure there is enough space, i.e. more than one space, between the \begin... and the text, it works! However in the pdf the item drops a line down, like this:


*
    Ik vraag me af ...

Does anyone have a workaround?

Kind regards,

Robert


\defineblock[Nederlandsblok, Engelsblok]

\starttext
\startitemize
\item \beginNederlandsblok Ik vraag me af of ze ook appels verkopen
        \endNederlandsblok
        \beginEngelsblok         I really wonder if they do sell apples
        \endEngelsblok
\item \beginNederlandsblok Ik vraag me af of ze ook appels verkopen
        \endNederlandsblok
        \beginEngelsblok         I really wonder if they do sell apples
        \endEngelsblok
\stopitemize
\stoptext


Rob Ermers wrote:
Thanks Brooks and Olivier,
I'm afraid the problem has not entirely been solved.

Brooks' solution works in the sense that I can hide BlockA or B (\hideblocks[BlockA]), but the \items remain, and empty items are generated.

Olivier's suggestion is processed, the result is only one language. Now now I wonder how to hide either one of the languages. The document I want to produce is monolingual, either Dutch or English.

Thanks again!

Kind regards,

Robert



Brooks Moses wrote:

At 04:58 AM 8/22/2005, you wrote:

Thanks for your reaction. My original proposal was:

\startitemize
  \beginblockA
    \item Apple
  \endblockA
  \beginblockB
    \item Pomme
  \endBlockB
  \beginblockA
    \item Pear
  \endblockA
  \beginblockB
    \item Poire
  \endBlockB
\stopitemize

This does not work.



I don't know anything about how blocks work, so this may be completely off-base, but if they do any sort of grouping, that would be quite sufficient to cause problems in a situation like that. Does this work?

\startitemize
  \item \beginblockA
    Apple
  \endblockA
  \item \beginblockB
    Pomme
  \endBlockB
  \item \beginblockA
    Pear
  \endblockA
  \item \beginblockB
    Poire
  \endBlockB
\stopitemize

- Brooks

_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context



_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context



_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to