-
Notifications
You must be signed in to change notification settings - Fork 11
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
Compile PDF does not work #3
Comments
Thank you for including my project in your page!! Well if I include texlive inside the build the artifact will be close to 200mb, so I just give a notification to the user (when they enter "Science") to install texlive/mactex/miktex according to their os. An alternative would be a startup script to download and install core packages (tried that with dependencies and debian), but the installation would then take forever. Every other major program does that. I do not believe that github will be happy with an artifact this big and people downloading from it. And I also have to take care of cross-platform compatibility here (it is a pain already with all the bugs that windows introduce %@$#$^@$%^#*#$&$%) The notification searches for the pdflatex command in the console, so users are sure to be ok if they do not see anything (as the linux way dictates). Also, with texlive, if you are, for example, a musician or a chemist and you require specific packages that are not included in texlive-core and portable editions, you have a problem and you have to install your additional packages as well. I believe the user should be free to choose their tex distribution and their packages, else I should make them download texlive-full (2GB). |
Well, think about an AppImage like a "Live ISO" but for applications. The beauty is that you don't have to install anything because all dependencies (that cannot be assumed to be part of each target system) come bundled inside the AppImage. GitHub has no issues with 200 MB binaries in GitHub Releases (but don't check them into the git repository!) |
Ok now I finished with automatic updates and I am off to find a way to include the portable binary in the distribution. But if I include it in the AppImage, won't it's folder be read-only? If this is the case, texlive will not be able to install additional packages on demand. Correct me if I am wrong I just started working with AppImage. With native binaries this problem disappears, since I include the necessary texlive components as dependencies and they get installed along with the deb, rpm, pacman of infinitex. |
Correct, an AppImage is read-only by design. So you should bundle everything needed to produce a PDF (that would be sufficient for >90% of users who don't want to install custom packages beyond the ones that come inside the AppImage out-of-the-box). If the user wants to customize the setup, they can use |
pdflatex
and everything it needs to run should be bundled inside the AppImage. Along the lines ofThe text was updated successfully, but these errors were encountered: