Dear Contexers, I am setting up a complex bilingual document, which has to print one language at the time. Does anyone know how to use the wonderful blocks application in an itemize environment? I think the second block causes problems. Kind regards, Robert \setupoutput[pdftex] \setuppapersize [A4][A4] \defineblock[Nederlandsblok, Engelsblok] \hideblocks[Nederlandsblok] \starttext \startitemize \beginNederlandsblok \item Ik vraag me af of ze ook appels verkopen %NED \endNederlandsblok \beginEngelsblok \item I really wonder if they do sell apples %ENG \endEngelsblok \stopitemize \stoptext Contents of log file: systems : begin file tst at line 8 textblocks : Nederlandsblok hidden textblocks : Engelsblok typeset (./tst-texutil0.tmp) ! Extra }, or forgotten \endgroup. <recently read> \egroup \closeblock ...pblock \doafterblock {Engelsblok}{} \egroup l.17 \endEngelsblok
Rob Ermers wrote:
Dear Contexers,
I am setting up a complex bilingual document, which has to print one language at the time.
Does anyone know how to use the wonderful blocks application in an itemize environment? I think the second block causes problems.
Don't putn them in, but around the itemize: \beginNederlandsblok \startitemize \item Ik vraag me af of ze ook appels verkopen %NED \stopitemize \endNederlandsblok Greetings, Taco
Thanks Taco, I have of course thought of that, and I know it must work, but in the way I intend to set up the document, especially in regard to the connections between the blocks (item A' = translation of item A), it would be handy if it could be done around each item. If not, I'll have to find another solution. Kind regards, Robert
Dear Contexers,
I am setting up a complex bilingual document, which has to print one language at the time.
Does anyone know how to use the wonderful blocks application in an itemize environment? I think the second block causes problems.
Don't putn them in, but around the itemize:
\beginNederlandsblok \startitemize \item Ik vraag me af of ze ook appels verkopen %NED \stopitemize \endNederlandsblok
Greetings, Taco
r.ermers@hccnet.nl wrote:
Thanks Taco,
I have of course thought of that, and I know it must work, but in the way I intend to set up the document, especially in regard to the connections between the blocks (item A' = translation of item A), it would be handy if it could be done around each item.
Why not just use a lot of one-item itemizes? Taco
participants (3)
-
r.ermers@hccnet.nl
-
Rob Ermers
-
Taco Hoekwater