ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Text around a figure in a framedtext (Wolfgang Schuster)
Date: Sat, 8 Aug 2015 16:10:36 +0200	[thread overview]
Message-ID: <0D126E00-A1AE-4FCF-B4EC-D18FE763F5F9@gmail.com> (raw)
In-Reply-To: <DF2B8DA0-AF3D-4E70-BA42-8AA820D9B288@me.com>

Hi Jeong,

You are right, but probably this is due to the way the source file knuth.tex is encoded: if you replace 
	\input knuth
by the text itself, that is by the following

Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large--scale user; the designer should also write the first user manual.
The separation of any of these four components would have hurt TEX significantly. If I had not participated fully in all these activities, literally hundreds of improve- ments would never have been made, because I would never have thought of them or perceived why they were important.
But a system cannot be successful if it is too strongly influenced by a single person. Once the initial design is complete and fairly robust, the real test begins as people with many different viewpoints undertake their own experiments.

then the text is wrapped around the figure when using \starthanging.

Best regards: OK

> On 08 Aug 2015, at 15:49, Jeong Dal <haksan@me.com> wrote:
> 
> Dear Wolfgang,
> 
>> You have to use \starthanging instead of \placefgure when you’re in a frame.
>> 
>> \starttext
>> 
>> \startframedtext[width=max]
>>    \starthanging[location=right]
>>        {\startMPcode
>>         draw unitsquare scaled 2cm ;
>>         \stopMPcode}
>>    \input tufte
>>    \stophanging
>> \stopframedtext
>> 
>> \stoptext
>> 
>> Wolfgang
> 
> Thank you for letting me know the command “starthanging”.
> I tried the command  “\startfiguretext … \stopfiguretext”, and found that there is no text below the square.
> 
> \startframedtext[width=\textwidth]{
> \startfiguretext[right,none]{}{%
> \startMPcode
> draw unitsquare scaled 2cm ;
> \stopMPcode}
> \input knuth
> \stopfiguretext}
> \stopframedtext
> 
> Your example worked fine, but if we replace tufte by knuth, then text is written over the square while the tufte’s text was witten surround the square.
> Is it expected result?
> 
> Thank you again.
> 
> Best regards,
> 
> Dalyoung
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-08-08 14:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1439028001.13416.ntg-context@ntg.nl>
2015-08-08 13:49 ` Jeong Dal
2015-08-08 14:10   ` Otared Kavian [this message]
2015-08-08 14:21   ` Wolfgang Schuster

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=0D126E00-A1AE-4FCF-B4EC-D18FE763F5F9@gmail.com \
    --to=otared@gmail.com \
    --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).