<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Bob,<br>
<br>
This was the approach I went with in the end - it seems to be working
nicely.<br>
I liked the elegance of list-block better but I kept running into text
displacement issues.<br>
Thanks for all your help with this.<br>
<br>
Regards,<br>
Justin.<br>
<br>
Bob Stayton wrote:
<blockquote cite="mid:00d001c9a1d9$e68e7240$6400a8c0@pazu" type="cite">Exari
SignatureIf you don't object to what some might call an XSL-FO hack,
this method seems to work.
<br>
<br>
<fo:block space-before="12pt"
keep-with-next.within-column="always">9.</fo:block>
<br>
<fo:block space-before="-1.2em" space-before.precedence="force"
text-indent="36pt"><fo:inline
font-weight="bold">Confidentiality.</fo:inline> Each party
must hold Protected Information of the other party in confidence and
must only
<br>
use or disclose that Protected Information in accordance with this
agreement.
<br>
</fo:block>
<br>
<fo:block space-before="12pt"
keep-with-next.within-column="always">10.</fo:block>
<br>
<fo:block space-before="-1.2em" space-before.precedence="force"
text-indent="36pt"><fo:inline font-weight="bold">Permitted Use
and Disclosure.</fo:inline> Permitted Use and Disclosure. Each
party may use and copy the other party's Protected Information for the
Permitted
<br>
Purpose and may share that information with its directors, officers,
employees and professional advisers who have a need
<br>
to know the information for the Permitted Purpose, provided that any
such person is under confidentiality obligations equivalent to the
<br>
those set out in this agreement. Each party must record the full name
of any person to whom it discloses the other party's
<br>
Protected Information and must promptly provide those names to the
other party on request.
<br>
</fo:block>
<br>
<br>
It puts the number in a block, and the paragraph in a second block with
text-indent. Then it uses a negative space-before on the second block
to backspace up to line them up. A keep-with-next keeps them together
across page breaks. You will need to adjust the negative space-before
amount to match the current line spacing. Since the blocks overlap,
the first block should never contain more text than fits into the
second block's text-indent, or some of it will be overwritten.
<br>
<br>
Bob Stayton
<br>
Sagehill Enterprises
<br>
<a class="moz-txt-link-abbreviated" href="mailto:bobs@sagehill.net">bobs@sagehill.net</a>
<br>
<br>
<br>
----- Original Message ----- From: Justin Lipton
<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:xep-support@renderx.com">xep-support@renderx.com</a>
<br>
Sent: Tuesday, March 10, 2009 2:29 PM
<br>
Subject: Re: [xep-support] Numbered paragraph with first line indent
<br>
<br>
<br>
Hi,
<br>
<br>
Unfortunately when I tried this (line-height="1") the number is
misaligned with the text that follows it on the same line. It does fix
the second line issue being indented.
<br>
<br>
The leader approach does not work when you don't know if the number
will be 9 or 10 (i.e. the first line will be one character out)
<br>
Thanks for pointing out why the inline-container approach was not
working.
<br>
<br>
We can't find a reliable way to get this working! There must be a way
as I would have thought that this situation comes up reasonably
regularly.
<br>
<br>
Here's some FO with the line-height set:
<br>
<br>
<br>
<fo:block>
<br>
<fo:block background-color="transparent" color="black"
font-family="Times New Roman, Times, Symbol, serif" font-size="12pt"
font-weight="normal" intrusion-displace="none" line-height="120%"
margin-left="0in" margin-right="0in" space-after="12pt"
space-before="0in" text-align="left">
<br>
<fo:float float="start">
<br>
<fo:block-container width="1in">
<br>
<fo:block color="black" font-family="Times New Roman,
Times, Symbol, serif" font-size="12pt" font-weight="normal"
keep-together.within-page="auto" line-height="1" margin-bottom="0pt"
margin-left="0.5in" margin-right="0pt" space-after="0pt"
text-align="left" text-indent="0pt">9.</fo:block>
<br>
</fo:block-container>
<br>
</fo:float>Publicity. No party will disclose the
existence or terms of this Agreement without prior written consent or
unless required by law or court order.</fo:block>
<br>
</fo:block>
<br>
<fo:block>
<br>
<fo:block background-color="transparent" color="black"
font-family="Times New Roman, Times, Symbol, serif" font-size="12pt"
font-weight="normal" intrusion-displace="none" line-height="120%"
margin-left="0in" margin-right="0in" space-after="12pt"
space-before="0in" text-align="left">
<br>
<fo:float float="start">
<br>
<fo:block-container width="1in">
<br>
<fo:block color="black" font-family="Times New Roman,
Times, Symbol, serif" font-size="12pt" font-weight="normal"
keep-together.within-page="auto" line-height="1" margin-bottom="0pt"
margin-left="0.5in" margin-right="0pt" space-after="0pt"
text-align="left" text-indent="0pt">10.</fo:block>
<br>
</fo:block-container>
<br>
</fo:float>
<br>
<fo:inline font-size="12pt" font-weight="bold"
text-decoration="underline">General.</fo:inline>
<br>
</fo:block>
<br>
</fo:block>
<br>
<br>
<br>
<br>
Regards,
<br>
Justin.
<br>
<br>
<br>
G. Ken Holman wrote:
<br>
At 2009-03-10 07:46 -0400, I misspoke:
<br>
<br>
sure enough, adding the following to the block prevents the second line
from going
<br>
<br>
<br>
"allows the second line to go"
<br>
<br>
<br>
to the start edge:
<br>
<br>
line-height="1"
<br>
<br>
As I suspected, the leading of the block inside of the float is big
enough to trigger the apparent indentation of the second line. By
removing the leading (using a line height scalar value), there is now
room for the second line to go to the edge.
<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<title>Exari Signature</title>
<basefont size="2" face="Arial, Helvetica, sans-serif" color="#666666">
<div>
<p style="font-family: sans-serif;" align="left"> <strong>Justin Lipton</strong><br>
<a href="mailto:justin.lipton@exari.com">justin.lipton@exari.com</a><br>
Level 7, 10-16 Queen Street, Melbourne 3000 Australia <br>
Tel +61 3 9621 2775 | Fax +61 3 9621 2776 <br>
</p>
</div>
<div>
<p style="font-family: sans-serif;" align="left"> <strong>Exari Systems</strong><br>
Boston | London | Melbourne | Munich<br>
<a href="http://www.exari.com">www.exari.com</a></p>
<p style="font-family: sans-serif;" align="left"><strong>Really
Important Notice</strong><br>
<small>Actually, this is only important if this email was sent to you
by mistake or if someone sent it to you when they shouldn't have. If
you got it by mistake, please reply and tell us so we can re-send it to
the right person. If you got it from someone who should know better,
please tell them they're in big trouble. In either case, please don't
forward it on to anyone else. Or print it. Or talk about it. Otherwise
you'll be in big trouble too.</small><br>
<br>
<a href="http://www.exari.com/document-assembly.html"><img
alt="exari logo" src="cid:part1.06010206.07050307@exari.com"
align="bottom" border="0" height="24" width="72"></a><br>
<font size="1"><strong>For Contract Relief</strong></font> </p>
</div>
</div>
</body>
</html>