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

Specify LTeX commands through inline comments #284

Open
thomwiggers opened this issue Nov 14, 2023 · 0 comments
Open

Specify LTeX commands through inline comments #284

thomwiggers opened this issue Nov 14, 2023 · 0 comments
Labels
1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature

Comments

@thomwiggers
Copy link

Is your feature request related to a problem? Please describe.

Editing the LTeX settings for a project is a bit cumbersome when specifying many new document commands. It would be nice if I could use the % LTeX: macro to add new command recognitions.

Describe the solution you'd like

This might not be the best syntax, but something along the lines of:

% LTeX: command \SomeCommand{}=ignore
% LTeX: command \SomeOtherCommand{}=dummy

In an ideal world, LTeX would understand \newcommand and \NewDocumentCommand such that it can do:

% LTeX: command=ignore
\NewDocumentCommand{\somefoo}{m}{bar #1}
@thomwiggers thomwiggers added the 1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature
Projects
None yet
Development

No branches or pull requests

1 participant