Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

No, 10/10/10 no es muy especial tampoco.

Por lo me­nos es­ta vez es co­rrec­to. Sin em­bar­go:

¿Ca­da cuán­to es 11/10/10? ¿Ca­da cuán­to es 9/10/10, co­mo aye­r? Ca­da 100 años tam­bién. De he­cho ca­da fe­cha es­cri­ta de esa for­ma se re­pi­te exac­ta­men­te ca­da 100 año­s... ¡Por­que así fun­cio­nan las fe­chas!

Pe­ro no, cla­ro­... ¡Lo es­pe­cial es que los tres nú­me­ros son igua­le­s, pa­vo­te!

Pe­ro el año pa­sa­do tu­vi­mos 9/9/9 y el año que vie­ne te­ne­mos el 11/11/11 (¡­mu­cho me­jor que el 10/10/10!) así que ... no, no tan es­pe­cia­l.

Por otro la­do hoy (a las 10 de la no­che) mi ne­ne y yo va­mos a ver el pri­mer epi­so­dio de Be­n10 Alien Ex­tre­mo (¡he­y, 5 10s!) por pri­me­ra vez y... eso no pa­só nun­ca, y no va a vol­ver a pa­sar nun­ca. Esas co­sas ami­gos son es­pe­cia­les.

Otro motivo para ir a PyCon Argentina

Se van a im­pri­mir 400 gra­cias a BBLU­G, Py­Co­nAr y Py­Day Ra­fa­ela.

Oja­lá con­si­ga al­gu­nos pa­ra mí, sien­do el edi­tor res­pon­sa­ble y to­do eso ;-)

Y si no va­s: es­tá li­cen­cia­da CC-b­y-n­c-­sa así que la po­dés im­pri­mir vos tam­bién!

Salió rst2pdf 0.16!

Pue­de ob­te­ner­se en el si­tio: http://rs­t2­pdf.­google­co­de.­com

rs­t2­pdf es una he­rra­mien­ta pa­ra con­ver­tir res­truc­tu­red text a PDF usan­do re­por­tlab en vez de La­TeX.

Se ha usa­do pa­ra mu­chas co­sas des­de li­bros a re­vis­ta­s, a fo­lle­to­s, a ma­nua­le­s, a si­tios web y tie­ne mu­chos fea­tu­res:

  • Font em­­be­­­dding (TTF or Ty­­pe1 fo­n­­ts)

  • Ca­s­­ca­­ding Sty­­le­s­hee­­ts

  • Ar­­qui­­te­c­­tu­­ra de plu­­gins muy fle­­xi­­ble (pe­r­­mi­­te ha­­cer co­­sas co­­­mo crear los en­­ca­­be­­­za­­dos en ba­­se a SVG ar­­bi­­tra­­rio­­s!)

  • In­­te­­gra­­ción con Sphi­n­­x.

  • Múl­­ti­­ples la­­you­­ts de pá­­gi­­na

  • Ta­­pas cus­­to­­­mi­­za­­bles via te­m­­pla­­tes

  • Y mu­­cho, mu­­cho más

El cam­bio más gran­de en 0.16 es pro­ba­ble­men­te el so­por­te de Sphi­nx 1.0.­x, si es­tás usan­do Sphi­nx es­ta es la ver­sión que que­ré­s.

Apar­te de eso, una to­ne­la­da de bugs arre­gla­do­s, y al­gu­nos fea­tu­res me­no­res.

