RE : RE : renderer postscript : border painting

2004-01-14 Thread Philippe PITHON
Hello !

I modified PSRenderer and that functions!!!

Thank you very much!  


-Message d'origine-
De : Jeremias Maerki [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 13 janvier 2004 22:51
À : [EMAIL PROTECTED]
Objet : Re: RE : renderer postscript : border painting

Salut Philippe

I haven't had time, yet, to run the debugger, but I think it's pretty
obvious now what going wrong. If you look that PostScript file you sent
me in a text editor you can see that there is a line 1.0 1.0 1.0
setrgbcolor at the beginning of page 1 which is missing on page 2.

You can patch src/org/apache/fop/render/ps/PSRenderer.java. Find the
method useColor(float, float, float) and remove the line with the if.
This will disable a dumb and obviously buggy optimization attempt. It
will
certainly increase the size of the PostScript file for the moment but
should get rid of the bug. Rebuild FOP after modifying.

If I find some time I'll see if I can find a better solution. I probably
have the same problem in the dev version.


Jeremias Maerki


-
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]



PCL Renderer + gif image

2004-01-14 Thread Philippe PITHON








FOP 0.20.5



Hello !



I have big problem with
images (GIF) in PCL renderer



The impression of images is
very bad quality or nothing is printed



what can I test or modify
?



Philippe Pithon








Re: PCL Renderer + gif image

2004-01-14 Thread Chris Bowditch
Philippe PITHON wrote:
I have big problem with images (GIF) in PCL renderer
 

The impression of images is  very bad quality or nothing is printed
The PCL Renderer is very basic compared to the PDF and PS renderers. It 
only seems to work with black and white BMP files. You will need to 
convert your GIFs to BMP using a tool like PaintShopPro or similar and 
change color to Black  White.

Chris

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


Getting exception when i run FopServlet

2004-01-14 Thread aabouk01
I've tried searching the archives with no luck. I can take the same .fo file 
and run it fine on another machine, i just don't know why this is happing on 
this particular machine.

Thanks
Alain


java.lang.InternalError: Can't connect to X11 window server using 
'localhost.localdomain:0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:126)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at 
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1053)
at org.apache.fop.svg.PDFGraphics2D.(PDFGraphics2D.java:1401)
at 
org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:638)
at 
org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:549)
at org.apache.fop.svg.SVGArea.render(SVGArea.java:98)
at 
org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRenderer.java:533)
at 
org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectArea.java:89)
at 
org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:516)
at org.apache.fop.layout.LineArea.render(LineArea.java:519)
at 
org.apache.fop.render.AbstractRenderer.renderBlockArea(AbstractRenderer.java:485)
at org.apache.fop.layout.BlockArea.render(BlockArea.java:117)
at 
org.apache.fop.render.AbstractRenderer.renderAreaContainer(AbstractRenderer.java:451)
at org.apache.fop.layout.AreaContainer.render(AreaContainer.java:88)
at 
org.apache.fop.render.AbstractRenderer.renderAreaContainer(AbstractRenderer.java:451)
at org.apache.fop.layout.ColumnArea.render(ColumnArea.java:71)
at 
org.apache.fop.render.AbstractRenderer.renderSpanArea(AbstractRenderer.java:100)
at org.apache.fop.layout.SpanArea.render(SpanArea.java:94)
at 
org.apache.fop.render.AbstractRenderer.renderBodyAreaContainer(AbstractRenderer.java:368)
at 
org.apache.fop.layout.BodyAreaContainer.render(BodyAreaContainer.java:137)
at 
org.apache.fop.render.AbstractRenderer.renderRegions(AbstractRenderer.java:529)
at 
org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:904)
at org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:880)
at org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:302)
at org.apache.fop.layout.AreaTree.addPage(AreaTree.java:108)
at 
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:415)
at 
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.apache.fop.apps.Driver.render(Driver.java:498)
at org.apache.fop.apps.Driver.run(Driver.java:565)
at FopServlet.renderFO(Unknown Source)
at FopServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at 
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:536)



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



Re: Getting exception when i run FopServlet

