Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6book, 2010-08-24

| Channels | #perl6book index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:01 mfollett left #perl6book
00:05 mfollett joined #perl6book
00:12 mfollett left #perl6book
01:44 eternaleye left #perl6book
01:45 eternaleye joined #perl6book
01:45 eternaleye left #perl6book
01:46 eternaleye joined #perl6book
01:47 eternaleye left #perl6book
01:47 eternaleye joined #perl6book
02:19 pronik` joined #perl6book
02:23 pronik left #perl6book
05:31 moritz_ left #perl6book
05:32 moritz_ joined #perl6book
07:58 pronik` left #perl6book
12:44 p6eval left #perl6book
12:45 p6eval joined #perl6book
12:51 p6eval left #perl6book
12:51 p6eval joined #perl6book
14:36 mfollett joined #perl6book
15:07 kthakore joined #perl6book
15:07 kthakore moritz_: who should I talk to?
15:29 moritz_ kthakore: pronik
15:30 kthakore moritz_: ...
15:30 moritz_ well, not here atm
15:30 moritz_ happens
15:30 kthakore yeah
15:30 kthakore I will ust leave the problem up
15:30 kthakore How do I get LaTeX to find fonts properly? I have these fonts in /usr/share/fonts and ~/.fonts . But I still get http://paste.scsys.co.uk/49131
17:22 pronik` joined #perl6book
17:46 kthakore hi pronik`
17:46 pronik` kthakore: hi
17:46 pronik` is now known as pronik
17:47 pronik looking at your paste right now ;)
17:47 kthakore pronik: I figured it out
17:47 kthakore perl6book needs a fix for it too
17:47 kthakore pronik: I need to parse fc-list output and use the right font name
17:48 pronik you got a patch?
17:49 kthakore btw I am using the perl6book's build system to make the SDL_Manual book. http://github.com/kthakore/SDL_Manual and http://sdlperl.ath.cx/releases/SDL_Manual
17:49 kthakore pronik: in a bit
17:49 kthakore pronik: I will push it
17:49 kthakore pronik: is that ok if I use the build system?
17:49 kthakore it is for a TPF grant
17:49 pronik I don't have any problem with that, you could ask lucs too, since he contributed quite a bit too
17:49 kthakore ok
17:49 kthakore lucs: hi
17:50 kthakore pronik: pushing the fix as soon as I can find the adobe fonts
17:50 pronik maybe we should try to make a separate package for the build system
17:50 pronik I could upload those for you
17:50 kthakore that would be nice
17:50 kthakore pronik: the fonts?
17:50 pronik yes
17:50 mfollett Do return types via "is of" not work yet in Rakudo?  I was going to add that to the book but my examples don't work.
17:51 pronik kthakore: ok, in a could of minutes
17:51 kthakore pronik: sure that would be nice
17:51 kthakore I need to get the font names from font-config
17:52 kthakore so I can make this work nicely for perl6book too
17:52 pronik what's the actual problem with the fonts?
17:54 kthakore it is the names
17:54 kthakore you have to use what fc-list says
17:54 kthakore it says differing things depends on the system
17:54 kthakore debian allows you to have the exact file name
17:55 pronik ah, I get it, nice one
17:55 kthakore but ubuntu does not
17:55 pronik did you get it working?
17:55 kthakore for SDL_Manual
17:55 kthakore I am readign the README for perl6book
17:55 kthakore and I need to make a script to read the fc-list output
17:56 kthakore and inject it into book.sty
17:56 kthakore but how to do that?
17:56 pronik probably via templating
17:56 pronik book.sty is processed by Template toolkit while compiling
17:56 pronik so that could be a way
17:57 kthakore I was just gonna read the book.sty file and replace ROMANS with the name
17:57 kthakore :p
17:57 kthakore maybe this is better
17:57 kthakore which step in the make file does this?
17:59 pronik it's in book-to-latex
17:59 kthakore ok
17:59 kthakore thanks dude
17:59 pronik btw, I wanted to "borrow" the epub generation part from modern perl book, so we'd have that a bit later
17:59 pronik np
17:59 kthakore hopefully it helps you guys
18:00 * pronik thinks we should factor the whole book generation stuff out of the actual project
18:00 kthakore pronik: yes please
18:00 pronik it should definitely, even though we have quite tight dependencies already, like texlive 2009
18:00 pronik kthakore: gotta first figure out a good way to do this, i.e. flexible enough
18:01 kthakore pronik: where is the github again?
18:01 kthakore I forgot
18:01 kthakore mortiz or p6book?
18:01 pronik http://github.com/perl6/book
18:02 pronik I'm not particularly fond of the centralized development, but I'm not the one to decide this stuff
18:03 pronik kthakore: http://rapidshare.com/files/414894395/adobe.tar.bz2
18:04 kthakore yay!
18:04 kthakore thanks
18:04 kthakore crap ...
18:04 kthakore I only have shell access to my home computer
18:04 kthakore :(
18:07 pronik what's the problem then, shell is good enough, isn't it?
18:07 kthakore pronik: no I mean ... I can't see the image file of rapidshare to get files
18:07 pronik ah, sorry, got it, javascript with rapidshare
18:07 kthakore yeah
18:07 pronik ok, I'll get you another link
18:08 pronik http://rassie.org/adobe.tar.bz2
18:08 pronik
18:10 kthakore hmmm ... font-config cant find this
18:10 kthakore :(
18:10 kthakore should I run something to rebuild the cache?
18:10 pronik normally, no
18:11 pronik you should have the files directly under ~/.fonts
18:11 pronik without the adobe subdir I created in the archive
18:11 kthakore I know
18:11 kthakore I did tha
18:11 kthakore t
18:11 kthakore I did that
18:12 kthakore man my ubuntu sucks
18:12 kthakore guess my hack is no use for .otf fonts
18:12 kthakore :\
18:12 kthakore ok I am runnign this fc-cache -f -v
18:13 kthakore \o/
18:13 pronik works?
18:13 kthakore the hack is one line now
18:13 kthakore for perl6
18:13 kthakore :D
18:13 pronik I wonder why you needed to refresh the cache
18:13 kthakore fc-cache -f -v
18:13 pronik reminds me of a three-line gentoo installation ;)
18:14 kthakore should I add it?
18:14 kthakore it helps me a lot
18:14 kthakore it works on my debian and other ubuntu too now
18:15 kthakore pronik: what do you think?
18:15 pronik to the README? Yeah
18:15 kthakore not to the make ?
18:15 kthakore Makefile ?
18:16 pronik there is no reason to refresh the cache every time the book compiles
18:16 pronik it's more like an installation step
18:16 pronik i.e. -> README
18:17 kthakore okie
18:17 kthakore DONE
18:17 kthakore pronik: hope this helps other people too
18:17 pronik nice, thanks
18:17 kthakore moritz_: done :D
18:17 kthakore pronik: how do you like the SDL_Manual?
18:18 kthakore pronik: I use the Liberation fonts. All freedom and what not :D
18:18 kthakore pronik: http://sdlperl.ath.cx/releases/SDL_Manual.pdf
18:19 pronik I evaluated the liberation fonts at one point and didn't really like them
18:19 kthakore oh
18:19 kthakore but isn't adobe's font licensed?
18:19 pronik yes, but free to use as far as I know
18:20 pronik which is ok, since good free-to-use fonts are very rare
18:20 pronik and I remember some troubles with perl6 "special" french quotes
18:20 pronik liberation serif is nice actually, mono too
18:20 pronik but liberation sans is a disaster
18:21 dalek book: 7af1026 | kthakore++ | README:
18:21 dalek book: added cache trick to readme
18:21 dalek book: review: http://github.com/perl6/book/commit/7af10266f98de4f6bab3e599c6832f684540e06c
18:23 kthakore pronik: french quotes?
18:27 PerlJam There was nothing special about them, they were ordinary french quotes
18:28 kthakore hi PerlJam
18:28 PerlJam guillemets. « »
18:28 kthakore ah ok
18:28 kthakore pronik: man I spent 6 hours on this
18:28 kthakore and all I had to do was fc-cache -f -v ...
18:28 kthakore as root
18:29 * kthakore feels super productive today :p
18:29 PerlJam kthakore: You've made a good start on the book.  Keep at it!  :)
18:30 kthakore PerlJam: will do :D
18:30 kthakore now to do drawing :D
18:30 * PerlJam realizes that "the book" might be a tad ambiguous in here
18:30 PerlJam :)
18:31 pronik PerlJam: it's got a cover and a couple of pages = book
18:31 kthakore pronik: it has a picture too!
18:31 kthakore :
18:31 PerlJam except I'm not talking about the perl 6 book.
18:31 kthakore pronik: he is talking about my silly SDL_Manual
18:32 pronik kthakore: I know
18:32 pronik it's a got a cover and 4+ pages too
18:32 kthakore yay!
18:33 kthakore 4 pages more then I ever wrote :p
18:33 kthakore well does code and docs count?
19:45 pronik left #perl6book
22:27 mfollett left #perl6book

| Channels | #perl6book index | Today | | Search | Google Search | Plain-Text | summary