landscape fixed layout epub 3 viewing only 1 page at a time starting from indesign file

自作多情 提交于 2019-12-11 10:42:58

问题


I am creating an indesign cs6 epub3 fixed layout with landscape only mode, viewing only one page at a time. I added the meta

<meta property="rendition:layout">pre-paginated</meta>
<meta property="rendition:orientation">landscape</meta>
<meta property="rendition:spread">none</meta>

and I also specified the width and height in css and each xhtml file with

<meta name="viewport" content="width=1024, height=768" />

I want the document to appear as one landscape page only, not as a two sides book. Does anyone know how to achieve that?


回答1:


Ensure that the package element within the .opf file includes version="3.0" and prefix="rendition: http://www.idpf.org/vocab/rendition/#.

e.g.

<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="bookid" version="3.0" prefix="rendition: http://www.idpf.org/vocab/rendition/# ibooks:http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/">

See Liz Castro's blog post on fixed layouts for more info. http://www.pigsgourdsandwikis.com/2012/05/readium-displays-fixed-layout-epub-on.html



来源:https://stackoverflow.com/questions/14440784/landscape-fixed-layout-epub-3-viewing-only-1-page-at-a-time-starting-from-indesi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!