mathb icon indicating copy to clipboard operation
mathb copied to clipboard

Option to save content as PDF

Open kieranclancy opened this issue 10 years ago • 3 comments

Not sure if this is possible, but it would be great to be able to download a PDF of the math content. Perhaps with a "download PDF" link?

I realise this would require a lot of work with jsPDF or similar, but it's a nice idea for the future.

kieranclancy avatar Feb 28 '14 04:02 kieranclancy

It's probably possible though perhaps using javascript as PDF renderer isn't the best option, though most people probably either have a PDF printer driver or can print to PDF in chrome.

chid avatar Feb 28 '14 07:02 chid

Though currently maybe it's a bit too large

It looks nicer with

#outputCode {
    font-size: 10px;
}

Fits all onto one page.

chid avatar Feb 28 '14 07:02 chid

I think that this should be no big issue since the MathBin uses pandoc.

ghost avatar Feb 25 '16 21:02 ghost

Yes, it is possible to do this. However, I have kept the development on hold for a long time because I have been planning to rewrite the software in Python. Once that is done, I will be resuming with more development on this software.

susam avatar Feb 29 '16 06:02 susam

With issue #3 now resolved, it is now possible to save a PDF using the web browser's print preview mode. To try it out, visit https://mathb.in/1 first, then select File > Print from the web browser menu, and then select the option to save as PDF if your web browser provides such an option.

susam avatar Oct 08 '22 00:10 susam