ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* line correction
@ 2017-09-28 14:21 MF
  2017-09-28 19:48 ` Henri
  0 siblings, 1 reply; 14+ messages in thread
From: MF @ 2017-09-28 14:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello list, 
I would like ConTeXt to snap normal text to grid after a quotation.
This example does not work:

--------------
\setupquotation[before={\switchtobodyfont[9pt]}]

\starttext
\showgrid

\input knuth

\startlinecorrection[halfline]
\startquotation
  \input sapolsky
\stopquotation
\stoplinecorrection

\input knuth

\stoptext
--------------

If I prepend a \setuplayout[grid=yes], it works, but grid snapping
introduces also other side effects I don't want (i.e. tall formulas
inside text taking too much vertical space).

I would like the halfline spaces before and after the quotation to
shrink or stretch a bit to the nearest multiple of the main text line
height.

Is there an automatic way to get the normal text "return" on the grid
after a quotation without turning on a global grid snapping?

Thanks,
Massi
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-09-29 21:38 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-28 14:21 line correction MF
2017-09-28 19:48 ` Henri
2017-09-28 21:30   ` mf
2017-09-28 21:47     ` luigi scarso
2017-09-29  8:33       ` Hans Hagen
2017-09-28 21:51     ` Henri
2017-09-28 21:55     ` Henri
2017-09-28 22:35       ` mf
2017-09-29  3:19         ` Rik Kabel
2017-09-29  9:30           ` Risposta: " MF
2017-09-29 12:08             ` Hans Hagen
2017-09-29  8:37         ` Hans Hagen
2017-09-29  9:53           ` Risposta: " MF
2017-09-29 21:38             ` Rik Kabel

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).