Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LaTeX compiler in-browser #28

Merged
merged 12 commits into from
Nov 26, 2023
Merged

LaTeX compiler in-browser #28

merged 12 commits into from
Nov 26, 2023

Conversation

pulsejet
Copy link
Member

@pulsejet pulsejet commented Nov 15, 2023

Supports compilation of LaTeX in browser with WASM (https://github.com/SwiftLaTeX/SwiftLaTeX)

This is mostly just a PoC not intended for merging due to limitations in SwiftLaTeX:

  1. It's way of fetching required files is terribly inefficient (no caching)
  2. It also relies on a service hosted by SwiftLaTeX to fetch these files instead of CTAN (even though I read somewhere that it can use CTAN ...)
  3. SwiftLaTeX is AGPL-3.0

image

@pulsejet pulsejet marked this pull request as draft November 15, 2023 10:01
@zjkmxy
Copy link
Collaborator

zjkmxy commented Nov 15, 2023

#5

@pulsejet pulsejet mentioned this pull request Nov 15, 2023
Copy link
Collaborator

@zjkmxy zjkmxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yoursunny
Copy link

2. It also relies on a service hosted by SwiftLaTeX to fetch these files instead of CTAN (even though I read somewhere that it can use CTAN ...)

Neither would satisfy cloud optional.

If the file retrieval functionality is a pluggable module, it can be converted to retrieve from NDN network.
The entire CPAN library is then converted to a synchronized NDN repository, hosted on capable hosts.

@pulsejet
Copy link
Member Author

Neither would satisfy cloud optional.

It kinda does, if you can host your own repo of modules. We'll always have some webserver dependence anyway, unless we package this app with electron.

If the file retrieval functionality is a pluggable module, it can be converted to retrieve from NDN network. The entire CPAN library is then converted to a synchronized NDN repository, hosted on capable hosts.

This is ideal 💯

@pulsejet pulsejet changed the title [Do not merge] PoC: LaTeX compiler in-browser LaTeX compiler in-browser Nov 16, 2023
@pulsejet pulsejet marked this pull request as ready for review November 16, 2023 18:38
@pulsejet
Copy link
Member Author

I've marked the PR as ready @zjkmxy

@zjkmxy
Copy link
Collaborator

zjkmxy commented Nov 16, 2023

Based on our discussion we will not merge this PR for now, but will keep maintaining the branch until we make it a loadable module.

@zjkmxy zjkmxy added the wontfix This will not be worked on label Nov 16, 2023
@zjkmxy zjkmxy linked an issue Nov 23, 2023 that may be closed by this pull request
@zjkmxy zjkmxy merged commit 4cf0c46 into main Nov 26, 2023
3 checks passed
@zjkmxy zjkmxy deleted the varun/compiler-poc branch November 26, 2023 14:05
@zjkmxy zjkmxy mentioned this pull request Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compile PDF file
3 participants