psql latex fixes

Remove extra line at bottom of table for new 'latex' mode border=3.
Also update 'latex'-longtable 'tableattr' docs to say
'whitespace-separated' instead of 'space'.
This commit is contained in:
Bruce Momjian 2013-01-18 08:30:31 -05:00
parent 6f7cddc7ae
commit 74a82bafe4
2 changed files with 2 additions and 2 deletions

View File

@ -2163,7 +2163,7 @@ lo_import 152801
<para>
In <literal>latex-longtable</literal> format, this controls
the proportional width of each column containing a left-aligned
data type. It is specified as a space-separated list of values,
data type. It is specified as a whitespace-separated list of values,
e.g. <literal>'0.2 0.2 0.6'</>. Unspecified output columns
use the last specified value.
</para>

View File

@ -1681,7 +1681,7 @@ print_latex_text(const printTableContent *cont, FILE *fout)
{
printTableFooter *footers = footers_with_default(cont);
if (opt_border >= 2)
if (opt_border == 2)
fputs("\\hline\n", fout);
fputs("\\end{tabular}\n\n\\noindent ", fout);