From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84296 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: section numbers in margin eventually get placed too far left Date: Wed, 18 Sep 2013 08:48:35 +0200 Message-ID: <20130918064835.GD4911@homerow> References: <87ioxzasw5.fsf@approx.mit.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0506194310==" X-Trace: ger.gmane.org 1379486920 1950 80.91.229.3 (18 Sep 2013 06:48:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Sep 2013 06:48:40 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 18 08:48:44 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VMBZ6-0004Q1-AG for gctc-ntg-context-518@m.gmane.org; Wed, 18 Sep 2013 08:48:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4FC63101EA; Wed, 18 Sep 2013 08:46:48 +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 qNdeFsYNcZ4v; Wed, 18 Sep 2013 08:46:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 31566101E5; Wed, 18 Sep 2013 08:46:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EBC79101E5 for ; Wed, 18 Sep 2013 08:46:44 +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 i-REaXc9jCDm for ; Wed, 18 Sep 2013 08:46:43 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 8491E10193 for ; Wed, 18 Sep 2013 08:46:43 +0200 (CEST) Original-Received: from forward8l.mail.yandex.net (forward8l.mail.yandex.net [IPv6:2a02:6b8:0:1819::8]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8I6okVH002744 for ; Wed, 18 Sep 2013 08:50:46 +0200 Original-Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward8l.mail.yandex.net (Yandex) with ESMTP id 37EE11A40D3E for ; Wed, 18 Sep 2013 10:48:37 +0400 (MSK) Original-Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id EADE77E0890 for ; Wed, 18 Sep 2013 10:48:36 +0400 (MSK) Original-Received: from unknown (unknown [83.68.239.193]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 0uvfmEuY7q-maSeuC1L; Wed, 18 Sep 2013 10:48:36 +0400 Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <87ioxzasw5.fsf@approx.mit.edu> X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB8CFCB65D4F08C27 User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a02:6b8:0:1819::8; country=RU X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KquOKN0 - 9a24a5757a68 - 20130918 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84296 Archived-At: --===============0506194310== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="osDK9TLjxFScVI/L" Content-Disposition: inline --osDK9TLjxFScVI/L Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9309=E2=80=9317 Sanjoy Mahajan wrote: > Is this a bug, or just a change in setuphead that I didn't take > account of? It is a bug. ConTeXt sometimes uses the rightmargindistance for the left margin, which would be correct for a double sided layout, but is definitely wrong for a single sided document. However, even in a double sided layout the calculations are not correct. Here a smaller example. Note that the output is wrong either way, with \setuppagenumbering commented out or not. %% \setuppagenumbering[alternative=3Ddoublesided] \setuplayout[rightmargindistance=3D1cm] \setuphead[section][alternative=3Dinmargin] \showframe \starttext \dorecurse{16}{\section{Blah} \input tufte} \stoptext Marco --osDK9TLjxFScVI/L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQEcBAEBAgAGBQJSOUzCAAoJEPGqVaNSn0iKVAgH/2TlN1IphlwUAqTSk0JioeEN doINBp8PfFtziHXTni1jFhDort/kPzG3kpvmnf5GYcwrlaJlNegAubBor5VlKykS PxH6ZSs3Rszs2s4lFO+6zB+UmY/KVYSQDmZz5hHy5O0vj9H5JaWnbqHHUZF8Fu06 jC21r7XpuhH9UboEoG15bFEeycDJY3DSvkLnpHkagnRNBA9S83eTsGlo+R4K9ioQ t4cQj188x456+/9oKI3sJVkSwPlCO9YAi/OAW7SZr/LVQ6Nt+08ItF7AeluBFygZ gy/kRBFh5uECs8YKbKfnXdC8QQa6EM2pa55QnpKCIywA7Dq/xV4VbOA6ui79o9g= =B/12 -----END PGP SIGNATURE----- --osDK9TLjxFScVI/L-- --===============0506194310== 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 ___________________________________________________________________________________ --===============0506194310==--