On 5/19/2014 9:59 PM, Rik Kabel wrote:
On 2014-05-19 12:41, Matthias Weber wrote:
Thanks again, Rik,

this works like a charm, with one exception: No matter what I try, the
marginrule appears always in the left margin.
Is there a way to change this?

Matthias
Looking through the code in anch-bar.mkiv, there is nothing that I can
see that supports placing marginrules, or the sidebars on which they are
built, into the right margin. It looks like a job for Hans.

Hm, so you didn't experiment ...

\starttext

\definesidebar[whow][rulecolor=green,distance=0pt]
\definesidebar[oeps][rulecolor=blue,distance=-\dimexpr\textwidth+2mm]

\input tufte \par
\startsidebar
  \input tufte \par
  \input tufte \par
  \startsidebar[whow]
    \input tufte \par
    \input tufte \par
    \input tufte
  \stopsidebar \par
  \input tufte \par
  \input tufte
\stopsidebar \par
\input tufte \par
\input tufte \par
\startsidebar[oeps]
  \input tufte \par
  \input tufte \par
  \input tufte \par
  \input tufte \par
  \input tufte
\stopsidebar \par
\input tufte \par
\input tufte \par
\startsidebar
  \input tufte
  \input tufte
  \input tufte
  \input tufte
  \input tufte
\stopsidebar

\stoptext


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to