Re: [NTG-context] Whitespace within framedtexts

2014-07-13 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 13 Jul 2014 16:35:32 -0600, Idris Samawi Hamid ادريس   سماوي حامد  
isha...@colostate.edu wrote:



See attached.


Attached

--

Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

framedtexts.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] Whitespace within framedtexts

2014-07-13 Thread Aditya Mahajan

 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.

Aditya
___
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
___

Re: [NTG-context] Whitespace within framedtexts

2014-07-13 Thread Idris Samawi Hamid ادريس سماوي حامد
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
___