Amarok Manual

Jump to: navigation, search

Sorry for not explaining this earlier.

The script is trying to build bijection between two markups. To be clear, the problems with your last edits are as follows

  1. Script assumes that each raw of the table begins with "| ". Adding <translation> tag gives the XML output "|
    Message" That moves Message outside the table in the converted docbook
  2. KDE docbook commands subset does not have command to scale columns (although generic docbook does). This breaks the current parser (it thinks that "| width="75%" |" is the cell content).
  3. <br /><br /> is not parsed at all (<para></para><para></para> just triggers the warning).

Surely these problems can be fixed by improving the script. Any help will be appreciated. Instructions can be found here.

P.S. Docbook syntax does not allow using images in captions to images. Please avoid using images templates in the captions. Thanks.

Yurchor11:03, 24 September 2011

Thanks, this is helpful.

How does KDE docbook handle tables? Is it possible to give some hint of what the column width should be? Could we make, say, 4 colums and then merge 3 of the (an ugly kludge, off course, but if it works...). Or should we avoid tables all together?

Claus chr11:15, 24 September 2011

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in one of the groups: Users, Administrators, trusted, KDEDevelopers.

You can view and copy the source of this page.

Template used on this page:

Return to Thread:User talk:Yurchor/Amarok Manual/reply (3).

Edited by author.
Last edit: 14:05, 24 September 2011


The table width doesn't seem to be as big an issue as I thought. At least when the uploaded images have a sensible size, tables seem to adjust to them nicely.

I tried one more time to make a table to solve the problem, but in a test page User:Claus_chr/Test. Would this work? (apart from the <br /> problem - I havent found out what to do about that yet.)

Update: As a matter of fact I don't need the br tags at all - I just misread the wikimedia docs.

PS. Anne and I was wondering about your comment about images in captions. As far as we know there never was an image in any caption. What are we missing here?

Claus chr11:55, 24 September 2011

Q: Would this work? A: No. See 1. Can you keep the pipe ("| ") in one unit with the rest of the cell? If you do, then modified script can give something like this.

P.S. I should concentrate on my report now. Can we discuss the rest later? Thanks for your answer.

Yurchor12:57, 24 September 2011

Thanks for your help. We'll have to put on out thinking hats for a while. We'll talk again later.

Claus chr14:31, 24 September 2011