* new features
@ 1999-08-13 8:13 Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 1999-08-13 8:13 UTC (permalink / raw)
The next release will (apart for some experimental stuff) have some new
features:
\setupinteractionscreen [option=bookmark] % opens in bookmarkmode,
dedicated to berend
\setupinteraction [display=new] % open new window for
hyperfile, dedicated to matthew
\setupinteraction [click=yes] % no highlighting for
hyperlink, dedicated to me -)
When I'm satisfied with the current implementation, I will explain
clipping (which includes arbitrary mp calculated clip paths).
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: new features
2016-05-22 13:33 ` Meer, Hans van der
@ 2016-05-22 13:59 ` Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2016-05-22 13:59 UTC (permalink / raw)
To: ntg-context
On 5/22/2016 3:33 PM, Meer, Hans van der wrote:
>
>> On 22 May 2016, at 15:11, Hans Hagen <pragma@wxs.nl
>> <mailto:pragma@wxs.nl>> wrote:
>>
>>> Finally, when \definemode makes testing a lot faster why than not
>>> implement this always? That is, using \enablemode or \disablemode the
>>> first time implies a \definemode for that mode. Doing so avoids
>>> another macro to remember: less clutter for my brain ;-)
>>
>> because one property of modes is that one doesn't have to define them,
>> you'd be quite unhappy if you would have to define all possible modes
>> that could be introduced in styles
>
> The idea was not to have the user define the mode, but let ConTeXt
> automatically do the defining when it encounters a specific mode the
> first time. The work is done by ConTeXt then (would make me even more
> happy ;-)
it does define them when undefined but even then it gets a special state
(modes can be in enable, disable or prevent state)
normnally it's not something a user need to worry about
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] 6+ messages in thread
* Re: new features
2016-05-22 13:11 ` Hans Hagen
@ 2016-05-22 13:33 ` Meer, Hans van der
2016-05-22 13:59 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Meer, Hans van der @ 2016-05-22 13:33 UTC (permalink / raw)
To: NTG ConTeXt
[-- Attachment #1.1: Type: text/plain, Size: 772 bytes --]
On 22 May 2016, at 15:11, Hans Hagen <pragma@wxs.nl<mailto:pragma@wxs.nl>> wrote:
Finally, when \definemode makes testing a lot faster why than not implement this always? That is, using \enablemode or \disablemode the first time implies a \definemode for that mode. Doing so avoids another macro to remember: less clutter for my brain ;-)
because one property of modes is that one doesn't have to define them, you'd be quite unhappy if you would have to define all possible modes that could be introduced in styles
The idea was not to have the user define the mode, but let ConTeXt automatically do the defining when it encounters a specific mode the first time. The work is done by ConTeXt then (would make me even more happy ;-)
Hans van der Meer
[-- Attachment #1.2: Type: text/html, Size: 2708 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: new features
2016-05-22 8:07 ` Meer, Hans van der
@ 2016-05-22 13:11 ` Hans Hagen
2016-05-22 13:33 ` Meer, Hans van der
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2016-05-22 13:11 UTC (permalink / raw)
To: ntg-context
On 5/22/2016 10:07 AM, Meer, Hans van der wrote:
>
>> On 26 Jun 2014, at 12:08, Hans Hagen <pragma@wxs.nl> wrote:
>>
>> Another addition is that
>>
>> \definemode[something][keep]
>>
>> define an undefined mode; the keep makes sure that the already set value is kept (another option is 'yes').
>>
>> Using defined modes (that is, set with: \enablemode, \disablemode or \definemode) can be tested about twice as fast as undefined modes which can make a small difference
>
>
> I do not understand this fully:
> - if the mode is undefined, how can "define an undefined mode" for a mode that has already been given a value with either \enablemode or \disablemode keep a value? Must not \enablemode, \disablemode do some sort of 'defining' in order to facilitate testing? Does "define" here implements some other mechanism than the 'defining' done by \enablemod, \disablemode?
it's more an internal issue. less checking at the tex end and so .. it's
only relevant when you check modes tens of thousands of times in a run
> Is this what happens:
> - if \enablemode or \disablemode has been used before to set a value for the mode, than \definemode[themode][keep] stashes some special definition of that mode and does not change c.q. transfers its value;
> - \definemode[themode][yes] and \definemode[themode][no] always set that value for the mode in case, regardless of what has been done by a preceding \enablemode or \disablemode.
>
> Is that the correct interpretation? Just to make sure I understand.
>
> Finally, when \definemode makes testing a lot faster why than not implement this always? That is, using \enablemode or \disablemode the first time implies a \definemode for that mode. Doing so avoids another macro to remember: less clutter for my brain ;-)
because one property of modes is that one doesn't have to define them,
you'd be quite unhappy if you would have to define all possible modes
that could be introduced in styles
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] 6+ messages in thread
* Re: new features
2014-06-26 10:08 Hans Hagen
@ 2016-05-22 8:07 ` Meer, Hans van der
2016-05-22 13:11 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Meer, Hans van der @ 2016-05-22 8:07 UTC (permalink / raw)
To: NTG ConTeXt
> On 26 Jun 2014, at 12:08, Hans Hagen <pragma@wxs.nl> wrote:
>
> Another addition is that
>
> \definemode[something][keep]
>
> define an undefined mode; the keep makes sure that the already set value is kept (another option is 'yes').
>
> Using defined modes (that is, set with: \enablemode, \disablemode or \definemode) can be tested about twice as fast as undefined modes which can make a small difference
I do not understand this fully:
- if the mode is undefined, how can "define an undefined mode" for a mode that has already been given a value with either \enablemode or \disablemode keep a value? Must not \enablemode, \disablemode do some sort of 'defining' in order to facilitate testing? Does "define" here implements some other mechanism than the 'defining' done by \enablemod, \disablemode?
Is this what happens:
- if \enablemode or \disablemode has been used before to set a value for the mode, than \definemode[themode][keep] stashes some special definition of that mode and does not change c.q. transfers its value;
- \definemode[themode][yes] and \definemode[themode][no] always set that value for the mode in case, regardless of what has been done by a preceding \enablemode or \disablemode.
Is that the correct interpretation? Just to make sure I understand.
Finally, when \definemode makes testing a lot faster why than not implement this always? That is, using \enablemode or \disablemode the first time implies a \definemode for that mode. Doing so avoids another macro to remember: less clutter for my brain ;-)
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] 6+ messages in thread
* new features
@ 2014-06-26 10:08 Hans Hagen
2016-05-22 8:07 ` Meer, Hans van der
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2014-06-26 10:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
(mostly for Thomas)
In the next beta:
When you include files in another file (using xmlinclude) we now
register what gets included. There are two new commands:
\xmlinclusion{#1} : the current inclusion
\xmlinclusions{#1} : a list of inclusions
the first one backtracks till it find a name and the second one will
locate the root if needed. This option can be handy for tracing (i.e.
seeing where input comes from).
Another addition is that
\definemode[something][keep]
define an undefined mode; the keep makes sure that the already set value
is kept (another option is 'yes').
Using defined modes (that is, set with: \enabledmode, \disablemode or
\definemode) can be tested about twice as fast as undefined modes which
can make a small difference when modes are tested lots of times.
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] 6+ messages in thread
end of thread, other threads:[~2016-05-22 13:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-13 8:13 new features Hans Hagen
2014-06-26 10:08 Hans Hagen
2016-05-22 8:07 ` Meer, Hans van der
2016-05-22 13:11 ` Hans Hagen
2016-05-22 13:33 ` Meer, Hans van der
2016-05-22 13:59 ` 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).