From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4299 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: call for help with context Date: Thu, 08 Mar 2001 15:44:32 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010308154432.0169d4b0@server-1> References: <20010308150340.A8765@anxur.fi.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394976 24519 80.91.224.250 (23 Oct 2002 17:42:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:42:56 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Han The Thanh In-Reply-To: <20010308150340.A8765@anxur.fi.muni.cz> Xref: main.gmane.org gmane.comp.tex.context:4299 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4299 At 03:03 PM 3/8/01 +0100, Han The Thanh wrote: >Hi Hans, > >I posted a few questions to the context mail list but didn't get the >answer ... SInce i cannot see you suffering ... >1) how to define a new font family alternative similar to \rm, \ss or \tt? > I tried to add some code to the file font-ini.tex, however it > doesn't work. It seem to be non-trivial, and I don't know context > enough yet. I tried to use my own NFSS, but soon found out that it > is not a good idea. \definefontstyle [hanthethanh,htt] [htt] \definebodyfont [10pt,11pt,12pt] [htt] [tf=Regular sa 1, bf=Sans sa 1] \setupbodyfont[hanthethanh] \setupfootnotes[n=3,align=normal,tolerance={verytolerant,stretch}] So, we can mix {\bf whatever fonts} we want in a style like \htt. >2) I cannot get rid of the overfull boxes in two-column footnote: > setting \emergencystretch in the beggining doesn't work for > footnote mode (it is always set to 0) You can add this code to cont-new.tex \setupfootnotes[\c!uitlijnen=\v!normaal,\c!tolerantie=\v!soepel] \def\setfootnotebodyfont% {\let\setfootnotebodyfont\relax \restoreglobalbodyfont \switchtobodyfont[\@@vnkorps]% \steltolerantiein[\@@vntolerantie]% \steluitlijnenin[\@@vnuitlijnen]} Now you can say: \setupfootnotes[align=normal, tolerance={verytoleranr,stretch}] >3) somehow context breaks page in a very odd way: sometime too much > space between body text and footnote, sometime too little. Maybe it > has to do with choosing the page dimension that the textheight is > not a multiple of the baselineskip. Indeed. The new otr will give you more control over that. It is a tricky rounding error problem and (imho) tex does not always give you the control you need. 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 -------------------------------------------------------------------------