Skip to content

Commit

Permalink
Upgrade svg2pdf.js to fix PDF export with MathJax's null <use>s
Browse files Browse the repository at this point in the history
  • Loading branch information
edemaine committed Dec 11, 2023
1 parent d72f55e commit c6c428b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ To see every change with descriptions aimed at developers, see
As a continuously updated web app, Cocreate uses dates
instead of version numbers.

## 2023-12-11

* Fix PDF export with certain mathematical expressions, e.g.,
`$\log_2 n$`.

## 2023-11-24

* Light/dark mode now initializes to the user's preference according to the
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"solid-bootstrap": "1.0.8",
"solid-js": "1.4.7",
"solid-meteor-data": "0.6.1",
"svg2pdf.js": "2.2.1",
"svg2pdf.js": "2.2.3",
"tex2svg-webworker": "0.6.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"public": {
"cors-anywhere": "https://coproxy.csail.mit.edu:8080/",
"jspdf": "https://cdn.skypack.dev/pin/[email protected]/mode=imports,min/optimized/jspdf.js",
"svg2pdf.js": "https://cdn.skypack.dev/pin/[email protected].1-E39EA3q6JjbAU0rSktv0/mode=imports,min/optimized/svg2pdfjs.js",
"svg2pdf.js": "https://cdn.skypack.dev/pin/[email protected].3-I1MU7CCUIDYhq0i6zbtA/mode=imports,min/optimized/svg2pdfjs.js",
"tex2svg": "https://cdn.jsdelivr.net/npm/[email protected]/dist/tex2svg.js"
}
}

0 comments on commit c6c428b

Please sign in to comment.