From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12540 Path: main.gmane.org!not-for-mail From: lihb Newsgroups: gmane.comp.tex.context Subject: some questions about logo and margin background. Date: Thu, 19 Jun 2003 19:11:49 +0800 Sender: ntg-context-admin@ntg.nl Message-ID: <3EF19A75.7000303@phys.sinica.edu.tw> 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 1056021315 7202 80.91.224.249 (19 Jun 2003 11:15:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Jun 2003 11:15:15 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Jun 19 13:15:13 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 19SxNp-0001rt-00 for ; Thu, 19 Jun 2003 13:15:13 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 177AD10B07; Thu, 19 Jun 2003 13:15:13 +0200 (MEST) Original-Received: from phys.sinica.edu.tw (mails.phys.sinica.edu.tw [140.109.103.251]) by ref.ntg.nl (Postfix) with ESMTP id D871710ABC for ; Thu, 19 Jun 2003 13:11:51 +0200 (MEST) Original-Received: from phys.sinica.edu.tw (localhost.localdomain [127.0.0.1]) by phys.sinica.edu.tw (8.11.6/8.11.6) with ESMTP id h5JBBsR04338 for ; Thu, 19 Jun 2003 19:11:54 +0800 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, zh-cn, zh-tw, zh-hk, en, Original-To: ntg-context@ntg.nl 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:12540 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12540 Hi, I have two question, I 'm not sure this is the right place to ask, apologize for that. 1st question: I wish to put a small logo at the footer at everypage so I try to write a tex as below: \usemodule[pre-general] \setuppapersize [S6][S6] \setuplayout [width=fit, height=fit, header=32pt, footer=32pt] \setupfootertexts[\bf\ss{test}][\bf\ss{\date}] \def\RedHatLogo% {\externalfigure[shadowman-32.png][type=png]} \definelogo [small logo] [footer] [middle] [command=\RedHatLogo,state=start] \starttext \chapter{test} \placelogos[small logo] \stoptext and I found that the shadowman logo did not show up.. How do I make a .png file show up at corner or bottom of every pages? 2nd question: change the background of margin I have a rightmargin with \startuniqueMPgraphic{test} picture p ; p := btex TEST etex rotated 90 ; setbounds p to boundingbox p enlarged 1pt ; draw p withcolor 0.8white ; currentpicture := currentpicture xysized (\overlaywidth,\overlayheight) ; \stopuniqueMPgraphic \defineoverlay[test][\uniqueMPgraphic{test}] \setupbackgrounds [text] [rightmargin] [background=test] which is a word "TEST" with grey color and white background, how to change the background color? I had try 'fill p withcolor darkcyan ;' but the background of margin is still white. Thanks. lihb lihb@phys.sinica.edu.tw