From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39931 Path: news.gmane.org!not-for-mail From: "David C. Walden" Newsgroups: gmane.comp.tex.context Subject: problem using protrusion and hz Date: Tue, 08 Apr 2008 13:11:22 -0500 Message-ID: <5.1.0.14.2.20080408125825.0203ccf8@pop.gmail.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: ger.gmane.org 1207674914 23050 80.91.229.12 (8 Apr 2008 17:15:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2008 17:15:14 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 08 19:15:37 2008 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 1JjHPs-00021q-Mt for gctc-ntg-context-518@m.gmane.org; Tue, 08 Apr 2008 19:15:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DE8701FB89; Tue, 8 Apr 2008 19:14:48 +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 22646-01-2; Tue, 8 Apr 2008 19:14:03 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9974A1FB29; Tue, 8 Apr 2008 19:14:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 787591FB1F for ; Tue, 8 Apr 2008 19:14:01 +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 22646-01 for ; Tue, 8 Apr 2008 19:13:25 +0200 (CEST) Original-Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by ronja.ntg.nl (Postfix) with ESMTP id 1A8D51FB57 for ; Tue, 8 Apr 2008 19:11:36 +0200 (CEST) Original-Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA05.westchester.pa.mail.comcast.net with comcast id B4oW1Z0080QuhwU5501B00; Tue, 08 Apr 2008 17:09:57 +0000 Original-Received: from dt.walden-family.com ([75.67.202.173]) by OMTA02.westchester.pa.mail.comcast.net with comcast id B5BQ1Z00M3kygX73N00000; Tue, 08 Apr 2008 17:11:34 +0000 X-Authority-Analysis: v=1.0 c=1 a=a3nu-2BBAAAA:8 a=gFr3Haj0AAAA:8 a=zMDNgUXtAAAA:8 a=vQT6wQOpKTv46A1Bm1oA:9 a=CkWqAHc88Y2QykN3-KMA:7 a=2XTN_eRxkW3Z2eAAiD5aUtRQbTYA:4 a=v6Ny9COW77QA:10 a=fdYBQudagvIA:10 a=g_kfILI5bIYA:10 a=50e4U0PicR4A:10 X-Sender: dave.walden.family@gmail.com@pop.gmail.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 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:39931 Archived-At: Hi, Adytia pointed me to some examples at http://wiki.contextgarden.net/Protrusion I tried the following code with a couple of page test page, ----- \definepapersize[specialbook][width=5.5in,height=8.5in] \setuppapersize[specialbook][specialbook] \setuplayout[height=7.5in,width=4.5in,backspace=40pt,location=middle] %\usetypescript[serif][hz][quality] %line 1 %\setupalign[hanging,hz] %line 2 \usetypescript[serif,sans,mono][hanging][pure] %line 3 \setupalign[hanging] %line 4 \usetypescript[modern-base][texnansi] %line 5 \setupbodyfont[reset] %line 6 \setupbodyfont[modern] %line 7 %\setupbodyfont[serif,11pt] \setupwhitespace[4.5pt] \setupcolors[state=start] \setupexternalfigures[directory={../marsh-slideshow}] \setupindenting[none] \setuphead[chapter][number=no] \setupheader[state=none] % Enable colors and activate hyperlinks \setupcolors [state=start] \setupinteraction [state=start, color=blue] \definecolor [darkRed][r=.5,g=.0,b=.0] \useURL[TPJ][{http://www.tug.org/pracjourn}][][{\it Prac\TeX{} Journal}] \useURL[mywebsite][{http://www.walden-family.com/dave}][][www.walden-family.com] \starttext ... \stoptext ---- and I get slightly different results if lines 1 and 2 versus 3 and 4 are in or out, or if both pairs of lines are commented out. If, however, I try this with the real 215 page book I am compiling rather than a smaller example, pdfTeX halts 200 or so pages in with a fatal error saying it has run out of space and saying something more about a hash table. If I comment out lines 5-7, I don't get the fatal error but also I don't think I see protrusion and font expansion happening. The real book doesn't have very much body text but is does have 215 images with code like \placefigure{none}{\externalfigure[#1.jpg][width=\textwidth]} where #1 comes from a macro call. Any thoughts? (I suppose I can split my source file in half and find a ConTeXt command to start the page numbering for the second half a 107 or so and then combine the two PDFs with Acrobat.) Best regards, Dave -- home address: 12 Linden Rd., E. Sandwich, MA 02537; ph/fax=508-888-7655/4168 email address: dave@walden-family.com; website(s): http://www.walden-family.com/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________