Re: [NTG-context] Store images and text in the right margin

2020-07-06 Thread Fabrice Couvreur
rginwidth] > \stopuserdata > \startchapter[title=First chapter] > \dorecurse{2}{\input knuth} > \stopchapter > \stoptext > > > > On 6 Jul 2020, at 16:18, Fabrice Couvreur > wrote: > > > > > > > > -- Forwarded message - > > De : Fabri

Re: [NTG-context] Store images and text in the right margin

2020-07-06 Thread Taco Hoekwater
Jul 2020, at 16:18, Fabrice Couvreur wrote: > > > > -- Forwarded message - > De : Fabrice Couvreur > Date: lun. 6 juil. 2020 à 12:10 > Subject: Re: [NTG-context] Store images and text in the right margin > To: Marco > > > Hello, > What has be

Re: [NTG-context] Store images and text in the right margin

2020-07-03 Thread Marco Patzer
On Fri, 3 Jul 2020 08:40:22 +0200 Fabrice Couvreur wrote: > Thanks, it works but only for a comment and a picture. Indeed, if I > add a comment and an image, the first image is placed on the second > comment. Fabrice > > \starttext > \startuserdata[margintext] > \input ward > \stopuserdata >

Re: [NTG-context] Store images and text in the right margin

2020-07-03 Thread Fabrice Couvreur
Hi Marco, Thanks, it works but only for a comment and a picture. Indeed, if I add a comment and an image, the first image is placed on the second comment. Fabrice \starttext \startuserdata[margintext] \input ward \stopuserdata

Re: [NTG-context] Store images and text in the right margin

2020-07-02 Thread Marco Patzer
On Thu, 2 Jul 2020 17:20:07 +0200 Fabrice Couvreur wrote: Try: > \useMPlibrary[dum] > > \setuppapersize[A4] > > \setuplayout > [width=12cm, >rightmargin=5cm] > > \definemargindata[marginfigure][inright] > \setupmargindata [marginfigure][command=\vbox,align=middle] \setupmargindata

[NTG-context] Store images and text in the right margin

2020-07-02 Thread Fabrice Couvreur
Hello everyone and in particular to Wolfgang who has already provided me with the solution below. I will have to write a Mathematics book for my students and the remarks and graphics should be in the right margin. I got the code written by Wolfgang and tried to include the graphics in it. The