View Single Post
Old 02-05-2015, 05:54 AM   #5
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by jbacelar View Post
Or, we can use this snippet...
Up to now, I have a longer text because I wish get a full page display and use a separate page. So this is what I use today.

But of course, a python script would be most welcome...
I wonder how we could use the export function of Reports/images for this purpose.
Spoiler:

VERSION EPUB2

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title>Image_pleine_page</title>
<style type="text/css" title="override_css">
@page {padding: 0pt; margin:0pt}
body { text-align: center; padding:0pt; margin: 0pt; }
</style>
</head>
<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 792 1186" preserveAspectRatio="none">
<image width="792" height="1186" xlink:href="cover.jpeg"/>
</svg>
</div>
</body>
</html>

VERSION EPUB3 (trial?)

<?xml version="1.0" encoding="utf-8"?>
<html xml:lang="fr" lang="fr" xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>Image_pleine_page</title>
<style type="text/css" title="override_css">
@page {padding: 0pt; margin:0pt}
body { text-align: center; padding:0pt; margin: 0pt; }
</style>
</head>
<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 792 1186" preserveAspectRatio="none">
<image width="792" height="1186" xlink:href="cover.jpeg"/>
</svg>
</div>
</body>
</html>

Last edited by roger64; 02-05-2015 at 06:03 AM.
roger64 is offline   Reply With Quote