-
Notifications
You must be signed in to change notification settings - Fork 210
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
Update the sample slideshow #2159
Comments
@rbeezer Has anyone done work on this at the workshop this week? Otherwise, I think I can use what I learned getting one of my (much more involved) slideshows into CLI shape to address some of these things (for reveal.js, to be clear, I haven't looked into beamer yet but presumably for the sample I might be able to make some progress on that too). |
#2223 addresses the first bullet point. I already have the second working (as well as the first, but I guess @sean-fitzpatrick didn't see the earlier comment) modulo the issue of names of directories not working in |
I just tried adding an experiment to the sample slideshow containing one TikZ image and one Asymptote image. There are errors, which I think are mostly due to the CLI not knowing what outformat to supply:
There are also a bunch of error messages coming from Asymptote, because the CLI is trying to build a 3D image in all formats, but not all formats are supported for 3D. That said... the images are built, and placed in the correct place, and they show up in the slides, despite the error messages. But I get the same problem regarding widths that I get with externally generated images. |
A couple of these errors were my fault, but there were two that persisted: the table of contents error for the TikZ image, and the fact that asymptote tried to build all formats for a 3D image. But I ran into another problem: using the following markup, instead of images side by side, the asymptote image was below and to the right:
|
That's weird. The part with both going flush left even when you ask for the sbs widths is familiar, and again probably is from something weird in |
I'll replace my test images with ones from the sample article, and push that to my existing PR.
My PR only touches the |
Correction: managed directories are in place, along with a CLI project file, for the copy of the sample slideshow in the @rbeezer do you want me to update the contents of the The CLI has the following folders: I observed the following quirks with Asymptote images in a sidebyside:
Note that the Asymptote WebGL In any case, I am ready to push changes to include two new slides: one with an external image, and one with two generated images (one TikZ, one Asymptote). It will only take a few minutes to make additional changes (project file, assets folder, etc.) if this is desired. |
My plans for adding slide-show as a CLI target are mainly to remove the needed custom xsl. So that directory won't be needed. |
Does the CLI still call pretext/pretext? There is no slide target there. I can build with xsltproc (with manual handling of images) or with the CLI (using the current custom setup). I'll check under the pretext/pretext hood and see if I can figure out what needs to be added. |
I think I need to do two things:
But Oscar is more likely to know what he is doing, so I think I should leave this for him. |
I think that the pretext/pretext script can call an arbitrary style sheet. But maybe that is wishful thinking. If not, such a thing could be added or done with the CLI. The main reasons to stop using custom are to remove the xsl from the project directory, and to ensure the right assets are built. |
I have pretext/pretext doing everything except writing the slides.html output file. So far I haven't figured out how to make that happen. I'll see what I can figure out at the next airport. |
Tagging work me (@ascholerChemeketa). @sean-fitzpatrick doxed non-work me :) |
Ah, sorry! That was the first suggestion that GitHub gave me! |
sample-slideshow.xml
could use some attention. Especially as an example of "small" PreTeXt.pretext/pretext
script as those routines become more essential.The text was updated successfully, but these errors were encountered: