Re: [docbook] Indenting paragraph start

2008-11-04 Thread Scott Hudson

Have you tried this?
http://sourceware.org/ml/docbook-apps/2004-q1/msg00211.html

By re-defining normal.para.spacing attribute set in the customization layer.

It is, by default,

xsl:attribute-set name=normal.para.spacing
  xsl:attribute name=space-before.optimum1em/xsl:attribute
  xsl:attribute name=space-before.minimum0.8em/xsl:attribute
  xsl:attribute name=space-before.maximum1.2em/xsl:attribute
/xsl:attribute-set

You want to remove space-before and add

  xsl:attribute name=text-indent24pt/xsl:attribute

text-indent is the XSL FO way to first-line-indent.

David Tolpin


Best regards,

--Scott

Tommy Nordgren wrote:

How can I customize the style sheets, to indent the first line of a
paragraph?

--
Skinheads are so tired of immigration, that they are going to move to
a country that don't accept immigrants!
Tommy Nordgren
[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook] Indenting paragraph start

2008-11-04 Thread Bob Stayton

Hi,
Actually, simply removing the space-before attributes in a customization 
layer will not have any effect, because attribute-sets at different import 
levels are merged, so you would still inherit the original attribute values. 
Instead, you need to set them to zero in your customization layer, so the 
whole attribute-set would be:


xsl:attribute-set name=normal.para.spacing
 xsl:attribute name=space-before.optimum0pt/xsl:attribute
 xsl:attribute name=space-before.minimum0pt/xsl:attribute
 xsl:attribute name=space-before.maximum0pt/xsl:attribute
 xsl:attribute name=text-indent24pt/xsl:attribute
/xsl:attribute-set

If you aren't clear what a customization layer is, see this reference:

http://www.sagehill.net/docbookxsl/CustomMethods.html#CustomizationLayer

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


- Original Message - 
From: Scott Hudson [EMAIL PROTECTED]

To: Tommy Nordgren [EMAIL PROTECTED]
Cc: docbook@lists.oasis-open.org
Sent: Tuesday, November 04, 2008 8:04 AM
Subject: Re: [docbook] Indenting paragraph start



Have you tried this?
http://sourceware.org/ml/docbook-apps/2004-q1/msg00211.html

By re-defining normal.para.spacing attribute set in the customization 
layer.


It is, by default,

xsl:attribute-set name=normal.para.spacing
  xsl:attribute name=space-before.optimum1em/xsl:attribute
  xsl:attribute name=space-before.minimum0.8em/xsl:attribute
  xsl:attribute name=space-before.maximum1.2em/xsl:attribute
/xsl:attribute-set

You want to remove space-before and add

  xsl:attribute name=text-indent24pt/xsl:attribute

text-indent is the XSL FO way to first-line-indent.

David Tolpin


Best regards,

--Scott

Tommy Nordgren wrote:

How can I customize the style sheets, to indent the first line of a
paragraph?

--
Skinheads are so tired of immigration, that they are going to move to
a country that don't accept immigrants!
Tommy Nordgren
[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook] tip, caution and figures

2008-11-04 Thread Steve Ball

Hi Luis,

The roundtrip XSL stylesheets are designed such that the Word document  
can be converted back into DocBook. The placement of the various  
paragraphs for related elements is very important for this purpose.


However, it is relatively straight-forward to customise the  
stylesheets to achieve your purpose; you want to look at the  
dbk2wp.xsl stylesheet, which controls the layout of the word  
processing document. My company offers commercial services to do this  
type of customisation if you can't do that yourself (the Aussie dollar  
is pretty low at the moment, so we're fairly cheap!).


HTHs,
Steve Ball

On 02/11/2008, at 9:44 AM, Luis Mandel wrote:


Hi Steve
I am trying at the same time the roundtrip XSL as well as XMLmind.

regards,
Luis

On Sat, Nov 1, 2008 at 11:30 PM, Steve Ball  
[EMAIL PROTECTED] wrote:

Hi Luis,

How are you doing the transformation? Are you using the roundtrip XSL
stylesheets?

Cheers,
Steve Ball

On 01/11/2008, at 5:44 AM, Luis Mandel wrote:


Hi
I am new at docbook.
I have to convert a docbook document to wordml.
I got the conversion done with no major problems.
Nevertheless the word document has to follow some
layout guidelines: figures must have the caption at
the bottom, tip tags have to be converted to
something (probable a table) with an image and a
surrounded by a green frame and caution must
be translated to something similar but the frame has
to be red.

I didn't find enough documentation to do this.

Could somebody give me any hint how to
configure xsltproc in order to get what has been
required?

Thanks a lot in advance.

Luis

--
-
Luis Mandel
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









--
-
Dr. Luis Mandel
[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[docbook-apps] Indenting the second line of a section title

2008-11-04 Thread Nancy Brandt
Hi guys,

My question is the following:
By default, section titles appear in PDFs as follows:

1.2.5 This is a section title which is very
long.

I would like to indent the second line of a section title as follows:

1.2.5 This is a section title which is very
 long.

Is it possible? If yes, how do I modify the template?

Thank you in advance!!!
nancy



  

Re: [docbook-apps] cals tables

2008-11-04 Thread Bob Stayton

Hi,
A short sample XML that illustrates the problem would be most helpful.

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


- Original Message - 
From: Ian Moor [EMAIL PROTECTED]

To: docbook-apps@lists.oasis-open.org
Sent: Monday, November 03, 2008 11:25 AM
Subject: [docbook-apps] cals tables


I have written an informal cals table, where most of the rows don't have 
data in all columns.
I am using the entry attributes namest and nameend to position entries 
with data.
There are 4 rows where the first column has data, then near the middle of 
the row is more data.
In  output  the first row like that  the row is filled to the end  with 
empty enties,

but for the others two of the rows have one extra entry  and one has none.
So the right half of the rows look like
   a | | | |
   b | |
   c |
   d |  |

both in pdf and html, using docbook-xsl-ns-1.74.0 and xalan.

 Ian Moor



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] Indenting the second line of a section title

2008-11-04 Thread Bob Stayton
Hi Nancy,
A solution is described here in my book:

http://www.sagehill.net/docbookxsl/SideBySide.html

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


  - Original Message - 
  From: Nancy Brandt 
  To: docbook-apps@lists.oasis-open.org 
  Sent: Tuesday, November 04, 2008 6:35 AM
  Subject: [docbook-apps] Indenting the second line of a section title


Hi guys,

My question is the following:
By default, section titles appear in PDFs as follows:

1.2.5 This is a section title which is very
long.

I would like to indent the second line of a section title as follows:

1.2.5 This is a section title which is very
 long.

Is it possible? If yes, how do I modify the template?

Thank you in advance!!!
nancy