shaunm | mdke: ping | 16:01 |
---|---|---|
mdke | shaunm: (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 |
shaunm | wow, freaky | 16:01 |
shaunm | oh, auto-reply | 16:01 |
shaunm | mdke: can you point me to the xslt customization you guys use for the web? | 16:02 |
shaunm | I'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 you | 16:03 |
shaunm | I've added two stub templates for customizations: one to insert extra links (or whatever) at the beginning of each trail | 16:37 |
shaunm | and one that's called if there are no trails to output (i.e. mal.link.linktrails returns nothing) | 16:37 |
shaunm | I'm pretty sure that's exactly what you need to get the extra site links without overriding non-stub templates | 16:38 |
=== jjesse_ is now known as jjesse | ||
elz89 | I can't get the italic docbook tag to work? | 22:02 |
elz89 | I'm doing <emphasis role="italic">ethX</emphasis> | 22:02 |
nuno | hello there good evening | 22:47 |
elz89 | hi nuno | 23:01 |
nuno | elz89: hi elz :) | 23:02 |
nuno | elz89: i would like to contribute to the community by translating things, how can i do that? | 23:03 |
nuno | elz89: 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 |
elz89 | nuno: 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 |
shaunm | elz89: how are you viewing the docbook file? | 23:06 |
nuno | elz89: I'm Portuguese, and i'm bilingual, ENG/PT. That's where i can contribute most | 23:07 |
elz89 | shaunm: leafpad | 23:07 |
nuno | elz89: i will thanks :) | 23:08 |
elz89 | nuno: like I said, stick around buddy, someone will point you in the right direction. | 23:08 |
shaunm | elz89: I'm confused. that's a text editor, yes? | 23:08 |
elz89 | yes | 23:08 |
elz89 | what should I be using? | 23:08 |
nuno | elz89: Thank you | 23:08 |
shaunm | I'm just not sure what you mean by not being able to get <emphasis> to work | 23:08 |
elz89 | <emphasis role="italic">ethX</emphasis> | 23:09 |
elz89 | does not make ethX italic? | 23:09 |
shaunm | yes, when docbook is rendered to some format like html. in leafpad, you're just seeing the markup | 23:09 |
elz89 | I am talking about after render. | 23:10 |
shaunm | and the role attribute isn't necessary. every docbook processor I know of does italic by default for emphasis | 23:10 |
elz89 | shaunm: well I'm new to this so... | 23:10 |
shaunm | it's cool | 23:10 |
shaunm | sorry, 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 run | 23:11 |
shaunm | does it show what commands it's running when you do that? | 23:12 |
shaunm | possibly an xsltproc command? | 23:12 |
elz89 | yes i installed that package | 23:12 |
elz89 | and bzr docbook docbook-xsl xsltproc | 23:13 |
shaunm | does it print the entire command it's using? | 23:13 |
elz89 | I could pastebin the entire command? | 23:13 |
shaunm | there are two completely separate sets of docbook->html xslt transforms that are probably installed on your system | 23:13 |
elz89 | after 'make serverguide' ? | 23:13 |
shaunm | that would be great | 23:13 |
shaunm | yeah | 23:13 |
elz89 | ok | 23:14 |
elz89 | shaunm: gimme a min, on an Atom :-P | 23:14 |
elz89 | pastebinit clipped it at line 41 but here is the start http://paste.ubuntu.com/743731/ | 23:22 |
elz89 | nuno: do you have a launchpad account? | 23:23 |
nuno | elz89: no can you please tell where to register one? | 23:23 |
elz89 | nuno: take a look at this, but grab yourself an account first: https://translations.launchpad.net/+groups/ubuntu-translators | 23:23 |
shaunm | hum, I guess I'd have to know what ubuntu-html-chunk-cust.xsl is calling | 23:24 |
nuno | elz89: thanks elz ;) | 23:24 |
shaunm | where's mdke when you need him? :) | 23:24 |
elz89 | shaunm: sorry. | 23:24 |
elz89 | nuno: No problem buddy. | 23:25 |
shaunm | oh, that's interesting | 23:27 |
elz89 | shaunm: ??? | 23:27 |
shaunm | docbook-xsl will actually not do the default italic formatting for any unrecognized roles | 23:28 |
shaunm | drop the attribute. that should work | 23:28 |
elz89 | shaunm: but sometime I use "bold" ? | 23:28 |
shaunm | yeah, so use role="bold" when you want bold, but don't use a role attribute when you just want italic | 23:29 |
shaunm | (I'm kind of surprised the code works that way, but it does) | 23:29 |
elz89 | shaunm: I have been using this and only this so far... https://wiki.ubuntu.com/DocumentationTeam/DocbookTags | 23:30 |
shaunm | interesting | 23:30 |
elz89 | shaunm: so am I not using the version of DocBook that the page and tags refer to then or?... | 23:31 |
shaunm | it's not so much a different version of DocBook | 23:31 |
shaunm | honestly, I've never seen anybody use role="italic" anywhere. I'm surprised to see it on that page | 23:32 |
shaunm | I do know that the other docbook->html transforms, the ones that are used inside yelp, work differently. role="italic" will work in yelp | 23:32 |
shaunm | (although it's still unnecessary) | 23:32 |
shaunm | so perhaps the person who wrote that page always used yelp to view docbook | 23:33 |
elz89 | on that page it says <emphasis role="italic">ethX</emphasis> it right, right? | 23:33 |
shaunm | I would just use <emphasis>ethX</emphasis> | 23:33 |
elz89 | shaunm: ok | 23:33 |
elz89 | shaunm: 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 |
elz89 | nuno: how is it going with launchpad? | 23:36 |
shaunm | elz89: no, not really. a docbook document generally has to be processed as a whole | 23:37 |
nuno | elz89: i just registered, and found a translation group | 23:37 |
elz89 | nuno: I gave you the link to the translation group? | 23:38 |
shaunm | you could just try reading the document in yelp though. yelp is generally faster than docbook-xsl | 23:38 |
nuno | elz89: am i going in the right track? | 23:38 |
elz89 | shaunm: ok, no problem. | 23:38 |
nuno | on the page it said to look for my local translation group | 23:39 |
elz89 | shaunm: now that is where I get lost | 23:39 |
nuno | elz89: oh i already messed up? :D (facepalm) | 23:39 |
elz89 | nuno: ok, maybe it does, I am not to sure as far translation stuff goes. | 23:39 |
nuno | in the PT translation group? | 23:40 |
elz89 | nuno: 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 |
nuno | elz89: ok already got the account registered :) | 23:41 |
elz89 | nuno: good lad | 23:41 |
elz89 | pgp next | 23:41 |
elz89 | keys etc... | 23:41 |
elz89 | don't worry about ssh for docs. (or so I have been told) | 23:41 |
nuno | elz89: ;) | 23:41 |
elz89 | shaunm: 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!