[HACKERS] docbook question: how to center cell in tables ?

2007-01-28 Thread Oleg Bartunov

Hi there,

I want to center a content of table's cell
(ex. http://mira.sai.msu.su/~megera/pgsql/lockmatrix/c2.html),
but jade seems doesn't generate a right html code.

sgml code looks like:

 table id=lock-matrix frame=topbot pgwide=1
   titleLock Matrix/title
   tgroup cols=10 align=center
   thead
row
 entry /entry

I run
jade -d stylesheet.dsl -i output-html -t sgml test.sgml

What I'm doing wrong ?

Regards,
Oleg
_
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [HACKERS] docbook question: how to center cell in tables ?

2007-01-28 Thread Peter Eisentraut
Oleg Bartunov wrote:
 I want to center a content of table's cell

Put the align attributes into the entry elements.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


Re: [HACKERS] docbook question: how to center cell in tables ?

2007-01-28 Thread Oleg Bartunov

On Sun, 28 Jan 2007, Peter Eisentraut wrote:


Oleg Bartunov wrote:

I want to center a content of table's cell


Put the align attributes into the entry elements.


I'm wonderin why global setting  tgroup cols=10 align=center doesn't 
work. Specifying that fro each entry element looks very inefficient.


Regards,
Oleg
_
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

---(end of broadcast)---
TIP 9: In versions below 8.0, the planner will ignore your desire to
  choose an index scan if your joining column's datatypes do not
  match


Re: [HACKERS] docbook question: how to center cell in tables ?

2007-01-28 Thread Peter Eisentraut
Oleg Bartunov wrote:
 I'm wonderin why global setting  tgroup cols=10 align=center
 doesn't work.

It's not implemented.  Feel free to code it. :)

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly