[NTG-context] \appliedfigure...

Hans Hagen pragma at wxs.nl
Wed Nov 16 23:29:29 CET 2005


Taco Hoekwater wrote:

> Peter M�nster wrote:
>
>> On Wed, 16 Nov 2005, Taco Hoekwater wrote:
>>
>>
>>> Peter M�nster wrote:
>>>
>>>> On Wed, 16 Nov 2005, Taco Hoekwater wrote:
>>>>
>>>> Yes and no, \appliedfigureoptions seems to be empty:
>>>
>>>
>>> It contains only the value of the option= key from
>>> \externalfigure, so it will be empty in this case.
>>
>>
>> Is there any possibility to get "width=1cm" ?
>
>
> Not using \appliedfigure.... , but if you are willing
> to mess with \unprotect:
>
>   \unprotect
>    \appendtoks
>       \writestatus{figures}{@@efwidth=\@@efwidth}
>       \writestatus{figures}{figurewidth=\figurewidth}
>     \to\externalfigurepostprocessors
>   \protect
>
> Not sure if Hans is all that happy with that, though, because
> the use of low-level \@@ef... stuff is precisely what the
> \applied .. macros were supposed to hide.


hm, @@ef is going to stay, but it is indeed ugly (maybe some day we have 
\figureparameter

btw, how about:

\usemodule[res-trace]

it will let context write a \jobname.rlg (resource log) with some info

Hans


More information about the ntg-context mailing list