/srv/irclogs.ubuntu.com/2010/08/29/#ubuntu-doc.txt

slacker_nlhello, any docbook specialists available?18:18
mdkeslacker_nl: I'll give it my best shot18:44
slacker_nlmdke: i have a man page in docbook format, and I want to include some bits and pieces, eg copyright info/authors etc18:51
slacker_nlhttp://pb.opperschaap.net/26618:51
slacker_nlbut it doesn't show any author and/or copyright info18:51
mdkethat looks a little weird to me18:53
mdkehave you tried moving this bit inside the xinclude tag instead of in the authorgroup tag?18:53
slacker_nlyes18:53
mdkedamn, I can't copy and paste18:54
mdkelike this18:54
mdkehttp://pb.opperschaap.net/26918:54
mdkeand run a validation check over your xml file like18:55
mdkexmllint --noout --xinclude --noent --postvalid file.xml18:56
mdkesee if you get any results18:56
slacker_nlhttp://pb.opperschaap.net/27018:57
slacker_nli get the results i'm expecting, the xmllint doesn't like the fact that the authorgroup has multiple authors18:58
slacker_nl<author> .. </author> <author> .. </author> etc etc, same for copyright.xml with <year> .. </year>18:58
mdkeyou can have multiple authors in authorgroup18:59
mdkethat's sort of the point18:59
slacker_nl:) I know18:59
mdketry putting your authorgroup inside the separate xml tag instead of in your main file19:00
mdkeditto for copyright19:01
mdkei think xinclude requires that the file you are including has a complete tag in it19:01
slacker_nlno dice19:07
slacker_nlxmllint doesn't complain, yet it doesn't show anything in the manpage19:07
mdkehow are you viewing it?19:09
mdkeI suppose you could also put everything in the main file rather than separate it out and see if that works. At least then you know what is causing the problem19:10
slacker_nlmdke: via man ./$outputfile19:11
slacker_nlmdke: i know that it works if I put everything in the main file - that's how I started it19:12
slacker_nlbut I don't want to update authors/copyright etc in multiple files19:12
mdkeI don't know how man displays xml. if xmllint isn't complaining, then there isn't an issue with the xml19:13
mdkeperhaps man doesn't support xinclude?19:13
slacker_nli'm using docbook2x-man and xsltproc to create the man page19:13
slacker_nlthis is the output of xsltproc19:14
slacker_nlhttp://pb.opperschaap.net/27119:14
mdkeI think i've run out of ideas I'm afraid19:16
mdkesorry19:16
mdkeyou're using "xsltproc --xinclude" I guess?19:17
slacker_nlnope, without19:17
mdkeah, that might be it19:17
mdkeyou need that19:18
slacker_nlmm19:18
slacker_nlty, now see if docbook2x-man has similar options19:18
mdkebbl19:20
=== Zeike is now known as brandonj
=== Zeike is now known as brandonj

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