RE: Reference books
If you want a web site that has all this information, as well as links to the standard: http://www.zvon.org/xxl/xslfoReference/Output/ Joshua Hi All Does anyone know of a good reference book that list all the different elements and attributes and their uses. I have a copy of XSLT Programmer's Reference by Wrox, which I found exceeding useful whilst learning XSLT. Anyone know of a similar type of book for XSL-FO. Thanx Alan -- This message and any attachment is confidential and may be privileged or otherwise protected from disclosure. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
text-transform
hi, Anyone know how to work with the text-transform in fo:block? Thanks for any help you can give. best rgds, ektan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: text-transform
Anyone know how to work with the text-transform in fo:block? There's good information about FO at http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html It's a chapter from the XML Bible S.E. If it can't help you, ask me again. :-) MfG, Daniel -- Daniel Knapp [EMAIL PROTECTED] int a=1,b,c=2800,d,e,f[2801],g;main(){for(;b-c;)f[b++]=a/5;for(;d=0, g=c*2;c-=14,printf(%.4d,e+d/a),e=d%a)for(b=c;d+=f[b]*a,f[b]=d%--g,d/= g--,--b;d*=b);} berechnet Pi auf 800 Stellen genau. :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: text-transform
hi, Thanks Daniel, I have go though the website that you recommended to me. But, I found that the text-transform doesn't work in fo:block, so, can you help me? Thank you. best rgds, ektan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: text-transform
Thanks Daniel, I have go though the website that you recommended to me. But, I found that the text-transform doesn't work in fo:block, so, can you help me? Well, I've used text-transform in fo:inline-tags, 'cause it makes more sense there (I don't want to make a whole block e.g. uppercase). AFAIK has FOP limited text-transform-support. (see http://xml.apache.org/fop/implemented.html - text-transform isn't listed in '2) Properties'). MfG, Daniel -- Daniel Knapp [EMAIL PROTECTED] int a=1,b,c=2800,d,e,f[2801],g;main(){for(;b-c;)f[b++]=a/5;for(;d=0, g=c*2;c-=14,printf(%.4d,e+d/a),e=d%a)for(b=c;d+=f[b]*a,f[b]=d%--g,d/= g--,--b;d*=b);} berechnet Pi auf 800 Stellen genau. :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: keep-with-next problem on multi column text
Hi, Bodo I'd be very happy to help. I'm badly sidelined due to work pressure, but there is always some time I can pry loose...I'd rather spend that time getting new developers up to speed. I'll review the source this evening and give you a synopsis of what we are facing here. Regards, Arved Sandstrom At 12:18 PM 8/27/01 +0200, [EMAIL PROTECTED] wrote: hi, i tried to use the keep-with-next property on a multi column page with some text blocks that normally fits on one page with 4 columns. my text consists of this sequence of text blocks: every 2nd block is meant to be a headline and the the following block is the paragraph belonging to that headline. therefore i set the keep-with-next attribute on the headline blocks but still the column break occurred between the headline and the paragraph. looking in to the code i found that in org.apache.fop.fo.flow.Block.layout(Area) the line: this.keepWithNext = this.properties.get(keep-with-next).getEnum(); does not have any effect , since the getEnum() method always returns (0) because the org.apache.fop.fo.KeepProperty(Keep) does not overwrite the getEnum() method. so i patched this so that this.keepWithNext got the value=5 (just to see what will happen then ) but immediately i run in to another error: the headline appeared on the bottom of the old column, a wrong page break occurred (instead of a column break) and the same headline appeared on the top of the new page. if nobody else is currently working on this problems i would be willing to do this, if i (as a someone who just started to try to understand the fop source code) get some assistance from the fop gurus. would you appreciate this? bodo teichmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Fop and arabic
Hi all, is it possible to render arabic characters from xml into pdf? what is the standard of encoding arabic characters in xml? with regards, adel ___ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Fop and arabic
--- adel ben [EMAIL PROTECTED] wrote: Hi all, is it possible to render arabic characters from xml into pdf? what is the standard of encoding arabic characters in xml? Hello Adel, I don't think I've heard of anyone genuinely doing arabic stuff with FOP yet. I think we would all be greatful if you could investigate further and possibly submit your findings to this mailing list and even submit a test case for arabic. My guess would be that you need to learn how to encode arabic as unicode in XML. That is really not a subject for this list as it doesn't have anything to do with FOP. You might want to investigate this on some of the more generic XML newsgroups or mailing lists. You then (I think) need to understand how FOP uses fonts - since you will of course need an arabic font. Although xsl:fo has the capability to specify text which is written right to left, top to bottom (rl-tb I think) I don't honestly know how well tested that code is. Goodluck. Alex = Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ SF and Computing Book News and Reviews: http://news.diversebooks.com/ Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
horizontal alignment
hi! how can i place a table (the whole table, not the text) in the middle of the page, sth. like horizontal-alignment=center|middle? thx matze - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: horizontal alignment
Hi, I think that you have to specify the display-align property to the region body ... fo:simple-page-master page-width=210mm master-name=myPage page-height=297mm fo:region-body display-align=center/ /fo:simple-page-master So everything inside that page (or sequence of the same page) will be rendered in the middle. Fabio -Original Message- From: Matthias Born [mailto:[EMAIL PROTECTED]] Sent: 28 August 2001 13:45 To: [EMAIL PROTECTED] Subject: horizontal alignment hi! how can i place a table (the whole table, not the text) in the middle of the page, sth. like horizontal-alignment=center|middle? thx matze - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
[DO NOT REPLY: Bug 3302] New: NoClassDefFoundError - org/apache/fop/apps/fop
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3302 *** shadow/3302 Tue Aug 28 05:56:40 2001 --- shadow/3302.tmp.6979Tue Aug 28 05:56:40 2001 *** *** 0 --- 1,24 + ++ + | NoClassDefFoundError - org/apache/fop/apps/fop | + ++ + |Bug #: 3302Product: Fop | + | Status: NEW Version: all | + | Resolution:Platform: PC | + | Severity: Blocker OS/Version: Windows NT/2K | + | Priority: Other Component: general | + ++ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + ++ + | URL: | + ++ + | DESCRIPTION | + Hi, + + I have just installed fop 0.20.1 and at the command prompt performed a test on + one of the sample files I entered fop simple.fo simple.pdf. I received + a NoClassDefFoundError - org/apache/fop/apps/fop. I have used only the + default configuration settings provided by the download. Any Ideas ? + + Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
[DO NOT REPLY: Bug 1231] basic-link can't link to a page-sequence element
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1231 *** shadow/1231 Sun May 20 17:24:39 2001 --- shadow/1231.tmp.7007Tue Aug 28 06:00:17 2001 *** *** 1,19 ! Bug#: 1231 ! Product: Fop ! Version: all ! Platform: All ! OS/Version: All ! Status: NEW ! Resolution: ! Severity: Normal ! Priority: ! Component: general ! AssignedTo: [EMAIL PROTECTED] ! ReportedBy: [EMAIL PROTECTED] ! URL: ! Cc: ! Summary: basic-link can't link to a page-sequence element ! It seems that when a basic-link element has got an internal-destination attribute that points to a page-sequence element, FOP won't find the ID, and complains that an ID was referenced but not found. --- 1,18 ! ++ ! | basic-link can't link to a page-sequence element | ! ++ ! |Bug #: 1231Product: Fop | ! | Status: NEW Version: all | ! | Resolution:Platform: All | ! | Severity: Normal OS/Version: All | ! | Priority: High Component: general | ! ++ ! | Assigned To: [EMAIL PROTECTED] | ! | Reported By: [EMAIL PROTECTED] | ! ++ ! | URL: | ! ++ ! | DESCRIPTION | It seems that when a basic-link element has got an internal-destination attribute that points to a page-sequence element, FOP won't find the ID, and complains that an ID was referenced but not found. *** *** 38,41 (this can be reproduced with the DocBook DTD and associated style sheets : page number is not set in TOC for chapters and other top-level components) ! Sylvain --- 37,40 (this can be reproduced with the DocBook DTD and associated style sheets : page number is not set in TOC for chapters and other top-level components) ! Sylvain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
[DO NOT REPLY: Bug 3258] Fop-0.20.0 fo:leader leader-pattern=dots/ is broken
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3258 *** shadow/3258 Fri Aug 24 07:44:46 2001 --- shadow/3258.tmp.7020Tue Aug 28 06:01:17 2001 *** *** 9,15 ++ | Assigned To: [EMAIL PROTECTED] | | Reported By: [EMAIL PROTECTED] | - | CC list: Cc: | ++ | URL: | ++ --- 9,14 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: horizontal alignment
Since this seems to be a pretty common question, could we add this to the FAQ or somewhere in the distro? -Lou Giannetti, Fabio [EMAIL PROTECTED] on 08/28/2001 08:54:45 AM Please respond to [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] cc: Subject: RE: horizontal alignment Hi, I think that you have to specify the display-align property to the region body ... fo:simple-page-master page-width=210mm master-name=myPage page-height=297mm fo:region-body display-align=center/ /fo:simple-page-master So everything inside that page (or sequence of the same page) will be rendered in the middle. Fabio -Original Message- From: Matthias Born [mailto:[EMAIL PROTECTED]] Sent: 28 August 2001 13:45 To: [EMAIL PROTECTED] Subject: horizontal alignment hi! how can i place a table (the whole table, not the text) in the middle of the page, sth. like horizontal-alignment=center|middle? thx matze - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: horizontal alignment
Added. -- http://www.OWAL.co.uk:8090/asf/servlet/asf/screen/DisplayQuestionAnswer/action/SetAll/project_id/18/faq_id/276/topic_id/496/question_id/993 -- PS I promised that I would produce a short xml version of this FAQ with only the essential questions. I'm not sure when this will happen :-( The good news is that my new house is lovely and my bed is being delivered today so perhaps I'll be able to get a good night's sleep. Alex --- [EMAIL PROTECTED] wrote: Since this seems to be a pretty common question, could we add this to the FAQ or somewhere in the distro? -Lou Giannetti, Fabio [EMAIL PROTECTED] on 08/28/2001 08:54:45 AM Please respond to [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] cc: Subject: RE: horizontal alignment Hi, I think that you have to specify the display-align property to the region body ... fo:simple-page-master page-width=210mm master-name=myPage page-height=297mm fo:region-body display-align=center/ /fo:simple-page-master So everything inside that page (or sequence of the same page) will be rendered in the middle. Fabio -Original Message- From: Matthias Born [mailto:[EMAIL PROTECTED]] Sent: 28 August 2001 13:45 To: [EMAIL PROTECTED] Subject: horizontal alignment hi! how can i place a table (the whole table, not the text) in the middle of the page, sth. like horizontal-alignment=center|middle? thx matze = Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ SF and Computing Book News and Reviews: http://news.diversebooks.com/ Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
[DO NOT REPLY: Bug 3305] New: list-block overlapping footnote body
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3305 *** shadow/3305 Tue Aug 28 08:13:19 2001 --- shadow/3305.tmp.7560Tue Aug 28 08:13:19 2001 *** *** 0 --- 1,20 + ++ + | list-block overlapping footnote body | + ++ + |Bug #: 3305Product: Fop | + | Status: NEW Version: all | + | Resolution:Platform: Other | + | Severity: Normal OS/Version: Other | + | Priority: Other Component: pdf renderer| + ++ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + ++ + | URL: | + ++ + | DESCRIPTION | + The space allocation algorithm for pdf formatting doesn't reserve + space for footnote body towards list-block properly. i.e. + if I have a lot of list-blocks in my page, the list block would + go over and overlap the footnote body at the bottom of the page. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: FOP null error even.
Try running your XSL through Xalan first: java org.apache.xalan.xslt.Process -IN AccessoriesXML.xml -XSL sample.xsl -OUT access.fo If that doesn't work, it's a problem with your XSL. If it does, then let us know your FOP, Xerces, and Xalan versions. -Steve -Original Message- From: Ser Siew Keok [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 11:36 PM To: [EMAIL PROTECTED] Subject: FOP null error even. Hi I have encounter problem with produce PDF file from xml and xsl. Below is my command line: Fop -xsl sample.xsl -xml AccessoriesXML.xml -PDF access.pdf Error message null But my FOP can generate PDF file from fo file format follow this command line: --- Fop access.fo access.pdf --- below is my xsl file-- ?xml version=1.0 encoding=UTF-16 ? xsl:stylesheet version=1.0 xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:param name=paper-width 210mm/xsl:param xsl:param name=paper-height297mm/xsl:param !-- Content Transform-- xsl:template match=/ fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master margin=20mm 20mm 20mm 20mm master-name=PageMaster xsl:attribute name=page-height xsl:value-of select=$paper-height/ /xsl:attribute xsl:attribute name=page-width xsl:value-of select=$paper-width/ /xsl:attribute fo:region-body margin=0mm 0mm 0mm 0mm/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-name=PageMaster fo:flow flow-name=xsl-region-body xsl:apply-templates / /fo:flow /fo:page-sequence /fo:root /xsl:template xsl:template match=accessory fo:block border-style=solid border-width=thin padding=1em fo:blockAccessory/fo:block xsl:apply-templates / /fo:block /xsl:template xsl:template match=name fo:block fo:inline font-weight=boldname : /fo:inline xsl:apply-templates / /fo:block /xsl:template xsl:template match=price fo:block fo:inline font-weight=boldprice : /fo:inline xsl:apply-templates / /fo:block /xsl:template xsl:template match=description fo:block fo:inline font-weight=bolddescription : /fo:inline xsl:apply-templates / /fo:block /xsl:template /xsl:stylesheet -- My question: 1. Can FOP generate pdf directly from XML with XSL (fo element) ? 2. Can FOP generate html directly from XML with XSL (html element) ? 3. After Unzip the FOP, there is no installer to install. Do I need to copy certain files into Java folder or do setting on class path (in java command)? What I do, is copy all file in the FOP folder after extracting into working folder, and create a commmand shortcut and run from it. 4. Can FOP support CJK languages as well as true type font (embbeded) ? Thanks a lot. Regards siew keok - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
FAQ: Where's the Windows zip file for Fop?
On 28 Aug 2001 15:55:38 +1000, Peter B. West wrote: How about a Fop-0.20.1-bin.zip.txt, explaining how to unzip a tar.gz? It might reduce the F of this AQ. Q: Why isn't there a Windows .zip version of Fop on the download site? A: To save diskspace on the Fop download site. This is practical for two reasons: 1. For a Java project, the zip archive and the tar.gz archive would contain exactly the same content. So one of the two is superfluous if each format can be unarchived on every platform that mattered. 2. It is indeed the case that each format can be unarchived on every platform that mattered. One can easily unzip an zip archive on Linux, thanks to the GNU zip/unzip programs. One can also gunzip and untar a tar.gz archive on Windows, thanks to the GNU tar program and Cygwin (or WinZip, or even PKZIP, if one is so inclined). Since tar.gz archives is always smaller than zip archives, (at least for archives the size of the Fop project), it is natural to choose tar.gz as the only archive format on the Fop download site. This format causes little to no problems for the various UNIX platforms. Some UNIX flavor's tar command is incompatible with the GNU tar command for pathnames longer than 100 characters. The problem is easily remedied by downloading GNU tar from http://www.gnu.org/software/tar . For Windows NT/2000/etc. platforms, just drag the tar.gz archive and drop it into the WinZip (http://www.winzip.com, $29) or PKZIP for Windows (http://www.pkware.com, $29) window. A better solution would be to download the free software Cygwin (http://cygwin.com) and get the GNU tar program as part of the suite. Cygwin is free software in the genuine FSF sense. The suite you download will include not only GNU tar, but also many of the other GNU utilities (bash, gcc, etc.). The command line syntax of GNU tar is very similar the the JDK's jar command. To unarchive Fop-0.20.1-bin.tar.gz, for example, one runs: tar zxvf Fop-0.20.1-bin.tar.gz [I don't use MacOS, but surely there must be a port of GNU tar for it, right?] (Until this is either added to the web site, or the FAQ, we can always point to the mail archive for new zip archive queries.) -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: FAQ: Where's the Windows zip file for Fop?
Why not stick the whole distro into a JAR file? Everyone has jar, don't they? (and aren't JAR and ZIP files compatible with each other?). Maybe this is a dumb idea but it seems a bit silly to have platform wars when there's a Java standard for archiving. I'm not really sure why we don't see this used in more places, but maybe that's why it's a dumb idea :) Mark p.s. im back! :) Weiqi Gao wrote: On 28 Aug 2001 15:55:38 +1000, Peter B. West wrote: How about a Fop-0.20.1-bin.zip.txt, explaining how to unzip a tar.gz? It might reduce the F of this AQ. Q: Why isn't there a Windows .zip version of Fop on the download site? A: To save diskspace on the Fop download site. This is practical for two reasons: 1. For a Java project, the zip archive and the tar.gz archive would contain exactly the same content. So one of the two is superfluous if each format can be unarchived on every platform that mattered. 2. It is indeed the case that each format can be unarchived on every platform that mattered. One can easily unzip an zip archive on Linux, thanks to the GNU zip/unzip programs. One can also gunzip and untar a tar.gz archive on Windows, thanks to the GNU tar program and Cygwin (or WinZip, or even PKZIP, if one is so inclined). Since tar.gz archives is always smaller than zip archives, (at least for archives the size of the Fop project), it is natural to choose tar.gz as the only archive format on the Fop download site. This format causes little to no problems for the various UNIX platforms. Some UNIX flavor's tar command is incompatible with the GNU tar command for pathnames longer than 100 characters. The problem is easily remedied by downloading GNU tar from http://www.gnu.org/software/tar . For Windows NT/2000/etc. platforms, just drag the tar.gz archive and drop it into the WinZip (http://www.winzip.com, $29) or PKZIP for Windows (http://www.pkware.com, $29) window. A better solution would be to download the free software Cygwin (http://cygwin.com) and get the GNU tar program as part of the suite. Cygwin is free software in the genuine FSF sense. The suite you download will include not only GNU tar, but also many of the other GNU utilities (bash, gcc, etc.). The command line syntax of GNU tar is very similar the the JDK's jar command. To unarchive Fop-0.20.1-bin.tar.gz, for example, one runs: tar zxvf Fop-0.20.1-bin.tar.gz [I don't use MacOS, but surely there must be a port of GNU tar for it, right?] (Until this is either added to the web site, or the FAQ, we can always point to the mail archive for new zip archive queries.) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: FAQ: Where's the Windows zip file for Fop?
Winzip works just fine for this type of thing. jw -Original Message- From: Mark Lillywhite [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 10:31 PM To: [EMAIL PROTECTED] Subject: Re: FAQ: Where's the Windows zip file for Fop? Why not stick the whole distro into a JAR file? Everyone has jar, don't they? (and aren't JAR and ZIP files compatible with each other?). Maybe this is a dumb idea but it seems a bit silly to have platform wars when there's a Java standard for archiving. I'm not really sure why we don't see this used in more places, but maybe that's why it's a dumb idea :) Mark p.s. im back! :) Weiqi Gao wrote: On 28 Aug 2001 15:55:38 +1000, Peter B. West wrote: How about a Fop-0.20.1-bin.zip.txt, explaining how to unzip a tar.gz? It might reduce the F of this AQ. Q: Why isn't there a Windows .zip version of Fop on the download site? A: To save diskspace on the Fop download site. This is practical for two reasons: 1. For a Java project, the zip archive and the tar.gz archive would contain exactly the same content. So one of the two is superfluous if each format can be unarchived on every platform that mattered. 2. It is indeed the case that each format can be unarchived on every platform that mattered. One can easily unzip an zip archive on Linux, thanks to the GNU zip/unzip programs. One can also gunzip and untar a tar.gz archive on Windows, thanks to the GNU tar program and Cygwin (or WinZip, or even PKZIP, if one is so inclined). Since tar.gz archives is always smaller than zip archives, (at least for archives the size of the Fop project), it is natural to choose tar.gz as the only archive format on the Fop download site. This format causes little to no problems for the various UNIX platforms. Some UNIX flavor's tar command is incompatible with the GNU tar command for pathnames longer than 100 characters. The problem is easily remedied by downloading GNU tar from http://www.gnu.org/software/tar . For Windows NT/2000/etc. platforms, just drag the tar.gz archive and drop it into the WinZip (http://www.winzip.com, $29) or PKZIP for Windows (http://www.pkware.com, $29) window. A better solution would be to download the free software Cygwin (http://cygwin.com) and get the GNU tar program as part of the suite. Cygwin is free software in the genuine FSF sense. The suite you download will include not only GNU tar, but also many of the other GNU utilities (bash, gcc, etc.). The command line syntax of GNU tar is very similar the the JDK's jar command. To unarchive Fop-0.20.1-bin.tar.gz, for example, one runs: tar zxvf Fop-0.20.1-bin.tar.gz [I don't use MacOS, but surely there must be a port of GNU tar for it, right?] (Until this is either added to the web site, or the FAQ, we can always point to the mail archive for new zip archive queries.) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: FAQ: Where's the Windows zip file for Fop?
On 29 Aug 2001 13:31:09 +1000, Mark Lillywhite wrote: Why not stick the whole distro into a JAR file? Everyone has jar, don't they? (and aren't JAR and ZIP files compatible with each other?). Maybe this is a dumb idea but it seems a bit silly to have platform wars when there's a Java standard for archiving. I'm not really sure why we don't see this used in more places, but maybe that's why it's a dumb idea :) It's not platform war anymore as any one of the formats can be unarchived in any one of the platforms of interest. It's a compression war. And tar.gz wins for now because its file size is smaller than zip (and its equivalent, jar). A few other projects are starting to use tar.bz2 format already because bzip2 compresses even more and bunzip2 is readily available for all platforms. -- Weiqi Gao [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
XSL - PR
The Extensible Stylesheet Language reached Proposed Recommendation status at the W3C today. Hooray! -Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]