From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63787 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Creating graphic file instead of PDF Date: Sun, 21 Nov 2010 10:12:48 +0100 Message-ID: References: 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: dough.gmane.org 1290330781 30757 80.91.229.12 (21 Nov 2010 09:13:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 09:13:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 21 10:12:57 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PK5yj-0006wK-1z for gctc-ntg-context-518@m.gmane.org; Sun, 21 Nov 2010 10:12:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2CCCDCA860; Sun, 21 Nov 2010 10:12:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rBZEp-xnp1KS; Sun, 21 Nov 2010 10:12:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 42E20CA843; Sun, 21 Nov 2010 10:12:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 58F47CA843 for ; Sun, 21 Nov 2010 10:12:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id S1k58M+CuGsm for ; Sun, 21 Nov 2010 10:12:50 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 387BACA83E for ; Sun, 21 Nov 2010 10:12:50 +0100 (CET) Original-Received: from mail-qw0-f41.google.com (mail-qw0-f41.google.com [209.85.216.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAL9CmqP013270 for ; Sun, 21 Nov 2010 10:12:49 +0100 Original-Received: by qwi2 with SMTP id 2so1435170qwi.14 for ; Sun, 21 Nov 2010 01:12:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=xXzXz1tzApabwsCT1lN4qbI5nz6x3pS9DVGH3qtWI10=; b=f0sjspt1sMXgOdG0gvZlGvmDmqCZkv1GWtBCg2hz3PEifE980RGPnAnwE81huYIOng 4uzPE3x5BgyLFbvAHEefnIx2oB53I5wlIxkTFTcHiAuctNBiwfB6By5CfmZ0YAONuvSG E6+kyoREphFqEenv1ldpRZ5jrdyRbulbMXQRI= 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=WNKeakWUDbaSjC3Xvn0EVXaSGdxXit8U49S9GOGYBE6W4m6PL9XeRwhnYNFshMdqy+ dRSiOk/1mjxg5aSs/eiU1x7y9GAMkuy5MIW5kj7dig2Qicg/JNRxDUSSRHCageK1Yyry XeKqfNlh4luxpGRib4rLYZeIm2xPVy9ernS0g= Original-Received: by 10.229.189.78 with SMTP id dd14mr3814960qcb.89.1290330768237; Sun, 21 Nov 2010 01:12:48 -0800 (PST) Original-Received: by 10.229.231.198 with HTTP; Sun, 21 Nov 2010 01:12:48 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.41; 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: 0bDxJcNH8 - d734df77b283 - 20101121 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:63787 Archived-At: On Sun, Nov 21, 2010 at 10:07 AM, Cecil Westerhof wrote: > 2010/11/21 luigi scarso : >>> I am making flowcharts with ConTeXt. Because the flowcharts have to be >>> included in other documents, I would like to make graphic files (jpeg, >>> png, ...). Also not bigger as needed to represent the flowchart. >>> Can this be done. >> Just convert the pdf in jpeg with (for example) ghostscript. > > This works, but the problem is that I get an image the size of an A4. > This is mostly whitespace. Is it not possible to only get the used > part? Maybe wrap your flowcharts-code in \startTEXpage ... \stopTEXpage, ie something like this \starttext \startTEXpage Put your flowcharts-code here... \stopTEXpage \stoptext -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________