ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Hyphenmark and composed words
@ 2008-07-11  1:45 Olivier Guéry
  2008-07-11  6:39 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Olivier Guéry @ 2008-07-11  1:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

I tried to force hyphen in composed word with this : « composed||word
» as explain in the manual.
(Strange that context can't know that he can cut composed words after
the dash, maybe it's only a french rule).

In french, the hyphenmark is « - », not « – » (endash).

So I tried \setuphyphenmark [sign = -] but no effect, I still get a « – ».
This syntax : « composed|-|word » works.

Cheers,
Olivier.


-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
http://nemolivier.blogspot.com
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Hyphenmark and composed words
  2008-07-11  1:45 Hyphenmark and composed words Olivier Guéry
@ 2008-07-11  6:39 ` Wolfgang Schuster
  2008-07-11  9:52   ` Olivier Guéry
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2008-07-11  6:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Jul 11, 2008 at 3:45 AM, Olivier Guéry <nemolivier@gmail.com> wrote:
> Hello,
>
> I tried to force hyphen in composed word with this : « composed||word
> » as explain in the manual.
> (Strange that context can't know that he can cut composed words after
> the dash, maybe it's only a french rule).
>
> In french, the hyphenmark is « - », not « – » (endash).
>
> So I tried \setuphyphenmark [sign = -] but no effect, I still get a « – ».
> This syntax : « composed|-|word » works.

\definetextmodediscretionary {}
  {\hyphenliketextmodediscretionary\defaultdiscretionaryhyphen\defaultdiscretionaryhyphen\empty\defaultdiscretionaryhyphen}

\setuphyphenmark[sign=-]

\starttext
composed||word
\stoptext

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Hyphenmark and composed words
  2008-07-11  6:39 ` Wolfgang Schuster
@ 2008-07-11  9:52   ` Olivier Guéry
  2008-07-11 10:22     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Olivier Guéry @ 2008-07-11  9:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2008/7/11 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
> On Fri, Jul 11, 2008 at 3:45 AM, Olivier Guéry <nemolivier@gmail.com> wrote:
>> Hello,
>>
>> I tried to force hyphen in composed word with this : « composed||word
>> » as explain in the manual.
>> (Strange that context can't know that he can cut composed words after
>> the dash, maybe it's only a french rule).
>>
>> In french, the hyphenmark is « - », not « – » (endash).
>>
>> So I tried \setuphyphenmark [sign = -] but no effect, I still get a « – ».
>> This syntax : « composed|-|word » works.
>
> \definetextmodediscretionary {}
>  {\hyphenliketextmodediscretionary\defaultdiscretionaryhyphen\defaultdiscretionaryhyphen\empty\defaultdiscretionaryhyphen}
>
> \setuphyphenmark[sign=-]

It works. Is this the new usual syntax (please, no ! ;)) or just a workaround ?

Is there something to setup that hyphenate should alway cut composed
words after the « - » ?
For the moment, I must enter all composed word with « || » ? Like « où
va||t||il ? » instead of « où va-t-il ? »
We should never cut like this :
«foo bar com-
posed-word »
but
« foo bar composed-
word. »

Cheers,
Olivier.
-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
http://nemolivier.blogspot.com
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Hyphenmark and composed words
  2008-07-11  9:52   ` Olivier Guéry
@ 2008-07-11 10:22     ` Wolfgang Schuster
  2008-07-11 16:15       ` Charles P. Schaum
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2008-07-11 10:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Jul 11, 2008 at 11:52 AM, Olivier Guéry <nemolivier@gmail.com> wrote:
> 2008/7/11 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>> On Fri, Jul 11, 2008 at 3:45 AM, Olivier Guéry <nemolivier@gmail.com> wrote:
>>> Hello,
>>>
>>> I tried to force hyphen in composed word with this : « composed||word
>>> » as explain in the manual.
>>> (Strange that context can't know that he can cut composed words after
>>> the dash, maybe it's only a french rule).
>>>
>>> In french, the hyphenmark is « - », not « – » (endash).
>>>
>>> So I tried \setuphyphenmark [sign = -] but no effect, I still get a « – ».
>>> This syntax : « composed|-|word » works.
>>
>> \definetextmodediscretionary {}
>>  {\hyphenliketextmodediscretionary\defaultdiscretionaryhyphen\defaultdiscretionaryhyphen\empty\defaultdiscretionaryhyphen}
>>
>> \setuphyphenmark[sign=-]
>
> It works. Is this the new usual syntax (please, no ! ;)) or just a workaround ?

Just a workaroung, it's up to Hans to fix this in some way.

A short solution for the moment is:

\def\compoundhyphen{-}

> Is there something to setup that hyphenate should alway cut composed
> words after the « - » ?
> For the moment, I must enter all composed word with « || » ? Like « où
> va||t||il ? » instead of « où va-t-il ? »

For MkII, I don't think so, MkIV should be possible but Hans or Taco can
give you a better answer. You shouldn't forget in some cases like 'X-Rays'
a break after the hyphen is not allowed.

> We should never cut like this :
> «foo bar com-
> posed-word »
> but
> « foo bar composed-
> word. »

Regards,
Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Hyphenmark and composed words
  2008-07-11 10:22     ` Wolfgang Schuster
@ 2008-07-11 16:15       ` Charles P. Schaum
  0 siblings, 0 replies; 5+ messages in thread
From: Charles P. Schaum @ 2008-07-11 16:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

The whole issue of typesetting URL's is dodgy because style manuals like
Chicago don't want them broken.

Now, Chicago is pretty conservative and has the idea that people are
going to type stuff in verbatim from printed bubs and furthermore that
they will always interpret a line break as a return keystroke.

They also want archival type info stored in the bib entry, as if
archive.org did not exist.

I don't see, however, that squishing a URL down to minuscule type sizes
is the answer, because using a loupe to read a URL is nuts.
Electronically, this is simply BFD. One might consider using a verbatim
or typewriter font switch and have that signal continuity over line
breaks. That has been my approach for print matter. Still, I have
avoided hyphenating a URL unless it already has one, and even then if
the hyphen breaks in such a way that the linear composition is way
underfull on a line, you get stuck with an ugly line. I generally break
a URL at a virgule (/) closest to a good line break.

Incidentally, David Fussner has been working on a Chicago style for
Philipp Lehman's biblatex. He has been in communication with Joseph
Reagle and me, who had done independent work on the same thing. Will
something like biblatex ever appear in ConTeXt, and how might that
happen?

I know that Lehmann has been busy, but the whole idea of a
user-extensible bib syntax that doesn't require kludging bibtex is
great. Even better would be to have a set of BNF/RE style files like
Endnotes, though the implementation eludes me. Lehman's biblatex seems
to do that via LaTeX.

Charles

On Fri, 2008-07-11 at 12:22 +0200, Wolfgang Schuster wrote:
> On Fri, Jul 11, 2008 at 11:52 AM, Olivier Guéry <nemolivier@gmail.com> wrote:
> > 2008/7/11 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
> >> On Fri, Jul 11, 2008 at 3:45 AM, Olivier Guéry <nemolivier@gmail.com> wrote:
> >>> Hello,
> >>>
> >>> I tried to force hyphen in composed word with this : « composed||word
> >>> » as explain in the manual.
> >>> (Strange that context can't know that he can cut composed words after
> >>> the dash, maybe it's only a french rule).
> >>>
> >>> In french, the hyphenmark is « - », not « – » (endash).
> >>>
> >>> So I tried \setuphyphenmark [sign = -] but no effect, I still get a « – ».
> >>> This syntax : « composed|-|word » works.
> >>
> >> \definetextmodediscretionary {}
> >>  {\hyphenliketextmodediscretionary\defaultdiscretionaryhyphen\defaultdiscretionaryhyphen\empty\defaultdiscretionaryhyphen}
> >>
> >> \setuphyphenmark[sign=-]
> >
> > It works. Is this the new usual syntax (please, no ! ;)) or just a workaround ?
> 
> Just a workaroung, it's up to Hans to fix this in some way.
> 
> A short solution for the moment is:
> 
> \def\compoundhyphen{-}
> 
> > Is there something to setup that hyphenate should alway cut composed
> > words after the « - » ?
> > For the moment, I must enter all composed word with « || » ? Like « où
> > va||t||il ? » instead of « où va-t-il ? »
> 
> For MkII, I don't think so, MkIV should be possible but Hans or Taco can
> give you a better answer. You shouldn't forget in some cases like 'X-Rays'
> a break after the hyphen is not allowed.
> 
> > We should never cut like this :
> > «foo bar com-
> > posed-word »
> > but
> > « foo bar composed-
> > word. »
> 
> Regards,
> Wolfgang
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2008-07-11 16:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-11  1:45 Hyphenmark and composed words Olivier Guéry
2008-07-11  6:39 ` Wolfgang Schuster
2008-07-11  9:52   ` Olivier Guéry
2008-07-11 10:22     ` Wolfgang Schuster
2008-07-11 16:15       ` Charles P. Schaum

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