LaTeX forum ⇒ Conversion ToolsTeX to HTML Conversion Topic is solved

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
spartanguy07
Posts: 10
Joined: Wed Feb 08, 2012 7:29 pm

TeX to HTML Conversion

Postby spartanguy07 » Wed Mar 28, 2012 8:30 pm

I have created a tex file (using MiKTeX/Texmaker) of documentation, that is correctly converted to PDF, that I now want to convert to HTML. I have read several places about LaTeX2HTML, TTH, and other tools that could be used to to his, but it seems all the references I find are out of date.

I also noticed that there is a LaTeX2HTML package in the MiKTeX Package Manager, but I can't find how to utilize it.

If someone could get me started on how this is conversion is most easily done I would greatly appreciate it.

Tags:

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Wed Mar 28, 2012 8:46 pm

spartanguy07 wrote:[…] I also noticed that there is a LaTeX2HTML package in the MiKTeX Package Manager, but I can't find how to utilize it. […]

Install the package by the MPM and open a command line to access its documentation.
  1. texdoc latex2html

Alternatively see the latex2html entry on CTAN.


Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

spartanguy07
Posts: 10
Joined: Wed Feb 08, 2012 7:29 pm

Postby spartanguy07 » Wed Mar 28, 2012 9:30 pm

localghost wrote:
  1. texdoc latex2html



When I tried this I received a "Winows API Error 5: Access Denied" message.

I already downloaded the package, installed Perl and checked all the installation requirements for things like GhostScript. I just don't understand how to run it on a tex file that I already have generated.

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Thu Mar 29, 2012 10:07 am

spartanguy07 wrote:When I tried this I received a "Winows API Error 5: Access Denied" message. […]

As a Linux user I can't tell you anything about Wind0ws error messages.

As I already suggested, go to CTAN and get the latex2html manual from there. Just follow the links.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

spartanguy07
Posts: 10
Joined: Wed Feb 08, 2012 7:29 pm

Postby spartanguy07 » Mon Apr 02, 2012 8:02 pm

Since I wasted a lot of time trying to figure this out and never found a person who would give me a straight, simple answer, I will answer my own question in hopes that it will help someone else in the future.

  1. Install the MiKTeX package for HTML conversion.
  2. Open command prompt and type:
    1. htlatex document.tex

This converts the source to a series of HTML files. It's as simple as that.

coolwanglu
Posts: 2
Joined: Sun Aug 26, 2012 6:04 am

Postby coolwanglu » Sun Aug 26, 2012 7:05 am

I think you might be interested in my new project pdf2htmlEX,
which can be found at https://github.com/coolwanglu/pdf2htmlEX

A demo can be found at http://coolwanglu.github.com/pdf2htmlEX/demo/demo.html

You may convert your file as tex -> pdf -> html

argan
Posts: 18
Joined: Thu May 05, 2011 10:46 am

Postby argan » Mon Jun 10, 2013 6:19 pm

Sorry for bumping, but this doesn't work for me (writing in the command prompt). I just get

"htlatex: Invalid argument
htlatex: Data: 4294967295"

Is there anything specific I should do? I just want an extremely simple way to convert into HTML. All the packages I've found seems to be out of date.


Return to “Conversion Tools”

Who is online

Users browsing this forum: No registered users and 1 guest