Wrapping text

2003-09-30 Thread Tim Cavanagh
Hi 

is it possible to have text wrap around an image in a block, table-cell, or
inline container (or any way at all)?

See below which just places all the images one after the other...
fo:table-cell
   fo:block font-size=10pt
font-family=sans-serif
text-align=start
padding-top=2pt
   xsl:apply-templates /
  
xsl:for-each select=child::[EMAIL PROTECTED]'attached_Media']
  fo:block
  fo:external-graphic width=2.5cm src={*/A|a/img/@src} /
  /fo:block
   /xsl:for-each
/fo:block

   /fo:table-cell

-- 

Regards

Tim Cavanagh
Technical Coordinator
MindMedia
Douglas Mawson Institute of Technology
1 Mundy St
Port Adelaide 
SA 5015
 
Phone +618 83032669
Fax   +618 83032667

What can be done with fewer assumptions is done in vain with more
William of Ockham



Re: Line ending chaos in our codebase

2002-11-05 Thread Tim Landscheidt
Victor Mote [EMAIL PROTECTED] wrote:

 [...]
 I have never been able to get grep to detect them. The only way I know (and
 it falls into the category of beat it to death) is to convert each file
 using tr, then compare it to the old one. Here is a script that I just ran
 on my box that works:
 [...]

Why not just use file(1)?

| [tim@butler ~]$ file /var/tmp/test-{dos,unix}.txt
| /var/tmp/test-dos.txt:  ASCII text, with CRLF line terminators
| /var/tmp/test-unix.txt: ASCII text

Tim

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




blank-or-not-blank

2002-01-17 Thread Keen Tim

Hi

My problem is that the last page of a page-sequence has no flow but
static-content is still produced. I have set blank-or-not-blank=blank
as part of the conditional-page-master-reference and forced an even
number of pages to print using forced-page-count=end-on-even as part
of the same page-sequence.

I guess what I really want is 3 pages + 1 completely blank page.
Unfortuneately the number of pages prior to processing is not known, but
I must always have an even number of pages.

As best as I can tell blank-or-not-blank should deliver what I'm after,
but it doesn't in fop. Am I wrong? (This has happened many times before)


Cheers

Tim



The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.

Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.  

If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




xsl-region-before?

2001-10-29 Thread Tim


I'm trying to add a Report Title using the following segment as a child
of fo:page-sequence:

fo:static-content flow-name=xsl-region-before
fo:block font-size=12pt text-align=centerReport Title
/fo:block
/fo:static-content

I receive the following error when running FOP (ver 0.20.2):

[INFO]: FOP 0.20.2
[INFO]: building formatting object tree
[ERROR]: region-name 'region-before' doesn't exist in the
layout-master-set.
[INFO]: [1]
[INFO]: Parsing of document complete, stopping renderer

According to the web site, xsl-region-before is implemented.  Why isn't
this working??

TIA,

-TIM


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: padding in table-row

2001-10-21 Thread Keen Tim

Thanks Karen.

My reference was http://www.zvon.org/xxl/xslfoReference/Output/. I
should have done a cross check against the specification.

Cheers

Tim

-Original Message-
From: Karen Lease [mailto:[EMAIL PROTECTED]]
Sent: Friday, 19 October 2001 6:42
To: [EMAIL PROTECTED]
Subject: Re: padding in table-row


Well, no, actually the XSL Recommendantion says that padding doesn't
apply to table-row (See 6.7.9 and the Note about Common Border,
Padding and Background properties.
Using padding on table-cell is the correct solution.

Regards,
Karen

Keen Tim wrote:
 
 I'm attempting to use padding-top and padding-bottom to put some space
 between rows of a table. These attributes don't seem to be working in
 table-row, but the desired result can be achieved using padding in
 table-cell.
 
 I think this might be a bug and would just like to make whoever needs
to
 know aware.
 
 Cheers
 
 Tim
 


 The information in this e-mail together with any attachments is
 intended only for the person or entity to which it is addressed
 and may contain confidential and/or privileged material.
 
 Any form of review, disclosure, modification, distribution
 and/or publication of this e-mail message is prohibited.
 
 If you have received this message in error, you are asked to
 inform the sender as quickly as possible and delete this message
 and any copies of this message from your computer and/or your
 computer system network.


 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.

Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.  

If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




padding in table-row

2001-10-16 Thread Keen Tim

I'm attempting to use padding-top and padding-bottom to put some space
between rows of a table. These attributes don't seem to be working in
table-row, but the desired result can be achieved using padding in
table-cell.

I think this might be a bug and would just like to make whoever needs to
know aware.

Cheers

Tim



The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.

Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.  

If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]