From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74102 Path: news.gmane.org!not-for-mail From: Peter Park Nelson Newsgroups: gmane.comp.tex.context Subject: \note does not preserve formatting -- example Date: Mon, 23 Jan 2012 22:44:32 -0600 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1327380293 29429 80.91.229.12 (24 Jan 2012 04:44:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2012 04:44:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 24 05:44:49 2012 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 1RpYFV-0002tf-Nd for gctc-ntg-context-518@m.gmane.org; Tue, 24 Jan 2012 05:44:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA62ECB1EA; Tue, 24 Jan 2012 05:44:48 +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 oRcbro32HF3n; Tue, 24 Jan 2012 05:44:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3ED92CB1C9; Tue, 24 Jan 2012 05:44:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 851B1CB1C9 for ; Tue, 24 Jan 2012 05:44:44 +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 IOENh4rt6xNx for ; Tue, 24 Jan 2012 05:44:33 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 39C56CAE63 for ; Tue, 24 Jan 2012 05:44:33 +0100 (CET) Original-Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0O4iWA7020236 for ; Tue, 24 Jan 2012 05:44:32 +0100 Original-Received: by wicr5 with SMTP id r5so3503782wic.14 for ; Mon, 23 Jan 2012 20:44:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=RkiRjPe+3TW2nIXvngUzkM6r25D2czG+d8pZFbcL3oA=; b=ZGFRpVeGMf0BwmYv8bcy9L/BUatnjm0SoGa9n1I+8j76Vqe+HURGQXVztjsg3IVXxU ZC4Pg81eVz1FaAdRa27t+Ub6VV+1nceSkS0vyIq8tHHjv/9DTGkkmltNRxL0dOduwEx/ VywzSTEMt+JblZPxdTV1pYjzg/8JWDHjLn7PE= Original-Received: by 10.180.73.72 with SMTP id j8mr18050649wiv.2.1327380272329; Mon, 23 Jan 2012 20:44:32 -0800 (PST) Original-Received: by 10.223.69.143 with HTTP; Mon, 23 Jan 2012 20:44:32 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06GpgIw26 - 3d60f00ca94d - 20120124 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:74102 Archived-At: After updating to the current beta, I discovered that the \note macro does not format the note marker correctly. In the minimal example below, I define an item group for a paragraph-formatted list of article authors, and an "affiliation" note for a paragraph-formatted list of affiliations below them. (This is fairly common in academic journals; I have left out most of the text formatting.) The note marks for the third and fourth authors (Jones and Mandrell), which are created using the \note macro to reference previous affiliations, are too small and not bold. I would guess this is related to changes around line 122 of strc-not.mkiv, dealing with the handling of note attributes (see: \def\usenotestyleandcolor). \setuppapersize[letter][letter] \defineitemgroup[Authorlist] \setupitemgroup[Authorlist] [each] [text] [symbol=0, margin=no, align=normal, width=-10pt, distance=0pt, leftmargin=no, location=top, textdistance=big] \definenote[affiliation] [numbercommand=\ss, textstyle=\tfx\bf, paragraph=yes] \setupnotedefinition[affiliation] [location=serried, distance=.4em, display=no] \starttext \startlocalnotes[affiliation] \startAuthorlist % Convenience macros for setting up some affiliations separately: \def\useaffiliation#1{\note[#1]} \def\makeaffiliation[#1]#2{\setnotetext[affiliation][#1]{#2}} \makeaffiliation[opry]{The Grand Ole Opry} % The list of authors: \item Doris Doe\affiliation[misk]{Miskatonic University} \item Robert Roe\affiliation[love]{Lovecraft Institute} \item Cleopatra~Jones\note[misk] \item Barbara Mandrell\useaffiliation{opry} \stopAuthorlist \placelocalnotes[affiliation] \stoplocalnotes \stoptext -- Peter Park Nelson peter.park.nelson@gmail.com ___________________________________________________________________________________ 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 ___________________________________________________________________________________