Dear Mauritz,
thank you very much for your help. Your hints have solved my
problems and I had never done it on my own!
I was just packed with work-packages, so I could not test
your customizations earlier. So please excuse my late
reply.
Best wishes, regards, Martin
>-----Ursprüngliche Nachricht-----
>Von: Mauritz Jeanson [mailto:mj johanneberg.com]
>Gesendet: Samstag, 28. Juli 2007 20:12
>An: Schramm, Martin; docbook-apps lists.oasis-open.org
>Betreff: RE: [docbook-apps] FO problem: customizing
section
>title to "rule 1.1.1"?
>
>> -----Original Message-----
>> From: Schramm, Martin
>>
>> 1) How can I change the section title (of third
level
>sections) in our
>> FO output from e.g. "1.1.1." to
"Rule 1.1.1." ?
>
>
>Something like the following seems to be what you need:
>
> <xsl:template
match="sect3|section[count(ancestor::section) =
2]"
>mode="object.title.template">
> <xsl:text>Rule %n %t</xsl:text>
> </xsl:template>
>
>This is a customization of a template in
common/gentext.xsl.
>It outputs "Rule", label, and title separated
by spaces (and
>without a trailing period after the label).
>
>
>> 2) Is there a parameter to erase the last number
separator, so
>> "1.1.1."
>> will become " 1.1.1" ?
>
>
>See also
>http://lists.oasis-open.org/archives/docbo
ok-apps/200405/msg00062.html
>
>/MJ
>
>
>
>
*******************************************
Harman Becker Automotive Systems GmbH
Geschaeftsfuehrung: Dr. Peter Geiselhart - Michael Mauser
- William S. Palin - Edwin Summers - Regis Baudot
Sitz der Gesellschaft: Karlsbad - Registergericht: Mannheim
HRB 361395
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich
geschuetzte Informationen. Wenn Sie nicht der richtige
Adressat sind oder diese E-Mail irrtuemlich erhalten haben,
informieren Sie bitte sofort den Absender und loeschen Sie
diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient (or have
received this e-mail in error) please notify the sender
immediately and delete this e-mail. Any unauthorized
copying, disclosure or distribution of the contents in this
e-mail is strictly forbidden.
*******************************************
------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribe lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help lists.oasis-open.org
|