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

Add binary include option #26

Open
D4no0 opened this issue Nov 2, 2020 · 1 comment
Open

Add binary include option #26

D4no0 opened this issue Nov 2, 2020 · 1 comment

Comments

@D4no0
Copy link

D4no0 commented Nov 2, 2020

As stated in documentation for additional external files for processing:

When providing a file path, you can also define additional files needed for processing. They will be copied to the temporary directory where processing will take place.

Iona.source(path: "/path/to/document.tex",
            include: ["/path/to/document.bib",
                      "/path/to/documentclass.sty"])

I have an use-case where I can pass the includes only as binary, to avoid creating temporary files on my end, I think an option like the following should be added:

Iona.source(path: "/path/to/document.tex",
            include: [path: "/path/to/document.bib",
                      binary: {binary, "virtualpath/documentname.sty"}])
@maennchen
Copy link
Owner

@D4no0 If I understand this correctly, you propose the dynamically create the given binary while compilation and remove it at the end?

If yes, a PR is welcome :)

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

2 participants