ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* hyphenation in \type{....}?
@ 2003-03-28 20:44 Patrick Gundlach
  2003-03-28 22:46 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Gundlach @ 2003-03-28 20:44 UTC (permalink / raw)


Dear ConTeXt hackers,

I am a bit confused: as stated in the manual, \type{...} does not
hyphenate (in contrast to \typ{...}), but in the following example,
it does:


\enableregime [il1]
\starttext
ist zwar nur einem ist zwar nur einem \type{averylongword
averylongword averylongword averylongword}
\stoptext


How do I get garanteed-non-hypenated-typing?

Patrick

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

* Re: hyphenation in \type{....}?
  2003-03-28 20:44 hyphenation in \type{....}? Patrick Gundlach
@ 2003-03-28 22:46 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2003-03-28 22:46 UTC (permalink / raw)


At 09:44 PM 3/28/2003 +0100, you wrote:
>Dear ConTeXt hackers,
>
>I am a bit confused: as stated in the manual, \type{...} does not
>hyphenate (in contrast to \typ{...}), but in the following example,
>it does:
>
>
>\enableregime [il1]
>\starttext
>ist zwar nur einem ist zwar nur einem \type{averylongword
>averylongword averylongword averylongword}
>\stoptext
>
>
>How do I get garanteed-non-hypenated-typing?

put

    \ttsl\hyphenchar\font\minusone
    \tttf\hyphenchar\font\minusone

in setupcommonverbatim

i'll sort this out, it has o do with the way a space is defined (changing 
hyphenchar is a problem because it's global and we don't want
to mess up with the font)

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] 2+ messages in thread

end of thread, other threads:[~2003-03-28 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-28 20:44 hyphenation in \type{....}? Patrick Gundlach
2003-03-28 22:46 ` Hans Hagen

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