2004-01-14 Thread Clóvis Wichoski
You must have a Xserver running, here we use xvfb with following startup
Xvfb :1 -screen 0 1280x1024x8 
Hope that this help
Clovis
[EMAIL PROTECTED] wrote:
I've tried searching the archives with no luck. I can take the same .fo file 
and run it fine on another machine, i just don't know why this is happing on 
this particular machine.
Thanks
Alain
java.lang.InternalError: Can't connect to X11 window server using 
'localhost.localdomain:0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:126)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at 
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1053)
at org.apache.fop.svg.PDFGraphics2D.(PDFGraphics2D.java:1401)
at 
org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:638)
at 
org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:549)
at org.apache.fop.svg.SVGArea.render(SVGArea.java:98)
at 
org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRenderer.java:533)
at 
org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectArea.java:89)
at 
org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:516)
at org.apache.fop.layout.LineArea.render(LineArea.java:519)
at 
org.apache.fop.render.AbstractRenderer.renderBlockArea(AbstractRenderer.java:485)
at org.apache.fop.layout.BlockArea.render(BlockArea.java:117)
at 
org.apache.fop.render.AbstractRenderer.renderAreaContainer(AbstractRenderer.java:451)
at org.apache.fop.layout.AreaContainer.render(AreaContainer.java:88)
at 
org.apache.fop.render.AbstractRenderer.renderAreaContainer(AbstractRenderer.java:451)
at org.apache.fop.layout.ColumnArea.render(ColumnArea.java:71)
at 
org.apache.fop.render.AbstractRenderer.renderSpanArea(AbstractRenderer.java:100)
at org.apache.fop.layout.SpanArea.render(SpanArea.java:94)
at 
org.apache.fop.render.AbstractRenderer.renderBodyAreaContainer(AbstractRenderer.java:368)
at 
org.apache.fop.layout.BodyAreaContainer.render(BodyAreaContainer.java:137)
at 
org.apache.fop.render.AbstractRenderer.renderRegions(AbstractRenderer.java:529)
at 
org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:904)
at org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:880)
at org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:302)
at org.apache.fop.layout.AreaTree.addPage(AreaTree.java:108)
at 
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:415)
at 
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.apache.fop.apps.Driver.render(Driver.java:498)
at org.apache.fop.apps.Driver.run(Driver.java:565)
at FopServlet.renderFO(Unknown Source)
at FopServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at 
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:536)

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


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

Re: Getting exception when i run FopServlet

2004-01-14 Thread Clay Leeds
This appears to be related to this FAQ:
  http://xml.apache.org/fop/faq.html#svg-headless
which re-directs you here, because it's related to Batik:
  http://xml.apache.org/fop/graphics.html#batik
Please let us know if this resolves your problem.
Web Maestro Clay
On Jan 14, 2004, at 7:14 AM, [EMAIL PROTECTED] wrote:
I've tried searching the archives with no luck. I can take the same 
.fo file and run it fine on another machine, i just don't know why 
this is happing on this particular machine.

Thanks
Alain
java.lang.InternalError: Can't connect to X11 window server using 
'localhost.localdomain:0' as the value of the DISPLAY variable.
	at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
	at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:126)

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


Change-bar with FOP

2004-01-14 Thread Forest, Sebastien
Title: Change-bar with FOP





Hi,
Is there a way to add change-bar in XSL-FO.
For now, I did'nt found anything about that on the web
I use FOP 0.20.5rc3a


Can anybody have a solution or the same problem.


thanks


Sébastien Forest
Spécialiste, Applications logicielles / Software Application Specialist
Publications techniques / Technical Publications
L-3 MAS (Canada)
J (450) 476-4850
e-mail: [EMAIL PROTECTED]












Need help: Error while loading a GIF from a URL.

2004-01-14 Thread Manjush G. Menon
Hi all,

Iam running the FOP for PDF generateion on an AIX server,
which threw the following error while attempting to load an
image (GIF) from a URL.

java.lang.ClassCastException - sun.net.www.http.KeepAliveStream

It will work with the http://localhost:port/Web/wam/etc/Ue.gif  I suppose..(will
it?)

Is it anything related to FOP build?

Find below the exact error stream output:


