Re: [NTG-context] Tables in multiple columns?

2020-11-16 Thread Bruce Horrocks


> On 16 Nov 2020, at 08:55, Bruce Horrocks  wrote:

[snip]

> I'm interested because I have a long thin table that I would to avoid having 
> to manually split, but I would also like the heading to repeat at the top of 
> each column and \starttabulation doesn't do the latter. I was hoping that 
> \bTABLE did.

Sorry I meant \startabulate not \startabulation

--
Bruce Horrocks
Hampshire, UK

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Tables in multiple columns?

2020-11-16 Thread Bruce Horrocks
There's an example in the Wiki on how to put a table into multiple columns that 
no longer works in LMTX (version 2020.11.05 23:01).


\starttext
\startcolumns[n=3]
\bTABLE
\dorecurse{21}
{\bTR \bTD a\eTD \bTD b \eTD \eTR}
\eTABLE
\stopcolumns
\stoptext

I'm interested because I have a long thin table that I would to avoid having to 
manually split, but I would also like the heading to repeat at the top of each 
column and \starttabulation doesn't do the latter. I was hoping that \bTABLE 
did.

--
Bruce Horrocks
Hampshire, UK

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables vs tables (deprecation paranoia again)

2016-03-02 Thread Hans Hagen

On 3/2/2016 4:52 PM, Nicola wrote:

I read in the wiki that my beloved \starttable...\stoptable is
deprecated. Tabulate seems their next of kin, but... does it
support cells spanning more than one row?


\starttable will always stay around (after all, it had been partially 
mkiv'd); it's just that some of the other mechanisms have more features 
and can/will be extended if needed


(not that much got deprecated; of course we got rid of encodings and 
some more no-longer-relevant mechanisms in mkiv but functionality stays)


Hans

(1) ok, this year old school bibtex support is depricated (still around 
as module) so we do change some defaults


(2) and the current beta has new columnset code which also depricates 
some old obscure features in favor of new ones


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-
___
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] Tables vs tables (deprecation paranoia again)

2016-03-02 Thread Nicola

I read in the wiki that my beloved \starttable...\stoptable is
deprecated. Tabulate seems their next of kin, but... does it
support cells spanning more than one row?

Nicola


___
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] Tables, Row Span, and Colors

2015-03-14 Thread Troy Henderson
Updating ConTeXt minimals fixed my problem.  Thank you.

Troy
___
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] Tables, Row Span, and Colors

2015-03-13 Thread Otared Kavian
 On 14 Mar 2015, at 00:27, Troy Henderson thend...@gmail.com wrote:
 
 Thank you Wolfgang.  The attached PDF is the output I get from using your 
 code.
 
 This is LuaTeX, Version beta-0.79.2 (TeX Live 2015/dev) (rev 5084)

Hi Troy,

With Wolfgang’s code, the attached PDF is what I get with 
ConTeXt  ver: 2015.03.10 12:09 MKIV beta  fmt: 2015.3.11  int: 
english/english
Here it doesn’t show the problem you noticed.
It may happen that the code you used missed something.

Best regards: OK


table-row-span.pdf
Description: Adobe PDF document


___
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] Tables, Row Span, and Colors

2015-03-13 Thread Troy Henderson
Thank you Wolfgang.  The attached PDF is the output I get from using your
code.

This is LuaTeX, Version beta-0.79.2 (TeX Live 2015/dev) (rev 5084)

Troy


foo.pdf
Description: Adobe PDF document
___
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] Tables, Row Span, and Colors

2015-03-13 Thread Wolfgang Schuster

 Am 12.03.2015 um 18:37 schrieb Troy Henderson thend...@gmail.com:
 
 The following code produces my table, but I could not get the text Region 
 to span rows 3-7.  So, I would like
 
 the word Region to be inside the table and not hacked in the way that I 
 have it.
 to make the (spanned) cell containing Years have a gray background.
 to make each of the column heading cells (i.e., the ones containing 1, 
 1-2, ..., 15+, and Total to have a gray background.
 to have the (spanned) cell containing Region (from #1) have a gray 
 background.
 to have the row heading cells (i.e., the ones containing East, Midwest, 
 South, West, and Total) have a gray background.
 I would appreciate any help in attaining this wish list.
 
You can use natural tables or xtables to achieve this layout.

\starttext

\startsetups[table:layout]
\setupTABLE [start]  
[frame=off,leftframe=on,rightframe=on,align=flushright,width=4em,loffset=.25em,roffset=.25em]
\setupTABLE [y]   [1,2]  
[foregroundstyle=bold,background=screen,align=middle,frame=on]
\setupTABLE [x]   [1,2]  
[foregroundstyle=bold,background=screen,frame=on]
\setupTABLE [1,2] [1,2]  
[background=,frame=off,leftframe=off,rightframe=off]
\setupTABLE [x]   [1][align={middle,lohi},width=2em]
\setupTABLE [x]   [2][align=flushleft,width=6em]
\setupTABLE [y]   [last] [frame=on]
\stopsetups

\bTABLE[setups=table:layout]
\bTR
\bTD \eTD
\bTD \eTD
\bTD[nx=7] Years \eTD
\eTR
\bTR
\bTD \eTD
\bTD \eTD
\bTD \m{1} \eTD
\bTD \m{1-2} \eTD
\bTD \m{3-4} \eTD
\bTD \m{5-9} \eTD
\bTD \m{10-14} \eTD
\bTD \m{15+} \eTD
\bTD Total \eTD
\eTR
\bTR
\bTD[ny=5] \rotate[rotation=90]{Region} \eTD
\bTD East \eTD
\bTD 32 \eTD
\bTD 54 \eTD
\bTD 59 \eTD
\bTD 112 \eTD
\bTD 77 \eTD
\bTD 118 \eTD
\bTD 452 \eTD
\eTR
\bTR
\bTD Midwest \eTD
\bTD 31 \eTD
\bTD 68 \eTD
\bTD 68 \eTD
\bTD 120 \eTD
\bTD 63 \eTD
\bTD 173 \eTD
\bTD 523 \eTD
\eTR
\bTR
\bTD South \eTD
\bTD 53 \eTD
\bTD 92 \eTD
\bTD 93 \eTD
\bTD 158 \eTD
\bTD 106 \eTD
\bTD 158 \eTD
\bTD 660 \eTD
\eTR
\bTR
\bTD West \eTD
\bTD 41 \eTD
\bTD 56 \eTD
\bTD 67 \eTD
\bTD 78 \eTD
\bTD 45 \eTD
\bTD 86 \eTD
\bTD 373 \eTD
\eTR
\bTR
\bTD Total \eTD
\bTD 157 \eTD
\bTD 270 \eTD
\bTD 287 \eTD
\bTD 468 \eTD
\bTD 291 \eTD
\bTD 535 \eTD
\bTD 2008 \eTD
\eTR
\eTABLE

\stoptext

Wolfgang

___
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] Tables, Row Span, and Colors

2015-03-12 Thread Troy Henderson
The following code produces my table, but I could not get the text Region
to span rows 3-7.  So, I would like


   1. the word Region to be inside the table and not hacked in the way
   that I have it.
   2. to make the (spanned) cell containing Years have a gray background.
   3. to make each of the column heading cells (i.e., the ones containing
   1, 1-2, ..., 15+, and Total to have a gray background.
   4. to have the (spanned) cell containing Region (from #1) have a gray
   background.
   5. to have the row heading cells (i.e., the ones containing East,
   Midwest, South, West, and Total) have a gray background.

I would appreciate any help in attaining this wish list.

Thanks in advance,

Troy

—— Code Starts Here ——

\setupcolors[state=start]
\starttext
\null\vskip15ex
\hskip1em\framed[orientation=90,frame=off]{\bf
Region}\blank\vskip-25.5ex
\starttable[|c|l|r|r|r|r|r|r|r|]
\DC \DC \DL[7] \DR
\NC \NC \VL \use{7}\ReFormat[cB]{Years} \VL \AR
\DC \DC \DL[7] \DR
\NC \NC \VL \ReFormat[cB]{$1$} \VL \ReFormat[cB]{$1-2$} \VL
\ReFormat[cB]{$3-4$} \VL \ReFormat[cB]{$5-9$} \VL \ReFormat[cB]{$10-14$}
\VL \ReFormat[cB]{$15+$} \VL \ReFormat[cB]{Total} \VL \AR
\HL
%\VL \offset[y=8ex]{\framed[orientation=90,frame=off]{\bf Region}}
\VL East \VL 32 \VL 54 \VL 59 \VL 112 \VL 77 \VL 118 \VL 452 \VL \AR
\VL \null\hskip2em\null \VL {\bf East} \VL 32 \VL 54 \VL 59 \VL 112
\VL 77 \VL 118 \VL 452 \VL \AR
\VL \VL {\bf Midwest} \VL 31 \VL 68 \VL 68 \VL 120 \VL 63 \VL 173
\VL 523 \VL \AR
\VL \VL {\bf South} \VL 53 \VL 92 \VL 93 \VL 158 \VL 106 \VL 158
\VL 660 \VL \AR
\VL \VL {\bf West} \VL 41 \VL 56 \VL 67 \VL 78 \VL 45 \VL 86 \VL
373 \VL \AR
\DC \DL[8] \DR
\VL \VL {\bf Total} \VL 157 \VL 270 \VL 287 \VL 468 \VL 291 \VL 535
\VL 2008 \VL \AR
\HL
\stoptable
\stoptext
___
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] Tables still broken?

2012-07-06 Thread Meer, H. van der
Are tables still broken? If so, any pointers to when it will be repaired?
The table did typeset in the past without problems.

I get an error with this recent version of ConTeXt:

ConTeXt  ver: 2012.07.04 23:48 MKIV  fmt: 2012.7.6  int: english/english

! Use of \secondstagestarttable doesn't match its definition.

system   tex  error on line 5 in file Tabellen/tabel-engels.tex: Use 
of  ...

 1 % Part of Practicumboek Cryptografie - ConTeXt version
 2 %
 3 \placetable{}{\smallsize\tt
 4 \starttable[s1|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|]
 5   \HL
 6 \VL \VL ~-A\NC ~-B\NC ~-C\NC ~-D\NC ~-E\NC ~-F\NC ~-G\NC ~-H\NC ~-I\NC 
~-J\NC ~-K\NC ~-L\NC ~-M\NC
..
\dostarttable ...enotes \firststagestarttable \fi 
  \fi [#1]
\syst_helpers_double_empty_one_spaced ...1[{#2}][]
   
to be read again 
   \HL 
l.5 \HL

Hans van der Meer



___
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] Tables still broken?

2012-07-06 Thread Hans Hagen

On 6-7-2012 21:29, Meer, H. van der wrote:

Are tables still broken? If so, any pointers to when it will be repaired?
The table did typeset in the past without problems.


fixed in next upload ...keep in mind that you're missing a \NR

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-


___
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] tables

2012-06-14 Thread Hans Hagen

Hi,

two table mechanisms now have the textwidth (max available width) set to 
local which makes it work inside for instance text backgrounds


\starttext

\starttextbackground

\input ward

\bTABLE % [textwidth=local]
\bTR
\bTD \input ward \eTD
\bTD \input ward \eTD
\eTR
\eTABLE

\startxtable % [textwidth=local]
\startxrow
\startxcell \input ward \stopxcell
\startxcell \input ward \stopxcell
\stopxrow
\stopxtable

\stoptextbackground

\stoptext

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
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] tables

2012-05-17 Thread Meer, H. van der
I started using starttable..\stoptable.

Question: How can I force the table cells to fixed dimensions, for example 
squares of 1cmx1cm?

I can see \setuptables[height= width= depth=] but that does not take dimensions 
(error Illegal unit). What it does with the numbers given is not clear to me, 
because the ConTeXtGarden has no explanation of its effect.

By the way, the page Command/setuptables has the bodyfont parameter occurring 
twice in the table.

Hans van der Meer

___
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] Tables and nobreakable space

2010-11-27 Thread Hans Hagen

On 22-11-2010 8:24, Wolfgang Schuster wrote:

\starttext
\starttable[|p|]
\NC ~ \NC\NR
\stoptable
\stoptext


fixed in next beta

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] tables and column spanning

2010-11-25 Thread Mojca Miklavec
Dear Hans,

In MKIV I miss the probably recently dropped command
\use{number-of-column} from \starttable ... \stoptable environment. In
MKII it still works perfectly fine.

Here's an example from Wiki for testing:

\starttable[s(0pt)|ls(10pt)|rs(0pt)|]
\HL
\NC \use{2}\ReFormat[cB]{Spanning head} \SR
\HL
\NC \Use{2}[cB]{Spanning head} \SR % slightly shorted
\HL
\NC left column text\VL right column text \NC \AR
\NC new row \VL new row   \NC \AR
\NC left column text\VL \ReFormat[l]{reformatted} \NC \AR
\HL
\NC \use{2}Spanning entry \SR
\HL
\stoptable

Mojca

PS: I cannot use \bTABLE since it is very ugly.
___
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] Tables and nobreakable space

