[Tex/LaTex] How to replace lipsum text with online text in LaTeX

blindtextlipsum

The packages lipsum and blindtext work well enough to flesh-out and format LaTeX documents, but are these packages all that's available? The question to answer in this thread: how can I use newly generated web content in place of the usual text produced by more standard text generators?

Best Answer

In ConTeXt, you can use \input and \externalfigure to source any http:// resource as well. So, just pick your favourite online text and simply \input it. An example:

\starttext

\startasciimode
\input http://www.gutenberg.org/cache/epub/10947/pg10947.txt
\stopasciimode

\stoptext

which gives a 208 page document. The \startasciimode is to change the catcode of # so that it does not cause an error.