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 Myriam Delperier <my...@ajlsm.com> on 2006/02/01 11:25:44 UTC
keeping 2 blocks together on the same page
Hello,
i've got 2 blocks of text.
my pb is that sometimes, the first one is located at the bottom of a
page and the second one at the top of the following page.
Is there a way to be sure they stay in the same page.
I've tried :
keep-with-next.within-page="always" on the first block but it doesn't
work.
Here is my code :
<fo:block padding-bottom="0.3cm">
<!** the first block ***-->
<fo:block font-family="Helvetica" line-height="12px" font-size="12pt"
font-weight="bold">Archives départementales de l'Hérault</fo:block>
<!** the second block ***-->
<fo:block font-family="Helvetica" line-height="12px" font-size="10pt"
margin-left="0.75cm" padding-bottom="0.15cm">
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Atlas du Petit et du Grand Saint-Jean (Hérault), XVIIIe
siècle</fo:block>
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Fonds du STO ou fichier des Israélites de l'Hérault,
1939-1945</fo:block>
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Registres paroissiaux et d'état civil : Hérault,
XVIe-XXe siècle</fo:block>
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Cadastre napoléonien : Hérault, 1807-1838</fo:block>
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Minutes notariales : Montpellier (Hérault), XIVe-XVIIIe
siècle</fo:block>
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Recensement de la population : Hérault,
1831-1936</fo:block>
</fo:block>
</fo:block>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: keeping 2 blocks together on the same page
Posted by Myriam Delperier <my...@ajlsm.com>.
Louis.Masters@log-net.com wrote:
| Depending on which version you are using, you can try putting them
| into a blind table and then using the keep.
ok thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: keeping 2 blocks together on the same page
Posted by Lo...@log-net.com.
Depending on which version you are using, you can try putting them into a
blind table and then using the keep.
Check out this post for more info:
http://marc.theaimsgroup.com/?l=fop-user&m=113753526804493&w=2
-Lou
"Myriam Delperier" <my...@ajlsm.com>
02/01/2006 05:25 AM
Please respond to
fop-users@xmlgraphics.apache.org
To
<fo...@xmlgraphics.apache.org>
cc
Subject
keeping 2 blocks together on the same page
Hello,
i've got 2 blocks of text.
my pb is that sometimes, the first one is located at the bottom of a
page and the second one at the top of the following page.
Is there a way to be sure they stay in the same page.
I've tried :
keep-with-next.within-page="always" on the first block but it doesn't
work.
Here is my code :
<fo:block padding-bottom="0.3cm">
<!** the first block ***-->
<fo:block font-family="Helvetica" line-height="12px" font-size="12pt"
font-weight="bold">Archives départementales de l'Hérault</fo:block>
<!** the second block ***-->
<fo:block font-family="Helvetica" line-height="12px" font-size="10pt"
margin-left="0.75cm" padding-bottom="0.15cm">
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Atlas du Petit et du Grand Saint-Jean (Hérault), XVIIIe
siècle</fo:block>
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Fonds du STO ou fichier des Israélites de l'Hérault,
1939-1945</fo:block>
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Registres paroissiaux et d'état civil : Hérault,
XVIe-XXe siècle</fo:block>
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Cadastre napoléonien : Hérault, 1807-1838</fo:block>
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Minutes notariales : Montpellier (Hérault), XIVe-XVIIIe
siècle</fo:block>
<fo:block font-family="Helvetica" line-height="12px"
font-size="10pt">Recensement de la population : Hérault,
1831-1936</fo:block>
</fo:block>
</fo:block>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org