2010-11-21 Thread Wolfgang Schuster
Hi Hans,

there is a bug in the merged code of the table environment.

\starttext
\starttable[|p|]
\NC ~ \NC\NR
\stoptable
\stoptext

Wolfgang

___
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] tables and color

2010-11-17 Thread Hans Hagen

Hi,

A while ago Herbert reported problems with color in \starttable and 
Aditya suggested to provide \VL in \starttabulate. Also, there's some 
experimental coloring code in tabulate.


So, I decided to add better color support to tabulate as well as 
vertical lines (for as far as it makes sense). Below you will see how 
the interface works. A side effect is that \NC[color] is no longer 
supported: we need 4 cases instead of one.


Concerning \starttable: I started merging the patches into the TaBlE 
code but also started wondering if we should still provide this 
mechanism in \MKIV. I'm considering making it a module, and then remove 
the color options from it as it's a kludge anyway. Using thi smechanism 
has no real advantages over tabulate or TABLE (apart maybe from speed).


I uploaded a new beta (which then will be synced with the minimals).

% my test file:

\starttext

% \setuptabulate[distance=none]

\starttabulate[|CR{red}|CC{yellow}|CM{green}|CL{blue}|]
\NC test \NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC test \NC \NR
\stoptabulate

\starttabulate[|CM{red}|CM{green}|CM{blue}|]
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\stoptabulate

\ruledvbox{\starttabulate[][before=,after=]
\NC test \CC[red]CC \NC test \NC \NR
\NC test \CL[green]  CL \NC test \NC \NR
\NC test \CM[blue]   CM \NC test \NC \NR
\NC test \CR[yellow] CR \NC test \NC \NR
\stoptabulate}

\starttabulate[]
\VL test \VL[red]CC \VL test \VL \NR
\VL test \VL[green]  CL \VL test \VL \NR
\VL test \VL[blue]   CM \VL test \VL \NR
\VL test \VL[yellow] CR \VL test \VL \NR
\stoptabulate

\starttabulate[|{10,red}|{10,green}|{10,blue}|{10,magenta}]
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\stoptabulate

\starttabulate[|{red}|{green}|{blue}|{magenta}]
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\stoptabulate

\starttabulate[*{4}{|{red}}]
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\NC test \NC test \NC test \NC \NR
\stoptabulate

% \starttabulate[||p||]
% \CC[green] test \CC[red] test \CC[blue] test \NC \NR
% \NC \setlocalhsize \the\localhsize test \NC test \NC test \NC \NR
% \HL
% \NC test \CC[green] \input tufte  \CC[yellow] test \NC \NR
% \RC rc   \NC test \NC test \NC \NR
% \NC  \EQ[blue] test \NC test \NC \NR
% \NC test \NC test \NC test \NC \NR
% \NC test \NC test \NC test \NC \NR
% \CC[blue] test \CC[red] test \NC test \NC \NR
% \NC test \VL[red] test \NC test \NC \NR
% \NC test \VL test \NC test \NC \NR
% \NC test \VL test \NC test \NC \NR
% \NC test \VL test \CC[gray] test \NC \NR
% \NC test \VL test \NC test \NC \NR
% \NC test \VL test \NC test \NC \NR
% \CC[blue] test \NC test \NC test \NC \NR
% \NC test \NC test \NC test \NC \NR
% \NC test \NC test \CC[magenta] test \NC \NR
% \NC test \NC test \NC test \NC \NR
% \NC test \CC[cyan] \dorecurse{10}{\input ward }\NC test \NC \NR
% \NC test \NC test \NC test \NC \NR
% \NC test \CC[yellow] test \NC test \NC \NR
% \stoptabulate

\stoptext

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] tables and color

2010-11-17 Thread Mojca Miklavec
On Wed, Nov 17, 2010 at 13:39, Hans Hagen wrote:

 Concerning \starttable: I started merging the patches into the TaBlE code
 but also started wondering if we should still provide this mechanism in
 \MKIV. I'm considering making it a module, and then remove the color options
 from it as it's a kludge anyway. Using thi smechanism has no real advantages
 over tabulate or TABLE (apart maybe from speed).

I use \starttable all over the place. The reason is that it is (or
maybe was) the only one that supported \VL (tabulate didn't support
\VL), while \bTABLE ... \eTABLE has really awfull spacing between
cells (too much vertical spacing and too little horizontal one). It
definitely depends on usage, but in many cases \starttable was the
only choice for me.

It seems weird to simply get rid of it at once and for no particular
reason. (I don't care if it doesn't support colors.)

Mojca
___
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] tables and color

2010-11-17 Thread Hans Hagen

On 17-11-2010 3:31, Mojca Miklavec wrote:


It seems weird to simply get rid of it at once and for no particular
reason. (I don't care if it doesn't support colors.)


Well, it was worth a try .. I'll strip the code anyway, so no color 
support any more in that mechanism (till I need it myself).


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Tables for newbies [WAS Re: imbalanced columns]

2010-07-16 Thread Peter Münster
On Thu, Jul 15 2010, Idris Samawi Hamid ادريس   سماوي حامد wrote:

 Question for all: for MkIV, should we recommend ONLY natural tables to 
 newcomers, e.g., in a ConTeXt Book?

Hello Idris,

For me, it's yes!  But newcomers need to pay attention in some cases:
- alignment (see issue http://tracker.luatex.org/view.php?id=427 )
- TABLEhead is repeated, TABLEfoot is not
  (see issue http://tracker.luatex.org/view.php?id=116 )

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] Tables for newbies [WAS Re: imbalanced columns]

2010-07-16 Thread Idris Samawi Hamid ادريس سماوي حامد

Hi Peter,

On Fri, 16 Jul 2010 07:05:19 -0600, Peter Münster pmli...@free.fr wrote:


On Thu, Jul 15 2010, Idris Samawi Hamid ادريس   سماوي حامد wrote:


Question for all: for MkIV, should we recommend ONLY natural tables to
newcomers, e.g., in a ConTeXt Book?


Hello Idris,

For me, it's yes!  But newcomers need to pay attention in some cases:
- alignment (see issue http://tracker.luatex.org/view.php?id=427 )
- TABLEhead is repeated, TABLEfoot is not
  (see issue http://tracker.luatex.org/view.php?id=116 )


Sure, hopefully by the time we get to that point the bugs will be fixed.

I also see that Wolfgang has wrapped some of the old Tables syntax into a  
module (as Aditya hinted)... I missed all of these developments :-)


The Tables syntax is certainly less verbose, and may be useful for  
beginners. But for pedagogical purposes it makes sense to consider  
Table/Tables deprecated, if not obsolete... So the pedagogical challenge  
is to make TABLE as easy as possible, perhaps teaching \start/stopTABLE as  
intro and \b/eTABLE as advanced.


Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
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] Tables for newbies [WAS Re: imbalanced columns]

2010-07-16 Thread luigi scarso
2010/7/16 Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu

 Hi Peter,


 On Fri, 16 Jul 2010 07:05:19 -0600, Peter Münster pmli...@free.fr wrote:

  On Thu, Jul 15 2010, Idris Samawi Hamid ادريس   سماوي حامد wrote:

  Question for all: for MkIV, should we recommend ONLY natural tables to
 newcomers, e.g., in a ConTeXt Book?


 Hello Idris,

 For me, it's yes!  But newcomers need to pay attention in some cases:
 - alignment (see issue http://tracker.luatex.org/view.php?id=427 )
 - TABLEhead is repeated, TABLEfoot is not
  (see issue http://tracker.luatex.org/view.php?id=116 )


 Sure, hopefully by the time we get to that point the bugs will be fixed.

 I also see that Wolfgang has wrapped some of the old Tables syntax into a
 module (as Aditya hinted)... I missed all of these developments :-)

 The Tables syntax is certainly less verbose, and may be useful for
 beginners. But for pedagogical purposes it makes sense to consider
 Table/Tables deprecated, if not obsolete... So the pedagogical challenge is
 to make TABLE as easy as possible, perhaps teaching \start/stopTABLE as
 intro and \b/eTABLE as advanced.


 A top-down  approach
1) \bTABLE
2) \starttabulate
3) chapter 22 of TeXbook

1) is much easy than 2) which is much easy than 3

1) is slower than 2) which is slower than 3)

-- 
luigi
___
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] Tables for newbies [WAS Re: imbalanced columns]

2010-07-15 Thread Idris Samawi Hamid ادريس سماوي حامد

Hi Aditya,

On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu  
wrote:


Have you tried using natural tables. Now you can use them with almost  
the same amount of typing as the old table macros.

 \startTABLE
\NC text 1 \NC text 2 \NC\NR
\NC text 3 \NC text 4 \NC\NR
\stopTABLE


Question for all: for MkIV, should we recommend ONLY natural tables to  
newcomers, e.g., in a ConTeXt Book?


I have not used Natural Tables too much, but I can switch to those for  
future work and consider Tables deprecated for most purposes.


Mainly a pedagogical/practical question: better to have one good way to do  
things than burdening folks with too much info...


 and you have a high level interface of \setupTABLE (although I do not  
know if natural tables support equal column widths)


I guess we'll find out soon enough... ;-)

Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
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] Tables for newbies [WAS Re: imbalanced columns]

2010-07-15 Thread luigi scarso
2010/7/15 Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu

 Hi Aditya,

 On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu
 wrote:

  Have you tried using natural tables. Now you can use them with almost the
 same amount of typing as the old table macros.
  \startTABLE
 \NC text 1 \NC text 2 \NC\NR
 \NC text 3 \NC text 4 \NC\NR
 \stopTABLE


 Question for all: for MkIV, should we recommend ONLY natural tables to
 newcomers, e.g., in a ConTeXt Book?

 I have not used Natural Tables too much, but I can switch to those for
 future work and consider Tables deprecated for most purposes.

 I use only
1) b\TABLE\eTABLE
2) \starttabulate\stoptabulate

-- 
luigi
___
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] Tables for newbies [WAS Re: imbalanced columns]

2010-07-15 Thread Hans Hagen

On 15-7-2010 7:45, Idris Samawi Hamid ادريس   سماوي حامد wrote:

Hi Aditya,

On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu
wrote:


Have you tried using natural tables. Now you can use them with almost
the same amount of typing as the old table macros.
\startTABLE
\NC text 1 \NC text 2 \NC\NR
\NC text 3 \NC text 4 \NC\NR
\stopTABLE


Question for all: for MkIV, should we recommend ONLY natural tables to
newcomers, e.g., in a ConTeXt Book?

I have not used Natural Tables too much, but I can switch to those for
future work and consider Tables deprecated for most purposes.

Mainly a pedagogical/practical question: better to have one good way to
do things than burdening folks with too much info...


and you have a high level interface of \setupTABLE (although I do not
know if natural tables support equal column widths)


I guess we'll find out soon enough... ;-)


\bTABLE .. \eTABLE
\starttabulate .. \stoptabulate

tabulate is quite different and has unique properties

(there are also linetables but those are only for source code readers)

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Tables query (notes, MKII)

2009-06-11 Thread Willi Egger

Hi Alan,

I tried your code. Here with the latest beta and minimals from  
11-06-2009 MKIV: I get the footnotes at the left margin and they will  
fill the whole width of the table and break lines correctly. However  
the conversion of the numbers into characters does not work. Instead  
the [conversion=characters] is displayed at the top of the file. - I  
assume, that this is an issue related to the new sectioning code...


Otherwise compliation of your code in MKII results in a correct  
conversion of the numbers to characters, but indeed the width is  
restricted to a fairly small column. You can circumvent this by  
adding a width= to the list of options [conversion=characters, width= 
\.9\textwidth]


Kind regards

Willi
On Jun 9, 2009, at 5:43 PM, Bowen Alan C. wrote:

I need a table that has local notes, but have not been able to get  
them into the proper position (at the left margin of the table) or   
the the proper length ( extending full length of table if needed).  
What am I missing in the following reduced example?


\starttext

\startlocalfootnotes[conversion=character]
\placetable[][]
{}
\placelegend
{\starttables[|p|p|p|p|p|p|]
\NC numbers 
\NC (*) \footnote{This is the first footnote.}
\NC stuff \footnote{This is the second footnote.}   
\NC stuff\footnote{This is the third footnote.}
\NC more stuff\footnote{This is the fourth footnote}
\NC and yet more\NC\SR
 \HL
\stoptables}
{\placelocalfootnotes}
\stoplocalfootnotes

\stoptext

Alan


__ 
_
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables query (notes, MKII)

2009-06-11 Thread Bowen Alan C.
Thanks, Willi. I am now using the very latest ConTeXt minimals and  
find that setting width=fit works too.


All best, Alan
On Jun 11, 2009, at 11;05,47 , Willi Egger wrote:


Hi Alan,

I tried your code. Here with the latest beta and minimals from  
11-06-2009 MKIV: I get the footnotes at the left margin and they  
will fill the whole width of the table and break lines correctly.  
However the conversion of the numbers into characters does not work.  
Instead the [conversion=characters] is displayed at the top of the  
file. - I assume, that this is an issue related to the new  
sectioning code...


Otherwise compliation of your code in MKII results in a correct  
conversion of the numbers to characters, but indeed the width is  
restricted to a fairly small column. You can circumvent this by  
adding a width= to the list of options [conversion=characters, width= 
\.9\textwidth]


Kind regards

Willi
On Jun 9, 2009, at 5:43 PM, Bowen Alan C. wrote:

I need a table that has local notes, but have not been able to get  
them into the proper position (at the left margin of the table) or   
the the proper length ( extending full length of table if needed).  
What am I missing in the following reduced example?


\starttext

\startlocalfootnotes[conversion=character]
\placetable[][]
{}
\placelegend
{\starttables[|p|p|p|p|p|p|]
\NC numbers 
\NC (*) \footnote{This is the first footnote.}
\NC stuff \footnote{This is the second footnote.}   
\NC stuff\footnote{This is the third footnote.}
\NC more stuff\footnote{This is the fourth footnote}
\NC and yet more\NC\SR
\HL
\stoptables}
{\placelocalfootnotes}
\stoplocalfootnotes

\stoptext

Alan


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Tables query (notes, MKII)

2009-06-09 Thread Bowen Alan C.
I need a table that has local notes, but have not been able to get  
them into the proper position (at the left margin of the table) or   
the the proper length ( extending full length of table if needed).  
What am I missing in the following reduced example?


\starttext

\startlocalfootnotes[conversion=character]
\placetable[][]
{}
\placelegend
{\starttables[|p|p|p|p|p|p|]
\NC numbers 
\NC (*) \footnote{This is the first footnote.}
\NC stuff \footnote{This is the second footnote.}   
\NC stuff\footnote{This is the third footnote.}
\NC more stuff\footnote{This is the fourth footnote}
\NC and yet more\NC\SR
 \HL
\stoptables}
{\placelocalfootnotes}
\stoplocalfootnotes

\stoptext

Alan


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables query (notes, MKII)

2009-06-09 Thread Bowen Alan C.
After some experimentation, it became clear that to place the local  
notes properly, one must use \note[...] and \footnotetext[...]{}, and  
put the series of \footnotetext entries just before  
\placelocalfootnotes.


A.

On Jun 9, 2009, at 11;43,46 , Bowen Alan C. wrote:

I need a table that has local notes, but have not been able to get  
them into the proper position (at the left margin of the table) or   
the the proper length ( extending full length of table if needed).  
What am I missing in the following reduced example?


\starttext

\startlocalfootnotes[conversion=character]
\placetable[][]
{}
\placelegend
{\starttables[|p|p|p|p|p|p|]
\NC numbers 
\NC (*) \footnote{This is the first footnote.}
\NC stuff \footnote{This is the second footnote.}   
\NC stuff\footnote{This is the third footnote.}
\NC more stuff\footnote{This is the fourth footnote}
\NC and yet more\NC\SR
 \HL
\stoptables}
{\placelocalfootnotes}
\stoplocalfootnotes

\stoptext

Alan


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] tables with notes

2009-05-13 Thread Bowen Alan C.
 I have a dim recollection that this question has been asked before,  
but I have not been able to find the answer. So please excuse me if  
this goes over old ground.


I have prepared a fairly complex table (using \starttables) that has  
notes to various entries. What I should like is to

• mark the notes with the letters, a, b, c,...
• put the notes immediately beneath the table caption (in single  
column text) and to keep the notes with the table, and
• maintain the proper sequence of numbered footnotes in the  
surrounding text.


Any suggestions or pointers to previous discussions will be gratefully  
received.


Alan
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Tables query (MKII, latest beta)

2009-03-26 Thread Bowen Alan C.

I have a simple, multi-page table that is currently defined by

\setuptables[bodyfont=9pt]
\starttables[|l|p(15pc)|]

The problem is that the text in the cells on the right that have more  
than one line is set almost solid and is often too close to the next  
row.


So how can I adjust/control the vertical spacing both between and  
within rows?


\setuptables[bodyfont=9pt,\setupinterlinespace[line=2.4ex]]
gets:
! Missing \endcsname inserted.
to be read again
   \def
\doifnextoptionalelse #1#2-\def
 \nextoptionalcommandyes {#1}\def  
\nextoptio...

argument \setupinterlinespace
[line
\dosetvalue #1#2-\...@ea \def \csname #1#2
\endcsname
\p!doassign ...r \else \...@eaeaea #1\fi \fi {#2}{#3}
  {#4}
\xprocesscommaitem @relax@ #1==\empty \...@relax@
  \...@eaeaea  
\xprocesscommaite...

...
l.397 ...font=9pt,\setupinterlinespace[line=2.8ex]
  ]

I apologize if this is a FAQ: my review of the wiki and of core- 
tab.tex has been most instructive, but not on this issue.


Alan___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables query (MKII, latest beta)

2009-03-26 Thread Wolfgang Schuster


Am 26.03.2009 um 16:58 schrieb Bowen Alan C.:


I have a simple, multi-page table that is currently defined by

\setuptables[bodyfont=9pt]
\starttables[|l|p(15pc)|]

The problem is that the text in the cells on the right that have  
more than one line is set almost solid and is often too close to the  
next row.


EXAMPLE!

Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables query (MKII, latest beta)

2009-03-26 Thread Bowen Alan C.

This sample will show the crowding within a cell and between rows.

Alan

\starttext
\setuptables[bodyfont=9pt]
\starttables[|l|p(15pc)|]
\NC A\NC read \quote{provided} for \quote{providing}\NC\AR
\NC B\NC Aliquam aliquet, est a ullamcorper condimentum, tellus nulla  
fringilla elit, a iaculis nulla turpis sed wisi. Fusce volutpat. Etiam  
sodales ante id nunc. Proin ornare dignissim lacus. Nunc porttitor  
nunc a sem. Sed sollicitudin velit eu magna. Aliquam erat volutpat.  
Vivamus ornare est non wisi. Proin vel quam. Vivamus egestas. Nunc  
tempor diam vehicula mauris. Nullam sapien eros, facilisis vel,  
eleifend non, auctor dapibus, pede.\NC\AR

\NC C\NC read 2002 for 2003 \NC\AR
\NC 9.1.13.2\NC read \quote{provided} for \quote{providing} \NC\AR
\NC 18.2.7.5\NC read Ictinus for Icinus architect of the Parthenon	\NC 
\AR

\NC 83.3.9.13\NC read 2002 for 2003 \NC\AR
\NC 97.4.8.4\NC delete \quote{used} \NC\AR

\stoptables
\stoptext

On Mar 26, 2009, at 12;55,56 , Wolfgang Schuster wrote:



Am 26.03.2009 um 16:58 schrieb Bowen Alan C.:


I have a simple, multi-page table that is currently defined by

\setuptables[bodyfont=9pt]
\starttables[|l|p(15pc)|]

The problem is that the text in the cells on the right that have  
more than one line is set almost solid and is often too close to  
the next row.


EXAMPLE!

Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables query (MKII, latest beta)

2009-03-26 Thread Wolfgang Schuster


Am 26.03.2009 um 18:51 schrieb Bowen Alan C.:


This sample will show the crowding within a cell and between rows.

Alan

\starttext
\setuptables[bodyfont=9pt]
\starttables[|l|p(15pc)|]



You could use this for the time being but I hope myself Hans
can fix the spacing.

\starttable[|l|b{\setupinterlinespace[line=2.8ex]}p(.6\textwidth)|]

Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables query (MKII, latest beta)

2009-03-26 Thread Hans Hagen

Bowen Alan C. wrote:

Thanks, Wolfgang!

This is a great improvement---here is no crowding any cell now. There  
remain , however, a few (many fewer) crowded rows.
So here’s hoping that Hans can get to this and make the required 
adjustments.


i'll upload a fix

(wolfgang: at some point we can clean up this table module, merge 
everything into one file erc etc; then i can also redo the coloring of 
cells)


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables query (MKII, latest beta)

2009-03-26 Thread Bowen Alan C.

Many thanks as ever, Hans.
Best, Alan
On Mar 26, 2009, at 17;10,38 , Hans Hagen wrote:


Bowen Alan C. wrote:

Thanks, Wolfgang!
This is a great improvement---here is no crowding any cell now.  
There  remain , however, a few (many fewer) crowded rows.
So here’s hoping that Hans can get to this and make the required  
adjustments.


i'll upload a fix

(wolfgang: at some point we can clean up this table module, merge  
everything into one file erc etc; then i can also redo the coloring  
of cells)


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] TABLEs and backgroundcolor

2008-11-10 Thread Alan STONE
On Sun, Nov 9, 2008 at 10:42 AM, Peter Münster [EMAIL PROTECTED] wrote:

 On Sat, Nov 08 2008, Andreas Harder wrote:

  \bTABLE[background=color,backgroundcolor=blue]
  \bTR \bTD[corner=08] left \eTD\bTD[corner=05] right \eTD\eTR
  \bTR \bTD left \eTD\bTD right \eTD\eTR
  \bTR \bTD left \eTD\bTD right \eTD\eTR
  \bTR \bTD[corner=07] left \eTD\bTD[corner=06] right \eTD\eTR
  \eTABLE
 
  Now the first and the last row appear black. Any suggestions?

 No suggestion, but it seems the same bug as in
 http://archive.contextgarden.net/message/20081103.154830.60d22cfa.en.html
 Cheers, Peter


There's indeed something with the rounded corner option...

\setupcolors[state=start]

\starttext
\framed[background=color,backgroundcolor=yellow]{test}  % OK
\framed[background=color,backgroundcolor=yellow,corner=round]{test}  % NOT
OK
\framed[background=color, backgroundcolor=green]{bla}  % OK
\framed[background=color, backgroundcolor=green, corner=00]{bla}  % NOT OK
\stoptext

-- 
Best,
Alan

* TeX engine = LuaTeX
* ConTeXt  minimals ver: 2008.56.06 19:11 MKIV  fmt: 2008.11.10  int:
english/english
* Ubuntu 8.04 Hardy Heron
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] TABLEs and backgroundcolor

