ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Nicolas Grilly" <nicolas@garden-paris.com>
Subject: Re: Context 2006.08.04 released
Date: Tue, 8 Aug 2006 13:00:15 +0200	[thread overview]
Message-ID: <554cfd4f0608080400p2841eaefv1d5cc2e0b6cfebd3@mail.gmail.com> (raw)
In-Reply-To: <44D85916.2070007@elvenkind.com>

Taco Hoekwater wrote:
> A quick test looks fine to me. What precisely is wrong?

My test file to reproduce the problem is at the end of this message.
When executing this test file, you should see numbers in table 2 are
not correctly aligned.

When you comment \starttableau and \stoptableau, columns are correctly aligned.

It seems the problem exists only when table 1 and table 2 have not the
same number of columns.

Thanks for your help,

Nicolas Grilly


%testfile

\setuppapersize [A4, landscape] [A4, landscape]

\definestartstop[tableau][
    before={\blank[2*big]},
    commands={\switchtobodyfont[10pt]},
    after={\blank[big]}
]

\setupTABLE[column][each][align=middle, aligncharacter=yes,
alignmentcharacter={,}]

\starttext

\subject{Table 1 - Numbers in this table are correctly aligned}

\starttableau
\bTABLE
    \bTR
        \bTH Nombre de trucs \eTH
        \bTH Evolution des trucs \eTH
        \bTH Revenu des trucs \eTH
        \bTH Evolution des trucs \eTH
    \eTR
    \bTR
        \bTD 38 229 \eTD
        \bTD +8,3\% \eTD
        \bTD 387 930 k\$ \eTD
        \bTD +8,3\% \eTD
    \eTR
    \bTR
        \bTD 29 616 \eTD
        \bTD +7,0\% \eTD
        \bTD 272 241 k\$ \eTD
        \bTD +0,7\% \eTD
    \eTR
\eTABLE
\stoptableau

\subject{Table 2 - Numbers in these tables are not aligned}

\starttableau
\bTABLE
    \bTR
        \bTH Nombre de trucs \eTH
        \bTH Part des trucs \eTH
        \bTH Evolution des trucs \eTH
        \bTH Revenu des trucs \eTH
        \bTH Part des trucs \eTH
        \bTH Evolution des trucs \eTH
    \eTR
        \bTR
            \bTD 27 269 \eTD
            \bTD 92,1\% \eTD
            \bTD +7,3\% \eTD
            \bTD 127 110 k\$ \eTD
            \bTD 46,7\% \eTD
            \bTD -2,0\% \eTD
        \eTR
        \bTR
            \bTD 20 084 \eTD
            \bTD 67,8\% \eTD
            \bTD +1,6\% \eTD
            \bTD 65 770 k\$ \eTD
            \bTD 24,2\% \eTD
            \bTD +2,7\% \eTD
        \eTR
\eTABLE
\stoptableau

\stoptext

  reply	other threads:[~2006-08-08 11:00 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-07  9:07 Taco Hoekwater
2006-08-07  9:28 ` Renaud AUBIN
2006-08-08 10:59   ` Hans Hagen
2006-08-08 12:10     ` Renaud AUBIN
2006-08-08 12:22       ` Hans Hagen
2006-08-08 12:51         ` Renaud AUBIN
2006-08-07 11:13 ` Nicolas Grilly
2006-08-07 11:47   ` Taco Hoekwater
2006-08-07 13:56     ` Nicolas Grilly
2006-08-07 14:07       ` Taco Hoekwater
2006-08-07 14:22         ` Nicolas Grilly
2006-08-07 14:25           ` Renaud AUBIN
2006-08-07 14:36           ` Taco Hoekwater
2006-08-07 14:23         ` Renaud AUBIN
2006-08-07 15:33           ` Taco Hoekwater
2006-08-07 16:36             ` Nicolas Grilly
2006-08-07 16:46               ` Taco Hoekwater
2006-08-07 18:16                 ` Nicolas Grilly
2006-08-08  9:27                   ` Taco Hoekwater
2006-08-08 11:00                     ` Nicolas Grilly [this message]
2006-08-07 11:40 ` Sanjoy Mahajan
2006-08-07 11:46   ` Taco Hoekwater
2006-08-07 11:47   ` Taco Hoekwater
2006-08-07 20:59   ` Hans Hagen
2006-08-07 21:41     ` Sanjoy Mahajan
2006-08-08  9:12       ` Hans Hagen
2006-08-08 12:34         ` \dontleavehmode and indenting after section (was Re: Context 2006.08.04 released) Sanjoy Mahajan
2006-08-08 12:54           ` Taco Hoekwater
2006-08-08 16:24             ` Sanjoy Mahajan
2006-08-08 17:47               ` Taco Hoekwater
2006-08-08 18:42                 ` Sanjoy Mahajan
2006-08-07 19:49 ` Context 2006.08.04 released Idris Samawi Hamid
2006-08-07 20:53   ` 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=554cfd4f0608080400p2841eaefv1d5cc2e0b6cfebd3@mail.gmail.com \
    --to=nicolas@garden-paris.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).