------ Original Message ------
From "Hans Hagen" <j.hagen@xs4all.nl>
To "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Date 10/24/2023 6:17:24 AM
Subject [NTG-context] Re: sidebar and marginrule not working

** Caution: EXTERNAL Sender **
 
On 10/24/2023 1:39 PM, Hamid,Idris wrote:
------ Original Message ------
To "mailing list for ConTeXt users" <ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>>
Date 10/23/2023 6:24:38 PM
Subject [NTG-context] sidebar and marginrule not working
 
Dear gang,
 
The appears to be 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
\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 as the viewer, so the pdf updates on the fly).
 
Is this a bug?
maybe your viewer is bugged

Before sending to the list, I tested the pdf in sumatra (default), adobe, and nitropdf - same result. If three distinct viewers don't show it, then something else must be wrong.

Could you open the pdf I sent to the list? What do you see?

Best wishes
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80523