Commit f537a06f authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: allow vspaces when section is not complete (implies that section is over)

parent 451d9d2d
......@@ -54,11 +54,13 @@ row = 1;
col = 1;
for i=1:ne
if isa(o.elements{i}, 'vspace')
assert(col == o.cols, ['@section.write: must place ' ...
'vspace command after a linebreak in the table ' ...
'or series of charts']);
o.elements{i}.write(fid);
fprintf(fid, '\\\\\n');
if col ~= o.cols
fprintf(fid, '\\end{tabular}}\\\\\n');
fprintf(fid, '%% End Section Object\n\n');
return;
end
else
o.elements{i}.write(fid, pg, sec, row, col);
if col ~= o.cols
......
Supports Markdown
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