ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Dangerous bend sign in mkiv
@ 2017-08-31 14:02 Otared Kavian
  2017-08-31 19:12 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Otared Kavian @ 2017-08-31 14:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-31 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-31 14:02 Dangerous bend sign in mkiv Otared Kavian
2017-08-31 19:12 ` Hans Hagen
2017-08-31 19:45   ` Otared Kavian
2017-08-31 20:12     ` Hans Hagen

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).