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

Slideshow: Add devscript support #2228

Closed

Conversation

sean-fitzpatrick
Copy link
Contributor

Changes to pretext/pretext and pretext/pretext.py to add support for reveal.js slides.

It is working for me, but my Python is not great, so another set of eyes is needed.

Note that I didn't add a reveal-zip target. I'm not sure if that would be wanted.


# Consult publisher file for locations of images
generated_abs, external_abs = get_managed_directories(xml, pub_file)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line will make me very happy 😄

@rbeezer
Copy link
Collaborator

rbeezer commented Jul 27, 2024

Thanks, Sean! Very close. Needed to build the outpt file name (derivedname) for input to the xsltproc() call. I switched that up.

Some stuff near the end was then not really necessary until we have an option to zip everything together, especiually in hte case where we want to copy over the necessary resources (the actual Reveal JS and CSS). So I got rid of that for now. Perhaps something similar will come back.

See new issue, #2235

@rbeezer rbeezer closed this Jul 27, 2024
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

Successfully merging this pull request may close these issues.

3 participants