Hi Otared,
Many thanks. Could you kindly open the pdf I sent as well? How does that look?
Here, on Windows 11, the bars do not appear on sumatra, adobe, or nitropdf.
Best wishes
Idris
------ Original Message ------
From "Otared Kavian" mailto:otared@gmail.com>
To "Hamid,Idris" mailto:Idris.Hamid@ColoState.EDU>; "mailing list for ConTeXt users" mailto:ntg-context@ntg.nl>
Date 10/24/2023 7:18:40 AM
Subject Re: [NTG-context] sidebar and marginrule not working
** Caution: EXTERNAL Sender **
Hi Idris,
Your code works fine on my machine (version 2023.09.26 18:19 LMTX on MacOS 11.7.10). I see both bars correctly.
Best regards: Otared
On 24 Oct 2023, at 02:24, Hamid,Idris mailto:Idris.Hamid@ColoState.EDU> wrote:
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 is a bug?
A second question: Is either mechanism preferable over the other? That is: In LMTX, what is the best mechanism to use?
Thank you in advance for any guidance.
Best wishes
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nlmailto:ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nlhttps://www.pragma-ade.nl/ / https://context.aanhet.nethttps://context.aanhet.net/ (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.nethttps://wiki.contextgarden.net/
___________________________________________________________________________________
Otared Kavian
e-mail: otared@gmail.commailto:otared@gmail.com
Phone: +33 6 88 26 70 95
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80523