[texhax] including remote graphics file
Victor Ivrii
vivrii at gmail.com
Fri Nov 25 13:11:55 CET 2005
On 11/25/05, Alexander Grahn <A.Grahn at fz-rossendorf.de> wrote:
> Well, I assumed you sought a way to display an image which is held on
> some web server, beeing updated regularly there, such that its current
> state gets displayed whenever the user opens the document (e. g. a chart
> showing stock price development comes to mind).
>
> If you simply want the image file to be downloaded just before its
> inclusion, use of \write18 might help:
>
> \write18{wget http://someserver.org/image.jpeg}
> \includegraphics{image}
>
> However, there are caveats with this approach too. Firstly, it requires the
> fetching command (`wget' in this case) to be installed on the targeted
> system.
wget (or some other command) is rather common.
> Secondly, the user must know about the `-shell-escape' command
> switch to LaTeX/pdfLaTeX, to enable \write18-functionality.
Where this command should be placed? In TeXShop this ansatz runs
perfectly but on terminal command line fails (\write18 does not work)
> Thirdly,
> the image file format must be compatible with the output producing method
> (Dvi, PDF).
This one is standard
>
> Probably, manual download remains the safest option.
>
> Alexander
>
Thanks again = Victor
--
========================
Victor Ivrii, Department of Mathematics, University of Toronto
More information about the texhax
mailing list