# /srv/irclogs.ubuntu.com/2010/09/03/#ubuntu-manual.txt

nisshh godbyk nisshh === Omega is now known as |Omega| === |Omega| is now known as LeonhardEuler === LeonhardEuler is now known as KarlMarx === KarlMarx is now known as Omega godbyk: ping 07:31 nigelb: pong 07:32 ??? 07:32 nisshh: err.. pong 07:32 nigelb: sorry. IGNORE ME!  :) 07:32 lol 07:32 * godbyk damns xchat's nick-completion. 07:32 haha 07:33 Usually 'ni' is enough to get 'nisshh', but not today. :) 07:33 godbyk: i just noticed that the multicol command, when used, has a fixed verticle height 07:33 hehe 07:33 is there a way of changing it? 07:34 It's not a fixed vertical height -- it just balances the columns so they're all the same height (or as close as is possible). 07:35 ah 07:35 that is seriously annoying 07:35 godbyk: is there a way of making it not do that? 07:35 Can you show me the output you have currently and explain what you'd like to see instead? 07:37 There are parameters you can adjust, but it depends on what you want. 07:37 ah 07:37 ok 07:37 screenshot? 07:37 that'll work 07:37 ok one sec 07:38 godbyk: http://imagebin.org/112490 07:40 each column carries over to the next, which is not what i want 07:41 because of the "keep them the same height" rule 07:41 nisshh: Ah, I see what you're trying to do. 07:44 Okay, multicols probably isn't the best way to accomplish what you want, but I think it can be made to work. 07:44 right 07:44 first, use \begin{multicols*} instead of \begin{multicols}. 07:44 that'll tell it not to balance the columns. 07:44 ok 07:44 Next, use \columnbreak to start a new column. 07:45 See if that gives you the desired result. 07:45 If not, there are a couple other parameters we can toy with. 07:45 ok 07:46 godbyk: do i use \end{multicols*} as well? 07:46 yep 07:46 \begin and \end must always match. 07:46 Otherwise LaTeX will freak out on ya. 07:46 sure 07:46 godbyk: ok, that works pretty well, but now the code underneath the headings gets indented 07:51 The code underneath the headings? 07:52 like 07:52 Addition: 07:52 then 07:52 code here 07:53 Ah. 07:53 Do have a blank line between "Addition:" and \begin{terminal}? 07:53 no 07:53 is it only the first line that is indented? 07:54 no 07:55 whole lot 07:55 hang on, ill get another screenie 07:55 'kay. 07:55 godbyk: http://imagebin.org/112491 07:57 Okay, so the code below Addition *isn't* indented, but all th other code is. 07:58 yea 07:58 In the source code, is there any blank lines between Subtraction: and the \begin{terminal} lines? 07:58 no 07:58 interesting 07:59 the whole lot is there with no blank lines 07:59 try putting \noindent directly in front of the \begin{terminal} lines.  see what effect that has (if any). 07:59 in front of? 08:00 you mean before or after? 08:00 before. 08:00 ok 08:00 Like: \noindent\begin{terminal} 08:00 ah ok 08:01 did that do anything? 08:01 hang on 08:03 godbyk: my computer is slow, takes a good 30-40 seconds to compile the manual 08:03 np 08:03 the noindent command does nothing 08:04 godbyk: ^^^ 08:05 okay 08:06 can you send me your .tex file? (Or point me to the repository?) 08:06 I'll take a look at it and try a few things. 08:07 ok, one sec ill push 08:07 right 08:07 If you're going to be using examples like this often, it might be good to have an examples environment (like \begin{examples}..) 08:07 godbyk: yea, that would be good 08:08 godbyk: https://code.launchpad.net/~ubuntu-developer-manual/ubuntu-developer-manual/trunk 08:09 its all in there 08:09 the file with the code we were just working on is, python-crash-course/python-crash-course.tex 08:10 nisshh: Okay. Let me take a look. 08:14 nisshh: How's the manual coming along otherwise? 08:15 godbyk: not too bad, me and Rick are in the process of shortening this chapter, other than that i have to catch up with jenkins and the other authors and see where they are at 08:16 godbyk: i dont think we will get a maverick release out though, if we do, it will be so so close 08:16 right. 08:17 at this point, I'm wondering if the getting started guide will be released at the same time as maverick. :-) 08:18 I haven't seen much activity in bzr yet. 08:18 yea 08:18 godbyk: iv fixed all the outstanding bugs for maverick 08:18 sometime im going to go through and update some of the sections 08:19 someone has to do it soon right? 08:19 otherwise there is no hope with bens crazy schedule 08:19 definitely soon, I hope. 08:22 I know. 08:22 Okay, to fix your problem, put blank lines around the \columnbreak command. 08:22 ok 08:22 So it should be like: 08:23 \end{terminal} 08:23 08:23 \columnbreak 08:23 08:23 yep 08:23 Next heading: 08:23 \begin{terminal} 08:23 ... 08:23 yea 08:24 did that work? 08:25 godbyk: yep, did the trick 08:26 cool 08:26 godbyk: there are craploads of examples in that chapter alone, what were you saying about having its own environment? 08:28 nisshh: Well, if you're having to use some commands over and over again, it's handy to bundle them together with a new command. 08:51 godbyk: yea 08:52 jenkins: hey 09:56 hey nisshh 09:58 jenkins: would you be interested in giving a session at Ubuntu App Dev Week? 09:59 jenkins: i just added myself and then i thought of quickshot :) 09:59 you could do a showcase on quickshot 10:00 I don't think I have time atm I am afraid, I am usually at work in the day and I am unsure I have the knowledge 10:00 when is it? 10:00 end of this month 10:00 hmm, thanks for the thought but I don't think i can commit at the moment 10:01 sessions are between 1500 and 1900 UTC 10:01 hmm, thats too bad 10:01 I will keep it in mind 10:01 jenkins: cool 10:02 it just I have a commute every day and I get very worn out with work :( 10:02 fair enough 10:03 let me know if you change your mind 10:03 will do 10:03 :) 10:03 quickshot is on revison 300 10:09 nice 10:10 nisshh, can you link to this App Dev Week thing? 15:23 I'm not sure I'm willing to participate, but it sounds interesting, from its title. 15:23 flan: hang on a sec 15:29 flan: https://wiki.ubuntu.com/UbuntuAppDeveloperWeek there 15:31 How do you plan to present Pytask? 15:34 flan: well, Pytask is my app that i developed, so i plan to show how i found quickly and quickly-widgets and how Pytask uses all these API's and such and just how easy it was to put together 15:35 * flan dislikes Quickly. 15:36 so sort of, here is my app, here is what i used, any questions? 15:36 that kind of thing 15:36 I kinda doubt Quickshot would work well for a crash-course-style introduction. Explaining the Pylons model would take quite a while. :( 15:36 flan: its still pretty new, but extremely easy to use 15:36 I mean I dislike it because I'm a control-freak. 15:37 ah ok 15:37 I admire what it's trying to do, in the same way that I admire Ubuntu for the role it plays in introducing people to a stable, friendly Linux-based environment. 15:37 -comma 15:37 yea 15:38 I'll always go back to doing things with Debian and tools I've picked myself in the end, however. 15:38 flan: yea, i mainly use quickly because it makes it easy to release and package stuff 15:38 other than that, it holds my app together, and for that its great 15:39 * flan feels that things like Quickly and IDEs form bad habits and introduce crutches that'll ultimately hold some people back. 15:39 flan: i use vim, not an IDE :) 15:39 Not all people, of course. Some wouldn't get very far without such things. 15:39 i hate IDE's 15:39 true 15:40 I've found myself using gedit more and more. 15:40 yea 15:40 I used to use Bluefish almost exclusively. 15:40 gedit is great 15:40 I'm a nono person, though. 15:40 nano? 15:40 I'm comfortable with vi/vim, but switching between the two modes still just doesn't feel natural to me. 15:40 Yes, nano. 15:40 flan: once you use it for long enough and watch a pro vim user use it, you will never want to use another editor ever again 15:41 If vi had a hold-ctrl-to-temporarily-engage-command-mode, with interactive mode being the default at all other times, I'd probably use it more. 15:41 Oh, I know how powerful it can be. 15:41 yea 15:41 It's just not compatible with the way I think. 15:41 i dont like emacs or nano very much 15:42 exactly 15:42 godbyk, ping 16:19 nisshh, do you see any value in, perhaps, having me prepare a session related to Quickshot (or something else I've built) over polishing it for release alongside the manual? 16:54 http://sphotos.ak.fbcdn.net/hphotos-ak-ash2/hs201.ash2/46435_978696008291_10004301_54742894_4873761_n.jpg 16:58 flan: yea, if it has anything to do with app development, or is an app like Pytask or quickshot, go for it 16:59 I meant, like, would it benefit others more than the cost to the project itself. 17:00 flan: although, im not going to present the session for you, you will have to do that 17:00 Aww... =P 17:00 Yeah, I know. 17:00 hehe 17:00 cost to the project itself? 17:00 I'm just not sure I can present effectively in a group setting. 17:00 Less time to document, refine, and polish it for release alongside the manual. 17:01 flan: your presenting to a bunch of dev noobs, they wont criticize you :) 17:01 flan: its a one hour session thats happening in just under 3 weeks, and it only happens once each cycle 17:02 its not going to cost the project mucyh time 17:02 shoudnt take you long to figure out the session content 17:02 I'd probably need jenkins with me... I have a tendency to be condescending, even though I don't often mean to act that way. :( 17:02 hehe 17:02 jenkins said he will be too busy 17:03 flan: if you prepare the session, id be happy to co-lead it with you 17:03 i just dont want to present it FOR you 17:03 jenkins seemed to imply he wouldn't be able to prepare for it. 17:06 I'll speak with him. 17:06 I don't mind putting together materials and a plan. 17:06 I'm just not sure I can lead a discussion if nobody's asking questions. 17:07 flan: bah!, youll be fine! :) 17:08 flan: its not a discussion, you teach them, and they ask questions if they want 17:08 That's what I'm afraid of. =P 17:08 why? 17:08 I'll look into tentatively taking one of the Friday slots. 17:09 fair enough 17:09 I work best when people are engaging me. 17:09 ah, ok 17:09 flan: whatever the case, it wont be as bad as you think :) 17:09 Who would I speak to about claiming a slot? 17:10 Or do we just edit the wiki? 17:13 flan: just edit the timetable on the wiki 17:19 flan: if you want to know more get in touch with dholbach 17:20 === mrjazzcat is now known as mrjazzcat-afk hey all 20:01 flan: ping 20:01 === shrini1 is now known as shrini === mrjazzcat-afk is now known as mrjazzcat godbyk: Thanks for the wiki comment. 21:04 That doesn't matter. Anything is ok. A couple of lines would be good. 21:05 I have the membership meeting next week, so I am trying to collect them together. 21:05 It you don't have time, that is ok. 21:06 Doh, wrong window. 21:09 daker: pong 21:09 i need your help 21:10 for what? 21:10 django 21:10 ok 21:10 dutchie, i have this dict 21:11 http://bazaar.launchpad.net/~ubuntu-manual-website/ubuntu-manual-website/0.3/annotate/head:/languages.py 21:11 if you want to run the website 21:12 what do you want to do with that? 21:12 oki 21:12 so this list of languages should replace the default one 21:12 i can render it but i want to make in table of 2 or 3 columns 21:13 you see the result by running the website 21:14 $bzr branch lp:ubuntu-manual-website umpwebsite 21:14$ cd umpwebsite 21:14 \$ ./manage runserver 21:15 ImportError: No module named umpwebsite.urls 21:15 ah, nvm 21:16 what ? 21:17 i branched it to ubuntu-manual-website 21:17 ah 21:18 http://i.imgur.com/KqfdT.png 21:19 dutchie, have you understand what i mean ? 21:20 one moment 21:21 tyt 21:21 surely that's not really a django problem 21:22 (not having looked at the source) 21:22 instead of have only one column, i want to list them in 2 column 21:22 having* 21:22 i have 2 columns 21:22 actual on is just a test 21:23 one* 21:23 i'm not sure what you mean 21:27 oki give me a moment 21:28 i'm going out in a bit 21:31 oki 21:32 can't you just use more columns? 21:33 http://i.imgur.com/S2uDB.png 21:35 i want something like it 21:35 the languages dict should rendered in 3 columns 21:36 can you do that in CSSS? 21:36 or CSS 21:37 here is the languages.py 21:37 http://bazaar.launchpad.net/~ubuntu-manual-website/ubuntu-manual-website/0.3/annotate/head%3A/languages.py 21:37 it's passe to the template here 21:38 passed* 21:38 http://bazaar.launchpad.net/~ubuntu-manual-website/ubuntu-manual-website/0.3/annotate/head%3A/website/views.py#L17 21:38 normaly the "languages" dict should be displayed like this 21:40 {% for code, lang in langues.items %} 21:40 yes, i've followed the cod eok 21:40 have you understand what i want to explain ? 21:41 yes 21:42 explain :D 21:42 so i'll be sure you understand 21:42 i don't think it's really something that you need to understand django for 21:43 going out now, sorry i couldn't really help 21:46 oki nop 21:46 === _thumper_ is now known as thumper

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!