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 02-26-2026, 08:20 PM   #16
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,446
Karma: 31000056
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by JimmXinu View Post
Are you sure?

I see a temp directory created when I start Edit book, but all it contains is an equally randomly named file xxxxxx_worker_redirect.log -- which is empty, no matter what I do.

I don't see the exploded book there.
You're right, it's Sigil that unzips the entire epub to a 'temp' folder, which has its advantages - e.g. it enables editing of a 'book' in PageEdit.

Click image for larger version

Name:	Screenshot 2026-02-27 105259.jpg
Views:	9
Size:	120.2 KB
ID:	221443

When you open a file in an external editor from the calibre book editor then the file selected gets copied to 'a temp in the temp' folder.

Click image for larger version

Name:	Screenshot 2026-02-27 103922.jpg
Views:	8
Size:	141.9 KB
ID:	221442

If you need to externally edit multiple files you must open them one by one. Which is also true with Sigil, even though it exposes the entire book you can only externally edit the file selected.

BR
BetterRed is online now   Reply With Quote
Old 02-26-2026, 09:52 PM   #17
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,310
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Comfy.n View Post
On Windows, Editor unzips under C:\Users\user\AppData\Local\calibre-cache\ee\tmpXXX\a\00000-XXXXX
.... So it does.

Setting CALIBRE_TEMP_DIR does not control this dir. Setting CALIBRE_CACHE_DIRECTORY does. I've learned something new.

And this looks like the answer to jjk's original question.

But I would still suggest that for jjk's purposes, it would be safer to use 'Unpack book' rather than changing things in the temp dir. It looks like there's a lot going on in there. For a start, there's a copy per Edit book checkpoint.
JimmXinu is offline   Reply With Quote
Advert
Old 02-26-2026, 10:50 PM   #18
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 50,615
Karma: 178402706
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by BetterRed View Post
If you need to externally edit multiple files you must open them one by one. Which is also true with Sigil, even though it exposes the entire book you can only externally edit the file selected.
Minor nit: With Sigil, if you open the content.opf and are using PageEdit, you can step forward/backward though the ePub. Personally, I haven'tr used the external editing capability since being burned by BookView and a couple of other WYSIWYG editors way back when.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-02-26 184651.png
Views:	6
Size:	161.0 KB
ID:	221444  
DNSB is offline   Reply With Quote
Old 02-26-2026, 11:14 PM   #19
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: 46,044
Karma: 29579868
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Absolutely do not mess with the files in the editors temp directories, they are not normal files, they are hardlinks and the editor relies on nothing changing them outside its own code. If you want to access the files inside an ebook use unpack book, or better write a plugin for the editor that uses the container class do your work. That will be th emost robust and fleible solution.
kovidgoyal is offline   Reply With Quote
Old 02-26-2026, 11:46 PM   #20
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,446
Karma: 31000056
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I use PageEdit fairly often, always starting from the opf… mainly to correct transcription errors. Don't use it on xhtml files, occasionally use Notepad++ or Bowpad on them to shuffle slabs of text.

Never used Book View either… whenever I looked at it I'd ask myself "what is it for?"
BetterRed is online now   Reply With Quote
Advert
Old Yesterday, 12:02 AM   #21
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 50,615
Karma: 178402706
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by BetterRed View Post
I use PageEdit fairly often, always starting from the opf… mainly to correct transcription errors. Don't use it on xhtml files, occasionally use Notepad++ or Bowpad on them to shuffle slabs of text.

Never used Book View either… whenever I looked at it I'd ask myself "what is it for?"
BookView? It was intended to be a light weight visual editor for HTML files inside an ePub. Unfortunately, it had a nasty habit of messing up the files. For instance, if you selected a chunk of text, BookView would not be aware that part of it was already using an existing tag.

i.e. this <i>is a chunk of <span class="font>text that<i> should not be split</span>.
DNSB is offline   Reply With Quote
Old Yesterday, 12:32 AM   #22
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,446
Karma: 31000056
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Never saw the point of wysiwg editing on a bit of a 'book', still don't.
BetterRed is online now   Reply With Quote
Old Yesterday, 10:32 AM   #23
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,219
Karma: 150871427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
However, given what the OP wants to do, I see no reason to need the uncompressed files of the ePub. Everything that needs to be done can easily be done in the calibre editor. I've done it plenty of times editing inDesign created ePub.
JSWolf is offline   Reply With Quote
Old Yesterday, 11:26 AM   #24
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,551
Karma: 62543878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Bookview is for scrolling and spotting anomalies, then syncing the code LOCATION, so you can fix your screwup
I do not use a WYSWYG editor for code. (Only took 2 times when Sigil first came out, to see the mess it had left).
theducks is offline   Reply With Quote
Old Yesterday, 04:21 PM   #25
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 50,615
Karma: 178402706
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I seem to remember BookView has not existed for several generations of Sigil. It was replaced after Sigil-0.9.14 by PageEdit (current version is 2.7.5) which does not have the issues that BookView had.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"open containing folder" gives no such directory under Linux exachillus Calibre 1 01-30-2014 02:02 AM
Conversion from "open ebook" directory? ysth Conversion 2 07-26-2012 05:15 PM
Open Source Font Directory for 1.9.5 Toastedpine Kobo Reader 3 06-29-2011 03:16 PM
ebook-convert: access current working directory inside recipe jens32 Recipes 3 06-03-2011 11:57 AM
Calibre working directory paulfiera Calibre 17 01-02-2011 03:28 AM


All times are GMT -4. The time now is 02:46 AM.


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