ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* next beta
@ 2013-05-28 11:07 Hans Hagen
  0 siblings, 0 replies; 40+ messages in thread
From: Hans Hagen @ 2013-05-28 11:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

New key A in next beta:

\setupbodyfont[tt]

\starttext

     \starttabulate[|l|pA{nothyphenated,flushleft,stretch,verytolerant}|]
     \NC tufte \NC \input tufte \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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2018-04-14 16:51 Hans Hagen
@ 2018-04-18  6:34 ` Otared Kavian
  0 siblings, 0 replies; 40+ messages in thread
From: Otared Kavian @ 2018-04-18  6:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

Thanks for the new feature for row backgrounds, which I tested: it works (though see below) and it is another great feature!
I wanted to add the information on the wiki, but thought it would be better to explain the meanings of \ND and \NL: is the following correct:

\NC = New Column
\NR = New Row
\NL = New Line ?
\ND = ??

Also it seems that when one encloses the tabulated lines into a \startplacetable...\stopplacetable pair, the coloring of the background does not work. Please see below an example.

Best regards: OK

%%% begin row-background.tex
\setuptabulate[backgroundcolor=lightgray]

\starttext

\starttabulate[|||]
   \ND First name \NC Family name\NC \NR
   \NC Hans \NC Hagen \NC \NR
   \NL[darkgray] Wolfgang \NC Schuster \NC \NR
   \NC Aditya \NC Mahajan \NC \NR
   \ND Pablo \NC Rodriguez \NC \NR
\stoptabulate

\startplacetable[title=A nice table, but where are the colors?]
\starttabulate[|||]
   \ND First name \NC Family name\NC \NR
   \NC Hans \NC Hagen \NC \NR
   \NL[darkgray] Wolfgang \NC Schuster \NC \NR
   \NC Aditya \NC Mahajan \NC \NR
   \ND Pablo \NC Rodriguez \NC \NR
\stoptabulate
\stopplacetable

\stoptext
%%% end row-background.tex


> On 14 Apr 2018, at 18:51, Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
> Hi,
> 
> The next beta will have:
> 
> % row backgrounds:
> 
> \setuptabulate[backgroundcolor=darkred]
> 
> \starttext
> 
> \starttabulate[|||]
>    \NC foo \NC bar \NC \NR
>    \ND foo \NC bar \NC \NR
>    \NC foo \NC bar \NC \NR
>    \NC foo \NC bar \NC \NR
>    \ND foo \NC bar \NC \NR
> \stoptabulate
> 
> \starttabulate[|||]
>    \NC          foo \NC bar \NC \NR
>    \NL[magenta] foo \NC bar \NC \NR
>    \NL[yellow]  foo \NC bar \NC \NR
>    \NL[cyan]    foo \NC bar \NC \NR
>    \NL[gray]    foo \NC bar \NC \NR
> \stoptabulate
> 
> \starttabulate
>    \NL[red]     foo \NC bar \NC \NR
>    \NL[green]   foo \NC bar \NC \NR
>    \NC          foo \NC bar \NC \NR
>    \NL[blue]    foo \NC \input tufte  \NC \NR
>    \NL[gray]    foo \NC bar \NC \NR
>    \NL[yellow]  foo \NC bar \NC \NR
> \stoptabulate
> 
> \stoptext
> 
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* next beta
@ 2018-04-14 16:51 Hans Hagen
  2018-04-18  6:34 ` Otared Kavian
  0 siblings, 1 reply; 40+ messages in thread
From: Hans Hagen @ 2018-04-14 16:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

The next beta will have:

% row backgrounds:

\setuptabulate[backgroundcolor=darkred]

\starttext

\starttabulate[|||]
     \NC foo \NC bar \NC \NR
     \ND foo \NC bar \NC \NR
     \NC foo \NC bar \NC \NR
     \NC foo \NC bar \NC \NR
     \ND foo \NC bar \NC \NR
\stoptabulate

\starttabulate[|||]
     \NC          foo \NC bar \NC \NR
     \NL[magenta] foo \NC bar \NC \NR
     \NL[yellow]  foo \NC bar \NC \NR
     \NL[cyan]    foo \NC bar \NC \NR
     \NL[gray]    foo \NC bar \NC \NR
\stoptabulate

\starttabulate
     \NL[red]     foo \NC bar \NC \NR
     \NL[green]   foo \NC bar \NC \NR
     \NC          foo \NC bar \NC \NR
     \NL[blue]    foo \NC \input tufte  \NC \NR
     \NL[gray]    foo \NC bar \NC \NR
     \NL[yellow]  foo \NC bar \NC \NR
\stoptabulate

\stoptext


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-19  7:36       ` Hans Hagen
@ 2017-06-19  7:44         ` Aditya Mahajan
  0 siblings, 0 replies; 40+ messages in thread
From: Aditya Mahajan @ 2017-06-19  7:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 19 Jun 2017, Hans Hagen wrote:

> \setupformulas[split=yes,align=flushleft]     % already there

While you are tweaking formulas, would it make sense to add a key-value 
interface for \startformula, so that the following also works:

\startformula[split=yes, align=flushleft]
...
\stopformula

We can remain backward compatible by check if the argument to formulas is 
an assignment or not.

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-18 22:56     ` Henri Menke
@ 2017-06-19  7:36       ` Hans Hagen
  2017-06-19  7:44         ` Aditya Mahajan
  0 siblings, 1 reply; 40+ messages in thread
From: Hans Hagen @ 2017-06-19  7:36 UTC (permalink / raw)
  To: Henri Menke, ntg-context@ntg.nl >> mailing list for ConTeXt users

On 6/19/2017 12:56 AM, Henri Menke wrote:

> Let me quote the TeXbook (page 195):
> 
> »Although formulas within a paragraph always break after binary operations and relations, displayed
> formulas always break before binary operations and relations.«

given that one uses alignments

> On the other hand, right above this paragraph, it says:
> 
> »It's quite an art to decide how to break long displayed formulas into several lines; TeX never
> attempts to break them, because no set of rules is really adequate.«

right, so we're stuck .. anyhow, some future mkiv beta / luatex 
combination will provide

\setupformulas[split=yes,align=flushleft]     % already there
\setupmathematics[setups=math:spacing:split]  % needs new engine

so that you split differently (one can then prevent an unwanted split 
with a large penalty)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-18 11:00   ` Hans Hagen
  2017-06-18 15:39     ` Jeong Dal
@ 2017-06-18 22:56     ` Henri Menke
  2017-06-19  7:36       ` Hans Hagen
  1 sibling, 1 reply; 40+ messages in thread
From: Henri Menke @ 2017-06-18 22:56 UTC (permalink / raw)
  To: ntg-context

On Sun, 2017-06-18 at 13:00 +0200, Hans Hagen wrote:
> On 6/17/2017 3:48 PM, Jeong Dal wrote:
> > 
> > Dear Hans,
> > 
> > I updated ConTeXt beta today and run your sample for long formula.
> > It works nice and it is the feature what many math people want I think.
> > Thank you for your concern.
> > 
> > One thing that I’d like say is that a new line in the splitted long formula usually starts with
> > operations in many math books.
> > But, in the ourput  of your example, every line ends with ‘+’ sign and begin a new line with a
> > ‘number’.
> > 
> > Would you please check it once more?
> this is how tex works: just look at inline math

Let me quote the TeXbook (page 195):

»Although formulas within a paragraph always break after binary operations and relations, displayed
formulas always break before binary operations and relations.«

On the other hand, right above this paragraph, it says:

»It's quite an art to decide how to break long displayed formulas into several lines; TeX never
attempts to break them, because no set of rules is really adequate.«

> i played with it a bit but had to adapt the engine for a bit more 
> control (stepwise the matyh machinery is opened up i.e. hard coded steps 
> become configureable)
> 
> anyway, the question is not implementing but control: it's not default 
> tex behaviour so it has to be turned on (and then after a while we 
> forget that it can be turned on i guess)
> 
> (no clue what keyword to use for controling it)
> 
> Hans
> 
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-18 11:00   ` Hans Hagen
@ 2017-06-18 15:39     ` Jeong Dal
  2017-06-18 22:56     ` Henri Menke
  1 sibling, 0 replies; 40+ messages in thread