2008-11-10 Thread Hans Hagen
Alan STONE wrote:
 On Sun, Nov 9, 2008 at 10:42 AM, Peter Münster [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 On Sat, Nov 08 2008, Andreas Harder wrote:
 
   \bTABLE[background=color,backgroundcolor=blue]
   \bTR \bTD[corner=08] left \eTD\bTD[corner=05] right \eTD\eTR
   \bTR \bTD left \eTD\bTD right \eTD\eTR
   \bTR \bTD left \eTD\bTD right \eTD\eTR
   \bTR \bTD[corner=07] left \eTD\bTD[corner=06] right \eTD\eTR
   \eTABLE
  
   Now the first and the last row appear black. Any suggestions?
 
 No suggestion, but it seems the same bug as in
 http://archive.contextgarden.net/message/20081103.154830.60d22cfa.en.html
 Cheers, Peter
 
 
 There's indeed something with the rounded corner option...

technically this had to with the fact that only glyphs, rules and 
leaders are taken into account when postprocessing the node list for 
special code injection, so i now insert a zero dimension rule

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] TABLEs and backgroundcolor

2008-11-09 Thread Andreas Harder
Hello everyone,

this TABLE used to work not long time ago:

\setupcolors[state=start]

\starttext % \showframe

\bTABLE[framecolor=gray] % split=yes
\setupTABLE[column][first] [background=color,backgroundcolor=red]
\setupTABLE[column][last]  [background=color,backgroundcolor=green]
\setupTABLE[first] [first] [corner=08] %
\setupTABLE[first] [last]  [corner=07] %
\setupTABLE[last]  [first] [corner=05] %
\setupTABLE[last]  [last]  [corner=06] %
%-%
\bTR \bTD oben links  \eTD\bTD oben rechts  \eTD\eTR
\bTR \bTD Mitte links \eTD\bTD Mitte rechts \eTD\eTR
\bTR \bTD Mitte links \eTD\bTD Mitte rechts \eTD\eTR
\bTR \bTD unten links \eTD\bTD unten rechts \eTD\eTR
\eTABLE

\blank

\bTABLE[background=color,backgroundcolor=blue]
\bTR \bTD[corner=08] left \eTD\bTD[corner=05] right \eTD\eTR
\bTR \bTD left \eTD\bTD right \eTD\eTR
\bTR \bTD left \eTD\bTD right \eTD\eTR
\bTR \bTD[corner=07] left \eTD\bTD[corner=06] right \eTD\eTR
\eTABLE

\stoptext

Now the first and the last row appear black. Any suggestions?

Thank you in advance
Andreas
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] TABLEs and backgroundcolor

2008-11-09 Thread Peter Münster
On Sat, Nov 08 2008, Andreas Harder wrote:

 \bTABLE[background=color,backgroundcolor=blue]
 \bTR \bTD[corner=08] left \eTD\bTD[corner=05] right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD[corner=07] left \eTD\bTD[corner=06] right \eTD\eTR
 \eTABLE
 
 Now the first and the last row appear black. Any suggestions?

No suggestion, but it seems the same bug as in
http://archive.contextgarden.net/message/20081103.154830.60d22cfa.en.html
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Tables in headers

2008-04-28 Thread Stefan Larsson
First post on this list...

I have been using LaTeX for several large projects during the last 10 years
and just recently tried to switch to ConTeXt due to the claim of easier
handling of custom page layout. So far it is an enjoyable experience...

