From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47127 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: How to capture a typeset page into a box instead of shipping it out Date: Sat, 31 Jan 2009 02:32:08 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1079326421==" X-Trace: ger.gmane.org 1233365636 23038 80.91.229.12 (31 Jan 2009 01:33:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2009 01:33:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 31 02:35:09 2009 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 1LT4lH-0000s2-DP for gctc-ntg-context-518@m.gmane.org; Sat, 31 Jan 2009 02:35:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5CE2B1FDE7; Sat, 31 Jan 2009 02:33:46 +0100 (CET) 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 23521-03-2; Sat, 31 Jan 2009 02:32:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE4D41FDD2; Sat, 31 Jan 2009 02:32:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE89C1FDCF for ; Sat, 31 Jan 2009 02:32:45 +0100 (CET) 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 23521-03 for ; Sat, 31 Jan 2009 02:32:10 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by ronja.ntg.nl (Postfix) with ESMTP id E5B291FDD2 for ; Sat, 31 Jan 2009 02:32:10 +0100 (CET) Original-Received: from mail-bw0-f16.google.com (mail-bw0-f16.google.com [209.85.218.16]) by filter2-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0V1W9cO014951 for ; Sat, 31 Jan 2009 02:32:09 +0100 Original-Received: by bwz9 with SMTP id 9so350363bwz.2 for ; Fri, 30 Jan 2009 17:32:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=W2L7cbiAJYl2/rGoFpdcl7+0ZifgVgu9T3ikAWPNlRs=; b=ZQAytT5PIEmFF4zTsElHNt5qeTK9IM2x3FKjbekP/oBIu+rw8Q+yFwZYKSdbHJP8vr mCCJ5XtdtEBqjZyIjOCzmqLwgItn36nUmwLnX7X3Nx+yUN0YAONCsH2zptq6ZrjJzzo7 Or3bNNVn0/otZzi8+fxrwoFsT+7Xc8E0qSzAo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=phA9RBvjBK4pF3sZj85/2xC7RKJmJKf5RZKWTwgDzxzN6Fr7G5wUCRqceOxpkkX8qS APBKI/o1vBYD5RQKTd63ZtFJFiE3C+sXRfLlDbtDtP8evag9eDQ8TnICIuJ/KxMuFDh0 z/jVqIM7BkCCJHses6ueuR5AgakO+4y6LuzP0= Original-Received: by 10.180.203.3 with SMTP id a3mr643390bkg.146.1233365528800; Fri, 30 Jan 2009 17:32:08 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.16; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 173043926 - 6a295019cf38 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:47127 Archived-At: --===============1079326421== Content-Type: multipart/alternative; boundary=001636c5ad0d38ec540461bd4a4f --001636c5ad0d38ec540461bd4a4f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Sat, Jan 31, 2009 at 12:34 AM, Kevin D. Robbins < krobbins@alumni.princeton.edu> wrote: > Hi all, > > I am looking for ideas of how to capture a typeset page (as it would appear > in the resulting pdf output) into a box instead of actually shipping it out > directly, if it is possible. I would like to take advantage of ConTeXt's > layout features including layers, otherwise I would just create the box with > \setbox. > It's not an answer, but I think that it's an OTR (output routine) + mutlipass problem. if you search for 'OTR' in base/* you will find what you need. Also lua offers a table serializazion which can be useful instead of \showbox . > > My intent is to draw slides using all of ConTeXt's many layout features, > but capture the rendered slide in a box so I can use it either as a full > page in the presentation output or as a scaled image included as a figure in > a full text "train the trainer" document. > Why the final pdf is not OK ? You can convert an arbitrary page to a bitmap with ghostscript . -- luigi --001636c5ad0d38ec540461bd4a4f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Sat, Jan 31, 2009 at 12:34 AM, Kevin = D. Robbins <krobbins@alumni.princeton.edu> wrote:
Hi all,

I am looking for ideas of how to capture a typeset page (as = it would appear in the resulting pdf output) into a box instead of actually= shipping it out directly, if it is possible. I would like to take advantag= e of ConTeXt's layout features including layers, otherwise I would just= create the box with \setbox.
It's not an answer, but I think that it's an OTR = (output routine) + mutlipass problem.
if you search for 'OTR' in base/*
you will find what you need.Also lua offers a table serializazion which can be useful instead of \sho= wbox .
 

My = intent is to draw slides using all of ConTeXt's many layout features, b= ut capture the rendered slide in a box so I can use it either as a full pag= e in the presentation output or as a scaled image included as a figure in a= full text "train the trainer" document.
Why  the final pdf is not OK ?
You can convert an= arbitrary  page to a bitmap with ghostscript .
--
= luigi

--001636c5ad0d38ec540461bd4a4f-- --===============1079326421== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1079326421==--