From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82159 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: How to center with picture taken into consideration Date: Sat, 27 Apr 2013 21:24:17 +0200 Message-ID: <87k3nnydy6.fsf@micropit.couberia.selfip.net> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1367090661 28698 80.91.229.3 (27 Apr 2013 19:24:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Apr 2013 19:24:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 27 21:24:25 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UWAjQ-0002H0-Vf for gctc-ntg-context-518@m.gmane.org; Sat, 27 Apr 2013 21:24:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C7FCF101E9; Sat, 27 Apr 2013 21:24:23 +0200 (CEST) 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 zSkYW7Rq9k6p; Sat, 27 Apr 2013 21:24:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7EC72101E5; Sat, 27 Apr 2013 21:24:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C46FB101E5 for ; Sat, 27 Apr 2013 21:24:21 +0200 (CEST) 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 pOMzvtzDpUqC for ; Sat, 27 Apr 2013 21:24:20 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 973D5101E4 for ; Sat, 27 Apr 2013 21:24:20 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp06.smtpout.orange.fr [80.12.242.128]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3RJOIoG009305 for ; Sat, 27 Apr 2013 21:24:18 +0200 Original-Received: from micropit.couberia.selfip.net ([2.2.9.149]) by mwinf5d41 with ME id V7QJ1l0043CvuJi037QJRF; Sat, 27 Apr 2013 21:24:18 +0200 Original-Received: by micropit.couberia.selfip.net (Postfix, from userid 1000) id EE849A60BF3; Sat, 27 Apr 2013 21:24:17 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: (Sietse Brouwer's message of "Sat, 27 Apr 2013 14:35:03 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (gnu/linux) X-Bayes-Prob: 0.0018 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.128; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NJt7oiLP - 1066471cc4fa - 20130427 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82159 Archived-At: On Sat, Apr 27 2013, Sietse Brouwer wrote: > how to obtain the an image's width and/or height from Lua. Here an example: http://modules.contextgarden.net/dl/grph-downsample.lua/tex/context/third/grph-downsample/grph-downsample.lua -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________