Conversion ToolsLatex2html doesn't work with ACHEMSO class

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
Post Reply
combariza
Posts: 5
Joined: Tue Apr 14, 2009 12:33 pm

Latex2html doesn't work with ACHEMSO class

Post by combariza »

Hi there,

I was trying to create an html out from a texfile. The texfile was created using lyx. The latex command on the texfile produces a nice dvi file and pdflatex also works fine, creating the pdf file. I'm using the achemso bibstyle and class.

However when I try to use the latex2html tool I got several errors, mainly related to references and the htmls generated are not so fine.

attached is a latex2html log file...
Attachments
latex2html.log
latex2html log file
(4.37 KiB) Downloaded 420 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Latex2html doesn't work with ACHEMSO class

Post by josephwright »

We could probably do with seeing an example TeX file, and also what you are getting from latex2html. The log indicates that (unsurprisingly) latex2html does not "know" some of the commands from achemso, but not what it does about this!
Joseph Wright
combariza
Posts: 5
Joined: Tue Apr 14, 2009 12:33 pm

Re: Latex2html doesn't work with ACHEMSO class

Post by combariza »

Hi Joseph,

Sorry for the delay in responding, too much work...

I'm attaching a sample tex file generated with lyx, which nicely produces a (pdflatex) pdf and (latex) dvi (also attached) files.

The zip html files generated with latex2html are also included.

Output of the latex2html command are included as well.

Hope this helps to find a cure ...

Best,

Aldo
Attachments
latex2html-test.zip
Lyx, tex and bib files. Also all latex generated files and latex2html files.
(125.2 KiB) Downloaded 399 times
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Latex2html doesn't work with ACHEMSO class

Post by josephwright »

I'm wondering what the aim is here. The achemso class is pretty "focussed": it's for submission to the ACS, and as such is only designed for print output. A clue would be nice!

I get the impression that LaTeX2HTML needs quite a bit of information to work, and as it doesn't have it about achemso things go wrong. For me, htlatex seems to give a perfectly acceptable HTML conversion. Is there a particular reason to need to use LaTeX2HTML?
Joseph Wright
combariza
Posts: 5
Joined: Tue Apr 14, 2009 12:33 pm

Re: Latex2html doesn't work with ACHEMSO class

Post by combariza »

Just wanted to get a nicely html output, as latex2html gives for revtex4 documents. htlatex doesn't give the same type of html and I really don't like the output very much.

The whole point is simply to produce a nice html output for papers written with the achemso class, now I just will change the format of the achemso-file.tex to revtex4 and that will do it...
Post Reply