I would need to customize my page headers with a custom table (like
LaTeX's tabular environment) instead of just changing the text in the left
and right corners. From the quick browsing I have been doing of
documentation and articles at contextgarden this feature called layers
might be what I am looking for. But before trying to grasp this feature I
would like to ask any experienced ConTeXt user for the recommended approach
to achieve what I am trying to do...

So, to conclude: How do I customize my page header to contain a table
instead of the predefined style?

Thanks,
Stefan Larsson
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables in headers

2008-04-28 Thread Wolfgang Schuster
Hi Stefan,

On Mon, Apr 28, 2008 at 8:06 AM, Stefan Larsson [EMAIL PROTECTED] wrote:
 First post on this list...

 I have been using LaTeX for several large projects during the last 10 years
 and just recently tried to switch to ConTeXt due to the claim of easier
 handling of custom page layout. So far it is an enjoyable experience...

 I would need to customize my page headers with a custom table (like LaTeX's
 tabular environment) instead of just changing the text in the left and right
 corners. From the quick browsing I have been doing of documentation and
 articles at contextgarden this feature called layers might be what I am
 looking for. But before trying to grasp this feature I would like to ask any
 experienced ConTeXt user for the recommended approach to achieve what I am
 trying to do...

 So, to conclude: How do I customize my page header to contain a table
 instead of the predefined style?

can you give us a example of the header do you want to get, tables are not
best solution and they will couse troubles in a few cases. We could try to
find a better solution if possible.

Greetings
Wolfgang
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables in headers

2008-04-28 Thread Stefan Larsson
Hi Stefan,

On Mon, Apr 28, 2008 at 8:06 AM, Stefan Larsson [EMAIL PROTECTED] wrote:
 First post on this list...

 I have been using LaTeX for several large projects during the last 10
years
 and just recently tried to switch to ConTeXt due to the claim of easier
 handling of custom page layout. So far it is an enjoyable experience...

 I would need to customize my page headers with a custom table (like
LaTeX's
 tabular environment) instead of just changing the text in the left and
right
 corners. From the quick browsing I have been doing of documentation and
 articles at contextgarden this feature called layers might be what I am
 looking for. But before trying to grasp this feature I would like to ask
any
 experienced ConTeXt user for the recommended approach to achieve what I
am
 trying to do...

 So, to conclude: How do I customize my page header to contain a table
 instead of the predefined style?

 can you give us a example of the header do you want to get, tables are not
 best solution and they will couse troubles in a few cases. We could try to
 find a better solution if possible.

I'll try to illustrate using a monospaced font:

+--+ Company Name
|  |
| Logo |
|  |
+--+

+
Type of document| Page
Report of something | 2 (10)
---++
Name of document   | Issue  | Date
My document name   | 1  | 2008-04-22
---++
Issuer (dept, name, email)  | Appendix
dept, name, email   | Appendix
+

This is the full header. A reduced header is used on the rest of the pages
where the last row is excluded.

(I am trying to convert a MS-Word template...)

Thanks,
/Stefan
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables in headers

2008-04-28 Thread Wolfgang Schuster
Hi Stefan,

 I'll try to illustrate using a monospaced font:

 +--+ Company Name
 |  |
 | Logo |
 |  |
 +--+

 +
 Type of document| Page
 Report of something | 2 (10)
 ---++
 Name of document   | Issue  | Date
 My document name   | 1  | 2008-04-22
 ---++
 Issuer (dept, name, email)  | Appendix
 dept, name, email   | Appendix
 +

 This is the full header. A reduced header is used on the rest of the pages
 where the last row is excluded.

 (I am trying to convert a MS-Word template...)

\setvariables
  [document]
  [type={Report of something},
   name={My document name},
   issue={1},
   date=\currentdate,
   issue={dept, name, email},
   appendices={Appendix}]

\definelayer
  [head:table]
  [width=\paperwidth,
   height=\paperheight,
   state=start]

\definelayer
  [head:picture]
  [width=\paperwidth,
   height=\paperheight,
   state=repeat]

\startsetups head:table

\setlayer
  [head:table]
  [hoffset=\backspace,
   voffset=5cm]
  {\ifnum\pagenumber=\plusone
 \setups{head:table:first}%
   \else
 \setups{head:table:next}%
   \fi}

\stopsetups

\startsetups head:table:first

\bTABLE[textwidth=\textwidth,option=stretch,align=right]
  \bTR
\bTD[nx=2] Type of document\\\getvariable{document}{type} \eTD
\bTD Page\\\pagenumber\space(\lastpagenumber) \eTD
  \eTR
  \bTR
\bTD Name of document\\\getvariable{document}{name} \eTD
\bTD Issue\\\getvariable{document}{issue} \eTD
\bTD Date\\\getvariable{document}{date} \eTD
  \eTR
  \bTR
\bTD[nx=2] Issuer (dept, name, email)\\\getvariable{document}{issue} \eTD
\bTD Appendix\\\getvariable{document}{appendices} \eTD
  \eTR
\eTABLE

\stopsetups

\startsetups head:table:next

\bTABLE[textwidth=\textwidth,option=stretch,align=right]
  \bTR
\bTD[nx=2] Type of document\\\getvariable{document}{type} \eTD
\bTD Page\\\pagenumber\space(\lastpagenumber) \eTD
  \eTR
  \bTR
\bTD Name of document\\\getvariable{document}{name} \eTD
\bTD Issue\\\getvariable{document}{issue} \eTD
\bTD Date\\\getvariable{document}{date} \eTD
  \eTR
\eTABLE

\stopsetups

\setlayer
  [head:picture]
  [hoffset=\backspace,
   voffset=\topspace]
  {\externalfigure[Logo][width=3cm]}

\setlayer
  [head:picture]
  [preset=righttop,
   hoffset=\cutspace,
   voffset=\topspace]
  {Company Name}

\setupbackgrounds[page][setups={head:table},background={head:table,head:picture}]

\starttext
\dorecurse{3}{\page[empty]}
\stoptext

Greetings,
Wolfgang
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables in headers

2008-04-28 Thread Stefan Larsson
Thank you very much for your explicit hints Wolfgang. I've learnt a lot from
these few lines of code.

/Stefan
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Tables, colors, and mkiv

2008-04-25 Thread Aditya Mahajan
Hi,

Background colors do not work inside tables with mkiv. For example

\setupcolors[state=start]
\starttext
   \starttable[|mc|mc|mc|mc|mc|mc|]
 \HL[2]
 \BL[6] \AR
 \NC x_1 \NC x_2 \NC x_3 \NC z_1 \NC z_2 \NC z_3 \NC \AR
 \HL[2]
 \NC 0   \NC 0   \NC 0   \NC 1   \NC 1   \NC 0   \NC \AR
 \NC 0   \NC 0   \NC 1   \NC 1   \NC 1   \NC 1   \NC \AR
   \stoptable
\stoptext


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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables, colors, and mkiv

2008-04-25 Thread Hans Hagen
Aditya Mahajan wrote:
 Hi,
 
 Background colors do not work inside tables with mkiv. For example
 
 \setupcolors[state=start]
 \starttext
\starttable[|mc|mc|mc|mc|mc|mc|]
  \HL[2]
  \BL[6] \AR
  \NC x_1 \NC x_2 \NC x_3 \NC z_1 \NC z_2 \NC z_3 \NC \AR
  \HL[2]
  \NC 0   \NC 0   \NC 0   \NC 1   \NC 1   \NC 0   \NC \AR
  \NC 0   \NC 0   \NC 1   \NC 1   \NC 1   \NC 1   \NC \AR
\stoptable
 \stoptext

hm, probably color applied to boxes; anyhow, i will replement table 
colors in mkiv using node lists parsing

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Tables and misplaced \noalign

2008-01-10 Thread Jürgen Strass
Hi,

when I'm trying to use tables (\starttables ... \stoptables), I'm often 
getting the following error:

---

! Misplaced \noalign.
\TABLEnoalign -\noalign
 \bgroup \let \noalign \relax \let \next =
\insertTABLEtail -\TABLEnoalign
 {\global \settrue \preventTABLEbreak 
\globa...

\stoptables ...erepeattail \else \insertTABLEtail
  \fi \finishTABLE 
\egroup \...
l.148 \stoptables

---

On the mailing list archives, I already found some code posted by Hans 
Hagen that solves the issue in case of the \starttable ... \stoptable 
command. I had to insert the following code in my cont-new.tex file:

\def\stoptable
  {\chuckTABLEautorow % before the tail
   \insertTABLEtail
   \TABLEnoalign{\globalletempty\@@TABLEhead}%
   \TABLEnoalign{\globalletempty\@@TABLEtail}%
   \finishTABLE
   \doifelsenothing\@@tiframe
 {\ifinsidefloat\else
\stopbaselinecorrection
\goodbreak % compensates all the nobreaks
  \fi}
 \stopframedcontent
   \egroup}

For the tables commands it doesn't work though, even not after 
changing \def\stoptable to \def\stoptables. Does anyone have an idea 
what to do about it?

ctxtools gives the following details about my context version under WinXP:

CtxTools | context version: 2007.01.12 15:56 
(c:/TeXLive2007/texmf-dist/tex/cont
ext/base/context.tex)
CtxTools | context version: 2007.01.12 15:56 
(c:/TeXLive2007/texmf-dist/tex/cont
ext/base/cont-new.tex)

Thanks in advance for any help,
Jürgen

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables and misplaced \noalign

2008-01-10 Thread Wolfgang Schuster
On Jan 10, 2008 6:43 PM, Jürgen Strass [EMAIL PROTECTED] wrote:
 Hi,

 when I'm trying to use tables (\starttables ... \stoptables), I'm often
 getting the following error:

 ---

 ! Misplaced \noalign.
 \TABLEnoalign -\noalign
  \bgroup \let \noalign \relax \let \next =
 \insertTABLEtail -\TABLEnoalign
  {\global \settrue \preventTABLEbreak
 \globa...

 \stoptables ...erepeattail \else \insertTABLEtail
   \fi \finishTABLE
 \egroup \...
 l.148 \stoptables

 ---

 On the mailing list archives, I already found some code posted by Hans
 Hagen that solves the issue in case of the \starttable ... \stoptable
 command. I had to insert the following code in my cont-new.tex file:

 \def\stoptable
   {\chuckTABLEautorow % before the tail
\insertTABLEtail
\TABLEnoalign{\globalletempty\@@TABLEhead}%
\TABLEnoalign{\globalletempty\@@TABLEtail}%
\finishTABLE
\doifelsenothing\@@tiframe
  {\ifinsidefloat\else
 \stopbaselinecorrection
 \goodbreak % compensates all the nobreaks
   \fi}
  \stopframedcontent
\egroup}

 For the tables commands it doesn't work though, even not after
 changing \def\stoptable to \def\stoptables. Does anyone have an idea
 what to do about it?

 ctxtools gives the following details about my context version under WinXP:

 CtxTools | context version: 2007.01.12 15:56
 (c:/TeXLive2007/texmf-dist/tex/cont
 ext/base/context.tex)
 CtxTools | context version: 2007.01.12 15:56
 (c:/TeXLive2007/texmf-dist/tex/cont
 ext/base/cont-new.tex)

 Thanks in advance for any help,
 Jürgen

Hi Jürgen,

could you try to update your ConTeXt first and if the problem
remains send a example to the list.

Wolfgang
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables localfootnote alignment

2007-06-15 Thread Peter Rolf
Hi Dave,

I don't know enough about it, to give you a clean solution. Just ignore
the rest, if someone gives a better (more general) solution.

Peter

Dave schrieb:
 Hi all,
 
 I am trying to add footnotes to a table but need for them to be aligned
 on the left (flush) edge of the table.  I've tried everything I can
 think of but I'm stuck (with deadlines looming).  Below is a quick
 example
 
 Many thanks,
 Dave
 
 %%%
 % TeXExec | context source date: 2007.04.17 12:51
 %%%
 
 setupcaption[table][location=top]
 
 \starttext

\showframe
 
 % Portrait
 \startlocalfootnotes[n=0]
 \placetable
   [page] 
   [table1]
   {Caption goes here}
 \placelegend
 { % Rules
   \setupTABLE[frame=off]
   \setupTABLE[column][first][leftframe=off]
   \setupTABLE[column][last][rightframe=off]
   \setupTABLE[row][first][topframe=on,bottomframe=on]
   \setupTABLE[row][last][bottomframe=on]
   % Alignment
   \setupTABLE[column][1][align=right]
   \setupTABLE[column][2][align=right]
   \setupTABLE[column][3][align=right]
   % Width
   \setupTABLE[option=stretch]
   % Table
   \bTABLE
   % Heading
   \bTR\bTH Column 1\footnote{footnote for column 1}
   \eTH\bTH Column 2\footnote{fn 4 col 2}
   \eTH\bTH Description \eTH\eTR
   % Body 
   \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
   \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
   \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
   \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
   \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
   \eTABLE
 }
 {\framed{%
  +1
{\placelocalfootnotes}
 }
% \framed with defined width for alignment
{\framed[width=\textwidth,align=right]
   {\ruledhbox{\hskip10mm\placelocalfootnotes}} % \hbox
}

the values needed for width= and \hskip may vary from table to table


 \stoplocalfootnotes
 
 
 % Landscape
 \startlocalfootnotes[n=0]
 \placetable
   [90]
   [table2]
   {Caption goes here}
 \placelegend
 { % Rules
   \setupTABLE[frame=off]
   \setupTABLE[column][first][leftframe=off]
   \setupTABLE[column][last][rightframe=off]
   \setupTABLE[row][first][topframe=on,bottomframe=on]
   \setupTABLE[row][last][bottomframe=on]
   % Alignment
   \setupTABLE[column][1][align=right,width=6cm]
   \setupTABLE[column][2][align=right,width=5cm]
   \setupTABLE[column][3][align=right,width=11cm]
   % Width
   \setupTABLE[option=stretch,textwidth=22cm]
   % Table
   \bTABLE
   % Heading
   \bTR\bTH Column 1\footnote{footnote for column 1}
   \eTH\bTH Column 2\footnote{fn 4 col 2}
   \eTH\bTH Description \eTH\eTR
   % Body   
   \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
   \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
   \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
   \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
   \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
   \eTABLE
 }
 {\framed{%

{\placelocalfootnotes}
 }
{\framed[width=\textheight,align=right]
   {\ruledhbox{\hskip5mm\placelocalfootnotes}}
}

 \stoplocalfootnotes
 
 
 \stoptext
 
 
 
 
 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables localfootnote alignment

2007-06-15 Thread Wolfgang Schuster
2007/6/15, Peter Rolf [EMAIL PROTECTED]:
 Hi Dave,

 I don't know enough about it, to give you a clean solution. Just ignore
 the rest, if someone gives a better (more general) solution.

 Peter

 Dave schrieb:
  Hi all,
 
  I am trying to add footnotes to a table but need for them to be aligned
  on the left (flush) edge of the table.  I've tried everything I can
  think of but I'm stuck (with deadlines looming).  Below is a quick
  example
 
  Many thanks,
  Dave

Hi David,

Peter gave you the first hint with the width-key in \framed and the \hbox.
I can give a better solution for your problem but you have to write the
commands in the right way to get it working, what I mean is you should
put braces around \placelegend.

\defineframed[noteframed]
\setupframed
  [noteframed]
  [width=\hsize,
   align=right,
   %height=fit,
   top=\hbox\bgroup,
   bottom=\egroup]

\starttext

\startlocalfootnotes[n=0]
\placetable
{Caption}
{\placelegend
 {\bTABLE[width=6cm]
  \bTR\bTD A\footnote{a} \eTD\bTD B\footnote{b} \eTD\eTR
  \eTABLE}
 {\noteframed{\placelocalfootnotes}}}
\stoplocalfootnotes

\stoptext

Wolfgang
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tables localfootnote alignment

2007-06-15 Thread Dave

Thank you both for your replies!  I've updated the footnote page on the wiki
with Wolfgang's suggestion.

Dave

On 6/15/07, Wolfgang Schuster [EMAIL PROTECTED] wrote:


2007/6/15, Peter Rolf [EMAIL PROTECTED]:
 Hi Dave,

 I don't know enough about it, to give you a clean solution. Just ignore
 the rest, if someone gives a better (more general) solution.

 Peter

 Dave schrieb:
  Hi all,
 
  I am trying to add footnotes to a table but need for them to be
aligned
  on the left (flush) edge of the table.  I've tried everything I can
  think of but I'm stuck (with deadlines looming).  Below is a quick
  example
 
  Many thanks,
  Dave

Hi David,

Peter gave you the first hint with the width-key in \framed and the \hbox.
I can give a better solution for your problem but you have to write the
commands in the right way to get it working, what I mean is you should
put braces around \placelegend.

\defineframed[noteframed]
\setupframed
  [noteframed]
  [width=\hsize,
   align=right,
   %height=fit,
   top=\hbox\bgroup,
   bottom=\egroup]

\starttext

\startlocalfootnotes[n=0]
\placetable
{Caption}
{\placelegend
{\bTABLE[width=6cm]
  \bTR\bTD A\footnote{a} \eTD\bTD B\footnote{b} \eTD\eTR
  \eTABLE}
{\noteframed{\placelocalfootnotes}}}
\stoplocalfootnotes

\stoptext

Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

___

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Tables localfootnote alignment

2007-06-14 Thread Dave

Hi all,

I am trying to add footnotes to a table but need for them to be aligned on
the left (flush) edge of the table.  I've tried everything I can think of
but I'm stuck (with deadlines looming).  Below is a quick example

Many thanks,
Dave

%%%
% TeXExec | context source date: 2007.04.17 12:51
%%%

setupcaption[table][location=top]

\starttext

% Portrait
\startlocalfootnotes[n=0]
\placetable
 [page]
 [table1]
 {Caption goes here}
\placelegend
{ % Rules
 \setupTABLE[frame=off]
 \setupTABLE[column][first][leftframe=off]
 \setupTABLE[column][last][rightframe=off]
 \setupTABLE[row][first][topframe=on,bottomframe=on]
 \setupTABLE[row][last][bottomframe=on]
 % Alignment
 \setupTABLE[column][1][align=right]
 \setupTABLE[column][2][align=right]
 \setupTABLE[column][3][align=right]
 % Width
 \setupTABLE[option=stretch]
 % Table
 \bTABLE
 % Heading
 \bTR\bTH Column 1\footnote{footnote for column 1}
 \eTH\bTH Column 2\footnote{fn 4 col 2}
 \eTH\bTH Description \eTH\eTR
 % Body
 \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
 \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
 \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
 \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
 \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
 \eTABLE
}
{\framed{%
  {\placelocalfootnotes}
}
\stoplocalfootnotes


% Landscape
\startlocalfootnotes[n=0]
\placetable
 [90]
 [table2]
 {Caption goes here}
\placelegend
{ % Rules
 \setupTABLE[frame=off]
 \setupTABLE[column][first][leftframe=off]
 \setupTABLE[column][last][rightframe=off]
 \setupTABLE[row][first][topframe=on,bottomframe=on]
 \setupTABLE[row][last][bottomframe=on]
 % Alignment
 \setupTABLE[column][1][align=right,width=6cm]
 \setupTABLE[column][2][align=right,width=5cm]
 \setupTABLE[column][3][align=right,width=11cm]
 % Width
 \setupTABLE[option=stretch,textwidth=22cm]
 % Table
 \bTABLE
 % Heading
 \bTR\bTH Column 1\footnote{footnote for column 1}
 \eTH\bTH Column 2\footnote{fn 4 col 2}
 \eTH\bTH Description \eTH\eTR
 % Body
 \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
 \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
 \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
 \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
 \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR
 \eTABLE
}
{\framed{%
  {\placelocalfootnotes}
}
\stoplocalfootnotes


\stoptext
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] tables

2006-10-30 Thread Wolfgang Schuster

2006/10/30, Horacio Suarez [EMAIL PROTECTED]:
helo:whe I can get help about\bTABLE.\eTABLE?

Hi Horacio,

look at the following links for information about natural tables:

http://wiki.contextgarden.net/TABLE
http://www.pragma-ade.com/general/manuals/enattab.pdf
http://dl.contextgarden.net/myway/NaturalTables.pdf
You can also ask more precise questions on this list.
Wolfgang

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables

2006-10-30 Thread Horacio Suarez
thankyou very much.

Hi Horacio,

look at the following links for information about natural tables:

http://wiki.contextgarden.net/TABLE
http://www.pragma-ade.com/general/manuals/enattab.pdf
http://dl.contextgarden.net/myway/NaturalTables.pdf


You can also ask more precise questions on this list.

Wolfgang


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables

2006-10-30 Thread Patrick Gundlach
Hello,

 whe I can get help about

 \bTABLE
 .
 \eTABLE

 ?

You can go to

http://articles.contextgarden.net/

and search for 'btable' there.

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables

2006-10-30 Thread Aditya Mahajan
Hi Patrick,

On Mon, 30 Oct 2006, Patrick Gundlach wrote:

 whe I can get help about

 \bTABLE
 .
 \eTABLE

 ?

 You can go to

 http://articles.contextgarden.net/

 and search for 'btable' there.

Can this search box also be added to the main wiki page, between the 
search in wiki and search with google search boxes.

Aditya

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables

2006-10-30 Thread Patrick Gundlach
Hello Aditya,

 You can go to

 http://articles.contextgarden.net/

 and search for 'btable' there.

 Can this search box also be added to the main wiki page, between the
 search in wiki and search with google search boxes.

Yes. (Done) Could anybody send me a more clever (then 'articles/full
text') title for this box? 


Patrick
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] tables

2006-10-29 Thread Horacio Suarez
helo:

whe I can get help about

\bTABLE
.
\eTABLE

?

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Tables --- what is current recommendation?

2005-12-18 Thread David Arnold

All,

There's a nice summary of Tables on:

http://wiki.contextgarden.net/Tables_Overview

I'm wondering. If one is starting anew with Context, what would users  
recommend as the best choice of table environment? What choice would  
I make if I have no need of backward compatibility and am starting on  
a fresh document?

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Tables --- what is current recommendation?

2005-12-18 Thread Tobias Burnus

Hi,

David Arnold wrote:
I'm wondering. If one is starting anew with Context, what would users  
recommend as the best choice of table environment?
I think it really depends on the type of table you need. For something 
with a simple layout like vocabulary or address lists I would use 
tabulate, for complex layouts with columns/rows spanning several cells I 
would use the HTML-like TABLE.
table(s) falls in somewhere inbetween - more flexible than tabulate but 
less than TABLE. (I think one should go rather for tabulate/TABLE than 
for table(s), but others may disagree.)


For line tables the sourcefile already tells that it provides a 
mechanism for typesetting very large tables spanning many pages 
horizontally and vertically, which is experimental, undocumented. 
(Only) if you have a table which spans _horizontal_ several pages you 
should have a look.


Tobias
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] tables, etc.

2005-06-23 Thread Jörg Hagmann

Dear list members,

I have the following questions:

1) I want a table at textwidth. The contents of the boxes don't fit on 
one line. When I use |lp|lp| etc., the width of the table is a 
fraction of textwidth, and the contents of the columns overlay each 
other (with long, unhyphenated words). I found \SetTableToWidth{} in 
the beginner's manual (Table 11.3), but no matter where I placed that, 
it didn't do anything, nor did all my other attempts. I finally 
adjusted the table by hand (|lp(4cm)| etc). Is there a way of setting 
the width of the table and let ConTEXt do the rest?


2) The horizontal rules (\HL) are a bit longer than the the text in the 
table. How does one adjust them such that they are flush on both sides? 
I tried with \DL, but didn't get what I hoped for.


3) I am using uncaptioned figures in the margin. When they are too 
close, they overlap. Is there a way of making them know of each other's 
existence (I sometimes want them as close as possible), or do I have to 
place the code at an appropriate position myself?


Thank you for your patience, Jörg
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables, etc.

2005-06-23 Thread luigi.scarso

Jörg Hagmann wrote:


Dear list members,

I have the following questions:

1) I want a table at textwidth. The contents of the boxes don't fit on 
one line. When I


See
http://contextgarden.net/Tables_Overview

maybe TABLE (natural tables) can help you.

luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Tables ..

2004-12-02 Thread Dirar BOUGATEF
Hi,
I would like to use multipage tables. I had a look on the wiki and there are 
2 ways of doing that.

What is the advantage of using \startlinetable ?
One of these seems to be that we can repeat columns ..
Is Context going keep going with \startlinetable or not ? (As no doc exists 
and its developpement seems to be not finished yet) ?

Thanks.
Dirar.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Tables

2004-10-28 Thread Henning Hraban Ramm
Am 28.10.2004 um 05:07 schrieb David Arnold:
If I want to learn to typeset tables the Context Way, there are many
references, some old and out dated, some new?
Where should I start (documentation) so that I am working with tables 
in
Context in the most current up-to-date manner?
At the current state I guess it's best to use the HTML-style natural 
tables, see
http://contextgarden.net/TABLE

BTW: You ask a lot of single questions; ok, it's better than send the 
whole lot in one mail, but perhaps you could have found some answers in 
the wiki and in the docs! (We can't simply write RTFM, since there is 
too much wide spread docs, but please look first at the wiki!)

Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Tables

2004-10-27 Thread David Arnold
All,

If I want to learn to typeset tables the Context Way, there are many
references, some old and out dated, some new?

Where should I start (documentation) so that I am working with tables in
Context in the most current up-to-date manner?
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] tables and newpage

