ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: fullpage graphic
Date: Wed, 2 Aug 2006 20:06:47 -0400 (EDT)	[thread overview]
Message-ID: <Pine.WNT.4.63.0608022001360.3648@nqvgln> (raw)
In-Reply-To: <44D13694.11765.15DBACD@wwl.musensturm.de>

On Wed, 2 Aug 2006, wwl@musensturm.de wrote:

> Hallo!
>
>> Can you try to create a minimal file to play with?
>>
>> Inventing test documents from scratch takes a lot of time, time
>> that is often not available (like today). Having a small but
>> full document will greatly improve your chances of getting a
>> quick response.
>>
>> Cheers,
>> Taco
>>
>
> Sorry Taco, here comes a small testfile which hopefully resamples the
> situation:
> ---------------------------------------------------------------------
> \setuppapersize[a4][a4]
> \setupfloat[figure][none,fit,here,always,top,bottom,force,page]
> \setupcaption[figure][number=no]
> \setuplayout[grid=yes]% Problem doesn't exist with grid=no
> \starttext
> \input tufte
> \placefigure{}{\framed[offset=none]{%
>  \externalfigure[float.png][width=\makeupwidth,height=\textheight]}}
>
> \dorecurse{10}{\par\input tufte}
> \stoptext
> ---------------------------------------------------------------------
>
> I can not find a solution for the following problem:
>
> I would like to place a floating, framed graphic at the next page
> following the \placefigure[]{}{\framed[]{...}} command.
>
> Problem: The graphicdimensions are (\makeupwidth,\textheight).
>
> Neither the options page, here, force or always help.

Maybe I am missing something here. But \placefigure[page].... seems to 
work fine for me. Even larger dimensions do not seem to be a problem.

\input tufte

\placefigure[page,none]{}{\blackrule[width=\textwidth,height=0.9\textheight,color=green]}
\input tufte
\placefigure[page,none]{}{\blackrule[width=\textwidth,height=1.0\textheight,color=green]}
\input tufte
\placefigure[page,none]{}{\blackrule[width=\textwidth,height=1.1\textheight,color=green]}
  \dorecurse{10}{\input tufte}


> If the graphic is a little smaller, so that at least one line of text
>
> fit on the page, than the graphic gets placed at the right page, else
>
> the graphic is placed behind the end of the chapter.

> Second question:
>
> How can I place a fullpage graphic
> (\paperheight+epsilon,\paperwidth+epsilon) as above
> at the next page, and how can I count, but don't display pagenumbers
> for such graphic pages?


If you are willing to manually break the page, you can use
\pagefigure.

See
http://archive.contextgarden.net/thread/20060524.191616.215b52a8.en.html#20060524.191616.215b52a8
on how to make pagefigure increment page numbers.


Aditya

  reply	other threads:[~2006-08-03  0:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.157.1154507989.2039.ntg-context@ntg.nl>
2006-08-02 21:34 ` wwl
2006-08-03  0:06   ` Aditya Mahajan [this message]
2006-08-03  7:15     ` Taco Hoekwater
     [not found] <mailman.181.1154611566.2039.ntg-context@ntg.nl>
2006-08-03 14:00 ` wwl
2006-08-04 10:32   ` Patrick Gundlach
     [not found] <mailman.175.1154588920.2039.ntg-context@ntg.nl>
2006-08-03  9:38 ` wwl
2006-08-03 10:35   ` Hans Hagen
2006-08-01 20:11 wwl

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=Pine.WNT.4.63.0608022001360.3648@nqvgln \
    --to=adityam@umich.edu \
    --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).