ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] trouble with kerncharacters
@ 2013-08-16 18:06 Dmitriy Tokarev
  2013-08-16 18:16 ` Marco Patzer
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitriy Tokarev @ 2013-08-16 18:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I noticed that after the command \kerncharacters, I can not use the normal sequence "---" for em-dash. Is there any work around of this effect? Thanks.

\starttext

One monolithic symbol: ---

\kerncharacters[.5]
Three separate symbol: ---

\stoptext

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


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

* Re: [***SPAM***] trouble with kerncharacters
  2013-08-16 18:06 [***SPAM***] trouble with kerncharacters Dmitriy Tokarev
@ 2013-08-16 18:16 ` Marco Patzer
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Patzer @ 2013-08-16 18:16 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 637 bytes --]

On 2013–08–17 Dmitriy Tokarev wrote:

> I noticed that after the command \kerncharacters, I can not use
> the normal sequence "---" for em-dash. Is there any work around of
> this effect?

This is expected, since \kerncharacters breaks ligatures and the ---
→ — transformation is implemented using the ligature mechanism. You
can either use — or \emdash. Since -, – and — are hardly
distinguishable in the source, I'd settle for \emdash.

\starttext
  foo --- bar\par
  foo — bar\par
  foo \emdash\ bar

  \kerncharacters[.5]
  foo --- bar\par
  foo — bar\par
  foo \emdash\ bar
\stoptext

Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

end of thread, other threads:[~2013-08-16 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-16 18:06 [***SPAM***] trouble with kerncharacters Dmitriy Tokarev
2013-08-16 18:16 ` Marco Patzer

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