Re: [NTG-context] rulethickness in columns

2009-03-03 Thread Wolfgang Schuster
On Tue, Mar 3, 2009 at 2:25 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

 Am 02.03.2009 um 11:41 schrieb Hans Hagen:

 I would set offset parameters for all four margins before rule values
 but will us Hans ever grant this wish, it's been on the list from a lot
 of us for years.

 indeed, but only because it has a speed penalty; maybe some day in mkiv
 only

 Test file with 10.000 simple frames.

 Unmodified \framed:

 Output written on rul-test-5.pdf (1250 pages, 730030 bytes).
 Transcript written on rul-test-5.log.
 TeXExec | runtime: 10.023787

 Modified \framed:

 Output written on rul-test-5.pdf (1250 pages, 730030 bytes).
 Transcript written on rul-test-5.log.
 TeXExec | runtime: 10.524815

 If you won't change the MkII version I can live with this but what speaks
 against a modification of the MkIV version. Don't say performance, MkIV is
 in many parts slower than MkII (e.g. buffers) but people who use don't care
 about this.

And here are the times for MkIV.

Original core-rul:
mkiv lua stats : runtime   - 20.242 seconds, 1250
processed pages, 1250 shipped pages, 61.753 pages/second

Modified core-rul:
mkiv lua stats : runtime   - 22.108 seconds, 1250
processed pages, 1250 shipped pages, 56.541 pages/second

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] rulethickness in columns

2009-03-03 Thread Hans Hagen

Wolfgang Schuster wrote:


If you won't change the MkII version I can live with this but what speaks
against a modification of the MkIV version. Don't say performance, MkIV is
in many parts slower than MkII (e.g. buffers) but people who use don't care
about this.


are you sure that it's slower with buffer? after all, we don't use files 
 for buffers in mkiv



And here are the times for MkIV.

Original core-rul:
mkiv lua stats : runtime   - 20.242 seconds, 1250
processed pages, 1250 shipped pages, 61.753 pages/second

Modified core-rul:
mkiv lua stats : runtime   - 22.108 seconds, 1250
processed pages, 1250 shipped pages, 56.541 pages/second

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
___



--

-
  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] rulethickness in columns

2009-03-03 Thread Hans Hagen

Wolfgang Schuster wrote:

On Tue, Mar 3, 2009 at 2:25 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

Am 02.03.2009 um 11:41 schrieb Hans Hagen:


I would set offset parameters for all four margins before rule values
but will us Hans ever grant this wish, it's been on the list from a lot
of us for years.

indeed, but only because it has a speed penalty; maybe some day in mkiv
only

Test file with 10.000 simple frames.

Unmodified \framed:

Output written on rul-test-5.pdf (1250 pages, 730030 bytes).
Transcript written on rul-test-5.log.
TeXExec | runtime: 10.023787

Modified \framed:

Output written on rul-test-5.pdf (1250 pages, 730030 bytes).
Transcript written on rul-test-5.log.
TeXExec | runtime: 10.524815

If you won't change the MkII version I can live with this but what speaks
against a modification of the MkIV version. Don't say performance, MkIV is
in many parts slower than MkII (e.g. buffers) but people who use don't care
about this.


And here are the times for MkIV.

Original core-rul:
mkiv lua stats : runtime   - 20.242 seconds, 1250
processed pages, 1250 shipped pages, 61.753 pages/second

Modified core-rul:
mkiv lua stats : runtime   - 22.108 seconds, 1250
processed pages, 1250 shipped pages, 56.541 pages/second


how did your test file + core-rul patch look (keep in mind that in 
official mkiv we use a different core-rul)


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
___


Re: [NTG-context] rulethickness in columns

2009-03-03 Thread Wolfgang Schuster
On Tue, Mar 3, 2009 at 7:26 PM, Hans Hagen pra...@wxs.nl wrote:

 If you won't change the MkII version I can live with this but what speaks
 against a modification of the MkIV version. Don't say performance, MkIV
 is in many parts slower than MkII (e.g. buffers) but people who use don't
 care about this.

 are you sure that it's slower with buffer? after all, we don't use files
  for buffers in mkiv

