[NTG-context] Changing default rule thickness (globally)

2020-03-25 Thread Benjamin Buchmuller
=...] \setupchemical[rulethickness=...] \setupeffect[rulethickness=...] \setupfillinlines[rulethickness=...] \setupfillinrules[rulethickness=...] \setupframed[rulethickness=...] \setuplinefillers[rulethickness=...] \setupmarginrules[rulethickness=...] \setupmixedcolumns[rulethickness=...] \setupnote

Re: [NTG-context] Section heading colors lost with \startbodymatter

2015-07-28 Thread Hans Hagen
On 7/28/2015 5:45 AM, Rik Kabel wrote: > Actually, some color can come through, as in the following example. The \setupmarginrules color remains even in bodymatter mode (the \setupbar color does not). It was a side effect of the fix for pablos bookmarks (deep down some argument got messed

Re: [NTG-context] Section heading colors lost with \startbodymatter

2015-07-27 Thread Rik Kabel
\setupmarginrules color remains even in bodymatter mode (the \setupbar color does not). \setupmarginrules[rulethickness=1pt] \setupmarginrules[1][rulecolor=red] \setupbar[overstrike][color=red] \define[1]\RR {\startmarginrule[1]\RRR#1\stopmarginrule} \definehighlight [RRR

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-19 Thread Rik
the alternative=1 option to get dotted lines? When I put it into \definesidebar, the sidebar disappears, and when I write \startsidebar[oeps,alternative=1] it reverts to the default left sidebar (albeit dotted). Matthias Matthias, You can use distance= in \setupmarginrules to achieve the

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

2014-05-19 Thread Matthias Weber
> I did use MKVI syntax, simply because I have been trying to use it > consistently in all my current work. It should be easily translated back to > earlier syntax. > > % macros=mkvi > \setupmarginrules[rulethickness=2pt,alternative=1] > > \setupmarg

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

2014-05-18 Thread Rik
If you want to always use the same color with the same rule #, you can simplify in other ways. I did use MKVI syntax, simply because I have been trying to use it consistently in all my current work. It should be easily translated back to earlier syntax. % macros=mkvi \setupmarg

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

2014-05-18 Thread Matthias Weber
> this ) Knuth Tufte | this >> first( Knuth Tufte | >> next >> ) Knuth Tufte | >> ( Knuth

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

2014-05-17 Thread Rik Kabel
| ( Knuth Tufte | Is there a mechanism in place for that? Thanks for any hints! Matthias You want margin rules. The wiki has a place-holder entry for \setupmarginrules, but the ConTeXt reference manual has a couple of pages that should provide

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Å uklje
up[name][number|each][options][options] \setupitems[options] \setuplabeltext[language code][name=text] \setuplanguage[language code][settings] # \setuplayer \setuplayout[options] \setuplegend[options] \setuplinenumbering[options] \setuplines[options] \setuplinewidth[dimension] \setuplist[names][options] \setupmak

Re: [NTG-context] \setupmarginrules

2006-03-30 Thread Willi Egger
Hi Taco (the pretended Vit) and Vit, I had to look tiwce, but then I had to smile! Willil Taco Hoekwater wrote: >Vit Zyka wrote: > > >> \dimen3=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ >> >> > >Taco Hoekwater wrote: > > >> \dimen4=\getvalue{\??al#2\the\alteller\c!

Re: [NTG-context] \setupmarginrules

2006-03-29 Thread Hans Hagen
frantisek holop wrote: > hmm, on Tue, Mar 28, 2006 at 07:12:18PM +0200, Hans Hagen said that > >> \def\doalinealijn#1#2% >> {\doifelsevalue{\??al#2\the\alteller\c!rule}\v!on >> {\linewidth\getvalue{\??al#2\the\alteller\c!rulethickness}% >> \scratchdimen#1% >> \advance\scratchdimen

Re: [NTG-context] \setupmarginrules

2006-03-28 Thread frantisek holop
hmm, on Tue, Mar 28, 2006 at 07:12:18PM +0200, Hans Hagen said that > \def\doalinealijn#1#2% > {\doifelsevalue{\??al#2\the\alteller\c!rule}\v!on > {\linewidth\getvalue{\??al#2\the\alteller\c!rulethickness}% > \scratchdimen#1% > \advance\scratchdimen-\linewidth > \divide\scratchd

Re: [NTG-context] \setupmarginrules

2006-03-28 Thread Hans Hagen
Vit Zyka wrote: > Taco Hoekwater wrote: > >> Vit Zyka wrote: >> >> >>> \dimen3=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ >>> >> Taco Hoekwater wrote: >> >> >>> \dimen4=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ >>> >> That's funny ;) >> >> C

Re: [NTG-context] \setupmarginrules

2006-03-28 Thread Vit Zyka
Taco Hoekwater wrote: > > Vit Zyka wrote: > >> \dimen3=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ > > > Taco Hoekwater wrote: > >> \dimen4=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ > > > That's funny ;) > > Cheers, Taco Yes funny. Even line position is the sa

Re: [NTG-context] \setupmarginrules

2006-03-28 Thread Hans Hagen
Vit Zyka wrote: > Willi Egger wrote: > >> Hi Vit! >> >> Thanks for this patch. Do you know why the rulethickness must be given >> in integer dimension. e.g. 2.5pt will cause an error, telling that a >> wrong dimension is used. >> >> Willi >> > > Due to my fault. Sorry. This is a little bi

Re: [NTG-context] \setupmarginrules

2006-03-28 Thread Taco Hoekwater
Vit Zyka wrote: >\dimen3=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ Taco Hoekwater wrote: >\dimen4=\getvalue{\??al#2\the\alteller\c!rulethickness}% VZ That's funny ;) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg

Re: [NTG-context] \setupmarginrules

2006-03-28 Thread Vit Zyka
0, Vit Zyka said that >>> >>> >>> >>> >>>>>\defineparagraphs [poem][n=2] >>>>>\setupparagraphs[poem][1][width=.25\textwidth] >>>>>\setupparagraphs[poem][2][rule=on] >>>>> >&g

Re: [NTG-context] \setupmarginrules

2006-03-28 Thread Taco Hoekwater
Hi Willi (and Vit), Willi Egger wrote: > Hi Vit! > > Thanks for this patch. Do you know why the rulethickness must be given > in integer dimension. e.g. 2.5pt will cause an error, telling that a > wrong dimension is used. (I'll pretend to be Vit) That is because in that case, it expands to

Re: [NTG-context] \setupmarginrules

2006-03-28 Thread Willi Egger
Zyka said that >> >> >> >>>>\defineparagraphs [poem][n=2] >>>>\setupparagraphs[poem][1][width=.25\textwidth] >>>>\setupparagraphs[poem][2][rule=on] >>>> >>>>\setupmarginrules

Re: [NTG-context] \setupmarginrules

2006-03-27 Thread Vit Zyka
frantisek holop wrote: > hmm, on Sun, Mar 26, 2006 at 10:12:01PM +0200, Vit Zyka said that > >>>\defineparagraphs [poem][n=2] >>>\setupparagraphs[poem][1][width=.25\textwidth] >>>\setupparagraphs [poem][2][rule=on] >>> >>>\s

Re: [NTG-context] \setupmarginrules

2006-03-26 Thread frantisek holop
hmm, on Sun, Mar 26, 2006 at 10:12:01PM +0200, Vit Zyka said that > > \defineparagraphs [poem][n=2] > > \setupparagraphs[poem][1][width=.25\textwidth] > > \setupparagraphs[poem][2][rule=on] > > > > \setupmarginrules [rulethickness=5pt] &g

Re: [NTG-context] \setupmarginrules

2006-03-26 Thread Vit Zyka
frantisek holop wrote: > hmm, on Fri, Mar 17, 2006 at 07:49:57PM +0100, Willi Egger said that > >>Hi Frantisek >> >>The correct command is \setupmarginrules[rulethickness=2pt]. The option >>is rulethickness and it takes a dimension. > > > i have

[NTG-context] \setupmarginrules (was: Re: \page inside a block)

2006-03-26 Thread frantisek holop
hmm, on Fri, Mar 17, 2006 at 07:49:57PM +0100, Willi Egger said that > Hi Frantisek > > The correct command is \setupmarginrules[rulethickness=2pt]. The option > is rulethickness and it takes a dimension. i have tried this and it doesn't seem to work. \defineparagraphs

Re: [NTG-context] \page inside a block

2006-03-17 Thread Willi Egger
Hi Frantisek The correct command is \setupmarginrules[rulethickness=2pt]. The option is rulethickness and it takes a dimension. Willi frantisek holop wrote: >i have another question. how can i modify how the "rule" >will look like? the closest thing i have found in

Re: [NTG-context] \page inside a block

2006-03-16 Thread frantisek holop
r. not that Taco's solution did not work, but this is much more primitive, and so better at the moment. i have another question. how can i modify how the "rule" will look like? the closest thing i have found in the manual was \setupmarginrules but \setupmarginrules[thickness=5]