Skip to content

Conversation

@muzimuzhi
Copy link
Member

@muzimuzhi muzimuzhi commented Aug 28, 2025

Motivation for this change

Correct the fix for #1397, see analysis #1399 (review). The previous fix was #1399.

Fixes #1397.

Checklist

Please signoff your commits to explicitly state your agreement to the Developer Certificate of Origin. If that is not possible you may check the boxes below instead:

Signed-off-by: Yukai Chou <[email protected]>
@hmenke
Copy link
Member

hmenke commented Aug 29, 2025

#1399 is already released, so we need a hotfix, right?

\def\pgfutil@shellescape@lua@eightseven#1{%
\pgfutil@directlua{os.execute("\pgfutil@luaescapestring{#1}")}%
\pgfutil@directlua{%
local write_nl = texio.write_nl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will only ever call texio.write_nl once, so we don't gain anything from the local binding, but you can leave it. Just wanted to point that out.

@muzimuzhi
Copy link
Member Author

#1399 is already released, so we need a hotfix, right?

Unfortunately, yes.

@hmenke hmenke merged commit 1834fe8 into master Aug 29, 2025
5 checks passed
@muzimuzhi muzimuzhi deleted the hotfix/pgf@plot@code branch August 29, 2025 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

no changes but plot function calls gnuplot

3 participants