From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65991 Path: news.gmane.org!not-for-mail From: "Tom" Newsgroups: gmane.comp.tex.context Subject: Using fonts from multiple families Date: Sat, 12 Feb 2011 22:38:36 -0500 Message-ID: <015e01cbcb2f$7f820540$7e860fc0$@com> References: <015101cbcad8$07616080$16242180$@com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297568357 21179 80.91.229.12 (13 Feb 2011 03:39:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2011 03:39:17 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 13 04:39:13 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PoSnp-0007ZU-3M for gctc-ntg-context-518@m.gmane.org; Sun, 13 Feb 2011 04:39:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7A814CA94E; Sun, 13 Feb 2011 04:39:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0tMTuqlyzzHk; Sun, 13 Feb 2011 04:38:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D0B0CA7A7; Sun, 13 Feb 2011 04:38:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5071DCA7A7 for ; Sun, 13 Feb 2011 04:38:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2kXdeyyMvScz for ; Sun, 13 Feb 2011 04:38:34 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 3F8F9CA676 for ; Sun, 13 Feb 2011 04:38:34 +0100 (CET) Original-Received: from smtp2.ctinetworks.com (smtp2.ctinetworks.com [205.166.61.227]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1D3cWMB012138 for ; Sun, 13 Feb 2011 04:38:33 +0100 Original-Received: from TomPC (c-67-191-114-63.hsd1.fl.comcast.net [67.191.114.63]) by smtp2.ctinetworks.com (Postfix) with ESMTP id 5B0D01A73A6 for ; Sat, 12 Feb 2011 22:38:29 -0500 (EST) In-Reply-To: X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcvK5pFYup4kPtueSyOkgVlS73CcSgASAThw Content-Language: en-us X-ctinetworks-Information: Please contact the ISP for more information X-ctinetworks-MailScanner-ID: 5B0D01A73A6.E872D X-ctinetworks-VirusCheck: Found to be clean X-ctinetworks-SpamCheck: X-ctinetworks-Watermark: 1298432311.53357@JSMLqpma+kjQq9IM9OCzAg X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=205.166.61.227; country=US; region=PA; city=Mechanicsburg; latitude=40.2134; longitude=-77.0098; metrocode=566; areacode=717; http://maps.google.com/maps?q=40.2134,-77.0098&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05E7fCwb6 - 475b9e1860a4 - 20110213 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:65991 Archived-At: \usetypescriptfile[type-one] \usetypescriptfile[type-gyr] TexLive 2010 MKII on a PC I'm completely flummoxed as how to use fonts from different families. Follows is an attempt to use Pallatino (rm) for the text of a book, Iwono-heavy for chapter titles (sansbold), Iwona-light (sans) for page headers (intended but not implemented), and Chancery (cg) for the dedication. The only font that appears to come out right are the chapter titles and I can't change their size without changing the size of the text font. I apparently haven't found the right manual yet or am too stupid to understand what must be a relatively simple concept. \starttypescript [BookFont][texnansi,ec,qx,t5,default] \definetypeface[BookFont][rm][serif][pallatino][default] %text body \definetypeface[BookFont][ss][sans][iwona-light][default] %page headers \definetypeface[BookFont][ss][sansbold][iwona-heavy][default] %chapters \definetypeface[BookFont][tt][type][postscript][default] %embedded code \definetypeface[BookFont][cg][calligraphic][chancery][default] %dedic. \definetypeface[BookFont][mm][math][pallatino][default] %math \stoptypescript \usetypescript[BookFont][ec] \setupbodyfont[BookFont,12pt] \switchtobodyfont[serif] \setuphead [chapter][style=sansbold, alternative=middle] \definehead [intro][chapter] \setuphead [intro][number=no] \definecombinedlist [content][intro,chapter,section] \setuphead[chapter][style=sansbold] \starttext {\cg Dedication} \page \completecontent \intro{Introduction - Ag} \input knuth \chapter{First chapter - Ag} \input knuth \chapter{Second Chapter - Ag} \input Knuth \stoptext Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com -----Original Message----- From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Saturday, February 12, 2011 1:56 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Table of Contents issues Am 12.02.2011 um 18:12 schrieb Tom: > Using a very recent download of TexLive 2010 (MKII) on my PC, my success > generating a useful table of contents has been somewhat limited. > > I can't figure out how to put the title, "Contents," in the font I desire. > The various parameters I found in the documentation affect the chapter > titles and the page numbers but nothing I've found allows me to control the > title of the ToC. What am I overlooking? > > I would also like for the unnumbered "chapter" titles, such as introduction > or preface, to align with the other chapter titles, not with their numbers. > Aligntitle seems to have no effect on anything from what I have seen. \setuphead[chapter][style=sansbold] \definehead[intro][chapter] \setuphead [intro][number=no] \definecombinedlist[content][intro,chapter,section] \setupcombinedlist [content][style=sansbold] \starttext \completecontent \intro{Introduction} \input knuth \chapter{First chapter} \input knuth \chapter{Second Chapter} \input knuth \stoptext Wolfgang ____________________________________________________________________________ _______ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ____________________________________________________________________________ _______ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________