![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
|
temporary files - where are they located?
Hi!
As it seems to be not able to generate a ToC for the book I'm creating with Calibre (1.48) the way I want it to appear, (see my other thread) I'm wondering whether it's possible to access the work files Calibre uses from the os. I want to parse the content with a script and create my own toc.xhtml, but I seem to be unable to find the files Calibre uses for the book. Even if I find them: Would it be possible to replace the toc.xhtml and would Calibre be able to work with the replaced file? |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
calibre stores tempfiles on Windows in "%TEMP%" (which should equate to "%USERPROFILE%\AppData\Temp"), or on unix, "$tmp" ("/tmp").
![]() ![]() They will be in folders titled "calibre" with a random string appended. Not sure how much that will help you, since anything it creates will be in the output you already created, and you cannot really pause say a conversion while you replace stuff... but yo can certainly take a look at what gets created there. If you want to replace the ToC.xhtml, you *can* always just use Edit Book... |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
|
Everything you need to create your own html TOC is found in the "toc.ncx" file in the epub itself. You don't have to go chasing down temporary files and such. I've done it myself in the days before the facility was added to calibre or sigil. As long as you're poking around in the toc.ncx, you can also create navigation links to the next or previous chapters, or up to the top to the html TOC. I've done that, too.
|
![]() |
![]() |
![]() |
#4 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
|
Thanks @signum, I already found a working solution using toc.ncx: https://www.mobileread.com/forums/sho...8&postcount=10
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where are kepub files located on the PC? | Lynx-lynx | Kobo Reader | 8 | 09-22-2014 01:56 AM |
Temporary files and Owncloud | apastuszak | Calibre | 3 | 05-08-2014 06:25 PM |
Temporary Files left behind by Calibre | Merbird | Calibre | 13 | 02-28-2014 05:00 AM |
Where are startup files located? | Jabby | Calibre | 8 | 12-06-2010 12:17 AM |
Where are files located? | HawaiianLungs | Sony Reader Dev Corner | 3 | 09-15-2008 07:55 AM |