2004-07-19 Thread Bernd Militzer
Hi all,

for a very long dokumentation I use tables like

{\start
%
\starttablehead
\HL
\NC Haus\crlf \tx Pos.~Nr.\NC Bewohner und Bemerkungen\crlf{\bf von
\dots\ nach \dots\ }%
\NC Natio\-nalität \NC\FR%\AR
\HL
\stoptablehead
%
\starttabletail
\HL
\stoptabletail
%
\starttables[|lp(0.11\textwidth)B|lp(0.7\textwidth)|lp(0.1\textwidth)I|]
%
%
\NC  R \hfill 39\index{Markt Türnau+Nr. 39}  \NC  {\bf Meierhof:}
  \index{Meierhof} \crlf\NC \NC\MR 
  % leere Zeile
\NC   \NC  1910 Pächter Ing. Vanek 
  \index{Vanek, Ing.}
  \NC  ~C\NC\MR 
%
\NC   \NC  1919 Pächter Ing. Batik 
  \index{Batik, Ing.}
  \NC  ~C\NC\MR 
%
\NC   \NC  1939 Gutsverwalter Fritz Strik 
  \index{Strik+Fritz}\crlf
  Ist in das Meierhofgebäude Nr.\,39 im
  Jahr 1939 eingezogen. [Vgl. \cite[HEIMATBUCH] S. 103]
  \NC  \hfill D\NC\MR 
%
\NC   \NC  \crlf
  Herr Batik wurde am 07.04.1940 zum Arbeitseinsatz
  nach \au\ beordert.\crlf
  Seine Familie lebte im Protektorat.\NC  \NC\MR 
%
%
% and so on ... about 6 pages
%
%
\stoptables
\stop}


