latex on http l a t ex as a cloud service for application
play

LaTeX-on-HTTP: L A T EX as a cloud service for application - PowerPoint PPT Presentation

LaTeX-on-HTTP: L A T EX as a cloud service for application developers TUG2020 Yoan Tournade July 26, 2020 Why are not PDFs from IT systems and applications more decently typesetted? (They are generally not) Of course... Because developers do


  1. LaTeX-on-HTTP: L A T EX as a cloud service for application developers TUG2020 Yoan Tournade July 26, 2020

  2. Why are not PDFs from IT systems and applications more decently typesetted? (They are generally not)

  3. Of course... Because developers do not use L A T EX ... in their applications

  4. Why then developers do not use L A T EX for automating PDF edition?

  5. Reason #1: Customs Cultural glass walls L A T EX mental bucket: L A T EX as the "academia thing" ◮ Known as the hegemonic paper tool Webapps mental ◮ But not thought as a solution for bucket: web developments

  6. Reason #2: Technical barriers Mainly runtime requirements L A T EX runtime requirements are heavy and complex ◮ Who will argue with DevOps about adding several hundred megabytes (or several gigabytes) of dependencies for "some nice PDFs"?

  7. Reason #3: Knowledge About documentation and lazyness Developers love copy-pastable code to get started ◮ how to call L A T EX properly from the application? ◮ also how to manage CTAN packages? updates? ◮ missing Hello World and typical scenario code snippets

  8. If not L A T EX... What developers (currently) use to edit PDFs in their applications?

  9. HTML/CSS to PDF converters Libraries: Sample: import weasyprint weasyprint.HTML( ... "document.html" ).write_pdf( "output.pdf", stylesheets=[ Cloud services: weasyprint.CSS("document.css") ] ) ...

  10. "Instruction-based" PDF generators in the developer native languages Libraries: Sample: require (’fpdf/fpdf.php’); $pdf = new FPDF(); $pdf->AddPage(); $pdf->SetFont(’Arial’,’B’,16); $pdf->Cell(40,10, ’Hello World!’); $pdf->Output(); ...

  11. Ok now... What can we do for developers to (more frequently) use L A T EX in their applications?

  12. LaTeX-on-HTTP Putting L A T EX behind a developer-friendly HTTP API ... with the convenience of modern cloud services

  13. Demo time Access demo code on GitHub Scenario: We’re a web developer. Our boss asked us to integrate PDF edition in his freelancing platform. The aim is to create good-looking invoices and proposals. It’s Wednesday 2:30pm. It must be finished before next week.

  14. Fulfilling the promise A project still in development Future works: ◮ creating high-level documentations; ◮ presentation website for promotion; ◮ language libraries for easier integrations; ◮ also: addressing scaling, security, ...

  15. Acknowledgments Inspirations: Jonathan Fine ◮ Andrey Lushnikov’s for inviting me to talk LaTeX.Online; ◮ ShareLaTeX/Overleaf CLSI.

  16. Read more, contribute and report issues github.com/YtoTech/latex-on-http Live interractive demo latex-http-demo.ytotech.com Feedbacks and cheering welcome y@yoantournade.com

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend