ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Grid typesetting, blockquotes in smaller font across pagebreaks
@ 2021-03-25 13:08 denis.maier
  0 siblings, 0 replies; only message in thread
From: denis.maier @ 2021-03-25 13:08 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1776 bytes --]

Hi,

I'm playing around with grid typesetting. Consider the following example:

--------------------------------------

\setuppapersize[A5][A5]
\setupbodyfont[10pt]

\setuplayout[grid=yes]
\showgrid

\setupdelimitedtext[blockquote]
                                                               [
                                                               style=\tfx,
                                                               %style=\tfx\setupinterlinespace, % this breaks grid snapping
                                                               spacebefore=halfline,
                                                               indentnext=no,
                                                               leftmargin=no,
                                                               rightmargin=no,
                                                               ]


\starttext

\dorecurse{5}{
\dorecurse{5}{Some text on a grid. }

\startblockquote

\dorecurse{10}{A quotation in a smaller font. }

\stopblockquote

\dorecurse{5}{This should be on the grid again. }}

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

With style=\tfx it kind of works as long as the quotations don't run over page boundaries. With style=\tfx\setupinterlinespace paragraphs after quotations don't snap back to the grid.
Spacebefore=line is somewhat better, but also only if I use \tfx without \setupinterlinespace.

Any hints?

(But maybe I'm approaching the problem from the wrong direction anyway... I need the have pages end consistently at the same baseline, and I thought grid typesetting might be an option here. But maybe that was a wrong assumption in the first place... Or there are better solutions.)

Best,
Denis




[-- Attachment #1.2: Type: text/html, Size: 8416 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2021-03-25 13:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 13:08 Grid typesetting, blockquotes in smaller font across pagebreaks denis.maier

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