From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68296 Path: news.gmane.org!not-for-mail From: Julian Becker Newsgroups: gmane.comp.tex.context Subject: synonyms/abbreviations and style setup question Date: Mon, 9 May 2011 12:44:30 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0016669309==" X-Trace: dough.gmane.org 1304937892 29762 80.91.229.12 (9 May 2011 10:44:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 May 2011 10:44:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 09 12:44:48 2011 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 1QJNxI-0006d6-16 for gctc-ntg-context-518@m.gmane.org; Mon, 09 May 2011 12:44:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ACDD7CACBA; Mon, 9 May 2011 12:44:46 +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 6FgPQ00T-tkw; Mon, 9 May 2011 12:44:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 13EABCACBF; Mon, 9 May 2011 12:44:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 538F9CACBF for ; Mon, 9 May 2011 12:44:43 +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 P5WM5cBHoRzn for ; Mon, 9 May 2011 12:44:32 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 71A78CACBA for ; Mon, 9 May 2011 12:44:32 +0200 (CEST) Original-Received: from mail-iw0-f169.google.com (mail-iw0-f169.google.com [209.85.214.169]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p49AiVmg001068 for ; Mon, 9 May 2011 12:44:31 +0200 Original-Received: by iwg8 with SMTP id 8so6110494iwg.14 for ; Mon, 09 May 2011 03:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=E6lH5/ihoOb5RoGFNbtgZp0RyRQSsMKcmEXQVQEBdG8=; b=SFLVRLGPqaVrp5duDy7KLp2sSfEkZM2hi61qRdAOWU0uDKX+LKFkSvt7UxpFieCEpY JDU8PvptycYBRrW0ZqwFQc+pLz8fcohRZlY1wxecoZ8UO5NU2XhtFQCf3sXyV1BJT+ze /kTru4kZib3VOpmi28LzDgqEoVTVLVmbJsq2s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FqC3B8uXVbwTVJmF10/FteKSSQ/yVAgMmLtuhCnnatdb3OuQUbW20wMhaJlAR21BJF 8pH4rfoC+Jbbns/AMVXgHexbl16MgEtWiwxaCZiagI/x5Btt7nuzY2Ni4MPo3K7I/p+k Dn4iSygA3tY4QZk8TnhUFbrxeUzDNn99sTnsM= Original-Received: by 10.42.238.140 with SMTP id ks12mr6468144icb.414.1304937870564; Mon, 09 May 2011 03:44:30 -0700 (PDT) Original-Received: by 10.42.171.74 with HTTP; Mon, 9 May 2011 03:44:30 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 05EFmIvwP - fdea1ead3084 - 20110509 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:68296 Archived-At: --===============0016669309== Content-Type: multipart/alternative; boundary=20cf306846393a9ee204a2d5863e --20cf306846393a9ee204a2d5863e Content-Type: text/plain; charset=ISO-8859-1 I'm guessing that I have not yet understood how to use abbreviations/synonyms correctly, but why does it make a difference if I call the synonyms "abbreviations" or "tests"? That is why do the following two files produce different results on my PC (Windows 7, context version 2011.02.09 16:42)? In the first case I get the abbreviation in capitals, in the second case, no capitals. What would I have to do to get small capitals? I tried "style=smallcaps", but that only gave me capitals all of the same height, and no small capitals. fileone.tex: %---------------------- \definesynonyms[abbreviation][abbreviations][\infull] \setupsynonyms[abbreviation][criterium=all,style=cap] \abbreviation{ABR}{An Abbreviation} \starttext Here goes \infull{ABR}. \placelistofabbreviations \stoptext %---------------------- filetwo.tex: \definesynonyms[test][tests][\infull] \setupsynonyms[test][criterium=all,style=cap] \test{ABR}{An Abbreviation} \starttext Here goes \infull{ABR}. \placelistoftests \stoptext Best regards, Julian --20cf306846393a9ee204a2d5863e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'm guessing that I have not yet understood how to use abbreviatio= ns/synonyms correctly, but why does it make a difference if I call the syno= nyms "abbreviations" or "tests"? That is why do the fol= lowing two files produce different results on my PC (Windows 7, context ver= sion=A0 2011.02.09 16:42)? In the first case I get the abbreviation in capi= tals, in the second case, no capitals. What would I have to do to get small= capitals? I tried "style=3Dsmallcaps", but that only gave me cap= itals all of the same height, and no small capitals.

fileone.tex:
%-------------= ---------
\definesynonyms[abbreviation][abbreviations][\infull]\setupsynonyms[abbreviation][criterium=3Dall,style=3Dcap]

\abbrevi= ation{ABR}{An Abbreviation}

\starttext
Here goes \infull{ABR}.
\placelistofabbreviations
\= stoptext
%----------------------

filetwo.tex:
\definesynonyms[test][tests][\infull]
\setupsyno= nyms[test][criterium=3Dall,style=3Dcap]

\test{ABR}{An Abbreviation}

\starttext
Here goes \infull{ABR}= .
\placelistoftests
\stoptext

Best regar= ds,=A0
Julian
--20cf306846393a9ee204a2d5863e-- --===============0016669309== 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 ___________________________________________________________________________________ --===============0016669309==--