Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed6.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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'anyway.': 0.04; 'python': 0.09; 'portable': 0.09; 'separately': 0.09; 'solution,': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr :python-list': 0.10; 'subject:python': 0.11; 'assume': 0.11; 'files.': 0.13; ':-).': 0.16; 'bonus:': 0.16; 'mardi': 0.16; 'obviously,': 0.16; 'problem).': 0.16; 'versatile': 0.16; 'unicode': 0.17; 'thanks,': 0.18; 'solution.': 0.18; 'embedding': 0.22; 'installation': 0.23; 'installed': 0.23; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'cc:addr:gmail.com': 0.27; 'embedded': 0.27; 'plain': 0.27; 'separate': 0.27; 'case,': 0.29; 'figure': 0.30; 'file': 0.32; 'quickly': 0.32; 'received:google.com': 0.34; 'text': 0.34; 'especially': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'created': 0.36; 'but': 0.36; 'wanted': 0.36; 'cc:no real name:2**1': 0.36; 'thank': 0.36; 'editor': 0.37; 'pdf': 0.37; 'two': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'your': 0.60; 'from:no real name:2**0': 0.60; 'you.': 0.61; 'side': 0.61; 'more': 0.63; 'here': 0.65; 'compliant': 0.65; 'wish': 0.70; 'difference.': 0.84; 'nagy': 0.84; 'tex': 0.84; 'viable': 0.84; 'engines.': 0.91; 'hand.': 0.91; 'engines,': 0.93 Newsgroups: comp.lang.python Date: Tue, 18 Sep 2012 04:17:19 -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: <9aa9f1dd-f6b1-4de4-8606-e83a54318765@googlegroups.com> 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, wxjmfauth@gmail.com 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: 76 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347967047 news.xs4all.nl 6938 [2001:888:2000:d::a6]:58682 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29422 Le mardi 18 septembre 2012 11:04:19 UTC+2, Laszlo Nagy a =E9crit=A0: > > A big yes and it is very easy. I assume you know how >=20 > > to write a plain text file with Python :-). >=20 > > >=20 > > Use your Python to generate a .tex file and let it compile >=20 > > with one of the pdf TeX engines. >=20 > > >=20 > > Potential problems: >=20 > > - It requires a TeX installation (a no problem). >=20 > > - Of course I requires some TeX knowledge. Learning it >=20 > > is not so complicate. Learn how to use TeX with a text >=20 > > editor and you will quickly understand what you have to >=20 > > program in Python. Bonus: you learn at the same time >=20 > > a good text editing engine. >=20 > > >=20 > > I can not figure out something more simple, versatile and >=20 > > powerful. >=20 > > >=20 > > jmf >=20 > > >=20 > This is a good idea. Thank you. I wanted to learn TeX anyway. The TeX=20 >=20 > installation is problematic. I also want to use this under MS Windows.=20 >=20 > Yes, I know here is MikTeX for Windows. But there is significant=20 >=20 > difference. ReportLab can be embedded into a small program created with= =20 >=20 > py2exe. LaTeX on the other side is a 150MB separate installation package= =20 >=20 > that must be installed separately by hand. >=20 >=20 >=20 > But in my particular case, it is still a good solution. >=20 >=20 >=20 > Thanks, >=20 >=20 >=20 > Laszlo I understood, you have Python on a platform and starting from this you wish to create pdf files. Obviously, embedding "TeX" is practically a no solution, although distibuting a portable standalone TeX distribution is a perfectly viable solution, especially on Windows! To "I wanted to learn TeX anyway.": I can only warmly recommend to start with one of the two unicode compliant engines, LuaTeX or XeTeX. jmf