![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
Hi all, I don’t know if I’m overlooking something really basic or if this is a bug. The following MWE compiles with mkiv, but not with lmtx: \startreusableMPgraphic{fold} fill unitsquare xyscaled (1mm,1mm) withcolor blue ; \stopreusableMPgraphic \definelayer[foldingmarkslayer][width=\paperwidth,height=\paperheight] \setlayer[foldingmarkslayer][y=101mm,x=11mm]{\reuseMPgraphic{fold}} \setupbackgrounds [page][background=foldingmarkslayer] \starttext Test \stoptext The error I get: tex error on line 6 in file ./test.tex: Use of \meta_usempgraphic_nop doesn't match its definition Any pointers? Thanks Thomas
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
Thomas A. Schmitz schrieb am 12.07.2021 um 18:02:
Hi all,
I don’t know if I’m overlooking something really basic or if this is a bug. The following MWE compiles with mkiv, but not with lmtx:
\startreusableMPgraphic{fold} fill unitsquare xyscaled (1mm,1mm) withcolor blue ; \stopreusableMPgraphic
\definelayer[foldingmarkslayer][width=\paperwidth,height=\paperheight] \setlayer[foldingmarkslayer][y=101mm,x=11mm]{\reuseMPgraphic{fold}}
\setupbackgrounds [page][background=foldingmarkslayer]
\starttext
Test
\stoptext
The error I get:
tex error on line 6 in file ./test.tex: Use of \meta_usempgraphic_nop doesn't match its definition
Any pointers? Thanks
meta-ini.mkxl -\def\meta_usempgraphic_nop#=#*#=% +\tolerant\def\meta_usempgraphic_nop#=#*#=% {\meta_begin_graphic_group{#1}% ... \meta_end_graphic_group} Wolfgang
![](https://secure.gravatar.com/avatar/23c65792d6f3eb5f6194f6ec9eadc2ac.jpg?s=120&d=mm&r=g)
Hi, list! Is this already fixed in a new upload? I'm compiling old documents and having the same problem as Thomas, although Wolfgang's comment fixes it nicely. Cordially, Jairo El lun, 12 de jul. de 2021 a la(s) 11:18, Wolfgang Schuster ( wolfgang.schuster.lists@gmail.com) escribió:
Thomas A. Schmitz schrieb am 12.07.2021 um 18:02:
Hi all,
I don’t know if I’m overlooking something really basic or if this is a bug. The following MWE compiles with mkiv, but not with lmtx:
\startreusableMPgraphic{fold} fill unitsquare xyscaled (1mm,1mm) withcolor blue ; \stopreusableMPgraphic
\definelayer[foldingmarkslayer][width=\paperwidth,height=\paperheight] \setlayer[foldingmarkslayer][y=101mm,x=11mm]{\reuseMPgraphic{fold}}
\setupbackgrounds [page][background=foldingmarkslayer]
\starttext
Test
\stoptext
The error I get:
tex error on line 6 in file ./test.tex: Use of \meta_usempgraphic_nop doesn't match its definition
Any pointers? Thanks
meta-ini.mkxl
-\def\meta_usempgraphic_nop#=#*#=% +\tolerant\def\meta_usempgraphic_nop#=#*#=% {\meta_begin_graphic_group{#1}% ... \meta_end_graphic_group}
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
On 7/15/21 11:10 PM, Jairo A. del Rio wrote:
Hi, list! Is this already fixed in a new upload? I'm compiling old documents and having the same problem as Thomas, although Wolfgang's comment fixes it nicely.
Cordially,
There hasn't been a new upload since I asked my question, so for the time being, you have to apply the patch yourself. Thomas
participants (3)
-
Jairo A. del Rio
-
Thomas A. Schmitz
-
Wolfgang Schuster