Es­te es el chan­ge­log com­ple­to:

  • Fixed Is­­sue 343: Plu­­gged me­­mo­­­ry leak in the RSON pa­r­se­­r.

  • Fix for Is­­sue 287: the­­re is sti­­ll a co­r­­ner ca­­se if you ha­­ve two se­c­­tions wi­­th the sa­­me ti­­tle, at the sa­­me le­­ve­­l, in the sa­­me pa­­ge, in di­­ffe­­rent fi­­les whe­­re the li­nks wi­­ll break.

  • Fixed Is­­sue 367: ge­r­­man-­­lo­­­ca­­li­­zed da­­tes are MM. DD. YY­­YY so when us­ed in sphi­n­­x's te­m­­pla­­te co­­­ver they appea­­red wei­r­­d, like a list ite­­m. Fixed wi­­th a mi­­nor wo­­­rka­­round in the te­m­­pla­­te.

  • Fixed Is­­sue 366: li­nks to "#" make no sen­­se on a PDF fi­­le

  • Ma­­de de­­fi­­ni­­tions from de­­fi­­ni­­tion lis­­ts mo­­­re sty­­la­­ble.

  • Mo­­­ved de­­fi­­ni­­tion lis­­ts to Spli­­tTa­­ble­s, so you can ha­­ve ve­­ry long de­­fi­­ni­­tio­n­s.

  • Fixed Is­­sue 318: Im­­ple­­men­ted Do­­­main spe­­ci­­fic in­­dexes for Sphi­nx 1.0.x

  • Fixed In­­dex li­nks when using Sphi­n­­x/­­pdfbui­l­­de­­r.

  • Fixed Is­­sue 360: Set li­­te­­ra­­l.wo­r­­dW­­rap to No­­­ne by de­­fault so it does­n't inhe­­rit wo­r­­dW­­rap CJK when you use the othe­­rwi­­se co­­­rrect ja­­pa­­ne­­se se­­ttings. In any ca­se, li­­te­­ral blo­­­cks are not su­­ppo­­s­ed to wrap at all.

  • Swi­­tched pdfbui­l­­der to use Spli­­tTa­­bles by de­­fault (it ma­­de no sen­­se not to do it)

  • Fixed Is­­sue 365: so­­­me TTF fo­n­­ts do­­n't va­­li­­da­­te but they wo­­­rk an­­ywa­­y.

  • Set a va­­lid de­­fault ba­seurl for Sphi­nx (makes it mu­­ch fa­s­­te­­r!)

  • New fea­­tu­­re: --u­se-­­nu­m­­be­­­re­­d-­­li­nks to show se­c­­tion nu­m­­bers in li­nks to se­c­­tio­n­s, like "See se­c­­tion 2.3 Te­r­­mi­­na­­tio­­n"

  • Added sty­­le­s­hee­­ts for lan­­d­s­­ca­­pe pa­­per si­­zes (i.e: a4-­­lan­­d­s­­ca­­pe.s­­ty­­le)

  • Fixed Is­­sue 364: So­­­me op­­tions not res­­pe­c­ted when pa­ss­ed in pe­­r-­­doc op­­tions in sphi­n­­x.

  • Fixed Is­­sue 361: mu­l­­ti­­ple li­­ne­­breaks in li­­ne blo­­­cks we­­re co­­­lla­p­se­­d.

  • Fixed Is­­sue 363: stran­­ge cha­­ra­c­­ters in so­­­me ca­­ses in ma­­th di­­re­c­­ti­­ve.

  • Fixed Is­­sue 362: Sma­r­­ter au­­to­­-en­­clo­­­sing of equa­­tions in $...$

  • Fixed Is­­sue 358: --­­rea­­l--­­footno­­­tes de­­fau­l­­ts to Fa­l­se, but help text in­­di­­ca­­tes de­­fault is True

  • Fixed Is­­sue 359: Wrong --­­fi­­t-­­ba­­ck­­groun­­d-­­mo­­­de help string

  • Fixed Is­­sue 356: mis­­sing ce­­lls if a ce­­ll spawns ro­­ws and co­­­lum­n­s.

  • Fixed Is­­sue 349: Wo­­­rk co­­­rre­c­­tly wi­­th lan­­gua­­ges that are avai­­la­­ble in form aa_­­bb and not aa (e­­xa­m­­ple: zh_­c­n)

  • Fixed Is­­sue 345: gi­­ve fi­­le/­­li­­ne in­­fo when the­­re is an error in a raw PDF di­­re­c­­ti­­ve.

  • Fixed Is­­sue 336: JPEG ima­­ges should wo­­­rk even wi­­thout PIL (but gi­­ve a wa­r­­ning be­­­cau­­se si­­zes wi­­ll pro­­­ba­­bly be wro­n­­g)

  • Fixed Is­­sue 351: footno­­­te/­­ci­­ta­­tion re­­fe­­ren­­ces we­­re ge­­ne­­ra­ted in­­co­­­rre­c­­tl­­y, whi­­ch cau­s­ed pro­­­ble­­ms if the­­re was a ci­­ta­­tion wi­­th the sa­­me text as a hea­­di­n­­g.

  • Fixed Is­­sue 353: be­­­tter han­d­­ling of gra­­ph­­vi­­z, so that it wo­­­rks wi­­thout ve­c­­to­r­­pdf but gi­­ves a wa­r­­ning about it.

  • Fixed Is­­sue 354: make to­­­do­­_­­no­­­de from sphi­nx cus­­to­­­mi­­za­­ble.

  • Fixed bug whe­­re nes­ted lis­­ts bro­­ke pa­­ge la­­yout if the pa­­ge was sma­­ll.

  • Sma­r­­ter --i­n­­li­­ne-­­li­nks op­­tion

  • New ex­­ten­­sio­­n: fan­­c­­y­­ti­­tle­s, see //­­ra­l­­si­­na.­­me/we­­blo­­­g/­­po­s­­ts/­­BB906.h­t­­ml

  • New fea­­tu­­re: ta­­b-wi­­dth op­­tion in co­­­de-­­blo­­­ck di­­re­c­­ti­­ve (de­­fau­l­­ts to 8).

  • Fixed Is­­sue 340: en­d­­no­­­tes/­­footno­­­tes we­­re not sty­­le­­d.

  • Fixed Is­­sue 339: cla­ss na­­mes using _ we­­re not usa­­ble.

  • Fixed Is­­sue 335: ugly crash when using ima­­ges in so­­­me spe­­ci­­fic pla­­ces (looks like a re­­po­r­­tlab bu­­g)

  • Fixed Is­­sue 329: make the fi­­gu­­re ali­g­n­­men­­t/­­cla­ss attri­­bu­­tes wo­­­rk mo­­­re like La­­TeX than HT­­M­­L.

  • Fixed Is­­sue 328: list item sty­­les we­­re being ig­­no­­­re­­d.

  • Fixed Is­­sue 186: new --u­se-­­floa­­ti­n­­g-i­­ma­­ges makes ima­­ges wi­­th :a­­li­g­n: set wo­­­rk like in HT­­M­­L, wi­­th the next flo­­wa­­ble flo­­wing be­­­si­­de it.

  • Fixed Is­­sue 307: hea­­de­­r/­­footer from sty­­le­s­heet now su­­ppo­r­­ts in­­li­­ne rest ma­­rkup and subs­­ti­­tu­­tions de­­fi­­ned in the main do­­­cu­­men­­t.

  • New pdf_­­to­­­c_­­de­p­­th op­­tion for Sphi­n­­x/­­pdfbui­l­­der

  • New pdf_u­se_­­toc op­­tion for Sphi­n­­x/­­pdfbui­l­­der

  • Fixed Is­­sue 308: co­m­­pa­­ti­­bi­­li­­ty wi­­th re­­po­r­­tlab from SVN

  • Fixed Is­­sue 323: errors in the co­n­­fi­­g.s­a­m­­ple ma­­de it wo­­­rk wei­r­­d.

  • Fixed Is­­sue 322: Ima­­ge subs­­ti­­tu­­tions di­d­n't wo­­­rk in do­­­cu­­ment ti­­tle.

  • Im­­ple­­men­ted Is­­sue 321: un­­de­r­­li­­ne and strike­­th­­rou­­gh avai­­la­­ble in sty­­le­s­hee­­t.

  • Fixed Is­­sue 317: Ugly error me­ss­a­ge when fi­­le does not exist

