* project structure (bug?)
@ 2008-02-08 15:51 Steffen Wolfrum
2008-02-08 15:58 ` Taco Hoekwater
0 siblings, 1 reply; 7+ messages in thread
From: Steffen Wolfrum @ 2008-02-08 15:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
does it make sense that eg
\clubpenalty=10000
doesn't work when written in a project's environment file?
It must be repeated at top of each single component in order to work.
I am wondering what else works only when written in component (and is
silently ignored although written in my environment-file) ...
Steffen
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: project structure (bug?)
2008-02-08 15:51 project structure (bug?) Steffen Wolfrum
@ 2008-02-08 15:58 ` Taco Hoekwater
2008-02-08 16:11 ` Steffen Wolfrum
0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2008-02-08 15:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
Steffen Wolfrum wrote:
> Hi,
>
> does it make sense that eg
>
> \clubpenalty=10000
>
> doesn't work when written in a project's environment file?
I think so, yes (technically it is a side-effect).
This should work even in the environment file:
\def\defaultclubpenalty {10000}
\setdefaultpenalties
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: project structure (bug?)
2008-02-08 15:58 ` Taco Hoekwater
@ 2008-02-08 16:11 ` Steffen Wolfrum
2008-02-08 16:19 ` Taco Hoekwater
0 siblings, 1 reply; 7+ messages in thread
From: Steffen Wolfrum @ 2008-02-08 16:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 08.02.2008 um 16:58 schrieb Taco Hoekwater:
>
>
> Steffen Wolfrum wrote:
>> Hi,
>>
>> does it make sense that eg
>>
>> \clubpenalty=10000
>>
>> doesn't work when written in a project's environment file?
>
> I think so, yes (technically it is a side-effect).
>
> This should work even in the environment file:
>
> \def\defaultclubpenalty {10000}
> \setdefaultpenalties
And all of them like this?
\def\defaultclubpenalty {10000}
\def\defaultwidowpenalty {10000}
\def\defaultdisplaywidowpenalty {10000}
\def\defaultbrokenpenalty {0}
\setdefaultpenalties
I experienced also very interesting differences between setting in
environment file \setuplayout[grid=no] and in component \setuplayout
[grid=yes]
compared to setting in environment file \setuplayout[grid=yes] .
As working with grid is in itself quite fragile (and surprising) I
guess this is not explainable / avoidable?
Thanks,
Steffen
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: project structure (bug?)
2008-02-08 16:11 ` Steffen Wolfrum
@ 2008-02-08 16:19 ` Taco Hoekwater
2008-02-08 17:07 ` Steffen Wolfrum
0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2008-02-08 16:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
Steffen Wolfrum wrote:
> Am 08.02.2008 um 16:58 schrieb Taco Hoekwater:
>
>>
>> Steffen Wolfrum wrote:
>>> Hi,
>>>
>>> does it make sense that eg
>>>
>>> \clubpenalty=10000
>>>
>>> doesn't work when written in a project's environment file?
>> I think so, yes (technically it is a side-effect).
>>
>> This should work even in the environment file:
>>
>> \def\defaultclubpenalty {10000}
>> \setdefaultpenalties
>
>
>
> And all of them like this?
>
> \def\defaultclubpenalty {10000}
> \def\defaultwidowpenalty {10000}
> \def\defaultdisplaywidowpenalty {10000}
> \def\defaultbrokenpenalty {0}
>
> \setdefaultpenalties
>
>
> I experienced also very interesting differences between setting in
> environment file \setuplayout[grid=no] and in component \setuplayout
> [grid=yes]
> compared to setting in environment file \setuplayout[grid=yes] .
>
> As working with grid is in itself quite fragile (and surprising) I
> guess this is not explainable / avoidable?
grid mode has a separate set of defaults, yes. See core-spa.tex
(easier for me than writing it all down)
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: project structure (bug?)
2008-02-08 16:19 ` Taco Hoekwater
@ 2008-02-08 17:07 ` Steffen Wolfrum
2008-02-08 17:19 ` Hans Hagen
0 siblings, 1 reply; 7+ messages in thread
From: Steffen Wolfrum @ 2008-02-08 17:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 08.02.2008 um 17:19 schrieb Taco Hoekwater:
> Steffen Wolfrum wrote:
>> Am 08.02.2008 um 16:58 schrieb Taco Hoekwater:
>>
>>>
>>> Steffen Wolfrum wrote:
>>>> Hi,
>>>>
>>>> does it make sense that eg
>>>>
>>>> \clubpenalty=10000
>>>>
>>>> doesn't work when written in a project's environment file?
>>> I think so, yes (technically it is a side-effect).
>>>
>>> This should work even in the environment file:
>>>
>>> \def\defaultclubpenalty {10000}
>>> \setdefaultpenalties
>>
>>
>>
>> And all of them like this?
>>
>> \def\defaultclubpenalty {10000}
>> \def\defaultwidowpenalty {10000}
>> \def\defaultdisplaywidowpenalty {10000}
>> \def\defaultbrokenpenalty {0}
>>
>> \setdefaultpenalties
>>
>>
>> I experienced also very interesting differences between setting in
>> environment file \setuplayout[grid=no] and in component \setuplayout
>> [grid=yes]
>> compared to setting in environment file \setuplayout[grid=yes] .
>>
>> As working with grid is in itself quite fragile (and surprising) I
>> guess this is not explainable / avoidable?
>
>
> grid mode has a separate set of defaults, yes. See core-spa.tex
> (easier for me than writing it all down)
What about the difference in writing in
environment file \setuplayout[grid=no] plus in component \setuplayout
[grid=yes]
compared to setting in environment file \setuplayout[grid=yes]
Why does this make a difference?
Steffen
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: project structure (bug?)
2008-02-08 17:07 ` Steffen Wolfrum
@ 2008-02-08 17:19 ` Hans Hagen
2008-02-08 18:17 ` Steffen Wolfrum
0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2008-02-08 17:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
Steffen Wolfrum wrote:
> Why does this make a difference?
see taco's answer; the layout is synchronized at certain points (those
where dimensions may need recalculation), so any change can be made
undone by this automatism; just use the setups to change your settings
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: project structure (bug?)
2008-02-08 17:19 ` Hans Hagen
@ 2008-02-08 18:17 ` Steffen Wolfrum
0 siblings, 0 replies; 7+ messages in thread
From: Steffen Wolfrum @ 2008-02-08 18:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 08.02.2008 um 18:19 schrieb Hans Hagen:
> Steffen Wolfrum wrote:
>
>> Why does this make a difference?
>
> see taco's answer; the layout is synchronized at certain points (those
> where dimensions may need recalculation), so any change can be made
> undone by this automatism; just use the setups to change your settings
Ah, down there it is! Thanks, found it.
% However, we will use setups:
% to be documented
... yes, glorious day when all this will be finally documented ,o)
Steffen
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-02-08 18:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-08 15:51 project structure (bug?) Steffen Wolfrum
2008-02-08 15:58 ` Taco Hoekwater
2008-02-08 16:11 ` Steffen Wolfrum
2008-02-08 16:19 ` Taco Hoekwater
2008-02-08 17:07 ` Steffen Wolfrum
2008-02-08 17:19 ` Hans Hagen
2008-02-08 18:17 ` Steffen Wolfrum
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).