ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* frames and hyphenation
@ 2007-06-29 17:25 Hans van der Meer
  2007-06-29 18:05 ` Aditya Mahajan
  2007-06-29 18:07 ` Hans van der Meer
  0 siblings, 2 replies; 4+ messages in thread
From: Hans van der Meer @ 2007-06-29 17:25 UTC (permalink / raw)
  To: NTG ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 792 bytes --]

I encountered some strange thing with framedtext's in trying to  
define one where hyphenation is suppressed. The definition is:
\defineframedtext[myblock][frame=off,style=\tt,width=0.8 
\makeupwidth,before=\nohyphens]
But then \startmyblock text \stopmyblock does not stop hyphenation.
While \startmyblock\nohyphens text \stopmyblock stops it.
Since I would like to have the myblock's all having suppressed  
hyphenation I am at a loss how to do it. Could it be that the  
\nohyphens in the "before" is overriden by something? It looks like,  
because setting lefthyphenmin and righthyphenmin zero at that point  
did not work either.
By the way it is a bit difficult to give an exact example, because  
hyphenation so much depends on ones linesize and font dimensions.

Hans van der Meer



[-- Attachment #1.2: Type: text/html, Size: 1538 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

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

end of thread, other threads:[~2007-07-02  6:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-29 17:25 frames and hyphenation Hans van der Meer
2007-06-29 18:05 ` Aditya Mahajan
2007-06-29 18:07 ` Hans van der Meer
2007-07-02  6:00   ` Wolfgang Schuster

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