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

Suggestion to replace quotation grammar with enquote #138

Open
bendix3 opened this issue Aug 14, 2017 · 2 comments
Open

Suggestion to replace quotation grammar with enquote #138

bendix3 opened this issue Aug 14, 2017 · 2 comments
Labels

Comments

@bendix3
Copy link

bendix3 commented Aug 14, 2017

I agree that regular quotation grammar is problematic and support it's deletion. Working with many languages and using the csquotes package, support for enquote grammar would be great, though. For now I just abused your latex grammar and it actually works, but perhaps someone can integrate it professionally. I just took the emph grammar and changed the first line and all names, this is what seems important:

'begin': '((\\\\)enquote[\\*]?)(\\{)'
# [...]
'name': 'meta.function.enquote.latex'
@yudai-nkt
Copy link
Collaborator

Thank you for your suggestion! However, I'm afraid I've only heard of the package and never used it, and it seems the syntax for \enquote is so simple that the current grammar already handles to a certain extent. What kind of support do you exactly need?

@bendix3
Copy link
Author

bendix3 commented Aug 29, 2017

It is simple, I need the class for highlighting the text within a quotation environment. Basically, I would like to see \enquote replace the quotation string environment that was already deleted. But if nobody else wants their quotes highlighted, I'll just keep my changed version of the package. Thanks for adding the feature label, I'll remember next time.

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

No branches or pull requests

2 participants