ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Whitespace within framedtexts
Date: Sun, 13 Jul 2014 18:46:00 -0400	[thread overview]
Message-ID: <3A2A9789-342B-438B-97C6-484768CD1579@umich.edu> (raw)
In-Reply-To: <op.xiyjphn1pw6hmh@ishamid-pc>


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

  parent reply	other threads:[~2014-07-13 22:46 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 [this message]
2014-07-13 23:10   ` Idris Samawi Hamid ادريس   سماوي حامد

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=3A2A9789-342B-438B-97C6-484768CD1579@umich.edu \
    --to=adityam@umich.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).