Skip to content

Commit

Permalink
🐛 Updates for typst demo (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 authored Jul 17, 2023
1 parent 680da0a commit dd2acd3
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 16 deletions.
7 changes: 7 additions & 0 deletions .changeset/young-eels-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'myst-demo': patch
'@myst-theme/article': patch
'@myst-theme/book': patch
---

Update myst-to-typst demo
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/myst-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"myst-to-jats": "^1.0.7",
"myst-to-react": "^0.3.8",
"myst-to-tex": "^1.0.4",
"myst-to-typst": "^0.0.1",
"myst-to-typst": "^0.0.2",
"myst-transforms": "^1.0.5",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/myst-demo/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export function MySTRenderer({
setTex(result.tex);
setTexWarnings(result.texWarnings);
setTypst(result.typst);
setTypstWarnings(result.texWarnings);
setTypstWarnings(result.typstWarnings);
setJats(result.jats);
setJatsWarnings(result.jatsWarnings);
setWarnings(result.warnings);
Expand Down
1 change: 1 addition & 0 deletions themes/article/remix.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module.exports = {
'doi-utils',
'orcid',
'credit-roles',
'tex-to-typst',
'jats-tags',
'@myst-theme/providers',
'@myst-theme/icons',
Expand Down
1 change: 1 addition & 0 deletions themes/book/remix.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module.exports = {
'doi-utils',
'orcid',
'credit-roles',
'tex-to-typst',
'jats-tags',
'@myst-theme/providers',
'@myst-theme/icons',
Expand Down

0 comments on commit dd2acd3

Please sign in to comment.