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

Two errors compiling #1

Open
bloff opened this issue Jan 11, 2020 · 2 comments
Open

Two errors compiling #1

bloff opened this issue Jan 11, 2020 · 2 comments

Comments

@bloff
Copy link

bloff commented Jan 11, 2020

Hey I have two issues.

When I try to compile a tex file with any chord, for example \chordbox{C}{0,3,2,0,1,0} I get the error undefined control sequence \n.

If I do \newcommand{\n}{6}\chordbox{C}{0,3,2,0,1,0} then the chord is drawn, which leads me to think that this issue has something to do with parsing of the comma-separated args.

When I try to compile a bar chord, I get an issue even when I define \n. For example, \newcommand{\n}{6}\bchordbox{F}{0,3,2,0,1,0}{2} gives me the compilation error Package pgf Error: No shape named end is known..

@bloff
Copy link
Author

bloff commented Jan 11, 2020

It may or may not have something to do with this recent change to pgf: pgf-tikz/pgf#702

@bloff
Copy link
Author

bloff commented Jan 12, 2020

Yes, I can confirm this. The first bug is because of the recent change to pgf. The code is using the \n variable outside of the foreach loop. This used to be allowed but is no longer. I'm working on a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant