From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70728 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Smileys Date: Wed, 17 Aug 2011 13:26:20 +0200 Message-ID: References: <2C733FEE-CE49-4EA3-9DE4-21572A220CB6@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1571242302==" X-Trace: dough.gmane.org 1313580395 13785 80.91.229.12 (17 Aug 2011 11:26:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2011 11:26:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 17 13:26:31 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 1QteGV-0006LG-QN for gctc-ntg-context-518@m.gmane.org; Wed, 17 Aug 2011 13:26:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 96490CAECE; Wed, 17 Aug 2011 13:26:31 +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 i3LVoWSHxKZW; Wed, 17 Aug 2011 13:26:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7128CAEF2; Wed, 17 Aug 2011 13:26:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7C1D5CAEF2 for ; Wed, 17 Aug 2011 13:26:27 +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 prnr14eQlQc6 for ; Wed, 17 Aug 2011 13:26:21 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id EB62ACAECE for ; Wed, 17 Aug 2011 13:26:21 +0200 (CEST) Original-Received: from mail-vw0-f41.google.com (mail-vw0-f41.google.com [209.85.212.41]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7HBQKUH024234 for ; Wed, 17 Aug 2011 13:26:21 +0200 Original-Received: by vwm42 with SMTP id 42so742233vwm.14 for ; Wed, 17 Aug 2011 04:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6lRyYnVb3BNUT45j+ZXa3jshPZFB7EzN1UNuFU/DUCo=; b=jLE1cXK9E6+pH94i90M5Fpjno1RHFZb6UbGiN7HlIWmsXSKSOdWEVjrjgUCR5YHK77 1aUbgT+u8b+PlV+uAuJpMGospoYQDaY+zEG+9DduIYOA5an3WQ6UqsHkDo0PY5I+8X+7 T2mkZoAfhjU64W+6ZOxTMFz50c00GHOEyJk74= Original-Received: by 10.52.27.10 with SMTP id p10mr845267vdg.180.1313580380171; Wed, 17 Aug 2011 04:26:20 -0700 (PDT) Original-Received: by 10.52.165.33 with HTTP; Wed, 17 Aug 2011 04:26:20 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.41; 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: 0dFlnqkkf - b4dbbb9d0c0b - 20110817 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:70728 Archived-At: --===============1571242302== Content-Type: multipart/alternative; boundary=20cf307d0576f1ac6504aab1c33b --20cf307d0576f1ac6504aab1c33b Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 2011/8/17 Mojca Miklavec > >>> Is it possible to work with smileys in ConTeXt? > > Instead of using something like ;-}, what looks nice, but is not the > > highpoint of typography, I would like to use something like \smiley, > \grin, > > \cool, =85 > > My suggestion would be to find a set of PNG (or other) images that you > like, put them all into some subfolder and then define a list in the > spirit of: > \def\smiley{\externalfigure[img/smilies/smiley.png][height=3D\lineheig= ht]} > > Of course you can also use fonts (even marvosym), but they will only > show ugly black-and-white strokes which is probably not what you want. > At least originally was it what I wanted. Because when you use fonts they scale to the fontsize you are using. So I would think that looks the best. But you make a good point. (If you want auto-replacement to work, you need a few more hacks, but > I would personally not like smilies to be inserted automatically.) > Neither do I. ;-} --=20 Cecil Westerhof --20cf307d0576f1ac6504aab1c33b Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
2011/8/17 Mojca Miklavec <<= a href=3D"mailto:mojca.miklavec.lists@gmail.com">mojca.miklavec.lists@gmail= .com>
>>> Is it possible to work with smileys in ConTeXt?
> Instead of using something like ;-}, what looks nice, but is n= ot the
> highpoint of typography, I would like to use something like \smiley, \= grin,
> \cool, =85

My suggestion would be to find a set of PNG (or other) images that yo= u
like, put them all into some subfolder and then define a list in the
spirit of:
=A0 =A0\def\smiley{\externalfigure[img/smilies/smiley.png][height=3D\lineh= eight]}

Of course you can also use fonts (even marvosym), but they will only
show ugly black-and-white strokes which is probably not what you want.
<= /blockquote>

At least originally was it what I wanted. Because when= you use fonts they scale to the fontsize you are using. So I would think t= hat looks the best. But you make a good point.


(If you want auto-replacement to work, you need a few more hacks, but
I would personally not like smilies to be inserted automatically.)

Neither do I. ;-}

--
= Cecil Westerhof
--20cf307d0576f1ac6504aab1c33b-- --===============1571242302== 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 ___________________________________________________________________________________ --===============1571242302==--