From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20352 Path: news.gmane.org!not-for-mail From: Stuart Jansen Newsgroups: gmane.comp.tex.context Subject: encouraging line breaks Date: Fri, 13 May 2005 17:01:53 -0600 Organization: Guru Labs, L.C. Message-ID: <1116025313.8847.8.camel@localhost.localdomain> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1732460059==" X-Trace: sea.gmane.org 1116024759 32569 80.91.229.2 (13 May 2005 22:52:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 May 2005 22:52:39 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat May 14 01:00:33 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DWj8s-0005II-Nf for gctc-ntg-context-518@m.gmane.org; Sat, 14 May 2005 01:00:26 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E99E812793; Sat, 14 May 2005 01:00:26 +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 24795-06; Sat, 14 May 2005 01:00:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 584E01278D; Sat, 14 May 2005 01:00:20 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5DBA41278D for ; Sat, 14 May 2005 01:00:18 +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 25048-03 for ; Sat, 14 May 2005 01:00:15 +0200 (CEST) Original-Received: from mail.gurulabs.com (mail.gurulabs.com [67.137.148.7]) by ronja.ntg.nl (Postfix) with ESMTP id 701ED1278B for ; Sat, 14 May 2005 01:00:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by mail.gurulabs.com (Postfix) with ESMTP id 2ACEC9C6F4 for ; Fri, 13 May 2005 17:00:14 -0600 (MDT) Original-Received: from mail.gurulabs.com ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 10733-10 for ; Fri, 13 May 2005 17:00:13 -0600 (MDT) Original-Received: from dhcp7.glwlan.gurulabs.com (dhcp7.glwlan.gurulabs.com [10.2.3.7]) by mail.gurulabs.com (Postfix) with ESMTP for ; Fri, 13 May 2005 17:00:13 -0600 (MDT) Original-To: mailing list for ConTeXt users X-Mailer: Evolution 2.2.1.1 X-Virus-Scanned: by amavisd-new at gurulabs.com X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20352 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20352 --===============1732460059== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4yTHkt1zHtUqSWKX+e0P" --=-4yTHkt1zHtUqSWKX+e0P Content-Type: text/plain Content-Transfer-Encoding: quoted-printable What is the best way to encourage line breaks without hyphenation? I've tried many combinations of \setuptolerances, \clubpenalty, \widowpenalty \emergencystretch, etc. All to no avail.=20 Basically, I've got XML content that is being rendered. Part of that content needs to fit inside a small box at a large font size. (It's a custom command tied to \chapter.) Although a line consisting of a single word followed by copious white space would normally be very bad, in this case it is fine. Below is an example situation where I want the text to be rendered on two lines instead of one. I'm hoping I can do it without adding manual breaks to the XML, however. \definefont [GiantFont] [SansBold at 48pt] \setupalign[nothyphenated] \starttext \framed[width=3D3in,align=3Dright]{\GiantFont Foobar Bazqux} \stoptext --=20 Stuart Jansen Guru Labs, L.C. --=-4yTHkt1zHtUqSWKX+e0P Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBChTHhwTOJ4P81PNARAqi1AJ9mtRSHtZvpGC5EdzwzSQaH4lXDqgCgjun5 SXjWrjtfOB1Tyj7kFCMKzNc= =nrF1 -----END PGP SIGNATURE----- --=-4yTHkt1zHtUqSWKX+e0P-- --===============1732460059== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============1732460059==--