Skip to main content

Ralsina.Me — Roberto Alsina's website

Rst2pdf 0.93 released

A bit ahead of sched­ule, I just up­load­ed ver­sion 0.93 of rst2pdf a tool to con­vert re­struc­tured text in­to PDF files.

Here are some of the changes in this ver­sion:

  • Fixed Is­­sue 447: Dou­ble-sid­ed al­ways starts on the right (By Rob Lud­wick)

    • Re­­­moved --­­­first-­­­page-even as it was not used any­where.

    • Added --­­­first-­­­page-on-right

  • Fixed Is­­sue 464: sup­­port align­­ment via :class: in im­age di­rec­­tives.

  • Fixed Is­­sue 482: Line blocks with in­­­den­t­ed parts get ex­­tra­ne­ous spac­ing

  • Fixed Is­­sue 470: Sup­­port for :tar­get: in fig­ures.

  • New style "im­age" to be ap­­plied to im­age di­rec­­tives.

  • Fixed Is­­sue 485: Bet­ter styling sup­­port for fig­ures/im­ages (s­­pace­Be­­fore/After)

  • Sup­­port rst2pdf [inf [out­f]] syn­­tax to be more com­­pat­i­ble with rst2*

  • Im­­ple­­men­t­ed Is­­sue 389: New --strip-ele­­men­t-with­­-­­class op­­tion

  • Fixed Is­­sue 474: Cel­l­Style1 is not there in re­­port­lab 2.6

  • Re­­moved de­­fault pad­d­ing from De­layedTable, which looked bad on head­­er­s/­­foot­er­s.

  • Im­prove­­ments to the math di­rec­­tive (font col­or and size)

  • Bet­ter sup­­port for styling lit­er­al­s.

  • Fixed Is­­sue 454 (S­­plit­t­ing fail­ure)

  • Re­­gressed Is­­sue 374 (some lit­er­al blocks get over­s­plit)

  • Switched from svglib to svg2rlg

  • Re­­moved uni­­con­ver­­tor sup­­port

  • Fixed Is­­sue 477: Sink foot­note sep­a­ra­­tor (patch by aser­­max)

  • Fixed Is­­sue 473: Sup­­port "code" di­rec­­tive like an alias of code-block.

  • Fixed Is­­sue 472: Im­­ple­­men­t­ed My­Im­age._un­Re­stric­t­­Size

  • Fixed Is­­sue 471: Re­spect class in lineblock­­s.

  • Fixed Is­­sue 455: New pisa/x­ht­m­l2pdf has very dif­fer­­ent im­­ports

  • Marked Is­­sue 358 as fixed.

  • Fixed Is­­sue 410: al­ways in­­­clude full lines in code-blocks (m­­mueller patch)

Nikola is Python 2 1/2 ready

On my free time, lunch hours, and such I have been tweak­ing Niko­la, my stat­ic site gen­er­a­tor to make it python 3 friend­ly. Well, I some­what-ac­ci­den­tal­ly-my-­dog-­made-me-­do-it may have com­mit­ted a lot of that in­to mas­ter.

So, right now, things may be some­what bro­ken on python2 and some­what work­ing a lit­tle on python3.

In any case, feel free to try it out, and let me know what to fix.

My Life as a Mad Scientist

My son fin­ished kinder, so they had a spe­cial cel­e­bra­tion, a grad­u­a­tion cer­e­mo­ny where they gave the kids a medal, a diplo­ma, they sang a song, that kind of thing. But this school has a tra­di­tion. Par­ents al­ways give their kids a sur­prise present at the end of kinder.

In this case, we did a play. With al­most ev­ery par­ent act­ing, singing, play­ing mu­sic, jug­gling, and more. My role? Mad sci­en­tist. I had 4 lines, I fun­bled one, but hey, you can't de­ny I got the look nailed, man.

Yes, those are black­light light-up eye­glass­es. Yes they are as an­noy­ing to ev­ery­one else as you would imag­ine.

A Game of Thrones (A Song of Ice and Fire, #1)


I had read this and the sec­ond book at some point in the 90s in a (now I re­al­ize) dread­ful span­ish trans­la­tion.

The HBO se­ries made me want to reread it, be­cause I could not be­lieve the piece of crap I re­mem­bered was the ba­sis for such a great show.

Well, read­ing the orig­i­nal (cheap 4-­book kin­dle bundle, yay!), it's very good, four stars.

Easy Solutions to Easy Problems

A few days ago my son went to a kid's bar­ber­shop where they do things like play Scooby-­Doo in a Playsta­tion while they get a hair­cut. He liked it so much that he de­cid­ed to take mat­ters in his own hand­s. With scis­sors.

Dad­dy, I may have cut some hair.

But you know what? Easy prob­lems have easy so­lu­tion­s. And I have a hair clip­per.

Son, I may have cut some hair too.

Contents © 2000-2021 Roberto Alsina