ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] sidebar and marginrule not working
@ 2023-10-24  0:24 Hamid,Idris
  2023-10-24 13:18 ` [NTG-context] " Otared Kavian
  0 siblings, 1 reply; 8+ messages in thread
From: Hamid,Idris @ 2023-10-24  0:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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


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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [NTG-context] Re: sidebar and marginrule not working
@ 2023-10-24 11:39 Hamid,Idris
  2023-10-24 12:17 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Hamid,Idris @ 2023-10-24 11:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

------ Original Message ------
From "Hamid,Idris" <Idris.Hamid@ColoState.EDU<mailto:Idris.Hamid@ColoState.EDU>>
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?

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.

Here is the pdf that is a result of the MWE above:

https://www.dropbox.com/scl/fi/r18ao8dhpz8m5cj3jk7kv/test-sidebar.pdf?rlkey=slgmiu2wst5xfv3adydhbprj4&dl=0

Also attached.

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

[-- Attachment #1.2: Type: text/html, Size: 4762 bytes --]

[-- Attachment #2: test-sidebar.pdf --]
[-- Type: application/pdf, Size: 9735 bytes --]

[-- Attachment #3: 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-24 15:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-24  0:24 [NTG-context] sidebar and marginrule not working Hamid,Idris
2023-10-24 13:18 ` [NTG-context] " Otared Kavian
2023-10-24 13:33   ` 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

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).