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

This library requires TEXLIVE distribution installed on the computer to be used? #40

Open
iMartinezMateu opened this issue Feb 8, 2016 · 11 comments

Comments

@iMartinezMateu
Copy link

Hi,

I need to develop a LaTeX web application program in Java that compiles LaTeX documents without the need of making external communication with other process, so the main requirement of this application is not having TEXLIVE (or another distribution) installed on the computer where the program is going to be executed. This library requires TEXLIVE distribution installed on the computer or it can work without any dependency?

Thanks.

@xylo04
Copy link
Contributor

xylo04 commented Feb 8, 2016

Yes, this library will work as a self-contained web application and doesn't require any form of LaTeX to be installed on the user's machine. If you take a look at the demo page http://manuels.github.io/texlive.js/ and pop open the network view of your browser's developer tools, you'll see that TeX Live is downloaded into the user's browser and run there. It sounds like this library should fit your requirements, although it does not have Java bindings, only JavaScript.

@fzimmermann89
Copy link
Contributor

Hi,

this javascript library allows to run a javascript version of pdftex in
your browser (or any other javascript interpreter). It needs access to all
latex/font/... files included in your .tex. One way to achieve this is to
install texlive. If you wish you can then clean up the texlive installation
by removing all unnecessary files (as done by the makefile). Another way is
to use the texlive folder in the repo. Currently the library access the
files via emscriptens lazy loading. If you are not using a server for all
the texlive files, you might want to look into the different ways to access
files (or include all neccessary files with emscripten on compile)

Felix

2016-02-08 12:40 GMT+01:00 Iván Martínez Mateu [email protected]:

Hi,

I need to develop a LaTeX web application program in Java that compiles
LaTeX documents without the need of making external communication with
other process, so the main requirement of this application is not having
TEXLIVE (or another distribution) installed on the computer where the
program is going to be executed. This library requires TEXLIVE distribution
installed on the computer or it can work without any dependency?

Thanks.


Reply to this email directly or view it on GitHub
#40.

@iMartinezMateu
Copy link
Author

Thanks for your answer.

If I use this library in my application, can I later sell the app in the App Store or the GNU license will be a problem?

El 8 feb 2016, a las 16:11, Chris Keller [email protected] escribió:

Yes, this library will work as a self-contained web application and doesn't require any form of LaTeX to be installed on the user's machine. If you take a look at the demo page http://manuels.github.io/texlive.js/ and pop open the network view of your browser's developer tools, you'll see that TeX Live is downloaded into the user's browser and run there. It sounds like this library should fit your requirements, although it does not have Java bindings, only JavaScript.


Reply to this email directly or view it on GitHub.

@xylo04
Copy link
Contributor

xylo04 commented Feb 8, 2016

I'm not a lawyer, but my impression is that GNU license would be a problem if it were packaged into an installed app.

@fzimmermann89
Copy link
Contributor

fzimmermann89 commented Feb 8, 2016 via email

@manuels
Copy link
Owner

manuels commented Feb 8, 2016

I would agree with @fzimmermann89 interpretation of the GPL.

@iMartinezMateu
Copy link
Author

I read in an issue that this library is GPL because of TeXlive. If I replace TeXlive with another non-GPL distribution and I use the pdflatex compiler ported here, can I avoid that my app inherits GPL license? So, I can charge for it without any restriction or obligation.

El 8 feb 2016, a las 19:45, Felix [email protected] escribió:

As far as I am concerned you CAN sell it an the google play store IF you
don't use any DRM. If one person buys your app it must be possible for him
to share it by any means (such as copying the apk to a different device)
and one should be able to change parts your app, recompile it and use it
instead. So you MUST provide complete source code of your app.
You will not be able to sell it on the apple store (you cant disable their
DRM).

Reply to this email directly or view it on GitHub.

@manuels
Copy link
Owner

manuels commented Feb 8, 2016

If I replace TeXlive with another non-GPL distribution and I use the pdflatex compiler ported here, can I avoid that my app inherits GPL license?

No, AFAIK the original pdflatex compiler is also licensed under GPL.

@iMartinezMateu
Copy link
Author

Mmm... so the only way is choosing XeTeX as it has a MIT License (check https://en.wikipedia.org/wiki/XeTeX ) and trying to use emscripten like you did here to porting it to Javascript. Right? Do you know if XeTeX has SyncTeX support and what are the main differences between LaTeX and XeTeX in terms of package compatibility?

@fzimmermann89
Copy link
Contributor

No.
Pdftex (and every other latex to PDF Compiler I know) is GPL.
Am 08.02.2016 9:26 nachm. schrieb "Iván Martínez Mateu" <
[email protected]>:

I read in an issue that this library is GPL because of TeXlive. If I
replace TeXlive with another non-GPL distribution and I use the pdflatex
compiler ported here, can I avoid that my app inherits GPL license? So, I
can charge for it without any restriction or obligation.

El 8 feb 2016, a las 19:45, Felix [email protected] escribió:

As far as I am concerned you CAN sell it an the google play store IF you
don't use any DRM. If one person buys your app it must be possible for
him
to share it by any means (such as copying the apk to a different device)
and one should be able to change parts your app, recompile it and use it
instead. So you MUST provide complete source code of your app.
You will not be able to sell it on the apple store (you cant disable
their
DRM).

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#40 (comment).

@fzimmermann89
Copy link
Contributor

Again: No.
XeTex doesn't produce pdf files. Either way of converting its output to pdf is GPL or CPL (same restrictions).

I am not willing to discuss this matter any further.
My last advice is: If you want to create a latex app, make it opensource. You propably could earn money because of the laziness of people: Some people will not start searching for a way to get your app for free or chose to pay because they like your work.

Any of this is completely outside the scope of texlive.js..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants