[pstricks] \pstVerb scope

Michelle Baert m.baert at free.fr
Thu Jan 17 13:32:27 CET 2008


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 ?

--
Best regards,

Michelle




More information about the PSTricks mailing list