[NTG-context] Margin text in doublesided documents

C. metan0r at gmx.de
Tue Apr 5 17:09:24 CEST 2011


Whoops! Sent too early, this is the updated minimal example:

\setuplayout[location=doublesided]
\setuppagenumbering[location=right,alternative=doublesided]
\setupmargindata[inmargin][location=outer,align=inner] % almost correct. on
odd pages wrong alignment
% \setupmarginframed[inmargin][align=inner] % wrong side on odd pages, also
wrong alignment
\starttext
\chapter{Chapter Knuth testing}
\section{Section Knuth testing}
\input knuth \inmargin{test}\input knuth\page
\section{Section Knuth testing 2}
bla bla \inmargin{test 1.5}bla bla bla bla bla bla bla bla.
\dorecurse{5}{\input knuth}Nochmal \inmargin{test 2}ein
Test.\inoutermargin{this is OK}\dorecurse{5}{\input knuth}\inmargin{bla}
\stoptext


> -----Ursprüngliche Nachricht-----
> Von: Wolfgang Schuster [mailto:schuster.wolfgang at googlemail.com]
> Gesendet: Dienstag, 5. April 2011 13:36
> An: mailing list for ConTeXt users
> Betreff: Re: [NTG-context] Margin text in doublesided documents
> 
> 
> Am 05.04.2011 um 13:23 schrieb C.:
> 
> >> \setupmargindata[inmargin][location=outer,align=inner]
> >
> > Hm, tried that. The margin text did move to the outer margin, but it
> > was aligned to the paper boarder, not to the body text. (i.e. it was
> > set ragged left/flush right on an odd page)
> 
> \setupmarginframed[inmargin][align=inner]
> 
> It would really help when you provide a minimal example because it’s very
> annoying to write always one by myself.
> 
> Wolfgang
> 




More information about the ntg-context mailing list