TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Scribd.com shows pdfs produced by TeX in HTML format, its HTML version is 100% like pdf one. How it's possible? Is there a tool for doing that publicly available?

For example see http://www.scribd.com/doc/65397968/xepersian

share|improve this question
some of the techniques are described here coding.scribd.com/2010/05/17/facing-font-in-html (but it doesn't involve tex at all so I think it's off topic) – David Carlisle Jul 16 '12 at 10:09
@DavidCarlisle Thanks it was very useful. – PHPst Jul 16 '12 at 11:14

There is Pdf.js, maybe you could rig something like scribd for yourself with it. You might need to install it on your server and start to twiddle with the JavaScript API, but at least it's an available implementation that should once find it's ways into the official Firefox code base.

share|improve this answer
Could you flesh out this answer a bit? Otherwise it's a bit thin for an answer of itself and should probably be a comment. – doncherry Jul 16 '12 at 12:14
@doncherry I'm not really, really familiar with Pdf.js, just stumbled over it recently. The question was if there's such a tool publicly available, so I presumed my answer would be a valid one... I've added an example to my answer, what do you think now? – Habi Jul 17 '12 at 13:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.