You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Dirk Bromberg <br...@tzi.de> on 2005/09/12 13:21:37 UTC
Numbering Chapter / Section / SubSection
Hi,
i'm searching for a solution for numbering some chapter / section /
subsection in fop?
i'll be able to do it like:
1. HeadLine
1.1 SubHeadLine
1.1.1 SubSubHeadLine
2. HeadLine
and so on.
How can i do this?
THX
Dirk
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Numbering Chapter / Section / SubSection
Posted by Andreas L Delmelle <a_...@pandora.be>.
On Sep 12, 2005, at 13:21, Dirk Bromberg wrote:
> i'm searching for a solution for numbering some chapter / section /
> subsection in fop?
>
> i'll be able to do it like:
>
> 1. HeadLine
> 1.1 SubHeadLine
> 1.1.1 SubSubHeadLine
> 2. HeadLine
If you're using XML+XSLT to generate the FO source, there is the very
handy <xsl:number ...> to sort this out for you.
To get details on exactly how to use it, please ask on an XSLT related
mailing-list, or check the examples here:
http://www.dpawson.co.uk/xsl/sect2/N5758.html
HTH!
Greetz
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Numbering Chapter / Section / SubSection
Posted by Dirk Bromberg <br...@tzi.de>.
than it makes sense :-)
Vincent Hennebert wrote:
> Dirk Bromberg a écrit :
>
>> Thanks, so i'll have a look at this...
>> i'was thinking that there is something in the fo e.g for toc an so
>> on....like in latex
>
>
> If it may help you see the correspondance: FO is more at the TeX
> level. See LaTeX as a kind of XSLT stylesheet that produces TeX. All
> high-level features (ToC generation, automatic section numbering...)
> belong to the LaTeX world, so with XML you'd have to use XSLT.
>
> Vincent
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Numbering Chapter / Section / SubSection
Posted by Vincent Hennebert <vi...@enseeiht.fr>.
Dirk Bromberg a écrit :
> Thanks, so i'll have a look at this...
> i'was thinking that there is something in the fo e.g for toc an so
> on....like in latex
If it may help you see the correspondance: FO is more at the TeX level. See
LaTeX as a kind of XSLT stylesheet that produces TeX. All high-level features
(ToC generation, automatic section numbering...) belong to the LaTeX world, so
with XML you'd have to use XSLT.
Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Numbering Chapter / Section / SubSection
Posted by Dirk Bromberg <br...@tzi.de>.
Thanks, so i'll have a look at this...
i'was thinking that there is something in the fo e.g for toc an so
on....like in latex
but i think i can go the way of numbering via xsl... :-)
Dirk
Louis.Masters@log-net.com wrote:
>
> Dirk:
>
> This is more of an XSL question, but check out the following resource:
> http://www.dpawson.co.uk/xsl/sect2/N5758.html
>
> There is a section on "Legal Style Numbering" which looks like what
> you want.
>
> -Lou
>
>
>
> Dirk Bromberg <br...@tzi.de> wrote on 09/12/2005 07:21:37 AM:
>
> > Hi,
> >
> > i'm searching for a solution for numbering some chapter / section /
> > subsection in fop?
> >
> > i'll be able to do it like:
> >
> > 1. HeadLine
> > 1.1 SubHeadLine
> > 1.1.1 SubSubHeadLine
> > 2. HeadLine
> > and so on.
> >
> > How can i do this?
> >
> > THX
> >
> > Dirk
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Numbering Chapter / Section / SubSection
Posted by Lo...@log-net.com.
Dirk:
This is more of an XSL question, but check out the following resource:
http://www.dpawson.co.uk/xsl/sect2/N5758.html
There is a section on "Legal Style Numbering" which looks like what you
want.
-Lou
Dirk Bromberg <br...@tzi.de> wrote on 09/12/2005 07:21:37 AM:
> Hi,
>
> i'm searching for a solution for numbering some chapter / section /
> subsection in fop?
>
> i'll be able to do it like:
>
> 1. HeadLine
> 1.1 SubHeadLine
> 1.1.1 SubSubHeadLine
> 2. HeadLine
> and so on.
>
> How can i do this?
>
> THX
>
> Dirk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>