ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* floats disturb grid setting
@ 2022-10-03 12:02 Henning Hraban Ramm via ntg-context
  2022-10-04  5:20 ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-10-03 12:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

As soon as I use floats, text isn’t typeset on the grid any more:


\setuppaper[A5]
\setuplayout[grid=yes]
\showframe\showgrid

\setupexternalfigure[
   location={local,global,default},
]

\starttext
\samplefile{lorem}
\startplacefigure[location=left,title=left]%
\externalfigure[mill][width=.25\textwidth]
\stopplacefigure

\samplefile{lorem}
\startplacefigure[location=bottom,title=bottom]%
\externalfigure[cow][width=.25\textwidth]
\stopplacefigure

\startplacefigure[location=right,title=right]%
\externalfigure[mill][width=.25\textwidth]
\stopplacefigure
\samplefile{lorem}

\startplacefigure[location=left,title=left]%
\externalfigure[mill][width=.25\textwidth]
\stopplacefigure
\samplefile{lorem}

\stoptext


Hraban
___________________________________________________________________________________
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] 3+ messages in thread

* Re: floats disturb grid setting
  2022-10-03 12:02 floats disturb grid setting Henning Hraban Ramm via ntg-context
@ 2022-10-04  5:20 ` Henning Hraban Ramm via ntg-context
  2022-10-04  5:41   ` Max Chernoff via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-10-04  5:20 UTC (permalink / raw)
  To: Henning Hraban Ramm via ntg-context; +Cc: Henning Hraban Ramm

Am 03.10.22 um 14:02 schrieb Henning Hraban Ramm via ntg-context:
> As soon as I use floats, text isn’t typeset on the grid any more:
> 
> 
> \setuppaper[A5]
> \setuplayout[grid=yes]
> \showframe\showgrid

Oops, my bad: It must be "grid=on".
But didn’t work "yes" in earlier versions?

Hraban
___________________________________________________________________________________
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] 3+ messages in thread

* Re: floats disturb grid setting
  2022-10-04  5:20 ` Henning Hraban Ramm via ntg-context
@ 2022-10-04  5:41   ` Max Chernoff via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Max Chernoff via ntg-context @ 2022-10-04  5:41 UTC (permalink / raw)
  To: ntg-context; +Cc: Max Chernoff


Hi Hraban,

> > As soon as I use floats, text isn’t typeset on the grid any more:
> > 
> > 
> > \setuppaper[A5]
> > \setuplayout[grid=yes]
> > \showframe\showgrid
> 
> Oops, my bad: It must be "grid=on".
> But didn’t work "yes" in earlier versions?

I just tested:

             MkIV      MkXL
[grid=yes]   Broken    Broken
 [grid=on]   Broken    Works

-- Max
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2022-10-04  5:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-03 12:02 floats disturb grid setting Henning Hraban Ramm via ntg-context
2022-10-04  5:20 ` Henning Hraban Ramm via ntg-context
2022-10-04  5:41   ` Max Chernoff 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).