Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 07-31-2018, 01:14 PM   #1
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
2 things on calbre epub editor

(1) If I have an epub where the files are in directories, and I create a new .html file, it creates this in the root rather than the text subdirectory. The editor does know the epub is organsed into subdirectories, so should be able to do the ‚right‘ thing??

(2) If I have a picture in an epub and right click on it (windows) the option appears to replace the file with another one. But I couldnt get this to work, I selct the rrplacement file and ok, but the file in the epub is still tje old one. Maxbe user error?? But i dont know how. Deleting and importing the new image wofks fine of course
Stevex is offline   Reply With Quote
Old 07-31-2018, 05:30 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
1) The editor makes no assumptions about how you want to organize files. That is not going to change. I prefer my tools not to make assumptions like that.

2) Works for me. Steps I tried:

- right click the image
- Choose replace with
- select some image
- Double click the replaced file to view the image, it has changed
kovidgoyal is offline   Reply With Quote
Advert
Old 08-01-2018, 04:02 AM   #3
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
in addition, there is a tool called Arrange into folder that can help you.
Attached Thumbnails
Click image for larger version

Name:	calEdAtF1.PNG
Views:	178
Size:	39.7 KB
ID:	165350   Click image for larger version

Name:	calEdAtF2.PNG
Views:	151
Size:	21.8 KB
ID:	165351  
Divingduck is offline   Reply With Quote
Old 08-01-2018, 04:18 AM   #4
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
Hi Kovid and DivingDuck
Regarding 1
I can see what I wrote was unclear sorry. the order of events is (1) use the tool ‚arrange into folders‘ (2) at some subsequent point, create a new html file. Now, the editor ,knows‘ I have arranged the files into folders (if you try to use the tool a subsequent time, it will say files are already in folders), so maybe it should be clear to the editor that I have expressed a preference for where new text files should be created.
Regarding 2
Well that‘s the exact sequence I went through!! Or thought I did!! I‘ll check it out and report back
Cheers

Last edited by Stevex; 08-01-2018 at 04:24 AM.
Stevex is offline   Reply With Quote
Old 08-01-2018, 05:07 AM   #5
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
The intension for this tool was fine tuning at the end of a process.

I can understand the whish but I am also more happy to have no "general" assumptions on folder structures. Well, in the end it is "only" a click to get everything in line (I still remember the time we didn't had the tool)

Take a look on Sigil if this is a show stopper for your work. Both applications have pros and cons depending on what is important for you and I knew not less people like myself who use both apps depending on what is need to do.
Divingduck is offline   Reply With Quote
Advert
Old 08-01-2018, 05:33 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are asking that the editor assume for you that you want the new file in a particular folder if all other files of that type are in that folder. That is not an assumption that is universally true. I prefer my tools dont make such assumptions, if I want a file in a folder, I put there explicitly.

Or you are asking that the editor change its behavior based on what actions you might or might not have taken previously. So if you do arrange into folders it will guess folders and if you dont it wont. That kind if hidden state is very bad in tools, it makes their behavior unpredictable and hard to reason about.
kovidgoyal is offline   Reply With Quote
Old 08-01-2018, 06:24 AM   #7
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Stevex View Post
the order of events is (1) use the tool ‚arrange into folders‘ (2) at some subsequent point, create a new html file. Now, the editor ,knows‘ I have arranged the files into folders (if you try to use the tool a subsequent time, it will say files are already in folders)
I think your statement is based on assumption not fact.

With the scenario you described above, it will NOT say 'files are already in folders'. If your newly-added html file is not in your preferred folder structure then running 'Arrange into folders' a second time will put it there.The Editor does not 'remember' you already ran 'Arrange into folders'.

Just try it again and see.
jackie_w is offline   Reply With Quote
Old 08-01-2018, 05:59 PM   #8
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
First Jackie: You misunderstood the point of my statement. This was not to say that AFTER I add the new html file I cannot use the tool, but to demonstrate that BEFORE I add the file, my preference is known to the editor and hence usable when creating the new html file. I can assure you my statement is right, as I have used this tool frequently. I make mistakes but I dont write claims based on assumption ;-)
Secondly everyone: thanks for the feedback on the point. It already took far more time than it‘s worth!!! I thought it was a valid point - actually I still do - but I do fully understand Kovid‘s reason so that closes it for me.
Thirdly just out of interest - I used also Sigil for years, before the Calibre editor appeared it was the only game in town, and it still has several unique features so I do still use it often but I would say it‘s 80-20 calibre these days.
Finally regarding the pcture replacement thing, I didnt use calibre today, but can i just ask kovid: did the replacement file have the same name as the one in the epub? Maybe this was the problem? I was exporting the jpg, editing it, and right vlicking to reimport it over the old version. Couldnt get this to work, had to delete and reimport. I can remember i had this problem before so i thought, this time i‘ll memtion it.
Cheers everyone
Steve
Stevex is offline   Reply With Quote
Old 08-02-2018, 12:03 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No it did not have the same name, but I tried it with the same set of steps and it worked for a file with the same name as well.
kovidgoyal is offline   Reply With Quote
Old 08-02-2018, 02:43 AM   #10
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
Thanks Kovid I‘ll definitely try today to check this out proerly then
Stevex is offline   Reply With Quote
Old 08-02-2018, 07:46 AM   #11
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
Ok replacing the picture
For me is completely reproducible under windows 10
Replace with file does not work when propsed replacement file has exactly the same name and extension
What I did:
Saved cover.jpg from one book to hard disk
Opened another book to edit
Right click cover.jpeg (note jpeg not jpg) replace with file, select cover.jpg and hit Open, replacement works fine i see new image
Close book without saving
Rename cover.jpg on hard disk to be cover.jpeg
Open same book to edit
Right click cover.jpeg, replace with file, select cover.jpeg and hit Open, this time Doesnt work, the image in unchanged
Definitely reproducible!!

Last edited by Stevex; 08-02-2018 at 08:03 AM.
Stevex is offline   Reply With Quote
Old 08-02-2018, 07:53 AM   #12
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Not reproducible for me. The only thing that does not work is if you happen to have the image already open in the preview panel or in an editor tab, that tab has to be closed and re-opened.
kovidgoyal is offline   Reply With Quote
Old 08-02-2018, 08:04 AM   #13
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
Let me double check that point
Stevex is offline   Reply With Quote
Old 08-02-2018, 08:09 AM   #14
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
Ok you are right you have to close and reopen the tab to get the new preview (not just click to another tab and back again)
I guess this is because the preview generator doesnt realise something has changed
Ok mystery solved, thank you!
Stevex is offline   Reply With Quote
Old 08-02-2018, 11:02 AM   #15
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
Ps the necessity to close and reopen the tab only happens if the filename is the same, in all other cases the preview will refresh, so maybe this still counts as a minor bug, albeit in the previewer rather than the file replacement functiin?
Stevex is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calbre Mobi to Epub taking forever Alanw888 Conversion 9 07-30-2012 02:54 AM
Touch Nook formatting, publisher defaults do weird things to a simple epub uieluck Nook Developer's Corner 6 11-03-2011 08:59 PM
Sony Reader zeigt Epub anders als Calbre, Sigel etc. Hilfe!! samy2 Erste Hilfe 14 05-08-2011 11:52 PM
Sigil, the ePub editor Valloric Sigil 321 02-16-2011 12:13 PM
calbre conversion epub to mobi dragonflies Conversion 4 01-24-2011 12:17 AM


All times are GMT -4. The time now is 07:45 AM.


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