From: Thomas Meyer <thomasgmeyer@t-online.de>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: blank line and \placefigure
Date: Sat, 6 Apr 2024 16:30:39 +0200 [thread overview]
Message-ID: <5e54e955-64ea-4269-991d-a52e92605424@t-online.de> (raw)
In-Reply-To: <61794902-19a9-e9d0-4e2b-e9a7dabb0e81@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1547 bytes --]
Here is a minimal example that better describes my problem.
It seems to depend on the size of the image. 30 mm and 40 mm width
works, 35 mm does not.
I have not tested height, although the image I want to use would be
portrait format.
\setuplayout[grid=yes]
\setupinterlinespace[line=15pt]
\starttext
\input{knuth}
\startlinecorrection
\placefigure[left, none]
[]{}\externalfigure[cow.pdf][width=40mm]
\input{knuth}
\stoplinecorrection
\stoptext
Thomas
Am 06.04.24 um 13:43 schrieb Wolfgang Schuster:
> Henning Hraban Ramm schrieb am 06.04.2024 um 12:56:
>> Am 06.04.24 um 12:48 schrieb Thomas Meyer:
>>> how can I suppress a blank line between a text paragraph and
>>> \placefigure?
>>> I get one there, but I don't want it.
>>
>> Did you try
>> \setupfloat[figure][spacebefore=,]
>> ?
>> or "none" or "{disable,nowhite,back}"
>
> You can set the space only for *all* floats, e.g.
>
> \setupfloat[spacebefore=...,spaceafter=...]
>
> and not for a single float type only.
>
> 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
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 3021 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2024-04-06 14:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-06 10:48 [NTG-context] " Thomas Meyer
2024-04-06 10:56 ` [NTG-context] " Henning Hraban Ramm
2024-04-06 11:43 ` Wolfgang Schuster
2024-04-06 14:30 ` Thomas Meyer [this message]
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=5e54e955-64ea-4269-991d-a52e92605424@t-online.de \
--to=thomasgmeyer@t-online.de \
--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).