From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>, garulfo@azules.eu
Subject: [NTG-context] Re: compatibility between \startshapetext and \startsection ?
Date: Wed, 15 May 2024 13:09:13 +0200 [thread overview]
Message-ID: <462ba876-8a3b-5fb8-6b82-92e90dca2554@gmail.com> (raw)
In-Reply-To: <171572123550.1997.13016005851764880219@cgl.ntg.nl>
garulfo@azules.eu schrieb am 14.05.2024 um 23:13:
> Hi all,
>
> \startshapetext works pretty well, but when I use \startsection \stopsection, shapes are not respected anymore.
> I use layers, to be able to place the content anywhere, but the issue remains without layers.
>
> Any clues ?
> (\placeinitial seems also to break the shaping)
>
>
> Example : 2 pages without sectioning, and after 2 pages by uncommenting the \startsection and \stopsection commands.
>
>
> [...]
> \dorecurse{5}{
> \startsection[title={Title for section{\recurselevel}}]
> \darkred\input knuth \par
> \darkblue\input ward
> \stopsection
> }
The problem aren't the section command but the vertical skips added
before and after each section, you can reproduce the effect when you add
\blank to your example.
\dorecurse{5}{
\blank
\leftaligned{Title for section{\recurselevel}}
\blank
\darkred\input knuth \par
\darkblue\input ward
}
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2024-05-15 11:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-14 21:13 [NTG-context] " garulfo
2024-05-15 11:09 ` Wolfgang Schuster [this message]
2024-05-15 19:40 ` [NTG-context] " Garulfo
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=462ba876-8a3b-5fb8-6b82-92e90dca2554@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=garulfo@azules.eu \
--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).