Wed, 28 Apr 1999 22:50:48 +0200
Date: Wed, 28 Apr 1999 22:50:47 +0200 (MET DST)
From: Rainer Dunker <[EMAIL PROTECTED]>
X-Sender: rainer.dunker@localhost
To: Matthias Skobowsky <[EMAIL PROTECTED]>
Cc: mutex <[EMAIL PROTECTED]>
Subject: Re: hyphenation
In-Reply-To: <[EMAIL PROTECTED]>
Message-Id: <Pine.LNX.3.91.990428220516.340A-100000@localhost>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-mutex
Precedence: bulk

On Tue, 20 Apr 1999, Matthias Skobowsky wrote:

> Hi,
> I'm trying a few days typing music with M-Tx and interested in an
> automatical hyphenation of lyrics, means to set the hyphen in lyrics
> automatical.
> The TeX command \showhyphen{} works fine with MiKTeX, but I can just see
> it in the Log-File.
> Is there any way to integrate the hyphens in my M-Tx-Input-File?
> Thanks, Matthias
> -- 
> ***********************************************************************
> Matthias Skobowsky                         Mail: [EMAIL PROTECTED]
> ***********************************************************************

Hi Matthias,

I'm afraid that this won't work - for several reasons. The first one is 
that TeX performs hyphenation only after it has translated the stream of 
input tokens (= the characters you've typed in your source) into a 
composition of boxes, kerns, glues and other items somehow forming an 
abstract representation of the resulting document layout. musixlyr (the 
lyrics typesetter underlying M-Tx), however, needs the hyphens already at 
the stage of processing input tokens, i.e. when TeX has had no thought 
about hyphens at all. \showhyphens does not help here since it's merely a 
tricky tool to fool TeX into showing its hyphenation as part of a warning 
message.

Second: Even if you would succeed in transforming words into hyphenated 
words while they are still treated by TeX as input tokens, you would have 
to somehow extend the lyrics parsing mechanism of musixlyr. This would 
certainly require changes to the current M-Tx/musixlyr combination.

And finally - even if all the obstacles mentioned above would have been 
overcome, it's likely that you wouldn't be too happy with the solution 
because grammatically correct hyphenation does not always match the 
division of words into syllables in a phonetic sense. Many "audible 
syllables" are written as just one letter (consider ra-di-o), but you 
wouldn't write them as separate syllables. Chances would be small that 
automatic hyphenation hits what you intend musically.

Regards,

Rainer
--
Approved by mutex-owner

Reply via email to