[l2h] Question on psfrag
Ross Moore
Ross Moore <ross@ics.mq.edu.au>
Thu, 20 Apr 2000 09:58:58 +1000 (EST)
> I installed latex2html-99.2beta6 which included support for psfrag.
> However it does not seem to support lines like:
>
> \psfrag{NOT DONE YET}[cc][cc]{PSFRAG WORKS...}
>
> , but complains it can't find a curly bracket. (On my Windows NT it even
> crashes.) Guess it's because the
> positioning arguments (within square brackets) don't seem to be
> supported
Yes; that's correct analysis.
Supporting them is easy to achieve.
Change the lines in graphics.perl and graphicx.perl and psfrag.perl from
psfragstar # {} # {}
psfrag # {} # {}
to
psfragstar # {} # [] # [] # {}
psfrag # {} # [] # [] # {}
Are there other positions in which optional arguments can occur,
either with \psfrag or with other commands defined in the psfrag package ?
>
> \psfrag{NOT DONE YET}{PSFRAG WORKS...}
>
> , however does work.
> Is there a fix for this? The "fast" way would be if "[]" where just
> ignored, but I'm not really a perl hacker so I don't know how to fix
> that. Any ideas?
Hope this helps,
Ross Moore
>
> regards
> /Stefan