[NTG-context] image file resolver in Lua?

Henning Hraban Ramm texml at fiee.net
Thu Feb 8 21:40:31 CET 2018


Am 2018-02-04 um 13:06 schrieb Hans Hagen <pragma at 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]
...
> \NC \string\figurefilepath      \NC \figurefilepath      \NC \NR
> \NC \string\figurefilename      \NC \figurefilename      \NC \NR
> \NC \string\figurefiletype      \NC \figurefiletype      \NC \NR

Sorry, I didn’t recognize that this also answered my question!
Seems like I can condense my calculations a lot...

I started some documentation here: http://wiki.contextgarden.net/Image_Placement

A few of the variables don’t work:
\figurefileresolution, \figurefilecolor, \figurefilearguments, \figureorientation and \figurerotation all lead to errors.
I checked only in the garden yet, so maybe these are quite new?


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD



More information about the ntg-context mailing list