ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ville Voipio <ville.voipio@kpatents.com>
Subject: \startalignment etc. require text immediately after
Date: Tue, 24 Jan 2006 16:30:02 +0200	[thread overview]
Message-ID: <43D639EA.9050404@kpatents.com> (raw)

One phenomenon I have repeatedly come accross but not quite 
understood... If I have \startalignment, \startnarrower, etc., then 
there has to be text immediately after the start command.

As small example:

\startalignment[center]
\bTABLE
\bTR \bTD something \eTD \eTR
\eTABLE
\stopalignment

This should create a single-cell table in the middle of the page. It 
does not, the text is in the left.

If I add something small (a strut), then everything works fine:

\startalignment[center]
\strut
\bTABLE
\bTR \bTD something \eTD \eTR
\eTABLE
\stopalignment

Any text has the same effect as the strut. If the text is added to the 
end, it does not have any effect, i.e. the start has no effect. After 
some quick experimenting it seems evident that there has to be text 
after the start command. A figure or a table won't do. Why? And does 
this occur with any start-stop pair (sounds odd) or just with a few? And 
what is the kosher way of solving this problem?

This must be a FAQ, but I could not find the search terms to find an answer.

TIA,

- Ville

             reply	other threads:[~2006-01-24 14:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-24 14:30 Ville Voipio [this message]
2006-01-24 15:16 ` Taco Hoekwater

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=43D639EA.9050404@kpatents.com \
    --to=ville.voipio@kpatents.com \
    --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).