ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Dangerous bend sign in mkiv
Date: Thu, 31 Aug 2017 16:02:03 +0200	[thread overview]
Message-ID: <08A846A9-3B85-49D1-9977-12AFE1C0E1C7@gmail.com> (raw)

Hi,

Is there a way to get the dangerous bend sign (which exists in the Donald Knuth’s manfnt) in mkiv?
The following (given by one of our gurus and dating back to sevral years) works fine in mkii, but I don’t know how to translate it in mkiv…

%%% begin dangerous-bend.tex
\loadmapfile [manfnt.map]
\definefontsynonym [bends] [manfnt]

\def\GetSym#1{\getglyph{bends}{\char#1}}

\startsymbolset [Dangerous Bends]
    \definesymbol [dbend]       [\GetSym{127}]
    \definesymbol [lhdbend]     [\GetSym{126}]
\stopsymbolset

\setupsymbolset [Dangerous Bends]

\setupbodyfont[manfnt]

\starttext
\symbol{dbend}
\blank[big]

\symbol{lhdbend}
\stoptext
%%% end dangerous-bend.tex

Thanks in advance: OK
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2017-08-31 14:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-31 14:02 Otared Kavian [this message]
2017-08-31 19:12 ` Hans Hagen
2017-08-31 19:45   ` Otared Kavian
2017-08-31 20:12     ` Hans Hagen

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=08A846A9-3B85-49D1-9977-12AFE1C0E1C7@gmail.com \
    --to=otared@gmail.com \
    --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).