From: Jeong Dal @ 2017-06-18 15:39 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1451 bytes --]

Dear Hans,


> 2017. 6. 18. 오후 8:00, Hans Hagen <pragma@wxs.nl> 작성:
> 
> this is how tex works: just look at inline math
> 

Yes, you are right. 
To start a new line with a sign may be a preference  of me and some others.
I found a document which illustrates the different displays of a long equations in LaTeX.

https://www.andy-roberts.net/res/writing/latex/longeqns.pdf <https://www.andy-roberts.net/res/writing/latex/longeqns.pdf>

I think that I ask you too much. 
You may leave it to user to choose.

Thank you for the example that I just saw. It looks good to me.

Best regards,

Dalyoung


> i played with it a bit but had to adapt the engine for a bit more control (stepwise the matyh machinery is opened up i.e. hard coded steps become configureable)
> 
> anyway, the question is not implementing but control: it's not default tex behaviour so it has to be turned on (and then after a while we forget that it can be turned on i guess)
> 
> (no clue what keyword to use for controling it)
> 
> Hans
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl <http://www.pragma-ade.nl/> | www.pragma-pod.nl <http://www.pragma-pod.nl/>
> -----------------------------------------------------------------


[-- Attachment #1.2: Type: text/html, Size: 11348 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-17 13:48 ` Jeong Dal
@ 2017-06-18 11:00   ` Hans Hagen
  2017-06-18 15:39     ` Jeong Dal
  2017-06-18 22:56     ` Henri Menke
  0 siblings, 2 replies; 40+ messages in thread
From: Hans Hagen @ 2017-06-18 11:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jeong Dal

On 6/17/2017 3:48 PM, Jeong Dal wrote:
> Dear Hans,
> 
> I updated ConTeXt beta today and run your sample for long formula.
> It works nice and it is the feature what many math people want I think.
> Thank you for your concern.
> 
> One thing that I’d like say is that a new line in the splitted long formula usually starts with operations in many math books.
> But, in the ourput  of your example, every line ends with ‘+’ sign and begin a new line with a ‘number’.
> 
> Would you please check it once more?
this is how tex works: just look at inline math

i played with it a bit but had to adapt the engine for a bit more 
control (stepwise the matyh machinery is opened up i.e. hard coded steps 
become configureable)

anyway, the question is not implementing but control: it's not default 
tex behaviour so it has to be turned on (and then after a while we 
forget that it can be turned on i guess)

(no clue what keyword to use for controling it)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
       [not found] <mailman.575.1497365252.2080.ntg-context@ntg.nl>
@ 2017-06-17 13:48 ` Jeong Dal
  2017-06-18 11:00   ` Hans Hagen
  0 siblings, 1 reply; 40+ messages in thread
From: Jeong Dal @ 2017-06-17 13:48 UTC (permalink / raw)
  To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl

Dear Hans,

I updated ConTeXt beta today and run your sample for long formula.
It works nice and it is the feature what many math people want I think.
Thank you for your concern.

One thing that I’d like say is that a new line in the splitted long formula usually starts with operations in many math books.
But, in the ourput  of your example, every line ends with ‘+’ sign and begin a new line with a ‘number’.

Would you please check it once more?

Thank you again for your work, and have a nice weekend.

Best regards,

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-14  9:33         ` Mathias Schickel
@ 2017-06-14 11:23           ` Hans Hagen
  0 siblings, 0 replies; 40+ messages in thread
From: Hans Hagen @ 2017-06-14 11:23 UTC (permalink / raw)
  To: Mathias Schickel; +Cc: mailing list for ConTeXt users

On 6/14/2017 11:33 AM, Mathias Schickel wrote:
> 
>> Am 13.06.2017 um 16:46 schrieb Hans Hagen <pragma@wxs.nl 
>> <mailto:pragma@wxs.nl>>:
>>
>> On 6/13/2017 1:18 PM, Mathias Schickel wrote:
>>>> Am 12.06.2017 um 18:17 schrieb Hans Hagen <pragma@wxs.nl 
>>>> <mailto:pragma@wxs.nl>>:
>>>>
>>>> On 6/12/2017 5:56 PM, Mathias Schickel wrote:
>>>>> Hi Hans,
>>>>> if I get it right this means that you provide a mechanism that 
>>>>> brakes formulas automatically across several lines? I appreciate 
>>>>> this very much! Thank you for including this into the next beta!
>>>>> Would it be possible to do something like that for breaking long 
>>>>> formulas across pages (or is that maybe included in the new mechanism)?
>>>> that's more complex and interferes with other aspects so maybe later
>>> Okay, that would be really great. Maybe a semi-automatic breaking 
>>> across pages could be doable. The AMS package for LaTeX implements 
>>> something like that. If you write \allowbreak (I am not absolutely 
>>> sure if this is the true command, but it is something like that) at a 
>>> line of an equation with multiple lines the typesetting algorithm 
>>> knows that the formula can be broken across pages at that point.
>>> If something like that could be done in ConTeXt it would be really 
>>> great. At present it is somewhat complicated to handle equations with 
>>> many lines since you have to typeset the text and check if everything 
>>> fits. If you could mark certain lines of an equation to be allowed to 
>>> be broken at the end of a page, working with multiple line equations 
>>> would be much easier and faster.
>> attached what will be provided ... experimental for a while (not in 
>> the mood now for harder stuff)
> 
> That looks really good! Will it be possible to combine that with 
> \startmathalignment? And if not can you pass several \alignhere commands 
> and force breaking at user defined places?
> (I tried out to test it myself but the new feature is not yet uploaded 
> to the garden version.)
i didn't test with alignments

only one \alignhere per formula

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-13 14:46       ` Hans Hagen
  2017-06-13 15:52         ` Mohammad Hossein Bateni
  2017-06-13 16:18         ` Aditya Mahajan
@ 2017-06-14  9:33         ` Mathias Schickel
  2017-06-14 11:23           ` Hans Hagen
  2 siblings, 1 reply; 40+ messages in thread
From: Mathias Schickel @ 2017-06-14  9:33 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2276 bytes --]


