Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

Please consider the following example:

\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?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

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
share|improve this answer
    
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
2  
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.