RE: Yet another pagination issue

2004-02-24 Thread John Marshall
How fancy is your printer and what sort of print run do you do? Why not print 
your letter text single-sided and do a bulk run before or after to print your 
legal text on the back? The way you describe it, the legal text sounds as if it 
does not vary.

John Marshall
Accurate Software

80 Peach Street, Wokingham, Berkshire, RG40 1XH, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com


-Original Message-
From: Matthew Case [mailto:[EMAIL PROTECTED]
Sent: 23 February 2004 18:58
To: [EMAIL PROTECTED]
Subject: Yet another pagination issue


The ongoing saga of my FOP-driven letter engine continues. Now, management has 
requested that I create letters that are comprised of 2 pages. The letter text 
on the first page, and state-specific legal text on the back.

First, I want to specifically say this text can only go on even pages and 
that text can only go on odd pages. If the letter text goes over one page, I 
want the text to roll onto a third page and leave the state specific text only 
on page 2. Secondly, my engine right now appends multiple FO documents together 
to create one bulk PDF. I'm assuming I will be using the 
fo:page-sequence-master master-name=alternating tag to control what goes on 
even and odd pages, given the first issue, will the solution be friendly to 
this? Finally, it's all good and well if it's able to be done using XSL:FO...I 
obviously am searching for a solution that FOP 0.20.5 supports. Any ideas?

 - Matt Case

--
Accurate Software
 
[EMAIL PROTECTED]
www.accuratesoftware.com
 
Europe . North America . Australasia . Africa
 
The information in this email is confidential and privileged and is intended
only for the use of the individual or entity listed above.  If you are neither
the intended individual, or entity listed above, nor the person responsible for
the delivery of this email to the intended recipients, you are hereby notified
that any unauthorised distribution, copying or use of this email is prohibited.
If you have received this email in error, please notify the Accurate system
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The
views expressed in this communication may not necessarily be the views held by
the Accurate Group.


This e-mail has been virus checked by 'Knowledge Checker' http://www.imhotek.com


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



RE: Yet another pagination issue

2004-02-24 Thread John Marshall
Sorry, I take your point. There have been occasions when I have sweated over a 
problem whose solution was not software related.

John Marshall
Accurate Software

80 Peach Street, Wokingham, Berkshire, RG40 1XH, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com http://www.accuratesoftware.com




-Original Message-
From: Matthew Case [mailto:[EMAIL PROTECTED]
Sent: 24 February 2004 13:16
To: [EMAIL PROTECTED]
Subject: RE: Yet another pagination issue


Well, the issue is that these letters go all over the country...so one
letter may need text specific for Utah while the next 5 may go to Maine.
Obviously we could configure the software to print only letters going to
specific states at a time, but management would rather the program spit out
the appropriate text on a per-letter basis.

-Original Message-
From: John Marshall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 4:31 AM
To: [EMAIL PROTECTED]
Subject: RE: Yet another pagination issue


How fancy is your printer and what sort of print run do you do? Why not
print your letter text single-sided and do a bulk run before or after to
print your legal text on the back? The way you describe it, the legal text
sounds as if it does not vary.

John Marshall
Accurate Software

80 Peach Street, Wokingham, Berkshire, RG40 1XH, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com


-Original Message-
From: Matthew Case [mailto:[EMAIL PROTECTED]
Sent: 23 February 2004 18:58
To: [EMAIL PROTECTED]
Subject: Yet another pagination issue


The ongoing saga of my FOP-driven letter engine continues. Now, management
has requested that I create letters that are comprised of 2 pages. The
letter text on the first page, and state-specific legal text on the back.

First, I want to specifically say this text can only go on even pages and
that text can only go on odd pages. If the letter text goes over one page,
I want the text to roll onto a third page and leave the state specific text
only on page 2. Secondly, my engine right now appends multiple FO documents
together to create one bulk PDF. I'm assuming I will be using the
fo:page-sequence-master master-name=alternating tag to control what goes
on even and odd pages, given the first issue, will the solution be friendly
to this? Finally, it's all good and well if it's able to be done using
XSL:FO...I obviously am searching for a solution that FOP 0.20.5 supports.
Any ideas?

 - Matt Case

--
Accurate Software

[EMAIL PROTECTED]
www.accuratesoftware.com

Europe . North America . Australasia . Africa

The information in this email is confidential and privileged and is intended
only for the use of the individual or entity listed above.  If you are
neither
the intended individual, or entity listed above, nor the person responsible
for
the delivery of this email to the intended recipients, you are hereby
notified
that any unauthorised distribution, copying or use of this email is
prohibited.
If you have received this email in error, please notify the Accurate system
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The
views expressed in this communication may not necessarily be the views held
by
the Accurate Group.


This e-mail has been virus checked by 'Knowledge Checker'
http://www.imhotek.com


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



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




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



RE: leader issues...

2003-11-18 Thread John Marshall
Hi

This is a template taken from a working application. The resulting text (a 
table of contents) is exactly as required (and as required by Patrick) when 
rendered by FOP 0.20.5. Alignment was bad when rendered by earlier versions of 
FOP.

xsl:template match=meeting mode=toc
  fo:block text-align-last=justify padding=5mm
fo:inline
  xsl:value-of select=location/title/
  fo:leader leader-pattern=dots/
  fo:page-number-citation ref-id={generate-id(location/title)}/
/fo:inline
  /fo:block
/xsl:template

John Marshall
Accurate Software

80 Peach Street, Wokingham, Berkshire, RG40 1XH, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com http://www.accuratesoftware.com




-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
Sent: 17 November 2003 17:08
To: [EMAIL PROTECTED]
Subject: RE: leader issues...


 -Original Message-
 From: Patrick JUSSEAU [mailto:[EMAIL PROTECTED]

 In other word I want the right side of my text to be aligned. The
 fo:leader should expand as much as it can to fill the middle part. I
 also want the parent block to have a 10cm width.


As I understand, behaviour of the fo:leader is very vaguely described in the
spec, and apart from that, the FOP compliance page,
http://xml.apache.org/fop/compliance.html#fo-object-leader, indicates only
partial support for this object.

What definitely works, are fixed-length leaders and leaders aligned
according to the settings of the reference area (mostly: the surrounding
fo:block).
The latter _seems_ a good choice in combination with text-align=justify
and text-align-last=justify, but from my experience, it can only be used
in practice to create layouts like this:

fo:block text-align=justify text-align-last=justify
  fo:inlineline1/fo:inline
  fo:leader leader-pattern=dots leader-pattern-width=3pt
leader-alignment=reference-area /
/fo:block
fo:block text-align=justify text-align-last=justify
  fo:inlineline2withlongername/fo:inline
  fo:leader leader-pattern=dots leader-pattern-width=3pt
leader-alignment=reference-area /
/fo:block

would yield

line1 .
line2withlongername ...

If you add another fo:inline to the above fo:blocks, the fo:leader will
expand to fill the line and the last fo:inline will end up on a new line.

AFAIK there is currently no workaround to achieve the particular effect
you're seeking.

Maybe someone else has an idea?


Greetz,

Andreas


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





Accurate Software

[EMAIL PROTECTED] 
www.accuratesoftware.com

Europe . North America . Australasia . Africa

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.


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



RE: Changing SAX Class

2003-10-17 Thread John Marshall
David
Have you a particular reason to put your text alignment in your XML rather than 
letting FO do your formatting? In a similar situation I had something like:
(XML)
address282 Quarry Road/address
addressMilford/address
zipCT 06460/zip
(XSL)
xsl:for-each select=address[position()!=last()]
  fo:blockxsl:value-of select=.//fo:block
/xsl:for-each
fo:block
  xsl:value-of select=address[position()=last()]/
  xsl:text, /xsl:text
  xsl:value-of select=zip/
/fo:block

This will give you what you want this time and the option to re-format at will.

Regards

John Marshall
Accurate Software

80 Peach Street, Wokingham, Berkshire, RG40 1XH, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com http://www.accuratesoftware.com




-Original Message-
From: David Rosenstein [mailto:[EMAIL PROTECTED]
Sent: 16 October 2003 20:55
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Changing SAX Class



What I mean by white-space-preserve does not work means that my
company_address becomes:  282 Quarry Rd Milford, CT 06460 and loses the line
breaks, plus any additional spacing  (tabs, multiples spaces, new lines,
etc).
I have put a more complete style sheet at the end as well.   I would like to
avoid breaking up the address into 2 separate blocks because this is just
one example of where I need to preserve line breaks.  Most of the scenarios
are of user input where they would like to preserve as much formatting as
possible.

I appreciate all of your help.  This has been plaguing our reports generated
through FOP for a long time now.
-David Rosenstein
IMS Software
http://www.ims-usa.com



xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:xlink=http://www.w3.org/2000/xlink/namespace/;
xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:date=java.util.Date
xmlns:format=java.text.SimpleDateFormat exclude-result-prefixes=date
format
xsl:output method=xml indent=no/
xsl:variable name=footnotecounter select=0/
xsl:variable name=spaceAfter4pt/xsl:variable
xsl:variable name=tableWidth18cm/xsl:variable
xsl:template match=/
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
!-- defines the layout master --
fo:layout-master-set
fo:simple-page-master master-name=formula 
page-height=28cm
page-width=21.5cm margin-top=1cm margin-bottom=.5cm margin-left=2cm
margin-right=2cm
fo:region-body margin-top=2.5cm 
margin-bottom=2cm/
fo:region-before extent=2.4cm/
fo:region-after extent=1.5cm/
/fo:simple-page-master
/fo:layout-master-set
!-- starts actual layout --
xsl:for-each select=root
xsl:call-template name=formulaTableTemplate/
/xsl:for-each
/fo:root
/xsl:template
fo:page-sequence master-reference=formula
fo:flow flow-name=xsl-region-body
!--SECTION 1 HEADER--
fo:table padding=0mm width={$tableWidth} 
padding-start=1mm
space-after.optimum=9pt table-layout=fixed
fo:table-column column-width=11cm/
fo:table-column column-width=6cm/
fo:table-body
fo:table-row space-after.optimum=5pt
fo:table-cell
fo:block 
font-family=sans-serif font-size=10pt
space-after.optimum={$spaceAfter}
fo:inline 
font-weight=bold font-family=sans-serif
font-size=10pt text-decoration=underlineManufacturer's
Name:/fo:inline
xsl:value-of 
select=COMPANY_NAME/
/fo:block
/fo:table-cell
fo:table-cell
fo:block 
font-family=sans-serif font-size=10pt
space-after.optimum={$spaceAfter}
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row space-after.optimum=5pt 
height=3cm
fo:table-cell
fo:block 
font-family=sans-serif font-size=10pt
space-after.optimum={$spaceAfter} white-space-treatment=preserve
white-space-collapse=false text-align=startxsl:value-of
select

RE: Failed to read font metrics file

2003-09-29 Thread John Marshall
Just a word of thanks to the developers from out in the sticks. 0.20.5 is a 
good product and it's nice to hear that 1.0 will be even better. It was easy 
for God to create the world in six days; He had no installed base

John Marshall
Accurate Software

80 Peach Street, Wokingham, Berkshire, RG40 1XH, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com http://www.accuratesoftware.com




-Original Message-
From: Victor Mote [mailto:[EMAIL PROTECTED]
Sent: 27 September 2003 20:28
To: [EMAIL PROTECTED]
Subject: RE: Failed to read font metrics file


J.Pietschmann wrote:

 I'd like to see *one* program for handling metrics, dealing
 with PFM, TTF and TTCs intelligently, but integrating it into
 the main CLI goes a bit beyond the one tool for one purpose
 principle which should apply to the FOP CLI as well.

This is not very difficult to do, and I have much of it done already, but
there are some issues:

Problem 1: There is no place to check it in. Nobody wants to do another
release from the maintenance branch. There is no way to use it or test it in
the trunk, until we at least get configuration working again. Also, until we
get a usable layout system in trunk, such a change does no good. Further,
until all integration work between the two branches is complete, any changes
to either one make an ugly mess.

Problem 2: The better solution is to eliminate the font-metrics file
completely, have the config point to the font file itself, and read the font
file on-the-fly to get the metric information. I don't think this is going
to be very hard to do either.

Of these two problems, the first is the bigger. I have been working on FOP
for over a year now, and at no time in that period has there been a way to
improve a usable version of FOP without 1) hacking the developer base off,
and 2) causing even wider differences between the two development lines. I
am neck deep in a project right now to try to correct this problem, but it
is too early to tell whether it will ultimately be successful. Once that is
done, I hope that we will do a release that is merely for integration (i.e.
no new features, just test and make sure we haven't gone backwards). *After*
that, fonts are at the top of the priority list (mine anyway), and Andreas
is welcome to do as much of it as he likes. We have a wide range of
under-the-hood improvements planned, as well as items like the above that
should simplify using fonts.

I just want to make sure folks don't think we are ignoring these things. We
are actually making some progress, although it seems slow and painful. I
could double my productivity if I could stop cursing the decision to split
the development into two lines.

Victor Mote


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




Accurate Software

[EMAIL PROTECTED]
www.accuratesoftware.com

Europe . North America . Australasia . Africa

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.


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



RE: Convert existing PDF to XSL-FO tool

2003-09-10 Thread John Marshall
I am glad to see that the expert advice is *don't*. I was given the project of 
finding an alternative to HTML that allowed pagination and my colleagues' 
suggestion was to try PDF. I found that by the time a document is in PDF it is 
decomposed into glyphs and vectors and all of the context information has been 
filtered out. The answer to my problem was, of course, XSL-FO with an easy and 
rational path to PDF, but I do not believe there is any way back from PDF to 
XSL-FO that will not involve pain and heartache.

John Marshall
Accurate Software

80 Peach Street, Wokingham, Berkshire, RG40 1XH, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com http://www.accuratesoftware.com




-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
Sent: 09 September 2003 18:31
To: [EMAIL PROTECTED]
Subject: RE: Convert existing PDF to XSL-FO tool


 From: Ganesh [mailto:[EMAIL PROTECTED]

 I am not using XSL-FO from XSLT. I using Apache Velocity which has an
 inbuilt template language (VTL) to fetch data from Java Beans on to any
 text file. The dynamic data are merged with XSL-FO template using
 Velocity and the resulting XSL-FO file is then given to FOP for
 generating PDF.


Not sure what to make of this: first you don't use XSL-FO from XSLT, but you
*are* using an XSL-FO template? (Would the latter be a FO in which some sort
of a classic search-and-replace is performed? In that case, I do think
XML+XSL-FO is a more than valid alternative. Meaning: perform the merging
with Velocity in a 'template XML' that could afterwards be styled - e.g. via
Xalan - to deliver the FO)

 I agree that reverse compiler are not precise, but I am a novice in
 XSL-FO template creation. It would be of great help if any tool can
 provide a good start on which I can build on. It would be good enough if
 I could copy-paste the PDF file content onto some XSL-FO editor and it
 generates the XSL-FO for me. Is anybody aware of such a XSL-FO editor?.
 I heard of XMLSpy, when I searched the Google, but not sure which is
 best for my requirement(ie., with existing PDF and free if possible).

First of all, I know of no such tool ( In fact there are AFAIK no tools that
take a pdf as basis and deliver some other output-format, I guess the
process would just be too complicated ). Also, difficulties would probably
arise when a tool like this would deliver XSL-FO containing tags or
constructs not yet supported by FOP ...
Second, I think XMLSpy would not help you out here ( AFAIK they do offer an
alternative to FOP, so I cannot help but NOT recommend you this ... ;) )
And third, I really think this would not be a good way for an XSL-FO-novice
to start learning XSL-FO template creation. Start from scratch as this will
definitely learn you more about what the fo-tags do... (first-hand
experience and all that)

If you insist, however, on having someone/something else perform the pdf to
fo translation, send us a pdf and I would be more than willing to help you
on your way to make a fo for that kind of layout.

Greetz,

Andreas Delmelle


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




Accurate Software

[EMAIL PROTECTED]
www.accuratesoftware.com

Europe . North America . Australasia . Africa

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.


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



RE: AW: UTF-8 errors

2003-07-15 Thread John Marshall
Howard
A text editor I use to edit XML and XSLT is Komodo from ActiveState. It is 
aware of XSLT syntax and flags errors, including unrecognised characters. A 
commercial copy is quite expensive. I bought my own private licence. Personal, 
academic and presumably .org licences are inexpensive and may be worth it to 
trace your error. They are at http://www.ActiveState.com

I hope this helps

John Marshall
Accurate Software

80 Peach Street, Wokingham, Berkshire, RG40 1XH, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com http://www.accuratesoftware.com




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 15 July 2003 14:46
To: [EMAIL PROTECTED]
Subject: Re: AW: UTF-8 errors


Thanks,

The trouble is that somebody edited the xsl file over a Samba connection
using Microsoft Wordpad. I assume that this is what has broken the xsl
file but I cannot prove it (or at least I do not now *how* to prove it).
Nothing I do (cutting and pasting between editors, using recode etc),
seems to make any difference at all, so I wonder if this is really the
problem.

Not sure what to do next!

H.

 Hi back,

 my suggestion is to prove if your xml-file is saved as utf. It could be
 that
 your ide saves it as ascii or something else.

 greetz

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Gesendet: Tuesday, July 15, 2003 3:00 PM
 An: [EMAIL PROTECTED]
 Betreff: UTF-8 errors

 Hi,

 When I run FOP, I get the following error...

 Invalid byte 2 of 2 byte UTF-8 sequence

 ...followed by an extensive trace.

 I have a pretty clear idea of what it mean but not what to do about it!!
 The following problems spring to mind...
 * What file is the invalid sequence in? Is it my xml (input) file or the
 xsl file?
 * Even if I identify the file, where/which character is causing the
 problem
 * how do I fix it :-)

 I guess what I am saying is that the error message is getting towards
 useless...

 Has anybody got any suggestions on how to proceed with this?

 Any help much appreciated

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

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




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



The Luxembourg office of Accurate Software will be moving offices from Tuesday 
July 1st to the following new location:

6 Rue d'Arlon, Windhof, L-8399 Luxembourg

The existing telephone and fax numbers will remain unchanged.

Accurate Software

[EMAIL PROTECTED]
www.accuratesoftware.com

Europe . North America . Australasia . Africa

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.


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



RE: Different rows inside a cell

2003-05-28 Thread John Marshall



Perhaps it isn't that complicated. If the requirement is simply to have 
each of the entries in that table-cell on its own line, then just enclose each 
in its own block. It depends whether you want"row" to 
mean"table-row" or just"new 
line".

John 
Marshall
Accurate 
Software80 Peach Street, 
Wokingham, Berkshire, RG40 1XH, UK.Tel: +44 (0)118 977 
3889Fax: +44 (0)118 977 
1260http://www.accuratesoftware.com 


  -Original Message-From: Rodolfo M. Raya 
  [mailto:[EMAIL PROTECTED]Sent: 28 May 2003 11:14To: 
  [EMAIL PROTECTED]Subject: Re: Different rows inside a 
  cellOn Wed, 2003-05-28 at 02:36, Kodandapani A. wrote: 
  I am facing problem while creating rows inside a cell.
I have two columns. First column will have only one row. 
And second column contains 6 rows in it. 

i am try to put fo:table-row  inside fo:table-cell. 
But it is not working.Put a table inside the 
  cell that needs 6 rows.Rodolfo
 
The UK office of Accurate Software has moved to the following location: 
80 Peach Street, Wokingham, Berkshire, RG40 1XH.  
The existing telephone and fax numbers will remain unchanged.

Accurate Software
 

 
[EMAIL PROTECTED] 
 
www.accuratesoftware.com
 

 
Europe . North America . Australasia . Africa
 

 
The information in this email is confidential and privileged and is intended only for the use of the individual or entity listed above.  If you are neither the intended individual, or entity listed above, nor the person responsible for the delivery of this email to the intended recipients, you are hereby notified that any unauthorised distribution, copying or use of this email is prohibited. If you have received this email in error, please notify the Accurate system manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in this communication may not necessarily be the views held by the Accurate Group.
 







RE: Table of content and indexes

2003-05-23 Thread John Marshall
Hi

There's a good description in chapter 9 of XSL-FO by Dave Pawson, O'Reilly, 
ISBN 0-596-00355-2.

John Marshall
Accurate Software

80 Peach Street, Wokingham, Berkshire, RG40 1XH, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com http://www.accuratesoftware.com




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 23 May 2003 09:39
To: [EMAIL PROTECTED]
Subject: Table of content and indexes


Hi,

I've been searching how to add a table of content and an index in my PDF
document with FOP but I didn't succeed. Could somebody help me?

Cheers

Manu




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



The UK office of Accurate Software has moved to the following location:
80 Peach Street, Wokingham, Berkshire, RG40 1XH.
The existing telephone and fax numbers will remain unchanged.

Accurate Software

[EMAIL PROTECTED]
www.accuratesoftware.com

Europe . North America . Australasia . Africa

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.


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



RE: help about fo:table-header

2003-05-16 Thread John Marshall
Jean-Francois Selber wrote:

 In fact I can't used different page-master and  the region-before to replace
 the table-header
 because I can have successivly two table in the same page sequence and
 for this two table I want to display header only on the second page. In fact
 header would be only display if the table in too big
 for the current page, then only if the table is write on different page

 Thanks

This sounds like the problem I just had. My application is an html-to-pdf 
converter. If the first table row contains only table headers then I want to 
propagate it by way of an fo:table-header. This also implies suppressing that 
row from the table body, as well as counting columns in the first row. Here are 
my templates:

  xsl:template match=table
fo:table table-layout=fixed width=100%
!-- First row sets column count and possible table header --
xsl:apply-templates select=descendant::tr[1] mode=columns/
fo:table-body
xsl:apply-templates select=descendant::tr[position()!=1] mode=row/
/fo:table-body
/fo:table
  /xsl:template

  !-- Set columns by width or column span, default to even width --
  xsl:template match=tr mode=columns
xsl:for-each select=th|td
  xsl:choose
  xsl:when test=count(@width)!=0
fo:table-column
xsl:attribute name=column-width
  xsl:textproportional-column-width(/xsl:text
  xsl:value-of select=substring-before(@width[1], '%')/
  xsl:text)/xsl:text
/xsl:attribute
/fo:table-column
  /xsl:when
  xsl:when test=count(@colspan)!=0
xsl:call-template name=colspan
  xsl:with-param name=count select=number(@colspan)/
/xsl:call-template
  /xsl:when
  xsl:otherwise
fo:table-column column-width=proportional-column-width(1)/
  /xsl:otherwise
  /xsl:choose
/xsl:for-each
xsl:choose
!-- Propagate an all-th row as a table header --
xsl:when test=count(th)!=0 and count(td)=0
  fo:table-header
  fo:table-row
  xsl:apply-templates/
  /fo:table-row
  /fo:table-header
/xsl:when
!-- If not all-th, then treat as a normal row --
xsl:otherwise
  xsl:apply-templates select=. mode=row/
/xsl:otherwise
/xsl:choose
  /xsl:template

  xsl:template name=colspan
xsl:param name=count/
xsl:if test=number($count)gt;0
  fo:table-column column-width=proportional-column-width(1)/
  xsl:call-template name=colspan
xsl:with-param name=count select=number($count)-1/
  /xsl:call-template
/xsl:if
  /xsl:template

  xsl:template match=tr mode=row
fo:table-row keep-together=always
xsl:apply-templates/
/fo:table-row
  /xsl:template

I hope this is helpful.

John Marshall
Accurate Software

The Courtyard, Denmark Street, Wokingham, Berkshire, RG40 2AZ, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com http://www.accuratesoftware.com




-Original Message-
From: Selber Jean-François [mailto:[EMAIL PROTECTED]
Sent: 15 May 2003 17:09
To: [EMAIL PROTECTED]
Subject: Re: help about fo:table-header





- Original Message -
From: Clay Leeds [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 15, 2003 5:24 PM
Subject: Re: help about fo:table-header


 The idea is to use a different page-master on the second and subsequent
 page. Then, you can put your table-header block in the region-before.

 On 5/15/2003 8:07 AM, Selber Jean-François wrote:
  I want to find a way to not display table-header in first time and only
  display header on the start
  of next page if the table is too big to be display on the same page

 --
 Clay Leeds - [EMAIL PROTECTED]
 Web Developer - Medata, Inc. - http://www.medata.com
 PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


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



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



The UK office of Accurate Software will be moving offices from May 19th to the 
following new location:
80 Peach Street, Wokingham, Berkshire, RG40 1XH.
The existing telephone and fax numbers will remain unchanged.

Accurate Software

[EMAIL PROTECTED]
www.accuratesoftware.com

Europe . North America . Australasia . Africa

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977

RE: fo-pdf header content and alternative headers

2003-05-12 Thread John Marshall



Steve Guo wrote:


 1. Maybe a dumb
question
 Since the content of the header is
specified by,
 fo:static-content
element
 does it mean the content cannot be
'dynamic'?, such as pulling from the chapter_title
element?
 If it cannot be 'dynamic', then I guess it
has to be hard-coded?

I
got into XSL-FO with "XSL-FO", Dave Pawson, O'Reilly, ISBN 0-596-00355-2 and his
explanation of fo:static-content clarifies this nicely, including the fact that
it is the layout that is static, not the content. See his section on running
headers, beginning on page 152.

However, this was what gave me the problem I posted recently against
0.20.5rc, where J. Pietschmann pointed me to the fix in later
versions.

John
Marshall
Accurate
SoftwareThe Courtyard, Denmark
Street, Wokingham, Berkshire, RG40 2AZ, UK.Tel: +44 (0)118 977
3889Fax: +44 (0)118 977
1260http://www.accuratesoftware.com

 
The UK office of Accurate Software will be moving offices from May 19th to the following new location:
80 Peach Street, Wokingham, Berkshire, RG40 1XH.
The existing telephone and fax numbers will remain unchanged.

Accurate Software
 

 
[EMAIL PROTECTED] 
 
www.accuratesoftware.com
 

 
Europe . North America . Australasia . Africa
 

 
The information in this email is confidential and privileged and is intended only for the use of the individual or entity listed above.  If you are neither the intended individual, or entity listed above, nor the person responsible for the delivery of this email to the intended recipients, you are hereby notified that any unauthorised distribution, copying or use of this email is prohibited. If you have received this email in error, please notify the Accurate system manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in this communication may not necessarily be the views held by the Accurate Group.
 







RE: ok, now it's JIMI time

2003-05-12 Thread John Marshall
I have just spent half an hour reading how three guys gave up their Sunday for 
free to be bombarded with self-righteous abuse. In a new environment for me, I 
have posted two questions to this list. In the first case my syntax error was 
politely pointed out and in the second I was politely pointed towards the bugs 
list.

The short time between complaints in this thread shows that not much research 
was done on the responses. As I understand this list, the sequence should be 
(1) try to understand and solve your problem (2) ask for help when you get 
stuck (3) make useful contributions to help others like yourself.

I do not know what JAI or JIMI are, or whether they will ever concern me, but 
if the new one works, then complaining about the old one is a waste of 
everybody's time and sheer bad manners.

John Marshall
Accurate Software

The Courtyard, Denmark Street, Wokingham, Berkshire, RG40 2AZ, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com http://www.accuratesoftware.com


The UK office of Accurate Software will be moving offices from May 19th to the 
following new location:
80 Peach Street, Wokingham, Berkshire, RG40 1XH.
The existing telephone and fax numbers will remain unchanged.

Accurate Software

[EMAIL PROTECTED]
www.accuratesoftware.com

Europe . North America . Australasia . Africa

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.


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



RE: 1 - break-before; 2 - retrieve-marker

2003-05-09 Thread John Marshall
Thank you

(1) I am sure if I thought hard enough I could find an XPath remedy for 
elements that cause initial or consecutive page breaks, at least in my 
application.

(2) I tried FOP-0.20.5rc2, which fixed the retrieve-marker problem but, as you 
warned, I hit the data duplication bug. I don't know Java and I am not able to 
build rc3 from CVS, so I shall eagerly await the next cut.

I am very grateful for your help and impressed by the rapid response.

John Marshall
Accurate Software

The Courtyard, Denmark Street, Wokingham, Berkshire, RG40 2AZ, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com http://www.accuratesoftware.com




-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: 07 May 2003 21:02
To: [EMAIL PROTECTED]
Subject: Re: 1 - break-before; 2 - retrieve-marker


John Marshall wrote:
 (1) If the title is the first block in my fo:flow then fo:block
 break-before=page leaves my first page blank.

This is a know defect, the code checking for the page break
condition is broken. No workaround.

  (2) Having found a title I then insert its value in an fo:marker
  element. Here is the snippet that sets this as my page header:
  fo:retrieve-marker
retrieve-class-name=sect-head
retrieve-position=last-ending-within-page
retrieve-boundary=document/

Retrieve-boundary=document has problems in 0.20.5rc, you'll need
a more recent release (but beware 0.20.5rc2 because of bug #17472).

  The Courtyard, Denmark Street, Wokingham, Berkshire, RG40 2AZ, UK.
[snip]
Sig/disclaimers seems to get more and more out of hand these times...

J.Pietschmann


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



The UK office of Accurate Software will be moving offices from May 19th to the 
following new location:
80 Peach Street, Wokingham, Berkshire, RG40 1XH.
The existing telephone and fax numbers will remain unchanged.

Accurate Software

[EMAIL PROTECTED]
www.accuratesoftware.com

Europe . North America . Australasia . Africa

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.


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



1 - break-before; 2 - retrieve-marker

2003-05-07 Thread John Marshall



I am using
FOP-0.20.5rc. I have two small but annoying problems and I would be grateful for
hints on where to look. I have read the FAQ and tried to search the
Recommendation, as well as Dave Pawson's book.

When I encounter a
title in my XML, I want to (1) begin a new page and to (2) use the title as the
page header.

(1) If the title
is the first block in my fo:flow then fo:block
break-before="page" leaves my first page blank. I can obviously calculate
the value of thebreak-before attribute, or inherit it,if I can find
out if my flow is empty. Is there any indicator that the flow has no content
yet?

(2) Having found a
title I then insert its value in an fo:marker element. Here is the
snippet that sets this as my page header:


fo:static-content
flow-name="xsl-region-before"
fo:block
fo:retrieve-marker

retrieve-class-name="sect-head"

retrieve-position="last-ending-within-page"
retrieve-boundary="document"/
/fo:block
/fo:static-content
I want that
content to appear on all pages until it is superseded, but it appears only on
the page where it is defined. I have used all available values of the
retrieve-position attribute with no pereceptible difference.

Thank you for your
consideration.

John
Marshall
Accurate
SoftwareThe Courtyard, Denmark
Street, Wokingham, Berkshire, RG40 2AZ, UK.Tel: +44 (0)118 977
3889Fax: +44 (0)118 977
1260http://www.accuratesoftware.com


 
The UK office of Accurate Software will be moving offices from May 19th to the following new location:
80 Peach Street, Wokingham, Berkshire, RG40 1XH.
The existing telephone and fax numbers will remain unchanged.

Accurate Software
 

 
[EMAIL PROTECTED] 
 
www.accuratesoftware.com
 

 
Europe . North America . Australasia . Africa
 

 
The information in this email is confidential and privileged and is intended only for the use of the individual or entity listed above.  If you are neither the intended individual, or entity listed above, nor the person responsible for the delivery of this email to the intended recipients, you are hereby notified that any unauthorised distribution, copying or use of this email is prohibited. If you have received this email in error, please notify the Accurate system manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in this communication may not necessarily be the views held by the Accurate Group.
 







RE: fop processing

2003-05-07 Thread John Marshall
Hi

Active State Komodo (www.activestate.com/Products/Komodo) does full syntax 
analysis on HTML and XSLT and tests other XML dialects for well-formedness. A 
personal or academic licence is inexpensive but a commercial licence would need 
justifying. It's worth looking at the evaluation download.

John Marshall
Accurate Software

The Courtyard, Denmark Street, Wokingham, Berkshire, RG40 2AZ, UK.
Tel: +44 (0)118 977 3889
Fax: +44 (0)118 977 1260
http://www.accuratesoftware.com http://www.accuratesoftware.com




-Original Message-
From: Partridge, Michael [mailto:[EMAIL PROTECTED]
Sent: 07 May 2003 14:10
To: [EMAIL PROTECTED]
Subject: RE: fop processing


I was bored, so I opened your .fo in XMLSpy, changed it to pretty-print
and searched for fo:flow until I saw something wrong ;) Sorry, I don't
know about any apps that could validate (correct term?) .fo.

Mike

-Original Message-
From: Jason Novotny [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 07, 2003 8:05 AM
To: [EMAIL PROTECTED]
Subject: Re: fop processing



Hi,

Thanks Michael-- I think I fixed that and now I see the same problem

so I have to check other files-- is there some kind of foplint program

that can help me track these issues down? What do you use?

Thanks, Jason

Partridge, Michael wrote:

Looks like you've got some content in a flow but outside of a block.
Right at the beginning of Chapter 6. Snippet:

fo:flow flow-name=xsl-region-body
  fo:block font-family=sans-serif
fo:block margin-left=-4pc
  fo:block font-weight=bold font-size=24.8832pt
fo:block hyphenate=false space-before.maximum=12pt
space-before.minimum=8pt space-before.optimum=10pt
keep-with-next.within-column=alwaysChapter 6. Portlet Service
Framework/fo:block
  /fo:block
/fo:block
fo:block/
  /fo:block

Portlet services encapsulate business or logic operations that can be
re-used among portlets.
The use of portlet services helps to minimize the amount of logic
placed in a portlet and present it as
a reusable library to other portlets. In addition, portlet services
offer the following major advantages:
fo:list-block space-before.optimum=1em
space-before.minimum=0.8em space-before.maximum=1.2em
space-after.optimum=1em space-after.minimum=0.8em
space-after.maximum=1.2em provisional-label-separation=0.2em
id=N1055B provisional-distance-between-starts=1.5em

Mike

-Original Message-
From: Jason Novotny [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 07, 2003 7:25 AM
To: [EMAIL PROTECTED]
Subject: fop processing



Hi,

I'm using NWalsh's stylesheets and docbook and FOP and during the
rendering to pdf I get this error:

 [java] [ERROR] inline formatting objects cannot be directly under flow
 [java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
own
Source)
 [java] at
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
 [java] at
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
 [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
 [java] at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 [java] at org.apache.fop.apps.Driver.render(Driver.java:457)
 [java] at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69)
 [java] at org.apache.fop.apps.Fop.main(Fop.java:19)
 [java] Java Result: 2


I've attached my FOP-- are there any easy ways to see where FOP has

gone bad besides trying to cut and paste away at my docbook until the
problem goes away? I've also used xmllint to make sure it has all
references.

Thanks, Jason


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








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


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



The UK office of Accurate Software will be moving offices from May 19th to the 
following new location:
80 Peach Street, Wokingham, Berkshire, RG40 1XH.
The existing telephone and fax numbers will remain unchanged.

Accurate Software

[EMAIL PROTECTED]
www.accuratesoftware.com

Europe . North America . Australasia . Africa

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate

RE: table-column width

2003-04-10 Thread John Marshall
Hi

I find fo:table-column column-width=proportional-column-width(n)/ (n is 
numeric) is well supported and useful (FOP-0.20.4 and FOP-0.20.5rc). This has 
the effect of allocating percentage widths as required.

Is this helpful?

John Marshall

-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: 10 April 2003 11:19
To: [EMAIL PROTECTED]
Subject: Re: table-column width


From: Todtenhaupt, Susann [EMAIL PROTECTED]

Is it possible to allocate a column-width a value like 100%?
inline-progression-dimension fop does not support, does it?


Currently FOP only supports tables with fixed (pre-determined) column
woidths, e.g. 5in, 2cm, etc. Therefore percentages are not supported

_
On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/mobile


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






Accurate Software Ltd 

The Courtyard, Denmark Street, Wokingham, RG40 2AZ, UK.
Tel: +44 (0)118 977 3889
Fax +44 (0)118 977 1260
Web: http://www.accuratesoftware.com

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.


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



RE: page-citations across page-sequences

2003-04-04 Thread John Marshall
Thank you. It was the cause of my original problem and my document is now just 
as I want it (also, now I have stopped panicking, I appreciate the enhanced 
error capture of 0.20.5rc).

Best wishes, John Marshall

-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: 03 April 2003 23:46
To: [EMAIL PROTECTED]
Subject: Re: page-citations across page-sequences


John Marshall wrote:
 Thank you for your response and the suggestion. I have been using FOP-0.20.4
 with J2RE-1_3_1-WIN-I. I have just tried updating to FOP-0.20.5rc. This gave
 me the following error:

 C:\apache\fop-0.20.5rcfop -xml \jfm\mm\meetings.xml -xsl
 \jfm\mm\meeting-fo.xsl -pdf \jfm\mm\meetings.pdf [INFO] Using
 org.apache.xerces.parsers.SAXParser as SAX2 Parser [ERROR]
 javax.xml.transform.TransformerConfigurationException: javax.xml.transfo
 rm.TransformerException: javax.xml.transform.TransformerException: Unknown
 nodet ype: document

Probably caused by
xsl:apply-templates
 select=mm/document(constituent/@filename)/meeting/friend/fullname
 ^^^
This is a syntax error. It also seems to be the cause of your original
problem.

J.Pietschmann



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






Accurate Software Ltd 

The Courtyard, Denmark Street, Wokingham, RG40 2AZ, UK.
Tel: +44 (0)118 977 3889
Fax +44 (0)118 977 1260
Web: http://www.accuratesoftware.com

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.


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



RE: page-citations across page-sequences

2003-04-03 Thread John Marshall
Thank you for your response and the suggestion. I have been using FOP-0.20.4 
with J2RE-1_3_1-WIN-I. I have just tried updating to FOP-0.20.5rc. This gave me 
the following error:

  C:\apache\fop-0.20.5rcfop -xml \jfm\mm\meetings.xml -xsl 
\jfm\mm\meeting-fo.xsl
   -pdf \jfm\mm\meetings.pdf
  [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
  [ERROR] javax.xml.transform.TransformerConfigurationException: 
javax.xml.transfo
  rm.TransformerException: javax.xml.transform.TransformerException: Unknown 
nodet
  ype: document

but that is another problem for another time.

I enclose a part of my stylesheet with the relevant templates. All of the 
page-number-citation references are now backward but the problem persists.

Thank you, John Marshall

-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: 02 April 2003 20:39
To: [EMAIL PROTECTED]
Subject: Re: page-citations across page-sequences


John Marshall wrote:
 In my fo:layout-master-set I now have two fo:simple-page-masters with
 master-names of fullpage and twocols. The latter includes
 column-count=2 in its fo:region-body and I can flow test stuff into it. Of
 course each flow lies within its own fo:page-sequence.

 When I apply the template that includes the fo:page-number-citation, FOP
 responds with [ERROR] null. The xslspec entry for fo:page-number-citation
 does not indicate that the page-number-citation and the cited page-number
 should lie within the same fo:page-sequence. What is being lost between the
 two flows? is there an easy way to fix this?

The page number handling is tricky and has quite a few problems.
You didn't state the FOP version number nor enough context to
decide whether you've hit a known bug. A possible solution in
most situations is to put the TOC at the end of the document
instead in front of it, see
  http://xml.apache.org/fop/faq.html#OutOfMemoryException
for some discussion of this approach.

J.Pietschmann


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





Accurate Software Ltd 

The Courtyard, Denmark Street, Wokingham, RG40 2AZ, UK.
Tel: +44 (0)118 977 3889
Fax +44 (0)118 977 1260
Web: http://www.accuratesoftware.com

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.



meeting-fo-demo.xsl
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: messages in fop

2003-03-20 Thread John Marshall
Title: Nachricht



Thanks guys; you solved a problem for me that I thought was due to a
major misunderstanding of XPath and turned out to be a typo.

John
Marshall

  -Original Message-From: "Müller, Markus" 
  [mailto:[EMAIL PROTECTED]Sent: 20 March 2003
  08:54To: [EMAIL PROTECTED]Subject: AW: messages in
  fop
  Hi,
  
  you can use the following to
  make your transformation verbose:
  xsl:message
  terminate="no"My Messagexsl:value-of
  select="foo"/[eom]/xsl:message
  The messages appear at the
  console output of fop.
  
  Markus
  

-Ursprüngliche Nachricht-Von: Myriam Delperier
[mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 20.
März 2003 09:49An: [EMAIL PROTECTED]Betreff:
messages in fop
hi
i'd like to know if there's a way to get messages when
transforming fo to pdf with fop.
something like an element
fo:messagexsl:value-of
select=""//fo:message
As i've got problems with some arrays it would help me to
know on which table my problem is for example
thanks
 

 
Accurate Software Ltd 
 

 
The Courtyard, Denmark Street, Wokingham, RG40 2AZ, UK.
 
Tel: +44 (0)118 977 3889
 
Fax +44 (0)118 977 1260
 
Web: http://www.accuratesoftware.com
 

 
The information in this email is confidential and privileged and is intended only for the use of the individual or entity listed above.  If you are neither the intended individual, or entity listed above, nor the person responsible for the delivery of this email to the intended recipients, you are hereby notified that any unauthorised distribution, copying or use of this email is prohibited. If you have received this email in error, please notify the Accurate system manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in this communication may not necessarily be the views held by the Accurate Group.
 







RE: help plz

2003-03-07 Thread John Marshall
Hi

I am working on a GUI wrapper in MSVC/MFC to build and run the command line in 
a dialog application, echoing output to a list box. Is this what you want and 
will it be generally useful? When I have it ready (sometime next week) should I 
store it somewhere or just mail it in?

John Marshall

-Original Message-
From: Asim Nazir [mailto:[EMAIL PROTECTED]
Sent: 07 March 2003 03:01
To: [EMAIL PROTECTED]
Subject: help plz


hello,
i have problem in starting my work with fop,
i want to use it in my application BUT THERE IS PROBLEM WITH THE TWO
ARGUMENTS DRIVER IS INNEED OF, can someone give me a program in which it's
taking a file xml or fo and coverting it to pdf, programatically. so that i
can start moving.
LOOKING FOR HELP .

AsIm NaZiR

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail


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






Accurate Software Ltd 

The Courtyard, Denmark Street, Wokingham, RG40 2AZ, UK.
Tel: +44 (0)118 977 3889
Fax +44 (0)118 977 1260
Web: http://www.accuratesoftware.com

The information in this email is confidential and privileged and is intended 
only for the use of the individual or entity listed above.  If you are neither 
the intended individual, or entity listed above, nor the person responsible for 
the delivery of this email to the intended recipients, you are hereby notified 
that any unauthorised distribution, copying or use of this email is prohibited. 
If you have received this email in error, please notify the Accurate system 
manager at [EMAIL PROTECTED] or on +44 (0)118 977 3889.  The views expressed in 
this communication may not necessarily be the views held by the Accurate Group.


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