From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3673 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: beta and hanging question Date: Wed, 27 Dec 2000 10:05:05 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001227100505.0153fe20@pop.wxs.nl> References: <001001c06ea5$302404e0$6f1f5fc3@oemcomputer> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394399 19202 80.91.224.250 (23 Oct 2002 17:33:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:33:19 +0000 (UTC) Cc: "ntg-context" Original-To: "Frans Goddijn" In-Reply-To: <001001c06ea5$302404e0$6f1f5fc3@oemcomputer> Xref: main.gmane.org gmane.comp.tex.context:3673 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3673 At 08:00 PM 12/25/00 +0100, Frans Goddijn wrote: >Hello all, > >What better use for a fine xmas day than try something new in ConTeXt... >;=}} > >I wanted to try the \steluitlijnenin[hangend] tip from Hans from 21 >december. > >I downloaded a new cont-tmf.zip from www.pragma-ade.nl and unzipped it in >c:\local\tex\texmf from my TeX Live installation. Then I did >mktexlsr >and >texexec --make --alone > >I got a number of errors complaining about insufficient hash size and >changed the following line in texmf.cnf from 0 to 20000 (10000 did not help >enough so I wonder if the line mentioning 10K is right) > >% Extra space for the hash table of control sequences (which allows 10K >% names as distributed). >% hash_extra = 0 % original line >hash_extra = 20000 normally the progname entry is used, so context.hash_extra=20000, but never mind, you got it working now >\steluitlijnenin[hangend] > >I get no error messages but the resulting text shows no protrusions at >all... > >Anyone any idea what I do wrong? You have to set up fonts to protrude [not that complicated, see MAPS article] which comes down to assigning a handler to a font [see enco-pro.tex]. So, finally you get something like this [you can set protruding per font and change the amounts per font shape etc] % output=pdftex \setuplayout[width=middle,height=middle] \showframe \setupwhitespace[big] \useencoding[pro] \definefontsynonym [Times-Roman] [tir] [encoding=texnansi,handling=normal] \definefontsynonym [Times-Italic] [tii] [encoding=texnansi,handling=slanted] \definefontsynonym [Times-Bold] [tib] [encoding=texnansi,handling=bold] \definefontsynonym [Times-BoldItalic] [tibi] [encoding=texnansi,handling=boldslanted] \setupbodyfont[ptm] \setupalign[hanging] \starttext \title{Times Roman Protruding} \tf \input tufte \par \sl \input tufte \par \bf \input tufte \par \bs \input tufte \page \startcolumns[balance=no] \tf \input tufte \par \sl \input tufte \par \bf \input tufte \par \bs \input tufte \par \stopcolumns { \page \switchtobodyfont[small] \typefile {protrude} } { \page \switchtobodyfont[small] \typefile {enco-pro} } \stoptext ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------