From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6650 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re[3]: Enabling protruding Date: Thu, 24 Jan 2002 14:45:25 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020124142552.02dbccd8@server-1> References: <5.1.0.14.1.20020124112706.039925c0@server-1> <5.1.0.14.1.20020123181552.03559da8@server-1> <5.1.0.14.1.20020123181552.03559da8@server-1> <5.1.0.14.1.20020124112706.039925c0@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035397166 12475 80.91.224.250 (23 Oct 2002 18:19:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:19:26 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Giuseppe Bilotta In-Reply-To: <1611860625.20020124121006@bigfoot.com> Xref: main.gmane.org gmane.comp.tex.context:6650 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6650 At 12:10 PM 1/24/2002 +0100, you wrote: >I thought it was possible to change the protruding by reassigning >the lp/rpcodes. this is related to how tex internally handles fonts; there are limitations; anyway, you don';t want to change them per paragraph, do you? nb: context turns of protruding (the main switch) in the pagebuilder and other non mvl situations >HH> this means that for the preloaded cmr fonts, (or any preloaded >HH> font) one has to redefine them; also, because of the design >HH> sizes, cmr's are not mapped onto Serif, so here we need to >HH> manually set the fonts (unless one defines them as any ps >HH> collection, ignoreing the design size) > >This is a little of a pain. no, just a little price to pay >About design sizes: couldn't you implement the font remapping >mechanism in such a way that cmr10 sa 12 -> cmr12 and so on, or >something like that? sure, but the main problem is that one cannot ask the filesystem what fonts there are (try to open a font file from within tex); also, building this into context only for cmr is not worth the trouble and slowing down overhead >Maybe something like use a flag (discrete=yes,no) so that when >discrete is on (yes), you give the base name (cmr) and ConTeXt appends >the size (10, 12, ...), and when discrete if off (no) it just >scales. there is not so much logic in the 10,12,... and believe me, i have other challenges >Now cmr hangs even when align is not set to hanging (you can see >this by prefixing \setupalign[nothanging] before the first >dorecurse). add a \par after each recurse and it will work as expected; pdftex applies the hanging during the par break, so the last values set in the par apply (as with left/rightskip cum suis) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl 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 ------------------------------------------------------------------------- fall-back web server: www.pragma-pod.nl -------------------------------------------------------------------------