On Thu, Jun 20, 2002 at 02:06:00PM -0600, Idris S Hamid wrote:
> [Sorry I left out the subject before]
> 
> Dear gang,
> 
> What is the best way in ConTeXt to define a word so that is does not 
> hyphenate. E.g., 
> 
> \def\SAN{\hbox{{A\d{s}-\d{S}an\={a}`ah}}}
> 
> \SAN{} this is a test
> 
> \bye
> 
> does not work; it creates an unwanted line break (anyone know why?)
> 

That's because you stay in vertical mode. Your paragraph only starts
with `this is a test.' You need to esplicitely enter horizontal mode:

\def\SAN{\leavevmode\hbox{{A\d{s}-\d{S}an\={a}`ah}}}

Denis

Reply via email to