[1/13/04 6:19:56:290 PST] 110e2773 SystemOut U [INFO]
[1/13/04 6:19:56:290 PST] 110e2773 SystemOut U building formatting object
tree
[1/13/04 6:19:56:290 PST] 110e2773 SystemOut U [INFO]
[1/13/04 6:19:56:290 PST] 110e2773 SystemOut U setting up fonts
[1/13/04 6:19:56:306 PST] 110e2773 SystemOut U [INFO]
[1/13/04 6:19:56:306 PST] 110e2773 SystemOut U [1]
[1/13/04 6:19:56:440 PST] 110e2773 SystemOut U [ERROR]
[1/13/04 6:19:56:440 PST] 110e2773 SystemOut U Error in XObject : Error
while loading image http://10.xxx.xx.xx:/Web/wam/lo/Ue.gif : class
java.lang.ClassCastException - sun.net.www.http.KeepAliveStream
[1/13/04 6:19:56:440 PST] 110e2773 SystemOut U [INFO]
[1/13/04 6:19:56:440 PST] 110e2773 SystemOut U Parsing of document complete,
stopping renderer


any help is will be highly appreciated

Thanks
--

Manjush G Menon



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



Re: Change-bar with FOP

2004-01-14 Thread Chris Bowditch
Forest, Sebastien wrote:
Hi,
Is there a way to add change-bar in XSL-FO.
I'm sorry but your question is not clear. Can you provide more 
information/rephrase the question?

Chris

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


Re: Re: Getting exception when i run FopServlet

2004-01-14 Thread aabouk01
Yes its a linux box, but the odd thing is that the X11 server is running. I 
just added -Djava.awt.headless=true as a workaround and it cured the problem.

Once again

Thanks!!

Alain



 
 From: Chris Bowditch [EMAIL PROTECTED]
 Date: 2004/01/14 Wed AM 10:45:58 EST
 To: [EMAIL PROTECTED]
 Subject: Re: Getting exception when i run FopServlet
 
 [EMAIL PROTECTED] wrote:
 
  I've tried searching the archives with no luck. I can take the same .fo 
  file and run it fine on another machine, i just don't know why this is 
  happing on this particular machine.
 
 The machine that you cant run the servlet on is a Unix server/mainframe 
 with terminal access only, right?
 
  java.lang.InternalError: Can't connect to X11 window server using 
  'localhost.localdomain:0' as the value of the DISPLAY variable.
  at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
  at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:126)
 
 This problem is discussed on the FOP website. Have a look at
 
 http://xml.apache.org/fop/graphics.html#batik
 
 snip/
 
 Chris
 
 
 
 -
 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: Change-bar with FOP

2004-01-14 Thread Forest, Sebastien
Title: RE: Change-bar with FOP





Forest, Sebastien wrote:


 Hi,
 Is there a way to add change-bar in XSL-FO.


I'm sorry but your question is not clear. Can you provide more 
information/rephrase the question?


Chris


Sorry!
I need to add change-bar in a pdf document create with FOP 0.20.5rc3a.
The change-bar is a vertical line in the right, left or both margin to indicate a modification in the document.
The height of this vertical line reflect the number of lines of the modification in the document and this line appear exactly at the level where the modification is in the document. 

It's like the track change functionnality in MS Word or other text processing.


Thanks






RE: Change-bar with FOP

