jupyter-book / mystmd

Command line tools for working with MyST Markdown.
https://mystmd.org/guide
MIT License
191 stars 62 forks source link

List of Content for Content Types #1168

Open roaldarbol opened 4 months ago

roaldarbol commented 4 months ago

For bigger work printed work, such as these or books, it is common to include ToC for different content types, e.g. figures, tables, equations, theorems. Currently I don't think that is implemented.

Proposal

Implementing a command/directive that lists figures/tables/equations across the entire project.

roaldarbol commented 1 month ago

I'm getting closer to my submission deadline, so I'm digging into the LoF and LoT a bit now (I'm nearing the stage where I have to decide whether I'll have to bail on Typst and stick with LaTeX).

For Typst, it seems they would be implemented with outline in Typst, but I guess there's currently no binding for that through Pandoc?

I found out that Quarto also still do not support them for Typst, here's some discussions that might be relevant (they are about feature parity between LaTeX and Typst in Quarto) https://github.com/quarto-dev/quarto-cli/discussions/10223 https://github.com/jgm/pandoc/issues/9956.

choldgraf commented 1 month ago

this feels a little bit related to this one too:

roaldarbol commented 1 month ago

It does indeed. The kicker is that it needs to be available for PDF rendering, because no university allows submission of thesis by HTML.

roaldarbol commented 1 month ago

For Typst, this actually needs to be covered by the template I think. @choldgraf would you like to keep this open for the HTML case?