MathJax
Our great sponsors
MathJax | ||
---|---|---|
3 | 56 | |
313 | 9,868 | |
- | 0.8% | |
0.0 | 1.8 | |
over 2 years ago | 4 months ago | |
JavaScript | ||
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
-
Beautiful PDFs from HTML
Hi dang, hope you are well. May I kindly ask why not? I spent two weeks writing the CSS / HTML / JavaScript, and did well documented code - in fact the output serves as both documentation of the code and also output from it (in my own stupid way, I was thinking I was following Donald Knuth’s Literate Programming Approach :D).
The repo (https://github.com/ashok-khanna/pdf) contains all the necessary code and is intended for others to reuse in their projects. Some of it isn’t straightforward, despite the guide looking easy - I had to figure out how CSS selectors and counters work for example, how MathJax interacted with Paged.Js.
I think the confusion comes from it being labeled as a “guide”, in fact it’s a full set of code to give the required functionality for high quality PDFs from HTML, using paged.js, the guide is just the self documentation as I figured I might as well use documentation for the sample output. Otherwise, I’d be genuinely curious on what constitutes Show HN vs normal posts?
I think the repo description and the way the output is confusing / unclear - the primary goal is very much meant to be a code base for people to reuse as I’ve noticed for many programmers, the design side can be a bit more elusive.
Separately, would it be possible to add beautiful back to the title - it’s not really about producing PDFs from html as browsers can already do that, and there are many other tools. The main aim is to have the functionality to produce very high quality typeset PDFs from HTML, which until now, I only felt PrinceXML did well and that’s a paid solution. Maybe we could say the title is “High quality PDFs from HTML using Paged.JS”? I know there has been a separate discussion on another thread on the overuse of the word beautiful in describing code - my view is that it has its place when it relates to output / UI.
Thanks for reading, and no issues otherwise (no need to reply).
This looks great -- well done! I'd love to be able to use it (the CSS in particular) in a number of different projects where creating such nice readable output is a hassle. However I couldn't find a license mentioned anywhere -- either for the associated repo as a whole [0] or the CSS specifically.
Would it be possible to add a license so it's possible to know whether others can use this in other projects without rewriting the CSS from scratch?
MathJax
- Ask HN: Tips to get started on my own server
- I don't always use LaTeX, but when I do, I compile to HTML (2013)
- MathJax – Beautiful and accessible math in all browsers
-
Need help installing Latex on Linux
From the screenshot, Obsidian looks like a typical Markdown editor that supports some LaTeX math syntax, probably rendered with something like Mathjax. On the other hand, Xournalapp seems to actually use LaTeX, even allowing you to use LaTeX packages like graphicx, tikz, etc.
- Appunti su pc o carta
-
Is it possible to add LaTeX commands to a markdown file?
When exporting, you can choose to export and have KeenWrite replace TeX with SVG, or if you have a website that uses KaTeX or MathJax, you can export while leaving the TeX statements alone.
-
What is the latest MathJax?
MathJax 4 is available as a pre-release candidate from the GitHub releases page: https://github.com/mathjax/MathJax/releases. It supports 11 fonts: tex gyre math fonts (bonum, schola, pagella, termes, dejavu), asana math, stix2, neo euler, fira math and the original tex fonts in addition to the new default lmodern fonts. It can be accessed via CDN here: https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.js Please refer to the release notes for more information.
-
Porting OkLab colorspace to integer arithmetic
Android smartphone, using Chrome. Indices appear as white boxes. I can send you a screenshot if that helps (don't think that it's possible to post image directly here ... ?). I agree with you that images are NG. I personally use https://www.mathjax.org/ .
-
I'm looking for a maths notation app
Ghostwriter (Markdown) + Mathjax + Pandoc for export. Distraction free and good rendering.
- Sile: A Modern Rewrite of TeX
What are some alternatives?
KaTeX - Fast math typesetting for the web.
WeasyPrint - The awesome document factory
mathquill - Easily type math in your webapp
tikzjax - TikZJax is TikZ running under WebAssembly in the browser
pandoc - Universal markup converter
asciidoctor-web-pdf - Convert AsciiDoc documents to PDF using web technologies
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
obsidian-latex-environments - Quickly insert and change latex environments within math blocks in Obsidian.
Hugo - The world’s fastest framework for building websites.
markdown-it-katex - Add Math to your Markdown with a KaTeX plugin for Markdown-it
ReLaXed - Create PDF documents using web technologies