I am looking for a way to load a LateX file to HTML. I found several questions about that but most of them are talking about for adding LateX equations to HTML or to convert LateX to HTML or to add HTML to Latex.
I am looking for something different, I have a LateX file and I would like to embed that to my HTML file.
If you can think it like a PDF, I can embed a PDF to my HTML like that:
<embed src="somepdf.pdf" pluginspage="http://www.adobe.com/products/acrobat/readstep2.html">
Is something equivalant for LateX files?
Honestly, it's still not clear to me if you want to embed in html your
.pdffile or your.texfile, but this does not really matter. Copy and paste the following:into the blank file
test.tex, then compile it to producetest.pdf. Now, provided thattest.tex,test.pdfand the following html are in the same folder, thisshould make the job. It works on Firefox, Chrome and Opera (on Windows 7). Instead - but this doesn't surprise me... - MS Internet Explorer shows the source file only if you save it as
.txt(not.tex).More about
iframetag:http://www.w3schools.com/tags/tag_iframe.asp
http://www.w3.org/TR/html5/embedded-content-0.html#the-iframe-element