ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Whitespace within framedtexts
@ 2014-07-13 22:35 Idris Samawi Hamid ادريس   سماوي حامد
  2014-07-13 22:37 ` Idris Samawi Hamid ادريس   سماوي حامد
  2014-07-13 22:46 ` Aditya Mahajan
  0 siblings, 2 replies; 4+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2014-07-13 22:35 UTC (permalink / raw)
  To: ntg-context

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 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Whitespace within framedtexts
  2014-07-13 22:35 Whitespace within framedtexts Idris Samawi Hamid ادريس   سماوي حامد
@ 2014-07-13 22:37 ` Idris Samawi Hamid ادريس   سماوي حامد
  2014-07-13 22:46 ` Aditya Mahajan
  1 sibling, 0 replies; 4+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2014-07-13 22:37 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 269 bytes --]

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

> See attached.

Attached

-- 

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

[-- Attachment #2: framedtexts.pdf --]
[-- Type: application/pdf, Size: 10332 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Whitespace within framedtexts
  2014-07-13 22:35 Whitespace within framedtexts Idris Samawi Hamid ادريس   سماوي حامد
  2014-07-13 22:37 ` Idris Samawi Hamid ادريس   سماوي حامد
@ 2014-07-13 22:46 ` Aditya Mahajan
  2014-07-13 23:10   ` Idris Samawi Hamid ادريس   سماوي حامد
  1 sibling, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2014-07-13 22:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On Jul 13, 2014, at 6:35 PM, Idris Samawi Hamid ادريس   سماوي حامد <ishamid@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Whitespace within framedtexts
  2014-07-13 22:46 ` Aditya Mahajan
@ 2014-07-13 23:10   ` Idris Samawi Hamid ادريس   سماوي حامد
  0 siblings, 0 replies; 4+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2014-07-13 23:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

>
>> On Jul 13, 2014, at 6:35 PM, Idris Samawi Hamid ادريس   سماوي حامد  
>> <ishamid@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-13 23:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-13 22:35 Whitespace within framedtexts Idris Samawi Hamid ادريس   سماوي حامد
2014-07-13 22:37 ` Idris Samawi Hamid ادريس   سماوي حامد
2014-07-13 22:46 ` Aditya Mahajan
2014-07-13 23:10   ` Idris Samawi Hamid ادريس   سماوي حامد

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).