Amarok Manual

Jump to: navigation, search
Revision as of 24 September 2011 at 11:15.
The highlighted comment was created in this revision.

Regarding the latest edit of Amarok/Manual/AmarokWindow/PlaylistPane:

Could you please explain what the problem with the recent changes to the Amarok pags was. It is a problematic page, and we need to do something about the placing of images. Anne and I have been trying to make things look decent with little success. The latest attempt using a table is the only thing that has even come close to solving anything.

I agree, of course, that docbook conversion has top priority. Does that mean that we can't use tables for this kind of thing? Perhaps we simply need to force all images to be centered between sections? (That would make this page look very odd.) Any ideas would be much appreciated.

    Claus chr09:59, 24 September 2011

    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 "|
      <!--T:38-->
      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