ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid ادريس   سماوي حامد" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Whitespace within framedtexts
Date: Sun, 13 Jul 2014 17:10:06 -0600	[thread overview]
Message-ID: <op.xiyla3t1pw6hmh@ishamid-pc> (raw)
In-Reply-To: <3A2A9789-342B-438B-97C6-484768CD1579@umich.edu>

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
___________________________________________________________________________________

      reply	other threads:[~2014-07-13 23:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-13 22:35 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 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=op.xiyla3t1pw6hmh@ishamid-pc \
    --to=ishamid@colostate.edu \
    --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).