(message resent because attached GIF is rejected) Hi Pål! I reviewed existing documentation of your plugin.
I modified my JSPWiki properties to add: jspwiki.baseURL=http://toxis:8080/JSPWiki/ jspwiki.referenceStyle=absolute Still no images! I notice I have: jspwiki.encoding = UTF-8 Is this may explain the problem with apostrophes? Looking nearer, sometimes we do not have real ASCII single quotes but we have a "fancy character" provided by Microsoft Word: " ’ " (this is not the acute accent on an European keyboard, this is not the standard quote " ' " either! ) Attached image shows you an example of this: We should have "MODE D’ACTION" and not MODE D?ACTION. "oe" ("œ") is also giving a problem. 1/2 also... I tried a global replace of "’" in all JSPWiki text files (but UltraEdit did not save the resulting files in UTF-8 !) and it will come back next time somebody cut and paste from Word... So I downloaded your latest JAR without dependencies and insured I joined the latest version of JTidy and FOP (getting also Avalon and Batik within FOP distribution). One point: xml-graphics-common.jar and commons-io are also requested. Still no images, still bad "Microsoft Word" characters conversion. I have no clue for the first problem (as your tests indicate its work). For the second, I am wondering if JTidy is not the culprit (it is dating from 2001). How can I trace this? What tracing / debugging could be activated and how? You were speaking about making fonts available to PDF Generation: what shall I do for this? THANKS! Christophe -----Original Message----- From: Pål Brattberg [mailto:[EMAIL PROTECTED] Sent: mardi 22 janvier 2008 9:43 To: [EMAIL PROTECTED] Cc: [email protected];[EMAIL PROTECTED] Subject: Re: Problem with PDF plugin and images Though I do not currently use the plugin actively, I know of several users that have the plugin up and running with images without problems. As for language support, you may want to make sure the font used for PDF-generation has all the characters you are using as a first start. I you wish to dig deeper in the source code, feel free to do so at http://code.google.com/p/jspwiki2pdf/ Also note that I'm not on the jspwiki-user list so if you want me to see your replies, please CC me. Regards, Pål On Jan 22, 2008 9:04 AM, Christophe Dupriez <[EMAIL PROTECTED]> wrote: > Hi Jason! > > I also have this problem under Tomcat 5.5 and JspWiki 2.4. I was thinking to > upgrade to 2.6 before more investigation on this topic. It seems it is not > the solution!!! > > My problems with PDF: > * no images > * quotes (used for elision in French) become "?" > * à becomes "?" > > This is a real problem because our users (MDs) have to send PDFs to hospitals > to explain how to cure a given intoxication (The Wiki is their "knowledge > base"). A text without graphics is often unusable. > > If the PDF library is supposed to support this and if it is only a question > of interfacing, then I may investigate deeper and try to solve the problem. > Anybody can confirm / infirm this ? > > Have a nice day! > > Christophe Dupriez > > > -----Original Message----- > From: Jason Yip [mailto:[EMAIL PROTECTED] > Sent: mardi 22 janvier 2008 2:02 > To: [email protected] > Cc: [EMAIL PROTECTED] > Subject: Problem with PDF plugin and images > > I'm using the PDF plugin found here: http://www.jspwiki.org/wiki/PDFPlugin > > Discovered that it didn't support jspwiki.breakTitleWithSpaces so I > switched that to false but images still aren't appearing. From the > discussion pages, it looks like there might have been an issue with > absolute vs relative paths but that didn't work for me nor do I see any > log entries that indicate that it's a file not found issue. > > Anyone have the PDF plugin working with images on JSPWiki 2.6 and Tomcat > 6? > > Please consider our environment before printing this email. > > WARNING - This email and any attachments may be confidential. If received in > error, please delete and inform us by return email. Because emails and > attachments may be interfered with, may contain computer viruses or other > defects and may not be successfully replicated on other systems, you must be > cautious. Westpac cannot guarantee that what you receive is what we sent. If > you have any doubts about the authenticity of an email by Westpac, please > contact us immediately. > > It is also important to check for viruses and defects before opening or using > attachments. Westpac's liability is limited to resupplying any affected > attachments. > > This email and its attachments are not intended to constitute any form of > financial advice or recommendation of, or an offer to buy or offer to sell, > any security or other financial product. We recommend that you seek your own > independent legal or financial advice before proceeding with any investment > decision. > > Westpac Institutional Bank is a division of Westpac Banking Corporation, a > company registered in New South Wales in Australia under the Corporations Act > 2001 (Cth). Westpac is authorised and regulated in the United Kingdom by the > Financial Services Authority and is registered at Cardiff in the United > Kingdom as Branch No. BR 106. Westpac operates in the United States of > America as a federally chartered branch, regulated by the Office of the > Comptroller of the Currency. > > Westpac Banking Corporation ABN 33 007 457 141. > . > > -- / Pål Brattberg RE
