Re: [NTG-context] text alignment in table

2015-04-07 Thread Aditya Mahajan

On Tue, 7 Apr 2015, John Culleton wrote:


Given this table:
\starttabulate[|l|l]
\NC 8:00\emdash noon \NC Ordering/opening/training\NR 
\NC \NC Food~preparation\NC\NR 
\NC Noon\emdash 2:00 PM \NC Luncheon~sales\NR

\NC 2:00 PM\emdash 7:00 PM \NC General administration/baking \NR
\NC \NC Supplier meeting (this is you) \NC\NR 
\stoptabulate


the Word "Food" is left justified in the
column (good) and the word "preparation"
is right justified (bad). The same problem occurs
in the string "Luncheon sales." The glyph "~"
doesn't help.


The syntax is

\starttabulate[|l|l|]
  \NC .. \NC ... \NC \NR
  \NC .. \NC ... \NC \NR
\stoptabulate

You do not have enough \NC-s in all rows.

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] text alignment in table

2015-04-07 Thread Thomas Floeren
On 7 Apr 2015, at 17:40, John Culleton wrote:

> Given this table:
> \starttabulate[|l|l]
> \NC 8:00\emdash noon \NC Ordering/opening/training\NR
> \NC \NC Food~preparation\NC\NR
> \NC Noon\emdash 2:00 PM \NC Luncheon~sales\NR
> \NC 2:00 PM\emdash 7:00 PM \NC General administration/baking \NR
> \NC \NC Supplier meeting (this is you) \NC\NR
> \stoptabulate
> 
> the Word "Food" is left justified in the
> column (good) and the word "preparation"
> is right justified (bad). The same problem occurs
> in the string "Luncheon sales." The glyph "~"
> doesn't help.
>

A missing `|`

\starttabulate[|l|l|]

-- 
Thomas


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] text alignment in table

2015-04-07 Thread John Culleton
Given this table:
\starttabulate[|l|l]
\NC 8:00\emdash noon \NC Ordering/opening/training\NR 
\NC \NC Food~preparation\NC\NR 
\NC Noon\emdash 2:00 PM \NC Luncheon~sales\NR
\NC 2:00 PM\emdash 7:00 PM \NC General administration/baking \NR
\NC \NC Supplier meeting (this is you) \NC\NR 
\stoptabulate

the Word "Food" is left justified in the
column (good) and the word "preparation"
is right justified (bad). The same problem occurs
in the string "Luncheon sales." The glyph "~"
doesn't help.

I also tried the table variation in chapter
twenty-two of  "The TeXbook". That doesn't work
in MKIV. 

My last resort is to introduce a one page pdf from
the InDesign-created pdf. But the must be a
Context solution.


-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: "Create Book Covers with
Scribus 1.4.5" coming soon at
http://www.booklocker.com/!
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___