[NTG-context] Re: Fwd: Re: text width shadow background

2023-07-08 Thread Henning Hraban Ramm

Am 08.07.23 um 15:14 schrieb Keith McKay:
I played about with the number of shadow layers and added a wee bit 
randomness which gave a nice effect. See the code below and the attached 
png.


Good idea, makes sense for big text – my captions are only 8pt, there 10 
layers are already a lot, and the randomness doesn’t make a difference.


For titles, it would be nice to apply lmt_poisson to arbitrary paths.

I wonder what’s possible if we don’t _draw_ lmt_outline but use it as a 
base for more fun…


Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Re: Fwd: Re: text width shadow background

2023-07-08 Thread Henning Hraban Ramm

Am 08.07.23 um 11:39 schrieb Hans Hagen via ntg-context:

On 7/8/2023 8:55 AM, Henning Hraban Ramm wrote:
Please, can you explain why the result of lmt_outline is shifted to 
the right, if I use it in a macro?


no time now but you can do this instead of the lmt_text:

     draw lmt_outline [
     text = "\bf\strut #1",
     kind = "fillup",
     fillcolor = "white",
     rulethickness = rulesize,
     ];

(maybe spaces creep in due to loading font files / setups or so)


Thank you!
Yes, this works, and with rulethickness=0 it even looks like I wanted it to.

Hraban___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Re: context-on-web broken

2023-07-08 Thread Max Chernoff
On Sat, 2023-07-08 at 08:38 +0200, Mikael Sundqvist wrote:
> David kindly made available
> 
> https://texlive.net/run?context
> 
> to start with a minimal context file.

There's also 

   https://live.contextgarden.net/
   
which is pretty much the exact same thing. Not very up to date though:

   system  > ConTeXt  ver: 2021.10.28 10:19 LMTX  fmt: 2021.10.28  int: 
english/english

-- Max


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Fwd: Re: text width shadow background

2023-07-08 Thread Hans Hagen via ntg-context





 Forwarded Message 
Subject: Re: [NTG-context] Re: text width shadow background
Date: Sat, 8 Jul 2023 11:39:32 +0200
From: Hans Hagen 
To: Henning Hraban Ramm 

On 7/8/2023 8:55 AM, Henning Hraban Ramm wrote:
Please, can you explain why the result of lmt_outline is shifted to the 
right, if I use it in a macro?


no time now but you can do this instead of the lmt_text:

draw lmt_outline [
text = "\bf\strut #1",
kind = "fillup",
fillcolor = "white",
rulethickness = rulesize,
];

(maybe spaces creep in due to loading font files / setups or so)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___