Hi again everyone,
Here's hoping a second question so soon will be okay.
I'm trying to add a sidebar (a margin rule) to the outer margin of my
doublesided layout.
This sidebar is bound to a specific kind of section that uses columns with
balance=no.
In the working example below, the sidebar on the second page goes as far as
the length of the second column, which is shorter than the leftmost one.
I'd like the sidebar to follow the length of the longest column.
Is there a different approach to this?
---
\setuppapersize[letter][letter]
\setuplayout[topspace=0.5cm, bottomspace=0.5cm,cutspace=4cm,
rightmargin=3cm, backspace=2cm, leftmargin=1cm,header=1cm,
footer=0.5cm,height=middle, width=middle,margindistance=0.2cm,
headerdistance=0.2cm, footerdistance=0.2cm]
\setuppagenumbering[alternative=doublesided]
\definemixedcolumns[sectioncolumns][n=2, align=right, balance=no]
\setupmarginrule[location=outer, rulethickness=0.5pt]
\starttext
\startsection[number=no]
\startsectioncolumns
\startmarginrule
\dorecurse{8}{\input knuth\par}
\stopmarginrule
\stopsectioncolumns
\stopsection
\stoptext
---
Thank you, as always!
JFS
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________