Mercurial > pub > dyncall > dyncall
changeset 92:5c3fa8897e0e
- manual work
* better html output
* added min width for calling convention diagrams
* some cleanups
author | cslag |
---|---|
date | Sat, 04 Jun 2016 12:33:09 +0200 |
parents | 00fc2b9b4e3d |
children | dfde5035d410 |
files | ToDo doc/manual/callconvs/callconv_arm32.tex doc/manual/callconvs/callconv_arm64.tex doc/manual/callconvs/callconv_mips.tex doc/manual/callconvs/callconv_ppc32.tex doc/manual/callconvs/callconv_sparc.tex doc/manual/callconvs/callconv_x64.tex doc/manual/callconvs/callconv_x86.tex doc/manual/manual_overview.tex doc/manual/manual_tex4ht.cfg |
diffstat | 10 files changed, 203 insertions(+), 213 deletions(-) [+] |
line wrap: on
line diff
--- a/ToDo Fri Jun 03 14:21:14 2016 +0200 +++ b/ToDo Sat Jun 04 12:33:09 2016 +0200 @@ -86,7 +86,8 @@ manual: ------- -- finish tex4ht manual generation (use \ifhtml and \ifnhtml, ...) +- fix up all the callconv diagrams - the brackets seem to not match the row height, and are sometimes + completely off... good idea to review it all, anyways, fix up the frames (from fp to sp), etc. - provide more examples on how to use dyncall, dynload and dyncallback * e.g. enhance manual with a couple of examples (e.g. calling MessageBoxA on windows, etc.) - manuals for bindings (as stated in bindings-section, above)
--- a/doc/manual/callconvs/callconv_arm32.tex Fri Jun 03 14:21:14 2016 +0200 +++ b/doc/manual/callconvs/callconv_arm32.tex Sat Jun 04 12:33:09 2016 +0200 @@ -98,26 +98,26 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ -\hhline{~=~~} -register save area & & & \mrrbrace{5}{caller's frame} \\ -\hhline{~-~~} -local data & & & \\ -\hhline{~-~~} -\mrlbrace{7}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ + & \vdots & & \\ \hhline{~=~~} - & r3 & \mrrbrace{4}{spill area (if needed)} & \mrrbrace{7}{current frame} \\ - & r2 & & \\ - & r1 & & \\ - & r0 & & \\ +register save area & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -register save area (with return address) & & & \\ -\hhline{~-~~} -local data & & & \\ -\hhline{~-~~} -parameter area & \vdots & & \\ +local data & & & \\ +\hhline{~-~~} +\mrlbrace{7}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ +\hhline{~=~~} + & r3 & \mrrbrace{4}{spill area (if needed)} & \mrrbrace{7}{current frame} \\ + & r2 & & \\ + & r1 & & \\ + & r0 & & \\ +\hhline{~-~~} +register save area (with return address) & & & \\ +\hhline{~-~~} +local data & & & \\ +\hhline{~-~~} +parameter area & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on arm32} @@ -188,26 +188,26 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ -\hhline{~=~~} -register save area & & & \mrrbrace{5}{caller's frame} \\ -\hhline{~-~~} -local data & & & \\ -\hhline{~-~~} -\mrlbrace{7}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ -\hhline{~=~~} - & r3 & \mrrbrace{4}{spill area (if needed)} & \mrrbrace{7}{current frame} \\ - & r2 & & \\ - & r1 & & \\ - & r0 & & \\ -\hhline{~-~~} -register save area (with return address) & & & \\ -\hhline{~-~~} -local data & & & \\ -\hhline{~-~~} -parameter area & \vdots & & \\ + & \vdots & & \\ +\hhline{~=~~} +register save area & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ +\hhline{~-~~} +local data & & & \\ +\hhline{~-~~} +\mrlbrace{7}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ +\hhline{~=~~} + & r3 & \mrrbrace{4}{spill area (if needed)} & \mrrbrace{7}{current frame} \\ + & r2 & & \\ + & r1 & & \\ + & r0 & & \\ +\hhline{~-~~} +register save area (with return address) & & & \\ +\hhline{~-~~} +local data & & & \\ +\hhline{~-~~} +parameter area & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on arm32 thumb mode}
--- a/doc/manual/callconvs/callconv_arm64.tex Fri Jun 03 14:21:14 2016 +0200 +++ b/doc/manual/callconvs/callconv_arm64.tex Sat Jun 04 12:33:09 2016 +0200 @@ -89,35 +89,35 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ -\hhline{~=~~} -register save area & & & \mrrbrace{5}{caller's frame} \\ -\hhline{~-~~} -local data & & & \\ -\hhline{~-~~} -\mrlbrace{13}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ -\hhline{~=~~} - & x0 & \mrrbrace{10}{spill area (if needed)} & \mrrbrace{15}{current frame} \\ - & x1 & & \\ - & \ldots & & \\ - & x2 & & \\ - & x7 & & \\ - & d0 & & \\ - & d1 & & \\ - & \ldots & & \\ - & d2 & & \\ - & d7 & & \\ -\hhline{~-~~} -register save area & & & \\ -\hhline{~-~~} -local data & & & \\ -\hhline{~-~~} -link and frame register & x30 & & \\ - & x29 & & \\ -\hhline{~-~~} -parameter area & \vdots & & \\ + & \vdots & & \\ +\hhline{~=~~} +register save area & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ +\hhline{~-~~} +local data & & & \\ +\hhline{~-~~} +\mrlbrace{13}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ +\hhline{~=~~} + & x0 & \mrrbrace{10}{spill area (if needed)} & \mrrbrace{15}{current frame} \\ + & x1 & & \\ + & \ldots & & \\ + & x2 & & \\ + & x7 & & \\ + & d0 & & \\ + & d1 & & \\ + & \ldots & & \\ + & d2 & & \\ + & d7 & & \\ +\hhline{~-~~} +register save area & & & \\ +\hhline{~-~~} +local data & & & \\ +\hhline{~-~~} +link and frame register & x30 & & \\ + & x29 & & \\ +\hhline{~-~~} +parameter area & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on arm64}
--- a/doc/manual/callconvs/callconv_mips.tex Fri Jun 03 14:21:14 2016 +0200 +++ b/doc/manual/callconvs/callconv_mips.tex Sat Jun 04 12:33:09 2016 +0200 @@ -89,23 +89,23 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ +\hhline{~=~~} +register save area & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ +\hhline{~-~~} +local data & & & \\ +\hhline{~-~~} +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~=~~} -register save area & & & \mrrbrace{5}{caller's frame} \\ -\hhline{~-~~} -local data & & & \\ +register save area (with return address) & & & \mrrbrace{5}{current frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ -\hhline{~=~~} -register save area (with return address) & & & \mrrbrace{5}{current frame} \\ +local data & & & \\ \hhline{~-~~} -local data & & & \\ +parameter area & & & \\ \hhline{~-~~} -parameter area & & & \\ -\hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \\
--- a/doc/manual/callconvs/callconv_ppc32.tex Fri Jun 03 14:21:14 2016 +0200 +++ b/doc/manual/callconvs/callconv_ppc32.tex Sat Jun 04 12:33:09 2016 +0200 @@ -115,7 +115,7 @@ \hhline{~-~~} & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{13}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{13}{caller's frame} \\ \hhline{~-~~} \mrlbrace{6}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ & \ldots & & \\ @@ -220,7 +220,7 @@ \hhline{~-~~} & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{6}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{6}{caller's frame} \\ \hhline{~-~~} \mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ & \ldots & & \\
--- a/doc/manual/callconvs/callconv_sparc.tex Fri Jun 03 14:21:14 2016 +0200 +++ b/doc/manual/callconvs/callconv_sparc.tex Sat Jun 04 12:33:09 2016 +0200 @@ -55,7 +55,7 @@ \paragraph{Parameter passing} \begin{itemize} -\item Stack parameter order: right-to-left @@@ really? +\item Stack parameter order: right-to-left \item Caller cleans up the stack @@@ really? \item Stack always aligned to 8 bytes. \item first 6 integers and floats are passed independently in registers using \%o0-\%o5 @@ -73,7 +73,7 @@ \hhline{~-~~} & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{10}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{10}{caller's frame} \\ \hhline{~-~~} padding & & & \\ \hhline{~-~~}
--- a/doc/manual/callconvs/callconv_x64.tex Fri Jun 03 14:21:14 2016 +0200 +++ b/doc/manual/callconvs/callconv_x64.tex Sat Jun 04 12:33:09 2016 +0200 @@ -119,25 +119,25 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{9}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{9}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{7}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ - & r9 or xmm3 & \mrrbrace{4}{spill area} & \\ - & r8 or xmm2 & & \\ - & rdx or xmm1 & & \\ - & rcx or xmm0 & & \\ +\mrlbrace{7}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ + & r9 or xmm3 & \mrrbrace{4}{spill area} & \\ + & r8 or xmm2 & & \\ + & rdx or xmm1 & & \\ + & rcx or xmm0 & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on x64 Microsoft platform} @@ -213,21 +213,21 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{5}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on x64 System V (Linux/*BSD)}
--- a/doc/manual/callconvs/callconv_x86.tex Fri Jun 03 14:21:14 2016 +0200 +++ b/doc/manual/callconvs/callconv_x86.tex Sat Jun 04 12:33:09 2016 +0200 @@ -90,21 +90,21 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{5}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on x86 cdecl calling convention} @@ -165,21 +165,21 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{5}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on x86 fastcall (MS) calling convention} @@ -239,21 +239,21 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{5}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on x86 fastcall (GNU) calling convention} @@ -312,21 +312,21 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{5}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on x86 fastcall (Borland) calling convention} @@ -383,21 +383,21 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{5}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on x86 fastcall (Watcom) calling convention} @@ -454,21 +454,21 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{5}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on x86 stdcall calling convention} @@ -526,21 +526,21 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{5}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on x86 thiscall (MS) calling convention} @@ -595,21 +595,21 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{5}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on x86 thiscall (GNU) calling convention} @@ -666,21 +666,21 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{5}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \caption{Stack layout on x86 pascal calling convention} @@ -738,21 +738,21 @@ \begin{figure}[h] \begin{tabular}{5|3|1 1} \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~=~~} -local data & & & \mrrbrace{5}{caller's frame} \\ +local data & \hspace{4cm} & & \mrrbrace{5}{caller's frame} \\ \hhline{~-~~} -\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ - & \ldots & & \\ - & \ldots & & \\ +\mrlbrace{3}{parameter area} & \ldots & \mrrbrace{3}{stack parameters} & \\ + & \ldots & & \\ + & \ldots & & \\ \hhline{~-~~} - & return address & & \\ + & return address & & \\ \hhline{~=~~} -local data & & & \mrrbrace{3}{current frame} \\ +local data & & & \mrrbrace{3}{current frame} \\ \hhline{~-~~} -parameter area & & & \\ +parameter area & & & \\ \hhline{~-~~} - & \vdots & & \\ + & \vdots & & \\ \hhline{~-~~} \end{tabular} \\
--- a/doc/manual/manual_overview.tex Fri Jun 03 14:21:14 2016 +0200 +++ b/doc/manual/manual_overview.tex Sat Jun 04 12:33:09 2016 +0200 @@ -175,6 +175,6 @@ {\bf Playstation Portable} & \marknotx & \marknotx & \marknotx & \markimpl & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx \\ {\bf Nintendo DS} & \marknotx & \markcmpl & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx & \marknotx \\ \end{tabular} -\caption{Supported platforms} +\caption{Supported platforms}% \end{table}
--- a/doc/manual/manual_tex4ht.cfg Fri Jun 03 14:21:14 2016 +0200 +++ b/doc/manual/manual_tex4ht.cfg Sat Jun 04 12:33:09 2016 +0200 @@ -42,7 +42,9 @@ \Configure{TITLE+}{Index} % Clear default header, define our custom one. Using @HEAD will make this be used on all pages generated. -% @@@Ideally, this wouldn't be a copy&paste of the website's header, here. Such thing should be done in the website build, and this here a generic header (however, style is kinda needed). +% @@@Ideally, this wouldn't be a copy&paste of the website's header, here. Such +% thing should be done in the website build, and this here a generic header +% (however, style is kinda needed). \Configure{@HEAD}{} \Configure{@HEAD}{\HCode{<meta http-equiv="content-type" content="text/html; charset=utf-8"/>\Hnewline}} \Configure{@HEAD}{\HCode{<meta name="resource-type" content="document"/>\Hnewline}} @@ -102,22 +104,9 @@ % Remove hr-tags that tex4ht inserts by default in around floats (e.g. tables) and replace them with a background. % Also remove hr-tags around figures, entirely. -\Configure{float}[]{\HCode{<div class='blockDiv'>}}{}{\HCode{</div>}} +\Configure{float}[]{\HCode{<div class='blockDiv'>}\HtmlParOff}{}{\HCode{</div>}\HtmlParOn} \ConfigureEnv{figure}{\HCode{}}{\HCode{}}{}{} -%% Simplest possible table layout - do rest in css. -%\Configure{HBorder} -% {<tr>} -% {} -% {</tr>} -% {<tr>} -% {} -% {} -% {</tr>} -% {<tr>} -% {} -% {</tr>} - % @@@ Did not get that below to work, and don't understand it, either. % @@@ Default output is ok, so we're simply changing class name in % @@@ instead of this postprocessing. See Makefile.