Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

Done with rst2pdf for now

It works much bet­ter than it did last night.

The main miss­ing/bro­ken things are:

  • Ta­bles

  • Links

  • Foot­notes/c­i­­ta­­tions

  • Head­­er­s/­­Foot­ers

  • Re­f­er­ences

  • Ta­ble HEad­­er­s/S­­pan­n­ing cells

  • Lists that don't start at 1

The rest seems to be in work­ing or­der and pro­duc­ing de­cent out­put al­ready. It can process the ReST de­mo and it does­n't look bad: check it out

I say, good for half a day of hack­ing, and will now stop, be­cause it's a week­end and I have a fam­i­ly :-)

But that does­n't mean you can't try it for your­self. Just run it thus:

python rst2pdf.py myrstfile.txt

And you will get (hopefully) a myrstfile.txt.pdf

Let me know how it work­s, and if it does­n't and it's not re­lat­ed to one of the things I men­tioned above as bro­ken, send me a test file!


Contents © 2000-2024 Roberto Alsina