/usr/share/sphinx/templates/epub2/content.opf_t is in sphinx-common 1.6.7-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" version="2.0"
unique-identifier="%(uid)s">
<metadata xmlns:opf="http://www.idpf.org/2007/opf"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:language>{{ lang }}</dc:language>
<dc:title>{{ title }}</dc:title>
<dc:creator opf:role="aut">{{ author }}</dc:creator>
<dc:publisher>{{ publisher }}</dc:publisher>
<dc:rights>{{ copyright }}</dc:rights>
<dc:identifier id="{{ uid }}" opf:scheme="{{ scheme }}">{{ id }}</dc:identifier>
<dc:date>{{ date }}</dc:date>
{%- if cover %}
<meta name="cover" content="{{ cover }}"/>
{%- endif %}
</metadata>
<manifest>
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml" />
{%- for item in manifest_items %}
<item id="{{ item.id }}" href="{{ item.href }}" media-type="{{ item.media_type }}" />
{%- endfor %}
</manifest>
<spine toc="ncx">
{%- for spine in spines %}
{%- if spine.linear %}
<itemref idref="{{ spine.idref }}" />
{%- else %}
<itemref idref="{{ spine.idref }}" linear="no" />
{%- endif %}
{%- endfor %}
</spine>
<guide>
{%- for guide in guides %}
<reference type="{{ guide.type }}" title="{{ guide.title }}" href="{{ guide.uri }}" />
{%- endfor %}
</guide>
</package>
|