ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ndash and mdash
@ 2012-09-24 23:12 Troy Henderson
  2012-09-24 23:45 ` Troy Henderson
  0 siblings, 1 reply; 3+ messages in thread
From: Troy Henderson @ 2012-09-24 23:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

When using the Type 1 versions of the Lucida fonts, -- and --- don't work
as expected.  However, the following do work in their place.

\uchar{32}{19} (for the -- ndash)
\uchar{32}{20} (for the --- mdash)

Can I redefine -- and --- to use the \uchar commands?

Troy Henderson

[-- Attachment #1.2: Type: text/html, Size: 308 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] 3+ messages in thread

* Re: ndash and mdash
  2012-09-24 23:12 ndash and mdash Troy Henderson
@ 2012-09-24 23:45 ` Troy Henderson
  2012-09-25 12:57   ` Troy Henderson
  0 siblings, 1 reply; 3+ messages in thread
From: Troy Henderson @ 2012-09-24 23:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

The following work

\uchar{32}{19} (for the -- ndash)
>

\def\ndash{\uchar{32}{19}\autoinsertnextspace}


> \uchar{32}{20} (for the --- mdash)
>

\def\mdash{\uchar{32}{20}\autoinsertnextspace}

but it would be preferable to be able to use -- and --- instead of \ndash
and \mdash.

Troy

[-- Attachment #1.2: Type: text/html, Size: 624 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] 3+ messages in thread

* Re: ndash and mdash
  2012-09-24 23:45 ` Troy Henderson
@ 2012-09-25 12:57   ` Troy Henderson
  0 siblings, 0 replies; 3+ messages in thread
From: Troy Henderson @ 2012-09-25 12:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

\definefontfeature[default][tlig=yes]

works just fine.  Thanks Mojca.

Troy

[-- Attachment #1.2: Type: text/html, Size: 102 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] 3+ messages in thread

end of thread, other threads:[~2012-09-25 12:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-24 23:12 ndash and mdash Troy Henderson
2012-09-24 23:45 ` Troy Henderson
2012-09-25 12:57   ` Troy Henderson

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