Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6book, 2010-08-15

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

All times shown according to UTC.

Time Nick Message
01:43 pronik joined #perl6book
01:43 pronik moritz_: ping
01:47 pronik hmm.. might as well write it, you could reply whenever you see this
01:48 pronik it seems that plain ASCII tables in PseudoPod are not really supported by the parser
01:48 pronik those were the means for O'Reilly to load off the burden of table layouting from author to layouter
01:49 pronik PseudoPod::LaTeX expects a proper table structure, so that simple table just crashes our build scripts
01:49 pronik I'm afraid you need to convert that precendes table to normal POD tables
01:50 pronik or I'll do it tomorrow, depends on who of us both is faster ;)
02:07 pronik moritz_: done, see commit logs
02:11 dalek book: 6151b71 | (Nikolai Prokoschenko)++ |  (7 files):
02:11 dalek book: * Introduce new book cover by Sebastian Riedel
02:12 dalek joined #perl6book
02:47 pronik` joined #perl6book
16:02 pmichaud joined #perl6book
16:02 pmichaud is there anyone around knowledgable about the build system for the book that can help me get past my current "can't build the book" woes?
16:03 pmichaud currently I have:  http://gist.github.com/525631
16:04 * moritz_ hilights pronik
16:05 masak joined #perl6book
16:22 pronik pmichaud: lemme see
16:23 pronik pmichaud: could you do a "make -d" and pastebin that?
16:28 pmichaud it's long...
16:29 pronik last 20-30 lines are the most important
16:29 pmichaud http://gist.github.com/525656
16:30 pronik interesting, no errors or warnings whatsoever :(
16:31 pmichaud it's possible I don't have a needed library or package loaded
16:31 pronik would it be feasible to give me shell access?
16:31 pmichaud I might be able to do that... just a sec
16:31 pmichaud oh, hmm.  not quite so easy, as I'd have to open up a port in the firewall
16:32 pmichaud just a sec
16:32 pronik we could try port forwarding
16:33 pmichaud bbiab
16:43 pmichaud (access granted via /privmsg)
16:45 pmichaud if you tell me what file(s) appear to be missing, I can also find the packages quickly
16:45 pronik you need texlive-latex-recommended
16:45 pronik which is in the current README
16:46 pmichaud right
16:46 pmichaud that package is *huge*
16:46 pronik but I agree, minimal system problem exists
16:46 pmichaud and in the past even with it installed I ended up getting the same error
16:46 pmichaud installing
16:46 pronik yes, sadly, texlive is much too big :(
16:46 pmichaud 90 sec
16:46 pronik but the alternative is not using LaTeX packages
16:46 pronik wow
16:47 pmichaud 60 sec
16:47 pronik 21.4 MB uncompressed
16:47 pmichaud 20 sec
16:48 pmichaud it's not just that package, it's all of its dependencies
16:48 pronik which ones is it installing? texlive-common, texlive-binaries, texlive-latex-base should have been installed anyway
16:49 pmichaud http://gist.github.com/525685   # what it installed
16:49 pmichaud okay, texlive-latex-recommended is installed, but I still get the same error
16:49 pronik latex-beamer is just recommended and also other packages
16:50 pronik I'll try again
16:50 pmichaud still, it loaded 171MB of stuff.  On top of all over the other texlive stuff I had already installed.  :-)
16:51 pronik I've got another big package for you ;) - texlive-latex-extra
16:52 pmichaud After this operation, 315MB of additional disk space will be used.
16:52 pmichaud :-)
16:52 pronik cool :)
16:52 pmichaud 80 sec
16:52 pronik you are definitely installing the recommended packages with it, which is not necessarily needed
16:53 pronik I usually do an "aptitude install texlive-full" ;)
16:53 pmichaud I'm just installing the package you're saying to install.   "apt-get install texlive-latex-extra"
16:53 pmichaud it's pulling along all of the others.
16:53 pmichaud 150 sec
16:53 pronik hmm. well, let it do it, doesn't hurt -- apart from disk space and bandwidth
16:53 pronik wow again
16:54 pmichaud (initial estimate was apparently wrong)
16:54 pronik sorry it takes so long :(
16:54 pmichaud np
16:55 pronik I just don't see a sensible way to reduce dependencies
16:55 pmichaud right
16:55 pmichaud 60 sec
16:56 pmichaud installing
16:57 pronik nothing to change in the README yet, btw ;)
16:57 pmichaud okay, this time it's working.
16:57 pmichaud last time I tried it, one of the packages must've failed the install (or I overlooked it)
16:58 pronik are you getting any font problems? If not, you should have got around 125 pages of PDF goodness :)
16:58 pronik first time I looked at the book, it was just around 60 pages long
16:58 pmichaud looking
16:59 pronik as long as you have normal text and chapter titles, you should be ok
16:59 pmichaud yeah, I don't have the fonts installed
16:59 pmichaud so, I'll do that next.  :)
16:59 pronik wait, I can scp those to that book shell account
17:00 pmichaud I'm going to have to re-do this anyway for my laptop
17:00 pmichaud I'll do the install
17:00 pmichaud also, I want to verify that the README works when I do it :)
17:00 pmichaud After this operation, 260MB of additional disk space will be used.
17:00 pmichaud *sigh*  :-)
17:00 pronik acroread is huge :(
17:00 pronik the good thing is, you can remove it afterwards
17:00 pmichaud no, this is for  texlive-fonts-extra
17:00 pmichaud I already have acroread installed
17:01 pmichaud (it's part of my default install)
17:01 pronik I wonder whether we actually need texlive-fonts-extra anymore
17:01 pmichaud do I need to copy the font files to ~/.fonts/   ?
17:02 pronik yes
17:02 pmichaud if so, where are they used?
17:02 pronik xelatex uses freetype IIRC
17:02 pronik the including lines are in book.sty
17:03 pronik you probably only need ttf-xfree86-nonfree
17:04 pmichaud I get a lot of
17:04 pmichaud kpathsea: Invalid fontname `Minion Pro', contains ' '
17:04 pronik those are acroread fonts
17:05 pronik should be called MyriadPro-Regular.otf or the like and be in ~/.fonts
17:05 pronik same for MinionPro-Regular.otf
17:05 pronik and Bold BoldIt and It variations
17:05 pronik the third fonts we are using is Luxi Mono, which is part of ttf-xfree86-nonfree
17:06 pmichaud okay, that seems to have worked.
17:06 pmichaud I have a book with 129 pages and text.
17:07 pmichaud many thanks
17:08 pmichaud I'll try this on my notebook next, and see if  texlive-fonts-extra is needed (since I don't have it installed there)
17:09 pronik if not, throw it out of README ;)
17:09 pmichaud of course
17:10 pronik just to verify: you see a cover image with a butterfly and credits including CC license on the second page?
17:10 pmichaud yes.
17:10 pronik good
17:11 pronik then have fun hacking around :)
18:51 dalek joined #perl6book
21:12 p6eval joined #perl6book

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