From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35196 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: frames and hyphenation Date: Fri, 29 Jun 2007 19:25:26 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/mixed; boundary="===============1063428795==" X-Trace: sea.gmane.org 1183137908 12027 80.91.229.12 (29 Jun 2007 17:25:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Jun 2007 17:25:08 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 29 19:25:07 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1I4KDN-0002Yf-76 for gctc-ntg-context-518@m.gmane.org; Fri, 29 Jun 2007 19:25:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EBD122001C; Fri, 29 Jun 2007 19:24:56 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08138-02; Fri, 29 Jun 2007 19:24:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F1FC31FF35; Fri, 29 Jun 2007 19:24:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F3D961FF35 for ; Fri, 29 Jun 2007 19:24:42 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07684-05-4 for ; Fri, 29 Jun 2007 19:24:38 +0200 (CEST) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with ESMTP id BFDCE1FEAC for ; Fri, 29 Jun 2007 19:24:38 +0200 (CEST) Original-Received: from 119-92.uva.surfnetthuis.nl [145.98.119.92] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.38). id l5THOb006913; Fri, 29 Jun 2007 19:24:37 +0200 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:35196 Archived-At: --===============1063428795== Content-Type: multipart/alternative; boundary=Apple-Mail-1-819780180 --Apple-Mail-1-819780180 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed 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 --Apple-Mail-1-819780180 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 I encountered some strange thing = with framedtext's in trying to define one where hyphenation is = suppressed. The definition = is:
\defineframedtext[myblock][frame=3Doff,style=3D\tt,width=3D0.8\mak= eupwidth,before=3D\nohyphens]
But then = \startmyblock text \stopmyblock does not stop = hyphenation.
While=A0\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

=

= --Apple-Mail-1-819780180-- --===============1063428795== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1063428795==--