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

Insert usepackage correctly #1286

Merged
merged 1 commit into from
Mar 7, 2020
Merged

Insert usepackage correctly #1286

merged 1 commit into from
Mar 7, 2020

Conversation

PHPirates
Copy link
Collaborator

Fixes #1274

Summary of additions and changes

  • Insert in PSI tree instead of document

How to test this pull request

  • Use quickfix of any command/environment which requires a package

@PHPirates PHPirates added this to the b0.6.9 milestone Mar 3, 2020
@PHPirates PHPirates self-assigned this Mar 3, 2020
Copy link
Collaborator

@slideclimb slideclimb left a comment

Choose a reason for hiding this comment

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

Works, but the environment requires ... package inspection is broken? When using an amsmath environment in an \inputed file, it keeps showing the inspection and adds multiple \usepackage{amsmath} to the main file.

@PHPirates PHPirates merged commit 3e9a13d into master Mar 7, 2020
@PHPirates PHPirates deleted the usepackage-insert branch March 7, 2020 12:24
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

Successfully merging this pull request may close these issues.

"Environment requires amsmath package" error when using certain environments even while amsmath is included
2 participants