ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Yue Wang <yuleopen@gmail.com>
To: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Questions related to margin/dynamic layout
Date: Mon, 29 Aug 2011 20:32:46 -0400	[thread overview]
Message-ID: <CA+C1juazAwtMT1gv3qMJR=kFy6_6WBRDbayeLxKri+5QQ_GkUg@mail.gmail.com> (raw)
In-Reply-To: <D62CF893-0A18-4174-8F4F-3BE666C1AD5B@googlemail.com>

On Mon, Aug 29, 2011 at 1:45 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> Am 29.08.2011 um 19:00 schrieb Yue Wang:
>
>> Many thanks! Wolfgang!
>>
>> it seems that this is a mkiv only command.
>
> No, all commands are also available with mkii but the note mechanism has some limitations.
>
>> what about the second and third question?
>
> Dunno about the second question, maybe there is a tracker option you can use.
>
> For the third a few more infos can be useful. When you want to keep the picture and the text together you can try to place the text for the picture with layers too, there are examples for this in the “details” and the “style” manuals.
>

the text main text (just normal text in between the start text and
stop text). so "details" and "style" might not suffice.

Since if I put it within a layer, the text will not flow correctly.

for example:

\starttext

(a lot of paragraphs)

surrounding paragraphs

\some_command_to_include_the_picture

surrounding paragraphs

(a lot of paragraphs)

\stoptext

here, the paragraphs should run as normal paragraphs, with these requirement:

1. the paragraphs runs continuously
2. when the picture occurs, the layout of that span changes
3. the paragraphs still runs without (page) breaks through surrounding
pages including the picture span page.
4. the surrounding paragraphs before and after, should appear near the picture.


take an example:

\starttext
paragraphs A-P
\include picture
paragraph Q-Z
\stoptext

the final result should be:

page1: para A,B,C
page2: para D,E
....
page 13: para M, N
page 14: 2/3 picture
page 15: 1/3 picture + text flow (para O,P,Q)
page 16: paraR, S,
....

when the user include the picture, he will have no idea where the
picture might appear.
So is there a way to automatically change the page layout at a
specific page (at this example, page 14,15).





> Wolfgang
>
>
___________________________________________________________________________________
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:[~2011-08-30  0:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-27  3:40 Yue Wang
2011-08-28 14:25 ` Yue Wang
2011-08-29 16:41 ` Wolfgang Schuster
2011-08-29 17:00   ` Yue Wang
2011-08-29 17:45     ` Wolfgang Schuster
2011-08-30  0:32       ` Yue Wang [this message]

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='CA+C1juazAwtMT1gv3qMJR=kFy6_6WBRDbayeLxKri+5QQ_GkUg@mail.gmail.com' \
    --to=yuleopen@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=schuster.wolfgang@googlemail.com \
    /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).