Skip to content

Commit ad5e29e

Browse files
committed
attemtpt to add pdf exports for myst - not quite working though
1 parent ad2883e commit ad5e29e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

myst.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,19 @@ project:
2525
# this is too aggressive, and remove things like <module ...>
2626
# that we sometimes want to show
2727
output_matplotlib_strings: warn
28+
exports:
29+
- format: pdf
30+
template: arxiv_two_column
31+
output: exports/mooc-tex.pdf
32+
- format: typst
33+
template: https://github.com/myst-templates/plain_typst_book.git
34+
output: exports/mooc-typst.pdf
35+
cover: media/logo-python.svg
36+
logo: media/logo-python.svg
37+
logo_text: "MOOC Python"
38+
logo_width: 10
39+
ToC_depth: 3
40+
2841

2942
site:
3043
#template: book-theme

0 commit comments

Comments
 (0)