From: Otared Kavian <otared@gmail.com>
To: "Hamid,Idris" <Idris.Hamid@ColoState.EDU>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: sidebar and marginrule not working
Date: Tue, 24 Oct 2023 15:18:40 +0200 [thread overview]
Message-ID: <979DD64E-E4C6-411B-996A-FBC64593B794@gmail.com> (raw)
In-Reply-To: <eme14175af-4ee4-425d-9da6-b786bbff2baf@662114fd.com>
[-- Attachment #1.1: Type: text/plain, Size: 2148 bytes --]
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 <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.nl <mailto:ntg-context@ntg.nl> / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl <https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl>
> webpage : https://www.pragma-ade.nl <https://www.pragma-ade.nl/> / https://context.aanhet.net <https://context.aanhet.net/> (mirror)
> archive : https://github.com/contextgarden/context <https://github.com/contextgarden/context>
> wiki : https://wiki.contextgarden.net <https://wiki.contextgarden.net/>
> ___________________________________________________________________________________
Otared Kavian
e-mail: otared@gmail.com
Phone: +33 6 88 26 70 95
[-- Attachment #1.2: Type: text/html, Size: 26262 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2023-10-24 13:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-24 0:24 [NTG-context] " Hamid,Idris
2023-10-24 13:18 ` Otared Kavian [this message]
2023-10-24 13:33 ` [NTG-context] " Hamid,Idris
2023-10-24 14:04 ` Henning Hraban Ramm
2023-10-24 15:08 ` Hamid,Idris
2023-10-24 11:39 Hamid,Idris
2023-10-24 12:17 ` Hans Hagen
2023-10-24 13:03 ` Hamid,Idris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=979DD64E-E4C6-411B-996A-FBC64593B794@gmail.com \
--to=otared@gmail.com \
--cc=Idris.Hamid@ColoState.EDU \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).