Not really, I can't find my old test files and it can be a side effect of
my test method.

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] rulethickness in columns

2009-03-02 Thread Wolfgang Schuster
On Sun, Mar 1, 2009 at 7:26 PM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:

 I have a question regarding natural tables: Would it be able to set the
 rulethickness parameter for one (e.g. the right) side of selected columns
 separately (e.g. rulethickness_right=2pt)?

 Not directly. One can misuse an empty column or use metafun to draw
 the background separately.

 See
    http://www.vim.org/sponsor/vote_results.php

 If there was something similar for ConTeXt, I would vote for this
 feature immediately :)

I would set offset parameters for all four margins before rule values
but will us Hans ever grant this wish, it's been on the list from a lot
of us for years.

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] rulethickness in columns

2009-03-02 Thread Hans Hagen

Wolfgang Schuster wrote:

On Sun, Mar 1, 2009 at 7:26 PM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:


I have a question regarding natural tables: Would it be able to set the
rulethickness parameter for one (e.g. the right) side of selected columns
separately (e.g. rulethickness_right=2pt)?

Not directly. One can misuse an empty column or use metafun to draw
the background separately.

See
   http://www.vim.org/sponsor/vote_results.php

If there was something similar for ConTeXt, I would vote for this
feature immediately :)


I would set offset parameters for all four margins before rule values
but will us Hans ever grant this wish, it's been on the list from a lot
of us for years.


indeed, but only because it has a speed penalty; maybe some day in mkiv 
only



-
  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] rulethickness in columns

2009-03-02 Thread Mojca Miklavec
On Thu, Feb 26, 2009 at 20:28, Albrecht Kauffmann wrote:
 Hi all,

 I have a question regarding natural tables: Would it be able to set the
 rulethickness parameter for one (e.g. the right) side of selected columns
 separately (e.g. rulethickness_right=2pt)?

You may try the attachment. It's a bit suboptimal, but kind-of-works.
I don't know why the borders are not finished properly on edges.

Mojca


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


Re: [NTG-context] rulethickness in columns

2009-03-02 Thread Peter Rolf

Mojca Miklavec schrieb:

On Thu, Feb 26, 2009 at 20:28, Albrecht Kauffmann wrote:
  

Hi all,

I have a question regarding natural tables: Would it be able to set the
rulethickness parameter for one (e.g. the right) side of selected columns
separately (e.g. rulethickness_right=2pt)?



You may try the attachment. It's a bit suboptimal, but kind-of-works.
I don't know why the borders are not finished properly on edges.

  

Just give the TABLE macro a chance to calculate the right total sizes :)

\setupTABLE[c][1,6][width=2pt,offset=overlay,rulethickness=2pt]
\setupTABLE[r][1,3,6][height=2pt,offset=overlay,rulethickness=2pt]

Best wishes,

Peter


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  : 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] rulethickness in columns

2009-03-01 Thread Mojca Miklavec
On Thu, Feb 26, 2009 at 20:28, Albrecht Kauffmann wrote:
 Hi all,

 I have a question regarding natural tables: Would it be able to set the
 rulethickness parameter for one (e.g. the right) side of selected columns
 separately (e.g. rulethickness_right=2pt)?

Not directly. One can misuse an empty column or use metafun to draw
the background separately.

See
http://www.vim.org/sponsor/vote_results.php

If there was something similar for ConTeXt, I would vote for this
feature immediately :)

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


Re: [NTG-context] rulethickness in columns

2009-03-01 Thread Hans Hagen

Mojca Miklavec wrote:

On Thu, Feb 26, 2009 at 20:28, Albrecht Kauffmann wrote:

Hi all,

I have a question regarding natural tables: Would it be able to set the
rulethickness parameter for one (e.g. the right) side of selected columns
separately (e.g. rulethickness_right=2pt)?


Not directly. One can misuse an empty column or use metafun to draw
the background separately.

See
http://www.vim.org/sponsor/vote_results.php

If there was something similar for ConTeXt, I would vote for this
feature immediately :)


hm, yet another thing then to track ... also, having such a system would 
disable your private hot-line-get-me-this-feature priveliges so you'd 
better think twice


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
___