==
% ConTeXt ver: 2023.09.26 18:19 LMTX
\setupmarginrule[1][rulecolor=darkred]
\definesidebar[Sidebar][rulethickness=0.28pt,distance=3pt,rulecolor=darkgreen]
\setupsidebar[rulecolor=darkgreen]
\starttext
\startmarginrule[1]
\input ward
\stopmarginrule
\blank
\startsidebar[Sidebar]
\input zap
rule mechanisms.
> MWE:
>
> ==
> % ConTeXt ver: 2023.09.26 18:19 LMTX
>
> \setupmarginrule[1][rulecolor=darkred]
>
> \definesidebar[Sidebar][rulethickness=0.28pt,distance=3pt,rulecolor=darkgreen]
> \setupsidebar[rulecolor=darkgreen]
>
>
ebar[Sidebar][rulethickness=0.28pt,distance=3pt,rulecolor=darkgreen]
\setupsidebar[rulecolor=darkgreen]
\starttext
\startmarginrule[1]
\input ward
\stopmarginrule
\blank
\startsidebar[Sidebar]
\input zapf
\stopsidebar
\stoptext
==
In the output, either
i) the rules do not appear
rulecolor=darkgreen]
\starttext
\startmarginrule[1]
\input ward
\stopmarginrule
\blank
\startsidebar[Sidebar]
\input zapf
\stopsidebar
\stoptext
==
In the output, either
i) the rules do not appear at all (most attempts); or
ii) the rules appear for a split-second then disappear (usi
something wrong with the sidebar and marginrule mechanisms.
MWE:
==
% ConTeXt ver: 2023.09.26 18:19 LMTX
\setupmarginrule[1][rulecolor=darkred]
\definesidebar[Sidebar][rulethickness=0.28pt,distance=3pt,rulecolor=darkgreen]
\setupsidebar[rulecolor=darkgreen]
\starttext
=darkgreen]
\starttext
\startmarginrule[1]
\input ward
\stopmarginrule
\blank
\startsidebar[Sidebar]
\input zapf
\stopsidebar
\stoptext
==
In the output, either
i) the rules do not appear at all (most attempts); or
ii) the rules appear for a split-second then disappear (using sumatrapdf
:
\useexternalfigure[ctanlion][http://www.ctan.org/lion/ctan_lion_350x350.png][width=4cm]
\starttext
\placefigure[here,none,right]{}{\externalfigure[ctanlion]}
\input knuth
\startmarginrule[2]
\input ward
\stopmarginrule
\startmarginrule[1]
\input ward
\stopmarginrule
\startmarginrule[3]
\input ward
/lion/ctan_lion_350x350.png][width=4cm]
\starttext
\placefigure[here,none,right]{}{\externalfigure[ctanlion]}
\input knuth
\startmarginrule[2]
\input ward
\stopmarginrule
\startmarginrule[1]
\input ward
\stopmarginrule
\startmarginrule[3]
\input ward
\stopmarginrule
\stoptext
The output
. The
\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
for this by changing the above definition into:
\defineenumeration[proclaim]
[text=,
before={\blank\startmarginrule[rulethickness=1pt,rulecolor=darkred]},
after={\stopmarginrule},
style=slanted,
title=yes,
titleleft=,
titleright={.},
alternative
\\this\\#ORDER}
\fi
\setupmarginrule[\Rule][rulecolor=\Color]
\startmarginrule[\Rule]
\stoptexdefinition
\starttexdefinition stopMtext
\stopmarginrule
\egroup
\stoptexdefinition
\definedescription[greenline]
[before={\setupmarginrules[rulecolor=green
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
with \startmarginrule[2,alternative=1].
This confirms my suspicion that Hans has a time machine that allows him to
implement features so that they are miraculously already available when
requested.
I then tried to play around with this function a little, e.g. changing
dashed (withdots scaled (linewidth*2
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
\startmarginrule
The sound of a duck is a good demonstration of how different people
listen to a sound. Everywhere in Europe the sound is equal. But in
every country it is described differently: kwaak||kwaak (Netherlands),
couin||couin (French), gick||gack (German), rap||rap (Danish) and
mech||mech (Spanish
)
Martin
\setuppapersize[letter]
\setupoutput[pdftex]
\starttext
\startmarginrule
The sound of a duck is a good demonstration of how different people
listen to a sound. Everywhere in Europe the sound is equal. But in
every country it is described differently: kwaak||kwaak (Netherlands
Hello,
The following example does not work properly in wiki (the rule is
missed), while in mkIV it's OK.
\starttext
\startmarginrule
The sound of a duck is a good demonstration of how different people
listen to a sound. Everywhere in Europe the sound is equal. But in
every country
Looks like I understood the reason. It's not visible because it's inside
the margin, and wiki does margins. :) Am I right?
Hello,
The following example does not work properly in wiki (the rule is
missed), while in mkIV it's OK.
\starttext
\startmarginrule
The sound of a duck is a good
\startmakeup[name][settings] \stopmakeup
\startmarginblock \stopmarginblock
\startmarginrule[number] \stopmarginrule
# \startmode \stopmode
# \startMPpage \stopMPpage
\startnamemakeup \stopnamemakeup
\startnarrower[left|middle|right] \stopnarrower
# \startnointerference \stopnointerference
# \startnotmode
19 matches
Mail list logo