We recently added "table notes" - sorta like footnotes for entries of tables. I
asked Andrew S about some CSS for the HTML version. Which he graciously did.
He also cleaned up the output (a list structure) to help with accessibility and
improve the styling/presentation. A great improvement.
But - and here's the rub - that made the CSS compulsory; and that same HTML is
used for EPUB, Reveal slideshow, and Jupyter.
Here's the takeaway on this post from me. Those conversions have been whipped
into shape and will no longer be allowed to suffer from neglect. (Braille is
the same way.) So if you are designing new output structures because you are
devoted to the HTML output, you are also responsible for the downstream
conversions as well, which have their own quirks. No claiming ignorance, no
foisting it off on others (me). (I am not accusing Andew of this!!! To the
contrary.).
Now, from Andrew on
https://github.com/PreTeXtBook/pretext/issues/3121,
> If you want to keep Reveal/Jupyter up to date on features, it would help to
simplify testing/development for them.
>
> Suggestions/questions:
>
> * Is there a simple turnkey way to view the Jupyter build output? If not,
could there be?
Great question. I always have a Sage CLI executable around and it has a Jupter
notebook server built-in. @Sean (or anybody with experience) - what is the
dead-simplest way to go? Can we pip-install something into our Python virtual
environments. Is there an online server that would suffice? Don't send us down
some Anaconda rat hole, please. ;-)
> * Move the Jupyter CSS out of the XSL
Mostly for Andrew. Jupyter notebooks are totally paranoid. We have to put
inline CSS into a cell and ask the reader to execute it. So - where exactly?
And maybe also - how does this help? The XSL has to get it somehow and park it
in a cell, which I guess we can do by reading some file in. See above about quirks.
> * Make sure the sample-slideshow gets examples of anything considered
"slideable". There likely will be constructs that don't make sense there. But
anything that does make sense should be there.
Right. I'm leaving that to grow organically, so I guess "new" CSS could come
with new examples/features.
> * Those formats need a developer champion. I've essentially volunteered to be
a web CSS champion and will generally be happy to advise/help there on issues.
EPUB kind of follows from that. I'm not eager to spend time on these separate
branches of CSS for issues I didn't directly cause (by adding the feature in
question).
The champions right now are me and my assistant. But if the people who use
these would speak up when they try something not in the samples, then I think we
can now make short work of adding them. On-demand development, not speculative
development. And of course, champions are always welcome (Sean!).