|
irclog.perlgeek.de/perl6book/today | source: github.com/perl6/book/ Set by moderator on 25 June 2010. |
|||
|
01:56
eternaleye joined
02:17
eternaleye joined
02:48
pronik` joined
06:20
pronik` joined
09:24
pronik` joined
|
|||
| dalek | book: 19a45cb | (Dean Serenevy)++ | bin/book-to-latex: | 09:53 | |
| book: Properly render side bars. | |||
|
09:54
dalek joined
11:52
masak joined
12:21
szabgab joined
15:36
pronik joined
17:28
pronik joined
|
|||
| lucs | Hola pronik. | 17:34 | |
| moritz_ | oh hai | 17:42 | |
| lucs | Hi moritz_. | 17:46 | |
| I just pushed "layout-basic" branch for the book. | |||
| Email to follow shortly. | |||
| moritz_ | lucs++ | 17:47 | |
| lucs | I was going to keep working on it for a while before pushing it, but seeing that you merged Dean S.'s sidebars prompted me to hurry up :-) | 17:48 | |
| moritz_ | sorry, didn't meant to put you under pressure | 17:49 | |
| I just wanted to have the code in the 'main' branch that was used for the last release | |||
| lucs | Bah, no problem -- it cuts down on my laziness :) | ||
| moritz_ | what's the relation between layout-basics and latex-tweaking? | 17:50 | |
| lucs | They're similar -- explanations in the email. | 17:51 | |
| moritz_ | ok | ||
| lucs | Do you happen yo have Dean Serenevy's email close? I'd like to CC: him. | ||
| moritz_ | dean@serenevy.net | 17:52 | |
| lucs | Thanks. | ||
| moritz_ | make[1]: Entering directory `/home/moritz/p6/book/build' | ||
| ! Font \\zf@basefont=Inconsolata at 10.0pt not loadable: Metric (TFM) file or in | |||
| stalled font not found. | |||
| \\zf@fontspec ...ntname \\zf@suffix " at \\f@size pt \\unless \\ifzf@icu \\zf@set@... | |||
| l.21 \\setmonofont{Inconsolata} | |||
| a missing font I suppose? | |||
| lucs | Yep. | ||
| Like "latex-tweaking", it needs a lot of stuff. | 17:53 | ||
| moritz_ tries texlive-fonts-extra | |||
| lucs | The README mentions ubuntu packages that I believe supply what is needed. | ||
| Hopefully that's the one. | |||
| Hey, do you also happen to have PerlJam's address? | 17:54 | ||
| moritz_ | just a sec... | ||
| lucs | (I know his name, but no address close...) | ||
| moritz_ | duff@pobox.com | ||
| lucs | Danke. | ||
| moritz_ | it's right in 'git log' :-) | ||
| lucs | Oh, right :) | ||
| (mail sent) | 18:01 | ||
| pronik | moritz_: you'd probably need ttf-inconsolata :) | 18:07 | |
| but I remember taking that one out | 18:08 | ||
| lucs | pronik: Which tt font do you recommend? | 18:09 | |
| (Not TrueType, but "typewriter" :-) | 18:10 | ||
| (teletype?) | 18:11 | ||
| pronik | that's a good question -- I've looking myself for a good alternative | ||
| DejaVu Mono didn't cut it because of french quotes | |||
| lucs | Hard indeed to find good free fonts :/ | ||
| MinionPro and what-was-the-other-one look pretty nice, but they're non-free, right? | 18:12 | ||
| pronik | free to use, IIRC | ||
| come bundled with acrobat | 18:13 | ||
| MyriadPro is the other | |||
| lucs | Right. | ||
| But can we publish something using them? | |||
| pronik | I think so, even though I'd prefer not to | ||
| however, there are virtually no good fonts out there, so maybe we haven't got another chance | |||
| lucs | FOr technical, or legal reasons? | 18:14 | |
| pronik | more like purity reasons | ||
| "we are all open-source" and that stuff | |||
| i.e. I wouldn't push for non-free fonts | |||
| lucs | s/open-source/free/ </rms> | 18:15 | |
| pronik | but I personally wouldn't object either, as long as they're good looking | ||
| lucs | I lean more towards your side too. | ||
| pronik | ubuntu is gonna release some fonts soon, I wonder how they look in print | 18:16 | |
| lucs | (Note to self: cereal without enough milk tastes really dry :/ ) | ||
| pronik | lucs: so, onto your branch | 18:17 | |
| I' | |||
| damn | |||
| you are going to send a mail about it, right? | |||
| lucs | It's sent. | ||
| pronik | ah, you did already | ||
| so, my points about that | 18:19 | ||
| lucs | There were enough important changes compared to latex-tweaking that I though I might be better to make a new branch. | ||
| pronik | agree on the syntax highlighting -- moritz_ and I wanted to try a hackaton to put perl6 support into pygments | ||
| footers and headers -- gotta look at them more carefully, no idea what happened there | 18:20 | ||
| cargo cult killing -- definitely for it :) | |||
| lucs | :) | ||
| pronik | makefile -- I'm not sure about this one. Generally a good idea, I normally use rubber for that, but rubber is a) python and b) doesn't support xetex | 18:21 | |
| but it probably would be better to somehow link it to the upstream, so that we won't play catch-up | |||
| lucs | I've been using that makefile for a while, it usually works well. | ||
| pronik | but a low-prio for now, good that it's in there | ||
| test book -- great idea! | 18:22 | ||
| smart quotes -- I think I had them already, probably got lost with the cargo cult | |||
| lucs | (I also had to tweak the makefile to use xetex, so I may have broken it a bit -- nothing obvious though.) | ||
| pronik | and I'm also still completely unsure why we need same page numbering for letter and a4 | 18:23 | |
| same inner page dimensions will look wrong in both a4 and letter. And besides -- what if we introduce a a5 format? | |||
| lucs | Well, basically just so if someone says something like "I don't understand the code on page 42", everyon is on the same page. | 18:24 | |
| pronik | is "I don't understand the code in listing 5.12" better? | ||
| lucs | But yes, it's true, we end up with suboptimal dimensions in all paper sizes like that. | ||
| You know, I was thinking that one format that might really benefit from improvement is the HTML. | 18:26 | ||
| Not too many people will actually be printing a work-in-progress book, will they? | |||
| pronik | how many people would read a wip book anyway? ;) | ||
| But I'd prefer a PDF version, mostly because pod2html formatting uses the whole page width, which is rather painful to read | 18:27 | ||
| lucs | Well, at least it's cheap if it's just on the computer screen :) | ||
| Yeah, it would be nice to have an improved pod2html with css possibilities. | |||
| pronik | my build fails at hyperref :( | ||
| I've been thinking about extending Pod::Elemental to support PseudoPod | 18:28 | ||
| lucs | Oh, strange. You have hyperred in latex-tweaking. | ||
| pronik | I think it's more future-proof than current Pod::PseudoPod patching und subclassing | ||
| lucs | Er, hyperref | ||
| Ah. (never looked at Pod::Elemental) | 18:29 | ||
| I was thinking that we could have different rendering mechanisms by keeping all the LaTeX stuff in different branches (for example, layout-basic, layout-verywide, layout-tinypaper, whatever) which could be rebased onto master, where the authors just update the src/ directory. | 18:31 | ||
| (Note that I took out LaTeX stuff from latex-tweaking's src/) | 18:32 | ||
| pronik | moritz_ mentioned that chromatic was going to publish this book, so maybe it's time to ask chromatic how they are going to layout the whole thing | 18:33 | |
| maybe staying with clean html is the better way, if chromatic just layouts everything with (let's say) Scribus | 18:34 | ||
| lucs | And maybe the publisher can supply us with shiny fonts :) | ||
| pronik | I'd prefer PrinceXML anyway, but it's not free in any definition of "free" | ||
| but let's reiterate: if we put back headers and footers and throw out the paper dimensions (still leaving the possibility to choose paper size), we could merge this stuff to master, right? | 18:37 | ||
| then we can iteratively fix small problems like the tilde not showing etc | |||
| oh btw, maybe we could use the github issue tracker at last to note all of our visual problems | 18:38 | ||
| lucs | Did you get it to build? | 18:39 | |
| Note that it does have headers/footers, just not as nice as yours. | |||
| pronik | yes and no -- your xelatex tweaks didn't seem to work so I built this whole thing manually | 18:40 | |
| I'll look into patching it properly | |||
| lucs | And about the page dimensions, I guess it's okay for them to be different for different paper sizes. but I believe latex-tweaking's text width is much too big. | 18:41 | |
| Sorry about the build fail :( | 18:42 | ||
| I suppose it's not obvious what's wrong? | |||
| pronik | mostly hyperref | 18:43 | |
| because it sets pdflatex' options which are wrong for xelatex | 18:44 | ||
| code.google.com/p/latex-makefile/is...tail?id=67 | |||
| first thing we need to do is to introduce a Makefile.ini ;) | 18:45 | ||
| lucs | I wonder how come I don't have any problems... | 18:46 | |
| moritz_ | hm, now I get | 18:51 | |
| --- Using incorrect driver for hyperref! --- | |||
| Using pdflatex: specify pdftex in the hyperref options (or leave it blank). | |||
| lucs | Darn. I wonder what's different in my environment. | 18:56 | |
| pronik | moritz_: gonna fix that soon | ||
| lucs: it seems we can completely scrap our makefiles and use only the one by chris monson | 18:57 | ||
| lucs | Well, I liked the idea of keeping control on the top level build (for html for example). | 18:58 | |
| pronik | ok, fair enough | ||
| lucs | By the wat there are things I don't understand about CM's makefile, for example, it sometimes appears to rebuild the test book even though I'm asking for "make .../UsingPerl6.pdf". | 19:00 | |
| s/wat/way/ | |||
| (I did not have the patience to read the docs; lucs--) | 19:01 | ||
| pronik | you should be doing make UsingPerl6.tex | ||
| or wait, scrap that :) | |||
| lucs | Oh, that's done in our mak... Right :) | 19:02 | |
| CM's makefile seems to do a lot without being asked for it, which is +- :) | |||
| pronik is back in 15 minutes | 19:04 | ||
| lucs | Guys, I'll be leaving soon for the weekend (going to the country \\o/), so please do whatever you see fit with all this. | 19:05 | |
| I guess the test book is the most interesting feature; the rest, you guys decide. | |||
| pronik | will do :) | 19:06 | |
|
19:55
eternaleye joined
20:01
lucs joined
|
|||