I've been wondering why there is no showcasing/preview tool like JSFiddle for TeX?

Also a PDF viewer would work great.

  • @JouleV I'm sorry if this is completely off topic. I found the feature-request tag fits well so I chose meta.
    – Colin
    Mar 29, 2019 at 12:00
  • 2
    If you want to have a PDF viewer and a compiler on TeX.SE which automatically compile the files and show the output, it is impossible. Many code snippets on TeX.SE are not compilable, how can the automation deal with it? Also, updating the TeX distribution used for that would be really difficult.
    – user156344
    Mar 29, 2019 at 12:02
  • My 'feature-request' is about having such PDF viewer on the main site. Like StackOverflow has the 'include snippet' feature.
    – Colin
    Mar 29, 2019 at 12:06
  • If that is code formatting, we also have that feature. If that is a PDF viewer, I think I strongly prefer a good screenshot which only include the necessary parts and possibly some custom marks.
    – user156344
    Mar 29, 2019 at 12:11
  • 1
    Just let me clarify: A field where you put the TeX code, a window that shows the generated output of this TeX code. Like an online TeX editor but fully integrated into the main site. But I understand why this would be hard to realize.
    – Colin
    Mar 29, 2019 at 12:18
  • 2
    Then read my first comment. In short: it is nearly impossible IMHO.
    – user156344
    Mar 29, 2019 at 12:19
  • 1
    There are some online LaTeX compilers. From fully-fledged systems like Overleaf and Verbosus to smaller systems that only produce a PDF to equation compilers. See tex.stackexchange.com/q/3/35864. Maybe not exactly what you had in mind, but some tools are out there.
    – moewe
    Mar 29, 2019 at 13:51
  • Reasonably related: tex.meta.stackexchange.com/q/1272/86 May 2, 2019 at 18:19

1 Answer 1


There is texlive.js, which is pdfTeX from TeX Live 2012 transpiled to JavaScript using Emscripten.
One of the forks has been updated to use pdfTeX from TeX Live 2016.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .