latex and psql