Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
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 On May 18, 2014, at 11:42 PM, Rik r...@panix.com wrote: I have been playing with this a bit. I think that the

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Hans Hagen
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

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
Thanks Hans, while I did experiment I had no chance at divining the correct dimension distance=-\dimexpr\textwidth+2mm below. So, with that, my bare bones marginbar in the right margin could look like the one in the file below. Where do I squeeze in the alternative=1 option to get dotted

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Rik
On 2014-05-19 19:24, Matthias Weber wrote: Thanks Hans, while I did experiment I had no chance at divining the correct dimension distance=-\dimexpr\textwidth+2mm below. So, with that, my bare bones marginbar in the right margin could look like the one in the file below. Where do I squeeze in

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
Hi Rik, thanks again. Now I feel doubly stupid: First for not putting the distance into \setupmarginrules, and second not realizing that the disappearing dotted margin is due to my rule thickness=.1pt. Anyway, both approaches work now. When I get a free weekend I will head into metapost and

Re: [NTG-context] Using the margin for two purposes

2014-05-18 Thread Matthias Weber
Thanks Rik, that is very helpful. Now I am having some difficulties with coordinating the \inmargins with the marginrules. In the example below, I notice the oddity that \startmarginrule[2] is closer to the text than \startmarginrule[1] or \startmarginrule[3], which are at equal distance. I

Re: [NTG-context] Using the margin for two purposes

2014-05-18 Thread Aditya Mahajan
On Sun, 18 May 2014, Matthias Weber wrote: iii) Dream: Instead of solid margin rules I would love to have other options, like squiggly lines, dashed, dotted. I don't have time to post a complete working example, but the normal way to achieve such features is to textbackground and let

Re: [NTG-context] Using the margin for two purposes

2014-05-18 Thread Matthias Weber
Thanks Aditya, my metapost skills will probably not suffice to start this from scratch, but your hints made me dig around in the sources a little, and in mp-apos.mpiv I found anch_sidebars_draw which not only draws the straight marginrules but also dotted ones, to be invoked with

Re: [NTG-context] Using the margin for two purposes

2014-05-18 Thread Rik
On 2014-05-18 09:50, Matthias Weber wrote: Thanks Rik, that is very helpful. Now I am having some difficulties with coordinating the \inmargins with the marginrules. In the example below, I notice the oddity that \startmarginrule[2] is closer to the text than \startmarginrule[1] or

Re: [NTG-context] Using the margin for two purposes

2014-05-17 Thread Rik Kabel
On 2014-05-17 20:12, Matthias Weber wrote: Dear All, I would like to use the margin for two different purposes: For brief notes, using \inmargin, and to mark entire paragraphs sections of the text with vertical lines. So, I’d like to be able to something like this \starttext