From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43944 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: fitting a picture to the available space Date: Fri, 12 Sep 2008 12:02:37 +0200 Message-ID: <115224fb0809120302g4b1a0d40u2433d80cc3505217@mail.gmail.com> References: <396E487E-2550-48FB-BF43-BC51ED2388F4@uni-bonn.de> <6faad9f00809110931s21db42a7v8a12cd4fd9dc9c28@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221214145 31951 80.91.229.12 (12 Sep 2008 10:09:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 10:09:05 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 12 12:10:01 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Ke5b8-0000jq-KD for gctc-ntg-context-518@m.gmane.org; Fri, 12 Sep 2008 12:09:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 73DEC1FFA3; Fri, 12 Sep 2008 12:08:51 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11015-01-2; Fri, 12 Sep 2008 12:07:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 250C31FFAF; Fri, 12 Sep 2008 12:07:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BAB511FFA3 for ; Fri, 12 Sep 2008 12:07:50 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11015-01 for ; Fri, 12 Sep 2008 12:07:09 +0200 (CEST) Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by ronja.ntg.nl (Postfix) with ESMTP id C8ECA1FFB5 for ; Fri, 12 Sep 2008 12:02:40 +0200 (CEST) Original-Received: by an-out-0708.google.com with SMTP id c8so88956ana.14 for ; Fri, 12 Sep 2008 03:02:39 -0700 (PDT) Original-Received: by 10.103.24.11 with SMTP id b11mr2778391muj.98.1221213757737; Fri, 12 Sep 2008 03:02:37 -0700 (PDT) Original-Received: by 10.103.215.10 with HTTP; Fri, 12 Sep 2008 03:02:37 -0700 (PDT) In-Reply-To: <6faad9f00809110931s21db42a7v8a12cd4fd9dc9c28@mail.gmail.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43944 Archived-At: On Thu, Sep 11, 2008 at 6:31 PM, Mojca Miklavec wrote: > On Thu, Sep 11, 2008 at 12:06 AM, Thomas A. Schmitz wrote: >> Hi guys, >> >> I'm pulling my hair out. I'm trying to set up an automatism to fit >> pictures to the available space on a slide. > > Hello, > > I'm probably talking about something else, though highly related. > There's one thing that I often miss on slides: > > *Here's a title* > > - here are > - some items > > [and I want the picture to fill up all the remaining space on slide] > > Or even if there' only title + image. I tried option=max (or something > similar), but always ended up setting image size manually. Most often > I got title on one page and image on another (It would be less painful > to have image on the same page, even if it hangs much over the lower > border - is there something similar to \placefigure[thispage] option > (puts the figure on the same page, even if there's no space left)?) > > Mojca > > [I need to stop asking questions now.] Quick and dirty: \showframe \starttext \input knuth \start \scratchdimen=\pagegoal \advance\scratchdimen by -\pagetotal \advance\scratchdimen by -2\lineheight \blank \hrule height \scratchdimen\relax \stop \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________