On Thu, 8 Jun 2023, Jigé via ntg-context wrote:

>  Thanks a lot Aditya.
> 
> The very simple TikZ example with the cross works.
> The more complex example with the trigonometric circle from the pgf manual,
> quoted in https://wiki.contextgarden.net/TikZ , does not compile
> unless you also comment out
>  or find(n,"pdftex")
> in line 181 of the mtx-install-modules.lua file
> before doing mtxrun --script install-modules --install tikz
> but I could guess that from a:
>  Driver file ``pgfsys-pdftex.def'' not found..
> message

Ah so tikz uses both drivers. 

@Hans, so the validate function should be:

local function validate(n)
    return not (
           find(n,"latex")
     -- or find(n,"lualatex")
        or find(n,"plain")
        or find(n,"optex")
     -- or find(n,"luatex")
     -- or find(n,"pdftex")
    )
end


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

Reply via email to