You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to use texlive.js as a library without modification and also placing it in a vendor folder are currently not possible, because this line in pdftex.js:
var worker = new Worker("pdftex-worker.js");
seems to be relative to root. If possible, I'd like to see if that can be made relative to the calling script. As an alternative, perhaps the content of pdftex-worker.js can be inlined in pdftex.js.
The text was updated successfully, but these errors were encountered:
Based on this line in index.html, it looks like the intent at one time was to make the PDFTeX constructor take the worker path as an optional parameter. I'll go that direction.
Attempting to use texlive.js as a library without modification and also placing it in a
vendor
folder are currently not possible, because this line inpdftex.js
:seems to be relative to root. If possible, I'd like to see if that can be made relative to the calling script. As an alternative, perhaps the content of
pdftex-worker.js
can be inlined inpdftex.js
.The text was updated successfully, but these errors were encountered: