From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39044 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: project structure (bug?) Date: Fri, 8 Feb 2008 18:07:23 +0100 Message-ID: <8921A578-3856-447E-B218-139AD1C5B1A7@st.estfiles.de> References: <47AC7C32.4020108@elvenkind.com> <47AC8116.8090904@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202490534 8821 80.91.229.12 (8 Feb 2008 17:08:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2008 17:08:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 08 18:09:16 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JNWiu-0007fY-NC for gctc-ntg-context-518@m.gmane.org; Fri, 08 Feb 2008 18:09:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 357CB1FC45; Fri, 8 Feb 2008 18:08:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05284-02; Fri, 8 Feb 2008 18:08:03 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 24B271FBB8; Fri, 8 Feb 2008 18:08:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 14C3A1FBB8 for ; Fri, 8 Feb 2008 18:08:01 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03654-01-4 for ; Fri, 8 Feb 2008 18:07:25 +0100 (CET) Original-Received: from smtprelay12.ispgateway.de (smtprelay12.ispgateway.de [80.67.29.29]) by ronja.ntg.nl (Postfix) with ESMTP id 02C9A1FB71 for ; Fri, 8 Feb 2008 18:07:24 +0100 (CET) Original-Received: from [89.247.43.192] (helo=[192.168.1.3]) by smtprelay12.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1JNWhA-00066b-DL for ntg-context@ntg.nl; Fri, 08 Feb 2008 18:07:24 +0100 In-Reply-To: <47AC8116.8090904@elvenkind.com> X-Mailer: Apple Mail (2.753) X-Df-Sender: 698580 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:39044 Archived-At: 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 ___________________________________________________________________________________