On 02/04/2018 07:04 PM, Henning Hraban Ramm wrote:
> Am 2018-02-04 um 13:06 schrieb Hans Hagen <pra...@wxs.nl>:
> 
>> Not sure what you want top know but a lot of image properties can be checked 
>> by prerolling:
>> \getfiguredimensions[t:/sources/cow.pdf]
> 
> This is really interesting, but my original question was about the
> file path resolver, i.e. how to get "t:/sources/cow.pdf" from just "cow"?

Hi Hraban,

in case your question remains unanswered (which isn’t clear to me):

    \setupexternalfigures[location=default]
    \starttext

    \getfiguredimensions[cow.pdf]

    \starttabulate[|T|T|]
    \NC \string\figurefullname      \NC \figurefullname      \NC \NR
    \NC \string\figurefilepath      \NC \figurefilepath      \NC \NR
    \NC \string\figurefilename      \NC \figurefilename      \NC \NR
    \NC \string\figurefiletype      \NC \figurefiletype      \NC \NR
    \stoptabulate
    \stoptext

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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 via email to