irclog.perlgeek.de/perl6book/today | source: github.com/perl6/book/
Set by moderator on 8 June 2010.
11:27 masak joined 18:11 dalek joined 18:20 Wolfman2000 joined 18:31 dalek joined 19:22 dalek joined, PerlJam joined 19:36 dalek joined 19:41 PerlJam joined 20:10 sahadev joined
sahadev Hello. Here's my take on the sidebar issue (use.perl.org/~masak/journal/40385). The patch is at gist.github.com/433567 20:15
Two things: 1. instead of patching Pod::PseudoPod::LaTeX, I monkey-patched the script bin/book-to-latex. 20:16
2. the =sidebar section in the multi-dispatch.pod file had to be moved up. I am not sure if this is really satisfactory. 20:17
moritz_ sahadev++
PerlJam sahadev: what does it look like rendered?
sahadev let me see if i can upload the .pdf file somewhere. 20:18
oh, one more thing. it uses a new TeX package called 'wrapfig'.
PerlJam Hmm. that sidebar looks more like a footnote than a sidebar
moritz_ sahadev: we've already received a submission on p6c (masak++ should really update his blog post), and I've incorporated it just two hours ago... 20:19
sahadev: I'll take a look at your patch too, and see what I like better
PerlJam sahadev++ for sure though. The more, the merrier in this case :) 20:20
moritz_ PerlJam: "real" sidebars are probably too narrow
sahadev kailasa.net/tmp/book.pdf
moritz_: of course. whatever is better. 20:21
PerlJam: i also think that it would look better as a footnote.
PerlJam I meant in terms of content. A footnote is generally just one or two sentences that would be parenthetical to the main point. A sidebar is generally a longer bit of text that has a point of its own. 20:22
sahadev: I like your sidebar, but the rest of the formatting of your PDF seems off in places :) 20:23
sahadev PerlJam: can you point out those places?
it could be due to my working copy is out of date. 20:24
PerlJam sahadev: page 32
moritz_ some of the formatting is messed up with the released version of Pod::PseudoPod::LaTeX
there's a dev version on my github repo that fixes all the issues I know of
PerlJam prod chromatic for a release? 20:25
moritz_ PerlJam: sent a pull request today
PerlJam ah.
moritz_ PerlJam: should probably emphasize a bit more :-)
PerlJam anyway ... sahadev++ 20:26
and moritz_++ for the challenges :) 20:27
moritz_ indeed
and masak++ for doing this last one
PerlJam everybody++
sahadev PerlJam: yeah :( my patch relies on the =sidebar section be placed (moved up a little) appropriately, so the rendered version shows it in the right place.
PerlJam (for spreading the love :)
moritz_ sahadev: and you're now in the pool of people that might win a nice Perl 6 t-shirt 20:28
sahadev that'd be great :)
moritz_ currently I have funds for 2 t-shirts + 100$ from perl foundation 20:29
don't know how many shirts + shipment I get for that
so, maybe 6 to 10 t-shirts... with about 15 people contributing so far 20:30
chances aren't too bad
sahadev moritz_: i like the shadow effect on sidebars in your version. 20:32
moritz_: i tweaked my version a little bit. here's the patch: gist.github.com/433654 and the pdf: kailasa.net/tmp/book.pdf 21:25
used slightly smaller font for sidebar text.
moved a couple of the =sidebar sections a bit, so they appear properly in the output. 21:26
also, used relative widths instead of hardcoded widths.
PerlJam nice. 21:30
The more I look at it though, the more I think it should be a footnote.
I mean, what is the "this" that the sidebar referes to? There's no link between the sidebar and the text. 21:31
22:03 sahadev left