2004-01-14 Thread Andreas L. Delmelle
 -Original Message-
 From: Forest, Sebastien [mailto:[EMAIL PROTECTED]

snip /
 Sorry! I need to add change-bar in a pdf document create with FOP
0.20.5rc3a.
 The change-bar is a vertical line in the right, left or both margin to
indicate
 a modification in the document.
snip /
 It's like the track change functionnality in MS Word or other text
processing.

A modification of the file compared to what exactly? I mean on basis of what
are you going to make the comparison? Compare it to another PDF? I don't
think so. Even the creator of iText, a library which offers very extended
PDF-specific functionality, advises to use Adobe Acrobat to perform, for
instance, a search for certain text data (let alone a 'comparison' of text
data)... The library *can* be used to draw vertical lines at certain
co-ordinates of a given page (and I guess this behaviour would not be too
difficult to mimic using the FOP PDF library), but you'd still have to
figure out somehow where on the page the updates appear.

Ugly hack needed, I think.


Cheers,

Andreas


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



RE: Change-bar with FOP

2004-01-14 Thread Forest, Sebastien
Title: RE: Change-bar with FOP





 -Original Message-
 From: Forest, Sebastien [mailto:[EMAIL PROTECTED]]


snip /
 Sorry! I need to add change-bar in a pdf document create with FOP
0.20.5rc3a.
 The change-bar is a vertical line in the right, left or both margin to
indicate
 a modification in the document.
snip /
 It's like the track change functionnality in MS Word or other text
processing.


A modification of the file compared to what exactly? I mean on basis of what
are you going to make the comparison? 


Everytime I found a tag named change in the xml I have to print the change-bar.
The tag change indicate the modification.





Re: Getting exception when i run FopServlet

2004-01-14 Thread J.Pietschmann
[EMAIL PROTECTED] wrote:
Yes its a linux box, but the odd thing is that the X11 server is running.
The X11 server probably has some access restrictions in place.
If you run FOP from the command line, or if the user whose userid
also runs the server is logged in and has an X11 connection, you
probably wont have problems. I ancient times, when X11 security
meant xhost, adding localhost to the allowed clients would have
fixed your problem. I'm pretty sure there is a solution for whatever
you are using for X11 security, but you'll have track down one of
the rare gurus for this.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Change-bar with FOP

2004-01-14 Thread J.Pietschmann
Forest, Sebastien wrote:
Is there a way to add change-bar in XSL-FO.
For now, I did'nt found anything about that on the web
The spec doesn't support this out-of-the-box.
A common solution is to use a block border or a table cell
border for this. Unfortunately, there are a few problems
left:
- You can't easily have the bar on the outer side of the page.
 Basically, you have to stick with left or right.
- While it's easy to mark whole paragraphs as changed, marking
 parts of paragraphs is quite complicated, and will result in
 an ugly layout often enough to be an annoyance.
- Overlapping changes in tables or lists are a real challenge.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Change-bar with FOP

2004-01-14 Thread Clay Leeds
If the content in the current fo:table-row has a change tag, set a 
border-[left|right|both|etc.] of the fo:table-cell like this:

fo:table-cell
  xsl:attribute name=border-right
xsl:if test={insert XPath like '//change[.!='']' or 
something}2pt solid #ff/xsl:if
  /xsl:attribute
  fo:block
xsl:apply-templates/
  /fo:block
/fo:table-cell

You might also add an extra fo:table-column to the right of your 
content for the change-bar, and do a similar thing which might allow 
more spacing/margin between the vertical change-bar and the changed 
text. I hope this helps!

Web Maestro Clay
---
My religion is simple. My religion is kindness.
- His Holiness the 14th Dalai Lama of Tibet
On Jan 14, 2004, at 9:42 AM, Forest, Sebastien wrote:
 -Original Message-
 From: Forest, Sebastien [mailto:[EMAIL PROTECTED]
snip /
 Sorry! I need to add change-bar in a pdf document create with FOP
0.20.5rc3a.
 The change-bar is a vertical line in the right, left or both margin 
to
indicate
 a modification in the document.
snip /
 It's like the track change functionnality in MS Word or other text
processing.

A modification of the file compared to what exactly? I mean on basis 
of what
are you going to make the comparison?

Everytime I found a tag named change in the xml I have to print the 
change-bar.
The tag change indicate the modification.

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


RE: Change-bar with FOP

2004-01-14 Thread Forest, Sebastien
Title: RE: Change-bar with FOP





Forest, Sebastien wrote:
 Is there a way to add change-bar in XSL-FO.
 For now, I did'nt found anything about that on the web


The spec doesn't support this out-of-the-box.
A common solution is to use a block border or a table cell
border for this. Unfortunately, there are a few problems
left:
- You can't easily have the bar on the outer side of the page.
 Basically, you have to stick with left or right.
- While it's easy to mark whole paragraphs as changed, marking
 parts of paragraphs is quite complicated, and will result in
 an ugly layout often enough to be an annoyance.
- Overlapping changes in tables or lists are a real challenge.


J.Pietschmann


Thank you all for your help, I really appreciate. 
For now, I think that the only way to do this is with border-left or border-right for block or table-cell but this solution is not flexible enough to do what I need.




RE: Change-bar with FOP

2004-01-14 Thread John Austin
On Wed, 2004-01-14 at 16:53, Forest, Sebastien wrote:
 Thank you all for your help, I really appreciate. 
 For now, I think that the only way to do this is with
 border-left or border-right for block or table-cell but this
 solution is not flexible enough to do what I need.

And then I thought 'what would Jimmy BuffetNorman Walsh
do' ?

So I  entered the search terms: 'docbook change bars' in to Teoma
and found several statements by Norman Walsh:

1) +

/ Norman Walsh [EMAIL PROTECTED] was heard to say:
| | I want to generate change bars on printed output.  Can I use 
| | XSL style sheets to render into PostScript?
| 
| Ah, changebars.xsl is an HTML stylesheet. I haven't written a print one
| yet. Off the top of my head, I can't think of a way to make Jade or
| XSL FO produce traditional print change bars.

Simple brain cramp on my part. Doing it in FO is pretty easy, at least
for blocks, one can just use, for example:

  fo:block border-end-color=black
border-end-style=solid
border-end-width=0.5pt
padding-end=3pt

That's not going to do the right thing for inlines, but maybe
something could be worked out. Color could be used, of course, but it
would be nice to have a bw solution too.

Be seeing you,
  norm

2) +

