Textile / RedCloth to PDF converter?

Hey there,

I am currently looking for a good / stable way to create .pdf-files out
of a textile formated text. Does anyone know whether someone already
wrote a textile => e.g. PDF::Writer library? Or is there any other
reliable way that allows me to create a pdf-file including the
formating of the original formatted text?

Cheers & thanks,
-Joerg

I have this in a file called textile2pdf. Not sure where it came from:

pdf=`basename $1 .txt`.pdf

redcloth $1 | \
sed -e "s/’/\'/" | \
htmldoc --cont --format pdf14 - >`basename $1 .txt`.pdf

htmldoc is availble here:

http://www.easysw.com/products.php

Regards,
   JJ

···

On Thu, 31 Aug 2006 06:45:35 -0400, Joerg Battermann <joerg.battermann@gmail.com> wrote:

Hey there,

I am currently looking for a good / stable way to create .pdf-files out
of a textile formated text. Does anyone know whether someone already
wrote a textile => e.g. PDF::Writer library? Or is there any other
reliable way that allows me to create a pdf-file including the
formating of the original formatted text?

--
Using Opera's revolutionary e-mail client: Opera Web Browser | Faster, Safer, Smarter | Opera

John,

thanks! I was looking for a somewhat more 'integrated' way, but it
seems this isn't something that has been created yet.

thanks and all the best,
-joerg

John Johnson wrote:

···

On Thu, 31 Aug 2006 06:45:35 -0400, Joerg Battermann > <joerg.battermann@gmail.com> wrote:

> Hey there,
>
> I am currently looking for a good / stable way to create .pdf-files out
> of a textile formated text. Does anyone know whether someone already
> wrote a textile => e.g. PDF::Writer library? Or is there any other
> reliable way that allows me to create a pdf-file including the
> formating of the original formatted text?

I have this in a file called textile2pdf. Not sure where it came from:

pdf=`basename $1 .txt`.pdf

redcloth $1 | \
sed -e "s/&#8217;/\&#39;/" | \
htmldoc --cont --format pdf14 - >`basename $1 .txt`.pdf

htmldoc is availble here:

Easy Software Products

Regards,
   JJ

--
Using Opera's revolutionary e-mail client: Opera Web Browser | Faster, Safer, Smarter | Opera