An idea that needs a few details ironed-out first. So not fully-baked.
Leave version support syntax (@include, @component) and behavior exactly as is.
But, when a component is being considered for inclusion, go look at a mapping
from component-names to dates, living in the publisher file. If a
component-name is found there, react conditionally depending on the associated
date and today's date.
Useful for instructor materials. Maybe a bit distracting for a world-wide book.
We have had individuals who like to be author, publisher, instructor (I'm
looking in the mirror) who want to release parts of *their* book over the course
of a term (now I'm looking at Oscar). The above might be a mess, but might be
workable.
Brad does not one-off books on Runestone. In other words, DMOI shouldn't have
235 instances, all derived from the same source, but all different. But maybe
the above sheme could be adapted to limit visibility for a specific course,
based on a further mapping from component-names and dates to our unique HTML IDs
(on "subchapters")?
Rob
> versions.html#version- <
https://pretextbook.org/doc/guide/html/
> publisher-versions.html#version->
> pretext- <
https://groups.google.com/d/msgid/pretext->
> >> dev/19ba824e-9f0b-4361-a98c-cb191e01fd98n%
40googlegroups.com
> <
http://40googlegroups.com> <https://
> >>
groups.google.com/d/msgid/pretext-dev/19ba824e-9f0b-4361-a98c-
> <
http://groups.google.com/d/msgid/pretext-dev/19ba824e-9f0b-4361-a98c->
> >> cb191e01fd98n%
40googlegroups.com?
> utm_medium=email&utm_source=footer <
http://40googlegroups.com?
> utm_medium=email&utm_source=footer>>.
> >
> > --
> > Mitch Keller
> >
mi...@rellek.net
> >
> >
http://www.rellek.net/ <
http://www.rellek.net/>
> pretext-dev/ <
https://groups.google.com/d/msgid/pretext-dev/>
> > BC945BE4-E7DD-46E6-BBF9-CEFE7D693C46%
40rellek.net
> <
http://40rellek.net> <
https://groups.google.com/d/ <https://
>
groups.google.com/d/>
> > msgid/pretext-dev/BC945BE4-E7DD-46E6-BBF9-
> CEFE7D693C46%
40rellek.net <
http://40rellek.net>?
> > utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> dev/98a76727-c233-46cf-aeca-4988e128fe62n%
40googlegroups.com <https://
>
groups.google.com/d/msgid/pretext-dev/98a76727-c233-46cf-
> aeca-4988e128fe62n%
40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> CACm44N8zomK1Rogw_Y97v1BUL_1EN6xNL%2BvSqjoGRdEGKiOj9g%
40mail.gmail.com
> <
https://groups.google.com/d/msgid/pretext-dev/
> CACm44N8zomK1Rogw_Y97v1BUL_1EN6xNL%2BvSqjoGRdEGKiOj9g%
40mail.gmail.com?
> utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> CAOU9BaUEnGrd7S7%2B-eadY6%3DcKfs-myR%3DU9wYMPO-K0fWmMsORw%
40mail.gmail.com
> <
https://groups.google.com/d/msgid/pretext-dev/CAOU9BaUEnGrd7S7%2B-eadY6%3DcKfs-
> myR%3DU9wYMPO-K0fWmMsORw%
40mail.gmail.com?utm_medium=email&utm_source=footer>.