/srv/irclogs.ubuntu.com/2010/05/22/#ubuntu-manual.txt

ChrisWoollarddutchie: ping00:35
ChrisWoollardOk..... It is late...... I am very tired..... I am going to bed.00:40
ChrisWoollardThank you all for your help today.00:40
godbyksee ya, ChrisWoollard00:41
Zeikehumphreybc, hello!03:28
ubuntujenkinsmorning o/08:09
* ubuntujenkins has rouged out 5/8 windows for quickshot. Then I have to make them look pretty08:54
ubuntujenkinsand i am having rough logo ideas08:57
* vish looks around , cant find the kiwi :s08:59
* ubuntujenkins feels like eating a kiwi fruit09:06
* thorwil adds malay, swedish and russian title page SVGs09:09
thorwilgodbyk: i will try to generate 2nd edition SVGs via search and replace. including making "Second Edition" visible, but that string needs translation afterwards09:19
thorwilgodbyk: i'm considering to not tweak the files for those translations that look like they will never get done, but still commit the files09:21
thorwilwhat's a good tool for multiple line search and replace?10:59
thorwilgodbyk: japanese and hebrew are our only right-to-left translations?13:16
thorwilwanted: tool to apply the diff of one set of files to a bunch of files that are not guaranteed to have the matches on the same line numbers13:18
ubuntujenkinsthorwil: and arabic13:22
ubuntujenkinsright to left13:22
thorwilubuntujenkins: thanks13:24
thorwilgodbyk: Arabic (ar) is broken, as it uses the normal template. i will fix the SVG manually.13:25
godbykI'm awake now.14:24
godbykthorwil: Ah, okay. The database I created with all those attribute (the sqlite db in the titlepages/ dir) only has a few entries.  It's definitely incomplete and nonexhaustive.14:24
dutchieit's getting quite warm here15:08
godbykIt's supposed to get quite warm here, too, this week.15:23
=== Guest70889 is now known as topografos
Sursthey16:06
godbykHello, Surst.16:07
Surstanybody who can help me with formatting the german version rigth?16:07
godbykSurst: Sure. What problems are you having?16:07
Surstfor example, on page 8 is some text running out of the site16:08
godbykAh, gotcha.16:08
godbykBefore we start fixing the formatting, have all the translations been verified as correct?16:09
godbyk(Once we start the formatting process, all the translations must be done in the .tex file directly -- we can't import from launchpad anymore.)16:09
Surstwell, this won't be a problem, I'm the only person whos actually working on the manual, if there are bugs in the translation, I could add them directly16:10
godbykOkay.16:11
godbykLet me update the translations in the bzr repository real quick.16:11
Surstcan you describe me in short the process, whats expecting me?16:11
Surstok16:11
godbykHave you installed TeX Live 2009 from upstream?16:11
godbykSurst: The next step will be to generate the .tex file.  Then all of your work from that point forward will be in editing the .tex file.16:11
godbykMost of the work will be in moving the \marginnote{...} text around so that it's in the right place and isn't falling off the page.16:12
Surstnope, I'm using the version in 10.04 and added the ccicons by hand16:12
godbykOkay. That may or may not work.  I haven't tested it for a while.  We'll give it a shot, though.16:13
Surstok16:13
godbykI've requested the translations from Launchpad. It takes a few minutes.16:13
godbykBut I will send you an email what I've updated the translations with some instructions.16:14
godbykThe shorthand version is that you'll run 'make ubuntu-manual-de.tex'.  Then you'll be editing the .tex file from then on.16:14
godbyk(You will want to commit the .tex file to the bzr repository, too.  Running 'make ubuntu-manual-de.pdf' will delete that .tex file, so don't do that. :-))16:15
godbykI'll email you a script you can use to compile the PDF.16:15
Surstcool, merci :)16:16
godbykSo far the only other translation that's gotten this far is the Greek one.16:17
godbykSo we're entering uncharted territory.  Things may get a little bumpy. :)16:17
Surstno problem, I like that :)16:17
godbykYou say that now... ;-)16:21
Surstah, problems are there to be solved ;)16:22
Surstan the more we do, the less have others to do :)16:22
godbykThat's true.16:24
godbykHere's a pad that we're keeping notes on for making this process easier as we go along: http://typewith.me/rE4pCABOXs16:24
godbykHey, thorwil16:27
Surstanother question (I already mentioned on the mailing-list): We need to change the quotationmarks the \application-command creates16:28
thorwilhi! made a bicycle tour with perfect conditions :D16:28
godbykthorwil: I just realized that we'll also need to create letter-size title pages for the translations (for the print editions).16:28
godbykawesome!16:28
godbykSurst: Okay. I'll take a look at that.  I thought I had done that for the German translation, but perhaps I just imagined it.16:29
godbyk(Too many translations!) :)16:29
godbykokay, Surst. I've updated the translations in bzr.  if you run 'bzr pull' you should get them.16:29
Surstgodbyk: no problem, just wanted to mention it16:29
thorwilgodbyk: we'll put every translation on lulu?16:29
godbykSurst: then you'll want to run 'make ubuntu-manual-de.tex'.  that'll generate the .tex file that you'll be editing.16:30
godbykthorwil: I s'pose.  And lulu doesn't seem to offer A4.16:30
Surstgodbyk: done16:31
thorwilgodbyk: if lulu is that international and the prices make sense ...16:31
godbykthorwil: oh, wait, it looks like they may offer A4. one moment.16:32
thorwilgodbyk: so what's ready now, besides english (where we have one title page for UK, US, AU)?16:32
godbykSurst: once you've created the .tex file, you'll want to open it in a text editor.  your first task will be to move the \marginnote{...} stuff so that the \marginnote command starts on the line in the main text that the note refers to.16:32
godbykthe \marginnote{} should not be in its own paragraph.16:33
godbykthorwil: Looks like German and Greek are next up.  Give me a moment to verify the A4/Lulu thing, though.16:33
godbykthorwil: It looks like they do offer it for the standard paper.16:34
godbyk(When I looked earlier, it must've been set to publisher grade paper.)16:34
thorwilgodbyk: no hurry. just send me an email with the required measurements for each translation that is ready for lulu, whenever the time comes16:34
* thorwil hits the shower16:35
godbykthorwil: Will do.  Once we get the final page count, I'll get you the dimensions for the wrap-around covers, too.16:35
Surstgodbyk: How to tell xelatex, to use the pictures in the rigth language?16:43
godbykSurst: Ah, I forgot. At the top of the .tex file you can change the polang from en_US to de.16:43
godbykI'll email you a script in a moment that'll take care of that for you.16:43
godbykSurst: I've emailed you the script.  Save it to the manual directory and run 'chmod 755 compile-de.sh'. Then run './compile-de.sh' to make the PDF.16:47
Surstok, merci :)16:48
Surstgodbyk: the script is running in a endless-loop16:53
godbykIt shouldn't run in a loop at all, though it does run the xelatex program 5-6 times. It may take a few minutes to finish.16:54
Surstah, good to know16:55
Surstwell, thought that 3 times would be enough, my mistka16:55
Surstwhy so often?16:56
godbykThe glossary adds another couple runs.16:57
godbykAnd I may have thrown in one or two more just to be safe. :)16:57
Surst:-D16:57
Surstso, if I just want to have a quick look, if all is alright, running the xelatex-command once by myself should be enough16:58
SurstI just get no references, right?16:58
godbykSurst: yep, that'll work.17:00
godbyksome of the cross-references won't be updated properly, but if you're just looking at the layout, it'll show you the updated text and positioning of the marginnotes, for instance.17:00
Surstthat's important atm17:02
Surstok, thank you so far17:04
Surstnow I know, what I'll be working on this weekend :)17:04
godbykMe, too. :)17:07
Surstgoodbye :)17:11
c7pwe have no meeting today, right?17:32
godbykc7p: Not that I'm aware of.17:35
ubuntujenkinsin http://paste.ubuntu.com/437936/ how would i search for "name: <alsa_card.usb-Logitech_Logitech_USB_Headset-00-Headset>" and then read the number that is in the line above in this case it is 2 but it changes each time i plug my headset in.18:46
godbyklemme look19:03
godbykubuntujenkins: it's probably easier to parse /proc/asound/cards19:04
godbyksomething like this:19:04
ubuntujenkinsgodbyk: not sure on that as i need the number for a pacmd commad19:04
ubuntujenkinsi have grep "name: <alsa_card.usb-Logitech_Logitech_USB_Headset-00-Headset>" -B 1 . I just need to read the first number on that19:05
godbykwhat cmd generated that output?19:05
godbyklemme verify it first, then I'll give you the command.19:05
ubuntujenkinspacmd list-cards19:06
godbykah, they don't line up.19:06
godbykokay here's the command:19:06
godbykpacmd list-cards | grep "alsa_card.usb-Logitech_Logitech_USB_Headset-00-Headset" -B1 | grep index | awk '{ print $2; }'19:08
godbykthat'll return '2' in your case19:08
ubuntujenkinsyey thanks godbyk, now to write the udev rule to make this work19:09
godbykcan't you write the udev rule based on the USB device ID instead? (Might be easier.)19:09
ubuntujenkinsthe udev rule will be biased on the usb id but, when it is plugged in it needs to set the headphones to my output and the mic to the input. Also turning up the volume in alsamixer19:10
dutchiei hope there is a bug report you're documenting this in...19:11
ubuntujenkinsI might do when i am finished i suppose. the audio comes out of the headset but adjusting the volume doesn't work19:12
godbykgotcha.19:13
ubuntujenkinsand the mic is not selected which i have to set as well.19:13
godbykha! my mom just left me a voicemail. "I just upgraded Ubuntu and now I can't move the X, the dash, and the box to the other side of the toolbar. Help!"19:15
ubuntujenkinshehe19:16
godbykNow I have to decide whether I should tell her to just get used to it (welcome to the future!), pick a theme that has the buttons on the right, or walk her through the gconf stuff.  Suggestions?19:17
ubuntujenkinshmm. get use to it is my favorate option. but theme is the easiest19:18
godbykyeah, I'm thinking 'get used to it' may be better for the long-run.  if they're going to put windicators and who-knows-what-else on the rhs.19:19
ubuntujenkinsgood point i forgot the windicators19:20
godbykbrb. gonna give her a call.19:20
ubuntujenkinsthere is a problem with the comman kevin if i run http://paste.ubuntu.com/437958/ it returns19:29
ubuntujenkins219:29
ubuntujenkinsand an empty line19:29
ubuntujenkinshow do i remove the empty line?19:30
* dutchie will carry out an experiment with his dad soon19:30
dutchiei will upgrade his computer from 8.10 to 10.04 and leave him with the manual19:30
dutchiewe will see what happens19:30
ubuntujenkinsI have told my sister that when she gets her laptop she is being given the manual and a live cd19:31
ubuntujenkinsI am not helping her19:32
c7phey godbyk I've sent you an email, have you checked it?19:59
godbykback now.20:08
godbykubuntujenkins: what blank line?  should just be "2" on its own line.20:09
godbykc7p: yeah, I did.  When you say 'nothing appears', what do you mean by that?20:09
godbykIf you email me the translations you put in for the REVISION_ stuff, I can try it here.20:10
ubuntujenkinswhen run the commands in http://paste.ubuntu.com/437958/ on the command line i get a blank line after the 2. I think thats causing the variable assignment not to work.20:10
godbykas for the small caps, it may be that there aren't small caps for the Greek letters. I'll look into it.20:10
godbykubuntujenkins: remove the space after the = and see if that helps20:11
c7pgodbyk: ok i will email you the translations20:11
godbykalso, you need to wrap it in $( and )20:11
godbykubuntujenkins: so: speakers=$(pacmd list-cards | grep "alsa_card.usb-Logitech_Logitech_USB_Headset-00-Headset" -B1 | grep index | awk '{ print $2; }')20:11
ubuntujenkinsok that works thanks godbyk20:14
ubuntujenkinsyey now i have a script that works. just to write the udev rule.......20:19
ubuntujenkinsafter revision20:20
godbykc7p: A couple things: 1. make sure that your translated text is in quotation marks and remove the space around the equals sign.  It should look something like: REVISION_NUMBER="ΑΡΙΘΜΌΣ_ΑΝΑΘΕΏΡΗΣΗΣ"20:20
godbykc7p: 2. The text should be in sentence case -- that is, the first word is capitalized, but the remainder are lowercase.20:20
c7pgodbyk: ok, I'm compiling the pdf now and I will tell you the results20:23
godbyk'kay.20:25
c7pgodbyk: now there are is no numbers and words regarding these two, brb20:32
c7pgodbyk: that's the lines if you want to check them REVISION_NUMBER="Αριθμός αναθεώρησης"20:32
c7pREVISION_DATE="Ημερομηνία αναθεώρησης", brb20:32
godbykokay. I'll try it here.20:33
godbykc7p: Ah, bzr doesn't like non-ASCII stuff.  Not a problem. I'll have the script do it another way and send you a new script in a few minutes.20:34
godbykc7p: I've sent you the new script.20:47
godbykbrb20:48
godbykback now21:00
thorwilyour backness shall be noted, laid down to history in this humble log21:04
* ubuntujenkins adds his struggling to understanding how to do the mechanics question to the log21:05
dutchieyay, mechanics21:05
dutchiei have a differential equations exam on monday :(21:05
ubuntujenkinsa whole exam on that ouch!21:06
ubuntujenkinsgood luck :)21:06
godbykYou mechanical engineers.. all you do is sit around and manipulate matrices.. you don't fool me!21:06
ubuntujenkinswhat ever :P we do hard stuff21:06
godbykWhatever you wanna tell yourself... ;-)21:07
thorwili'm so clever :/  replacing the wave of friends with version that takes the geometry from the new logo, i now have to match the same spacing between the dots, or i would have to shift everything in all title page files21:09
godbykheh21:10
godbykI think I'm going to sit across the room and read a book for a bit. Feel free to ping me if you need something.21:10
c7pback21:26
c7pgodbyk: I'm testing it now21:26
godbykk21:27
c7pgodbyk: yeah now the revision stuff is printed21:31
c7pgodbyk: but not the index :)21:31
godbykc7p: Run: xindy -C utf8 -M texindy -L greek ubuntu-manual-el.idx21:34
godbykand tell me if it prints an error msg21:34
c7pgodbyk: nope :) everything looks fine21:35
godbykyou should get an index in your pdf, then.21:35
c7pgodbyk: :O yes there is an index, i need vacations ...21:36
godbykah, okay. :)21:36
c7pcould the revision date be printed on the next line ?21:38
godbykWe could if we needed to.  Is it too crowded on the one line?21:39
c7pyes21:40
godbykokay, I'll make a note and fix that later.21:41
c7pok21:41
c7pmessage from topo: Should the "Bera Mono" font replaced with the "DejaVuSansMono" on the colophon ?21:42
godbykHmm.. probably. I'll add that to my list.21:43
c7pso i don't have to make any changes on the tex file21:44
godbykNot at the moment.21:44
godbykI21:44
godbykI'll have to look into the font and write some text for you to translate first.21:45
c7pok21:45
dutchiegodbyk: did you file a bug re: lp eating the translations?21:45
godbykdutchie: nope.  not sure what to say about it, really.21:45
godbykthe original problem we had (during UDS) is a known bug, apparently.21:45
godbyk(I don't have a bug number, though.)21:46
ChrisWoollardI filed this https://bugs.edge.launchpad.net/launchpad/+bug/58403521:46
dutchiewhat about the one ChrisWoollard is seeing now?21:46
dutchieah21:46
ChrisWoollardThat isn't the original bug.21:46
ChrisWoollardI just filed that yesterday21:47
dutchieright, i'll subscribe the team21:47
ChrisWoollard hope they fix it. It is really annoying21:51
dutchieyes21:51
ubuntujenkinsnight all22:02
ChrisWoollardNight all.22:28
c7pnight ChrisWoollard22:29
c7pnight all23:19
dakergodbyk, ping23:29
godbykdaker: pong23:29
dakerhave you heard about zeditor ?23:29
godbyknope23:30
dakerwww.siteduzero.com23:30
dakerit's a frensh website which contains tutorials23:30
dakerand the member uses en editor called "Zeditor"23:31
dakeran XUL app23:31
godbykcool23:31
dakerhttp://www.siteduzero.com/tutoriel-3-61374-guide-d-utilisation-de-zeditor.html23:31
dakeryou can see screenshots there23:31
godbykneat.23:33
godbykwe'll have to keep something like that in mind.23:33
dakeryeah23:34
dakergodbyk, ubuntu.com will get updates or not ?23:46
godbyk?23:46
dakerthey will change the design ?23:47
godbykyeah, they're supposed to.23:47
daker:D23:48
* daker is playing PACMAN on google homepage23:55

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