Exari SignatureIf you don't object to what some might call an XSL-FO hack, this method seems to work.
<fo:block space-before="12pt" keep-with-next.within-column="always">9.</fo:block>
<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
use or disclose that Protected Information in accordance with this agreement.
</fo:block>
<fo:block space-before="12pt" keep-with-next.within-column="always">10.</fo:block>
<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
Purpose and may share that information with its directors, officers, employees and professional advisers who have a need
to know the information for the Permitted Purpose, provided that any such person is under confidentiality obligations equivalent to the
those set out in this agreement. Each party must record the full name of any person to whom it discloses the other party's
Protected Information and must promptly provide those names to the other party on request.
</fo:block>
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.
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
----- Original Message ----- From: Justin Lipton
To: xep-support@renderx.com
Sent: Tuesday, March 10, 2009 2:29 PM
Subject: Re: [xep-support] Numbered paragraph with first line indent
Hi,
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.
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)
Thanks for pointing out why the inline-container approach was not working.
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.
Here's some FO with the line-height set:
<fo:block>
<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">
<fo:float float="start">
<fo:block-container width="1in">
<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>
</fo:block-container>
</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>
</fo:block>
<fo:block>
<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">
<fo:float float="start">
<fo:block-container width="1in">
<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>
</fo:block-container>
</fo:float>
<fo:inline font-size="12pt" font-weight="bold" text-decoration="underline">General.</fo:inline>
</fo:block>
</fo:block>
Regards,
Justin.
G. Ken Holman wrote:
At 2009-03-10 07:46 -0400, I misspoke:
sure enough, adding the following to the block prevents the second line from going
"allows the second line to go"
to the start edge:
line-height="1"
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.
Justin Lipton
justin.lipton@exari.com
Level 7, 10-16 Queen Street, Melbourne 3000 Australia
Tel +61 3 9621 2775 | Fax +61 3 9621 2776
Exari Systems
Boston | London | Melbourne | Munich
www.exari.com
Really
Important Notice
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.
For Contract Relief
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
This archive was generated by hypermail 2.1.8 : Thu Mar 26 2009 - 19:51:22 PST