ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: ntg-context@ntg.nl
Subject: Re: Smileys
Date: Wed, 17 Aug 2011 16:02:29 +0200	[thread overview]
Message-ID: <4E4BC9F5.7040603@gyza.cz> (raw)
In-Reply-To: <CALBOmsbj4UE1NqZkuXQG4W4OGM_BQ8BH_i30Q=+nd7V_3k0+ug@mail.gmail.com>

Hello Cecil ...
Here is my simple tip. All you need is a font set, which are needed 
emoticons ...


\def\numcharacter#1{\char#1{}}
\let\dochar\numcharacter

\definefont[wingding][wingding.ttf at 12pt]

\starttext

{\wingding \dochar{74}\dochar{75}\dochar{76}}

\stoptext


With greeting Jaroslav Hajtmar



Dne 17.8.2011 14:27, Mojca Miklavec napsal(a):
> On Wed, Aug 17, 2011 at 13:26, Cecil Westerhof wrote:
>    
>> 2011/8/17 Mojca Miklavec wrote:
>>      
>>>   \def\smiley{\externalfigure[img/smilies/smiley.png][height=\lineheight]}
>>>
>>> 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 need help with setting up some particular font, feel free to ask.
>
> But you should be able to get automatic scaling of png images based on
> line height. If images come in different sizes, you need a bit more
> trickery, but it is doable. Just ask again once you find the suitable
> images.
>
> Mojca
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2011-08-17 14:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16 19:46 Smileys Cecil Westerhof
2011-08-16 20:23 ` Smileys Henning Hraban Ramm
2011-08-16 20:55   ` Smileys Cecil Westerhof
2011-08-16 21:21     ` Smileys Wolfgang Schuster
2011-08-17  7:12       ` Smileys Patrick Gundlach
2011-08-17  7:49       ` Smileys Cecil Westerhof
2011-08-17  8:09         ` Smileys luigi scarso
2011-08-17  6:21     ` Smileys Henning Hraban Ramm
2011-08-17 11:14     ` Smileys Mojca Miklavec
2011-08-17 11:25       ` Smileys Wolfgang Schuster
2011-08-17 11:26       ` Smileys Cecil Westerhof
2011-08-17 12:27         ` Smileys Mojca Miklavec
2011-08-17 14:02           ` Jaroslav Hajtmar [this message]
2011-08-17 14:20             ` Smileys Cecil Westerhof
2011-08-17 21:57               ` Smileys Wolfgang Schuster
2011-08-18  7:40                 ` Smileys Cecil Westerhof
2011-08-18  8:01                   ` Smileys Wolfgang Schuster
2011-08-18  8:53                     ` Smileys Cecil Westerhof
2011-08-18 20:19                 ` Smileys Jaroslav Hajtmar
2011-08-18 20:53                   ` Smileys Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E4BC9F5.7040603@gyza.cz \
    --to=hajtmar@gyza.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).