Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-17-2019, 10:22 AM   #181
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,928
Karma: 2514398
Join Date: Nov 2009
Device: many
Yes, perhaps an opf mediatype validator plugin in python would help.
KevinH is offline   Reply With Quote
Old 11-17-2019, 10:37 AM   #182
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 315
Karma: 1009530
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by KevinH View Post
Yes renaming or moving any file means checking and updating any links to it in *all* files. It will not matter what you tried to rename or move.
I don't think I mentioned that there are no links at all to the xpgt file. Other than this one line in the OPF manifest there is no reference to "xpgt" at all in the unpacked epub zip file:
Code:
<item href="Styles/page-template.xpgt" id="pt" media-type="application/vnd.adobe-page-map+xml"/>
Quote:
Why can't the user just look in their OPF manifest for that mediatype. How is one character string to look up in the OPF (filename) any more useful than another character string to lookup (mediatype)?
Ok, I hadn't thought about it like that. Yes, both searches are just the same in the context of the OPF. I thought it would be most useful to give both the mediatype and the file name in the popup. At least the file name is easier to remember if you're going to search for it in the OPF. The text in the popup isn't cut'n'pasteable.

For this particular troublesome epub, once we're done I'm just going to delete the xpgt file and not touch the OPF at all .

Quote:
Originally Posted by DiapDealer View Post
Or just run EpubCheck. That will give them more precise info about where the problem lies. It will take them to the exact line in the opf.
EpubCheck doesn't say anything about the xpgt file in this epub .
snarkophilus is offline   Reply With Quote
Old 11-17-2019, 10:47 AM   #183
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,928
Karma: 2514398
Join Date: Nov 2009
Device: many
Yes, because it in itself the xpgt is a valid file. The mediatype that is assigned to it "application/vnd.adobe-page-map+xml" is actually a semi-vaild (debatedly) mediatype. The problem is it is a mediatype for a different kind of file!

The way to correct this is to replace the wrong mediatype for the .xpgt file with the correct one for this file type. According to the mobileread wiki,

https://wiki.mobileread.com/wiki/Ado...ayout_Template

It should be "adobe-page-template+xml" or under the new iana.org try a "vnd.adobe-page-template+xml".

This is why this is so troublesome. The assigned mediatype did not match the file extension but does actually exists at least according to some people.
KevinH is offline   Reply With Quote
Old 11-17-2019, 10:59 AM   #184
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 21,365
Karma: 116833268
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Yep. We can't do magic. We can't easily detect that a valid xml file with a valid media-type, does in fact have the wrong media-type.

Besides; when I mentioned using EpubCheck, I was only trying to address your concerns about the pop-up error message you were getting for the css file with the wrong media-type. You were worried about knowing where to look, and EpubCheck tells you exactly.

If it's any consolation, the proprietary Adobe stylesheet was just as silently incorrect in the older versions of Sigil as it is now (after the fixes Kevin implemented).

Last edited by DiapDealer; 11-17-2019 at 11:10 AM.
DiapDealer is offline   Reply With Quote
Old 11-17-2019, 12:12 PM   #185
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,928
Karma: 2514398
Join Date: Nov 2009
Device: many
Okay, as a test, I just pushed to master an unrecognized media type load warning when an epub is first imported and the media type is unrecognized. This will not fix your issue as the media-type was recognized but incorrect.
KevinH is offline   Reply With Quote
Old 11-17-2019, 12:39 PM   #186
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,928
Karma: 2514398
Join Date: Nov 2009
Device: many
Quote:
Preview is usually on the complete other side of the screen (or secondary monitor). Would be nice to have filename located there too.
Okay for people with secondary monitors, having a filename there would be a good visual cue that makes good sense. I just pushed this to master.

KevinH
KevinH is offline   Reply With Quote
Old 11-17-2019, 02:09 PM   #187
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,082
Karma: 1831748
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
Building Sigil from master is beyond my skill set, but if you're looking for someone to test the dual-monitor thing on Mac, I would be happy to do so if sent a link to the latest Mac build.
odamizu is offline   Reply With Quote
Old 11-17-2019, 02:23 PM   #188
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,928
Karma: 2514398
Join Date: Nov 2009
Device: many
I will pm you with an updated link once my last commit passes through travis.
Thanks again for all of your testing.

pm sent.

Last edited by KevinH; 11-17-2019 at 02:35 PM.
KevinH is offline   Reply With Quote
Old 11-17-2019, 04:13 PM   #189
Vroni
Beast
Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'
 
Posts: 159
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
Just player a little bit around with the latest Sigil Version for Mac Kevin pm-ed to me. I tried the create enpty custom ebook but failed somehow, maybe i missed something or i'm doing something wrong, but the error message isn't very helpful.

As far as i understood i need to specify what filetype(s) a folder may contain, but after adding the markers the error message is complainng at i'm still getting an error message leaving me helpless (see attachment)

V

==> Never mind, understood now what to do. But i miss a shortcut in the bookbrowser to switch fast between standard view and extended view with path info.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2019-11-17 at 21.07.32.png
Views:	10
Size:	467.1 KB
ID:	174992  

Last edited by Vroni; 11-17-2019 at 04:18 PM.
Vroni is offline   Reply With Quote
Old 11-17-2019, 04:30 PM   #190
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 21,365
Karma: 116833268
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Adding markers for the OPF/NCX files is mandatory for EPUB2.
DiapDealer is offline   Reply With Quote
Old 11-17-2019, 04:30 PM   #191
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,928
Karma: 2514398
Join Date: Nov 2009
Device: many
You are designing an empty epub. To do that you have to say where to put your OPF file and what to name it. Only 1 opf is allowed. Since you default to epub2, you also need to do the same thing for an NCX. Again only one NCX is allowed. In your case you do not have any of either required file.

The error messagesare quite clear, without an NCX and without an OPF you will not have a valid epub (empty or otherwise).
KevinH is offline   Reply With Quote
Old 11-17-2019, 04:32 PM   #192
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,928
Karma: 2514398
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by Vroni View Post
==> Never mind, understood now what to do. But i miss a shortcut in the bookbrowser to switch fast between standard view and extended view with path info.
Huh? It is a Preference setting in Appearances. And the full bookpath is always shown in the tooltips in BookBrowser so you can always distinguish between files.
KevinH is offline   Reply With Quote
Old 11-17-2019, 04:32 PM   #193
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 21,365
Karma: 116833268
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Vroni View Post
But i miss a shortcut in the bookbrowser to switch fast between standard view and extended view with path info.
Why would you need to switch fast??? That setting is meant to be set to one or the other. Some will always like to see the full path. Others who only deal with standardized formats probably will not. Can explain why you would need to quickly change back and forth?
DiapDealer is offline   Reply With Quote
Old 11-17-2019, 04:40 PM   #194
Vroni
Beast
Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'
 
Posts: 159
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
Because i would like to work not all the time in the extended view as it consumes a lot of space, you have to expand the bookbrowser widely. Sometime, would like to havre it like this. But most of the time the space available should go to code view and oreview.

BTW a tree view for the real folder structure would save some space and i can collapse the folders i'm currently not working with (working with large books will end up in a scrollmania)

Besides that, the reappearing save dialog disappeared as well in mojave 10.4.6, and the preview window renders full size svg images better now.
Vroni is offline   Reply With Quote
Old 11-17-2019, 04:58 PM   #195
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,928
Karma: 2514398
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by Vroni View Post
Because i would like to work not all the time in the extended view as it consumes a lot of space, you have to expand the bookbrowser widely. Sometime, would like to havre it like this. But most of the time the space available should go to code view and oreview.
So set it not to show the full path, and mouse over a file in BookBrowser if you are ever uncertain.

Quote:
BTW a tree view for the real folder structure would save some space and i can collapse the folders i'm currently not working with (working with large books will end up in a scrollmania)
No then you would never be able to select all files of the same file group, at one time (important for Merging and Moving Files, block renaming files, etc, and newbies would see the META-INF, mimetype, and the container.xml, and etc.

If you are building a compendium style and have too many files images or text files build it epub by epub (always keeping everything in one folder per book) and use FolderOut and FolderIn to merge the files after each book has already been polished. Then all you need do is cut and paste to merge the OPF pieces manually.

Quote:
Besides that, the reappearing save dialog disappeared as well in mojave 10.4.6, and the preview window renders full size svg images better now.
Yes, all of those were fixed earlier. Thank you for confirming that.
KevinH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
5.8.11 Pre=release knc1 Kindle Developer's Corner 21 04-17-2018 09:42 PM
Overdrive - Search for Pre-Release nynaevelan General Discussions 11 11-24-2013 03:27 PM
Where are the pre-release purchase buttons? Sydney's Mom General Discussions 8 09-06-2012 11:57 PM
KF Android 4.0 Pre-Release Version robertc88 Kindle Fire 22 01-22-2012 08:24 PM
PDF Viewer 0.3.0 pre-release pruss Android Devices 62 11-22-2011 12:18 PM


All times are GMT -4. The time now is 06:47 AM.


MobileRead.com is a privately owned, operated and funded community.