-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
There is currently no way to differentiate between HTML and EPUB output in a typst file, as upstream typst does not yet support EPUB. We should thus add support for an if target() == "epub", which I think is fine for at least two reasons:
- It will still be valid typst, and so will still compile. (It will just always evaluate to
false, as the typst compiler doesn't yet support that target.) - Support for this statement is likely to be added in upstream typst, as EPUB is on the roadmap as a target.
This will allow us to make the rheobook template a lot nicer for EPUB.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels