Code Monkey home page Code Monkey logo

Comments (4)

neo-jgrec avatar neo-jgrec commented on May 23, 2024 1

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.

neo-jgrec avatar neo-jgrec commented on May 23, 2024

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.

ldXiao avatar ldXiao commented on May 23, 2024

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.

elliott-wen avatar elliott-wen commented on May 23, 2024

from swiftlatex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.