[l2h] latex2html
sigbert
sigbert@wiwi.hu-berlin.de
Tue, 18 Sep 2001 13:01:33 +0200
Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------B49CF93A9916888B3403D0D8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi,
> > latex2html complains that a lot graphics (included with
> > \includegraphics) are not available:
> >
> > Error while converting image
> >
> > Error: Cannot read 'exercises_x4htmlimg83.gif': Datei oder Verzeichnis
> > nicht gefunden
> > Converting image #56
> > pstoimg: Error: Cannot find file "/tmp/l2h6959/image056.ps": Datei oder
> > Verzeichnis nicht gefunden
> >
Okay, I found the problem, even if I do not understand why it
produces the problem.
The problem is that the generation of the images fails and then
of course latex2html can not find the images :( I have attached
the file l2h.001.
It seems that latex complains about the "$11$\end" at the line
before no. 594. In the 98.1p7 the whole sequence of numbers in
the second item from $1$ till $19$ is not transfered to the
image latex file, thus causes no problem.
I tried to use -no_math but it did not have any effect. Can I set
another option in the call of latex2html 2K1 to get the same
behaviour as in 98.1p7 ?
Thanks a lot in advance
Sigbert Klinke
--------------B49CF93A9916888B3403D0D8
Content-Type: text/plain; charset=us-ascii;
name="l2h.001"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="l2h.001"
%%%LaTeX-code in exercises_x4.tex
chapter[22.05.01]{Exercises 22.05.2001}
\begin{enumerate}
\item Which mathematical function is computed by {\tt (x>0)-(x<0)} ?
\item Generate a rowvector {\tt va} with the elements $1$, $3$, $5$, $7$, $11$, $13$, $17$ and $19$. What is the common property these numbers share ?
\item Generate a columnvector {\tt vb} with $1$, $2$, ..., $2^7$.
\item Generate a rowvector {\tt vc} with $1$, $4$, $9$, $16$, $25$, ..., $1024$.
\item Compute the values of the function $y=e^{-x}$ for an equidistant grid from $-3$ to $3$ with an stepwidth of $0.1$.
\item Compute the difference of the functions $y_1=x^5+x^4+x^3+x^2+x+1$ and $y_2=1+x(1+x(1+x(1+x(1+x))))$ for some $x$. What is the difference between both methods ?
\item Create a vector {\tt vd} which contains the numbers from $1$ to $100$ and another vector {\tt ve} which contains $100$ elements equal to $7$.
\item Solve with the data \latex{(next page)} about students below the following tasks\\
\begin{enumerate}
\item How many students have not more than $2$ siblings ?
\item Which percentage of the students have at least $2$ siblings ?
\item Compute the absolute frequencies based on the classes
$600-650$, $650-700$, $700-900$, $900-1200$, $1200-1450$.
\item Which percentage of the students have an income between $750$ and $1300$. Compute
the quantity for the original data {\em and} based on the classes in the task before.
\item Compute appropriate ``central'' values for all variables.
\item Compute the $25\%$, the $75\%$ and the $90\%$ quantile for all variables
\end{enumerate}
\begin{center}
\begin{tabular}{|r|l|r|r|} \hline \hline
No. & Main subject & Number of siblings & Income \\ \hline
1 & Economics & 0 & 924 \\
2 & Social Science & 1 & 789 \\
3 & Mathematics & 0 & 1365 \\
4 & Mathematics & 1 & 683 \\
5 & Politics & 1 & 744 \\ \hline
6 & Politics & 2 & 640 \\
7 & Social Science & 2 & 631 \\
8 & Economics & 1 & 814 \\
9 & Politics & 1 & 778 \\
10 & Mathematics & 0 & 1062 \\ \hline
11 & Mathematics & 0 & 1230 \\
12 & Economics & 1 & 700 \\
13 & Mathematics & 0 & 850 \\
14 & Social Science & 3 & 641 \\
15 & Politics & 2 & 641 \\ \hline
16 & Mathematics & 0 & 640 \\
17 & Mathematics & 1 & 850 \\
18 & Social Science & 0 & 683 \\
19 & Mathematics & 1 & 683 \\
20 & Mathematics & 2 & 660 \\ \hline
21 & Economics & 1 & 1440 \\
22 & Mathematics & 1 & 794 \\
23 & Social Science & 3 & 660 \\
24 & Economics & 0 & 640 \\
25 & Politics & 1 & 616 \\ \hline \hline
\end{tabular}
\end{center}
\item Read the dataset {\tt human.xls} in XploRe. The data come from a study investigating a new method of measuring body composition, and give the body fat percentage (\% fat), age and sex for $18$ normal adults aged between $23$ and $61$ years. What kind of statistical analysis could we do ?
\item Read the dataset ``Factors in country inflation'' from the \htmladdnormallink{DASL}{http://lib.stat.cmu.edu/DASL/}.
What kind of statistical data analysis can be done ?
\item Read the data about people with jobs from the WWW page
\htmladdnormallink{\tt http://www.statistik-bund.de/indicators/d/arb310ad.htm}{http://www.statistik-bund.de/indicators/d/arb310ad.htm}.
What kind of statistical analysis could we do ?
\end{enumerate}
%%%LaTeX-code in exercises_x4image.tex
{\newpage\clearpage
\lthtmlinlinemathA{tex2html_wrap_inline26}%
$1$%
\lthtmlinlinemathZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
\lthtmlinlinemathA{tex2html_wrap_inline30}%
$5$%
\lthtmlinlinemathZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
\lthtmlinlinemathA{tex2html_wrap_inline32}%
$7$%
\lthtmlinlinemathZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
\lthtmlinlinemathA{tex2html_wrap_inline34}%
$11$\end%
>>> the following line is no. 594
\lthtmlinlinemathZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
\lthtmlinlinemathA{tex2html_wrap_inline36}%
$13$%
\lthtmlinlinemathZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
\lthtmlinlinemathA{tex2html_wrap_inline38}%
$17$%
\lthtmlinlinemathZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
\lthtmlinlinemathA{tex2html_wrap_inline40}%
$19$%
\lthtmlinlinemathZ
\lthtmlcheckvsize\clearpage}
%%% Contents of logfile exercises_x4images.log
! Missing \endcsname inserted.
<to be read again>
\egroup
l.594 \lthtmlinlinemathZ
The control sequence marked <to be read again> should
not appear between \csname and \endcsname.
>>> repeats 100 times
(That makes 100 errors; please try again.)
Here is how much of TeX's memory you used:
1078 strings out of 25901
11765 string characters out of 197578
57365 words of memory out of 384000
4059 multiletter control sequences out of 10000+15000
6379 words of font info for 23 fonts, out of 400000 for 1000
14 hyphenation exceptions out of 1000
102i,10n,100p,284b,223s stack positions out of 300i,100n,500p,50000b,4000s
Output written on exercises_x4htmlimages.dvi (34 pages, 8600 bytes).
--------------B49CF93A9916888B3403D0D8--