ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Henning Hraban Ramm <texml@fiee.net>
Subject: Re: img.scan in lmtx?
Date: Thu, 8 Jul 2021 23:09:33 +0200	[thread overview]
Message-ID: <65d88310-af79-8c83-6fa2-15a1508ef0a9@xs4all.nl> (raw)
In-Reply-To: <B0FB6ECE-FB6A-4EDE-BD4A-E2FB2270F8AC@fiee.net>

On 7/8/2021 8:31 PM, Henning Hraban Ramm wrote:
> 
>> Am 27.01.2020 um 09:16 schrieb Hans Hagen <j.hagen@xs4all.nl>:
>>
>> On 1/26/2020 11:50 PM, Henning Hraban Ramm wrote:
>>
>>> I use the lua function img.scan{filename}, but in lmtx I get "attempt to index a nil value (global 'img')", so I guess this got renamed or moved?
>> Just the high level command:
>>
>> figures.getinfo(name,page)

local t = figures.getinfo("name.pdf",10) -- optional page number



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-07-08 21:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-26 22:50 Henning Hraban Ramm
2020-01-27  8:16 ` Hans Hagen
2021-07-08 18:31   ` Henning Hraban Ramm
2021-07-08 21:09     ` Hans Hagen [this message]
2021-08-05 10:26       ` Henning Hraban Ramm via ntg-context
2021-08-05 15:51         ` Hans Hagen via ntg-context
2021-08-05 17:00           ` Henning Hraban Ramm via ntg-context

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=65d88310-af79-8c83-6fa2-15a1508ef0a9@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).