From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62621 Path: news.gmane.org!not-for-mail From: Brian Wedde Newsgroups: gmane.comp.tex.context Subject: Titles that spill out Date: Thu, 14 Oct 2010 10:59:04 -0700 Message-ID: <201010141059.04498.wbrian@onlineed.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1287079259 4396 80.91.229.12 (14 Oct 2010 18:00:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Oct 2010 18:00:59 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 14 20:00:56 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P6S6q-0007vz-BO for gctc-ntg-context-518@m.gmane.org; Thu, 14 Oct 2010 20:00:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 57D4ECA736; Thu, 14 Oct 2010 20:00:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ci+Jsz09vpdR; Thu, 14 Oct 2010 20:00:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 993DCCA6F4; Thu, 14 Oct 2010 20:00:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CB9D0CA6F4 for ; Thu, 14 Oct 2010 20:00:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5fsMCJjv6bpf for ; Thu, 14 Oct 2010 20:00:37 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 3E616CA620 for ; Thu, 14 Oct 2010 20:00:37 +0200 (CEST) Original-Received: from mail-yx0-f169.google.com (mail-yx0-f169.google.com [209.85.213.169]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9EI0Vkv002015 for ; Thu, 14 Oct 2010 20:00:33 +0200 Original-Received: by yxm34 with SMTP id 34so188981yxm.14 for ; Thu, 14 Oct 2010 11:00:31 -0700 (PDT) Original-Received: by 10.42.169.5 with SMTP id z5mr480591icy.172.1287079148059; Thu, 14 Oct 2010 10:59:08 -0700 (PDT) Original-Received: from wsd004.localnet (75-145-72-161-Oregon.hfc.comcastbusiness.net [75.145.72.161]) by mx.google.com with ESMTPS id y64sm8931337yhc.14.2010.10.14.10.59.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 14 Oct 2010 10:59:07 -0700 (PDT) User-Agent: KMail/1.13.5 (Linux/2.6.32-22-generic; KDE/4.4.5; i686; ; ) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.213.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DiG0wy8 - b3ac5eae1edd - 20101014 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:62621 Archived-At: Here is a simple section header. It runs way out of the margin. Any idea why? I do not want hyphenation. Words that run over the boundary should be skipped to the next line down. Why does it not do that here? Also note that if i change "flushleft" to "middle", it works fine (except that i don't want it middle-aligned!) \setuphead[section][align={flushleft,nothyphenated}] \starttext \showgrid \section{XXX XXXX XX XXXXXXXX XXX XXXXXX XXX XXXXXXXXXXXX XXXX XXXXXXX XXX} \stoptext %%%%% Here's another similar example: \setuplayout[ width=6.5in ] \setupbodyfont[ 10pt,rm ] \definebodyfont [10pt] [rm] [ hh=Regular sa 1.85 ] \setupheads[ align={flushleft,nothyphenated}, tolerance=strict ] \setuphead[section][ number=no, textstyle=\hh ] \starttext \showgrid \section{XXX XXXX XX XXXXXXXX XXXXXX XXXXXXXXXXXXXXXXXXX XX XXXX XXXXXXX XXX} \stoptext Thanks for your help. ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________