La gente cree todo en la Internet

Ho­y, he leí­do que es­te mes de Oc­tu­bre tie­ne 5 vier­nes, 5 sá­ba­dos y 5 do­min­go­s. Es­to só­lo pa­sa ca­da 823 año­s. En el Oc­tu­bre con más fi­nes de se­ma­na de mi vi­da es­toy CAS­TI­GA­DA SIN SALI­R.

No va­le la pe­na li­nkear­lo por­que es­tá en to­dos la­dos

Hay va­ria­cio­nes, por su­pues­to, 5 lu­nes/­mar­tes/­miérco­le­s, dis­tin­tos me­s­es, etc.

¿Pe­ro por­qué lo cree la gen­te? ¡Es ob­vio si lo pen­sás un mi­nu­to que no hay ma­ne­ra de que sea cier­to!

  1. Oc­­tu­­bre tie­­ne una lo­n­­gi­­tud fi­­ja (31 día­s)

  2. Da­­do que la se­­ma­­na son 7 día­s, eso son 4 se­­ma­­nas +3 días en oc­­tu­­bre.

  3. Si oc­­tu­­bre em­­pie­­za un vie­r­­nes, esos 3 días al fi­­nal son vie­r­­nes/­­sá­­ba­­do­­/­­do­­­mi­n­­go.

En­ton­ce­s, pa­ra que es­to fue­ra cier­to, el 1e­ro de oc­tu­bre de­be­ria caer vier­nes só­lo una vez ca­da 823 año­s. Sue­na mu­cho más es­tú­pi­do di­cho así, no?

Real­men­te no en­tien­do co­mo al­guien con me­dio ce­re­bro pue­de caer en es­to, pe­ro he vis­to gen­te a la que le fun­cio­na el bo­cho re­pe­tir­lo. Co­men­ten sus teo­rías por fa­vor :-)


Contents © 2000-2023 Roberto Alsina