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

Environment parameters for verbatim environments #3544

Open
jojo2357 opened this issue May 6, 2024 · 1 comment
Open

Environment parameters for verbatim environments #3544

jojo2357 opened this issue May 6, 2024 · 1 comment
Labels
bug Deficiencies in TeXiFy behaviour. parser Issues for which significant changes in the parser are needed

Comments

@jojo2357
Copy link
Contributor

jojo2357 commented May 6, 2024

This gives an error because {sql} is a part of the magic environment.

		%! language = MySQL
		\begin{minted}{sql}
SELECT pl_to                         as 'page id',
@jojo2357 jojo2357 added bug Deficiencies in TeXiFy behaviour. untriaged Issue type still needs to be triaged or verified. labels May 6, 2024
@PHPirates PHPirates changed the title Magic Comment Environment Gives Error Environment parameters for verbatim environments May 8, 2024
@PHPirates
Copy link
Collaborator

Thanks for creating an issue, this was mentioned in #3358 (reply in thread) and TeXiFy should be able to automatically inject the language, however it will require some changes to the parser to make sure that environment parameters are not part of the verbatim.

@PHPirates PHPirates added parser Issues for which significant changes in the parser are needed and removed untriaged Issue type still needs to be triaged or verified. labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Deficiencies in TeXiFy behaviour. parser Issues for which significant changes in the parser are needed
Projects
None yet
Development

No branches or pull requests

2 participants