[NTG-context] \bTABLE[distance= or columndistance= ??]

2006-07-02 Thread Peter Münster
Hello,
this is a repost, because I've the feeling, that this question got perhaps
unread:

What is the difference between distance and columndistance?
I thought the one was just a synonym for the other, but now I see, that you
treat them differently in your patch.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \bTABLE[distance= or columndistance= ??]

2006-07-02 Thread Hans Hagen
� wrote:
 Hello,
 this is a repost, because I've the feeling, that this question got perhaps
 unread:

 What is the difference between distance and columndistance?
 I thought the one was just a synonym for the other, but now I see, that you
 treat them differently in your patch.
   
i forgot -)

how about global and per-column

both were added due to some user request (and partly prototyped by others) 

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
-

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


Re: [NTG-context] \bTABLE[distance=...]

2006-06-29 Thread Taco Hoekwater


Peter Münster wrote:
 Hello,
 
 when using \bTABLE[distance=...], the table gets wider than the textwidth.

 
 A workaround seems to be textwidth=\dimexpr\textwidth-3em\relax
 Could this be done automatically?

I expect it can (and should) be. Stuff sticking out in the margin
is always bad ;-)

Taco

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


Re: [NTG-context] \bTABLE[distance=...]

2006-06-29 Thread Hans Hagen
Taco Hoekwater wrote:
 Peter M�nster wrote:
   
 Hello,

 when using \bTABLE[distance=...], the table gets wider than the textwidth.
 

   
 A workaround seems to be textwidth=\dimexpr\textwidth-3em\relax
 Could this be done automatically?
 

 I expect it can (and should) be. Stuff sticking out in the margin
 is always bad ;-)
   
% test: \advance\!!dimena-\gettbldis\recurselevel\relax

you can enable that line in core-ntb and see what happens

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
-

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


Re: [NTG-context] \bTABLE[distance=...]

2006-06-29 Thread Taco Hoekwater


Hans Hagen wrote:
Could this be done automatically?

I expect it can (and should) be. Stuff sticking out in the margin
is always bad ;-)
  
 % test: \advance\!!dimena-\gettbldis\recurselevel\relax
 
 you can enable that line in core-ntb and see what happens

works for me ... Peter?

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


Re: [NTG-context] \bTABLE[distance=...]

2006-06-29 Thread Peter Münster
On Thu, 29 Jun 2006, Taco Hoekwater wrote:

  % test: \advance\!!dimena-\gettbldis\recurselevel\relax
  
  you can enable that line in core-ntb and see what happens
 
 works for me ... Peter?

Yes, thanks! But the next issues follow immediately:
just consider leftmargindistance= and rightmargindistance= at the place of
distance=.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \bTABLE[distance=...]

2006-06-29 Thread Hans Hagen
� wrote:
 On Thu, 29 Jun 2006, Taco Hoekwater wrote:

   
 % test: \advance\!!dimena-\gettbldis\recurselevel\relax

 you can enable that line in core-ntb and see what happens
   
 works for me ... Peter?
 

 Yes, thanks! But the next issues follow immediately:
 just consider leftmargindistance= and rightmargindistance= at the place of
 distance=.
   
well, i let you consider and test the following -)

\def\dochecktblwidths#1%
  {\iftraceTABLE\showtblwids{B#1}\fi
   \!!dimena\hsize
   \!!counta\zerocount
% test, dunno yet
\advance\!!dimena-\tbltblleftmargindistance
\advance\!!dimena-\tbltblrightmargindistance
\advance\!!dimena-\tbltblcolumndistance
   \dorecurse\maximumcol
 {\scratchdimen\gettblaut\recurselevel\relax
% test, seems to work ok
\advance\!!dimena-\gettbldis\recurselevel\relax

etc etc 

-
  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
-

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


[NTG-context] \bTABLE[distance=...]

2006-06-28 Thread Peter Münster
Hello,

when using \bTABLE[distance=...], the table gets wider than the textwidth.
Example:

\starttext
\input tufte

\bTABLE
\bTR\bTD bla bla bla bla\eTD\bTD
\input tufte
\eTD\eTR
\eTABLE

\bTABLE[distance=3em]
\bTR\bTD bla bla bla bla\eTD\bTD
\input tufte
\eTD\eTR
\eTABLE

\input tufte
\stoptext

A workaround seems to be textwidth=\dimexpr\textwidth-3em\relax
Could this be done automatically?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context