From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68404 Path: news.gmane.org!not-for-mail From: "Verhaag, G.C.H.M." Newsgroups: gmane.comp.tex.context Subject: Re: Setuplayout bug? Date: Sat, 14 May 2011 19:44:29 +0200 Message-ID: <4DCEBF7D.9070202@ziggo.nl> References: <4DCCEB0C.70503@ziggo.nl> <4DCE4833.2090801@ziggo.nl> <4DCE65BE.3060507@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010003000401090307000102" X-Trace: dough.gmane.org 1305395081 3048 80.91.229.12 (14 May 2011 17:44:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 May 2011 17:44:41 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Sat May 14 19:44:34 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QLItF-0002wT-Uy for gctc-ntg-context-518@m.gmane.org; Sat, 14 May 2011 19:44:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 71BF9CAB80; Sat, 14 May 2011 19:44:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Hwlut9lnhPew; Sat, 14 May 2011 19:44:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 99863CACEC; Sat, 14 May 2011 19:44:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 808D6CACEC for ; Sat, 14 May 2011 19:44:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XtbeZHNlFQkw for ; Sat, 14 May 2011 19:44:17 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 397C5CAB80 for ; Sat, 14 May 2011 19:44:17 +0200 (CEST) Original-Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4EHiGNK016369 for ; Sat, 14 May 2011 19:44:16 +0200 Original-Received: from [212.54.42.145] (helo=smtp14.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1QLIsy-00060W-IR; Sat, 14 May 2011 19:44:16 +0200 Original-Received: from 541c2cdc.cm-5-5a.dynamic.ziggo.nl ([84.28.44.220]) by smtp14.tb.mail.iss.as9143.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QLIsx-0008KA-Mc; Sat, 14 May 2011 19:44:15 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110506 Icedove/3.0.11 In-Reply-To: <4DCE65BE.3060507@wxs.nl> X-Authenticated-Sender: verhaaggchm@ziggo.nl (via SMTP) X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1QLIsx-0008KA-Mc X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-2.91, vereist 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, T_RP_MATCHES_RCVD -0.01) X-ZiggoSMTP-MailScanner-From: verhaaggchm@ziggo.nl X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.54.42.164; country=NL; region=05; city=Maastricht; latitude=50.8500; longitude=5.6833; http://maps.google.com/maps?q=50.8500,5.6833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rEHtIgnJ - 0d74e7aedae0 - 20110514 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:68404 Archived-At: This is a multi-part message in MIME format. --------------010003000401090307000102 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/14/2011 01:21 PM, Hans Hagen wrote: > On 14-5-2011 11:15, Verhaag, G.C.H.M. wrote: >> On 05/13/2011 10:25 AM, Verhaag, G.C.H.M. wrote: >>> Hi, >>> >>> The \setuplayout command causes problems I don't understand, sorry! I >>> use the following setup in a screen (\setuppapersize[S6][S6]) document: >>> >>> \setuplayout >>> [header=0cm, >>> topspace=.2cm, >>> backspace=.2cm, >>> margin=0cm, >>> width=fit, >>> footer=1cm, >>> bottomdistance=5pt, >>> bottom=20pt, >>> height=fit] >>> >>> This gives a result as aspected! However adding the setting >>> >>> rightedge=3cm >>> >>> to the layout command, for a menu, yields an unexpected result. Okay, >>> an area on the right of the screen is indeed blank as aspected! But >>> the text of a full page is also shifted downward, and overlaps the >>> text within the footer area, which is quite weird isn't it? >>> >>> I don't grasp this footer problem as indicated above!!!! Any idea >>> what's wrong? >>> >>> Regards, >>> Gerard Verhaag >>> >>> P.S. >>> I use ConTeXt ver: 2011.03.30 11:21 MKIV fmt: 2011.3.30 int: >>> english/english >>> >>> ... >> >> Hi, >> >> I figured out that the problem is caused by the \setupinteraction >> command. When switching the menu off by setting menu=off, the layout of >> the text is okay, without the shift! However, when I use >> >> \setupinteraction >> [state=start, >> style=small, >> page=yes, >> menu=on] >> >> the annoying interference of the text with the footer is introduced. Any >> ideas how to correct the problem? > > We need a one page self contained example for this. > > Hans > .... Hi, You'll find the self contained example (rightedge.tex) attached! I compile it using: context --pdf rightedge and view the result with Acrobat Reader 9. I upgraded to the latest version and now use: ConTeXt ver: 2011.05.13 12:01 MKIV fmt: 2011.5.14 int: english/english Thanks for paying attention to this problem! Regards, Gerard Verhaag --------------010003000401090307000102 Content-Type: text/x-tex; name="rightedge.tex" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="rightedge.tex" \setuppapersize [S6][S6] \language[nl] \setuplayout [header=0cm, topspace=.2cm, backspace=.2cm, margin=0cm, width=fit, footer=1cm, rightedge=3cm, bottomdistance=5pt, bottom=20pt, height=fit] \showframe \definecolor [MyColor] [darkgreen] \setupfootertexts [chapter][{\currentdate[month,year]}] \setupinteraction [state=start, style=small, menu=on, % switching between on and off will show my problem (the vertical shift of the entire text!)! title=ABL File, author=Geert Verhaag] \setupbackgrounds [page] [background=color, backgroundcolor=darkgreen] \setupbackgrounds [text,header,footer][leftmargin,text,rightmargin] [background=color, backgroundcolor=white, backgroundoffset=.5mm] \setupinteractionmenu [right] [background=color, backgroundcolor=MyColor, color=blue, frame=off, distance=overlay, unknownreference=no, samepage=yes] \defineinteractionmenu [main][right] [state=start, width=\rightedgewidth, align=middle] \startinteractionmenu[main] \but [inleiding] Inleiding \\ \vfill \but [CloseDocument] sluit \\ \stopinteractionmenu \starttext \chapter[inleiding]{Inleiding} \dorecurse{3}{\input tufte \par \input knuth \par} \stoptext --------------010003000401090307000102 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --------------010003000401090307000102--