Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shading fails with PGF 3.1.7a and ConTeXt LMTX #958

Open
jeanprey opened this issue Dec 17, 2020 · 1 comment
Open

Shading fails with PGF 3.1.7a and ConTeXt LMTX #958

jeanprey opened this issue Dec 17, 2020 · 1 comment

Comments

@jeanprey
Copy link

Brief outline of the bug

Shading key words (left color, etc.) aren't recognized with PGF 3.1.7a and ConTeXt.

I have seen the bug report #928 about shadings issue on latex, I don't think this is related.

Minimal working example (MWE)

Here is a minimal failing example

\usemodule[tikz]
\starttext
\starttikzpicture
\node [left color=red, right color=yellow] {Hello};
\stoptikzpicture
\stoptext

The compilation fails with pgf version 3.1.7a and ConTeXt 20201210 LMTX with the following message

tex error on line 4 in file ./mfe-shade.tex: Valid keyword expected, likely 'direction'

(see attached log file).
mfe-shade.log

I tried the same example with the same ConTeXt version and pgf version 3.0.1 which is available in the ConTeXt distribution and it works perfectly well.

@hmenke
Copy link
Member

hmenke commented Dec 17, 2020

LMTX is radically changing the backend compared to LuaTeX. I hope we can keep compatibility. The offending commit is this one: 74b2cc3

@hmenke hmenke changed the title Shading fails with PGF 3.1.7a and ConTeXt Shading fails with PGF 3.1.7a and ConTeXt LMTX Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants