View Single Post
Old 11-02-2015, 07:02 AM   #107
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
This .xpgt file is a terrible one.. puts almost a cm margins on all sides..
Even with @page { margin: 0.00em 0.00em 0.00em 0.00em!important; } in the normal .css it just overrides it..

Spoiler:

<ade:template xmlns="http://www.w3.org/1999/xhtml" xmlns:ade="http://ns.adobe.com/2006/ade"
xmlns:fo="http://www.w3.org/1999/XSL/Format">

<fo:layout-master-set>

<fo:simple-page-master master-name="single_column">
<fo:region-body margin-bottom="1.5em" margin-top="1.5em" margin-left="1.5em" margin-right="1.5em"/>
</fo:simple-page-master>

<fo:simple-page-master master-name="two_column"
margin-bottom="1em" margin-top="1em" margin-left="1em" margin-right="1em">
<fo:region-body column-count="2" column-gap="10pt"/>
</fo:simple-page-master>

<fo:simple-page-master master-name="two_column_head"
margin-bottom="1em" margin-top="1em" margin-left="1em" margin-right="1em">
<fo:region-before extent="8.3em"/>
<fo:region-body column-count="2" column-gap="10pt"/>
</fo:simple-page-master>

<fo:simple-page-master master-name="three_column"
margin-bottom="0.5em" margin-top="0.5em" margin-left="0.5em" margin-right="0.5em">
<fo:region-body column-count="3" column-gap="10pt"/>
</fo:simple-page-master>

<fo:simple-page-master master-name="three_column_head"
margin-bottom="0.5em" margin-top="0.5em" margin-left="0.5em" margin-right="0.5em">
<fo:region-before extent="8.3em"/>
<fo:region-body column-count="3" column-gap="10pt"/>
</fo:simple-page-master>

<foage-sequence-master>
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference master-reference="three_column_head" page-position="first" ade:min-page-width="80em"/>
<fo:conditional-page-master-reference master-reference="three_column" ade:min-page-width="80em"/>
<fo:conditional-page-master-reference master-reference="two_column_head" page-position="first" ade:min-page-width="50em"/>
<fo:conditional-page-master-reference master-reference="two_column" ade:min-page-width="50em"/>
<fo:conditional-page-master-reference master-reference="single_column"/>
</fo:repeatable-page-master-alternatives>
</foage-sequence-master>

</fo:layout-master-set>

<ade:style>
<ade:styling-rule selector=".title_box" display="adobe-other-region" adobe-region="xsl-region-before"/>
</ade:style>

</ade:template>

I have asked the maker from the KoboTouchExtended driver if he can make something to remove them while transferring a book,but that only works when sideloading.. i am in the hospital for 4 days a week, 8 hours a day so I buy many books... it isn't that simple to edit books in the hospital as i am limited to about 2 meters from the machine,when a patient is there that is wireless monitored there are no laptops allowed at all.
So if it could be patched,it is great..because a very big part of all other epub related patches simply don't work when the xpgt file is present... (as in,when there are different margins set in it)
In practice, almost 60% of Dutch ebooks are made by the same firm..who just put the file in it, the epub is made with workflow generated from word documents.. paragraps are like P1, p2, p3 so a .css file is very large because all margins are there for every p1,p2 etc... so if it is possible to patch it on the reader..

Last edited by Nick_1964; 11-02-2015 at 10:55 AM.
Nick_1964 is offline   Reply With Quote