Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'pages.': 0.07; 'repeated': 0.07; 'python': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; 'assume': 0.11; '(when': 0.16; ':-).': 0.16; 'api,': 0.16; 'bonus:': 0.16; 'problem).': 0.16; 'shame.': 0.16; 'url:appspot': 0.16; 'versatile': 0.16; 'thanks,': 0.18; 'installation': 0.23; 'cc:2**0': 0.23; 'split': 0.23; "haven't": 0.23; 'cc:no real name:2**0': 0.24; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'fit': 0.26; 'plain': 0.27; 'library.': 0.27; 'figure': 0.30; 'file': 0.32; 'quickly': 0.32; 'handle': 0.33; 'received:google.com': 0.34; 'text': 0.34; 'table': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'but': 0.36; 'editor': 0.37; 'pdf': 0.37; 'does': 0.37; 'level': 0.37; 'received:209': 0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'some': 0.38; 'page': 0.38; 'your': 0.60; 'from:no real name:2**0': 0.60; 'wall': 0.62; 'more': 0.63; 'low': 0.83; 'nagy': 0.84; 'received:209.85.216.184': 0.84; 'tex': 0.84; 'engines.': 0.91 Newsgroups: comp.lang.python Date: Tue, 18 Sep 2012 00:16:03 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.78.79.124; posting-account=ung4FAoAAAC46zhHJ0Nsnuox7M5gDvs_ References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 83.78.79.124 MIME-Version: 1.0 Subject: Re: reportlab and python 3 From: wxjmfauth@gmail.com To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347952571 news.xs4all.nl 6900 [2001:888:2000:d::a6]:59471 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29413 Le lundi 17 septembre 2012 10:48:30 UTC+2, Laszlo Nagy a =E9crit=A0: > Reportlab is on the wall of shame. http://python3wos.appspot.com/ >=20 >=20 >=20 > Is there other ways to create PDF files from python 3? There is pyPdf. I= =20 >=20 > haven't tried it yet, but it seem that it is a low level library. It=20 >=20 > does not handle "flowables" that are automatically split across pages.=20 >=20 > It does not handle "table headers" that are repeated automatically on=20 >=20 > the top of every page (when the table does not fit on a page). I need a= =20 >=20 > higher level API, with features compareable to reportlab. Is there such= =20 >=20 > thing? >=20 >=20 >=20 > Thanks, >=20 >=20 >=20 > Laszlo A big yes and it is very easy. I assume you know how to write a plain text file with Python :-). Use your Python to generate a .tex file and let it compile with one of the pdf TeX engines. Potential problems: - It requires a TeX installation (a no problem). - Of course I requires some TeX knowledge. Learning it is not so complicate. Learn how to use TeX with a text editor and you will quickly understand what you have to program in Python. Bonus: you learn at the same time a good text editing engine. I can not figure out something more simple, versatile and powerful. jmf