Question: In some situations it would  be fine, if I could force a new
page; the NEW PAGE command does not work!

Thanks for any help

Bernd

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables within tabulate environment

2003-09-17 Thread Frank
Similar to what you wrote:

\starttabulate
\NC test \NC
Some text here, perhaps followed by an itemized list an a table
\startitemize
\item first item
\item second item
\stopitemize
And some specifications in the following table:
\starttabulatea
\NC col1 row1 \NC col2 \NC\NR
\stoptabulate
\NC\NR
\stoptabulate
I tried a tabulate  inside the tabulate as I was not sure that the  
table being a float would be moved somewhere else. Basically what I am  
trying to do is similar to HTML layout using nested tables within a  
running text.

Regards,

Frank

On Tuesday, Sep 16, 2003, at 22:52 Europe/Brussels, Hans Hagen wrote:

At 10:42 16/09/2003 +0200, Frank wrote:

I am working on some documents which are based on a table which is  
part of the text flow and may break between pages. So I use the  
tabulate environment. However now I need to include a table inside a  
tabulate cell, but this does not seem to work.
what kind of nesting?

\starttabulate
\NC test \NC \starttable[|||] \HL \VL test \VL test \VL \NR \HL  
\stoptable \NC \NR
\stoptabulate

nesting tabulates is not (yet) possible, i played a bit with it but it  
will cost me more time to handle it (due to soem global aspects)

Hans
--- 
--
  Hans Hagen | PRAGMA ADE |  
[EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The  
Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 |  
www.pragma-ade.com
--- 
--
   information:  
http://www.pragma-ade.com/roadmap.pdf
documentation:  
http://www.pragma-ade.com/showcase.pdf
--- 
--

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables within tabulate environment

2003-09-17 Thread Hans Hagen
At 10:48 17/09/2003 +0200, you wrote:
Similar to what you wrote:

\starttabulate
\NC test \NC
Some text here, perhaps followed by an itemized list an a table
\startitemize
\item first item
\item second item
\stopitemize
And some specifications in the following table:
\starttabulatea
\NC col1 row1 \NC col2 \NC\NR
\stoptabulate
\NC\NR
\stoptabulate
I tried a tabulate  inside the tabulate as I was not sure that the
table being a float would be moved somewhere else. Basically what I am
trying to do is similar to HTML layout using nested tables within a
running text.
in that case use the bTABLE .. eTABLE alternative which can handle nested 
tables given that they are {grouped}

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] tables within tabulate environment

2003-09-16 Thread Frank
Hi,

I am working on some documents which are based on a table which is part 
of the text flow and may break between pages. So I use the tabulate 
environment. However now I need to include a table inside a tabulate 
cell, but this does not seem to work.

How can I get around this?

Best regards

Frank

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context