Cannot convert MS Word HTML to PDF with fop-0.94; fop-0.20.5 worked

2007-11-02 Thread John Brown
Hello All, First of all, I know nothing about Xalan, FOP, etc. I'm probably breaking all your posting rules. Maybe the list server figured that out and that's why it rejected my post via Gmane as spam. Anyway, I'm just trying to convert a Microsoft Word HTML file to PDF. The following article

Ant unable to locate tools.jar when building FOP trunk

2008-03-15 Thread John Brown
Hello All, I am on Windows XP, and I have the following packages installed: JDK 1.6 in c:\program files\java\jdk1.6.0_03 apache-ant-1.7.0 in c:\program files\utils\apacahe-ant-1.7.0 fop-0.94 in c:\program files\utils\fop-0.94 fop svn (svn 637076) in c:\downloads\utils\fop I set my environment

Cannot build simple DOcBook document with fop svn 637076; works with 0.94

2008-03-15 Thread John Brown
Hello All, Please see the attached archive book2.tgz, which contains: book2.xml - Minimal DocBook file book2.fo - Generated from book.xml using DocBook stylesheets with xsltproc I tried to convert the .fo to PDF with fop-0.94 and fop-trunk. My installed packages are: DocBook DTD 4.1.2

RE: Ant unable to locate tools.jar when building FOP trunk

2008-03-15 Thread John Brown
Andreas Delmelle wrote: On Mar 15, 2008, at 11:44, John Brown wrote: Hi I am on Windows XP, and I have the following packages installed: When I try to build fop, I get the following output: C:\Downloads\Utils\fopant Unable to locate tools.jar. Expected to find it in C:\Program Files

RE: Ant unable to locate tools.jar when building FOP trunk

