From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29865 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: Figure number off one time Date: Tue, 1 Aug 2006 09:12:34 -0700 Message-ID: <28309D32-86B6-43EF-B2B6-64EDDE7F3984@cox.net> References: <44CF0A5B.9060008@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154448889 27938 80.91.229.2 (1 Aug 2006 16:14:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2006 16:14:49 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 01 18:14:43 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org 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 1G7wsu-0004Dg-P1 for gctc-ntg-context-518@m.gmane.org; Tue, 01 Aug 2006 18:14:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0481F1FDD2; Tue, 1 Aug 2006 18:14:19 +0200 (CEST) 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 16545-06; Tue, 1 Aug 2006 18:14:11 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C21D1FC82; Tue, 1 Aug 2006 18:14:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 723A91FC82 for ; Tue, 1 Aug 2006 18:14:07 +0200 (CEST) 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 16575-05 for ; Tue, 1 Aug 2006 18:14:03 +0200 (CEST) Original-Received: from fed1rmmtao04.cox.net (fed1rmmtao04.cox.net [68.230.241.35]) by ronja.ntg.nl (Postfix) with SMTP id 6B81E1FC78 for ; Tue, 1 Aug 2006 18:14:01 +0200 (CEST) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao04.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060801161359.LMBS6711.fed1rmmtao04.cox.net@[10.0.1.2]> for ; Tue, 1 Aug 2006 12:13:59 -0400 In-Reply-To: <44CF0A5B.9060008@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:29865 Archived-At: Very nice. This worked well. Thanks Hans. In connection with this same question, consider the small example that follows. My thinking was that I would like to have a couple of lines of the paragraph in the output, then let the rest of the paragraph wrap around the figure positioned at the right of the page. However, I get a paragraph break and an indent. Workaround? \setupwhitespace[medium] \setupindenting[medium,yes] \starttext \section[sec:pythagoras]{The Pythagoreean Theorem} Pythagoras was a Greek mathematician and philosopher, born on the island of Samos somewhere near the year 582 BC. He founded a number of schools, one in \placefigure [right,nonumber][fig:pythagoras] {Pythagoras.} {\externalfigure[Pythagoras][width=4cm]} particular in a town in southern Italy called Crotone, whose members eventually became known as the Pythagoreans. The inner circle at the school, the {\em Mathematikoi}, lived at the school, rid themselves of all personal possessions, were vegetarians, and observed a strict vow of silence. They studied mathematics, philosophy, and music, and held the belief that numbers constitute the true nature of things, giving numbers a mystical or even spiritual quality. Today, nothing is known of Pythagoras's writings, perhaps due to the secrecy and silence of the Pythagorean society. However, one of the most famous theorems in all of mathematics does bear his name, the {\em Pythagorean Theorem.} \stoptext On Aug 1, 2006, at 1:01 AM, Hans Hagen wrote: > Aditya Mahajan wrote: >> On Mon, 31 Jul 2006, David Arnold wrote: >> >> >>> All, >>> >>> I would like to use: >>> >>> \placefigure >>> [right][fig:pythagoras] >>> {An early portrait of Pythagoras.} >>> {\getbuffer[figure]} >>> >>> And I would like to turn off the figure number in this caption, but >>> just for this graphic, not for any other I place. I want the number >>> off, but I want to keep the caption "An early portrait of >>> Pythagoras." >>> >>> The following didn't work. >>> >> >> Try >> >> \start >> \setupcaptions[number=no] >> \placefigure >> [right] >> % [fig:pythagoras] >> % If there is no number, you can not refer to it >> {An early portrait of Pythagoras.} >> {\getbuffer[figure]} >> \stop >> >> Basically \start \stop limit the effect of \setupcaptions. You can >> also use \bgroup \egroup or { .. } instead. I find \start \stop more >> Contexish. >> > hey, how come you don't know the easy way ... > > \placefigure[right,none]{An early portrait of Pythagoras.}{} > > \placefigure[right,nonumber]{An early portrait of Pythagoras.}{} > > \placefigure[right]{An early portrait of Pythagoras.}{} > > it's david's turn to wikify this > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context