ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Idris S Hamid <ishamid@attbi.com>
Cc: ConTeXt Mailing List <ntg-context@ntg.nl>
Subject: Re: Linespacing in startstop
Date: Sun, 23 Jun 2002 17:05:43 -0600	[thread overview]
Message-ID: <200206231705.43249.ishamid@attbi.com> (raw)
In-Reply-To: <5.1.0.14.1.20020623130431.02c18f10@server-1>

On Sunday 23 June 2002 05:07, Hans Hagen wrote:

> \definestartstop
>    [test]
>    [before={\setupinterlinespace[1.5]},
>     after=\endgraf]
>
> will work ok, you need to end a par within the group, since tex uses par
> specific spacing settings that count at th eend of a paragraph (which in
> your case is ended *after* the start/stop group ends

Now we have another problem, the paragraph after \stoptest does not revert 
back to the old interlinespace:

\definestartstop
   [test]
   [before={\setupinterlinespace[2]},
    after=\endgraf]

\starttext

\starttest
This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test

This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test
\stoptest

This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test
This is a test This is a test This is a test This is a test

\stoptext

> compare:
>
> \bgroup \baselineskip 1cm \input tufte \egroup \par
>
> \bgroup \baselineskip 1cm \input tufte \par \egroup
>
> [same for left/rightskip and indentation]

I tried

\bgroup \baselineskip 1cm \input tufte \egroup \par

\input tufte

\bgroup \baselineskip 1cm \input tufte \par \egroup

\input tufte

The  line
\bgroup \baselineskip 1cm \input tufte \par \egroup
does not have the same problem as the start/stoptest environment.

Best
Idris

-- 
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80526


  reply	other threads:[~2002-06-23 23:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-19 15:48 Idris S Hamid
2002-06-20  7:56 ` Uwe Koloska
2002-06-20 12:35   ` Idris S Hamid
2002-06-20 15:18     ` Uwe Koloska
2002-06-20 17:12       ` Idris S Hamid
2002-06-21 20:32         ` Patrick Gundlach
2002-06-23 22:00           ` Hans Hagen
2002-06-21 21:48         ` Patrick Gundlach
2002-06-23 11:07         ` Hans Hagen
2002-06-23 23:05           ` Idris S Hamid [this message]
2002-06-25 19:30             ` Hans Hagen

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=200206231705.43249.ishamid@attbi.com \
    --to=ishamid@attbi.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).