From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11923 Path: main.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: Font switch and memory Date: Mon, 14 Apr 2003 00:47:03 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20030413234703.32689@news.comp.lancs.ac.uk> References: <5.2.0.9.1.20030413203908.0213dc48@localhost> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1050277812 21079 80.91.224.249 (13 Apr 2003 23:50:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Apr 2003 23:50:12 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Apr 14 01:50:05 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 194rEb-0005Tl-00 for ; Mon, 14 Apr 2003 01:50:05 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 7AFF610B39; Mon, 14 Apr 2003 01:50:42 +0200 (MEST) Original-Received: from einsteinium.btinternet.com (einsteinium.btinternet.com [194.73.73.147]) by ref.ntg.nl (Postfix) with ESMTP id 175FB10B32 for ; Mon, 14 Apr 2003 01:47:09 +0200 (MEST) Original-Received: from host213-122-166-53.in-addr.btopenworld.com ([213.122.166.53]) by einsteinium.btinternet.com with esmtp (Exim 3.22 #23) id 194rBj-0004BW-00; Mon, 14 Apr 2003 00:47:08 +0100 Original-To: , "Hans Hagen" In-Reply-To: <5.2.0.9.1.20030413203908.0213dc48@localhost> X-Mailer: CTM PowerMail 4.1.2 carbon Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11923 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11923 Hans Hagen said this at Sun, 13 Apr 2003 20:40:10 +0200: >> I am indeed doing a lot >>of switching of very large fonts, but the error doesn't show up at some >>font sizes and appears at others. >> >>! Font \*9ptrctf*=texnansiOSFSC-WarnockPro-Regular at 9.0pt not loaded: >>Not eno > >this happens when you do many complete font size switches; has to do with >all this math ... > >you can increase the font mem on texmf.cnf (will be done in the latest tex >live too) Yup, that did it. I increased ConTeXt's font memory in my TeXLive (web2c- based) install, and it was fine. So, for those who are interested, I'm now handling real Small Caps (Roman, Italic, bf & bi) as a different font style next to Serif [rm] and Sans [ss]. It takes some extra font memory, but it's one way of using caps as an additional style axis. I'm trying to get an intelligent font switch from Serif and Sans to my RomanCaps [rc] and CapsSans [cs] (yes, the names are awful). I'm having trouble with the \ifx in my definition: \def\SmCap {\ifx\fontstyle\c!ss \switchstyleonly\cs\else \switchstyleonly\rc\fi} I thought this would work, since it's essentially the same comparison used in \fontstringA (font-ini.tex). However, the \ifx is never true: the \else branch is always taken. Anyone have clues about these low-level commands that I've never really used before? Thanks, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-