-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
HTML version? #116
Comments
This is a nice idea. If you manage to get it to work, I would definitely be happy to take the pull request. I may also look into it myself, but it might not be any time soon. |
I too am interested in this. I quite like the idea of moving mathematical writing online into webpages instead of in PDFs |
Finally. I was able to have some nice HTML. I've put up all the output and steps/limitations in a README. https://github.com/AvyChanna/napkin_html_out *You will need to clone the repo to view it properly. |
Sweet, glad you got it mostly working! I'm hoping to eliminate I'm curious whether we think this can be made to work with the CI, to generate automatically? |
Possibly, but I'd advice against it. Firstly, texlive version in current CI build is a whole major release behind(Texlive is "frozen" once a year). Secondly, build job is too lengthy for CI. Mine took forever. And Travis CI is introducing a new price model |
Travis CI is still free for open source projects. They had to change their rules (blame cryptocurrency miners) and now you have to apply for your build time instead of getting unlimited access straight away. Quoting the link provided above:
You will have to apply anyway since credits they give you for free trial will expire sooner or later. |
Thanks for the suggestion. In that case, my thought is that, once #77 is resolved (which admittedly could be a while), then I can create a static version on my website, using the commands you suggest, that is periodically updated every so often. Won't be as fresh as the main PDF but I haven't had time for the last few years to do more than trivial edits anyways. |
Sorry. I was(and will be) busy with academics and had to put this aside for the moment. There are some corrections required for HTML output. Current maths output is bad and needs to be replaced with MathML/SVG/Katex. And, I'll have to repair/replace fixed units of length. PDF is expected to look the same on all devices, but HTML is more "fluid" in nature. I won't be able to work on it until April. If someone else is interested, they can work on it in the meantime. |
Did a bit of work on this in https://github.com/maparent/napkin/tree/htlatex . I can now apply |
More info: I have removed the |
thought of externalizing the Tikz images, but ran into this issue. The link gives a lot of workarounds, none exactly lightweight. Curious if this is worth pursuing. |
First of all, thank you for this amazing book(?). I wish I had known about napkin before my calculus classes.
I was wondering if there was a possibility for an HTML version for the same.
This would help in 2 ways -
This could've been as easy as
htlatex Napkin.tex
but I was not able to build it successfully.The Travis CI uses some specific versions for everything (Ubuntu bionic, texlive ppa) and I was not able to build the same on my config.
(I expect everything but the diagrams to work well in HTML. Will try to reproduce the build environment on a Virtual Machine tomorrow, hope it succeeds.)
The text was updated successfully, but these errors were encountered: