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

FR: Add ability to import multiply .sty files #33

Open
mayurankv opened this issue Dec 2, 2023 · 3 comments
Open

FR: Add ability to import multiply .sty files #33

mayurankv opened this issue Dec 2, 2023 · 3 comments

Comments

@mayurankv
Copy link

It would be great if you could import multiple preamble files. i.e. all files in a folder or paths to multiple files (ideally both options). This way you can separate out massive preambles into smaller more manageable file.

The best result would be being able to use \usepackage to import other preamble files but this is understandably much more different.

Please let me know if this would be possible or you would welcome a PR with this feature!

@wei2912
Copy link
Owner

wei2912 commented Dec 5, 2023

@mayurankv That sounds good, and I think it's definitely feasible to implement (see https://github.com/wei2912/obsidian-latex/blob/master/main.ts#L22 which currently just loads a single file). My main concern is with the implementation details, as it could be messy/unintuitive to support too many combinations. Perhaps you could implement glob matching?

@AndreiCravtov
Copy link

any progress on this?

@wei2912
Copy link
Owner

wei2912 commented Apr 24, 2024

Hey @AndreiCravtov, I'm not currently working on this but I'd be happy to review any PRs.

Bumping @mayurankv if you're still interested in this feature!

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

No branches or pull requests

3 participants