ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Backgrounds has changed in latest lmtx
@ 2022-10-21  9:32 Thomas A. Schmitz via ntg-context
  2022-10-21 15:08 ` Otared Kavian via ntg-context
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Thomas A. Schmitz via ntg-context @ 2022-10-21  9:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

Hi everybody,

With the latest lmtx, my page backgrounds don’t work any more. I think Otared mentioned that the simpleslides module is having problems. I’m trying to figure out what is happening, but I don’t see any warnings or errors, just unexpected results (which is not a good thing). I’m starting with the fundamentals. Here is a fairly minimal example: compile with context --luatex to see the expected result and with lmtx to see what is wrong.

All best

Thomas

\setuppapersize[A6,landscape][A6,landscape]

\setuplayout[backspace=1cm,
             topspace=0.4cm,
             marking=off,
             width=13cm,
             height=9.7cm,
             header=0.6cm,
             footer=0cm,
]

\startreusableMPgraphic{card}
StartPage ;
save p ; path p[] ;
p[0] = ulcorner Page -- urcorner Page ;
p[0] := p[0] shifted (0, -0.97cm) ;
for i = 1 upto 18 :
	p[i] = p[i-1] shifted (0, -14.42pt) ;
	draw p[i] withcolor (0.5,0.5,0.5) ;
endfor ;
pickup pencircle scaled 2pt ;
draw p[0] withcolor red ;
StopPage ;
\stopreusableMPgraphic

\defineoverlay[Card][\reuseMPgraphic{card}]

\setupbackgrounds[page]
		 [state=repeat,
		  background={Card}]

\starttext

Test

\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2022-10-24 18:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-21  9:32 Backgrounds has changed in latest lmtx Thomas A. Schmitz via ntg-context
2022-10-21 15:08 ` Otared Kavian via ntg-context
2022-10-23 13:20 ` Thomas A. Schmitz via ntg-context
     [not found] ` <f428cfc5-2a0f-8214-711e-1cf900891578@freedom.nl>
     [not found]   ` <af671e96-0b91-d73d-2f6a-9d1a359bb613@uni-bonn.de>
     [not found]     ` <c906a418-5e35-ad86-747f-5ee1676be51a@freedom.nl>
2022-10-23 14:00       ` Thomas A. Schmitz via ntg-context
2022-10-23 14:21         ` Mikael Sundqvist via ntg-context
2022-10-23 14:30           ` Thomas A. Schmitz via ntg-context
2022-10-23 19:34             ` Otared Kavian via ntg-context
2022-10-23 19:52               ` Thomas A. Schmitz via ntg-context
2022-10-23 19:54                 ` Leah Neukirchen via ntg-context
2022-10-23 20:10                   ` Thomas A. Schmitz via ntg-context
2022-10-23 21:21                     ` Hans Hagen via ntg-context
2022-10-24 18:30                 ` Otared Kavian via ntg-context

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