On Thu, Jan 3, 2013 at 5:16 PM, Wolfgang Schuster <wolfgang.schuster@gmail.com> wrote:

Am 03.01.2013 um 17:13 schrieb "Mikael P. Sundqvist" <mickep@gmail.com>:

On Thu, Jan 3, 2013 at 3:58 PM, Wolfgang Schuster <wolfgang.schuster@gmail.com> wrote:

Am 03.01.2013 um 13:48 schrieb Mikael P. Sundqvist <mickep@gmail.com>:

> Dear list,
>
> I want to have the effect I get with \placefigure[margin] but I want it _always_ in the left margin instead of the right margin where it ends up by default. I have tried several other keys but with leftmargin, inleft the figure is not put in the top of the page, "independent of the text". Can I fix this with some setup?
>
> Small test file:

\setupmarginblocks
  [location=left]

> \starttext
> \input tufte
>
> \placefigure[leftmargin][none]{With the key leftmargin}{\externalfigure[cow][width=1cm]}
> \input tufte
>
> \placefigure[inleft][none]{With the key inleft}{\externalfigure[cow][width=1cm]}
> \input tufte
>
> \placefigure[margin][none]{With the key margin}{\externalfigure[cow][width=1cm]}
> \input tufte
> % This is the way I want it, but I want it in the left margin instead
> \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
___________________________________________________________________________________


Thank you very much for your fast reply, Wolfgang. That is what I looked for. However, a new problem appeared now. The example file

\setuppapersize[A5][A5]

\setuplayout[
footer=0cm,
header=0.6cm,
headerdistance=0.2cm,
footerdistance=0cm,
topspace=1cm,
backspace=4cm,
leftmargin=3cm,
rightmargin=0cm,
leftmargindistance=0.5cm,
height=fit,
width=fit,
]

\setupmarginblocks[location=left]

\setupmarginblocks
  [location=left,
   width=\leftmarginwidth]

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
___________________________________________________________________________________

Thank you very much, Wolfgang! Now it looks as it should.

Mikael