ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Double bar means hyphen?
@ 2003-06-13 19:31 John Culleton
  2003-06-13 19:43 ` Phil Rooke
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: John Culleton @ 2003-06-13 19:31 UTC (permalink / raw)


In some of the sample texts that come with Context (Zapf etc.) the double bar 
is used to indicate a hyphen, perhaps an unbreakable hyphen. In pdftex it 
translated to an em? dash instead.

Is this combination documented somewhere?  ||
-- 
John Culleton
Able Typesetters and Indexers

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

* Re: Double bar means hyphen?
  2003-06-13 19:31 Double bar means hyphen? John Culleton
@ 2003-06-13 19:43 ` Phil Rooke
  2003-06-13 19:50 ` wmcclain
  2003-06-13 22:14 ` Adam Lindsay
  2 siblings, 0 replies; 8+ messages in thread
From: Phil Rooke @ 2003-06-13 19:43 UTC (permalink / raw)



> Is this combination documented somewhere?  ||


There is some discussion in the reference manual Section 7.8 p. 133

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

* Re: Double bar means hyphen?
  2003-06-13 19:31 Double bar means hyphen? John Culleton
  2003-06-13 19:43 ` Phil Rooke
@ 2003-06-13 19:50 ` wmcclain
  2003-06-13 21:12   ` Ed L Cashin
  2003-06-13 22:14 ` Adam Lindsay
  2 siblings, 1 reply; 8+ messages in thread
From: wmcclain @ 2003-06-13 19:50 UTC (permalink / raw)


On Fri, 13 Jun 2003 15:31:41 -0400
John Culleton <john@wexfordpress.com> wrote:

> In some of the sample texts that come with Context (Zapf etc.) the
> double bar is used to indicate a hyphen, perhaps an unbreakable
> hyphen. In pdftex it translated to an em? dash instead.
> 
> Is this combination documented somewhere?  ||

The default is supposed to be an en-dash, but this can be changed. See
section 7.8 "Composed words" in "ConTeXt the Manual".

-Bill
-- 
Sattre Press                                      Pagan Papers
http://sattre-press.com/                    by Kenneth Grahame
info@sattre-press.com              http://pp.sattre-press.com/ 

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

* Re: Double bar means hyphen?
  2003-06-13 19:50 ` wmcclain
@ 2003-06-13 21:12   ` Ed L Cashin
  2003-06-13 22:21     ` Adam Lindsay
  0 siblings, 1 reply; 8+ messages in thread
From: Ed L Cashin @ 2003-06-13 21:12 UTC (permalink / raw)


On Fri, Jun 13, 2003 at 02:50:53PM -0500, wmcclain@salamander.com wrote:
> On Fri, 13 Jun 2003 15:31:41 -0400
> John Culleton <john@wexfordpress.com> wrote:
> 
> > In some of the sample texts that come with Context (Zapf etc.) the
> > double bar is used to indicate a hyphen, perhaps an unbreakable
> > hyphen. In pdftex it translated to an em? dash instead.
> > 
> > Is this combination documented somewhere?  ||
> 
> The default is supposed to be an en-dash, but this can be changed. See
> section 7.8 "Composed words" in "ConTeXt the Manual".

I always use explicit hyphen like this:

  Don't second|-|guess me.

-- 
--Ed L Cashin            |   PGP public key:
  ecashin@uga.edu        |   http://noserose.net/e/pgp/

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

* Re: Double bar means hyphen?
  2003-06-13 19:31 Double bar means hyphen? John Culleton
  2003-06-13 19:43 ` Phil Rooke
  2003-06-13 19:50 ` wmcclain
@ 2003-06-13 22:14 ` Adam Lindsay
  2 siblings, 0 replies; 8+ messages in thread
From: Adam Lindsay @ 2003-06-13 22:14 UTC (permalink / raw)


The character is a compoundhyphen, actually created by mashing two
hyphens together. Look at the definition in supp-lan.tex.
It really doesn't work well in certain fonts where the hyphen is subtly
shaped.

cheers,
adam

John Culleton said this at Fri, 13 Jun 2003 15:31:41 -0400:

>In some of the sample texts that come with Context (Zapf etc.) the
double bar 
>is used to indicate a hyphen, perhaps an unbreakable hyphen. In pdftex it 
>translated to an em? dash instead.
>
>Is this combination documented somewhere?  ||
>-- 
>John Culleton
>Able Typesetters and Indexers
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: Double bar means hyphen?
  2003-06-13 21:12   ` Ed L Cashin
@ 2003-06-13 22:21     ` Adam Lindsay
  2003-06-14  8:57       ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Adam Lindsay @ 2003-06-13 22:21 UTC (permalink / raw)


Ed L Cashin said this at Fri, 13 Jun 2003 17:12:13 -0400:

>I always use explicit hyphen like this:
>
>  Don't second|-|guess me.

If it really is always, you can save a little effort with:

\setuphyphenmark[sign=-]

(This relates to an issue I mentioned earlier: anyone notice how these
compound word marks *don't* interact well with font handling/hanging?)

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: Double bar means hyphen?
  2003-06-13 22:21     ` Adam Lindsay
@ 2003-06-14  8:57       ` Hans Hagen
  2003-06-16 13:08         ` Adam T. Lindsay
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2003-06-14  8:57 UTC (permalink / raw)


At 23:21 13/06/2003 +0100, you wrote:
>Ed L Cashin said this at Fri, 13 Jun 2003 17:12:13 -0400:
>
> >I always use explicit hyphen like this:
> >
> >  Don't second|-|guess me.
>
>If it really is always, you can save a little effort with:
>
>\setuphyphenmark[sign=-]
>
>(This relates to an issue I mentioned earlier: anyone notice how these
>compound word marks *don't* interact well with font handling/hanging?)

yes, sometimes they are boxed thingies and they don't hang; for this the 
concept of hanging should be extended (something \hangme {left} {right} 
{material}); i discussed this long ago with thanh but it didn't (yet) end 
up in pdftex -)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Double bar means hyphen?
  2003-06-14  8:57       ` Hans Hagen
@ 2003-06-16 13:08         ` Adam T. Lindsay
  0 siblings, 0 replies; 8+ messages in thread
From: Adam T. Lindsay @ 2003-06-16 13:08 UTC (permalink / raw)


[this is going to bounce, because I'm posting from my travel account.
forward only if you feel it necessary]

Hans Hagen said this at Sat, 14 Jun 2003 10:57:13 +0200:

>>\setuphyphenmark[sign=-]
>>
>>(This relates to an issue I mentioned earlier: anyone notice how these
>>compound word marks *don't* interact well with font handling/hanging?)
>
>yes, sometimes they are boxed thingies and they don't hang; for this the 

_Sometimes_? Is there any way of choosing a compound word mark that isn't
a box (along the lines of the above)?

>concept of hanging should be extended (something \hangme {left} {right} 
>{material}); i discussed this long ago with thanh but it didn't (yet) end 
>up in pdftex -)

Okay, thanks for the explanation!
adam

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

end of thread, other threads:[~2003-06-16 13:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-13 19:31 Double bar means hyphen? John Culleton
2003-06-13 19:43 ` Phil Rooke
2003-06-13 19:50 ` wmcclain
2003-06-13 21:12   ` Ed L Cashin
2003-06-13 22:21     ` Adam Lindsay
2003-06-14  8:57       ` Hans Hagen
2003-06-16 13:08         ` Adam T. Lindsay
2003-06-13 22:14 ` Adam Lindsay

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