[l2h] img placement problem

Barry Dale barryd at mtechIT.com
Wed Feb 5 08:34:37 CET 2003


Thanks Ross,
I have been trying that. So far, nothing has worked, but I will keep
trying.

-- 
Barry Dale
Technical Writer
M-Tech Information Technology Inc.
http://mtechIT.com http://psynch.com http://idsynch.com
--------------------------------------------

On Wed, 5 Feb 2003, Ross Moore wrote:

> > In relation to an earlier request:
> >
> > > Look in the images.log file, produced when the job was last
> > > run, requiring images to be generated.
> > > Does that show any bad errors that may be related?
> > There are errors in the images.log file. It seems that
> > when the images.tex file is generated there is a \begin{document}
> > tag in two places, and \newcommand tags are repeated.
>
> With \usepackage{html} there are "conditional" environments:
> \begin{latexonly}
>   ...
> \end{latexonly}
> \begin{html}
>   ...
> \end{html}
> \begin{imagesonly}
>   ...
> \end{imagesonly}
>
> and special comments:
>
> %begin{latexonly}
>   ....
> %end{latexonly}
>
> which let you mark blocks of LaTeX source
> (particularly in the preamble) as being
> relevant to certain types of processing only.
>
> This lets you control precisely what goes into the preamble
> of the images.tex file, so that it doesn't conflict with
> the special requirements of that file, and so that it
> doesn't include stuff that will create redundant images.
>
> For example, anything to do with a title-page has no bearing
> on the making of images, so ought to be excluded.
>
>
> Spend some time adjusting your preamble, to get your document
> working properly.
> You will then be able to use the same preamble with other, similar
> documents, and get good results from LaTeX2HTML.
>
>
> Hope this helps,
>
> 	Ross Moore
>
>
>
> > So I'm getting:
> > -----------------------------------------
> > \documentclass[12pt]{report}
> > \RequirePackage{ifthen}
> >
> >
> >
> > \usepackage[dvips]{graphicx}
> > \usepackage{tabularx}
> > \usepackage{ltxtable}
> > \usepackage{xspace}
> > \usepackage{moreverb}
> > \usepackage{fancyheadings}
> > \usepackage{varioref}
> > \usepackage{byname}
> > \usepackage{makeidx}
> > \usepackage{supertabular}
> > \usepackage[T1]{fontenc}
> > \usepackage{array}
> >
> > \usepackage{html}
> >
> > ...etc
> > \providecommand{\SUPERTOP}[6]{
> >   \paragraph*{Table:#1}
> >    \begin{center}
> >    \label{#5}
> >    \begin{tabular}
> >    \hline
> >    #3 \\
> >    \hline \hline
> >    }%
> >    \providecommand{\SUPERBOTTOM}{
> >    \end{center}
> >    }
> >
> > \begin{document}
> >
> >
> > {\LARGE
> >
> >
> > \htmladdimg{psynch.png}\vspace{0.1in}
> >
> >
> > P-SYNCH
> >
> >
> > TECHNICAL DOCUMENTATION
> >
> >
> > {\large \sf
> >   \mbox{} \hfill
> >   \begin{tabular}{rl}
> > Software revision: & 6.2 \\
> > Document revision: & 0.211 \\
> > Last changed: & \today  \\
> > \end{tabular}
> > }
> > }
> > %
> > \providecommand{\SUPERTOP}[6]{
> > \paragraph*{Table:#1}
> > \begin{center}
> > \label{#5}
> > \begin{tabular}#4
> > \hline
> > #3 \\
> > \hline \hline
> > }%
> > \providecommand{\SUPERBOTTOM}{
> > \end{center}
> > }
> > ...
> >
> > \begin{document}
> > \pagestyle{empty}\thispagestyle{empty}\lthtmltypeout{}%
> > -----------------------------------------------------
> > > Is ther somewhere where your example can be viewed ?
> > We do publish the full document at psynch.com/docs/instguide, but it is
> > not current..
> >
> > I placed a sample of what the pages should look like at
> > www.geocities/bdale_writes/node34-true.html
> > the result I'm getting is at
> > www.geocities/bdale_writes/node34.html
> >
> > I also included the images.log and images.tex(as images.txt) files in the same
> > directory.
> >
> > Thanks for any help.
> >
> > --
> > Barry Dale
> > Technical Writer
> > M-Tech Information Technology Inc.
> > http://mtechIT.com http://psynch.com http://idsynch.com
> > --------------------------------------------
> >
> > On Fri, 31 Jan 2003, Ross Moore wrote:
> >
> > > >
> > > > I use latex2html with a large  project on Linux, and am having
> > > > problems with the way it places images generated from math
> > > > environments in LaTeX. The images appear to be out of sync. To use a minimal
> > > > example, where I have $<$text$>$ in the source file, it is
> > > > producing |text< in the result.
> > >
> > > Images out-of-sync is usually a symptom of some other error,
> > > somewhere else in the job.
> > >
> > > Look in the images.log file, produced when the job was last
> > > run, requiring images to be generated.
> > > Does that show any bad errors that may be related?
> > >
> > >
> > > > I get this when I convert the project on my own machine. When my colleages
> > > > run it on the main company server, they get the expected result.
> > >
> > > Could it be that the wrong font is being used ?
> > >
> > > Is ther somewhere where your example can be viewed ?
> > >
> > >
> > > Hope this helps,
> > >
> > > 	Ross Moore
> > >
> > >
> > > > I am not a programmer, and know very little Perl, so apologies for my
> > > > ignorance. The technical experts at my company installed and configured
> > > > everything on my machine to mirror the company environment, and they are
> > > > stumped by this.
> > > >
> > > > Thanks in advance.
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > latex2html mailing list
> > > > latex2html at tug.org
> > > > http://tug.org/mailman/listinfo/latex2html
> > >
> >
> >
> > _______________________________________________
> > latex2html mailing list
> > latex2html at tug.org
> > http://tug.org/mailman/listinfo/latex2html
>
> _______________________________________________
> latex2html mailing list
> latex2html at tug.org
> http://tug.org/mailman/listinfo/latex2html
>



More information about the latex2html mailing list