* ./stratus:

- Bug: In doc/stratus, correct rendering of images under LaTeX & HTML. Latex2HTML
        requires the file extension (.png) to be present while latex don't want them.
        Build alternate sources with the \latexhtml macro so both are happy.
This commit is contained in:
Jean-Paul Chaput 2011-01-10 16:03:17 +00:00
parent dbacc42f72
commit 5273be039e
3 changed files with 16 additions and 8 deletions

View File

@ -2,7 +2,8 @@
\begin{figure}[h!] \begin{figure}[h!]
\centering \centering
\includegraphics[width=.9\textwidth]{./images/add1} \latexhtml{\includegraphics[width=.9\textwidth]{./images/add1}}
{\includegraphics[width=.9\textwidth]{./images/add1.png}}
\end{figure} \end{figure}
\newpage \newpage
@ -10,7 +11,8 @@
\begin{figure}[h!] \begin{figure}[h!]
\centering \centering
\includegraphics[width=.9\textwidth]{./images/add2} \latexhtml{\includegraphics[width=.9\textwidth]{./images/add2}}
{\includegraphics[width=.9\textwidth]{./images/add2.png}}
\end{figure} \end{figure}
\newpage \newpage
@ -18,12 +20,14 @@
\begin{figure}[h!] \begin{figure}[h!]
\centering \centering
\includegraphics[width=1.4\textwidth]{./images/addaccu1} \latexhtml{\includegraphics[width=1.4\textwidth]{./images/addaccu1}}
{\includegraphics[width=1.4\textwidth]{./images/addaccu1.png}}
\end{figure} \end{figure}
\begin{figure}[h!] \begin{figure}[h!]
\centering \centering
\includegraphics[width=1.4\textwidth]{./images/addaccu2} \latexhtml{\includegraphics[width=1.4\textwidth]{./images/addaccu2}}
{\includegraphics[width=1.4\textwidth]{./images/addaccu2.png}}
\end{figure} \end{figure}
\newpage \newpage
@ -31,7 +35,8 @@
\begin{figure}[h!] \begin{figure}[h!]
\centering \centering
\includegraphics[width=1.4\textwidth]{./images/test} \latexhtml{\includegraphics[width=1.4\textwidth]{./images/test}}
{\includegraphics[width=1.4\textwidth]{./images/test.png}}
\end{figure} \end{figure}
\subsubsection{How to execute the file} \subsubsection{How to execute the file}
@ -50,7 +55,8 @@ chmod u+x test.py
The method \verb-View- permits to open an editor in which one can see the cell being created as shown in the picture below. The method \verb-View- permits to open an editor in which one can see the cell being created as shown in the picture below.
\begin{figure}[h!] \begin{figure}[h!]
\centering \centering
\includegraphics[width=.8\textwidth]{./images/editor} \latexhtml{\includegraphics[width=.8\textwidth]{./images/editor}}
{\includegraphics[width=.8\textwidth]{./images/editor.png}}
\end{figure} \end{figure}
\newpage \newpage

View File

@ -44,7 +44,8 @@ The virtual library is mapped to the sxlib library. A piece of the corresponding
\begin{figure}[hbtp] \begin{figure}[hbtp]
\centering \centering
\includegraphics[width=\textwidth]{images/xml} \latexhtml{\includegraphics[width=\textwidth]{images/xml}}
{\includegraphics[width=\textwidth]{images/xml.png}}
\end{figure} \end{figure}
\subsubsection{Generators} \subsubsection{Generators}

View File

@ -25,7 +25,8 @@ This function modifies the abutment box of the current cell.\\
\indent The Values are used as follow : \indent The Values are used as follow :
\begin{figure}[h!] \begin{figure}[h!]
\centering \centering
\includegraphics[width=.3\textwidth]{./images/resizeAb} \latexhtml{\includegraphics[width=.3\textwidth]{./images/resizeAb}}
{\includegraphics[width=.3\textwidth]{./images/resizeAb.png}}
\end{figure} \end{figure}
\subsubsection{Example} \subsubsection{Example}