Hi, I noticed on recent betas (I'm not sure when this first began) that the command \definegraphictypesynonym no longer works. I corrected it in grph-inc.lua:

--- a/tex/texmf-context/tex/context/base/grph-inc.lua
+++ b/tex/texmf-context/tex/context/base/grph-inc.lua
@@ -429,8 +429,8 @@ end
 function figures.registersuffix (suffix, target) register('list',   
target,suffix ) end
 function figures.registerpattern(pattern,target) 
register('pattern',target,pattern) end

-implement { name = "registerfiguresuffix",  actions = register, arguments = { "'list'",    
"string", "string" } }
-implement { name = "registerfigurepattern", actions = register, arguments = { "'pattern'", 
"string", "string" } }
+implement { name = "registerfiguresuffix",  actions = figures.registersuffix,  arguments = { 
"string", "string" } }
+implement { name = "registerfigurepattern", actions = figures.registerpattern, arguments = { 
"string", "string" } }

I believe I only needed to fix "registerfiguresuffix" but also patched "registerfigurepattern" since the code looks like it isn't working, either. This was tested on 20150805.

Best regards,
Brian
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to