ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Daniel Pittman <daniel@rimspace.net>
Cc: ntg-context@ntg.nl
Subject: Re: Itemize within tabulate does not work correctly, I think.
Date: Fri, 25 Jan 2002 22:23:21 +1100	[thread overview]
Message-ID: <874rlay8ra.fsf@inanna.rimspace.net> (raw)
In-Reply-To: <5.1.0.14.1.20020125103238.03cf3508@server-1> (Hans Hagen's message of "Fri, 25 Jan 2002 10:35:09 +0100")

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_


  reply	other threads:[~2002-01-25 11:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-25  8:19 Daniel Pittman
2002-01-25  9:35 ` Hans Hagen
2002-01-25 11:23   ` Daniel Pittman [this message]
2002-01-25 11:47     ` Berend de Boer
2002-01-25 12:18       ` Daniel Pittman
2002-01-25 12:22         ` Berend de Boer
2002-01-25 12:59         ` Hans Hagen
2002-01-25 22:24           ` Daniel Pittman
2002-01-27 18:22             ` Hans Hagen
2002-01-25 12:12     ` Taco Hoekwater
2002-01-25 12:56     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874rlay8ra.fsf@inanna.rimspace.net \
    --to=daniel@rimspace.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).