Re: [NTG-context] vertically aligned side margin footnotes

2011-10-09 Thread Alexandre Leray

Hi,

Would it be possible to typeset the text on the left page and the 
comments on the right page?


Thanks

Alex

There is an experimental stream feature but I haven't looked into that
one for a while.

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


Re: [NTG-context] vertically aligned side margin footnotes

2011-10-07 Thread Wolfgang Schuster

Am 06.10.2011 um 22:25 schrieb Alexandre Leray:

 Hi and thanks for your help.
 
 it works except that when the sidenote is too long it overflows the page. Is 
 there a way to make the note continuing on the next page if it doesn't fit?

No, margin texts are unbreakable blocks.

When you many side notes with lots of text it’s better to use a layout with a 
wider margin and a narrower textblock, before you do this you can try 
“\inmargin[stack=yes]{…}” in the definition of the side note command.

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


Re: [NTG-context] vertically aligned side margin footnotes

2011-10-07 Thread Alexandre Leray

Hello Wolfgang,

Thanks for your reply. I will adjust my text flow manually if 
necessary as I only have a couple of pages to deal with.


While I was searching for an answer in the mailing list archive I found 
this email:


[NTG-context] Flowfram-like behavior?
http://archive.contextgarden.net/message/20110706.133155.c488c215.en.html

I think such a feature would have been great here, and I was wondering 
if there was any plan for this in the future?


Thank you,

Alex

On 07/10/2011 10:02, Wolfgang Schuster wrote:

No, margin texts are unbreakable blocks.

When you many side notes with lots of text it’s better to use a layout with a 
wider margin and a narrower textblock, before you do this you can try 
“\inmargin[stack=yes]{…}” in the definition of the side note command.

Wolfgang

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


Re: [NTG-context] vertically aligned side margin footnotes

2011-10-07 Thread Hans Hagen

On 7-10-2011 10:37, Alexandre Leray wrote:

Hello Wolfgang,

Thanks for your reply. I will adjust my text flow manually if
necessary as I only have a couple of pages to deal with.

While I was searching for an answer in the mailing list archive I found
this email:

[NTG-context] Flowfram-like behavior?
http://archive.contextgarden.net/message/20110706.133155.c488c215.en.html

I think such a feature would have been great here, and I was wondering
if there was any plan for this in the future?


There is an experimental stream feature but I haven't looked into that 
one for a while.


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
___


Re: [NTG-context] vertically aligned side margin footnotes

2011-10-06 Thread Alexandre Leray

Hi and thanks for your help.

it works except that when the sidenote is too long it overflows the 
page. Is there a way to make the note continuing on the next page if it 
doesn't fit?


Thanks again,

Alex

On 06/09/2011 22:27, Wolfgang Schuster wrote:


Am 06.09.2011 um 18:25 schrieb Alexandre Leray:


Hi again,

is there a way to typeset footnotes in the margin, but placed at the same 
vertical distance as the text they refer to?


No, but you can combine \inmargin and a counter:

\usemodule[annotation]

\define[2]\SidenoteCommand
   {\rawnumber[sidenote]%
\inright{#1: #2}}

\defineannotation
   [sidenote]
   [alternative=command,
command=\SidenoteCommand,
number=yes]

\starttext

text text\sidenote{this is a note} text text

\input knuth

text text\sidenote{this is a note} text text

\stoptext

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



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


[NTG-context] vertically aligned side margin footnotes

2011-09-06 Thread Alexandre Leray

Hi again,

is there a way to typeset footnotes in the margin, but placed at the 
same vertical distance as the text they refer to?


Thanks,

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


Re: [NTG-context] vertically aligned side margin footnotes

2011-09-06 Thread Wolfgang Schuster

Am 06.09.2011 um 18:25 schrieb Alexandre Leray:

 Hi again,
 
 is there a way to typeset footnotes in the margin, but placed at the same 
 vertical distance as the text they refer to?

No, but you can combine \inmargin and a counter:

\usemodule[annotation]

\define[2]\SidenoteCommand
  {\rawnumber[sidenote]%
   \inright{#1: #2}}

\defineannotation
  [sidenote]
  [alternative=command,
   command=\SidenoteCommand,
   number=yes]

\starttext

text text\sidenote{this is a note} text text

\input knuth

text text\sidenote{this is a note} text text

\stoptext

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