ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* margin notes at page breaks
@ 2011-10-31 12:57 Stefan Müller
  2011-11-02 16:34 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Müller @ 2011-10-31 12:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi list!

In my document I have some margin notes that appear right before a page 
break and so end up in the bottom margin, see the following example.

\starttext
\dorecurse{4}{\input knuth}
\blank[2*line]

\inmargin{This note ends up in the bottom margin}
%\margintext{This note ends up in the bottom margin}
\input tufte
\stoptext

Is it possible to automatically move the margin note in those cases to 
the next page?  I had a look at the manual where the issue is addressed. 
  As I understood it "\margintext{...}" should be able to handle this, 
but it did not change anything in my example.  In the garden I found 
"\setupinmargin[stack=yes]" but this didn't help either.

This seems not to hard, but I can't find a way to fix it...

Thanks in advance for any hints!
Stefan
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: margin notes at page breaks
  2011-10-31 12:57 margin notes at page breaks Stefan Müller
@ 2011-11-02 16:34 ` Hans Hagen
  2011-11-13 11:12   ` Stefan Müller
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2011-11-02 16:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 31-10-2011 13:57, Stefan Müller wrote:
> Hi list!
>
> In my document I have some margin notes that appear right before a page
> break and so end up in the bottom margin, see the following example.
>
> \starttext
> \dorecurse{4}{\input knuth}
> \blank[2*line]
>
> \inmargin{This note ends up in the bottom margin}
> %\margintext{This note ends up in the bottom margin}
> \input tufte
> \stoptext
>
> Is it possible to automatically move the margin note in those cases to
> the next page? I had a look at the manual where the issue is addressed.
> As I understood it "\margintext{...}" should be able to handle this, but
> it did not change anything in my example. In the garden I found
> "\setupinmargin[stack=yes]" but this didn't help either.
>
> This seems not to hard, but I can't find a way to fix it...

it's not supported in the current code but the next beta will have :

starttext

\dorecurse{4}{\input knuth} \blank[2*line]

\dorecurse{3}{\inmargin[stack=yes]{note}} \input tufte

\page

\dorecurse{4}{\input knuth} \blank[2*line]

\dorecurse{3}{\inmargin[stack=yes,bottomspace=10cm]{note}} \input tufte

\stoptext

with bottomspace one can set the threshold

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: margin notes at page breaks
  2011-11-02 16:34 ` Hans Hagen
@ 2011-11-13 11:12   ` Stefan Müller
  2011-11-14  8:32     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Müller @ 2011-11-13 11:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi Hans,

sorry to bother you again with this.  I just had a look again on this 
issue with 20111112 12:34 MkIV.  In the first part of your example, I 
see the three stacked footnotes and the first lines of the paragraph 
moved to the next page.  In your second example I get the three notes 
stacked on the first page, one being in the bottom margin, and the 
paragraph properly wrapped, with two lines on the first page.  This 
seems to be correct.

Unfortunately I don't understand how this should help me with my (now 
updated) previous example:

\starttext
\dorecurse{4}{\input knuth} \blank[2*line]

\inmargin[stack=yes]{This note ends up in the bottom margin}
\input tufte
\stoptext

It still looks the same.  Does the stacking only influence the behaviour 
of (the breaking between) multiple margin notes?

Thank you for looking into this.  Best regards,
Stefan

On 02.11.2011 17:34, Hans Hagen wrote:
> On 31-10-2011 13:57, Stefan Müller wrote:
>> Hi list!
>>
>> In my document I have some margin notes that appear right before a page
>> break and so end up in the bottom margin, see the following example.
>>
>> \starttext
>> \dorecurse{4}{\input knuth}
>> \blank[2*line]
>>
>> \inmargin{This note ends up in the bottom margin}
>> %\margintext{This note ends up in the bottom margin}
>> \input tufte
>> \stoptext
>>
>> Is it possible to automatically move the margin note in those cases to
>> the next page? I had a look at the manual where the issue is addressed.
>> As I understood it "\margintext{...}" should be able to handle this, but
>> it did not change anything in my example. In the garden I found
>> "\setupinmargin[stack=yes]" but this didn't help either.
>>
>> This seems not to hard, but I can't find a way to fix it...
>
> it's not supported in the current code but the next beta will have :
>
> starttext
>
> \dorecurse{4}{\input knuth} \blank[2*line]
>
> \dorecurse{3}{\inmargin[stack=yes]{note}} \input tufte
>
> \page
>
> \dorecurse{4}{\input knuth} \blank[2*line]
>
> \dorecurse{3}{\inmargin[stack=yes,bottomspace=10cm]{note}} \input tufte
>
> \stoptext
>
> with bottomspace one can set the threshold
>
> Hans
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: margin notes at page breaks
  2011-11-13 11:12   ` Stefan Müller
@ 2011-11-14  8:32     ` Hans Hagen
  2011-11-14 11:44       ` Stefan Müller
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2011-11-14  8:32 UTC (permalink / raw)
  To: Stefan Müller; +Cc: mailing list for ConTeXt users

On 13-11-2011 12:12, Stefan Müller wrote:

> It still looks the same. Does the stacking only influence the behaviour
> of (the breaking between) multiple margin notes?

each margin data blob is seen as a whole .. no breaking inside that .. 
depending on the content (only text) it should be possible to break 
notes but it's not provided now

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: margin notes at page breaks
  2011-11-14  8:32     ` Hans Hagen
@ 2011-11-14 11:44       ` Stefan Müller
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Müller @ 2011-11-14 11:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen



On 14.11.2011 09:32, Hans Hagen wrote:
> On 13-11-2011 12:12, Stefan Müller wrote:
>
>> It still looks the same. Does the stacking only influence the behaviour
>> of (the breaking between) multiple margin notes?

I was not very clear here, I think.

> each margin data blob is seen as a whole .. no breaking inside that ..
> depending on the content (only text) it should be possible to break
> notes but it's not provided now

Thanks, okay, I understand that.  But I don't understand why in your 
first example the three margin notes go to the next page, together with 
the paragraph while in my example the single note does not go to the 
next page (the complete note, I don't want the margin note itself to 
break).  I would choose some extra blank lines at the end of the page 
over a margin note that is in the bottom margin...

Kind regards,
Stefan
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2011-11-14 11:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-31 12:57 margin notes at page breaks Stefan Müller
2011-11-02 16:34 ` Hans Hagen
2011-11-13 11:12   ` Stefan Müller
2011-11-14  8:32     ` Hans Hagen
2011-11-14 11:44       ` Stefan Müller

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