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

allow XSLT stylesheets to declare additional resources to be copied over #2060

Open
xworld21 opened this issue Mar 24, 2023 · 0 comments · May be fixed by #2062
Open

allow XSLT stylesheets to declare additional resources to be copied over #2060

xworld21 opened this issue Mar 24, 2023 · 0 comments · May be fixed by #2062

Comments

@xworld21
Copy link
Contributor

In short, it would be nice to have an instruction like <lx:require-resource src="url" type="mime"/> with the same arguments as \lxRequireResource. In fact, it would simply reduce to a call to copyResource.

The benefit is that different stylesheets would be able to programmatically include additional CSS, Javascript, images, etc. which would be very helpful when generating different outputs from the same XML file. Right now, one can pass additional files as arguments to latexmlpost, but the functionality is limited (e.g. you cannot customise the location of the files, one cannot pass images or other resources, and so on).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants