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

Extend range of matching tex keywords #1827

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

TomK32
Copy link

@TomK32 TomK32 commented Jun 19, 2024

It's not uncommon for tex files to start with % comments, which then allows matlab to claim a match. By extending the range to match \documentclass, \documentstyle and adding \usepackage this works for my files.

On matlab, the match for comments has already caused a mis-match with pdf files TIKA-3328 , and as far as I can see it is the only one with a matcher for comments which I think is just ridiculous and should be removed altogether.

It's not uncommon for tex files to start with % comments, which then allows matlab to claim a match. By extending the range to match \documentclass, \documentstyle and adding \usepackage this works for my files.

On matlab, the match for comments has already caused a mis-match with pdf files TIKA-3328 , and as far as I can see it is the only one with a matcher for comments which I think is just ridiculous and should be removed altogether.
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.

1 participant