On Fri, 25 Jan 2002, Hans Hagen wrote:
> At 07:19 PM 1/25/2002 +1100, Daniel Pittman wrote:
>>I am relatively new to ConTeXt and hardly a TeX expert by any means,
>>so I hope that the obvious point I have missed can be easily pointed
>>out.
>>
>>The attached document trivially reproduces the issue I am having with
>>layout. What I want to achieve is something like:
>>
>>* item one text that continues along here
>>* item two and wraps nicely...
>>
>>Unfortunately, the itemize in the left column places all the items on
>>a single line, even if I end them each with '\par'
>>
>>So, if itemize and tabulate do work together, which may not be true,
>>what have I done wrong?
>
> you need the p entry :
Ah. I have not expressed myself well. :( The layout example I showed
was incomplete -- I was too busy trying to cut it down to the minimum
size.
I want to get this effect, roughly:
+--------------------+-----------------------------+
+ * ingredient one + The steps to prepare this +
+ * ingredient two + part of the recipe. They go +
+ * ingredient three + on for a bit, involving the +
+ + ingredients to the left. +
+--------------------+-----------------------------+
+ * ingredient four + The next step. +
+ * ingredient five + +
+ * ingredient three + +
+--------------------+-----------------------------+
So, a continuing table with one or more ingredients in the left column
and the steps that use them in the right.
The hight of each row in the table should be determined by the longer of
the list of ingredients and the instructions.
What I /really/ want to achieve, though, and am having trouble with, is
that I should be able to have *any* number of ingredients on the left
and *any* length of text on the right without having whitespace imposed
on either side for those blocks.
I hope that is more clear about what I want. The intention is to group
the ingredients for the next step of a recipe together, putting them
next to the text explaining what to do with them.
The only way I can see it working with one ingredient per table row is
if I can allow the text on the right to fill more than one row, as with
the HTML table:
<table>
<tr>
<td> Ingredient One </td>
<td rowspan=3> The instructions for the first three ingredients. </td>
</tr>
<tr> <td> Ingredient Two </td> </tr>
<tr> <td> Ingredient Three </td> </tr>
</table>
Daniel
--
You are more than the sum of what you consume. Desire is not an occupation.
-- KMFDF, _Dogma_