From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24286 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: footnote disappeared when used in background text Date: Mon, 12 Dec 2005 18:30:28 +0100 Message-ID: <439DB3B4.7010103@wxs.nl> References: <439D2734.7060202@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134408915 2660 80.91.229.2 (12 Dec 2005 17:35:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2005 17:35:15 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 12 18:35:06 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 1ElrYG-0001lc-MH for gctc-ntg-context-518@m.gmane.org; Mon, 12 Dec 2005 18:33:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 62D99127E8; Mon, 12 Dec 2005 18:33:28 +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 22938-01; Mon, 12 Dec 2005 18:33:28 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 58BF3127C6; Mon, 12 Dec 2005 18:30:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A2A6127C6 for ; Mon, 12 Dec 2005 18:30:32 +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 22762-01 for ; Mon, 12 Dec 2005 18:30:30 +0100 (CET) Original-Received: from controller-1 (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id 50C1C127C3 for ; Mon, 12 Dec 2005 18:30:30 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 7375 for ; Mon, 12 Dec 2005 18:36:54 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <439D2734.7060202@gmail.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 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:24286 Archived-At: Xiao Jianfeng wrote: >Hello, > >I found that \footnote cannot work correctly as I expected. >Here is my source file: >%-------------------------------------------------------------------------- >%\loadmapfile[gbk] >%\usemodule[chinese] >\setuppagenumbering[location=inright] >\setupbodyfont[lbr,12pt] >\setupindenting[big,yes] >\setupcolors[state=start] >\setupbackground[state=start,background=screen,cornor=round] >\setupinterlinespace[line=20pt] > >\starttext > >\startbackground >some words \footnote{ some words some words some words some words some >words some words some words some words some words} >\stopbackground > >\stoptex >%-------------------------------------------------------------------------- >This file can compile successfully and produce a pdf file, but if you try to >compile this file on your system you will find that the footnote >disappeared. > >I'm using the latest version(2005.12.01). > >Is this a bug ? > > no, a side effect, (no inserts in boxes) best use textbackgrounds (or some wrapper like: \unprotect \definetextbackground [\??ag] [\c!location=\v!text, \c!corner=\v!round, \c!state=\v!stop, \c!framecolor=black] \def\setupbackground{\setuptextbackground[\??ag]} \def\startbackground{\starttextbackground[\??ag]} \def\stopbackground {\stoptextbackground} \protect \setupbackground[state=start,background=color,cornor=round]