> Am 13.06.2017 um 16:46 schrieb Hans Hagen <pragma@wxs.nl>:
> 
> On 6/13/2017 1:18 PM, Mathias Schickel wrote:
>>> Am 12.06.2017 um 18:17 schrieb Hans Hagen <pragma@wxs.nl>:
>>> 
>>> On 6/12/2017 5:56 PM, Mathias Schickel wrote:
>>>> Hi Hans,
>>>> if I get it right this means that you provide a mechanism that brakes formulas automatically across several lines? I appreciate this very much! Thank you for including this into the next beta!
>>>> Would it be possible to do something like that for breaking long formulas across pages (or is that maybe included in the new mechanism)?
>>> that's more complex and interferes with other aspects so maybe later
>> Okay, that would be really great. Maybe a semi-automatic breaking across pages could be doable. The AMS package for LaTeX implements something like that. If you write \allowbreak (I am not absolutely sure if this is the true command, but it is something like that) at a line of an equation with multiple lines the typesetting algorithm knows that the formula can be broken across pages at that point.
>> If something like that could be done in ConTeXt it would be really great. At present it is somewhat complicated to handle equations with many lines since you have to typeset the text and check if everything fits. If you could mark certain lines of an equation to be allowed to be broken at the end of a page, working with multiple line equations would be much easier and faster.
> attached what will be provided ... experimental for a while (not in the mood now for harder stuff)

That looks really good! Will it be possible to combine that with \startmathalignment? And if not can you pass several \alignhere commands and force breaking at user defined places?
(I tried out to test it myself but the new feature is not yet uploaded to the garden version.)

> 
> Hans
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl <http://www.pragma-ade.nl/> | www.pragma-pod.nl <http://www.pragma-pod.nl/>
> -----------------------------------------------------------------
> <align-002.pdf>


[-- Attachment #1.2: Type: text/html, Size: 10622 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-13 14:46       ` Hans Hagen
  2017-06-13 15:52         ` Mohammad Hossein Bateni
@ 2017-06-13 16:18         ` Aditya Mahajan
  2017-06-14  9:33         ` Mathias Schickel
  2 siblings, 0 replies; 40+ messages in thread
From: Aditya Mahajan @ 2017-06-13 16:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 13 Jun 2017, Hans Hagen wrote:

> attached what will be provided ... experimental for a while (not in the mood 
> now for harder stuff)

Thanks. I'll play around with it.

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-13 14:46       ` Hans Hagen
@ 2017-06-13 15:52         ` Mohammad Hossein Bateni
  2017-06-13 16:18         ` Aditya Mahajan
  2017-06-14  9:33         ` Mathias Schickel
  2 siblings, 0 replies; 40+ messages in thread
From: Mohammad Hossein Bateni @ 2017-06-13 15:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2551 bytes --]

this looks really cool and useful!  thanks a lot, Hans!

On Tue, Jun 13, 2017 at 10:46 AM, Hans Hagen <pragma@wxs.nl> wrote:

> On 6/13/2017 1:18 PM, Mathias Schickel wrote:
>
>>
>> Am 12.06.2017 um 18:17 schrieb Hans Hagen <pragma@wxs.nl>:
>>>
>>> On 6/12/2017 5:56 PM, Mathias Schickel wrote:
>>>
>>>> Hi Hans,
>>>> if I get it right this means that you provide a mechanism that brakes
>>>> formulas automatically across several lines? I appreciate this very much!
>>>> Thank you for including this into the next beta!
>>>> Would it be possible to do something like that for breaking long
>>>> formulas across pages (or is that maybe included in the new mechanism)?
>>>>
>>> that's more complex and interferes with other aspects so maybe later
>>>
>>
>> Okay, that would be really great. Maybe a semi-automatic breaking across
>> pages could be doable. The AMS package for LaTeX implements something like
>> that. If you write \allowbreak (I am not absolutely sure if this is the
>> true command, but it is something like that) at a line of an equation with
>> multiple lines the typesetting algorithm knows that the formula can be
>> broken across pages at that point.
>> If something like that could be done in ConTeXt it would be really great.
>> At present it is somewhat complicated to handle equations with many lines
>> since you have to typeset the text and check if everything fits. If you
>> could mark certain lines of an equation to be allowed to be broken at the
>> end of a page, working with multiple line equations would be much easier
>> and faster.
>>
> attached what will be provided ... experimental for a while (not in the
> mood now for harder stuff)
>
> Hans
>
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ____________________________________________________________
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 4057 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-13 11:18     ` Mathias Schickel
@ 2017-06-13 14:46       ` Hans Hagen
  2017-06-13 15:52         ` Mohammad Hossein Bateni
                           ` (2 more replies)
  0 siblings, 3 replies; 40+ messages in thread
From: Hans Hagen @ 2017-06-13 14:46 UTC (permalink / raw)
  To: Mathias Schickel, mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1813 bytes --]

On 6/13/2017 1:18 PM, Mathias Schickel wrote:
> 
>> Am 12.06.2017 um 18:17 schrieb Hans Hagen <pragma@wxs.nl>:
>>
>> On 6/12/2017 5:56 PM, Mathias Schickel wrote:
>>> Hi Hans,
>>> if I get it right this means that you provide a mechanism that brakes formulas automatically across several lines? I appreciate this very much! Thank you for including this into the next beta!
>>> Would it be possible to do something like that for breaking long formulas across pages (or is that maybe included in the new mechanism)?
>> that's more complex and interferes with other aspects so maybe later
> 
> Okay, that would be really great. Maybe a semi-automatic breaking across pages could be doable. The AMS package for LaTeX implements something like that. If you write \allowbreak (I am not absolutely sure if this is the true command, but it is something like that) at a line of an equation with multiple lines the typesetting algorithm knows that the formula can be broken across pages at that point.
> If something like that could be done in ConTeXt it would be really great. At present it is somewhat complicated to handle equations with many lines since you have to typeset the text and check if everything fits. If you could mark certain lines of an equation to be allowed to be broken at the end of a page, working with multiple line equations would be much easier and faster.
attached what will be provided ... experimental for a while (not in the 
mood now for harder stuff)

Hans

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

[-- Attachment #2: align-002.pdf --]
[-- Type: application/pdf, Size: 47966 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 bytes --]

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-12 15:25 Hans Hagen
  2017-06-12 15:56 ` Mathias Schickel
  2017-06-13  6:06 ` Aditya Mahajan
@ 2017-06-13 12:47 ` Hans Åberg
  2 siblings, 0 replies; 40+ messages in thread
From: Hans Åberg @ 2017-06-13 12:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


> On 12 Jun 2017, at 17:25, Hans Hagen <pragma@wxs.nl> wrote:
> 
> Hi,
> 
> experimental in next beta:

There is a TeX Live updating utility, at least on the MacOS distribution, that allows for server synchronizations between the yearly updates. Is ConTeXt updated there?


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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-12 16:17   ` Hans Hagen
@ 2017-06-13 11:18     ` Mathias Schickel
  2017-06-13 14:46       ` Hans Hagen
  0 siblings, 1 reply; 40+ messages in thread
From: Mathias Schickel @ 2017-06-13 11:18 UTC (permalink / raw)
  To: Hans Hagen, Aditya Mahajan, mailing list for ConTeXt users


> Am 12.06.2017 um 18:17 schrieb Hans Hagen <pragma@wxs.nl>:
> 
> On 6/12/2017 5:56 PM, Mathias Schickel wrote:
>> Hi Hans,
>> if I get it right this means that you provide a mechanism that brakes formulas automatically across several lines? I appreciate this very much! Thank you for including this into the next beta!
>> Would it be possible to do something like that for breaking long formulas across pages (or is that maybe included in the new mechanism)?
> that's more complex and interferes with other aspects so maybe later

Okay, that would be really great. Maybe a semi-automatic breaking across pages could be doable. The AMS package for LaTeX implements something like that. If you write \allowbreak (I am not absolutely sure if this is the true command, but it is something like that) at a line of an equation with multiple lines the typesetting algorithm knows that the formula can be broken across pages at that point.
If something like that could be done in ConTeXt it would be really great. At present it is somewhat complicated to handle equations with many lines since you have to typeset the text and check if everything fits. If you could mark certain lines of an equation to be allowed to be broken at the end of a page, working with multiple line equations would be much easier and faster.

> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-13  6:06 ` Aditya Mahajan
@ 2017-06-13  8:05   ` Hans Hagen
  0 siblings, 0 replies; 40+ messages in thread
From: Hans Hagen @ 2017-06-13  8:05 UTC (permalink / raw)
  To: ntg-context

On 6/13/2017 8:06 AM, Aditya Mahajan wrote:
> On Mon, 12 Jun 2017, Hans Hagen wrote:
> 
>> i.e. (poor mans) multiline display math
> 
> Interesting. An important reference for automatic breaking of multiline 
> display are the notes of Michael J Downes included in the documentation 
> of breqn: see section 14 (page 16) of 
> http://ctan.math.washington.edu/tex-archive/macros/latex/contrib/breqn/breqn.pdf 

I remember a talk by giuseppe about nath (or so) that did something nice 
but anyway, the main question with that kind of trickery is if one is 
willing to add structure info or not .. anything semi-clever will be 
limited.

> (Ignore the implementation details, which were a series of hacks to make 
> things work in pdftex, but section 14 explains the different display 
> math layouts and a strategy to choose between them. It will be really 
> nice to have something comparable in ConTeXt.
You mean these boxed lines? I'm not a math expert so the subtle details 
are lost to me. I'd rather start from reasonable demands (after all very 
complex stuff often is best done manually anyway).

For instance

foo = bar + bar + bar
       gnu + gnu

is doable without much trouble if one is willing to enter

foo = \alignhere bar + bar + bar
       gnu + gnu

and such.

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-12 15:25 Hans Hagen
  2017-06-12 15:56 ` Mathias Schickel
@ 2017-06-13  6:06 ` Aditya Mahajan
  2017-06-13  8:05   ` Hans Hagen
  2017-06-13 12:47 ` Hans Åberg
  2 siblings, 1 reply; 40+ messages in thread
From: Aditya Mahajan @ 2017-06-13  6:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 12 Jun 2017, Hans Hagen wrote:

> i.e. (poor mans) multiline display math

Interesting. An important reference for automatic breaking of multiline 
display are the notes of Michael J Downes included in the documentation of 
breqn: see section 14 (page 16) of 
http://ctan.math.washington.edu/tex-archive/macros/latex/contrib/breqn/breqn.pdf

(Ignore the implementation details, which were a series of hacks to make 
things work in pdftex, but section 14 explains the different display math 
layouts and a strategy to choose between them. It will be really nice to 
have something comparable in ConTeXt.

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-12 15:56 ` Mathias Schickel
@ 2017-06-12 16:17   ` Hans Hagen
  2017-06-13 11:18     ` Mathias Schickel
  0 siblings, 1 reply; 40+ messages in thread
From: Hans Hagen @ 2017-06-12 16:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Mathias Schickel

On 6/12/2017 5:56 PM, Mathias Schickel wrote:
> Hi Hans,
> 
> if I get it right this means that you provide a mechanism that brakes formulas automatically across several lines? I appreciate this very much! Thank you for including this into the next beta!
> Would it be possible to do something like that for breaking long formulas across pages (or is that maybe included in the new mechanism)?
that's more complex and interferes with other aspects so maybe later

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-06-12 15:25 Hans Hagen
@ 2017-06-12 15:56 ` Mathias Schickel
  2017-06-12 16:17   ` Hans Hagen
  2017-06-13  6:06 ` Aditya Mahajan
  2017-06-13 12:47 ` Hans Åberg
  2 siblings, 1 reply; 40+ messages in thread
From: Mathias Schickel @ 2017-06-12 15:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

if I get it right this means that you provide a mechanism that brakes formulas automatically across several lines? I appreciate this very much! Thank you for including this into the next beta!
Would it be possible to do something like that for breaking long formulas across pages (or is that maybe included in the new mechanism)?

Best
Mathias


> Am 12.06.2017 um 17:25 schrieb Hans Hagen <pragma@wxs.nl>:
> 
> Hi,
> 
> experimental in next beta:
> 
> \starttext
> 
> test
> 
> \startbuffer
> \placeformula
> \startformula
>    x\dorecurse{100}{+#1x^{#1x}}=10
> \stopformula
> 
> test
> 
> \startformula
>    x\dorecurse{100}{+#1x^{#1x}}=10
> \stopformula
> 
> test
> \stopbuffer
> 
> \par \setupformula[split=no]  \getbuffer \par
> \par \setupformula[split=yes] \getbuffer \par
> 
> \stoptext
> 
> i.e. (poor mans) multiline display math
> 
> Hans
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* next beta
@ 2017-06-12 15:25 Hans Hagen
  2017-06-12 15:56 ` Mathias Schickel
                   ` (2 more replies)
  0 siblings, 3 replies; 40+ messages in thread
From: Hans Hagen @ 2017-06-12 15:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

experimental in next beta:

\starttext

test

\startbuffer
\placeformula
\startformula
     x\dorecurse{100}{+#1x^{#1x}}=10
\stopformula

test

\startformula
     x\dorecurse{100}{+#1x^{#1x}}=10
\stopformula

test
\stopbuffer

\par \setupformula[split=no]  \getbuffer \par
\par \setupformula[split=yes] \getbuffer \par

\stoptext

i.e. (poor mans) multiline display math

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-01-17 19:27     ` Henri Menke
@ 2017-01-17 19:51       ` Hans Hagen
  0 siblings, 0 replies; 40+ messages in thread
From: Hans Hagen @ 2017-01-17 19:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 1/17/2017 8:27 PM, Henri Menke wrote:
> On 01/17/2017 08:23 PM, Hans Hagen wrote:
>> On 1/17/2017 8:13 PM, Henri Menke wrote:
>>> On 01/15/2017 05:19 PM, Hans Hagen wrote:
>>>> Hi,
>>>>
>>>> the next beta has additional keywords for texdefinitions:
>>>>
>>>> \starttext
>>>>
>>>> % [spaces|nospaces] [global] [unexpanded] [expanded] [..argument] csname
>>>>
>>>> \starttexdefinition unexpanded doubleempty whatever [#1][#2]#3
>>>
>>> Is only the outer level \unexpanded or also the inner level?
>>
>> by the outer being unexpanded the inner is also unexpanded (currently it is but i'll remove that as after all the inner one is hidden)
>
> For the hackers among us, what will the name of the inner one will be? (to avoid clashes)
>
> I guess something like \do_whatever or \do_whatever_indeed

\_do_whatever

but i can always decide to make it less accessible

>>>>     this is (#1) (#2) it#3
>>>>
>>>> \stoptexdefinition
>>>>
>>>> *\whatever[a]{!}*
>>>>
>>>> \stoptext
>>>>
>>>> (no beta yet as i'm in the middle of some cleanup)
>>>>
>>>> Hans
>>>>
>>>>
>>>> -----------------------------------------------------------------
>>>>                                           Hans Hagen | PRAGMA ADE
>>>>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>>>        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
>>>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>>>> 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://context.aanhet.net
>>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>>> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-01-17 19:23   ` Hans Hagen
@ 2017-01-17 19:27     ` Henri Menke
  2017-01-17 19:51       ` Hans Hagen
  0 siblings, 1 reply; 40+ messages in thread
From: Henri Menke @ 2017-01-17 19:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 01/17/2017 08:23 PM, Hans Hagen wrote:
> On 1/17/2017 8:13 PM, Henri Menke wrote:
>> On 01/15/2017 05:19 PM, Hans Hagen wrote:
>>> Hi,
>>>
>>> the next beta has additional keywords for texdefinitions:
>>>
>>> \starttext
>>>
>>> % [spaces|nospaces] [global] [unexpanded] [expanded] [..argument] csname
>>>
>>> \starttexdefinition unexpanded doubleempty whatever [#1][#2]#3
>>
>> Is only the outer level \unexpanded or also the inner level?
> 
> by the outer being unexpanded the inner is also unexpanded (currently it is but i'll remove that as after all the inner one is hidden)

For the hackers among us, what will the name of the inner one will be? (to avoid clashes)

I guess something like \do_whatever or \do_whatever_indeed
 
>>>     this is (#1) (#2) it#3
>>>
>>> \stoptexdefinition
>>>
>>> *\whatever[a]{!}*
>>>
>>> \stoptext
>>>
>>> (no beta yet as i'm in the middle of some cleanup)
>>>
>>> Hans
>>>
>>>
>>> -----------------------------------------------------------------
>>>                                           Hans Hagen | PRAGMA ADE
>>>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>>        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
>>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>>> 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-01-17 19:13 ` Henri Menke
@ 2017-01-17 19:23   ` Hans Hagen
  2017-01-17 19:27     ` Henri Menke
  0 siblings, 1 reply; 40+ messages in thread
From: Hans Hagen @ 2017-01-17 19:23 UTC (permalink / raw)
  To: ntg-context

On 1/17/2017 8:13 PM, Henri Menke wrote:
> On 01/15/2017 05:19 PM, Hans Hagen wrote:
>> Hi,
>>
>> the next beta has additional keywords for texdefinitions:
>>
>> \starttext
>>
>> % [spaces|nospaces] [global] [unexpanded] [expanded] [..argument] csname
>>
>> \starttexdefinition unexpanded doubleempty whatever [#1][#2]#3
>
> Is only the outer level \unexpanded or also the inner level?

by the outer being unexpanded the inner is also unexpanded (currently it 
is but i'll remove that as after all the inner one is hidden)

>>     this is (#1) (#2) it#3
>>
>> \stoptexdefinition
>>
>> *\whatever[a]{!}*
>>
>> \stoptext
>>
>> (no beta yet as i'm in the middle of some cleanup)
>>
>> Hans
>>
>>
>> -----------------------------------------------------------------
>>                                           Hans Hagen | PRAGMA ADE
>>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2017-01-15 16:19 Hans Hagen
@ 2017-01-17 19:13 ` Henri Menke
  2017-01-17 19:23   ` Hans Hagen
  0 siblings, 1 reply; 40+ messages in thread
From: Henri Menke @ 2017-01-17 19:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 01/15/2017 05:19 PM, Hans Hagen wrote:
> Hi,
> 
> the next beta has additional keywords for texdefinitions:
> 
> \starttext
> 
> % [spaces|nospaces] [global] [unexpanded] [expanded] [..argument] csname
> 
> \starttexdefinition unexpanded doubleempty whatever [#1][#2]#3

Is only the outer level \unexpanded or also the inner level?

>     this is (#1) (#2) it#3
> 
> \stoptexdefinition
> 
> *\whatever[a]{!}*
> 
> \stoptext
> 
> (no beta yet as i'm in the middle of some cleanup)
> 
> Hans
> 
> 
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* next beta
@ 2017-01-15 16:19 Hans Hagen
  2017-01-17 19:13 ` Henri Menke
  0 siblings, 1 reply; 40+ messages in thread
From: Hans Hagen @ 2017-01-15 16:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

the next beta has additional keywords for texdefinitions:

\starttext

% [spaces|nospaces] [global] [unexpanded] [expanded] [..argument] csname

\starttexdefinition unexpanded doubleempty whatever [#1][#2]#3

     this is (#1) (#2) it#3

\stoptexdefinition

*\whatever[a]{!}*

\stoptext

(no beta yet as i'm in the middle of some cleanup)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2016-06-27  8:38 Hans Hagen
@ 2016-06-27 10:28 ` Meer, Hans van der
  0 siblings, 0 replies; 40+ messages in thread
From: Meer, Hans van der @ 2016-06-27 10:28 UTC (permalink / raw)
  To: NTG ConTeXt


> On 27 Jun 2016, at 10:38, Hans Hagen <pragma@wxs.nl> wrote:
> 
> The next beta will support this (for mp lovers)
> 
> \definecolor[maincolor]   [r=.5]
> \startMPpage
>    fill fullcircle scaled 10cm withcolor "maincolor" ;
>    ...

> \stopMPpage
> 
> So, in many cases you can use strings instead of \MPcolor{...}.

Thanks. A change making the code imho much more 'attractive' to the eye.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* next beta
@ 2016-06-27  8:38 Hans Hagen
  2016-06-27 10:28 ` Meer, Hans van der
  0 siblings, 1 reply; 40+ messages in thread
From: Hans Hagen @ 2016-06-27  8:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

The next beta will support this (for mp lovers)

\definecolor[maincolor]   [r=.5]
\definecolor[extracolor]  [g=.5]
\definecolor[anothercolor][b=.5]
\definecolor[morecolor]   [s=.8]

\startMPpage
     fill fullcircle scaled 10cm withcolor "maincolor" ;
     fill fullcircle scaled  9cm withcolor "extracolor" ;
     fill fullcircle scaled  8cm withcolor complementary "anothercolor" ;
     fill fullcircle scaled  7cm withcolor complemented "anothercolor" ;
     fill fullcircle scaled  6cm withcolor "morecolor" randomized 1 ;
     fill fullcircle scaled  5cm withcolor "morecolor" randomized 1 ;
     addbackground withcolor 
.5[resolvedcolor("morecolor"),resolvedcolor("extracolor")] ;
\stopMPpage

So, in many cases you can use strings instead of \MPcolor{...}.

Hans


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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* next beta
@ 2016-03-03 17:34 Hans Hagen
  0 siblings, 0 replies; 40+ messages in thread
From: Hans Hagen @ 2016-03-03 17:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

A next beta will have a new setting

\setupinteraction
   [focusoffset=5pt]

(once tested that value will become default)

Hans

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* next beta
@ 2016-02-25 10:47 Hans Hagen
  0 siblings, 0 replies; 40+ messages in thread
From: Hans Hagen @ 2016-02-25 10:47 UTC (permalink / raw)
  To: ntg-context

Hi,

The next beta will have a more efficient metafun filldraw option named 
'fillup' (flaw and drill were rejected as operator names):

\starttext
     \startMPpage
         fill   fullsquare scaled 4cm withpen pencircle scaled 1cm;
         draw   fullsquare scaled 4cm withpen pencircle scaled 1cm;
     \stopMPpage
     \startMPpage
         fillup fullsquare scaled 4cm withpen pencircle scaled 1cm;
     \stopMPpage
\stoptext

The second page will have more efficient pdf code.

The beta also has some new arrow trickery that Alan will reveal at the 
next context meeting.

Hans



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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2015-04-15 17:08 ` Aditya Mahajan
@ 2015-04-16 12:45   ` Hans Hagen
  0 siblings, 0 replies; 40+ messages in thread
From: Hans Hagen @ 2015-04-16 12:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 4/15/2015 7:08 PM, Aditya Mahajan wrote:
> On Tue, 19 Mar 2013, Hans Hagen wrote:
>
>> \starttext
>>
>>    \starttabulate[||CL{darkred}|CM{darkgreen}CT{white}|CR{darkblue}||]
>>        \NC first \NC               left  \NC middle \NC right  \NC
>> last \NC \NR
>>        \NC first \NC \color[white]{left} \NC middle \NC
>> \color[white]{right} \NC last \NC \NR
>>        \NC first \NC               left  \NC middle \NC right  \NC
>> last \NC \NR
>>    \stoptabulate
>>
>> \stoptext
>>
>> i.e. we already had CL CM and CR, so CT is new .. should be wikified.
>
> I am using a two-week old beta (2015.04.03). CL has the same alignment
> as r and CR has the same aligned as l.
>
> I understand the historic reason for the difference between left and
> flushleft, but shouldn't the alignment keys within the same mechanism
> have the same meaning? (Or was this a bug that has been corrected in the
> current beta).

this doesn't look that unnatural does it?

\starttext

    \starttabulate[|l|lCL{darkred}|CM{darkgreen}CT{white}|rCR{darkblue}|r|]
        \NC first 1  \NC               left 1   \NC middle \NC 
      right 1   \NC last 1   \NC \NR
        \NC first 22 \NC \color[white]{left 22} \NC middle \NC 
\color[white]{right 22} \NC last 22  \NC \NR
        \NC first 333\NC               left 333 \NC middle \NC 
      right 333 \NC last 333 \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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2013-03-19 22:00 Hans Hagen
  2013-03-19 22:46 ` Sietse Brouwer
@ 2015-04-15 17:08 ` Aditya Mahajan
  2015-04-16 12:45   ` Hans Hagen
  1 sibling, 1 reply; 40+ messages in thread
From: Aditya Mahajan @ 2015-04-15 17:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 19 Mar 2013, Hans Hagen wrote:

> \starttext
>
>    \starttabulate[||CL{darkred}|CM{darkgreen}CT{white}|CR{darkblue}||]
>        \NC first \NC               left  \NC middle \NC right  \NC last \NC 
> \NR
>        \NC first \NC \color[white]{left} \NC middle \NC \color[white]{right} 
> \NC last \NC \NR
>        \NC first \NC               left  \NC middle \NC right  \NC last \NC 
> \NR
>    \stoptabulate
>
> \stoptext
>
> i.e. we already had CL CM and CR, so CT is new .. should be wikified.

I am using a two-week old beta (2015.04.03). CL has the same alignment as 
r and CR has the same aligned as l.

I understand the historic reason for the difference between left and 
flushleft, but shouldn't the alignment keys within the same mechanism have 
the same meaning? (Or was this a bug that has been corrected in the 
current beta).

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

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* next beta
@ 2015-04-15  9:05 Hans Hagen
  0 siblings, 0 replies; 40+ messages in thread
From: Hans Hagen @ 2015-04-15  9:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

in next beta

\starttext
     \pushpath[foo]
         \pushpath[foo/bar]
             \input test % . wins over /foo wins over foo/bar
         \poppath
     \poppath
\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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2013-03-20 16:36       ` Jonathan Barchi
@ 2013-03-20 20:27         ` Hans Hagen
  0 siblings, 0 replies; 40+ messages in thread
From: Hans Hagen @ 2013-03-20 20:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 3/20/2013 5:36 PM, Jonathan Barchi wrote:

> Just to be clear: CT provides an alternate method to colorize the
> text, instead of
> using the standard \color[foo]{bar} - right? There is already a
> section on using
> the \color command to colorize the text, so I want to make sure I'm adding this
> correctly as a complementary mechanism, or fix it if I misunderstood.

indeed, a quick way to color a whole column

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2013-03-20  8:43     ` Hans Hagen
@ 2013-03-20 16:36       ` Jonathan Barchi
  2013-03-20 20:27         ` Hans Hagen
  0 siblings, 1 reply; 40+ messages in thread
From: Jonathan Barchi @ 2013-03-20 16:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Mar 20, 2013 at 4:43 AM, Hans Hagen <pragma@wxs.nl> wrote:
> On 3/20/2013 8:14 AM, Keith J. Schultz wrote:
>>
>> Hi Hans, All,
>>
>> I find this nomenclature confusing and a little confusing from a design
>> standpoint!
>>
>>         1)  Color of the text background should be separate from the rest
>>                of the cell background
>>
>>         2) the names should reflect to what they apply
>>
>> That said we should have:
>>         CTBGC == Cell text background color
>>         CTC      == Cell text color
>>
>>         CBGC == Cell background color
>>                        or
>>           CC      == Cell color
>>
>>         CBGCR   == Cell background color in the space right of text
>>         CBGCM  == Cell background color in space middle of cell( above
>> below text)
>>         CBGCL   == Cell background color in the space right of text
>>
>> True, these are a lot of options/parameters, yet it offers the most
>> flexibility and
>> a cleaner interface. Furthermore, one can understand the names of the
>> parameters.
>
>
> preamble scanning is already quite tricky and there was already CR CM CL so
> adding CT was a few lines of extra code
>
> (i will probably make a key/val based variant some day but that is no fun
> either ... 10 lines of setup per table instead of a one line preeamble)
>
> (and i'm forbidden to fundamentally change an important mechanism like
> tabulate right now as for sure it will break some things)

Further, the declaration of a tabulate environment already tends to be pretty
tight on space, so IMO a little bit of obscurity in these parameters - provided
they stay documented - is an acceptable price to pay for keeping the keys to
two letters (three would probably be OK too, esp. for less frequently used
ones).

>> Another, advantage is that one could and at a later point a feature for
>> inverting the
>> color of the text according cell color and/or text background color.
>>
>> regards
>>         Keith.
>>
>> Am 19.03.2013 um 23:46 schrieb Sietse Brouwer <sbbrouwer@gmail.com>:
>>
>>>> i.e. we already had CL CM and CR, so CT is new .. should be wikified.

I've added this to the wiki.

Just to be clear: CT provides an alternate method to colorize the
text, instead of
using the standard \color[foo]{bar} - right? There is already a
section on using
the \color command to colorize the text, so I want to make sure I'm adding this
correctly as a complementary mechanism, or fix it if I misunderstood.

- Jon

>>> The wiki [1] describes these \C* commands:
>>>
>>> \CR      color is applied to the background of the text and the remaining
>>> space on the right;
>>> \CC      color is applied to the background of the text only;
>>> \CM      color is applied to the background of the text and the remaining
>>> space on both sides;
>>> \CL      color is applied to the background of the text and the remaining
>>> space on the left.
>>>
>>> [1] http://wiki.contextgarden.net/Tabulate
>>>
>>> What does CT do differently than CC? It's not quite clear from the
>>> example.
>>>
>>> Cheers,
>>>
>>
>>
>> ___________________________________________________________________________________
>> 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
>>
>> ___________________________________________________________________________________
>>
>
>
> --
>
> -----------------------------------------------------------------
>                                           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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2013-03-20  7:14   ` Keith J. Schultz
@ 2013-03-20  8:43     ` Hans Hagen
  2013-03-20 16:36       ` Jonathan Barchi
  0 siblings, 1 reply; 40+ messages in thread
From: Hans Hagen @ 2013-03-20  8:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 3/20/2013 8:14 AM, Keith J. Schultz wrote:
> Hi Hans, All,
>
> I find this nomenclature confusing and a little confusing from a design standpoint!
>
>   	1)  Color of the text background should be separate from the rest
>                of the cell background
>
> 	2) the names should reflect to what they apply
>
> That said we should have:
> 	CTBGC == Cell text background color
> 	CTC      == Cell text color
>
> 	CBGC == Cell background color
>                        or
>           CC      == Cell color
>
> 	CBGCR   == Cell background color in the space right of text
> 	CBGCM  == Cell background color in space middle of cell( above below text)
> 	CBGCL   == Cell background color in the space right of text
>
> True, these are a lot of options/parameters, yet it offers the most flexibility and
> a cleaner interface. Furthermore, one can understand the names of the parameters.

preamble scanning is already quite tricky and there was already CR CM CL 
so adding CT was a few lines of extra code

(i will probably make a key/val based variant some day but that is no 
fun either ... 10 lines of setup per table instead of a one line preeamble)

(and i'm forbidden to fundamentally change an important mechanism like 
tabulate right now as for sure it will break some things)

> Another, advantage is that one could and at a later point a feature for inverting the
> color of the text according cell color and/or text background color.
>
> regards
> 	Keith.
>
> Am 19.03.2013 um 23:46 schrieb Sietse Brouwer <sbbrouwer@gmail.com>:
>
>>> i.e. we already had CL CM and CR, so CT is new .. should be wikified.
>>
>> The wiki [1] describes these \C* commands:
>>
>> \CR 	 color is applied to the background of the text and the remaining
>> space on the right;
>> \CC 	 color is applied to the background of the text only;
>> \CM 	 color is applied to the background of the text and the remaining
>> space on both sides;
>> \CL 	 color is applied to the background of the text and the remaining
>> space on the left.
>>
>> [1] http://wiki.contextgarden.net/Tabulate
>>
>> What does CT do differently than CC? It's not quite clear from the example.
>>
>> Cheers,
>>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>


-- 

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


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2013-03-19 22:46 ` Sietse Brouwer
  2013-03-19 23:03   ` Hans Hagen
@ 2013-03-20  7:14   ` Keith J. Schultz
  2013-03-20  8:43     ` Hans Hagen
  1 sibling, 1 reply; 40+ messages in thread
From: Keith J. Schultz @ 2013-03-20  7:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans, All,

I find this nomenclature confusing and a little confusing from a design standpoint!

 	1)  Color of the text background should be separate from the rest
              of the cell background

	2) the names should reflect to what they apply

That said we should have:
	CTBGC == Cell text background color
	CTC      == Cell text color

	CBGC == Cell background color 
                      or
         CC      == Cell color

	CBGCR   == Cell background color in the space right of text
	CBGCM  == Cell background color in space middle of cell( above below text)
	CBGCL   == Cell background color in the space right of text

True, these are a lot of options/parameters, yet it offers the most flexibility and
a cleaner interface. Furthermore, one can understand the names of the parameters.

Another, advantage is that one could and at a later point a feature for inverting the
color of the text according cell color and/or text background color.

regards
	Keith.

Am 19.03.2013 um 23:46 schrieb Sietse Brouwer <sbbrouwer@gmail.com>:

>> i.e. we already had CL CM and CR, so CT is new .. should be wikified.
> 
> The wiki [1] describes these \C* commands:
> 
> \CR 	 color is applied to the background of the text and the remaining
> space on the right;
> \CC 	 color is applied to the background of the text only;
> \CM 	 color is applied to the background of the text and the remaining
> space on both sides;
> \CL 	 color is applied to the background of the text and the remaining
> space on the left.
> 
> [1] http://wiki.contextgarden.net/Tabulate
> 
> What does CT do differently than CC? It's not quite clear from the example.
> 
> Cheers,
> 

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


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2013-03-19 22:46 ` Sietse Brouwer
@ 2013-03-19 23:03   ` Hans Hagen
  2013-03-20  7:14   ` Keith J. Schultz
  1 sibling, 0 replies; 40+ messages in thread
From: Hans Hagen @ 2013-03-19 23:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 3/19/2013 11:46 PM, Sietse Brouwer wrote:
>> i.e. we already had CL CM and CR, so CT is new .. should be wikified.
>
> The wiki [1] describes these \C* commands:
>
> \CR 	 color is applied to the background of the text and the remaining
> space on the right;
> \CC 	 color is applied to the background of the text only;
> \CM 	 color is applied to the background of the text and the remaining
> space on both sides;
> \CL 	 color is applied to the background of the text and the remaining
> space on the left.
>
> [1] http://wiki.contextgarden.net/Tabulate
>
> What does CT do differently than CC? It's not quite clear from the example.

CT is the text color (foreground so to say)

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


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: next beta
  2013-03-19 22:00 Hans Hagen
@ 2013-03-19 22:46 ` Sietse Brouwer
  2013-03-19 23:03   ` Hans Hagen
  2013-03-20  7:14   ` Keith J. Schultz
  2015-04-15 17:08 ` Aditya Mahajan
  1 sibling, 2 replies; 40+ messages in thread
From: Sietse Brouwer @ 2013-03-19 22:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> i.e. we already had CL CM and CR, so CT is new .. should be wikified.

The wiki [1] describes these \C* commands:

\CR 	 color is applied to the background of the text and the remaining
space on the right;
\CC 	 color is applied to the background of the text only;
\CM 	 color is applied to the background of the text and the remaining
space on both sides;
\CL 	 color is applied to the background of the text and the remaining
space on the left.

[1] http://wiki.contextgarden.net/Tabulate

What does CT do differently than CC? It's not quite clear from the example.

Cheers,

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


^ permalink raw reply	[flat|nested] 40+ messages in thread

* next beta
@ 2013-03-19 22:00 Hans Hagen
  2013-03-19 22:46 ` Sietse Brouwer
  2015-04-15 17:08 ` Aditya Mahajan
  0 siblings, 2 replies; 40+ messages in thread
From: Hans Hagen @ 2013-03-19 22:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi

The next beta will have this (I needed it for a manual):

\starttext

     \starttabulate[||CL{darkred}|CM{darkgreen}CT{white}|CR{darkblue}||]
         \NC first \NC               left  \NC middle \NC 
right  \NC last \NC \NR
         \NC first \NC \color[white]{left} \NC middle \NC 
\color[white]{right} \NC last \NC \NR
         \NC first \NC               left  \NC middle \NC 
right  \NC last \NC \NR
     \stoptabulate

\stoptext

i.e. we already had CL CM and CR, so CT is new .. should be wikified.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2018-04-18  6:34 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-28 11:07 next beta Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2018-04-14 16:51 Hans Hagen
2018-04-18  6:34 ` Otared Kavian
     [not found] <mailman.575.1497365252.2080.ntg-context@ntg.nl>
2017-06-17 13:48 ` Jeong Dal
2017-06-18 11:00   ` Hans Hagen
2017-06-18 15:39     ` Jeong Dal
2017-06-18 22:56     ` Henri Menke
2017-06-19  7:36       ` Hans Hagen
2017-06-19  7:44         ` Aditya Mahajan
2017-06-12 15:25 Hans Hagen
2017-06-12 15:56 ` Mathias Schickel
2017-06-12 16:17   ` Hans Hagen
2017-06-13 11:18     ` Mathias Schickel
2017-06-13 14:46       ` Hans Hagen
2017-06-13 15:52         ` Mohammad Hossein Bateni
2017-06-13 16:18         ` Aditya Mahajan
2017-06-14  9:33         ` Mathias Schickel
2017-06-14 11:23           ` Hans Hagen
2017-06-13  6:06 ` Aditya Mahajan
2017-06-13  8:05   ` Hans Hagen
2017-06-13 12:47 ` Hans Åberg
2017-01-15 16:19 Hans Hagen
2017-01-17 19:13 ` Henri Menke
2017-01-17 19:23   ` Hans Hagen
2017-01-17 19:27     ` Henri Menke
2017-01-17 19:51       ` Hans Hagen
2016-06-27  8:38 Hans Hagen
2016-06-27 10:28 ` Meer, Hans van der
2016-03-03 17:34 Hans Hagen
2016-02-25 10:47 Hans Hagen
2015-04-15  9:05 Hans Hagen
2013-03-19 22:00 Hans Hagen
2013-03-19 22:46 ` Sietse Brouwer
2013-03-19 23:03   ` Hans Hagen
2013-03-20  7:14   ` Keith J. Schultz
2013-03-20  8:43     ` Hans Hagen
2013-03-20 16:36       ` Jonathan Barchi
2013-03-20 20:27         ` Hans Hagen
2015-04-15 17:08 ` Aditya Mahajan
2015-04-16 12:45   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).