Re: Latex longtable format - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Latex longtable format
Date
Msg-id 20130117164455.GD683@momjian.us
Whole thread Raw
In response to Latex longtable format  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Sat, Jan 12, 2013 at 07:09:31PM -0500, Bruce Momjian wrote:
> I have received several earnest requests over the years for LaTeX
> 'longtable' output, and I have just implemented it based on a sample
> LaTeX longtable output file.
> 
> I have called it 'latex-longtable' and implemented all the behaviors of
> ordinary latex mode.   One feature is that in latex-longtable mode,
> 'tableattr' allows control over the column widths --- that seemed to be
> very important to the users.  One requested change I made to the
> ordinary latex output was to suppress the line under the table title if
> border = 0 (default is border = 1).
> 
> Patch and sample output attached.  I would like to apply this for PG
> 9.3.

Modified patch applied.  I didn't need to modify our existing 'latex'
output format, except to add border=3 support.  It was tempting to
suggest renaming our 'latex' output format to 'latex-tabular', because
that is what it uses, but 'tabular' is a package included by default in
Latex, while 'longtable' requires two additional packages to be
specified, so I resisted suggesting it.  I did document that 'latex'
uses 'tabular'.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Re: Slave enters in recovery and promotes when WAL stream with master is cut + delay master/slave
Next
From: Simon Riggs
Date:
Subject: Re: Materialized views WIP patch