From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19818 Path: news.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: bug with \setupsynonyms Date: Wed, 13 Apr 2005 18:44:35 +0100 Message-ID: <20050413184435.11884@mail.comp.lancs.ac.uk> References: <20050413150829.GD3514@cebitec.uni-bielefeld.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1113414106 12085 80.91.229.2 (13 Apr 2005 17:41:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2005 17:41:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 13 19:41:41 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DLlrf-00056M-77 for gctc-ntg-context-518@m.gmane.org; Wed, 13 Apr 2005 19:41:23 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5511B128A2; Wed, 13 Apr 2005 19:44:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27043-05; Wed, 13 Apr 2005 19:44:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 612FE127B4; Wed, 13 Apr 2005 19:44:33 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED48E127B4 for ; Wed, 13 Apr 2005 19:44:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27152-04 for ; Wed, 13 Apr 2005 19:44:31 +0200 (CEST) Original-Received: from mail.comp.lancs.ac.uk (mail.comp.lancs.ac.uk [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id 302F3127A7 for ; Wed, 13 Apr 2005 19:44:31 +0200 (CEST) Original-Received: from [192.168.31.104] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id j3DHiT2f018931 for ; Wed, 13 Apr 2005 18:44:30 +0100 (BST) Original-To: "mailing list for ConTeXt users" In-Reply-To: <20050413150829.GD3514@cebitec.uni-bielefeld.de> X-Mailer: CTM PowerMail version 5.1 build 4340 English X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:19818 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19818 Eckhart Guth=F6hrlein said this at Wed, 13 Apr 2005 17:08:29 +0200: >formatting synonyms with \setupsynonyms does not work when these are >part of e.g. section headers. Example: > >I think this is not as it should be. It might not be as you expected, but it is as it should be. How about = this=3F \definealternativestyle[mybold] [\emphbf][\emphbf] \definealternativestyle[myslant][\emphsl][\emphsl] \abbreviation{XYZ}{whatever} \setupabbreviations[textstyle=3Dmybold,synonymstyle=3Dmyslant] =09This should be bold/slanted: \XYZ/\infull{XYZ}. And it is. =09\section{This ist not: \XYZ/\infull{XYZ}} "bold" is defined this way, meaning that it avoids applying bold in = headings: \definealternativestyle [bold] [\bf] [] -- =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-