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


___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to