From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: A "Lorem ipsum" module?
Date: Fri, 20 Jul 2012 01:20:14 +0200 [thread overview]
Message-ID: <CAF=dkzzoyz32yFO0Xtp8-vAuCzKJRQun-cYu_rBHB8+uWjo+4Q@mail.gmail.com> (raw)
In-Reply-To: <5007EAC7.6090402@wxs.nl>
Hans wrote:
> I've added a module m-ipsum.
Duly wikified, although heaven knows whether people will actually find
it that way. No matter: soon we will have navboxes and that will give
us a shot at coherent topic-based navigation. For now I've made a
pagelet at http://wiki.contextgarden.net/Dummy_text, as well as an
entry on the Modules page.
> I have no clue if it provides what one expects from such a module
Personally, I think the ability to write one's thesis is a reasonable
expectation. ;-)
% Shamelessly borrowed from
% http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/m-visual.mkiv#l234
\unexpanded\def\ipsumthesis
{\setupsystem[random=1234]
\title{\ipsum[alternative=lines, n=1]} % the first line from the sample text
\placelist[chapter,section]
\dorecurse{3}
{\chapter{\ipsum[alternative=lines, n=random]} % random sentence
from the sample text
\dorecurse{5}
{\section{\ipsum[alternative=lines, n=random]}
\dorecurse{4}
{\dorecurse{3}{\ipsum[alternative=paragraph, n=random]\endgraf}
\placefigure
{\ipsum[alternative=lines,n=random]}
{\fakeimage{5cm}{3cm}{10cm}{5cm}}
\dorecurse{2}{\ipsum[alternative=paragraph, n=random]\endgraf}}}}}
Regards,
Sietse
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-07-19 23:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 1:27 Rogers, Michael K
2012-07-19 5:30 ` Henning Hraban Ramm
2012-07-19 11:08 ` Hans Hagen
2012-07-19 14:42 ` Marco
2012-07-19 14:52 ` Wolfgang Schuster
2012-07-19 14:59 ` luigi scarso
2012-07-19 15:17 ` Marco
2012-07-19 23:20 ` Sietse Brouwer [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-07-18 9:42 Marcin Borkowski
2012-07-18 10:18 ` Marco
2012-07-18 11:33 ` Philipp Gesang
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='CAF=dkzzoyz32yFO0Xtp8-vAuCzKJRQun-cYu_rBHB8+uWjo+4Q@mail.gmail.com' \
--to=sbbrouwer@gmail.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).