From: David Arnold <dwarnold45@cox.net>
Subject: Re: Figure number off one time
Date: Tue, 1 Aug 2006 09:12:34 -0700 [thread overview]
Message-ID: <28309D32-86B6-43EF-B2B6-64EDDE7F3984@cox.net> (raw)
In-Reply-To: <44CF0A5B.9060008@wxs.nl>
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
next prev parent reply other threads:[~2006-08-01 16:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-01 1:54 David Arnold
2006-08-01 2:17 ` Aditya Mahajan
2006-08-01 2:53 ` David Arnold
2006-08-01 8:01 ` Hans Hagen
2006-08-01 16:12 ` David Arnold [this message]
2006-08-01 16:40 ` Aditya Mahajan
2006-08-01 17:12 ` David Arnold
2006-08-01 17:45 ` Aditya Mahajan
2006-08-01 18:47 ` Hans Hagen
2006-08-01 18:46 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=28309D32-86B6-43EF-B2B6-64EDDE7F3984@cox.net \
--to=dwarnold45@cox.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).