From: Jay B. <bel...@tr...> - 2004-08-26 18:49:04
|
Ralf HEMMECKE <hem...@ri...> writes: ... > >>> \begin{image}{directory/name} ... \end{image} Hyperlatex couldn't > >>> deal with that before and it can't deal with it now. > > Well, with hyperlatex-relative-prefix it is easy. ... > If I am not wrong then everything works fine if htmldir is ".". You mean still works fine, I hope. ... > In the \endimage code in hyperlatex.sty appears \the\@imagecount. So why > not replace the line > > \jobname.dvi\space>\space\im...@na...^^J% > > by > > \jobname.dvi\space>\space\jobname\the\@imagecount.ps^^J% > > and the same with > > ps2image\space -res\space \image@resolution\space \im...@na...% > > replaced by > > ps2image\space -res\space \image@resolution\space > \jobname\the\@imagecount.ps% The correspoding references in the html file would have to match; how hard would it be to arrange that? Would that be tricky at all? Are there any advantages to specifying the image file name? (Obviously, I don't know the answer to any of these.) > I would then even add code to ps2image to remove the .ps file. > Who would ever need the .ps file? Not me. > Maybe, I do not understand the initial intention, but approximately that > would be my suggestion to > 1) Overcome the directory problem in the image environment and How does this overcome this problem? Doesn't it just make the directory in the image environment impossible (rather than unsupported)? > Hmmm, I cannot think of a quick solution to strip off the directory part > with latex, but it should work somehow. Well, you did come up with a nice solution. But that wouldn't be necessary if the image name is replaced by a counter, right? Jay |