ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@MIT.EDU>
To: ntg-context@ntg.nl
Subject: setupdelimitedtext: linespacing in final quoted paragraph
Date: Fri, 12 Dec 2008 09:39:11 -0500	[thread overview]
Message-ID: <E1LB9Ad-0006yD-L5@approx.mit.edu> (raw)

What's the right way to workaround the following interaction between
\setupdelimitedtext and TeX's paragraph building rules?  In the example
below, the last paragraph from knuth.tex has the linespacing of the
regular text set in 12pt, rather than the intended, narrower linespacing
of 8pt text.

Uncommenting the negligible vertical space (\vskip1sp) fixes the
discrepancy.  Is it the best workaround?  I also tried setting
after={\vskip1sp} in the \setupdelimitedtext, but it had no effect.

I'm using 2008.10.31, MkII.  Thanks for any suggestions, which I'll
wikify if the solution is interesting to more than just me.

\setupdelimitedtext[blockquote][style={\switchtobodyfont[8pt]}]

\starttext
\startblockquote
\input knuth
%\vskip1sp
\stopblockquote
\input tufte

\stoptext


-Sanjoy
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2008-12-12 14:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12 14:39 Sanjoy Mahajan [this message]
2008-12-12 14:45 ` Taco Hoekwater
2008-12-16 21:46   ` Sanjoy Mahajan
2008-12-17  8:54     ` Taco Hoekwater
2008-12-17 18:36       ` Sanjoy Mahajan
2008-12-12 15:11 ` Peter Rolf
2008-12-12 16:08   ` Peter Rolf

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=E1LB9Ad-0006yD-L5@approx.mit.edu \
    --to=sanjoy@mit.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).