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; 5+ 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] 5+ messages in thread

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


[-- 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
___________________________________________________________________________________

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

* [NTG-context] Re: sidebar and marginrule not working
  2023-10-24 13:18 ` [NTG-context] " Otared Kavian
@ 2023-10-24 13:33   ` Hamid,Idris
  2023-10-24 14:04     ` Henning Hraban Ramm
  0 siblings, 1 reply; 5+ messages in thread
From: Hamid,Idris @ 2023-10-24 13:33 UTC (permalink / raw)
  To: Otared Kavian, mailing list for ConTeXt users


[-- 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
___________________________________________________________________________________

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

* [NTG-context] Re: sidebar and marginrule not working
  2023-10-24 13:33   ` Hamid,Idris
@ 2023-10-24 14:04     ` Henning Hraban Ramm
  2023-10-24 15:08       ` Hamid,Idris
  0 siblings, 1 reply; 5+ messages in thread
From: Henning Hraban Ramm @ 2023-10-24 14:04 UTC (permalink / raw)
  To: ntg-context

Am 24.10.23 um 15:33 schrieb Hamid,Idris:
> 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.

I checked on MacOS with Preview, Acrobat Pro and PDF Studio – no bars in 
your PDF.

But your code gives apparently correct results on my machine,
ConTeXt  ver: 2023.09.26 18:19 LMTX  fmt: 2023.10.19

Maybe try to re-make the format? Check all files in the log – is there 
something from a local/personal texmf tree?

Hraban

___________________________________________________________________________________
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] 5+ messages in thread

* [NTG-context] Re: sidebar and marginrule not working
  2023-10-24 14:04     ` Henning Hraban Ramm
@ 2023-10-24 15:08       ` Hamid,Idris
  0 siblings, 0 replies; 5+ messages in thread
From: Hamid,Idris @ 2023-10-24 15:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users, ntg-context


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


------ Original Message ------
From "Henning Hraban Ramm" <texml@fiee.net<mailto:texml@fiee.net>>
To "ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>" <ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>>
Date 10/24/2023 8:04:34 AM
Subject [NTG-context] Re: sidebar and marginrule not working

** Caution: EXTERNAL Sender **

Am 24.10.23 um 15:33 schrieb Hamid,Idris:
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.

I checked on MacOS with Preview, Acrobat Pro and PDF Studio – no bars in
your PDF.

But your code gives apparently correct results on my machine,
ConTeXt ver: 2023.09.26 18:19 LMTX fmt: 2023.10.19

Maybe try to re-make the format? Check all files in the log – is there
something from a local/personal texmf tree?
Many thanks, Henning. I tried remaking the format, updating -- to no avail. The log doesn't seem to show anything unusual, no texmf-project files, etc.

Finally, I shutdown and restarted the system, on the premise that some pdf library or other file is acting up. And voila! it seems to work now -- see attached.

It remains a mystery as to what could possibly have caused this problem, or why a system restart made it go away.

Hopefully the problem will not return, but we'll see..

Thanks to all who replied.

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

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

[-- Attachment #2: test-sidebar.pdf --]
[-- Type: application/pdf, Size: 9914 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] 5+ messages in thread

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

Thread overview: 5+ 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

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