[texhax] Include online files when compiling

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Thu Nov 6 09:29:21 CET 2003

> I would like to know if there is any way to include a http file, not just
> hyperreffing, when compiling for example
> \begin{document}
> \include{http://wordsmith.org/awad/archives/0103}
> \end{document}

not until someone integrates the capabilities of the web into their
file system ... or writes a tex library that decodes the file name
enough to detect a web address, and also includes a wget-like library
in their build.

you may gather that i don't believe it's possible.  yet.

one might write something based on \write18 that emits a script to
copy the stuff using wget, then inputs the result -- \httpinput, sort
of thing.  i'll do that (for use under un*x systems) if i get a free
moment (i don't know how one would do it under widnoze).

oh, and don't use \include except in the special situation where you
want to use \includeonly on a large chapter-based document.

\input (same syntax) is adequate for every other situation, and
doesn't have the baggage of extra page throws

More information about the texhax mailing list