From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58494 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Footnote numbers and leftmargin setup [mkIV] Date: Mon, 3 May 2010 16:51:01 +0200 Message-ID: <48500B95-9278-47FF-BA5A-671F2FBD4088@boede.nl> References: <002d01caeab9$be8cac60$8614a8c0@boschung.local> <4BDEBF86.3000305@googlemail.com> <003101caeac3$c43f1030$8614a8c0@boschung.local> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1272898279 2539 80.91.229.12 (3 May 2010 14:51:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 May 2010 14:51:19 +0000 (UTC) To: thomas.floeren@boschung.com, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 03 16:51:16 2010 connect(): No such file or directory 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 1O8wzJ-0003Tt-5L for gctc-ntg-context-518@m.gmane.org; Mon, 03 May 2010 16:51:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B8F84C9C24; Mon, 3 May 2010 16:51:12 +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 CbtRsiSrfdFC; Mon, 3 May 2010 16:51:10 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 44042C9BC1; Mon, 3 May 2010 16:51:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 936AAC9BC1 for ; Mon, 3 May 2010 16:51:06 +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 6xTMopz2GlLT for ; Mon, 3 May 2010 16:51:03 +0200 (CEST) Original-Received: from mars.digitpaint.nl (mars.digitpaint.nl [83.98.197.63]) by balder.ntg.nl (Postfix) with ESMTP id B4885C9BA6 for ; Mon, 3 May 2010 16:51:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by mars.digitpaint.nl (Postfix) with ESMTP id 53B941BDB7; Mon, 3 May 2010 16:48:44 +0200 (CEST) Original-Received: from mars.digitpaint.nl ([127.0.0.1]) by localhost (mail.digitpaint.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KSOc8kR4kPGB; Mon, 3 May 2010 16:48:44 +0200 (CEST) Original-Received: from [192.168.1.198] (a83-161-249-79.adsl.xs4all.nl [83.161.249.79]) by mars.digitpaint.nl (Postfix) with ESMTPA id 0392F18A12; Mon, 3 May 2010 16:48:43 +0200 (CEST) In-Reply-To: <003101caeac3$c43f1030$8614a8c0@boschung.local> X-Mailer: Apple Mail (2.1078) 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:58494 Archived-At: On 3 May 2010, at 15:23, Thomas Floeren wrote: > Wolfgang Schuster wrote on Mond= ay, > May 03, 2010 2:20 PM: > = >> Am 03.05.10 14:11, schrieb Thomas Floeren: >>> = >>> Hello, >>> = >>> in mkII I use to set my left margins to 0pt. When I do this now in >>> mkIV, I get misplaced footnote numbers (at the bottom). = >>> = >>> Example: >>> = >>> \setuplayout >>> [leftmargin=3D\zeropoint] >>> = >>> \starttext >>> just text\footnote{foot text} >>> \stoptext >>> = >>> = >>> To get correctly placed numbers I have to either set the leftmargin >>> to>=3D 5pt, or leave out the leftmargin key in setuplayout. = >>> = >>> Is this a bug or just the mkIV way? >>> = >> The code for footnotes in MkII and MkIV is different, while MkII use >> it's own >> code MkIV use enumerations for the notes (that's why you can use >> nearly all = >> options from enumerations) and the number is placed by default in the >> left margin >> but why do you set leftmargin to 0pt? >> = > = > = > If I don=92t set the leftmargin, everything is messed up. > = > Try this with and without leftmargin setup key: > = > %-------------- > \setuplayout > [backspace=3D25mm, > cutspace=3D15mm, > topspace=3D10mm, > header=3D\zeropoint, > headerdistance=3D\zeropoint, > bottomspace=3D10mm, > footer=3D5mm, > footerdistance=3D8mm, > % leftmargin=3D\zeropoint, > rightmargin=3D\zeropoint, > height=3Dfit, > width=3Dfit, > location=3Dmiddle] > = > = > \setupfooter [state=3Dstart,before=3D\hrule] > \setupfootertexts > [nice text here] [and here] > = > \starttext > \dorecurse{20}{just text }\footnote{foot text} > \page\null > \stoptext > %--------------- > = > Without the leftmargin key, text and footer leave the page borders. > = > Guess I have to to change my way to setup the layout in mkIV(?) > = Not really, the problem is, that you use conflicting keys. If you set the t= opspace, header, headerdistance, footer, footerdistance and the bottomspace= then the height is already fixed. The same is applicable for the horizonta= l measures. I suggest to use the backspace to determine the left rim of the= textarea, set the the width to an appropriate value if the left and right = margin should be different in size, otherwise use width=3Dmiddle which make= s right and left margin identical i.e. as large as the backspace. The margi= ns and margindistances which are setup in the setuplayout are sort of virtu= al and they are placed over the area defined by backspace and the rest of t= he paper right from the right rim of the textarea. This is the reason why m= arginareas can stick outside the paper. Willi > = > Thomas > = > _________________________________________________________________________= __________ > 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-co= ntext > 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________