/srv/irclogs.ubuntu.com/2011/11/19/#ubuntu-doc.txt

shaunmmdke: ping16:01
mdkeshaunm: (In case I'm not around at the moment, please provide a bit of information about what you want and I will respond when I get back)16:01
shaunmwow, freaky16:01
shaunmoh, auto-reply16:01
shaunmmdke: can you point me to the xslt customization you guys use for the web?16:02
shaunmI'm making some changes to mal2html.page.linktrails to make it easier to customize. I remember you have customizations for it, so I want to make sure my changes make things better for you16:03
shaunmI've added two stub templates for customizations: one to insert extra links (or whatever) at the beginning of each trail16:37
shaunmand one that's called if there are no trails to output (i.e. mal.link.linktrails returns nothing)16:37
shaunmI'm pretty sure that's exactly what you need to get the extra site links without overriding non-stub templates16:38
=== jjesse_ is now known as jjesse
elz89I can't get the italic docbook tag to work?22:02
elz89I'm doing <emphasis role="italic">ethX</emphasis>22:02
nunohello there good evening22:47
elz89hi nuno23:01
nunoelz89: hi elz :)23:02
nunoelz89: i would like to contribute to the community by translating things, how can i do that?23:03
nunoelz89: i'm a Ubuntu/Linux noob actually, but, i loved the OS so much that i want to take part of the project and help in anything i can :)23:04
elz89nuno: OK, stick around. I am new to this all myself, but I am working on the 12.04 LTS Server Docs at the moment. Hopefully someone can advise you further.23:06
shaunmelz89: how are you viewing the docbook file?23:06
nunoelz89: I'm Portuguese, and i'm bilingual, ENG/PT. That's where i can contribute most23:07
elz89shaunm: leafpad23:07
nunoelz89: i will thanks :)23:08
elz89nuno: like I said, stick around buddy, someone will point you in the right direction.23:08
shaunmelz89: I'm confused. that's a text editor, yes?23:08
elz89yes23:08
elz89what should I be using?23:08
nunoelz89: Thank you23:08
shaunmI'm just not sure what you mean by not being able to get <emphasis> to work23:08
elz89<emphasis role="italic">ethX</emphasis>23:09
elz89does not make ethX italic?23:09
shaunmyes, when docbook is rendered to some format like html. in leafpad, you're just seeing the markup23:09
elz89I am talking about after render.23:10
shaunmand the role attribute isn't necessary. every docbook processor I know of does italic by default for emphasis23:10
elz89shaunm: well I'm new to this so...23:10
shaunmit's cool23:10
shaunmsorry, that's what I was asking about. what tool are you using to render docbook to what?23:11
elz89'make serverguide' is what i run23:11
shaunmdoes it show what commands it's running when you do that?23:12
shaunmpossibly an xsltproc command?23:12
elz89yes i installed that package23:12
elz89and bzr docbook docbook-xsl xsltproc23:13
shaunmdoes it print the entire command it's using?23:13
elz89I could pastebin the entire command?23:13
shaunmthere are two completely separate sets of docbook->html xslt transforms that are probably installed on your system23:13
elz89after 'make serverguide' ?23:13
shaunmthat would be great23:13
shaunmyeah23:13
elz89ok23:14
elz89shaunm: gimme a min, on an Atom :-P23:14
elz89pastebinit clipped it at line 41 but here is the start http://paste.ubuntu.com/743731/23:22
elz89nuno: do you have a launchpad account?23:23
nunoelz89: no can you please tell where to register one?23:23
elz89nuno: take a look at this, but grab yourself an account first: https://translations.launchpad.net/+groups/ubuntu-translators23:23
shaunmhum, I guess I'd have to know what ubuntu-html-chunk-cust.xsl is calling23:24
nunoelz89: thanks elz ;)23:24
shaunmwhere's mdke when you need him? :)23:24
elz89shaunm: sorry.23:24
elz89nuno: No problem buddy.23:25
shaunmoh, that's interesting23:27
elz89shaunm: ???23:27
shaunmdocbook-xsl will actually not do the default italic formatting for any unrecognized roles23:28
shaunmdrop the attribute. that should work23:28
elz89shaunm: but sometime I use "bold" ?23:28
shaunmyeah, so use role="bold" when you want bold, but don't use a role attribute when you just want italic23:29
shaunm(I'm kind of surprised the code works that way, but it does)23:29
elz89shaunm: I have been using this and only this so far... https://wiki.ubuntu.com/DocumentationTeam/DocbookTags23:30
shaunminteresting23:30
elz89shaunm: so am I not using the version of DocBook that the page and tags refer to then or?...23:31
shaunmit's not so much a different version of DocBook23:31
shaunmhonestly, I've never seen anybody use role="italic" anywhere. I'm surprised to see it on that page23:32
shaunmI do know that the other docbook->html transforms, the ones that are used inside yelp, work differently. role="italic" will work in yelp23:32
shaunm(although it's still unnecessary)23:32
shaunmso perhaps the person who wrote that page always used yelp to view docbook23:33
elz89on that page it says <emphasis role="italic">ethX</emphasis> it right, right?23:33
shaunmI would just use <emphasis>ethX</emphasis>23:33
elz89shaunm: ok23:33
elz89shaunm: because the 'make serverguide process takes ages, is there a way to only rebuild the 'network-config.xml' page that I am working on?23:36
elz89nuno: how is it going with launchpad?23:36
shaunmelz89: no, not really. a docbook document generally has to be processed as a whole23:37
nunoelz89: i just registered, and found a translation group23:37
elz89nuno: I gave you the link to the translation group?23:38
shaunmyou could just try reading the document in yelp though. yelp is generally faster than docbook-xsl23:38
nunoelz89: am i going in the right track?23:38
elz89shaunm: ok, no problem.23:38
nunoon the page it said to look for my local translation group23:39
elz89shaunm: now that is where I get lost23:39
nunoelz89: oh i already messed up? :D (facepalm)23:39
elz89nuno: ok, maybe it does, I am not to sure as far translation stuff goes.23:39
nunoin the PT translation group?23:40
elz89nuno: no not messed up, i'm just not 100% sure where you should be heading, just get a launchpad account for now, get your keys sorted etc...23:40
nunoelz89: ok already got the account registered :)23:41
elz89nuno: good lad23:41
elz89pgp next23:41
elz89keys etc...23:41
elz89don't worry about ssh for docs. (or so I have been told)23:41
nunoelz89: ;)23:41
elz89shaunm: could you help me to understand the difference between yelp and docbook-xsl. I have only just got going with this, and I want to start off on the right foot.23:48

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