OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] Vertical text in FO output


Hi Fabien,
The "running.head.mode" calls the "header.table" template to set up the form of the header layout. All of the content in the header comes from the template named "header.content". That template typically has many "cases" in the form of xsl:when causes with test attributes. If you comment all of those out and add them back in one by one, you should be able to determine which clause is triggering that content.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

On 2/17/2014 7:53 AM, Fabien Tillier wrote:
Hi Bob.

I have made little progress. I know now that the template header.content is called, and this time there are content to display, while in the general case, the gentext is empty, and thus nothing appears on the page.
My problem is that I absolutely don't know why there is a gentext displayed, and only on this case.
I have tracked the content down to the <xsl:template match="*" mode="running.head.mode"> but the gentext-key value is set to local-name(.), which is probably resolved as the section title.
Still I don't know why it appears in this specific case...
(except maybe the page setup is "index" and I use the @condition attribute for these sections...)

Regards,
Fabien



-----Message d'origine-----
De : Bob Stayton [mailto:bobs@sagehill.net]
Envoyé : vendredi 14 février 2014 18:13
À : Fabien Tillier; docbook-apps@lists.oasis-open.org
Objet : Re: [docbook] Vertical text in FO output

[moving this over to the docbook-apps mailing list where stylesheet issues are discussed]

That format usually comes from putting text into a block defined with a very narrow width, so that the formatter resorts to breaking the word after each letter.

I suspect the header table right column width was set to a small size, and the header.content template puts some content in that column.  Does your customization include setting the "header.column.widths" param?

http://docbook.sourceforge.net/release/xsl/current/doc/fo/header.column.widths.html

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

On 2/14/2014 5:15 AM, Fabien Tillier wrote:
Hi List.
I recently ran into a problem that I am unable to find the origin of.
I have xsl transformations to generate PDF files based on modified docbook to xsl-fo stylesheets. It works pretty well, except that on some of the pages now the title of the section appears also on the top right of the page (it is in the  index page master), in an vertical direction.

Looks like									A
7. APPENDIX									P
	Blah 									P
	Blah 									E
	Blah									N
										D
										I
										X

This is not supposed to be there...
As I can't seem to find where it comes from (even when looking at the
generated xsl-fo code), would anyone get a clue on what may cause this
or give me a hint on how this could be done ? (so that I may find
where it is !)

Many thanks !
Fabien


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org









[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]