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

tikz: fix uses of \pgfutil@switch #981

Merged
merged 2 commits into from
Jan 13, 2021

Conversation

muzimuzhi
Copy link
Member

Motivation for this change

This PR fixes a problem introduced by 70f814b. See previous discussions in #970 (comment).

Examples for testing:

\documentclass{article}
\usepackage{tikz}

\begin{document}
% test "\tikz@handle"
% current: infinite loop
% expected: throws error
%   ! Package tikz Error: Giving up on this path. Did you forget a semicolon?.
\tikz \path x;
\end{document}
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calendar}

\begin{document}
% test "\tikz@lib@cal@handle"
% current: infinite loop
% expected: throws error
%   ! Package tikz Error: Giving up on this calendar.
\tikz \calendar x;
\end{document}

Checklist

Please check the boxes to explicitly state your agreement to these terms:

Co-authored-by: Henri Menke <henri@henrimenke.de>
Copy link
Member

@hmenke hmenke left a comment

Choose a reason for hiding this comment

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

Please go ahead. Your first merge as maintainer. 🎉

@muzimuzhi muzimuzhi merged commit 95b7221 into pgf-tikz:master Jan 13, 2021
@muzimuzhi muzimuzhi deleted the fix-tikz@handle branch January 13, 2021 20:11
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.

2 participants