manuels / texlive.js

Compiling LaTeX (TeX live) in your browser
http://manuels.github.com/texlive.js/
GNU General Public License v2.0
1.25k stars 140 forks source link

adding a style while compiling #45

Closed s6fikass closed 7 years ago

s6fikass commented 7 years ago

In texlive the Unix version it is possible to add a cls file which contain a certain style to the tex document and the result is the pdf with styles represented Does texlive .js provide the same function

manuels commented 7 years ago

Sure, you can create new files in the virtual filesystem which points to a URL. See https://github.com/manuels/texlive.js/blob/gh-pages/index.html#L180 and https://github.com/manuels/texlive.js/blob/gh-pages/pdftex.js#L117

s6fikass commented 7 years ago

@manuels But will the result pdf have the style present in the .cls i am trying to apply what is mentioned here

manuels commented 7 years ago

sure, if you specify in your .tex file that this .cls should be used.