7. Is there any way to generate change bars from a DocBook document?

Norm Walsh.




Yes, it can be done either by hand or semi-automatically.

You can use the revisionflag attribute to track changes. If you have two
versions of the document, you can use diffmk to automatically add the
revisionflags.

Then process the document with changebars.xsl and you'll get something
like change bars, see
http://www.w3.org/TR/2000/REC-xml-20001006-review.html.

P.S. I have a java version of diffmk that is in some ways better than
the perl version. I'm working on getting it released.
 

-- 
John Austin [EMAIL PROTECTED]

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



Re: Need help: Error while loading a GIF from a URL.

2004-01-14 Thread J.Pietschmann
Manjush G. Menon wrote:
Iam running the FOP for PDF generateion on an AIX server,
which threw the following error while attempting to load an
image (GIF) from a URL.
java.lang.ClassCastException - sun.net.www.http.KeepAliveStream
It will work with the http://localhost:port/Web/wam/etc/Ue.gif  I suppose..(will
it?)
Is it anything related to FOP build?
I don't think so. It rather looks like you have problems with the JRE
or a mixup of various JRE versions.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Change-bar with FOP

2004-01-14 Thread Glen Mazza
--- John Austin [EMAIL PROTECTED] wrote:
 
 And then I thought 'what would Jimmy
 BuffetNorman Walsh
 do' ?
 

Indeed, as a matter of fact, from Nashville,
Newfoundland *is* where it's 5 o'clock!  ;)  

Anyway, just wish to point out that change bars are
expected to be added to the 1.1 spec:

fo:change-bar-begin and fo:change-bar-end

http://www.w3.org/TR/2003/WD-xsl11-20031217/
http://www.w3.org/TR/2003/WD-xsl11-req-20031217/

Glen


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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



Re: Need help: Error while loading a GIF from a URL.

2004-01-14 Thread John Austin
On Wed, 2004-01-14 at 18:45, J.Pietschmann wrote:
 Manjush G. Menon wrote:
  Iam running the FOP for PDF generateion on an AIX server,
  which threw the following error while attempting to load an
  image (GIF) from a URL.
  
  java.lang.ClassCastException - sun.net.www.http.KeepAliveStream
  
  It will work with the http://localhost:port/Web/wam/etc/Ue.gif  I 
  suppose..(will
  it?)
  
  Is it anything related to FOP build?
 
 I don't think so. It rather looks like you have problems with the JRE
 or a mixup of various JRE versions.

Looks network-related. Is it repeatable ?


-- 
John Austin [EMAIL PROTECTED]

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