Re: [NTG-context] placing a wide float at the bottom

2018-02-11 Thread Rik Kabel

On 2018-02-11 06:50, Henning Hraban Ramm wrote:

Am 2018-02-10 um 18:03 schrieb Rik Kabel :


On 2018-02-10 10:00, Henning Hraban Ramm wrote:

\placefigure[bottom]{}{\externalfigure[hacker][width=\textwidth]}
works just fine,
I get "top" placement with
\placefigure[bottom]{}{\externalfigure[hacker][width=\paperwidth]}


Works here with the code below. The same result with and without adding 
"force". Result attached.

Do you have an MWE?

\showframe
\starttext
  some text
\placefigure[top]{top textwidth}{\externalfigure[hacker][width=\textwidth]}
  some text
\page
  some text
\placefigure[here]{here textwidth}{\externalfigure[hacker][width=\textwidth]}
  some text
\page
  some text
\placefigure[bottom]{bottom 
textwidth}{\externalfigure[hacker][width=\textwidth]}
  some text
\page
  some text
\placefigure[top,force]{top force 
paperwidth}{\externalfigure[hacker][width=\paperwidth]}
  some text
\page
  some text
\placefigure[here,force]{here force 
paperwidth}{\externalfigure[hacker][width=\paperwidth]}
  some text
\page
  some text
\placefigure[bottom,force]{bottom force 
paperwidth}{\externalfigure[hacker][width=\paperwidth]}\stopmode
  some text
\page
  some text
\placefigure[top]{top paperwidth}{\externalfigure[hacker][width=\paperwidth]}
  some text
\page
  some text
\placefigure[here]{here paperwidth}{\externalfigure[hacker][width=\paperwidth]}
  some text
\page
  some text
\placefigure[bottom]{bottom 
paperwidth}{\externalfigure[hacker][width=\paperwidth]}
  some text
\stoptext

Hi Rik,
thank you for looking into this.
Even your example shows a problem: The first "bottom" figure is lower than 
"top", but not at the bottom.

In the following example only the first image is placed at the bottom, the 
others at top:

\showframe
\starttext
\input tufte
\placefigure[bottom]{bottom 
textwidth}{\externalfigure[hacker][width=\textwidth]}
\input knuth
\input zapf
\input tufte
\placefigure[bottom,force]{bottom force 
paperwidth}{\externalfigure[hacker][width=\paperwidth]}\stopmode
\input knuth
\input zapf
\placefigure[bottom]{bottom 
paperwidth}{\externalfigure[hacker][width=\paperwidth]}
\input lorem
\stoptext




You are, unfortunately, right about the problem. Alan Braslau brought up 
the same issue a while back ([NTG-context] \startplacefloat 
[location=bottom], 2015-10-16 
) and it 
was not dealt with at that point. Perhaps he devised a work-around for 
his use that he has not shared yet.


(Sorry for the errant \stopmode in the example. It did nothing, but does 
not belong there in any case.)


--
Rik
___
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
___

Re: [NTG-context] placing a wide float at the bottom

2018-02-11 Thread Henning Hraban Ramm
Am 2018-02-10 um 18:03 schrieb Rik Kabel :

> On 2018-02-10 10:00, Henning Hraban Ramm wrote:
>> \placefigure[bottom]{}{\externalfigure[hacker][width=\textwidth]}
>> works just fine,
>> I get "top" placement with
>> \placefigure[bottom]{}{\externalfigure[hacker][width=\paperwidth]}
>> 
> Works here with the code below. The same result with and without adding 
> "force". Result attached.
> 
> Do you have an MWE?
> 
> \showframe
> \starttext
>  some text
> \placefigure[top]{top textwidth}{\externalfigure[hacker][width=\textwidth]}
>  some text
> \page
>  some text
> \placefigure[here]{here textwidth}{\externalfigure[hacker][width=\textwidth]}
>  some text
> \page
>  some text
> \placefigure[bottom]{bottom 
> textwidth}{\externalfigure[hacker][width=\textwidth]}
>  some text
> \page
>  some text
> \placefigure[top,force]{top force 
> paperwidth}{\externalfigure[hacker][width=\paperwidth]}
>  some text
> \page
>  some text
> \placefigure[here,force]{here force 
> paperwidth}{\externalfigure[hacker][width=\paperwidth]}
>  some text
> \page
>  some text
> \placefigure[bottom,force]{bottom force 
> paperwidth}{\externalfigure[hacker][width=\paperwidth]}\stopmode
>  some text
> \page
>  some text
> \placefigure[top]{top paperwidth}{\externalfigure[hacker][width=\paperwidth]}
>  some text
> \page
>  some text
> \placefigure[here]{here 
> paperwidth}{\externalfigure[hacker][width=\paperwidth]}
>  some text
> \page
>  some text
> \placefigure[bottom]{bottom 
> paperwidth}{\externalfigure[hacker][width=\paperwidth]}
>  some text
> \stoptext

Hi Rik,
thank you for looking into this.
Even your example shows a problem: The first "bottom" figure is lower than 
"top", but not at the bottom.

In the following example only the first image is placed at the bottom, the 
others at top:

\showframe
\starttext
\input tufte
\placefigure[bottom]{bottom 
textwidth}{\externalfigure[hacker][width=\textwidth]}
\input knuth
\input zapf
\input tufte
\placefigure[bottom,force]{bottom force 
paperwidth}{\externalfigure[hacker][width=\paperwidth]}\stopmode
\input knuth
\input zapf
\placefigure[bottom]{bottom 
paperwidth}{\externalfigure[hacker][width=\paperwidth]}
\input lorem
\stoptext


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___
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
___

Re: [NTG-context] placing a wide float at the bottom

2018-02-10 Thread Rik Kabel

On 2018-02-10 10:00, Henning Hraban Ramm wrote:

\placefigure[bottom]{}{\externalfigure[hacker][width=\textwidth]}
works just fine,
I get "top" placement with
\placefigure[bottom]{}{\externalfigure[hacker][width=\paperwidth]}


Works here with the code below. The same result with and without adding 
"force". Result attached.


Do you have an MWE?

   \showframe
   \starttext
 some text
   \placefigure[top]{top
   textwidth}{\externalfigure[hacker][width=\textwidth]}
 some text
   \page
 some text
   \placefigure[here]{here
   textwidth}{\externalfigure[hacker][width=\textwidth]}
 some text
   \page
 some text
   \placefigure[bottom]{bottom
   textwidth}{\externalfigure[hacker][width=\textwidth]}
 some text
   \page
 some text
   \placefigure[top,force]{top force
   paperwidth}{\externalfigure[hacker][width=\paperwidth]}
 some text
   \page
 some text
   \placefigure[here,force]{here force
   paperwidth}{\externalfigure[hacker][width=\paperwidth]}
 some text
   \page
 some text
   \placefigure[bottom,force]{bottom force
   paperwidth}{\externalfigure[hacker][width=\paperwidth]}\stopmode
 some text
   \page
 some text
   \placefigure[top]{top
   paperwidth}{\externalfigure[hacker][width=\paperwidth]}
 some text
   \page
 some text
   \placefigure[here]{here
   paperwidth}{\externalfigure[hacker][width=\paperwidth]}
 some text
   \page
 some text
   \placefigure[bottom]{bottom
   paperwidth}{\externalfigure[hacker][width=\paperwidth]}
 some text
   \stoptext


--
Rik




x89.pdf
Description: Adobe PDF document
___
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
___