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: Request for delimited texts
Date: Sat, 22 Jan 2011 17:42:36 +0100	[thread overview]
Message-ID: <C9007A9D-BB9A-47AB-A093-716D6BE48B39@gmail.com> (raw)
In-Reply-To: <71D8CECB-1D07-42DF-8818-423A418E87B9@uni-koblenz.de>


Am 22.01.2011 um 13:25 schrieb Andreas Harder:

> Hi all,
> 
> is it possible to extend the delimited texts implementation in such a way that the environment would accept optional arguments. What I have in mind is something like this:
> 
> \setupdelimitedtext
>  [quotation]
>  [% author=Default Author,
>   right=”\wordright{\delimitedtextparameter{author}}]
> 
> \starttext  \showframe
>  \startquotation% [author=Some Author]
>    \dorecurse{50}{text }
>  \stopquotation
>  \startquotation% [author=Another Author]
>    \dorecurse{50}{text }
>  \stopquotation
> \stoptext

\usemodule[annotation]

\setupdelimitedtext
  [blockquote]
  [spacebefore=line]

\define[2]\AnnotationCommand
  {\startblockquote
   “#2”\wordright{\annotationparameter{subtitle}}%
   \stopblockquote}

\setupannotation
  [     display=no,
	alternative=command,
	   command=\AnnotationCommand]

\starttext

Thus, I came to the conclusion that the designer of a new
system must not only be the implementer and first
large-scale user; the designer should also write the first
user manual.

The separation of any of these four components would have
hurt \TeX\ significantly. If I had not participated fully in
all these activities, literally hundreds of improvements
would never have been made, because I would never have
thought of them or perceived why they were important.

But a system cannot be successful if it is too strongly
influenced by a single person. Once the initial design is
complete and fairly robust, the real test begins as people
with many different viewpoints undertake their own
experiments. 

\startannotation {Peter D. Ward}
The Earth, as a habitat for animal life, is in old age and
has a fatal illness. Several, in fact. It would be happening
whether humans had ever evolved or not. But our presence is
like the effect of an old-age patient who smokes many packs
of cigarettes per day – and we humans are the cigarettes.
\stopannotation

We thrive in information-thick worlds because of our
marvelous and everyday capacity to select, edit,
single out, structure, highlight, group, pair, merge,
harmonize, synthesize, focus, organize, condense,
reduce, boil down, choose, categorize, catalog, classify,
list, abstract, scan, look into, idealize, isolate,
discriminate, distinguish, screen, pigeonhole, pick over,
sort, integrate, blend, inspect, filter, lump, skip,
smooth, chunk, average, approximate, cluster, aggregate,
outline, summarize, itemize, review, dip into,
flip through, browse, glance into, leaf through, skim,
refine, enumerate, glean, synopsize, winnow the wheat
from the chaff and separate the sheep from the goats.

\stoptext

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


      reply	other threads:[~2011-01-22 16:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-22 12:25 Andreas Harder
2011-01-22 16:42 ` Wolfgang Schuster [this message]

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=C9007A9D-BB9A-47AB-A093-716D6BE48B39@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).