2008-03-15 Thread John Brown
Andreas Delmelle wrote: On Mar 15, 2008, at 12:51, John Brown wrote: Hi John C:\Downloads\Utils\fopant Unable to locate tools.jar. Expected to find it in C:\Program Files \Java\jre1.6. 0_03\lib\tools.jar /**/ /* Why does

RE: Cannot build simple DocBook document with fop svn 637076; works with 0.94

2008-03-15 Thread John Brown
Andreas Delmelle wrote: On Mar 15, 2008, at 12:21, John Brown wrote: Hi I tried to convert the .fo to PDF with fop-0.94 and fop-trunk. My installed packages are: DocBook DTD 4.1.2 DocBook XSL Stylesheets 1.62.0 JDK 1.6.0_03 fop-0.94 and fop svn (revision 637380) xsltproc - Using

RE: Ant unable to locate tools.jar when building FOP trunk

2008-03-15 Thread John Brown
Andreas Delmelle wrote: On Mar 15, 2008, at 13:59, John Brown wrote: Hi John, Can you try running 'ant -diagnostics', and see what gives? It will give you a lot of details about the internal state, used JVM etc... Hopefully, this will provide you with a clue. Under System properties I

RE: Cannot build simple DOcBook document with fop svn 637076; works with 0.94

2008-03-16 Thread John Brown
Andreas Delmelle wrote: What I could do, is make the necessary adjustments to your FO to avoid the error, but I'm not certain if the result is still what you expect: see attachment FO + result PDF. HTH! I finally looked at your PDF and saw that it looked just the way that it ought to

RE: Cannot build simple DOcBook document with fop svn 637076; works with 0.94

2008-03-16 Thread John Brown
Andreas Delmelle wrote: On Mar 16, 2008, at 08:46, John Brown wrote: Hi John, I finally looked at your PDF and saw that it looked just the way that it ought to look in my opinion. The table of contents and chapter 1 both start on odd-numbered pages. I have a few

RE: FOP 0.94 - Unkown Error

2008-03-18 Thread John Brown
bonekrusher wrote: This may sound like a crazy question; Is this the only location to download the FOP trunk? http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/ How how I download the all the files at once? Thanks

RE: FOP 0.94 bin - Severe Exceptions on Solaris Box

2008-03-20 Thread John Brown
Newkid wrote: Support Cell, Could you please advice what needs to be done to run the FOP 0.94 on a solaris box? I have set the CLASSPATH; Convert the FOP.sh file for UNIX; etc for all necessary files but when I tried to run FOP on Solaris it's showing the below error: Maybe your

Re: table-layout warning message

2008-04-03 Thread John Brown
nancy_b wrote: WARNING: table-layout=fixed and column-width unspecified = falling back to proportional-column-width(1) nancy_b nancy_brndt at yahoo.com writes: snip I need some customization that says: if table-layout=fixed, use proportional column width... Hello nancy_b, Did you

Re: Including an image as a page

2008-04-16 Thread John Brown
The fox:external-document extension works. Since it seems that I will probably have to post-process the fo file, I need to decide whether it is easier to: 1) insert the fox:external-document at an appropriate place, so that the table of contents and any other hyperlinks still work 2) Fix the

Re: Including an image as a page

2008-04-17 Thread John Brown
Jeremias Maerki dev at jeremias-maerki.ch writes: On the block containing the fo:external-graphic add these properties: font-size=0 line-height=0 break-before=page break-after=page When I made the changes, I saw that the page seemed to be indented, so I added 'start-indent=0 end-indent=0'

Re: Including an image as a page

2008-04-17 Thread John Brown
Jeremias Maerki dev at jeremias-maerki.ch writes: snip/ the warning is about the block-container further up in your file. The height of the block-container is set to 0.01in and its contents (the fo:leader) grow beyond that. Just remove the leader. All warnings are gone now. Thanks.

Feature request: hyperlinks from one PDF to another

2008-04-26 Thread John Brown
Hello all, I want to be able to construct a hyperlink to an hotspot within another PDF file. DocBook has an tag that allows this, but it does not work with FOP because: Neither FOP nor Xml2PDF write ihe original ID values from the XSLT process to the PDF file. So although a link with a

Re: Problem using Lucida Console font

2008-05-07 Thread John Brown
Andreas Delmelle andreas.delmelle at telenet.be writes: On May 7, 2008, at 10:30, Andreas Delmelle wrote: snip / Can you try to checkout and build FOP 0.95 (*), and see if that helps already? snip/ If you still need it, the URL to use with SVN for 0.95 head:

Re: Problem using Lucida Console font

2008-05-08 Thread John Brown
Jeremias Maerki dev at jeremias-maerki.ch writes: I have an Ubuntu 8.04 in a VM to play with. So I copied over the Bodoni fonts from that ZIP file you indicated. However, the ZIP does not contain any AFM files for the Bodoni font, just the PFB and PFM. You are right. The timestamp was

Identify list in subject line

2008-05-08 Thread John Brown
Hello all, I think that messages on the fop-users mailing list should identify themselves in the subject line, like most mailing lists. For example: [fop-users] Problem using Lucida Console font - To unsubscribe, e-mail:

RE: Identify list in subject line

2008-05-08 Thread John Brown
Andreas Delmelle wrote: On May 8, 2008, at 12:08, Jeremias Maerki wrote: On 08.05.2008 12:01:51 John Brown wrote: Hello all, I think that messages on the fop-users mailing list should identify themselves in the subject line, like most mailing lists. For example: [fop-users] Problem

Named destination: hyperlink to target in external PDF jumps to first page

2008-05-21 Thread John Brown
Hello All, I am trying to use named destinations to create a file f1.pdf with a hyperlink to targets in another file f2.pdf. The hyperlink jumps to the first page in f2.pdf. I found a message in another newsgroup that said that this feature does not work for local PDF files; it works only for

Re: Named destination: hyperlink to target in external PDF jumps to first page

2008-05-21 Thread John Brown
John Brown johnbrown105 at hotmail.com writes: Hello All, I am trying to use named destinations to create a file f1.pdf with a hyperlink to targets in another file f2.pdf. The hyperlink jumps to the first page in f2.pdf. I found a message in another newsgroup that said

Re: Named destination: hyperlink to target in external PDF jumps to first page

2008-05-22 Thread John Brown
Andreas Delmelle andreas.delmelle at telenet.be writes: On May 21, 2008, at 17:26, John Brown wrote: 2) Is there a way to specify a relative path (current directory) with file:// syntax? file:f2.pdf does not work. snip/ Depending on the answer to my above question, you could try

Re: Problem with Asian Language fonts

2008-07-09 Thread John Brown
My XML is being totally scrambled. I meant to write: Don't use the chararcter entity a m p ;, which means that you want a literal ampersand character to appear in the output. That is, instead of a m p ; # 2 1 2 7 1 ;, write # 2 1 2 7 1 ;

Re: Font substitution not working with Ghostscript font

2008-08-05 Thread John Brown
Hello Jeremias, Jeremias Maerki wrote: Your configuration is slightly wrong. It should look like this: You fixed the problem. Thanks. I saw your other post in which you said that FOP will now automatically replace font weight 400 with 200. I will try it soon, but just for my understanding,

Re: Font substitution not working with Ghostscript font

2008-08-05 Thread John Brown
Hello Jeremias, Jeremias Maerki dev at jeremias-maerki.ch writes: On 05.08.2008 12:09:37 John Brown wrote: Hello Jeremias, Jeremias Maerki wrote: Your configuration is slightly wrong. It should look like this: [3] directory recursive=true/usr/local/share/fonts

Re: FOP - FONTS - expl. verdana

2008-08-06 Thread John Brown
lmhelp lmbox at wanadoo.fr writes: Thank you Jeremias. Hi everyone, So, I've upgraded to fop-0.95. I've added the following line to the ../fop-0.95/conf/fop.xconf file: directoryC:/Program Files/fop-0.95/fonts_lea//directory (Maybe this is not the right file to update... ?) 1)

RE: Adding support for PDF images to FOP

2008-08-07 Thread John Brown
Jeremias Maerki wrote: I have verified that version 1.2 still works with FOP 0.95. If you get the message No ImagePreloader found for *.pdf it means that the plug-in isn't in the classpath. Please note that on Windows, it's not enough to put some JARs in FOP's lib directory if you use

Re: Trying to programmatically add fonts

2008-09-05 Thread John Brown
eborisow eborisow at yahoo.com writes: Hi, I am trying to embed fonts in a program. I was able to get my fonts to work when I run fop.bat standalone. Here were the relevant lines from the config xml. snip Contents of config file /snip Like I said, this one works. Now, in an

Re: Draft Mode background image - should it work in off-the-shelf fop ?

2008-09-19 Thread John Brown
Kerry, Richard richard.kerry at siemens.com writes:   I've recently been trying to produce a draft version of a document, originating in DocBook.   snip/ However, I am not seeing the background watermark, nor any 'Draft' strings in the corners which I think I've read should be

Re: Draft Mode background image - should it work in off-the-shelf fop ?

2008-09-19 Thread John Brown
Kerry, Richard richard.kerry at siemens.com writes: And - the documentation for draft.watermark.image says it's a URI; doesn't that mean it's not /path/to/local/image-file but file:///path/to/local/image-file (actually file:///C:/path/to/local/image-file.png as this is on Windows)

RE: Adding Verdana font in Linux and registering it with FOP 0.94

2008-09-28 Thread John Brown
Nancy Brandt wrote: Hi guys, I am working in Debian Linux. I would like to change the default body font to Verdana. As Bob Stayton writes in his book about Docbook XML, I should run the following command after locating the needed font: # java -cp /home/nancy/fop-0.94/build/fop.jar;

RE: Adding Verdana font in Linux and registering it with FOP 0.94

2008-09-28 Thread John Brown
Nancy Brandt wrote: Hi dear John, You always try to help me :-) Well, when I run '$ locate fop.jar' for example, I get the following results: /home/nancy/fop-0.94/build/fop.jar /usr/bin/build/fop.jar /usr/share/java/fop.jar I've tried to use the files located in the 'lib' directory

Re: Adding Verdana font in Linux and registering it with FOP 0.94

2008-09-28 Thread John Brown
Nancy Brandt wrote: Hi dear John, You always try to help me :-) Well, when I run '$ locate fop.jar' for example, I get the following results: /home/nancy/fop-0.94/build/fop.jar /usr/bin/build/fop.jar /usr/share/java/fop.jar I've tried to use the files located in the 'lib' directory

Re: Adding Verdana font in Linux and registering it with FOP 0.94

2008-09-29 Thread John Brown
nancy_b nancy_brndt at yahoo.com writes: Hi John, Thanks for your response! Unfortunately, the auto-detect capability did not work for me. By the way, where is the main configuration file that FOP uses to process default fonts and other parameters? Thanks in advance! Nancy

RE: Fop Warnings

2008-10-01 Thread John Brown
Tom Browder wrote: On Wed, Oct 1, 2008 at 1:11 PM, Vincent Hennebert wrote: Hi Tom, Tom Browder wrote: ... Is there a way to get fop to point to the source of the warnings? You have to write the XSL-FO produced by the XSLT processor into a file. ... For debugging purpose you can

RE: Fop Warnings

2008-10-02 Thread John Brown
Vincent Hennebert wrote: Hi, Just a little precision, for the sake of correctness. John Brown wrote: Tom Browder wrote: One more thing: the XSL-FO produced by FOP does not contain any new line characters, Strictly speaking it’s not FOP that produces the XSL-FO, it’s the XSLT

RE: Japanese Char Issues

2009-04-06 Thread John Brown
Not sure what happened to the attachment, but here it is: _ Rediscover Hotmail®: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009 test.pdf

RE: FOP issue - Flow 'xsl-region-body' does not map to the region-body in page-master 'blank'.

2009-06-06 Thread John Brown
fop1.extensions = 1? Regards, Alias John Brown _ Windows Live™ SkyDrive™: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009

RE: FOP issue - Flow 'xsl-region-body' does not map to the region-body in page-master 'blank'.

2009-06-07 Thread John Brown
Danushka Menikkumbura wrote: Alias John Brown wrote: Did you remember to set fop1.extensions = 1? Where should I set this?. Thanks, Danushka -- Anywhere, I suppose. Wherever you set your other parameters (such as double.sided.), or you can set it on your XSLT processor's command

RE: Using a PDF as an Image

2009-08-05 Thread John Brown
an SVG. Is it possible to use a PDF for this purpose? Is there one reference point where it clearly describes the process? http://www.jeremias-maerki.ch/download/fop/pdf-images/ Version 1.3 is the latest stable version. The archive contains a README. Regards, Alias John Brown

RE: fox:external-document not showing all pages

2010-04-28 Thread John Brown
?) of a multi-page PDF. You probably have a more recent version of the PDF image plug-in on the machine that works. YOu can get the plug-in at: http://www.jeremias-maerki.ch/development/fop/index.html Regards, Alias John Brown

RE: fox:external-document not showing all pages

2010-04-29 Thread John Brown
version of (1) and (2) is not being found before the current version then I don't know what it could be. If the same PDF works on one machine and not the other, it cannot be the PDF. Regards, Alias John Brown

RE: fox:external-document not showing all pages

2010-04-29 Thread John Brown
J.Pietschmann wrote: On 29.04.2010 19:31, John Brown wrote: I still believe that the difference must be in the FOP installation on the machines. If you are sure that both machines are using: 1) The same version of FOP [etc.] JRE vendor and version and in some cases even the OS may

Re: FOP embedded in Java app not rendering graphics

2010-12-21 Thread John Brown
the problem. Regards, Alias John Brown. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

RE: table of contents page number not showing in RTF output

2012-05-24 Thread John Brown
of contents, the numbers will appear. Regards, John Brown. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h

FW: FOP-Trunk revision 1428722 unit test fails

2013-01-04 Thread John Brown
:\Users\John\Downloads\Open_Source\fop-svn\build.xml:820: Tests failed However, it seems to have built fop*.jar. What is the significance of the failed test? Regards, John Brown. - To unsubscribe

RE: FOP-Trunk revision 1428722 unit test fails

2013-01-04 Thread John Brown
I forgot to mention: JDK version: jdk1.6.0_38. O/S: Windows 8 Pro. Ant version: 1.8.4. Regards, John Brown. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org

RE: FOP-Trunk revision 1428722 unit test fails

2013-01-07 Thread John Brown
package' works. Thanks. Regards, John Brown. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

RE: Performance improvement suggestions

2013-01-16 Thread John Brown
your advice. Put an ESCAPE before the brackets: FOP_OPTS=fopFactory.setStrictValidation\(false\); Regards, John Brown. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org

RE: Performance improvement suggestions

2013-01-16 Thread John Brown
instruction was just to get the shell to accept brackets. However, FOP_OPTS is for specifying parameters to java, for example -Xms64m to set the initial size of the heap to 64 MB. You cannot insert a function call there. Regards, John Brown

RE: Performance improvement suggestions

2013-01-16 Thread John Brown
ZapfDingbats,normal,700 not found. Substituting with ZapfDingbats,normal ,400. Couldn't find hyphenation pattern for lang=en. ... With -q, the font warning goes away, but the hyphenation warning remains. If I suppress the hyphenation warning, I will not know that there is a problem. Regards, John

Custom hyphenation files

2016-02-12 Thread John Brown
e base URI of the configuration file. Does that mean that mean that hyphenation-base would have to be set to ..//full/path/to/en_GB-location? For what it is worth, I set .. Regards, John Brown. - To unsubscribe, e-mail: fop-user

[FOP] Cannot add cropped pdf as fo:external-graphic

2016-11-06 Thread John Brown
e fop PDF Images plugin from https://dist.apache.org/repos/dist/dev/xmlgraphics/binaries/ on Windows 10. Regards, John Brown. lorem.pdf Description: lorem.pdf lorem_cropped.pdf Description: lorem_cropped.pdf test.pdf Descr

Re: [FOP] Cannot add cropped pdf as fo:external-graphic

2016-11-06 Thread John Brown
On Sunday, November 6, 2016 2:59 PM,Simon Steiner wrote: > Hi, > > Can you report any bugs on jira https://issues.apache.org/jira/browse/FOP > > Thanks https://issues.apache.org/jira/browse/FOP-2660 Rega

Re: Error when building FOP svn 1800269 - cannot find symbol symbol getNameForGID(int)

2017-06-29 Thread John Brown
On Thursday, June 29, 2017 8:49 AM, Simon Stener wrote: > > Hi, > > Maybe you have an old fontbox jar on your classpath? Yes, that was it. I had fontbox-1.3.1.jar in fop-svn\fop\lib as well as fontbox-2.0.4. Regards

Error when building FOP svn 1800269 - cannot find symbol symbol getNameForGID(int)

2017-06-29 Thread John Brown
john@john-pc /c/downloads/fop-svn/fop $ ant Buildfile: c:\downloads\fop-svn\fop\build.xml Trying to override old definition of task javac Trying to override old definition of task junit init-avail: [echo] --- Apache FOP 2.3.0-SNAPSHOT [1999-2017] [echo]

Font substitution not working with Ghostscript font

2008-08-04 Thread Alias John Brown
I have been trying to use the URW Bookman L font, which is one of the Ghostscript fonts (b018012l.pfb). Apache FOP recognises it only when it is bold. More accurately, it uses the Demi Bold font when Bold is requested. Howevere, it does not use the Light font when Normal is requested, which is