[Checkins] SVN: zopyx.convert2/trunk/README.txt updated

Andreas Jung andreas at andreas-jung.com
Sat Oct 4 13:21:56 EDT 2008


Log message for revision 91754:
  updated
  

Changed:
  U   zopyx.convert2/trunk/README.txt

-=-
Modified: zopyx.convert2/trunk/README.txt
===================================================================
--- zopyx.convert2/trunk/README.txt	2008-10-04 17:03:33 UTC (rev 91753)
+++ zopyx.convert2/trunk/README.txt	2008-10-04 17:21:55 UTC (rev 91754)
@@ -1,9 +1,8 @@
-=======================================
-A Python interface to XSL-FO libraries. 
-=======================================
+A Python interface to external converters performing conversions of HTML to PDF, RTF, ODT, OOXML or WML
+-------------------------------------------------------------------------------------------------------
 
-The zopyx.convert package helps you to convert HTML to PDF, RTF, ODT, DOCX and
-WML using XSL-FO technology.
+The zopyx.convert2 package helps you to convert HTML to PDF, RTF, ODT, DOCX and
+WML using XSL-FO technology or using PrinceXML.
 
 
 Requirements
@@ -27,6 +26,10 @@
 
 __ http://xmlgraphics.apache.org/fop/download.html#dist-type                                            
 
+- or `PrinceXML`__ (commercial) for PDF support 
+
+__ http://www.princexml.com/
+
 - `BeautifulSoup`__  (will be installed automatically through easy_install. See Installation.)
 
 __ http://www.crummy.com/software/BeautifulSoup/
@@ -38,11 +41,12 @@
 Installation
 ============
 
-- install **zopyx.convert** either using ``easy_install`` or by downloading the sources from the Python Cheeseshop. 
+- install **zopyx.convert2** either using ``easy_install`` or by downloading the sources from the Python Cheeseshop. 
   This will install automatically the Beautifulsoup and Elementree modules if necessary.
 - the environment variable *$XFC_DIR* must be set and point to the root of your XFC installation directory
 - the environment variable *$XINC_HOME* must be set and to point to the root of your XINC installation directory
 - the environment variable *$FOP_HOME* must be set and point to the root of your FOP installation directory
+- the 'prince' binary must be in the $PATH if you are using PrinceXML
 
 Supported platforms
 ===================
@@ -53,7 +57,7 @@
 Subversion repository
 =====================
 
-- http://svn-public.zopyx.com/viewvc/python-projects/zopyx.convert/trunk/
+- https://zope/zopyx.convert2/trunk (for read-only checkouts)/python-projects/zopyx.convert2/trunk/
 
 
 Usage
@@ -61,7 +65,7 @@
 
 Some examples from the Python command-line::
 
-  from zopyx.convert import Converter
+  from zopyx.convert2 import Converter
   C = Converter('/path/to/some/file.html')
   pdf_filename = C('pdf')         # using XINC
   pdf2_filename = C('pdf2')       # using FOP
@@ -72,13 +76,13 @@
 
 A very simple command-line converter is also available::
 
-  xslfo-convert --format rtf --output foo.rtf sample.html
+  html-convert --format rtf --output foo.rtf sample.html
 
 
-`xslfo-convert` has a --test option that will convert some
+`html-convert` has a --test option that will convert some
 sample HTML. If everything is ok then you should see something like that::
 
-  >xslfo-convert --test
+  >html-convert --test
   Entering testmode
   pdf: /tmp/tmpuOb37m.html -> /tmp/tmpuOb37m.pdf
   rtf: /tmp/tmpuOb37m.html -> /tmp/tmpuOb37m.rtf
@@ -92,7 +96,7 @@
   wml: /tmp/tmpZ6PGo9.html -> /tmp/tmpZ6PGo9.wml
 
 
-How zopyx.convert works internally
+How zopyx.convert2 works internally
 ==================================
 
 - The source HTML file is converted to XHTML using mxTidy
@@ -106,7 +110,7 @@
 Known issues
 ============
 
-- If you are using zopyx.convert together with FOP: use the latest FOP 0.94
+- If you are using zopyx.convert2 together with FOP: use the latest FOP 0.94
   only.  Don't use any packaged FOP version like the one from MacPorts which is
   known to be broken.    
 
@@ -118,13 +122,13 @@
 Author
 ======
 
-**zopyx.convert** was written by Andreas Jung for ZOPYX Ltd. & Co. KG, Tuebingen, Germany.
+**zopyx.convert2** was written by Andreas Jung for ZOPYX Ltd. & Co. KG, Tuebingen, Germany.
 
 
 License
 =======
 
-**zopyx.convert** is published under the Zope Public License (ZPL 2.1).
+**zopyx.convert2** is published under the Zope Public License (ZPL 2.1).
 See LICENSE.txt.
 
 



More information about the Checkins mailing list