Am 2012-07-19 um 03:27 schrieb Rogers, Michael K:
On 2012-07-18 Marcin Borkowski <mbork@???> wrote:
> in LaTeX, there is quite a useful package called "lipsum", for
> typesetting varioud amounts of "Lorem ipsum" stuff. Is there
anything
> like that in ConTeXt? (I know about \input knuth, \input tufte etc.,
> but that is not exactly what I have in mind, especially when
giving a
> sample of some design to a customer;).)
The LaTeX lipsum seems to have been pre-download from lipsum.com.
ConTeXt makes this relatively easy. The one problem that might be
solved better is that the paragraphs come in a single xml node
separated by single newlines. I defined a lines environment to make
these into paragraphs, which is not as pretty as I would like.
I also love http://www.blindtextgenerator.de/ :)
For the WebCMS of my employer I wrote a macro that produces dummy text
of a defined length (min, max) from a selection of different texts
(blindtextgenerator’s, that is, plus some company advertising) to fill
new customer’s sites. To get more different texts, it starts after a
random full stop, delivers only complete words etc. (we often need
short dummy text for headlines).
It’s not an example of brilliant programming, but we use freemarker
templates, and its macro language is somewhat restricted... ;-)
Maybe that gives you some ideas...
Regarding ConTeXt, its included sample text (tufte, knuth, zapf etc.)
plus \fakewords were good enough for me.
Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________