ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Setting double hypens --
@ 2000-05-20  8:34 Berend de Boer
  2000-05-21 22:15 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Berend de Boer @ 2000-05-20  8:34 UTC (permalink / raw)


Hello All,

In certain fonts the -- produces weird effects because the - isn't a
straight dash, but something a bit more fancy.

Is it possible in context to replace -- by {\ss --} (or so)?

With \setuphypenmark the default hyphenation can be corrected. Also with
\setuplanguage |<| and |>| can be corrected.

Can \installcompoundcharacter be used?

The -- is used in: `the year 1999--2000', `in grades 4--8', etc.

Groetjes,

Berend. (-:


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Setting double hypens --
@ 2000-05-20 20:20 Frans Goddijn
  0 siblings, 0 replies; 8+ messages in thread
From: Frans Goddijn @ 2000-05-20 20:20 UTC (permalink / raw)


When I had the same "problem" a while back, Taco Hoekwater was (as always)
very helpful and he wrote me a definition that's used for your example and
it's named \vantot and there's even a variation for the "gedachtestreepje"
that's called \denk. The \praat is used in novels when there's a dialogue
and the author uses the dash to indicate the next person is speaking.

Let me see if I have them here (copy them on ONE line):

\def\praat  {\leavevmode\thinspace\penalty0 \hbox{--\kern
-.25em--}\thinspace\penalty0}

\def\denk   {\leavevmode\thinspace\penalty0 \hbox{--\kern -.25em--}\

\def\vantot {\thinspace--\thinspace}

Groet!

frans

> Hello All,
>
> In certain fonts the -- produces weird effects because the - isn't a
> straight dash, but something a bit more fancy.
>
> Is it possible in context to replace -- by {\ss --} (or so)?


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Setting double hypens --
@ 2000-05-21 21:26 Uwe Koloska
  0 siblings, 0 replies; 8+ messages in thread
From: Uwe Koloska @ 2000-05-21 21:26 UTC (permalink / raw)


Berend wrote on Sam, 20 Mai 2000:
>Hello All,
>
>In certain fonts the -- produces weird effects because the - isn't a
>straight dash, but something a bit more fancy.
>
>Is it possible in context to replace -- by {\ss --} (or so)?
>

STOP!

-, --, --- and $-$ are all different glyphs!  

'-'   hyphen
'--'  endash
'---' emdash  (_not_ used in german!)

if '--' or '---' produces weired effects that is just an error in the
(virtual) font where these character sequences aren't properly mapped (as
a ligature) to the appropriate glyph.

>With \setuphypenmark the default hyphenation can be corrected. Also with
>\setuplanguage |<| and |>| can be corrected.
>
>Can \installcompoundcharacter be used?
>
>The -- is used in: `the year 1999--2000', `in grades 4--8', etc.
>
>Groetjes,
>
>Berend. (-:

Grüße
Uwe

P.S.: Berend: Sorry, I mistakenly send you this posting directly ...

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)


^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <20000520212313.8344F64C58@wormwood.pobox.com>]
[parent not found: <00052102494306.00227@leonore>]
[parent not found: <00052300595801.00224@leonore>]

end of thread, other threads:[~2000-05-23  6:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-20  8:34 Setting double hypens -- Berend de Boer
2000-05-21 22:15 ` Hans Hagen
2000-05-20 20:20 Frans Goddijn
2000-05-21 21:26 Uwe Koloska
     [not found] <20000520212313.8344F64C58@wormwood.pobox.com>
2000-05-22 17:06 ` Berend de Boer
     [not found] <00052102494306.00227@leonore>
2000-05-22 17:10 ` Berend de Boer
2000-05-22 19:30   ` Hans Hagen
     [not found] <00052300595801.00224@leonore>
2000-05-23  6:04 ` Berend de Boer

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