DOCBOOK: Re: tables in fo / pdf output: sizing of columns

2002-05-16 Thread Norman Walsh

/ Dominik Kuhn <[EMAIL PROTECTED]> was heard to say:
| 1) If  i declare the size of the column in the colspec-tag like
|  i got a column with that width. So far so
| good. But I'd rather like not to specifiy the column-width and let the
| renderer (fo or tex?) choose the appropriate column-width in a
| HTML-Table-like manner. Is this possible? If yes: does someone know
| how?

If you don't specify any widths, implementations are free to choose
widths in the manner that you describe. Some do, some don't. Some do
better than others.

Rather than use explicit units of measure, you can use relative widths:
In a two column table,

  
  

the implementation is free to choose the width, but the ratio of the width
of the first column to the second will be 3/2.

| 2) Borders: Following table should (in my opinion) turn up grid-like
| with a frame around it:
|   
| Umgebungsvariablen
| 
|   
|   
|   
|   
| 
|   Col1Head
|   Col2Head
|   Col3Head
| 
|   
|   
| 
|   Col1
|   Col2
|   Col3
| 
|   
| 
|   
| This table turns up with inner borders but without a frame around it.
| I wonder what's wrong. Does someone know ho to do it? Or is it a bug,
| somewhere?

It's a bug. It will be fixed in 1.50.1, when it's released. I believe that
it's fixed in 1.50.1-EXP2. But that's an experimental release.

| 3) I tried to change the padding of the columns in a driver-file the
| following way:
| 
|   12pt
|   12pt
|   12pt
|   12pt
| 
| nor
| 
| worked. The enlarged padding (default is 2pt) never showed up. The
| parameter all show up in the fo/param.xsl file. Is it possible, that
| they  aren't used at all? Has someone an idea what's wrong?

Look in the FO file. If they show up there, you're seeing a formatter
bug. If they don't, it's a stylesheet bug. I believe it's the former,
but I've been wrong before :-)

Be seeing you,
  norm

-- 
Norman Walsh <[EMAIL PROTECTED]>  | Through space the universe grasps
http://www.oasis-open.org/docbook/ | me and swallows me up like a
Chair, DocBook Technical Committee | speck; through thought I grasp
   | it.--Pascal



DOCBOOK: tables in fo / pdf output: sizing of columns

2002-05-16 Thread Dominik Kuhn

Hi

I'm experimenting with tables and how they appear in pdf-output. There 
some question arised:

1) If  i declare the size of the column in the colspec-tag like  i got a column with that width. So far so good. But 
I'd rather like not to specifiy the column-width and let the renderer 
(fo or tex?) choose the appropriate column-width in a HTML-Table-like 
manner. Is this possible? If yes: does someone know how?

2) Borders: Following table should (in my opinion) turn up grid-like 
with a frame around it:
  
Umgebungsvariablen

  
  
  
  

  Col1Head
  Col2Head
  Col3Head

  
  

  Col1
  Col2
  Col3

  

  
This table turns up with inner borders but without a frame around it. I 
wonder what's wrong. Does someone know ho to do it? Or is it a bug, 
somewhere?

3) I tried to change the padding of the columns in a driver-file the 
following way:

  12pt
  12pt
  12pt
  12pt

nor

worked. The enlarged padding (default is 2pt) never showed up. The 
parameter all show up in the fo/param.xsl file. Is it possible, that 
they  aren't used at all? Has someone an idea what's wrong?

---

I use the following versions:

Docbook XML 4.1.2
Docbook XML XSL Stylesheets 1.50
XSLT: Saxon 6.5
For translation from fo to pdf: MikTex (which includes pdfxmltex etc)

For the translation to fo I use a driver file, where i overwrite the 
following parameters










  12pt
  12pt
  12pt
  12pt



---

Any help is appreciated

Dominik






DOCBOOK: Re: Word template for DocBook

2002-05-16 Thread Steinar Bang

> Ed Nixon <[EMAIL PROTECTED]>:

> At 06:27 PM 06/05/2002 -0500, Malcolm Davis wrote:
>> Does anybody have suggestions for a DocBook Word template?

> Take a look at YAWC (Yet Another Word Converter), http://www.yawcpro.com/

Interesting!  Does anyone have experience with this?  Is the free lite
version good enough for DocBook use?  Or do you need the pro version?

There's also the question if simplified DocBook is enough?


I guess only experiments can tell, but I suspect I have already
stepped outside of what simplified DocBook defines.

Does anyone know of a filter to import DocBook into MSWord for use
with yawcpro?