ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <context@boede.nl>
To: NTG-Context ConTeXt users <ntg-context@ntg.nl>
Subject: Symbols
Date: Tue, 20 Nov 2012 17:21:05 +0100	[thread overview]
Message-ID: <15AEA31A-A842-4C94-977E-D0C5B956C108@boede.nl> (raw)

Hi all,

could someone bring light into the way how to use symbols…in MKIV

I wanted to extract a symbol from uzdr (Zapfdingbats).

In MIII the that worked like this:

\definefontsynonym[Dingbats][uzdr]
\definesymbol[box][\getglyph{Dingbats}{\char113}]

In MKIV this is not the case.
I tried to find out with the font-manual, unfortunately it only shows the content of the symb-imp-eur.mkiv. I tried to find the fonts mentioned in that file, but miserably failed.

I tried different approaches but get now result, except for the black diamond, but this is defined internally in ConTeXt (\definesymbol[blackdiamond]    [\textormathchar{"2666}].

\definefontsynonym[Dingbats][uzdr]
\definefontsynonym[MSAM][msam10]

 
\definesymbol[boxA]            [\getglyph{Dingbats}{\char113}] %Seems to be changed...
\definesymbol[boxB]            [\getglyph{Dingbats}{\char"274F}] % U+0274F, 00052, a74
\definesymbol[cuttingscissors] [\getglyph{Dingbats}{\utfchar{"2701}}]
\definesymbol[blackdiamond]    [\textormathchar{"2666}]

\definesymbol[blackdiamondvar][\textormathchar{"25C6}]
\definesymbol[diamondfilled]  [\getglyph{MSAM}{\utfchar{"F0067}}]

\starttext

Thanks for support…

Willi

\symbol{boxA}

\symbol{boxB}

\symbol{cuttingscissors}

\symbol{blackdiamond}

\symbol{blackdiamondvar}

\symbol{diamondfilled}

\stoptext

___________________________________________________________________________________
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:[~2012-11-20 16:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-20 16:21 Willi Egger [this message]
2012-11-21  9:26 ` Symbols Hans Hagen
2012-11-21 13:05   ` Symbols Willi Egger
  -- strict thread matches above, loose matches on Subject: below --
2007-02-21 12:00 Symbols Bernd Militzer
2007-02-21 12:42 ` Symbols Taco Hoekwater
2007-02-21 13:31   ` Symbols Hans Hagen
2007-02-21 14:05   ` Symbols Bernd Militzer
     [not found] <OF260B86F5.44AAB781-ONCA256D10.0029553F@tk.jp.world.socgen >
2003-04-22  9:24 ` Symbols Hans Hagen
2003-04-22  7:33 Symbols emmanuel.rialland

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=15AEA31A-A842-4C94-977E-D0C5B956C108@boede.nl \
    --to=context@boede.nl \
    --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).