ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Hamid,Idris" <Idris.Hamid@ColoState.EDU>
To: Otared Kavian <otared@gmail.com>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: sidebar and marginrule not working
Date: Tue, 24 Oct 2023 13:33:51 +0000	[thread overview]
Message-ID: <em8a3be9b9-deb9-4f3a-81da-4242ccf7b3c2@662114fd.com> (raw)
In-Reply-To: <979DD64E-E4C6-411B-996A-FBC64593B794@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2682 bytes --]

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" <otared@gmail.com<mailto:otared@gmail.com>>
To "Hamid,Idris" <Idris.Hamid@ColoState.EDU<mailto:Idris.Hamid@ColoState.EDU>>; "mailing list for ConTeXt users" <ntg-context@ntg.nl<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 <Idris.Hamid@ColoState.EDU<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.nl<mailto: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
wiki     : https://wiki.contextgarden.net<https://wiki.contextgarden.net/>
___________________________________________________________________________________

Otared Kavian
e-mail: otared@gmail.com<mailto:otared@gmail.com>
Phone: +33 6 88 26 70 95





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

[-- Attachment #1.2: Type: text/html, Size: 30068 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
___________________________________________________________________________________

  reply	other threads:[~2023-10-24 13:34 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 ` [NTG-context] " Otared Kavian
2023-10-24 13:33   ` Hamid,Idris [this message]
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=em8a3be9b9-deb9-4f3a-81da-4242ccf7b3c2@662114fd.com \
    --to=idris.hamid@colostate.edu \
    --cc=ntg-context@ntg.nl \
    --cc=otared@gmail.com \
    /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).