# Stack margin text in outer margin in ConTeXt Mk IV

I try to stack marginals with ConTeXt Mk-IV. In this question a possible solution was given. The solution works fine, but it turns out that the location=outer parameter does not work any more.

\setupinmargin[stack=yes,location=outer]

\starttext

text text\margintext{this is a note.} text text\margintext{Another note.}

\input knuth

text text\margintext{this is a note.} text text\margintext{Another note.}

\input knuth

text text\margintext{this is a note. Now longer.} text text\margintext{Another note.}

\input knuth

\stoptext

It works fine in Mk-II (which is not an option for me). It disregards location=outer in Mk-IV.

If I replace now the \margintext macros with \inouter, it breaks the stacking in Mk-IV, but works in Mk-II.

Is there a solution that allows stacking, but keeps the marginals in the outer margin?

-

If you use the command \definemargindata it works as expected:

\setuppagenumbering [alternative=doublesided] % outer makes little sense otherwise
\definemargindata [margintext]
[
location=outer,
align=flushleft,
stack=continue, % or yes
]

\starttext

text text\margintext{this is a note.} text text\margintext{Another note.}

\input knuth

text text\margintext{this is a note.} text text\margintext{Another note.}

\input knuth

text text\margintext{this is a note. Now longer.} text text\margintext{Another note.}

\input knuth

\stoptext
-
I updated everything with TeX Live Utility and it shows ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.8.9 int: english/english, but the notes are still on top of each other for your example on my computer. – Andy May 13 '12 at 17:14
Your context is too old, you need to update. I recommend ConTeXt Standalone. My example works with the current version. – Marco May 13 '12 at 17:59