ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Protect the lettrine
@ 2023-06-13  2:43 Thangalin via ntg-context
  2023-06-13  8:29 ` Otared Kavian via ntg-context
  0 siblings, 1 reply; 11+ messages in thread
From: Thangalin via ntg-context @ 2023-06-13  2:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thangalin


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

I'm using KeenWrite Themes (specifically, Boschet) to typeset a chapter
wherein the first letter is a lettrine. When the first paragraph is too
short, the second paragraph overlaps the lettrine.

% SOT
\setupinitial[n=2]

\setuphead[chapter][
  after={\placeinitial},
  page=no,
]

\starttext
\chapter{one}
Kermit Ruffins

Meet me at the second line.

\chapter{two}
\input knuth

Meet me at the second line.
\stoptext
% EOT

Produces: https://i.stack.imgur.com/kNDqw.png

How would you instruct ConTeXt to "protect" the lettrine such that
regardless of whether the first paragraph spans multiple lines, a short
first paragraph will still prevent the second paragraph from overlapping
the lettrine?

That is, the setups should work in both cases, without any knowledge about
the first paragraph length being added between \starttext and \stoptext.

ConTeXt LMTX version: 2023.06.04 18:58

Thank you!

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

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2023-06-26  1:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-13  2:43 [NTG-context] Protect the lettrine Thangalin via ntg-context
2023-06-13  8:29 ` Otared Kavian via ntg-context
2023-06-13 21:01   ` Thangalin via ntg-context
2023-06-13 21:11     ` Thangalin via ntg-context
2023-06-14  2:32     ` linguafalsa--- via ntg-context
2023-06-14  3:46       ` Thangalin via ntg-context
2023-06-14 17:43         ` linguafalsa--- via ntg-context
2023-06-14 21:32           ` Thangalin via ntg-context
2023-06-15  6:35             ` Max Chernoff via ntg-context
2023-06-16 18:25               ` Hans Hagen via ntg-context
2023-06-26  1:52                 ` Thangalin via ntg-context

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