On 10/16/2002 7:45 PM, Dekel Tsur wrote:
> Just look at psfrag.sty.
Ok, I looked at it before asking, and maybe I should have found the
solution myself, but believe me, *that* code still goes far beyond my
present knowledge. Just have the time right now to learn "by doing" what
I need at the moment, I know it's the wrong approach, maybe I'm doing a
lot of redundant or silly hacks not knowing of the existence of
well-established solutions for most of the tasks, I hope I'll have the
time to learn it better later.
> The answer is:
>
> \let\old@@@psfrag=\@@@psfrag
> \def\@@@psfrag#1.#2.#3[#4][#5][#6][#7]#8{%
> \old@@@psfrag#1.#2.#3[#4][#5][#6][#7]{\mygraphicstextsize{#8}}}
>
> Or perhaps better:
>
> \let\old@pfg@@place=\pfg@@place
> \def\pfg@@place#1#2#3{\old@pfg@@place{#1}{#2}{\mygraphicstextsize{#3}}}
:-) I don't have to tell you that they both work very well. Thank you
soooo much!
Lucian