From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4300 Path: main.gmane.org!not-for-mail From: Han The Thanh Newsgroups: gmane.comp.tex.context Subject: Re: call for help with context Date: Thu, 8 Mar 2001 16:16:52 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <20010308161652.A25283@anxur.fi.muni.cz> References: <20010308150340.A8765@anxur.fi.muni.cz> <3.0.6.32.20010308154432.0169d4b0@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035394977 24520 80.91.224.250 (23 Oct 2002 17:42:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:42:57 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Hans Hagen In-Reply-To: <3.0.6.32.20010308154432.0169d4b0@server-1>; from pragma@wxs.nl on Thu, Mar 08, 2001 at 03:44:32PM +0100 Xref: main.gmane.org gmane.comp.tex.context:4300 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4300 Hi Hans, > \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. I tried the following: ==================== begin of file font-test.tex ========================== \definebodyfont [14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt] [rm] [ tf=LexiconNo2RomanA-Txt8y, bf=LexiconNo2RomanC-Txt8y, it=LexiconNo2ItalicA-Txt8y, bi=LexiconNo2ItalicC-Txt8y, sc=LexiconNo2RomanA-Exp8y] \definefontstyle [aa] [aa] \definebodyfont [14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt] [aa] [ tf=LexiconNo2RomanB-Txt8y, bf=LexiconNo2RomanD-Txt8y, it=LexiconNo2ItalicB-Txt8y, bi=LexiconNo2ItalicD-Txt8y, sc=LexiconNo2RomanB-Exp8y] ==================== end of file font-test.tex ========================== and the tex file looks like: ==================== cut here ========================== \setupbodyfont [test] \setupfootnotes[style=aa] \starttext \chapter{A SHORT STORY} Once upon a time, in a distant galaxy called \"O\"o\c c, there lived a computer named R.~J. Drofnats. \footnote{% Mr.~Drofnats---or ``R. J.,'' as he preferred to be called---% error has been fixed! was happiest when he was at work typesetting {\it beautiful\/} documents.} \stoptext ==================== cut here ========================== it works more or less, but there are still two problems: 1) the chapter font is cmr12 2) the italic font in the footnote comes from \rm, not \aa as I expected How can I please fix it? Thanh