[Koha-bugs] [Bug 19409] New: Around 130 images not migrated from DocBook XML to ReST format (Sphix)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 4 12:03:03 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19409

            Bug ID: 19409
           Summary: Around 130 images not migrated from DocBook XML to
                    ReST format (Sphix)
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Documentation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: z.tajoli at cineca.it
        QA Contact: testopia at bugs.koha-community.org

The problem that is visible here:
https://koha-community.org/manual/17.05/html/04_patrons.html#check-out
, a two time ‘My checkouts’My checkouts is connect with an error on migration
from DocBook XML to ReST

In DocBook XML format (file manual.xml 16.05):
28167       <section id="patcheckout">
28168         <title><link linkend="patcheckout">Check Out</link></title>
28169
28170         <para>For instruction on checking items out, view the <link
linkend="checkingout">Checking Out</link> section of this
28171         manual.</para>
28172         <para>Staff members can access their own check out screen by
clicking their username in the
28173           top right of the staff client and choosing 'My
checkouts'<screenshot>
28174             <screeninfo>My checkouts</screeninfo>
28175             <mediaobject>
28176               <imageobject>
28177                 <imagedata fileref="images/patrons/mycheckouts.png"/>
28178               </imageobject>
28179             </mediaobject>
28180           </screenshot></para>
28181       </section>


In ReST format (file 04_patrons.rst 16.11):
1129 `Check Out <#patcheckout>`__
1130 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1131
1132 For instruction on checking items out, view the `Checking
1133 Out <#checkingout>`__ section of this manual.
1134
1135 Staff members can access their own check out screen by clicking their
1136 username in the top right of the staff client and choosing 'My
1137 checkouts'My checkouts
1138
1139 `Details <#patrondetails>`__
1140 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

as you see the subsection <screenshot> ... </screenshot> is not well
transformed into ReST format.

The correct transformation could be:

1129 `Check Out <#patcheckout>`__
1130 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1131
1132 For instruction on checking items out, view the `Checking
1133 Out <#checkingout>`__ section of this manual.
1134
1135 Staff members can access their own check out screen by clicking their
1136 username in the top right of the staff client and choosing 'My
1137 checkouts'
xxxx
xxxx My checkouts
xxxx |imageyyyy|
1138
1139 `Details <#patrondetails>`__


Seeking with regexp \S<screenshot>$ manual.xml (version 16.05) I find 133
results. Probably the lines where we need to fix

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list