Menu

#1354 <copyright> and <legalnotice> not enabled in <figure> and <mediaobject>

output: ePub
open
nobody
copyright (1)
8
2015-02-01
2015-02-01
No

Hi,

When including information upon rights inside the <info> tag, it is transformed only in <book> or <part> context. In many books it is important to clearly print the rights attached to an image a video or a sound, when the author is not the owner of the media. In some cases it can be necessary to attach rights to a figure. In edupub cases when chunking is allowed it could also be usefull to be able to quote rights at chapter or section level. In DB the <info> tag is allowed in all those contexts; it should be possible to transform <copyright> and <legalnotice> rights wherever they can exist in DB.

The tranformation existing for <book> context should be exented to all cases. DB text :

<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
    <info>
        <legalnotice>
            <simpara>
                <inlinemediaobject>
                    <imageobject>
                        <imagedata fileref="Media/Images/88x31.png"/>
                    </imageobject>
                </inlinemediaobject>This content is released under <link
                    xlink:href="http://creativecommons.org/licenses/by-nc-sa/4.0/"> Creative Commons
                    Attribution 4.0 International</link>
            </simpara>
        </legalnotice>
        <copyright>
            <year>2015-02-01</year>
            <holder>CC: BY author</holder>
        </copyright>
    </info>

epub3 existing transformation in title page :

<div class="book" title="Book Template Title" id="idp54790208">
       <div class="titlepage">
           <div>
               <p class="copyright">Copyright © 2015-02-01 CC: BY author</p>
           </div>
           <div>
               <div class="legalnotice" title="Legal Notice" id="idp54797360">
                   <p>
                      <span class="inlinemediaobject"><img src="Media/Images/88x31.png"
                                     /></span>
                      This content is released under <a class="ulink"     href="http://creativecommons.org/licenses/by-nc-sa/4.0/" target="_top"> Creative Commons Attribution 4.0 International</a>
                   </p>
               </div>
           </div>
       </div>
</div>

Many thanks for your work.

Discussion