From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24603 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: How to setup this type of header? Date: Wed, 21 Dec 2005 11:44:10 -0800 Message-ID: <7BB3910E-496E-4D6A-BB3F-700F9E21387C@cox.net> References: <43A98126.5060001@touchtelindia.net> <43A99755.50408@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135194562 386 80.91.229.2 (21 Dec 2005 19:49:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2005 19:49:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 21 20:49:21 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ep9vh-0004jB-RT for gctc-ntg-context-518@m.gmane.org; Wed, 21 Dec 2005 20:47:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 85D481279F; Wed, 21 Dec 2005 20:47:17 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02874-02; Wed, 21 Dec 2005 20:47:17 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 24B9112824; Wed, 21 Dec 2005 20:45:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3258612824 for ; Wed, 21 Dec 2005 20:45:31 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02702-06-2 for ; Wed, 21 Dec 2005 20:45:30 +0100 (CET) Original-Received: from fed1rmmtao09.cox.net (fed1rmmtao09.cox.net [68.230.241.30]) by ronja.ntg.nl (Postfix) with ESMTP id 7F7EC1279F for ; Wed, 21 Dec 2005 20:45:28 +0100 (CET) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao09.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051221194525.NBRL25099.fed1rmmtao09.cox.net@[10.0.1.2]>; Wed, 21 Dec 2005 14:45:25 -0500 In-Reply-To: <43A99755.50408@elvenkind.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24603 Archived-At: Taco, Gerben, et al, From Taco's note: "Uncomment the next if you have not installed cont- fnt.zip, but instead have a working LaTeX installation. \usetypescript[adobekb][ec]," I would think the following would work for me after updating to the latest Context on Gerben's site using the Context updater. % output=pdf % \setuppagenumbering [location=, % .. of the automatically placed page number alternative=doublesided] % so left and right are different % pair 1 = left side of odd pages % pair 2 = right side of odd pages (empty) % pair 3 = left side of even pages % pair 4 = right side of even pages (empty) \setupheadertexts [\rlap{\the\pageno}\centerline{Put your title here}] [] [\centerline{\getmarking[chapter]}\llap{\the\pageno}] [] % no headers above chapter titles: \setuphead[chapter][header=empty] % load psnfss definitions % Uncomment the next if you have not installed cont-fnt.zip, % but instead have a working LaTeX installation. %\usetypescript[adobekb][ec] % register the times typescript \usetypescript[times][ec] % and start using it \setupbodyfont[times] \starttext \chapter{One} \dorecurse{10}{\input tufte\par} \stoptext But I got: (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) kpathsea: Running mktextfm utmr8t mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t This is METAFONT, Version 2.71828 (Web2C 7.5.5) kpathsea: Running mktexmf utmr8t ! I can't find file `utmr8t'. <*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t Please type another input file name ! Emergency stop. <*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t Gerben, have we not installed the cont-fnt.zip Taco describes? On Dec 21, 2005, at 9:56 AM, Taco Hoekwater wrote: > R S Ananda Murthy wrote: >> How to setup this type of header? I do not want dashed line below >> the header. Header should not be printed on a page where a chapter >> is starting. >> My body text should be in postscript Times Roman font. > > Here you go. This is not the only solution (maybe not even > the nicest) but it works for me. > > % > \setuppagenumbering > [location=, % .. of the automatically placed page number > alternative=doublesided] % so left and right are different > > % pair 1 = left side of odd pages > % pair 2 = right side of odd pages (empty) > % pair 3 = left side of even pages > % pair 4 = right side of even pages (empty) > \setupheadertexts > [\rlap{\the\pageno}\centerline{Put your title here}] > [] > [\centerline{\getmarking[chapter]}\llap{\the\pageno}] > [] > > % no headers above chapter titles: > \setuphead[chapter][header=empty] > > % load psnfss definitions > % Uncomment the next if you have not installed cont-fnt.zip, > % but instead have a working LaTeX installation. > % \usetypescript[adobekb][ec] > > % register the times typescript > \usetypescript[times][ec] > > % and start using it > \setuptobodyfont[times] > > > > >> Thanks for your help. >> Anand >> _______________________________________________ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context