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