iona icon indicating copy to clipboard operation
iona copied to clipboard

Add binary include option

Open D4no0 opened this issue 5 years ago • 1 comments

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"}])

D4no0 avatar Nov 02 '20 13:11 D4no0

@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 :)

maennchen avatar Nov 11 '20 15:11 maennchen