Re: Generate brochure pdf

2010-04-21 Thread Alessandro Ronchi
I need to give the user some jpg previews of the results. What's the lightest way to do that? I think reportlab or tex/latex are my only choices. I made my university thesis on latex, and I remember some problems with encoding (solved, finally, with utf8) and graphics to include. I really don't

Re: Generate brochure pdf

2010-04-21 Thread thanos
I've been doing generating complex catalogs and books from django by using TeX or LaTex. Generating PDF from scratch is a pig. Its not much different from programming in postscript. Latex or Tex make life very easy and are very expressive. They are available on all platforms. I've been using TeX/L

Re: Generate brochure pdf

2010-04-21 Thread cootetom
You are right though. In my experience, using Pisa to do HTML to PDF conversion isn't pixel perfect. On Apr 21, 2:29 pm, derek wrote: > On Apr 21, 1:14 pm, Alessandro Ronchi > wrote: > > > > > > > 2010/4/20 cootetom : > > > > django and and pisa are great for creating PDF's because you can >

Re: Generate brochure pdf

2010-04-21 Thread derek
On Apr 21, 1:14 pm, Alessandro Ronchi wrote: > 2010/4/20 cootetom : > > > django and and pisa are great for creating PDF's because you can > > combine django's templating engine with pisa's HTML to PDF conversion. > > Pisa uses the reportlab tool kit.http://pypi.python.org/pypi/pisa/ > > I think I

Re: Generate brochure pdf

2010-04-21 Thread Alessandro Ronchi
2010/4/20 cootetom : > django and and pisa are great for creating PDF's because you can > combine django's templating engine with pisa's HTML to PDF conversion. > Pisa uses the reportlab tool kit. http://pypi.python.org/pypi/pisa/ I think I can't use PISA because I need the pdf to be precise as pi

Re: Generate brochure pdf

2010-04-20 Thread cootetom
django and and pisa are great for creating PDF's because you can combine django's templating engine with pisa's HTML to PDF conversion. Pisa uses the reportlab tool kit. http://pypi.python.org/pypi/pisa/ Example: import ho.pisa as pisa import cStringIO as StringIO from django.template.loader imp

Generate brochure pdf

2010-04-20 Thread Alessandro Ronchi
I need to create some brochures on the fly (with texts and images with different position from my templates) in pdf with django. What's the best solution? Reportlab? I don't have any license problem (I can buy the software if it suites my needs), and I must generate quality pdf (for use in typogr