ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Zhichu Chen" <zhichu.chen@gmail.com>
Subject: Re: Texts after typing environment
Date: Fri, 29 Sep 2006 11:56:41 +0800	[thread overview]
Message-ID: <769ba7780609282056x373d15d1g8719e25da09da9e6@mail.gmail.com> (raw)
In-Reply-To: <6faad9f00609281757v41bc4748hdc833cae6bd52424@mail.gmail.com>

I've already solved it now. Just
\setuptyping[after=\noindent]
is perfectly for me.

Thank you anyway.

On 9/29/06, Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
> On 9/27/06, Zhichu Chen wrote:
> > Hello everybody,
> >
> > If I type:
> >
> > -------------------------------------------
> > \starttyping
> > some verbatim texts
> > \stoptyping
> > --------------------------------------------
> >
> > does ConTeXt treat it as a complete paragraph?
> > In LaTeX, when I type:
> >
> > --------------------------------------
> > \begin{verbatim}
> > some texts here
> > \end{verbatim}
> > some other texts
> > \begin{verbatim}
> > some texts here
> > \end{verbatim}
> >
> > other materials
> > ---------------------------------------
> >
> > The output will be
> >
> > ---------------------------------------
> > some texts here
> > some other texts
> > some texts here
> >     other meterials -----> This line is indented !!
> > ----------------------------------------
> >
> > What should I do in ConTeXt? I really want to control this. but
> > whether I leave a blank line after \stoptyping or not, nothing
> > changed.
>
> In LaTeX paragraph indenting is turned on by default. In ConTeXt you
> have to turn it on first, for example with
>    \setupindenting[first,big,yes]
>
> After that you probably have contrary problems: you have to turn
> indenting explicitely off if you don't want "some other texts" to be
> indented:
>
> \starttyping
> some texts here
> \stoptyping
> \noindent some other texts
> \starttyping
> some texts here
> \stoptyping
>
> other materials
>
> But this should be configurable somehow. (I bet it is.) I tried some
> of \setuptyping options, but none of those I tried was of any help.
> Perhaps some other users may help figuring out the proper option if
> available.
>
> As a workaround this might help temporary.
>
> Mojca
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

      reply	other threads:[~2006-09-29  3:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-27 15:50 Zhichu Chen
2006-09-29  0:57 ` Mojca Miklavec
2006-09-29  3:56   ` Zhichu Chen [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=769ba7780609282056x373d15d1g8719e25da09da9e6@mail.gmail.com \
    --to=zhichu.chen@gmail.com \
    --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).