Commit d65803d2 authored by Guillaume Melquiond's avatar Guillaume Melquiond

Use the actual html generated by why3session rather than an image for the html...

Use the actual html generated by why3session rather than an image for the html version of the documentation.
parent dc70c243
...@@ -775,9 +775,11 @@ output. ...@@ -775,9 +775,11 @@ output.
\end{description} \end{description}
\begin{figure}[t] \begin{figure}[t]
\begin{latexonly}
\begin{center} \begin{center}
\input{HelloProof.tex} \input{HelloProof.tex}
\end{center} \end{center}
\end{latexonly}
\lstinputlisting{./replayer_macros.tex} \lstinputlisting{./replayer_macros.tex}
\caption{Sample macros for the LaTeX command} \caption{Sample macros for the LaTeX command}
\label{fig:latex} \label{fig:latex}
...@@ -794,9 +796,23 @@ There are three styles of output: 'table', 'simpletree' and ...@@ -794,9 +796,23 @@ There are three styles of output: 'table', 'simpletree' and
'jstree'. The default is 'table'. 'jstree'. The default is 'table'.
\begin{figure}[t] \begin{figure}[t]
\begin{latexonly}
\begin{center} \begin{center}
\fbox{\includegraphics[width=0.9\textwidth]{hello_proof.png}} \fbox{\includegraphics[width=0.9\textwidth]{hello_proof.png}}
\end{center} \end{center}
\end{latexonly}
\begin{htmlonly}
\begin{rawhtml}
<table border="1"><tr><td colspan="2">Obligations</td><td text-rotation="90">Alt-Ergo (0.94)</td><td text-rotation="90">Coq (8.3pl4)</td><td text-rotation="90">Simplify (1.5.4)</td></td></tr>
<td bgcolor="#C0FFC0" colspan="2">G1</td><td bgcolor="#E0E0E0">---</td><td bgcolor="#E0E0E0">---</td><td bgcolor="#C0FFC0">0.00</td></tr>
<td bgcolor="#FF0000" colspan="2">G2</td><td bgcolor="#FF8000">0.00</td><td bgcolor="#E0E0E0">---</td><td bgcolor="#FF8000">0.00</td></tr>
<tr><td bgcolor="#FF0000" colspan="2">split_goal</td><td bgcolor="#E0E0E0"></td><td bgcolor="#E0E0E0"></td><td bgcolor="#E0E0E0"></td></tr>
<td rowspan="2">&nbsp;&nbsp;</td><td bgcolor="#FF0000" colspan="1">G2.1</td><td bgcolor="#FF8000">0.00</td><td bgcolor="#FF8000">0.49</td><td bgcolor="#FF8000">0.00</td></tr>
<tr><td bgcolor="#C0FFC0" colspan="1">G2.2</td><td bgcolor="#C0FFC0">0.00</td><td bgcolor="#E0E0E0">---</td><td bgcolor="#C0FFC0">0.00</td></tr>
<td bgcolor="#C0FFC0" colspan="2">G3</td><td bgcolor="#C0FFC0">0.00</td><td bgcolor="#E0E0E0">---</td><td bgcolor="#FF8000">0.00</td></tr>
</table>
\end{rawhtml}
\end{htmlonly}
\caption{HTML table produced for the HelloProof example} \caption{HTML table produced for the HelloProof example}
\label{fig:html} \label{fig:html}
\end{figure} \end{figure}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment