ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michael Urban via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Michael Urban <urban.m@ca.rr.com>
Subject: Re: Full-page Figure?
Date: Wed, 30 Mar 2022 14:41:57 -0700	[thread overview]
Message-ID: <390149FC-B24A-43E5-B25D-5024B2A809E7@ca.rr.com> (raw)
In-Reply-To: <2625161.mvXUDI8C0e@sreeramtplt>

Almost there.  But if I add \setuppagenumbering  [alternative=doublesided]
to the example, there is a blank page before the makeup page, and an unnumbered blank page after.  If I add doublesided=no to the
\setupmakeup options, the unnumbered blank page is not there, but there is still a blank page before.  It is seemingly forcing
a right-hand page for some reason I do not understand.

	Mike


> On Mar 28, 2022, at 6:37 PM, śrīrāma via ntg-context <ntg-context@ntg.nl> wrote:
> 
> On Tuesday, March 29, 2022 4:18 AM Michael Urban via ntg-context wrote:
>> Is there a simple way to accomplish this?
> 
> I suppose you need 'postponing'. See
>  https://wiki.contextgarden.net/Command/startpostponing
> [One can specify a page explicitly, or, more conveniently, an offset]
> 
> First, we define a makeup and enable header, footer and page for it. Then we can put the float inside the makeup and wrap it with \start...\stoppostponing. Here is a MWE:
> 
> %%% start example
>  \setupexternalfigures[location=default]
>  \definemakeup
>    [FloatPage]
>  \setupmakeup
>    [FloatPage]
>    [headerstate=normal,
>       pagestate=start,
>           align=middle,
>     footerstate=normal]
> 
>  \setupheadertexts[]
>  \setupheadertexts[chapter][\date]
>  \setupfootertexts[pagenumber]
> 
>  \starttext
>  \startchapter [title={Chapter title}]
>    \startpostponing[+1]
>      \startFloatPagemakeup
>      \placefigure{a floating cow}{\externalfigure[cow]}
>      \stopFloatPagemakeup
>    \stoppostponing
>  \dorecurse{6}{\samplefile{knuth}}
>  \blank
> 
>  \dorecurse{2}{\samplefile{tufte}}
>  \stopchapter
>  \stoptext
> %%% stop example
> 
> Of course, I think some manual hand-tuning is required (in the final stages of the document) in deciding the right place to put the postponing block and in deciding what offset is best.
> 
> Sreeram
> 
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2022-03-30 21:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-28 22:48 Michael Urban via ntg-context
2022-03-29  1:37 ` śrīrāma via ntg-context
2022-03-30 21:41   ` Michael Urban via ntg-context [this message]
2022-03-31  1:13     ` śrīrāma via ntg-context
2022-03-31  6:38     ` Hans Hagen via ntg-context
2022-03-31 23:40       ` Michael Urban via ntg-context
2022-03-31  1:46 ` śrīrāma via ntg-context

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=390149FC-B24A-43E5-B25D-5024B2A809E7@ca.rr.com \
    --to=ntg-context@ntg.nl \
    --cc=urban.m@ca.rr.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).