On Sun, 13 Jul 2014 16:46:00 -0600, Aditya Mahajan <adit...@umich.edu> wrote:


On Jul 13, 2014, at 6:35 PM, Idris Samawi Hamid ادريس سماوي حامد <isha...@colostate.edu> wrote:

Dear gang,

How do we activate/control whitespace (and indenting) within framed texts? The following seems to fail:

==============
\setupframedtexts
[frame=off,
location=middle,
before={\blank[medium]\setupwhitespace[medium]},
after={\blank[medium]}]

\setupwhitespace[medium]
\setupindenting[yes,medium,first]

\starttext
\input knuth

\startframedtext
\input knuth
\stopframedtext

\input knuth
\stoptext
==============

See attached. Thanks in advance

Untested: try indenting=yes for indentation. For white space, enclose the settings in a startsetups...stopsetups, and then use the setups=... key for framedtext.

Thanks Aditya. indenting=yes was a bust but the following works:

\startsetups[framedwhitespace]
\setupwhitespace[medium]
\setupindenting[yes,medium,first]
\stopsetups

Thanks again and best wishes
Idris
--

Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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 via email to