[pstricks] \pstVerb scope
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Thu Jan 17 14:10:21 CET 2008
Michelle Baert schrieb:
> Thanks Herbert for those useful guidelines.
>
>
> Le jeudi 17 janvier 2008 à 11:29 +0100, Herbert Voss a écrit :
>
>> your pst-erd.pro:
>>
>> /tx at erdDict 10 dict def % reserves space for 10 definitions
>> ...
> So my dictionary itself is defined in userdict, not in tx at Dict ?
>
> May I do instead:
>
> tx at Dict begin
> /tx at erdDict 10 dict def
> erdDict begin
> /PSfunc { ... } def
> /Another ... def
> ...
> end % erdDict
> end % tx at Dict
>
> in order to have CLW , CP, L, T etc in scope, or should I
> use the original names /currentlinewidth /currentpoint ... ?
> Or should I rely on caller's context to provide them ?
the main dictionary is used anyway, no need for loading tx at Dict
again.
Herbert
More information about the PSTricks
mailing list