ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: [OT] random Computer Science paper generator
Date: Wed, 9 Apr 2008 10:02:32 +0200	[thread overview]
Message-ID: <115224fb0804090102vd9aa44fh2e9df77fdaed05da@mail.gmail.com> (raw)
In-Reply-To: <fe8d59da0804090046l1f2eba18y78c5b57e3e3ab005@mail.gmail.com>

On Wed, Apr 9, 2008 at 9:46 AM, luigi scarso <luigi.scarso@gmail.com> wrote:
> On Wed, Apr 9, 2008 at 9:13 AM, Taco Hoekwater <taco@elvenkind.com> wrote:
> > luigi scarso wrote:
> >  > http://pdos.csail.mit.edu/scigen/
> >  > it would be nice to have something in context.
> Sorry, missing some words ;
> it should be
> "it would be nice to have something in context to show on the wiki"
> I'm sure that pdfs will be more beatiful, and we will have some
> original examples to show on the wiki.
> >
> >  Why exactly? If it is just for the creation of sample documents:
> >  SCIgen is a template-driven perl script that is open-source, so
> >  creating a context backend would be easy (and fun).

But there is already a mechanism to create fake documents, not so
nice as real fake text but usefull.

m-visual.tex

%D For Mojca:
%D
%D \starttyping
%D \def\simplethesis
%D   {\setupsystem[random=1234]
%D    \title{\fakewords{3}{4}}
%D    \placelist[chapter,section]
%D    \dorecurse{6}
%D      {\chapter{\fakewords{5}{10}}
%D       \dorecurse{5}
%D         {\section{\fakewords{2}{5}}
%D          \dorecurse{2}
%D            {\dorecurse{3}{\fakewords{100}{200}\endgraf}
%D             \placefigure{\fakewords{8}{15}}{\fakefigure{5cm}{3cm}{10cm}{5cm}}
%D             \dorecurse{2}{\fakewords{100}{200}\endgraf}}}}}
%D
%D \starttext
%D   \simplethesis
%D \stoptext
%D \stoptyping

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-04-09  8:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-08 23:57 luigi scarso
2008-04-09  6:57 ` Henning Hraban Ramm
2008-04-09  7:13 ` Taco Hoekwater
2008-04-09  7:46   ` luigi scarso
2008-04-09  8:02     ` Wolfgang Schuster [this message]
2008-04-09  8:04     ` Taco Hoekwater
2008-04-09 11:25       ` luigi scarso
2008-04-09 11:49         ` Mojca Miklavec
2008-04-09 13:38           ` Taco Hoekwater
2008-04-09 18:20         ` Jean Magnan de Bornier
2008-04-09 19:06           ` Taco Hoekwater
2008-04-09  9:08 ` Mojca Miklavec
2008-04-09 10:07 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=115224fb0804090102vd9aa44fh2e9df77fdaed05da@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).