From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53698 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: footnote-number alignment Date: Sun, 25 Oct 2009 20:48:02 +0100 Message-ID: References: <20091023140916.g6qz05z4ukkk80g8@webmail.jander.de> <4AE46800.3080200@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: multipart/mixed; boundary="===============0136010579==" X-Trace: ger.gmane.org 1256500156 25443 80.91.229.12 (25 Oct 2009 19:49:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Oct 2009 19:49:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 25 20:49:08 2009 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.50) id 1N295Q-0000m4-6O for gctc-ntg-context-518@m.gmane.org; Sun, 25 Oct 2009 20:49:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7D0BFC9AB7; Sun, 25 Oct 2009 20:47:59 +0100 (CET) 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 AHBlAGlD8dRi; Sun, 25 Oct 2009 20:47:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4CACDC9B35; Sun, 25 Oct 2009 20:47:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 870B2C9B35 for ; Sun, 25 Oct 2009 20:47:03 +0100 (CET) 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 1gaBrGGSAjtu for ; Sun, 25 Oct 2009 20:47:00 +0100 (CET) Original-Received: from mail-fx0-f219.google.com (mail-fx0-f219.google.com [209.85.220.219]) by balder.ntg.nl (Postfix) with ESMTP id A26E5C9A70 for ; Sun, 25 Oct 2009 20:47:00 +0100 (CET) Original-Received: by fxm19 with SMTP id 19so11858993fxm.2 for ; Sun, 25 Oct 2009 12:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=j3VsNVMcBX4FgZb0ksz9KjCF51j+fC4/l6FhaqfJko4=; b=JyuVSapaxZ36YjDq9FCqltA9+gyzdexkQnRFv0cFzQ6A3+c8+8NiiUg4A4VESkxOv/ drfkcdl1q6Po+vIMSQ35bc3KCHeDfJRIarO1vAgzJ2Cjwqyo91tddXmaivGj1k26XwWq 7dIDZc7Xbvqjwj9TexFqvBRYIaYBCOB0VCK5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=pnNY1VwrZsCGC8I5k575T8fp47Slf8fXEgCEcEauL5bwqRrplD5DuhumNdokoN3KZC yasAYAZgedVssXlqctqAnUnM/0MiZtVFizQHPOineQ+jFcvQV2WJexdbg5l8uL1ir+Ov 9lrKYeU4X43N6ACyw/gAjHLXqrBht85xqYSsg= Original-Received: by 10.204.34.201 with SMTP id m9mr2676953bkd.77.1256500085593; Sun, 25 Oct 2009 12:48:05 -0700 (PDT) Original-Received: from ?192.168.2.23? (p54956B4C.dip.t-dialin.net [84.149.107.76]) by mx.google.com with ESMTPS id 13sm651317bwz.14.2009.10.25.12.48.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 25 Oct 2009 12:48:04 -0700 (PDT) In-Reply-To: <4AE46800.3080200@wxs.nl> X-Mailer: Apple Mail (2.1076) 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:53698 Archived-At: --===============0136010579== Content-Type: multipart/alternative; boundary=Apple-Mail-701--979991750 --Apple-Mail-701--979991750 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Am 25.10.2009 um 16:00 schrieb Hans Hagen: > achim@jander.de wrote: >> I am typesetting documents with a large amount of footnotes, and >> want to have the footnote-number aligned to the correct decimal >> place. > > as the relevant info is present deep down in context i can imagine a > solution but it's not a 5 minutes job fix the text/title alignment in descriptions and right aligned numbers are possible strc-des.mkiv: @@ -334,6 +334,7 @@ {\dodescriptionhandler {\vtop {\hsize\dimexpr\descriptionsheadwidth- \descriptionsheaddistance\relax + \doifsomething{\descriptionparameter\c!align} {\setupalign[\descriptionparameter\c!align]}% \begstrut\descriptionparameter\c!text\ignorespaces \currentdescriptiontext\endstrut}}}}% \doifelse{\descriptionparameter\c!aligntitle}\v!no {\leftdescriptionskip\leftskip\rightdescriptionskip\rightskip} Wolfgang --Apple-Mail-701--979991750 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
achim@jander.de = wrote:
I am typesetting documents with a = large amount of footnotes, and
want = to have the footnote-number aligned to the correct decimal = place.

as the relevant info is present deep down = in context i can imagine a solution but it's not a 5 minutes = job

fix the text/title alignment in = descriptions and right aligned numbers are = possible

strc-des.mkiv:

=
@@ -334,6 +334,7 @@
         = {\dodescriptionhandler
         =    {\vtop
           =     = {\hsize\dimexpr\descriptionsheadwidth-\descriptionsheaddistance\relax
+               = \doifsomething{\descriptionparameter\c!align}{\setupalign[\descriptionpara= meter\c!align]}%
           =     =  \begstrut\descriptionparameter\c!text\ignorespaces\currentdescriptio= ntext\endstrut}}}}%
   =  \doifelse{\descriptionparameter\c!aligntitle}\v!no
 &= nbsp;   =  {\leftdescriptionskip\leftskip\rightdescriptionskip\rightskip}
=

Wolfgang

= --Apple-Mail-701--979991750-- --===============0136010579== 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 ___________________________________________________________________________________ --===============0136010579==--