Comments (4)
It depend on what packages you use in your document.
The simplest way (but not the best) is to copy every files from the texlive mirror (7Go~) into the /public
.
But, it's not that good, what I have made, is quite a brute force. I've compile till success and log where it fails to know which packages I need to add. So instead of having 7Go of files, I have 18Mo.
For instance, if your document class is article
you would certainly need the article.cls
file, etc...
In both case, you will need to edit the pre.js
to make it fetch from the current url instead of a remote one.
from swiftlatex.
You must refactor the pre.js. And personnaly, to achieve this, I've put the texlive files into the /public
of my front app.
Then I can detect what is the root of my own URL and fetch from the public folder.
from swiftlatex.
You must refactor the pre.js. And personnaly, to achieve this, I've put the texlive files into the
/public
of my front app. Then I can detect what is the root of my own URL and fetch from the public folder.
Hi Jeffroy, could you please give us some directions on the details? what texlive files should be plcaed in \public
?
from swiftlatex.
from swiftlatex.
Related Issues (20)
- [Enhancement] Change editor font size
- Demo page is not loading HOT 1
- Docker image and documentation HOT 11
- Cannot build WASM core HOT 13
- Bug: setTexliveEndpoint HOT 3
- How to run on localhost HOT 4
- Can this library be used in node.js? HOT 21
- CORS access to mirror? HOT 3
- ReferenceError: cwrap is not defined swiftlatexpdftex.js HOT 2
- Is the demo working? HOT 4
- warning: sorry, PostScript images are not supported by Tectonic
- Output svg HOT 2
- Future? HOT 5
- How to properly process figures (e.g., pdf files)? HOT 2
- Question: Why PdfTeX and XeTeX instead of LuaTeX? HOT 2
- How can I use the wysiwyg editor?
- Spaces in folder name
- _maloc is not defined HOT 2
- Issue with PdfTeXEngine.js Integration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftlatex.